react-dockable-desktop 7.6.2 → 7.7.1

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
@@ -868,6 +868,10 @@ declare const defaultPredefinedMessages: {
868
868
  readonly id: "dockable-desktop-modalTitle";
869
869
  readonly defaultMessage: "Confirmation";
870
870
  };
871
+ readonly alertTitle: {
872
+ readonly id: "dockable-desktop-alertTitle";
873
+ readonly defaultMessage: "Information";
874
+ };
871
875
  readonly emptyGroup: {
872
876
  readonly id: "dockable-desktop-emptyGroup";
873
877
  readonly defaultMessage: "Empty Workspace Section";
@@ -1293,6 +1297,90 @@ interface OverlayState {
1293
1297
  modals: OverlayInstance[];
1294
1298
  }
1295
1299
 
1300
+ /**
1301
+ * Props for the {@link RddConfirm} component.
1302
+ */
1303
+ interface RddConfirmProps {
1304
+ /** Optional custom title text or localizable descriptor for the dialog container. */
1305
+ title?: string | {
1306
+ id: string;
1307
+ defaultMessage?: string;
1308
+ values?: any;
1309
+ } | (() => string);
1310
+ /** Main message text or localizable descriptor to display. */
1311
+ message: string | {
1312
+ id: string;
1313
+ defaultMessage?: string;
1314
+ values?: any;
1315
+ };
1316
+ /** Optional auxiliary top alert notification text. */
1317
+ alert?: string;
1318
+ /** Type style classification for the alert notice banner. */
1319
+ alertType?: 'info' | 'warning' | 'success' | 'danger';
1320
+ /** If true, changes action button labels to 'Yes' and 'No' instead of 'OK' and 'Cancel'. */
1321
+ useYesNoTitles?: boolean;
1322
+ /** Callback fired when the user selects the confirm button. */
1323
+ onOK?: () => void;
1324
+ /** Callback fired when the user selects the cancel button. */
1325
+ onCancel?: () => void;
1326
+ /**
1327
+ * Fired exactly once, however the dialog ends: `true` for the confirm button (or Enter),
1328
+ * `false` for the cancel button, Escape, the backdrop, the × or the modal being closed by code.
1329
+ */
1330
+ onSettled?: (ok: boolean) => void;
1331
+ /**
1332
+ * The icon left of the message. Omit it for the built-in question icon, pass `null` for none,
1333
+ * or pass your own node. It is coloured by `alertType`.
1334
+ */
1335
+ icon?: React$1.ReactNode | null;
1336
+ }
1337
+ /**
1338
+ * RddConfirm component renders a standard dialog content layout,
1339
+ * allowing users to confirm actions or abort them. Exposes action callbacks.
1340
+ */
1341
+ declare const ConfirmationForm: React$1.FC<RddConfirmProps>;
1342
+
1343
+ /**
1344
+ * Props for the {@link RddAlert} component.
1345
+ */
1346
+ interface RddAlertProps {
1347
+ /** Optional custom title text or localizable descriptor for the dialog container. */
1348
+ title?: string | {
1349
+ id: string;
1350
+ defaultMessage?: string;
1351
+ values?: any;
1352
+ } | (() => string);
1353
+ /** Main message text or localizable descriptor to display. */
1354
+ message: string | {
1355
+ id: string;
1356
+ defaultMessage?: string;
1357
+ values?: any;
1358
+ };
1359
+ /** Picks the built-in icon and its colour. Defaults to `'info'`. */
1360
+ alertType?: 'info' | 'warning' | 'success' | 'danger';
1361
+ /**
1362
+ * The icon left of the message. Omit it for the built-in icon of `alertType`, pass `null` for
1363
+ * none, or pass your own node. It is coloured by `alertType`.
1364
+ */
1365
+ icon?: React$1.ReactNode | null;
1366
+ /** Label of the button. Defaults to the `ok` predefined message. */
1367
+ okLabel?: string | {
1368
+ id: string;
1369
+ defaultMessage?: string;
1370
+ values?: any;
1371
+ };
1372
+ /**
1373
+ * Fired exactly once, however the dialog ends: the OK button, Enter, Escape, the backdrop, the ×
1374
+ * or the modal being closed by code.
1375
+ */
1376
+ onSettled?: () => void;
1377
+ }
1378
+ /**
1379
+ * RddAlert shows a message with a single OK button. Open it with `useModals().open` or
1380
+ * `useModals().alert()`.
1381
+ */
1382
+ declare const AlertForm: React$1.FC<RddAlertProps>;
1383
+
1296
1384
  /**
1297
1385
  * The 7.0 public API layer: `createWorkspace()`, the hooks a panel or an app component uses, and
1298
1386
  * the two components that replace several 6.x ones (`RddSidePanels`, `RddContextMenu`).
@@ -1418,6 +1506,35 @@ interface ModalsApi {
1418
1506
  get: (id: OverlayId) => OverlayInstance | undefined;
1419
1507
  update: (id: OverlayId, updates: OverlayUpdate) => void;
1420
1508
  setDirty: (id: OverlayId, dirty: boolean, options?: DirtyStateOptions) => void;
1509
+ /**
1510
+ * Opens an {@link RddConfirm} and resolves `true` when it is confirmed, `false` when it is
1511
+ * cancelled or dismissed (Escape, the backdrop, the ×, or a close by code).
1512
+ */
1513
+ confirm: (options: ConfirmOptions) => Promise<boolean>;
1514
+ /** Opens an {@link RddAlert} and resolves once it is acknowledged or dismissed. */
1515
+ alert: (options: AlertOptions) => Promise<void>;
1516
+ }
1517
+ /** Options of {@link ModalsApi.confirm}. The title defaults to the `modalTitle` message. */
1518
+ interface ConfirmOptions {
1519
+ message: RddConfirmProps['message'];
1520
+ title?: ModalOptions['title'];
1521
+ alert?: string;
1522
+ alertType?: RddConfirmProps['alertType'];
1523
+ icon?: React$1.ReactNode | null;
1524
+ /** Labels the buttons Yes and No instead of OK and Cancel. */
1525
+ yesNo?: boolean;
1526
+ /** Defaults to `'small'`. */
1527
+ size?: ModalOptions['size'];
1528
+ }
1529
+ /** Options of {@link ModalsApi.alert}. The title defaults to the `alertTitle` message. */
1530
+ interface AlertOptions {
1531
+ message: RddAlertProps['message'];
1532
+ title?: ModalOptions['title'];
1533
+ alertType?: RddAlertProps['alertType'];
1534
+ icon?: React$1.ReactNode | null;
1535
+ okLabel?: RddAlertProps['okLabel'];
1536
+ /** Defaults to `'small'`. */
1537
+ size?: ModalOptions['size'];
1421
1538
  }
