react-zeugma 6.9.7 → 6.9.9
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/README.md +34 -39
- package/dist/devtools.cjs +1 -1
- package/dist/devtools.cjs.map +1 -1
- package/dist/devtools.js +1 -1
- package/dist/devtools.js.map +1 -1
- package/dist/index.cjs +4 -4
- 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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/{types-DQICRtw1.d.cts → types-DFl4yzkP.d.cts} +9 -0
- package/dist/{types-DQICRtw1.d.ts → types-DFl4yzkP.d.ts} +9 -0
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -218,6 +218,15 @@ interface BaseZeugmaProps {
|
|
|
218
218
|
onDismissIntentChange?: (paneId: string | null) => void;
|
|
219
219
|
/** Configuration for layout persistence in localStorage. */
|
|
220
220
|
persist?: boolean | ZeugmaPersistOptions;
|
|
221
|
+
/** [Experimental] Optional custom wrapper element/component to wrap the contents of a popout tab.
|
|
222
|
+
* Useful for styled-components (StyleSheetManager), Antd (ConfigProvider), etc.
|
|
223
|
+
*/
|
|
224
|
+
renderPopoutWrapper?: (props: {
|
|
225
|
+
tabId: string;
|
|
226
|
+
document: Document;
|
|
227
|
+
window: Window;
|
|
228
|
+
children: React.ReactNode;
|
|
229
|
+
}) => React.ReactNode;
|
|
221
230
|
}
|
|
222
231
|
interface ZeugmaPersistOptions {
|
|
223
232
|
/** Whether to enable persistence. Defaults to true if the object is provided. */
|
|
@@ -218,6 +218,15 @@ interface BaseZeugmaProps {
|
|
|
218
218
|
onDismissIntentChange?: (paneId: string | null) => void;
|
|
219
219
|
/** Configuration for layout persistence in localStorage. */
|
|
220
220
|
persist?: boolean | ZeugmaPersistOptions;
|
|
221
|
+
/** [Experimental] Optional custom wrapper element/component to wrap the contents of a popout tab.
|
|
222
|
+
* Useful for styled-components (StyleSheetManager), Antd (ConfigProvider), etc.
|
|
223
|
+
*/
|
|
224
|
+
renderPopoutWrapper?: (props: {
|
|
225
|
+
tabId: string;
|
|
226
|
+
document: Document;
|
|
227
|
+
window: Window;
|
|
228
|
+
children: React.ReactNode;
|
|
229
|
+
}) => React.ReactNode;
|
|
221
230
|
}
|
|
222
231
|
interface ZeugmaPersistOptions {
|
|
223
232
|
/** Whether to enable persistence. Defaults to true if the object is provided. */
|
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-
|
|
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-
|
|
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.
|
|
3
|
+
"version": "6.9.9",
|
|
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,
|