@react-hive/honey-layout 17.5.0 → 17.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.
@@ -1,8 +1,14 @@
1
1
  import type { HoneyActiveOverlay } from '../../types';
2
2
  import type { HoneyRegisterOverlay, HoneyUnregisterOverlay } from '../../contexts';
3
3
  /**
4
- * Hook to manage a stack of overlays, allowing registration and unregistration of overlays,
5
- * as well as handling keyboard events for the topmost overlay.
4
+ * Manages the active overlay stack and global keyboard event dispatching.
5
+ *
6
+ * The hook keeps registered overlays in stack order, where the latest registered overlay
7
+ * is treated as the top-level overlay. Keyboard events are forwarded only to the top-level
8
+ * overlay, allowing nested or overlapping overlays to handle key interactions predictably.
9
+ *
10
+ * @returns An object containing the active overlays stack and helper methods for registering
11
+ * and unregistering overlays.
6
12
  */
7
13
  export declare const useHoneyOverlays: () => {
8
14
  overlays: HoneyActiveOverlay[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-hive/honey-layout",
3
- "version": "17.5.0",
3
+ "version": "17.6.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "react",