react-dockable-desktop 2.0.0 → 2.1.0

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
@@ -1,5 +1,4 @@
1
- import * as React$1 from 'react';
2
- import React__default, { ComponentType, ReactNode } from 'react';
1
+ import React$1, { ComponentType, Context, Provider, ReactNode } from 'react';
3
2
 
4
3
  /**
5
4
  * @file WindowManager.tsx
@@ -10,9 +9,9 @@ import React__default, { ComponentType, ReactNode } from 'react';
10
9
 
11
10
  interface WindowManagerProps {
12
11
  skin?: string;
13
- defaultPanelIcon?: React__default.ReactNode;
12
+ defaultPanelIcon?: React$1.ReactNode;
14
13
  }
15
- declare const WindowManager: React__default.FC<WindowManagerProps>;
14
+ declare const WindowManager: React$1.FC<WindowManagerProps>;
16
15
 
17
16
  /**
18
17
  * Represents a registered component configuration template inside the panel catalog registry.
@@ -249,6 +248,15 @@ interface ContextMenuPredefinedMessage {
249
248
  type MessageFormatter = (msg: ContextMenuPredefinedMessage) => string;
250
249
  /** Orientation modifier indicating split directions. */
251
250
  type SplitOrientation = 'horizontal' | 'vertical';
251
+ /** The four cardinal directions a panel can be docked relative to another. */
252
+ type SplitDirection = 'left' | 'right' | 'top' | 'bottom';
253
+ /** All possible drop positions — cardinal directions plus center (same group). */
254
+ type DropPosition = SplitDirection | 'center';
255
+ /** The target leaf and position for a drag-and-drop dock operation. */
256
+ interface DropTarget {
257
+ leafId: string;
258
+ position: DropPosition;
259
+ }
252
260
  /**
253
261
  * Grid layout branch node containing nested splits and relative flex sizes.
254
262
  */
