react-zeugma 6.9.6 → 6.9.8
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 +36 -41
- package/dist/devtools.cjs +1 -1
- package/dist/devtools.cjs.map +1 -1
- package/dist/devtools.d.cts +1 -1
- package/dist/devtools.d.ts +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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/{render-counter-footer-CYe6-Atc.d.cts → render-counter-footer-rAKCzuRX.d.cts} +2 -2
- package/dist/{render-counter-footer-CYe6-Atc.d.ts → render-counter-footer-rAKCzuRX.d.ts} +2 -2
- 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
|
@@ -104,9 +104,9 @@ interface RenderCounterFooterProps {
|
|
|
104
104
|
declare function useRenderCounter(idOrOptions?: string | RenderCounterOptions, maybeOptions?: RenderCounterOptions): RenderCounterState;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* A
|
|
107
|
+
* A badge displaying mount and render counters for debugging component lifecycles.
|
|
108
108
|
*/
|
|
109
|
-
declare function RenderCounterBadge({ id,
|
|
109
|
+
declare function RenderCounterBadge({ id, className, style, logToConsole, disabled, }: RenderCounterBadgeProps): React.JSX.Element | null;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
112
|
* A container footer component for displaying mount and render counters at the bottom of widgets or panels.
|
|
@@ -104,9 +104,9 @@ interface RenderCounterFooterProps {
|
|
|
104
104
|
declare function useRenderCounter(idOrOptions?: string | RenderCounterOptions, maybeOptions?: RenderCounterOptions): RenderCounterState;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* A
|
|
107
|
+
* A badge displaying mount and render counters for debugging component lifecycles.
|
|
108
108
|
*/
|
|
109
|
-
declare function RenderCounterBadge({ id,
|
|
109
|
+
declare function RenderCounterBadge({ id, className, style, logToConsole, disabled, }: RenderCounterBadgeProps): React.JSX.Element | null;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
112
|
* A container footer component for displaying mount and render counters at the bottom of widgets or panels.
|
|
@@ -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.8",
|
|
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,
|