@synerise/ds-popover 1.5.5 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.6.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-popover@1.5.5...@synerise/ds-popover@1.6.0) (2026-05-22)
7
+
8
+ ### Features
9
+
10
+ - **modal:** migration from antd ([3588b65](https://github.com/Synerise/synerise-design/commit/3588b65fbe67838fed4ee5125090ad47d334e04b))
11
+
6
12
  ## [1.5.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-popover@1.5.4...@synerise/ds-popover@1.5.5) (2026-05-04)
7
13
 
8
14
  ### Bug Fixes
@@ -79,7 +79,9 @@ const usePopover = ({
79
79
  });
80
80
  const {
81
81
  delay: groupDelay
82
- } = useDelayGroup(context);
82
+ } = useDelayGroup(context, {
83
+ enabled: isHoverEnabled
84
+ });
83
85
  const hover = useHover(context, {
84
86
  enabled: isHoverEnabled,
85
87
  // All hover popovers use their local FloatingDelayGroup delay
@@ -91,7 +93,15 @@ const usePopover = ({
91
93
  },
92
94
  ...hoverConfig
93
95
  });
94
- const dismiss = useDismiss(context, dismissConfig);
96
+ const dismiss = useDismiss(context, {
97
+ ...dismissConfig,
98
+ bubbles: typeof dismissConfig.bubbles === "object" ? {
99
+ outsidePress: false,
100
+ ...dismissConfig.bubbles
101
+ } : dismissConfig.bubbles ?? {
102
+ outsidePress: false
103
+ }
104
+ });
95
105
  const role = useRole(context);
96
106
  const interactions = useInteractions([click, hover, dismiss, role, listNav]);
97
107
  const {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export * from './Popover';
2
2
  export * from './components';
3
3
  export { Popover as default } from './Popover';
4
- export { limitShift, FloatingDelayGroup } from '@floating-ui/react';
4
+ export { limitShift, FloatingDelayGroup, FloatingPortal, } from '@floating-ui/react';
5
5
  export * from './Popover.types';
6
6
  export { getPlacement } from './utils/getPlacement';
7
7
  export { HOVER_CLOSE_DELAY, HOVER_OPEN_DELAY, PLACEMENT_MAP, } from './Popover.const';
package/dist/index.js CHANGED
@@ -3,11 +3,12 @@ import { PopoverTrigger } from "./components/PopoverTrigger.js";
3
3
  import { PopoverClose } from "./components/PopoverClose.js";
4
4
  import { PopoverContent } from "./components/PopoverContent.js";
5
5
  import { PopoverArrow } from "./components/PopoverArrow.js";
6
- import { FloatingDelayGroup, limitShift } from "@floating-ui/react";
6
+ import { FloatingDelayGroup, FloatingPortal, limitShift } from "@floating-ui/react";
7
7
  import { getPlacement } from "./utils/getPlacement.js";
8
8
  import { HOVER_CLOSE_DELAY, HOVER_OPEN_DELAY, PLACEMENT_MAP } from "./Popover.const.js";
9
9
  export {
10
10
  FloatingDelayGroup,
11
+ FloatingPortal,
11
12
  HOVER_CLOSE_DELAY,
12
13
  HOVER_OPEN_DELAY,
13
14
  PLACEMENT_MAP,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-popover",
3
- "version": "1.5.5",
3
+ "version": "1.6.0",
4
4
  "description": "Popover UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -52,5 +52,5 @@
52
52
  "styled-components": "^5.3.3",
53
53
  "vitest": "4"
54
54
  },
55
- "gitHead": "c5eee882509cbeb4544cb45939620881b829d4d9"
55
+ "gitHead": "f257f56d8991010593efd5ea9915335e813671a6"
56
56
  }