@@ -488,8 +496,9 @@ interface WindowActions {
488
496
  * Restores a previously serialized workspace from a JSON string.
489
497
  * Replaces the entire current layout — all panels not in the snapshot are closed.
490
498
  * @param layoutJson - JSON string produced by {@link saveLayout}.
499
+ * @returns `true` if the layout was successfully parsed and applied, `false` otherwise.
491
500
  */
492
- loadLayout: (layoutJson: string) => void;
501
+ loadLayout: (layoutJson: string) => boolean;
493
502
  /**
494
503
  * Publishes an event to the inter-panel pub/sub event bus.
495
504
  * @param event - Event name string.
@@ -515,7 +524,7 @@ interface WindowActions {
515
524
  * @param targetLeafId - Leaf group ID to split.
516
525
  * @param position - Which side of the target to split and dock into.
517
526
  */
518
- dockPanelToGroup: (id: string, targetLeafId: string, position: 'left' | 'right' | 'top' | 'bottom' | 'center') => void;
527
+ dockPanelToGroup: (id: string, targetLeafId: string, position: DropPosition) => void;
519
528
  /**
520
529
  * Reorders a panel's tab index within a docked leaf group.
521
530
  * @param panelId - Panel instance ID to move.
@@ -568,7 +577,7 @@ interface WindowActions {
568
577
  * @param id - Panel instance ID.
569
578
  * @param position - Edge to dock to.
570
579
  */
571
- dockPanelToWorkspaceEdge: (id: string, position: 'left' | 'right' | 'top' | 'bottom') => void;
580
+ dockPanelToWorkspaceEdge: (id: string, position: SplitDirection) => void;
572
581
  /**
573
582
  * Overrides the workspace layout direction.
574
583
  * @param dir - `'ltr'` or `'rtl'`.
@@ -604,7 +613,7 @@ declare const useStyleClasses: () => StyleClasses;
604
613
  */
605
614
  declare const useRegistry: () => PanelRegistryClass;
606
615
  interface WindowManagerProviderProps {
607
- children: React__default.ReactNode;
616
+ children: React$1.ReactNode;
608
617
  /** WorkspaceClient instance created outside the React tree. When provided, its registry
609
618
  * and config take precedence over the individual props below. */
610
619
  client?: WorkspaceClient;
@@ -618,7 +627,7 @@ interface WindowManagerProviderProps {
618
627
  windowClass?: string;
619
628
  windowBodyClass?: string;
620
629
  }
621
- declare const WindowManagerProvider: React__default.FC<WindowManagerProviderProps>;
630
+ declare const WindowManagerProvider: React$1.FC<WindowManagerProviderProps>;
622
631
  /**
623
632
  * React hook to subscribe to the live {@link WindowState} inside a component.
624
633
  * The component re-renders whenever the state changes.
@@ -667,14 +676,11 @@ declare const formatLabel: (label: string | ContextMenuPredefinedMessage | undef
667
676
  /**
668
677
  * React hook providing pub-sub helper methods for inter-panel event messaging.
669
678
  */
670
- declare const usePanelContext: () => {
671
- publish: (event: string, data: any) => void;
672
- subscribe: (event: string, callback: (data: any) => void) => () => void;
673
- };
679
+ declare const usePanelContext: () => Pick<WindowActions, "publish" | "subscribe">;
674
680
  /**
675
681
  * React hook to fetch the localizable predefined message map catalog.
676
682
  */
677
- declare const usePredefinedMessages: () => Record<"floatWindow" | "minimizePanel" | "closeTab" | "restorePanel" | "maximizePanel" | "closePanel" | "dockWindow" | "minimize" | "maximize" | "restoreSize" | "close" | "closeEmptyGroup" | "anchorToRightEdge" | "anchorToBottomEdge" | "windowAnchoringOptions" | "unsavedChangesTitle" | "unsavedChangesMessage" | "discardChanges" | "cancel" | "yes" | "no" | "ok" | "closePanelTooltip" | "closeTooltip", ContextMenuPredefinedMessage>;
683
+ declare const usePredefinedMessages: () => Record<PredefinedMessageKey, ContextMenuPredefinedMessage>;
678
684
 
679
685
  /** Per-panel definition supplied to WorkspaceClient constructor. */
680
686
  interface PanelDefinition {
@@ -777,7 +783,7 @@ declare class WorkspaceClient {
777
783
  /** Returns the IDs of all currently open panels. */
778
784
  getOpenPanelIds(): string[];
779
785
  saveLayout(): string;
780
- loadLayout(json: string): void;
786
+ loadLayout(json: string): boolean;
781
787
  setDirection(dir: 'ltr' | 'rtl'): void;
782
788
  publish(event: string, data: unknown): void;
783
789
  subscribe(event: string, callback: (data: unknown) => void): () => void;
@@ -827,8 +833,8 @@ interface FormContainerContract {
827
833
  /**
828
834
  * Context that supplies the {@link FormContainerContract} to panels inside the Window Manager.
829
835
  */
830
- declare const FormContainerContext: React$1.Context<FormContainerContract>;
831
- declare const FormContainerProvider: React$1.Provider<FormContainerContract>;
836
+ declare const FormContainerContext: Context<FormContainerContract>;
837
+ declare const FormContainerProvider: Provider<FormContainerContract>;
832
838
  /**
833
839
  * React hook to retrieve the current {@link FormContainerContract} from context.
834
840
  * Enables sub-forms to trigger close requests, mark themselves dirty, rename their tabs, or listen to resize events.
@@ -855,7 +861,7 @@ interface SidePanelOptions {
855
861
  /** Display title for the side-panel header. */
856
862
  title?: PanelTitle;
857
863
  /** Icon displayed next to the panel title. */
858
- icon?: React__default.ReactNode;
864
+ icon?: React$1.ReactNode;
859
865
  /** Specific CSS width (e.g. 300, '40%') for the panel container. */
860
866
  width?: number | string;
861
867
  }
@@ -864,7 +870,7 @@ interface ModalOptions {
864
870
  /** Display title for the modal header. */
865
871
  title?: PanelTitle;
866
872
  /** Icon displayed in the modal title bar. */
867
- icon?: React__default.ReactNode;
873
+ icon?: React$1.ReactNode;
868
874
  /** Size modifier affecting CSS max-width rules. */
869
875
  size?: 'small' | 'medium' | 'large' | 'fullscreen' | 'auto';
870
876
  /** If false, hides the modal backdrop exit click and header close button. */
@@ -927,7 +933,7 @@ interface PanelActions {
927
933
  * PanelProvider component manages the state and action handlers
928
934
  * for drawers (left/right) and active stacked modal overlays.
929
935
  */
930
- declare const PanelProvider: React__default.FC<{
936
+ declare const PanelProvider: React$1.FC<{
931
937
  children: ReactNode;
932
938
  }>;
933
939
  /**
@@ -945,7 +951,7 @@ declare const usePanelActions: () => PanelActions;
945
951
  * ModalStackRenderer component acts as the global container rendering
946
952
  * all active stacked modal windows in the workspace.
947
953
  */
948
- declare const ModalStackRenderer: React__default.FC;
954
+ declare const ModalStackRenderer: React$1.FC;
949
955
 
950
956
  interface SidePanelRendererProps {
951
957
  /**
@@ -959,15 +965,15 @@ interface SidePanelRendererProps {
959
965
  * SidePanelRenderer component acts as the global container rendering both
960
966
  * left and right side drawers if they are currently active.
961
967
  */
962
- declare const SidePanelRenderer: React__default.FC<SidePanelRendererProps>;
968
+ declare const SidePanelRenderer: React$1.FC<SidePanelRendererProps>;
963
969
  /**
964
970
  * LeftPanelRenderer component renders ONLY the left side drawer if it is currently active.
965
971
  */
966
- declare const LeftPanelRenderer: React__default.FC<SidePanelRendererProps>;
972
+ declare const LeftPanelRenderer: React$1.FC<SidePanelRendererProps>;
967
973
  /**
968
974
  * RightPanelRenderer component renders ONLY the right side drawer if it is currently active.
969
975
  */
970
- declare const RightPanelRenderer: React__default.FC<SidePanelRendererProps>;
976
+ declare const RightPanelRenderer: React$1.FC<SidePanelRendererProps>;
971
977
 
972
978
  /**
973
979
  * Props for the {@link ConfirmationForm} component.
@@ -1000,7 +1006,7 @@ interface ConfirmationFormProps {
1000
1006
  * ConfirmationForm component renders a standard dialog content layout,
1001
1007
  * allowing users to confirm actions or abort them. Exposes action callbacks.
1002
1008
  */
1003
- declare const ConfirmationForm: React__default.FC<ConfirmationFormProps>;
1009
+ declare const ConfirmationForm: React$1.FC<ConfirmationFormProps>;
1004
1010
 
1005
1011
  /**
1006
1012
  * @file Sidebar.tsx
@@ -1014,7 +1020,7 @@ declare const ConfirmationForm: React__default.FC<ConfirmationFormProps>;
1014
1020
  interface SidebarTab {
1015
1021
  id: string;
1016
1022
  label: string;
1017
- icon: React__default.ReactNode;
1023
+ icon: React$1.ReactNode;
1018
1024
  /**
1019
1025
  * Mount immediately when the Sidebar first renders, not on first user click.
1020
1026
  * Implies `preserveState: true`.
@@ -1038,7 +1044,7 @@ interface SidebarTab {
1038
1044
  * @param onOpen - call to expand the drawer and select this tab programmatically
1039
1045
  * (useful when the panel itself detects it has new data to show)
1040
1046
  */
1041
- renderContent: (tabId: string, onClose: () => void, onOpen: () => void) => React__default.ReactNode;
1047
+ renderContent: (tabId: string, onClose: () => void, onOpen: () => void) => React$1.ReactNode;
1042
1048
  }
1043
1049
  interface SidebarProps {
1044
1050
  /** Which side the tab strip and drawer appear on. Default: 'right' */
@@ -1051,7 +1057,7 @@ interface SidebarProps {
1051
1057
  /** Called when the active tab changes in uncontrolled mode. */
1052
1058
  onActiveTabChange?: (tabId: string | null) => void;
1053
1059
  /** Main workspace content, rendered between the strip and drawer (or around them). */
1054
- children?: React__default.ReactNode;
1060
+ children?: React$1.ReactNode;
1055
1061
  }
1056
1062
  /**
1057
1063
  * Imperative handle exposed by `<Sidebar ref={...}>` via forwardRef.
@@ -1070,6 +1076,6 @@ interface SidebarHandle {
1070
1076
  * Sidebar component rendering a tab strip and a collapsible content drawer.
1071
1077
  * Supports imperative method bindings like openTab and closeDrawer via forwardRef.
1072
1078
  */
1073
- declare const Sidebar: React__default.ForwardRefExoticComponent<SidebarProps & React__default.RefAttributes<SidebarHandle>>;
1079
+ declare const Sidebar: React$1.ForwardRefExoticComponent<SidebarProps & React$1.RefAttributes<SidebarHandle>>;
1074
1080
 
1075
- export { type CloseOptions, ConfirmationForm, type ConfirmationFormProps, type ContextMenuPredefinedMessage, type FloatingWindow, FormContainerContext, type FormContainerContract, FormContainerProvider, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, LeftPanelRenderer, type MessageFormatter, type ModalOptions, ModalStackRenderer, type PanelActions, type PanelDefinition, type PanelInfo, type PanelInstance, type PanelInstanceId, PanelProvider, PanelRegistry, PanelRegistryClass, type PanelRegistryEntry, type PanelState, type PanelTitle, type PredefinedMessageKey, RightPanelRenderer, type SidePanelOptions, SidePanelRenderer, type SidePanelRendererProps, Sidebar, type SidebarHandle, type SidebarProps, type SidebarTab, type SplitOrientation, type StyleClasses, type WindowActions, WindowManager, WindowManagerProvider, type WindowState, WorkspaceClient, type WorkspaceClientConfig, defaultPredefinedMessages, formatLabel, useFormContainer, useFormatMessage, usePanelActions, usePanelContext, usePanelState, usePredefinedMessages, useRegistry, useStyleClasses, useWindowManagerActions, useWindowManagerState };
1081
+ export { type CloseOptions, ConfirmationForm, type ConfirmationFormProps, type ContextMenuPredefinedMessage, type DropPosition, type DropTarget, type FloatingWindow, FormContainerContext, type FormContainerContract, FormContainerProvider, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, LeftPanelRenderer, type MessageFormatter, type ModalOptions, ModalStackRenderer, type PanelActions, type PanelDefinition, type PanelInfo, type PanelInstance, type PanelInstanceId, PanelProvider, PanelRegistry, PanelRegistryClass, type PanelRegistryEntry, type PanelState, type PanelTitle, type PredefinedMessageKey, RightPanelRenderer, type SidePanelOptions, SidePanelRenderer, type SidePanelRendererProps, Sidebar, type SidebarHandle, type SidebarProps, type SidebarTab, type SplitDirection, type SplitOrientation, type StyleClasses, type WindowActions, WindowManager, WindowManagerProvider, type WindowState, WorkspaceClient, type WorkspaceClientConfig, defaultPredefinedMessages, formatLabel, useFormContainer, useFormatMessage, usePanelActions, usePanelContext, usePanelState, usePredefinedMessages, useRegistry, useStyleClasses, useWindowManagerActions, useWindowManagerState };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import * as React$1 from 'react';
2
- import React__default, { ComponentType, ReactNode } from 'react';
1
+ import React$1, { ComponentType, Context, Provider, ReactNode } from 'react';
3
2
 
4
3
  /**
5
4
  * @file WindowManager.tsx
@@ -10,9 +9,9 @@ import React__default, { ComponentType, ReactNode } from 'react';
10
9
 
11
10
  interface WindowManagerProps {
12
11
  skin?: string;
13
- defaultPanelIcon?: React__default.ReactNode;
12
+ defaultPanelIcon?: React$1.ReactNode;
14
13
  }
15
- declare const WindowManager: React__default.FC<WindowManagerProps>;
14
+ declare const WindowManager: React$1.FC<WindowManagerProps>;
16
15
 
17
16
  /**
18
17
  * Represents a registered component configuration template inside the panel catalog registry.
@@ -249,6 +248,15 @@ interface ContextMenuPredefinedMessage {
249
248
  type MessageFormatter = (msg: ContextMenuPredefinedMessage) => string;
250
249
  /** Orientation modifier indicating split directions. */
251
250
  type SplitOrientation = 'horizontal' | 'vertical';
251
+ /** The four cardinal directions a panel can be docked relative to another. */
252
+ type SplitDirection = 'left' | 'right' | 'top' | 'bottom';
253
+ /** All possible drop positions — cardinal directions plus center (same group). */
254
+ type DropPosition = SplitDirection | 'center';
255
+ /** The target leaf and position for a drag-and-drop dock operation. */
256
+ interface DropTarget {
257
+ leafId: string;
258
+ position: DropPosition;
259
+ }
252
260
  /**
253
261
  * Grid layout branch node containing nested splits and relative flex sizes.
254
262
  */
@@ -488,8 +496,9 @@ interface WindowActions {
488
496
  * Restores a previously serialized workspace from a JSON string.
489
497
  * Replaces the entire current layout — all panels not in the snapshot are closed.
490
498
  * @param layoutJson - JSON string produced by {@link saveLayout}.
499
+ * @returns `true` if the layout was successfully parsed and applied, `false` otherwise.
491
500
  */
492
- loadLayout: (layoutJson: string) => void;
501
+ loadLayout: (layoutJson: string) => boolean;
493
502
  /**
494
503
  * Publishes an event to the inter-panel pub/sub event bus.
495
504
  * @param event - Event name string.
@@ -515,7 +524,7 @@ interface WindowActions {
515
524
  * @param targetLeafId - Leaf group ID to split.
516
525
  * @param position - Which side of the target to split and dock into.
517
526
  */
518
- dockPanelToGroup: (id: string, targetLeafId: string, position: 'left' | 'right' | 'top' | 'bottom' | 'center') => void;
527
+ dockPanelToGroup: (id: string, targetLeafId: string, position: DropPosition) => void;
519
528
  /**
520
529
  * Reorders a panel's tab index within a docked leaf group.
521
530
  * @param panelId - Panel instance ID to move.
@@ -568,7 +577,7 @@ interface WindowActions {
568
577
  * @param id - Panel instance ID.
569
578
  * @param position - Edge to dock to.
570
579
  */
571
- dockPanelToWorkspaceEdge: (id: string, position: 'left' | 'right' | 'top' | 'bottom') => void;
580
+ dockPanelToWorkspaceEdge: (id: string, position: SplitDirection) => void;
572
581
  /**
573
582
  * Overrides the workspace layout direction.
574
583
  * @param dir - `'ltr'` or `'rtl'`.
@@ -604,7 +613,7 @@ declare const useStyleClasses: () => StyleClasses;
604
613
  */
605
614
  declare const useRegistry: () => PanelRegistryClass;
606
615
  interface WindowManagerProviderProps {
607
- children: React__default.ReactNode;
616
+ children: React$1.ReactNode;
608
617
  /** WorkspaceClient instance created outside the React tree. When provided, its registry
609
618
  * and config take precedence over the individual props below. */
610
619
  client?: WorkspaceClient;
@@ -618,7 +627,7 @@ interface WindowManagerProviderProps {
618
627
  windowClass?: string;
619
628
  windowBodyClass?: string;
620
629
  }
621
- declare const WindowManagerProvider: React__default.FC<WindowManagerProviderProps>;
630
+ declare const WindowManagerProvider: React$1.FC<WindowManagerProviderProps>;
622
631
  /**
623
632
  * React hook to subscribe to the live {@link WindowState} inside a component.
624
633
  * The component re-renders whenever the state changes.
@@ -667,14 +676,11 @@ declare const formatLabel: (label: string | ContextMenuPredefinedMessage | undef
667
676
  /**
668
677
  * React hook providing pub-sub helper methods for inter-panel event messaging.
669
678
  */
670
- declare const usePanelContext: () => {
671
- publish: (event: string, data: any) => void;
672
- subscribe: (event: string, callback: (data: any) => void) => () => void;
673
- };
679
+ declare const usePanelContext: () => Pick<WindowActions, "publish" | "subscribe">;
674
680
  /**
675
681
  * React hook to fetch the localizable predefined message map catalog.
676
682
  */
677
- declare const usePredefinedMessages: () => Record<"floatWindow" | "minimizePanel" | "closeTab" | "restorePanel" | "maximizePanel" | "closePanel" | "dockWindow" | "minimize" | "maximize" | "restoreSize" | "close" | "closeEmptyGroup" | "anchorToRightEdge" | "anchorToBottomEdge" | "windowAnchoringOptions" | "unsavedChangesTitle" | "unsavedChangesMessage" | "discardChanges" | "cancel" | "yes" | "no" | "ok" | "closePanelTooltip" | "closeTooltip", ContextMenuPredefinedMessage>;
683
+ declare const usePredefinedMessages: () => Record<PredefinedMessageKey, ContextMenuPredefinedMessage>;
678
684
 
679
685
  /** Per-panel definition supplied to WorkspaceClient constructor. */
680
686
  interface PanelDefinition {
@@ -777,7 +783,7 @@ declare class WorkspaceClient {
777
783
  /** Returns the IDs of all currently open panels. */
778
784
  getOpenPanelIds(): string[];
779
785
  saveLayout(): string;
780
- loadLayout(json: string): void;
786
+ loadLayout(json: string): boolean;
781
787
  setDirection(dir: 'ltr' | 'rtl'): void;
782
788
  publish(event: string, data: unknown): void;
783
789
  subscribe(event: string, callback: (data: unknown) => void): () => void;
@@ -827,8 +833,8 @@ interface FormContainerContract {
827
833
  /**
828
834
  * Context that supplies the {@link FormContainerContract} to panels inside the Window Manager.
829
835
  */
830
- declare const FormContainerContext: React$1.Context<FormContainerContract>;
831
- declare const FormContainerProvider: React$1.Provider<FormContainerContract>;
836
+ declare const FormContainerContext: Context<FormContainerContract>;
837
+ declare const FormContainerProvider: Provider<FormContainerContract>;
832
838
  /**
833
839
  * React hook to retrieve the current {@link FormContainerContract} from context.
834
840
  * Enables sub-forms to trigger close requests, mark themselves dirty, rename their tabs, or listen to resize events.
@@ -855,7 +861,7 @@ interface SidePanelOptions {
855
861
  /** Display title for the side-panel header. */
856
862
  title?: PanelTitle;
857
863
  /** Icon displayed next to the panel title. */
858
- icon?: React__default.ReactNode;
864
+ icon?: React$1.ReactNode;
859
865
  /** Specific CSS width (e.g. 300, '40%') for the panel container. */
860
866
  width?: number | string;
861
867
  }
@@ -864,7 +870,7 @@ interface ModalOptions {
864
870
  /** Display title for the modal header. */
865
871
  title?: PanelTitle;
866
872
  /** Icon displayed in the modal title bar. */
867
- icon?: React__default.ReactNode;
873
+ icon?: React$1.ReactNode;
868
874
  /** Size modifier affecting CSS max-width rules. */
869
875
  size?: 'small' | 'medium' | 'large' | 'fullscreen' | 'auto';
870
876
  /** If false, hides the modal backdrop exit click and header close button. */
@@ -927,7 +933,7 @@ interface PanelActions {
927
933
  * PanelProvider component manages the state and action handlers
928
934
  * for drawers (left/right) and active stacked modal overlays.
929
935
  */
930
- declare const PanelProvider: React__default.FC<{
936
+ declare const PanelProvider: React$1.FC<{
931
937
  children: ReactNode;
932
938
  }>;
933
939
  /**
@@ -945,7 +951,7 @@ declare const usePanelActions: () => PanelActions;
945
951
  * ModalStackRenderer component acts as the global container rendering
946
952
  * all active stacked modal windows in the workspace.
947
953
  */
948
- declare const ModalStackRenderer: React__default.FC;
954
+ declare const ModalStackRenderer: React$1.FC;
949
955
 
950
956
  interface SidePanelRendererProps {
951
957
  /**
@@ -959,15 +965,15 @@ interface SidePanelRendererProps {
959
965
  * SidePanelRenderer component acts as the global container rendering both
960
966
  * left and right side drawers if they are currently active.
961
967
  */
962
- declare const SidePanelRenderer: React__default.FC<SidePanelRendererProps>;
968
+ declare const SidePanelRenderer: React$1.FC<SidePanelRendererProps>;
963
969
  /**
964
970
  * LeftPanelRenderer component renders ONLY the left side drawer if it is currently active.
965
971
  */
966
- declare const LeftPanelRenderer: React__default.FC<SidePanelRendererProps>;
972
+ declare const LeftPanelRenderer: React$1.FC<SidePanelRendererProps>;
967
973
  /**
968
974
  * RightPanelRenderer component renders ONLY the right side drawer if it is currently active.
969
975
  */
970
- declare const RightPanelRenderer: React__default.FC<SidePanelRendererProps>;
976
+ declare const RightPanelRenderer: React$1.FC<SidePanelRendererProps>;
971
977
 
972
978
  /**
973
979
  * Props for the {@link ConfirmationForm} component.
@@ -1000,7 +1006,7 @@ interface ConfirmationFormProps {
1000
1006
  * ConfirmationForm component renders a standard dialog content layout,
1001
1007
  * allowing users to confirm actions or abort them. Exposes action callbacks.
1002
1008
  */
1003
- declare const ConfirmationForm: React__default.FC<ConfirmationFormProps>;
1009
+ declare const ConfirmationForm: React$1.FC<ConfirmationFormProps>;
1004
1010
 
1005
1011
  /**
1006
1012
  * @file Sidebar.tsx
@@ -1014,7 +1020,7 @@ declare const ConfirmationForm: React__default.FC<ConfirmationFormProps>;
1014
1020
  interface SidebarTab {
1015
1021
  id: string;
1016
1022
  label: string;
1017
- icon: React__default.ReactNode;
1023
+ icon: React$1.ReactNode;
1018
1024
  /**
1019
1025
  * Mount immediately when the Sidebar first renders, not on first user click.
1020
1026
  * Implies `preserveState: true`.
@@ -1038,7 +1044,7 @@ interface SidebarTab {
1038
1044
  * @param onOpen - call to expand the drawer and select this tab programmatically
1039
1045
  * (useful when the panel itself detects it has new data to show)
1040
1046
  */
1041
- renderContent: (tabId: string, onClose: () => void, onOpen: () => void) => React__default.ReactNode;
1047
+ renderContent: (tabId: string, onClose: () => void, onOpen: () => void) => React$1.ReactNode;
1042
1048
  }
1043
1049
  interface SidebarProps {
1044
1050
  /** Which side the tab strip and drawer appear on. Default: 'right' */
@@ -1051,7 +1057,7 @@ interface SidebarProps {
1051
1057
  /** Called when the active tab changes in uncontrolled mode. */
1052
1058
  onActiveTabChange?: (tabId: string | null) => void;
1053
1059
  /** Main workspace content, rendered between the strip and drawer (or around them). */
1054
- children?: React__default.ReactNode;
1060
+ children?: React$1.ReactNode;
1055
1061
  }
1056
1062
  /**
1057
1063
  * Imperative handle exposed by `<Sidebar ref={...}>` via forwardRef.
@@ -1070,6 +1076,6 @@ interface SidebarHandle {
1070
1076
  * Sidebar component rendering a tab strip and a collapsible content drawer.
1071
1077
  * Supports imperative method bindings like openTab and closeDrawer via forwardRef.
1072
1078
  */
1073
- declare const Sidebar: React__default.ForwardRefExoticComponent<SidebarProps & React__default.RefAttributes<SidebarHandle>>;
1079
+ declare const Sidebar: React$1.ForwardRefExoticComponent<SidebarProps & React$1.RefAttributes<SidebarHandle>>;
1074
1080
 
1075
- export { type CloseOptions, ConfirmationForm, type ConfirmationFormProps, type ContextMenuPredefinedMessage, type FloatingWindow, FormContainerContext, type FormContainerContract, FormContainerProvider, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, LeftPanelRenderer, type MessageFormatter, type ModalOptions, ModalStackRenderer, type PanelActions, type PanelDefinition, type PanelInfo, type PanelInstance, type PanelInstanceId, PanelProvider, PanelRegistry, PanelRegistryClass, type PanelRegistryEntry, type PanelState, type PanelTitle, type PredefinedMessageKey, RightPanelRenderer, type SidePanelOptions, SidePanelRenderer, type SidePanelRendererProps, Sidebar, type SidebarHandle, type SidebarProps, type SidebarTab, type SplitOrientation, type StyleClasses, type WindowActions, WindowManager, WindowManagerProvider, type WindowState, WorkspaceClient, type WorkspaceClientConfig, defaultPredefinedMessages, formatLabel, useFormContainer, useFormatMessage, usePanelActions, usePanelContext, usePanelState, usePredefinedMessages, useRegistry, useStyleClasses, useWindowManagerActions, useWindowManagerState };
1081
+ export { type CloseOptions, ConfirmationForm, type ConfirmationFormProps, type ContextMenuPredefinedMessage, type DropPosition, type DropTarget, type FloatingWindow, FormContainerContext, type FormContainerContract, FormContainerProvider, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, LeftPanelRenderer, type MessageFormatter, type ModalOptions, ModalStackRenderer, type PanelActions, type PanelDefinition, type PanelInfo, type PanelInstance, type PanelInstanceId, PanelProvider, PanelRegistry, PanelRegistryClass, type PanelRegistryEntry, type PanelState, type PanelTitle, type PredefinedMessageKey, RightPanelRenderer, type SidePanelOptions, SidePanelRenderer, type SidePanelRendererProps, Sidebar, type SidebarHandle, type SidebarProps, type SidebarTab, type SplitDirection, type SplitOrientation, type StyleClasses, type WindowActions, WindowManager, WindowManagerProvider, type WindowState, WorkspaceClient, type WorkspaceClientConfig, defaultPredefinedMessages, formatLabel, useFormContainer, useFormatMessage, usePanelActions, usePanelContext, usePanelState, usePredefinedMessages, useRegistry, useStyleClasses, useWindowManagerActions, useWindowManagerState };