Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .changeset/green-schools-poke.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/dvz-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @devgateway/dvz-ui-react

## 1.10.0

### Minor Changes

- [#278](https://github.com/devgateway/data-viz-ui/pull/278) [`80c7bff`](https://github.com/devgateway/data-viz-ui/commit/80c7bff955d40035d5b2d0d8f750c26eb2c16e8b) Thanks [@timothy-mugo](https://github.com/timothy-mugo)! - Fix chart tooltips: migrate to floating-ui for proper scroll detection and positioning
- Implemented `useTooltipPosition()` hook using @floating-ui/react with automatic viewport boundary detection (flip/shift middleware)
- Added `useHideTooltipOnScroll()` hook for instant tooltip dismissal on scroll/touch events
- Fixed theme scope styling by anchoring FloatingPortal to nearest `#root` or `.edit-post-visual-editor` ancestor
- Enabled frame-by-frame position tracking via autoUpdate with animationFrame option (required for Nivo's react-spring animations)
- Added independent hover/touch state management for better control over tooltip visibility
- Applied changes to Tooltip.jsx (Bar, Line, Pie charts) and ChartTooltip.jsx (Sankey, GroupedBars)

**Breaking changes:** None. Internal implementation detail; public API unchanged.
**Related:** Addresses off-screen tooltips, scroll persistence

## 1.9.17

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dvz-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devgateway/dvz-ui-react",
"version": "1.9.17",
"version": "1.10.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
Expand Down