react-zeugma 5.4.0 → 5.5.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.
@@ -203,12 +203,14 @@ interface ZeugmaStateValue {
203
203
  /** Find the details of a tab by its ID in the layout tree. */
204
204
  findTabById: (tabId: string) => TabDetails | null;
205
205
  }
206
- /** @internal */
207
- interface ZeugmaInternalStateValue extends ZeugmaStateValue {
206
+ interface ZeugmaDragStateValue {
208
207
  /** The ID of the tab currently hovered over during a tab drag, or null. */
209
208
  overTabId: string | null;
210
209
  /** The position of the tab drop preview relative to the hovered tab ('before' | 'after'). */
211
210
  overTabPosition: 'before' | 'after' | null;
211
+ }
212
+ /** @internal */
213
+ interface ZeugmaInternalStateValue extends ZeugmaStateValue {
212
214
  activeId: string | null;
213
215
  dismissIntentId: string | null;
214
216
  setContainerRef: (element: HTMLElement | null) => void;
@@ -259,4 +261,4 @@ interface PortalRegistryValue {
259
261
  registerPortalTarget: (tabId: string, el: HTMLDivElement | null) => void;
260
262
  }
261
263
 
262
- export type { PortalRegistryValue as P, SplitDirection as S, TreeNode as T, UseZeugmaOptions as U, ZeugmaActionsValue as Z, ZeugmaInternalStateValue as a, ZeugmaStateValue as b, ZeugmaController as c, ZeugmaContextValue as d, ZeugmaProps as e, SplitNode as f, PaneNode as g, TabDetails as h, ZeugmaClassNames as i, ZeugmaInternalController as j };
264
+ export type { PortalRegistryValue as P, SplitDirection as S, TreeNode as T, UseZeugmaOptions as U, ZeugmaActionsValue as Z, ZeugmaDragStateValue as a, ZeugmaInternalStateValue as b, ZeugmaStateValue as c, ZeugmaController as d, ZeugmaContextValue as e, ZeugmaProps as f, SplitNode as g, PaneNode as h, TabDetails as i, ZeugmaClassNames as j, ZeugmaInternalController as k };
@@ -203,12 +203,14 @@ interface ZeugmaStateValue {
203
203
  /** Find the details of a tab by its ID in the layout tree. */
204
204
  findTabById: (tabId: string) => TabDetails | null;
205
205
  }
206
- /** @internal */
207
- interface ZeugmaInternalStateValue extends ZeugmaStateValue {
206
+ interface ZeugmaDragStateValue {
208
207
  /** The ID of the tab currently hovered over during a tab drag, or null. */
209
208
  overTabId: string | null;
210
209
  /** The position of the tab drop preview relative to the hovered tab ('before' | 'after'). */
211
210
  overTabPosition: 'before' | 'after' | null;
211
+ }
212
+ /** @internal */
213
+ interface ZeugmaInternalStateValue extends ZeugmaStateValue {
212
214
  activeId: string | null;
213
215
  dismissIntentId: string | null;
214
216
  setContainerRef: (element: HTMLElement | null) => void;
@@ -259,4 +261,4 @@ interface PortalRegistryValue {
259
261
  registerPortalTarget: (tabId: string, el: HTMLDivElement | null) => void;
260
262
  }
261
263
 
262
- export type { PortalRegistryValue as P, SplitDirection as S, TreeNode as T, UseZeugmaOptions as U, ZeugmaActionsValue as Z, ZeugmaInternalStateValue as a, ZeugmaStateValue as b, ZeugmaController as c, ZeugmaContextValue as d, ZeugmaProps as e, SplitNode as f, PaneNode as g, TabDetails as h, ZeugmaClassNames as i, ZeugmaInternalController as j };
264
+ export type { PortalRegistryValue as P, SplitDirection as S, TreeNode as T, UseZeugmaOptions as U, ZeugmaActionsValue as Z, ZeugmaDragStateValue as a, ZeugmaInternalStateValue as b, ZeugmaStateValue as c, ZeugmaController as d, ZeugmaContextValue as e, ZeugmaProps as f, SplitNode as g, PaneNode as h, TabDetails as i, ZeugmaClassNames as j, ZeugmaInternalController as k };
package/dist/utils.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { g as PaneNode, f as SplitNode, S as SplitDirection, T as TreeNode, h as TabDetails } from './types-BjBbRjIM.cjs';
1
+ import { h as PaneNode, g as SplitNode, S as SplitDirection, T as TreeNode, i as TabDetails } from './types-C0Yf1Bdw.cjs';
2
2
  import 'react';
3
3
 
4
4
  declare function generateUniqueId(): string;
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { g as PaneNode, f as SplitNode, S as SplitDirection, T as TreeNode, h as TabDetails } from './types-BjBbRjIM.js';
1
+ import { h as PaneNode, g as SplitNode, S as SplitDirection, T as TreeNode, i as TabDetails } from './types-C0Yf1Bdw.js';
2
2
  import 'react';
3
3
 
4
4
  declare function generateUniqueId(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-zeugma",
3
- "version": "5.4.0",
3
+ "version": "5.5.0",
4
4
  "description": "Recursive drag-and-drop dashboard layout engine for React — combining the tree-based splitting of react-mosaic with the declarative API of react-grid-layout.",
5
5
  "type": "module",
6
6
  "sideEffects": false,