1422
1539
  /** Returned by {@link useSidePanels}. */
1423
1540
  interface SidePanelsApi {
@@ -1587,39 +1704,6 @@ declare const WindowManager: React$1.FC<RddDesktopProps>;
1587
1704
  */
1588
1705
  declare const ModalStackRenderer: React$1.FC;
1589
1706
 
1590
- /**
1591
- * Props for the {@link RddConfirm} component.
1592
- */
1593
- interface RddConfirmProps {
1594
- /** Optional custom title text or localizable descriptor for the dialog container. */
1595
- title?: string | {
1596
- id: string;
1597
- defaultMessage?: string;
1598
- values?: any;
1599
- } | (() => string);
1600
- /** Main message text or localizable descriptor to display. */
1601
- message: string | {
1602
- id: string;
1603
- defaultMessage?: string;
1604
- values?: any;
1605
- };
1606
- /** Optional auxiliary top alert notification text. */
1607
- alert?: string;
1608
- /** Type style classification for the alert notice banner. */
1609
- alertType?: 'info' | 'warning' | 'success' | 'danger';
1610
- /** If true, changes action button labels to 'Yes' and 'No' instead of 'OK' and 'Cancel'. */
1611
- useYesNoTitles?: boolean;
1612
- /** Callback fired when the user selects the confirm button. */
1613
- onOK?: () => void;
1614
- /** Callback fired when the user selects the cancel button. */
1615
- onCancel?: () => void;
1616
- }
1617
- /**
1618
- * RddConfirm component renders a standard dialog content layout,
1619
- * allowing users to confirm actions or abort them. Exposes action callbacks.
1620
- */
1621
- declare const ConfirmationForm: React$1.FC<RddConfirmProps>;
1622
-
1623
1707
  /**
1624
1708
  * @file Sidebar.tsx
1625
1709
  * @description Sidebar activity bar (strip) and resizable content drawer.
@@ -2665,4 +2749,4 @@ declare function isElementRtl(el: HTMLElement | null): boolean;
2665
2749
  */
2666
2750
  declare function isComputedRtl(el: Element | null | undefined): boolean;
2667
2751
 
2668
- export { type BuiltInEvents, type ButtonVariant, type CloseOptions, type ContainerType, type ContextMenuAdapter, type ContextMenuCheckbox, type ContextMenuHandle, type ContextMenuItem, type ContextMenuLabel, type ContextMenuSeparator, type ContextMenuSimpleItem, type ContextMenuSubMenu, type DirtyStateOptions, DockableDesktopProvider, type DockableDesktopProviderProps, type DropPosition, type DropTarget, type FloatAnchor, type FloatingWidgetsApi, type FloatingWindow, type HostClasses, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, type ManagedWidget, type MenuItemAction, type MessageDescriptor, type MessageFormatter, type MessageKey, type ModalOptions, type ModalsApi, type OpenPanelOptions, type OverlayId, type OverlayInstance, type OverlayState, type PanelContribution, type PanelDefinition, type PanelEvents, type PanelFloatPlacement, type PanelHandle, type PanelInfo, PanelRegistry, type PanelRegistryEntry, type PanelSidebarSection, type PanelState, type PanelTitle, type PanelTitleDescriptor, type PointerDragConfig, ConfirmationForm as RddConfirm, type RddConfirmProps, RddContextMenu, type RddContextMenuProps, WindowManager as RddDesktop, type RddDesktopProps, PanelFloatingWindow as RddFloatingWidget, type RddFloatingWidgetProps, ModalStackRenderer as RddModals, PanelOverlayRoot as RddPanelOverlay, type RddPanelOverlayProps, PanelToolbar as RddPanelToolbar, type RddPanelToolbarProps, SecondarySidebar as RddSecondarySidebar, type RddSecondarySidebarProps, RddSidePanels, type RddSidePanelsProps, Sidebar as RddSidebar, type RddSidebarProps, ToastContainer as RddToasts, type RddToastsProps, Toolbar as RddToolbar, ToolbarButton as RddToolbarButton, type RddToolbarButtonProps, ToolbarCenter as RddToolbarCenter, ToolbarItem as RddToolbarItem, type RddToolbarProps, ToolbarSearchInput as RddToolbarSearch, type RddToolbarSearchProps, ToolbarSeparator as RddToolbarSeparator, ToolbarSpacer as RddToolbarSpacer, ToolbarToggle as RddToolbarToggle, type RddToolbarToggleProps, type ResizeConstraints, type ResizeDir, type ResizeRect, type ResolvedToastOptions, type SearchResult, type SerializedLayout, type ShowContextMenuOptions, type SidePanelOptions, type SidePanelsApi, type SidebarActionButton, type SidebarContextValue as SidebarContext, type SidebarCustomEntry, type SidebarHandle, type SidebarHeaderAction, type SidebarRailEntry, type SidebarTab, type SidebarTabContextValue as SidebarTabContext, type SplitDirection, type SplitOrientation, type Stretch, type TaskbarVisibility, type ToastAdapter, type ToastFunction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastType, type ToolbarActionItem, type ToolbarContextValue, type ToolbarGroupEntry, type ToolbarGroupItem, type ToolbarGroupSubItem, type ToolbarHandle, type ToolbarItem$1 as ToolbarItem, type ToolbarPosition, type ToolbarRadioItem, type ToolbarSeparator$1 as ToolbarSeparator, type ToolbarToggleItem, type ToolbarVariant, type Workspace, type WorkspaceActions, type WorkspaceConfig, type WorkspaceState, computeResizedRect, createWorkspace, defaultPredefinedMessages as defaultMessages, formatLabel, isComputedRtl, isElementRtl, isSerializable, sidebarSectionToTab as sectionToTab, startPointerDrag, toast, useActivePanelContribution as useActiveContribution, useBeforeClose, useColorScheme, useShowContextMenu as useContextMenu, usePanelFloatingWindowManager as useFloatingWidgets, useFormatMessage, useStyleClasses as useHostClasses, useMergedSidebarTabs, useMergedToolbarItems, usePredefinedMessages as useMessages, useModals, usePanel, usePanelContextMenu, usePanelContribution, usePanelEvents, usePanelSize, useSaveState, useSidePanels, useSidebar, useSidebarTab, useToolbar, useWorkspace, useWindowManagerState as useWorkspaceState };
2752
+ export { type AlertOptions, type BuiltInEvents, type ButtonVariant, type CloseOptions, type ConfirmOptions, type ContainerType, type ContextMenuAdapter, type ContextMenuCheckbox, type ContextMenuHandle, type ContextMenuItem, type ContextMenuLabel, type ContextMenuSeparator, type ContextMenuSimpleItem, type ContextMenuSubMenu, type DirtyStateOptions, DockableDesktopProvider, type DockableDesktopProviderProps, type DropPosition, type DropTarget, type FloatAnchor, type FloatingWidgetsApi, type FloatingWindow, type HostClasses, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, type ManagedWidget, type MenuItemAction, type MessageDescriptor, type MessageFormatter, type MessageKey, type ModalOptions, type ModalsApi, type OpenPanelOptions, type OverlayId, type OverlayInstance, type OverlayState, type PanelContribution, type PanelDefinition, type PanelEvents, type PanelFloatPlacement, type PanelHandle, type PanelInfo, PanelRegistry, type PanelRegistryEntry, type PanelSidebarSection, type PanelState, type PanelTitle, type PanelTitleDescriptor, type PointerDragConfig, AlertForm as RddAlert, type RddAlertProps, ConfirmationForm as RddConfirm, type RddConfirmProps, RddContextMenu, type RddContextMenuProps, WindowManager as RddDesktop, type RddDesktopProps, PanelFloatingWindow as RddFloatingWidget, type RddFloatingWidgetProps, ModalStackRenderer as RddModals, PanelOverlayRoot as RddPanelOverlay, type RddPanelOverlayProps, PanelToolbar as RddPanelToolbar, type RddPanelToolbarProps, SecondarySidebar as RddSecondarySidebar, type RddSecondarySidebarProps, RddSidePanels, type RddSidePanelsProps, Sidebar as RddSidebar, type RddSidebarProps, ToastContainer as RddToasts, type RddToastsProps, Toolbar as RddToolbar, ToolbarButton as RddToolbarButton, type RddToolbarButtonProps, ToolbarCenter as RddToolbarCenter, ToolbarItem as RddToolbarItem, type RddToolbarProps, ToolbarSearchInput as RddToolbarSearch, type RddToolbarSearchProps, ToolbarSeparator as RddToolbarSeparator, ToolbarSpacer as RddToolbarSpacer, ToolbarToggle as RddToolbarToggle, type RddToolbarToggleProps, type ResizeConstraints, type ResizeDir, type ResizeRect, type ResolvedToastOptions, type SearchResult, type SerializedLayout, type ShowContextMenuOptions, type SidePanelOptions, type SidePanelsApi, type SidebarActionButton, type SidebarContextValue as SidebarContext, type SidebarCustomEntry, type SidebarHandle, type SidebarHeaderAction, type SidebarRailEntry, type SidebarTab, type SidebarTabContextValue as SidebarTabContext, type SplitDirection, type SplitOrientation, type Stretch, type TaskbarVisibility, type ToastAdapter, type ToastFunction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastType, type ToolbarActionItem, type ToolbarContextValue, type ToolbarGroupEntry, type ToolbarGroupItem, type ToolbarGroupSubItem, type ToolbarHandle, type ToolbarItem$1 as ToolbarItem, type ToolbarPosition, type ToolbarRadioItem, type ToolbarSeparator$1 as ToolbarSeparator, type ToolbarToggleItem, type ToolbarVariant, type Workspace, type WorkspaceActions, type WorkspaceConfig, type WorkspaceState, computeResizedRect, createWorkspace, defaultPredefinedMessages as defaultMessages, formatLabel, isComputedRtl, isElementRtl, isSerializable, sidebarSectionToTab as sectionToTab, startPointerDrag, toast, useActivePanelContribution as useActiveContribution, useBeforeClose, useColorScheme, useShowContextMenu as useContextMenu, usePanelFloatingWindowManager as useFloatingWidgets, useFormatMessage, useStyleClasses as useHostClasses, useMergedSidebarTabs, useMergedToolbarItems, usePredefinedMessages as useMessages, useModals, usePanel, usePanelContextMenu, usePanelContribution, usePanelEvents, usePanelSize, useSaveState, useSidePanels, useSidebar, useSidebarTab, useToolbar, useWorkspace, useWindowManagerState as useWorkspaceState };
package/dist/index.d.ts CHANGED
@@ -868,6 +868,10 @@ declare const defaultPredefinedMessages: {
868
868
  readonly id: "dockable-desktop-modalTitle";
869
869
  readonly defaultMessage: "Confirmation";
870
870
  };
871
+ readonly alertTitle: {
872
+ readonly id: "dockable-desktop-alertTitle";
873
+ readonly defaultMessage: "Information";
874
+ };
871
875
  readonly emptyGroup: {
872
876
  readonly id: "dockable-desktop-emptyGroup";
873
877
  readonly defaultMessage: "Empty Workspace Section";
@@ -1293,6 +1297,90 @@ interface OverlayState {
1293
1297
  modals: OverlayInstance[];
1294
1298
  }
1295
1299
 
1300
+ /**
1301
+ * Props for the {@link RddConfirm} component.
1302
+ */
1303
+ interface RddConfirmProps {
1304
+ /** Optional custom title text or localizable descriptor for the dialog container. */
1305
+ title?: string | {
1306
+ id: string;
1307
+ defaultMessage?: string;
1308
+ values?: any;
1309
+ } | (() => string);
1310
+ /** Main message text or localizable descriptor to display. */
1311
+ message: string | {
1312
+ id: string;
1313
+ defaultMessage?: string;
1314
+ values?: any;
1315
+ };
1316
+ /** Optional auxiliary top alert notification text. */
1317
+ alert?: string;
1318
+ /** Type style classification for the alert notice banner. */
1319
+ alertType?: 'info' | 'warning' | 'success' | 'danger';
1320
+ /** If true, changes action button labels to 'Yes' and 'No' instead of 'OK' and 'Cancel'. */
1321
+ useYesNoTitles?: boolean;
1322
+ /** Callback fired when the user selects the confirm button. */
1323
+ onOK?: () => void;
1324
+ /** Callback fired when the user selects the cancel button. */
1325
+ onCancel?: () => void;
1326
+ /**
1327
+ * Fired exactly once, however the dialog ends: `true` for the confirm button (or Enter),
1328
+ * `false` for the cancel button, Escape, the backdrop, the × or the modal being closed by code.
1329
+ */
1330
+ onSettled?: (ok: boolean) => void;
1331
+ /**
1332
+ * The icon left of the message. Omit it for the built-in question icon, pass `null` for none,
1333
+ * or pass your own node. It is coloured by `alertType`.
1334
+ */
1335
+ icon?: React$1.ReactNode | null;
1336
+ }
1337
+ /**
1338
+ * RddConfirm component renders a standard dialog content layout,
1339
+ * allowing users to confirm actions or abort them. Exposes action callbacks.
1340
+ */
1341
+ declare const ConfirmationForm: React$1.FC<RddConfirmProps>;
1342
+
1343
+ /**
1344
+ * Props for the {@link RddAlert} component.
1345
+ */
1346
+ interface RddAlertProps {
1347
+ /** Optional custom title text or localizable descriptor for the dialog container. */
1348
+ title?: string | {
1349
+ id: string;
1350
+ defaultMessage?: string;
1351
+ values?: any;
1352
+ } | (() => string);
1353
+ /** Main message text or localizable descriptor to display. */
1354
+ message: string | {
1355
+ id: string;
1356
+ defaultMessage?: string;
1357
+ values?: any;
1358
+ };
1359
+ /** Picks the built-in icon and its colour. Defaults to `'info'`. */
1360
+ alertType?: 'info' | 'warning' | 'success' | 'danger';
1361
+ /**
1362
+ * The icon left of the message. Omit it for the built-in icon of `alertType`, pass `null` for
1363
+ * none, or pass your own node. It is coloured by `alertType`.
1364
+ */
1365
+ icon?: React$1.ReactNode | null;
1366
+ /** Label of the button. Defaults to the `ok` predefined message. */
1367
+ okLabel?: string | {
1368
+ id: string;
1369
+ defaultMessage?: string;
1370
+ values?: any;
1371
+ };
1372
+ /**
1373
+ * Fired exactly once, however the dialog ends: the OK button, Enter, Escape, the backdrop, the ×
1374
+ * or the modal being closed by code.
1375
+ */
1376
+ onSettled?: () => void;
1377
+ }
1378
+ /**
1379
+ * RddAlert shows a message with a single OK button. Open it with `useModals().open` or
1380
+ * `useModals().alert()`.
1381
+ */
1382
+ declare const AlertForm: React$1.FC<RddAlertProps>;
1383
+
1296
1384
  /**
1297
1385
  * The 7.0 public API layer: `createWorkspace()`, the hooks a panel or an app component uses, and
1298
1386
  * the two components that replace several 6.x ones (`RddSidePanels`, `RddContextMenu`).
@@ -1418,6 +1506,35 @@ interface ModalsApi {
1418
1506
  get: (id: OverlayId) => OverlayInstance | undefined;
1419
1507
  update: (id: OverlayId, updates: OverlayUpdate) => void;
1420
1508
  setDirty: (id: OverlayId, dirty: boolean, options?: DirtyStateOptions) => void;
1509
+ /**
1510
+ * Opens an {@link RddConfirm} and resolves `true` when it is confirmed, `false` when it is
1511
+ * cancelled or dismissed (Escape, the backdrop, the ×, or a close by code).
1512
+ */
1513
+ confirm: (options: ConfirmOptions) => Promise<boolean>;
1514
+ /** Opens an {@link RddAlert} and resolves once it is acknowledged or dismissed. */
1515
+ alert: (options: AlertOptions) => Promise<void>;
1516
+ }
1517
+ /** Options of {@link ModalsApi.confirm}. The title defaults to the `modalTitle` message. */
1518
+ interface ConfirmOptions {
1519
+ message: RddConfirmProps['message'];
1520
+ title?: ModalOptions['title'];
1521
+ alert?: string;
1522
+ alertType?: RddConfirmProps['alertType'];
1523
+ icon?: React$1.ReactNode | null;
1524
+ /** Labels the buttons Yes and No instead of OK and Cancel. */
1525
+ yesNo?: boolean;
1526
+ /** Defaults to `'small'`. */
1527
+ size?: ModalOptions['size'];
1528
+ }
1529
+ /** Options of {@link ModalsApi.alert}. The title defaults to the `alertTitle` message. */
1530
+ interface AlertOptions {
1531
+ message: RddAlertProps['message'];
1532
+ title?: ModalOptions['title'];
1533
+ alertType?: RddAlertProps['alertType'];
1534
+ icon?: React$1.ReactNode | null;
1535
+ okLabel?: RddAlertProps['okLabel'];
1536
+ /** Defaults to `'small'`. */
1537
+ size?: ModalOptions['size'];
1421
1538
  }
1422
1539
  /** Returned by {@link useSidePanels}. */
1423
1540
  interface SidePanelsApi {
@@ -1587,39 +1704,6 @@ declare const WindowManager: React$1.FC<RddDesktopProps>;
1587
1704
  */
1588
1705
  declare const ModalStackRenderer: React$1.FC;
1589
1706
 
1590
- /**
1591
- * Props for the {@link RddConfirm} component.
1592
- */
1593
- interface RddConfirmProps {
1594
- /** Optional custom title text or localizable descriptor for the dialog container. */
1595
- title?: string | {
1596
- id: string;
1597
- defaultMessage?: string;
1598
- values?: any;
1599
- } | (() => string);
1600
- /** Main message text or localizable descriptor to display. */
1601
- message: string | {
1602
- id: string;
1603
- defaultMessage?: string;
1604
- values?: any;
1605
- };
1606
- /** Optional auxiliary top alert notification text. */
1607
- alert?: string;
1608
- /** Type style classification for the alert notice banner. */
1609
- alertType?: 'info' | 'warning' | 'success' | 'danger';
1610
- /** If true, changes action button labels to 'Yes' and 'No' instead of 'OK' and 'Cancel'. */
1611
- useYesNoTitles?: boolean;
1612
- /** Callback fired when the user selects the confirm button. */
1613
- onOK?: () => void;
1614
- /** Callback fired when the user selects the cancel button. */
1615
- onCancel?: () => void;
1616
- }
1617
- /**
1618
- * RddConfirm component renders a standard dialog content layout,
1619
- * allowing users to confirm actions or abort them. Exposes action callbacks.
1620
- */
1621
- declare const ConfirmationForm: React$1.FC<RddConfirmProps>;
1622
-
1623
1707
  /**
1624
1708
  * @file Sidebar.tsx
1625
1709
  * @description Sidebar activity bar (strip) and resizable content drawer.
@@ -2665,4 +2749,4 @@ declare function isElementRtl(el: HTMLElement | null): boolean;
2665
2749
  */
2666
2750
  declare function isComputedRtl(el: Element | null | undefined): boolean;
2667
2751
 
2668
- export { type BuiltInEvents, type ButtonVariant, type CloseOptions, type ContainerType, type ContextMenuAdapter, type ContextMenuCheckbox, type ContextMenuHandle, type ContextMenuItem, type ContextMenuLabel, type ContextMenuSeparator, type ContextMenuSimpleItem, type ContextMenuSubMenu, type DirtyStateOptions, DockableDesktopProvider, type DockableDesktopProviderProps, type DropPosition, type DropTarget, type FloatAnchor, type FloatingWidgetsApi, type FloatingWindow, type HostClasses, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, type ManagedWidget, type MenuItemAction, type MessageDescriptor, type MessageFormatter, type MessageKey, type ModalOptions, type ModalsApi, type OpenPanelOptions, type OverlayId, type OverlayInstance, type OverlayState, type PanelContribution, type PanelDefinition, type PanelEvents, type PanelFloatPlacement, type PanelHandle, type PanelInfo, PanelRegistry, type PanelRegistryEntry, type PanelSidebarSection, type PanelState, type PanelTitle, type PanelTitleDescriptor, type PointerDragConfig, ConfirmationForm as RddConfirm, type RddConfirmProps, RddContextMenu, type RddContextMenuProps, WindowManager as RddDesktop, type RddDesktopProps, PanelFloatingWindow as RddFloatingWidget, type RddFloatingWidgetProps, ModalStackRenderer as RddModals, PanelOverlayRoot as RddPanelOverlay, type RddPanelOverlayProps, PanelToolbar as RddPanelToolbar, type RddPanelToolbarProps, SecondarySidebar as RddSecondarySidebar, type RddSecondarySidebarProps, RddSidePanels, type RddSidePanelsProps, Sidebar as RddSidebar, type RddSidebarProps, ToastContainer as RddToasts, type RddToastsProps, Toolbar as RddToolbar, ToolbarButton as RddToolbarButton, type RddToolbarButtonProps, ToolbarCenter as RddToolbarCenter, ToolbarItem as RddToolbarItem, type RddToolbarProps, ToolbarSearchInput as RddToolbarSearch, type RddToolbarSearchProps, ToolbarSeparator as RddToolbarSeparator, ToolbarSpacer as RddToolbarSpacer, ToolbarToggle as RddToolbarToggle, type RddToolbarToggleProps, type ResizeConstraints, type ResizeDir, type ResizeRect, type ResolvedToastOptions, type SearchResult, type SerializedLayout, type ShowContextMenuOptions, type SidePanelOptions, type SidePanelsApi, type SidebarActionButton, type SidebarContextValue as SidebarContext, type SidebarCustomEntry, type SidebarHandle, type SidebarHeaderAction, type SidebarRailEntry, type SidebarTab, type SidebarTabContextValue as SidebarTabContext, type SplitDirection, type SplitOrientation, type Stretch, type TaskbarVisibility, type ToastAdapter, type ToastFunction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastType, type ToolbarActionItem, type ToolbarContextValue, type ToolbarGroupEntry, type ToolbarGroupItem, type ToolbarGroupSubItem, type ToolbarHandle, type ToolbarItem$1 as ToolbarItem, type ToolbarPosition, type ToolbarRadioItem, type ToolbarSeparator$1 as ToolbarSeparator, type ToolbarToggleItem, type ToolbarVariant, type Workspace, type WorkspaceActions, type WorkspaceConfig, type WorkspaceState, computeResizedRect, createWorkspace, defaultPredefinedMessages as defaultMessages, formatLabel, isComputedRtl, isElementRtl, isSerializable, sidebarSectionToTab as sectionToTab, startPointerDrag, toast, useActivePanelContribution as useActiveContribution, useBeforeClose, useColorScheme, useShowContextMenu as useContextMenu, usePanelFloatingWindowManager as useFloatingWidgets, useFormatMessage, useStyleClasses as useHostClasses, useMergedSidebarTabs, useMergedToolbarItems, usePredefinedMessages as useMessages, useModals, usePanel, usePanelContextMenu, usePanelContribution, usePanelEvents, usePanelSize, useSaveState, useSidePanels, useSidebar, useSidebarTab, useToolbar, useWorkspace, useWindowManagerState as useWorkspaceState };
2752
+ export { type AlertOptions, type BuiltInEvents, type ButtonVariant, type CloseOptions, type ConfirmOptions, type ContainerType, type ContextMenuAdapter, type ContextMenuCheckbox, type ContextMenuHandle, type ContextMenuItem, type ContextMenuLabel, type ContextMenuSeparator, type ContextMenuSimpleItem, type ContextMenuSubMenu, type DirtyStateOptions, DockableDesktopProvider, type DockableDesktopProviderProps, type DropPosition, type DropTarget, type FloatAnchor, type FloatingWidgetsApi, type FloatingWindow, type HostClasses, type LayoutGridNode, type LayoutLeafNode, type LayoutNode, type ManagedWidget, type MenuItemAction, type MessageDescriptor, type MessageFormatter, type MessageKey, type ModalOptions, type ModalsApi, type OpenPanelOptions, type OverlayId, type OverlayInstance, type OverlayState, type PanelContribution, type PanelDefinition, type PanelEvents, type PanelFloatPlacement, type PanelHandle, type PanelInfo, PanelRegistry, type PanelRegistryEntry, type PanelSidebarSection, type PanelState, type PanelTitle, type PanelTitleDescriptor, type PointerDragConfig, AlertForm as RddAlert, type RddAlertProps, ConfirmationForm as RddConfirm, type RddConfirmProps, RddContextMenu, type RddContextMenuProps, WindowManager as RddDesktop, type RddDesktopProps, PanelFloatingWindow as RddFloatingWidget, type RddFloatingWidgetProps, ModalStackRenderer as RddModals, PanelOverlayRoot as RddPanelOverlay, type RddPanelOverlayProps, PanelToolbar as RddPanelToolbar, type RddPanelToolbarProps, SecondarySidebar as RddSecondarySidebar, type RddSecondarySidebarProps, RddSidePanels, type RddSidePanelsProps, Sidebar as RddSidebar, type RddSidebarProps, ToastContainer as RddToasts, type RddToastsProps, Toolbar as RddToolbar, ToolbarButton as RddToolbarButton, type RddToolbarButtonProps, ToolbarCenter as RddToolbarCenter, ToolbarItem as RddToolbarItem, type RddToolbarProps, ToolbarSearchInput as RddToolbarSearch, type RddToolbarSearchProps, ToolbarSeparator as RddToolbarSeparator, ToolbarSpacer as RddToolbarSpacer, ToolbarToggle as RddToolbarToggle, type RddToolbarToggleProps, type ResizeConstraints, type ResizeDir, type ResizeRect, type ResolvedToastOptions, type SearchResult, type SerializedLayout, type ShowContextMenuOptions, type SidePanelOptions, type SidePanelsApi, type SidebarActionButton, type SidebarContextValue as SidebarContext, type SidebarCustomEntry, type SidebarHandle, type SidebarHeaderAction, type SidebarRailEntry, type SidebarTab, type SidebarTabContextValue as SidebarTabContext, type SplitDirection, type SplitOrientation, type Stretch, type TaskbarVisibility, type ToastAdapter, type ToastFunction, type ToastOptions, type ToastPosition, type ToastPromiseMessages, type ToastType, type ToolbarActionItem, type ToolbarContextValue, type ToolbarGroupEntry, type ToolbarGroupItem, type ToolbarGroupSubItem, type ToolbarHandle, type ToolbarItem$1 as ToolbarItem, type ToolbarPosition, type ToolbarRadioItem, type ToolbarSeparator$1 as ToolbarSeparator, type ToolbarToggleItem, type ToolbarVariant, type Workspace, type WorkspaceActions, type WorkspaceConfig, type WorkspaceState, computeResizedRect, createWorkspace, defaultPredefinedMessages as defaultMessages, formatLabel, isComputedRtl, isElementRtl, isSerializable, sidebarSectionToTab as sectionToTab, startPointerDrag, toast, useActivePanelContribution as useActiveContribution, useBeforeClose, useColorScheme, useShowContextMenu as useContextMenu, usePanelFloatingWindowManager as useFloatingWidgets, useFormatMessage, useStyleClasses as useHostClasses, useMergedSidebarTabs, useMergedToolbarItems, usePredefinedMessages as useMessages, useModals, usePanel, usePanelContextMenu, usePanelContribution, usePanelEvents, usePanelSize, useSaveState, useSidePanels, useSidebar, useSidebarTab, useToolbar, useWorkspace, useWindowManagerState as useWorkspaceState };