Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughBumps package to v6.0.0; removes raw-HTML tooltip APIs; refactors anchor discovery and event wiring into a registry + hooks; deletes TooltipProvider/Wrapper and TooltipContent; migrates tooling/config to ESM; adds Playwright benchmarks, aggregation, many docs/versioned pages, and extensive tests. Changes
Sequence Diagram(s)sequenceDiagram
participant Anchor as Anchor Element
participant Registry as Anchor Registry
participant Events as useTooltipEvents
participant Tooltip as Tooltip Component
participant DOM as Browser
rect rgba(100,150,200,0.5)
Anchor->>Registry: subscribeAnchorSelector(selector)
Registry->>DOM: querySelectorAll(selector)
DOM-->>Registry: MutationObserver notifications
Registry->>Registry: refresh entries & notify subscribers
end
rect rgba(150,100,200,0.5)
Anchor->>Events: pointerenter / focus / click
Events->>Events: schedule show (delayShow)
Events->>Tooltip: set activeAnchor & trigger show
Tooltip->>DOM: render & compute position (autoUpdate)
end
rect rgba(100,200,150,0.5)
Anchor->>Events: pointerleave / blur / outside click
Events->>Events: schedule hide (delayHide)
Events->>Tooltip: trigger hide
Tooltip->>DOM: add closing class → remove on transitionend
end
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |
|
Beta version released with the last commit 🚀 or |

Note: we need to consider the custom rollup plugin we did to inject the CSS into the build file (
/rollup-plugins/replace-before-save-file.js)useMemo()/useCallback()/useEffect()dependencies (thereact-hooks/exhaustive-depsrule should only be ignore if strictly necessary, i.e. an specific dependency breaks functionality)Fixes #1163
Fixes #1212
Fixes #1074
Fixes #1010
Related discussion: #1253
Summary by CodeRabbit
New Features
Breaking Changes
data-tooltip-html,htmlprop); use children or render for rich content.Documentation
Chores