react-zeugma 6.9.1 → 6.9.3

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.
@@ -29,7 +29,7 @@ interface TabDetails {
29
29
  isActive: boolean;
30
30
  index: number;
31
31
  metadata: Record<string, unknown> | undefined;
32
- /** Force-remount the component during window transitions instead of adopting the DOM node. */
32
+ /** [Experimental] Force-remount the component during window transitions instead of adopting the DOM node. */
33
33
  remountOnPopout?: boolean;
34
34
  }
35
35
  interface RenderTabProps extends TabDetails {
@@ -41,11 +41,11 @@ interface RenderTabProps extends TabDetails {
41
41
  onSelect: () => void;
42
42
  /** Callback to close/remove this tab. */
43
43
  onRemove: () => void;
44
- /** Whether this tab is popped out in a separate window. */
44
+ /** [Experimental] Whether this tab is popped out in a separate window. */
45
45
  isPoppedOut: boolean;
46
- /** Popout this tab. */
46
+ /** [Experimental] Popout this tab. */
47
47
  popout: () => void;
48
- /** Dock this tab back. */
48
+ /** [Experimental] Dock this tab back. */
49
49
  dock: () => void;
50
50
  }
51
51
  interface UseZeugmaOptions {
@@ -69,7 +69,7 @@ interface ZeugmaState {
69
69
  fullscreenPaneId: string | null;
70
70
  /** Whether the layout is globally locked. */
71
71
  locked: boolean;
72
- /** The list of tab/widget IDs that are currently open in a new window. */
72
+ /** [Experimental] The list of tab/widget IDs that are currently open in a new window. */
73
73
  poppedOutTabIds: string[];
74
74
  }
75
75
  interface ZeugmaStateSetters {
@@ -101,9 +101,9 @@ interface ZeugmaActions {
101
101
  updateSplitPercentage: (currentNode: SplitNode, percentage: number) => void;
102
102
  /** Moves/reorders a tab relative to another target tab. */
103
103
  moveTab: (draggedTabId: string, targetTabId: string, position?: 'before' | 'after' | 'center') => void;
104
- /** Popout the specified tab into a new window. */
104
+ /** [Experimental] Popout the specified tab into a new window. */
105
105
  popoutTab: (tabId: string) => void;
106
- /** Dock the specified tab back to the main layout. */
106
+ /** [Experimental] Dock the specified tab back to the main layout. */
107
107
  dockTab: (tabId: string) => void;
108
108
  }
109
109
  interface ZeugmaQueries {
@@ -218,7 +218,7 @@ interface BaseZeugmaProps {
218
218
  onDismissIntentChange?: (paneId: string | null) => void;
219
219
  /** Configuration for layout persistence in localStorage. */
220
220
  persist?: boolean | ZeugmaPersistOptions;
221
- /** Optional custom wrapper element/component to wrap the contents of a popout tab.
221
+ /** [Experimental] Optional custom wrapper element/component to wrap the contents of a popout tab.
222
222
  * Useful for styled-components (StyleSheetManager), Antd (ConfigProvider), etc.
223
223
  */
224
224
  renderPopoutWrapper?: (props: {
@@ -29,7 +29,7 @@ interface TabDetails {
29
29
  isActive: boolean;
30
30
  index: number;
31
31
  metadata: Record<string, unknown> | undefined;
32
- /** Force-remount the component during window transitions instead of adopting the DOM node. */
32
+ /** [Experimental] Force-remount the component during window transitions instead of adopting the DOM node. */
33
33
  remountOnPopout?: boolean;
34
34
  }
35
35
  interface RenderTabProps extends TabDetails {
@@ -41,11 +41,11 @@ interface RenderTabProps extends TabDetails {
41
41
  onSelect: () => void;
42
42
  /** Callback to close/remove this tab. */
43
43
  onRemove: () => void;
44
- /** Whether this tab is popped out in a separate window. */
44
+ /** [Experimental] Whether this tab is popped out in a separate window. */
45
45
  isPoppedOut: boolean;
46
- /** Popout this tab. */
46
+ /** [Experimental] Popout this tab. */
47
47
  popout: () => void;
48
- /** Dock this tab back. */
48
+ /** [Experimental] Dock this tab back. */
49
49
  dock: () => void;
50
50
  }
51
51
  interface UseZeugmaOptions {
@@ -69,7 +69,7 @@ interface ZeugmaState {
69
69
  fullscreenPaneId: string | null;
70
70
  /** Whether the layout is globally locked. */
71
71
  locked: boolean;
72
- /** The list of tab/widget IDs that are currently open in a new window. */
72
+ /** [Experimental] The list of tab/widget IDs that are currently open in a new window. */
73
73
  poppedOutTabIds: string[];
74
74
  }
75
75
  interface ZeugmaStateSetters {
@@ -101,9 +101,9 @@ interface ZeugmaActions {
101
101
  updateSplitPercentage: (currentNode: SplitNode, percentage: number) => void;
102
102
  /** Moves/reorders a tab relative to another target tab. */
103
103
  moveTab: (draggedTabId: string, targetTabId: string, position?: 'before' | 'after' | 'center') => void;
104
- /** Popout the specified tab into a new window. */
104
+ /** [Experimental] Popout the specified tab into a new window. */
105
105
  popoutTab: (tabId: string) => void;
106
- /** Dock the specified tab back to the main layout. */
106
+ /** [Experimental] Dock the specified tab back to the main layout. */
107
107
  dockTab: (tabId: string) => void;
108
108
  }
109
109
  interface ZeugmaQueries {
@@ -218,7 +218,7 @@ interface BaseZeugmaProps {
218
218
  onDismissIntentChange?: (paneId: string | null) => void;
219
219
  /** Configuration for layout persistence in localStorage. */
220
220
  persist?: boolean | ZeugmaPersistOptions;
221
- /** Optional custom wrapper element/component to wrap the contents of a popout tab.
221
+ /** [Experimental] Optional custom wrapper element/component to wrap the contents of a popout tab.
222
222
  * Useful for styled-components (StyleSheetManager), Antd (ConfigProvider), etc.
223
223
  */
224
224
  renderPopoutWrapper?: (props: {
package/dist/utils.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PaneNode, b as SplitNode, S as SplitDirection, T as TreeNode, c as TabDetails } from './types-V7PXu-Mo.cjs';
1
+ import { P as PaneNode, b as SplitNode, S as SplitDirection, T as TreeNode, c as TabDetails } from './types-DFl4yzkP.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 { P as PaneNode, b as SplitNode, S as SplitDirection, T as TreeNode, c as TabDetails } from './types-V7PXu-Mo.js';
1
+ import { P as PaneNode, b as SplitNode, S as SplitDirection, T as TreeNode, c as TabDetails } from './types-DFl4yzkP.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": "6.9.1",
3
+ "version": "6.9.3",
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,