@squeed/flow-sdk 2.0.15 → 2.0.16

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.d.cts CHANGED
@@ -289,6 +289,7 @@ export declare interface FlowDiagramCallbacks {
289
289
  /** Fires when a node is clicked/selected */
290
290
  onNodeSelect?: (nodeId: string, nodeData: any, modifiers?: NodeSelectionModifiers) => void;
291
291
  onBackgroundClick?: () => void;
292
+ onBottomBarCollapsedChange?: (collapsed: boolean) => void;
292
293
  /** Fires when selection is cleared */
293
294
  onNodeDeselect?: () => void;
294
295
  /** Fires on double-click of a node */
@@ -371,6 +372,7 @@ export declare interface FlowDiagramCallbacks {
371
372
  /** Configuration for the flow diagram appearance and behavior */
372
373
  export declare interface FlowDiagramConfig {
373
374
  bottomBarExtra?: React.ReactNode;
375
+ bottomBarCollapsed?: boolean;
374
376
  /** Animate fit/center/focus actions for 300ms by default. Per-action flags override this; reduced motion stays instant. */
375
377
  animateViewport?: boolean;
376
378
  edgeReveal?: {
package/dist/index.d.ts CHANGED
@@ -289,6 +289,7 @@ export declare interface FlowDiagramCallbacks {
289
289
  /** Fires when a node is clicked/selected */
290
290
  onNodeSelect?: (nodeId: string, nodeData: any, modifiers?: NodeSelectionModifiers) => void;
291
291
  onBackgroundClick?: () => void;
292
+ onBottomBarCollapsedChange?: (collapsed: boolean) => void;
292
293
  /** Fires when selection is cleared */
293
294
  onNodeDeselect?: () => void;
294
295
  /** Fires on double-click of a node */
@@ -371,6 +372,7 @@ export declare interface FlowDiagramCallbacks {
371
372
  /** Configuration for the flow diagram appearance and behavior */
372
373
  export declare interface FlowDiagramConfig {
373
374
  bottomBarExtra?: React.ReactNode;
375
+ bottomBarCollapsed?: boolean;
374
376
  /** Animate fit/center/focus actions for 300ms by default. Per-action flags override this; reduced motion stays instant. */
375
377
  animateViewport?: boolean;
376
378
  edgeReveal?: {