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.
@@ -104,9 +104,9 @@ interface RenderCounterFooterProps {
104
104
  declare function useRenderCounter(idOrOptions?: string | RenderCounterOptions, maybeOptions?: RenderCounterOptions): RenderCounterState;
105
105
 
106
106
  /**
107
- * A floating overlay badge displaying mount and render counters for debugging component lifecycles.
107
+ * A badge displaying mount and render counters for debugging component lifecycles.
108
108
  */
109
- declare function RenderCounterBadge({ id, position, className, style, logToConsole, disabled, }: RenderCounterBadgeProps): React.JSX.Element | null;
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 floating overlay badge displaying mount and render counters for debugging component lifecycles.
107
+ * A badge displaying mount and render counters for debugging component lifecycles.
108
108
  */
109
- declare function RenderCounterBadge({ id, position, className, style, logToConsole, disabled, }: RenderCounterBadgeProps): React.JSX.Element | null;
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-DQICRtw1.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-DQICRtw1.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.6",
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,