react-zeugma 6.2.1 → 6.2.2
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{types-BPZMRZht.d.cts → types-Yvj0Isvy.d.cts} +3 -1
- package/dist/{types-BPZMRZht.d.ts → types-Yvj0Isvy.d.ts} +3 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -71,8 +71,10 @@ interface UseZeugmaOptions {
|
|
|
71
71
|
interface ZeugmaController {
|
|
72
72
|
/** The current active layout tree structure, or null if empty. */
|
|
73
73
|
layout: TreeNode | null;
|
|
74
|
-
/** Updates the layout tree. */
|
|
74
|
+
/** Updates the layout tree. Also resets transient states like fullscreenPaneId. */
|
|
75
75
|
setLayout: Dispatch<SetStateAction<TreeNode | null>>;
|
|
76
|
+
/** @internal Raw layout setter used by DnD internals — does NOT reset transient states. */
|
|
77
|
+
_internalSetLayout: Dispatch<SetStateAction<TreeNode | null>>;
|
|
76
78
|
/** The ID of the pane currently zoomed to fullscreen, or null. */
|
|
77
79
|
fullscreenPaneId: string | null;
|
|
78
80
|
/** Programmatically sets the fullscreen pane ID. */
|
|
@@ -71,8 +71,10 @@ interface UseZeugmaOptions {
|
|
|
71
71
|
interface ZeugmaController {
|
|
72
72
|
/** The current active layout tree structure, or null if empty. */
|
|
73
73
|
layout: TreeNode | null;
|
|
74
|
-
/** Updates the layout tree. */
|
|
74
|
+
/** Updates the layout tree. Also resets transient states like fullscreenPaneId. */
|
|
75
75
|
setLayout: Dispatch<SetStateAction<TreeNode | null>>;
|
|
76
|
+
/** @internal Raw layout setter used by DnD internals — does NOT reset transient states. */
|
|
77
|
+
_internalSetLayout: Dispatch<SetStateAction<TreeNode | null>>;
|
|
76
78
|
/** The ID of the pane currently zoomed to fullscreen, or null. */
|
|
77
79
|
fullscreenPaneId: string | null;
|
|
78
80
|
/** Programmatically sets the fullscreen pane ID. */
|
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-
|
|
1
|
+
import { g as PaneNode, f as SplitNode, S as SplitDirection, T as TreeNode, h as TabDetails } from './types-Yvj0Isvy.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-
|
|
1
|
+
import { g as PaneNode, f as SplitNode, S as SplitDirection, T as TreeNode, h as TabDetails } from './types-Yvj0Isvy.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.2.
|
|
3
|
+
"version": "6.2.2",
|
|
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,
|