@inf-monkeys-tech/monkeys-design 1.0.92 → 1.0.93

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.
@@ -343,6 +343,8 @@ interface AgentWorkbenchShellProps extends Omit<HTMLAttributes<HTMLDivElement>,
343
343
  details?: ReactNode;
344
344
  /** Whether the left navigation is available to the layout. */
345
345
  sidebarOpen?: boolean;
346
+ /** Whether the left navigation starts expanded in inline layouts. */
347
+ sidebarDefaultOpen?: boolean;
346
348
  /** Whether the right details region is available to the layout. */
347
349
  detailsOpen?: boolean;
348
350
  /** Notified when a responsive details overlay closes. */
@@ -389,7 +391,7 @@ interface AgentWorkbenchShellProps extends Omit<HTMLAttributes<HTMLDivElement>,
389
391
  * overlay never reparents the main conversation, so its scroll and runtime
390
392
  * state remain intact.
391
393
  */
392
- declare function AgentWorkbenchShell({ sidebar, children, details, sidebarOpen, detailsOpen, onDetailsOpenChange, sidebarWidth, detailsWidth, sidebarMinWidth, sidebarMaxWidth, detailsMinWidth, detailsMaxWidth, mainMinWidth, responsive, responsiveMeasurement, responsiveWidth, responsiveHeight, breakpoints, onLayoutChange, showResponsiveControls, overlayGroupId, resizable, widthStorageKey, onSidebarWidthChange, onDetailsWidthChange, labels, variant, density, className, classNames, style, ...rootProps }: AgentWorkbenchShellProps): react_jsx_runtime.JSX.Element;
394
+ declare function AgentWorkbenchShell({ sidebar, children, details, sidebarOpen, sidebarDefaultOpen, detailsOpen, onDetailsOpenChange, sidebarWidth, detailsWidth, sidebarMinWidth, sidebarMaxWidth, detailsMinWidth, detailsMaxWidth, mainMinWidth, responsive, responsiveMeasurement, responsiveWidth, responsiveHeight, breakpoints, onLayoutChange, showResponsiveControls, overlayGroupId, resizable, widthStorageKey, onSidebarWidthChange, onDetailsWidthChange, labels, variant, density, className, classNames, style, ...rootProps }: AgentWorkbenchShellProps): react_jsx_runtime.JSX.Element;
393
395
  interface AgentWorkbenchTerminalModel {
394
396
  terminalId: string;
395
397
  stdin: string;
@@ -343,6 +343,8 @@ interface AgentWorkbenchShellProps extends Omit<HTMLAttributes<HTMLDivElement>,
343
343
  details?: ReactNode;
344
344
  /** Whether the left navigation is available to the layout. */
345
345
  sidebarOpen?: boolean;
346
+ /** Whether the left navigation starts expanded in inline layouts. */
347
+ sidebarDefaultOpen?: boolean;
346
348
  /** Whether the right details region is available to the layout. */
347
349
  detailsOpen?: boolean;
348
350
  /** Notified when a responsive details overlay closes. */
@@ -389,7 +391,7 @@ interface AgentWorkbenchShellProps extends Omit<HTMLAttributes<HTMLDivElement>,
389
391
  * overlay never reparents the main conversation, so its scroll and runtime
390
392
  * state remain intact.
391
393
  */
392
- declare function AgentWorkbenchShell({ sidebar, children, details, sidebarOpen, detailsOpen, onDetailsOpenChange, sidebarWidth, detailsWidth, sidebarMinWidth, sidebarMaxWidth, detailsMinWidth, detailsMaxWidth, mainMinWidth, responsive, responsiveMeasurement, responsiveWidth, responsiveHeight, breakpoints, onLayoutChange, showResponsiveControls, overlayGroupId, resizable, widthStorageKey, onSidebarWidthChange, onDetailsWidthChange, labels, variant, density, className, classNames, style, ...rootProps }: AgentWorkbenchShellProps): react_jsx_runtime.JSX.Element;
394
+ declare function AgentWorkbenchShell({ sidebar, children, details, sidebarOpen, sidebarDefaultOpen, detailsOpen, onDetailsOpenChange, sidebarWidth, detailsWidth, sidebarMinWidth, sidebarMaxWidth, detailsMinWidth, detailsMaxWidth, mainMinWidth, responsive, responsiveMeasurement, responsiveWidth, responsiveHeight, breakpoints, onLayoutChange, showResponsiveControls, overlayGroupId, resizable, widthStorageKey, onSidebarWidthChange, onDetailsWidthChange, labels, variant, density, className, classNames, style, ...rootProps }: AgentWorkbenchShellProps): react_jsx_runtime.JSX.Element;
393
395
  interface AgentWorkbenchTerminalModel {
394
396
  terminalId: string;
395
397
  stdin: string;
package/dist/index.d.mts CHANGED
@@ -5,7 +5,7 @@ export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant,
5
5
  export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.mjs';
6
6
  export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-89825c97f499.mjs';
7
7
  export { UnifiedDropdown, UnifiedDropdownClassNames, UnifiedDropdownGroup, UnifiedDropdownMode, UnifiedDropdownOption, UnifiedDropdownPlacement, UnifiedDropdownProps, UnifiedDropdownSlotContext, UnifiedDropdownSlots, UnifiedDropdownValue } from './components/dropdown/index.mjs';
8
- export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchShell, s as AgentWorkbenchShellBreakpoints, t as AgentWorkbenchShellClassNames, u as AgentWorkbenchShellLabels, v as AgentWorkbenchShellLayout, w as AgentWorkbenchShellMeasurement, x as AgentWorkbenchShellProps, y as AgentWorkbenchSidebar, z as AgentWorkbenchSidebarClassNames, B as AgentWorkbenchSidebarContainer, C as AgentWorkbenchSidebarContainerBodyProps, D as AgentWorkbenchSidebarContainerClassNames, E as AgentWorkbenchSidebarContainerProps, F as AgentWorkbenchSidebarIntent, G as AgentWorkbenchSidebarProps, H as AgentWorkbenchTaskDetails, I as AgentWorkbenchTaskDetailsClassNames, J as AgentWorkbenchTaskDetailsProps, K as AgentWorkbenchTerminalModel, L as AgentWorkbenchTool, M as AgentWorkbenchToolClassNames, N as AgentWorkbenchToolProps, O as createAgentWorkbenchActivityModel, P as createAgentWorkbenchDetailsModel, Q as resolveAgentWorkbenchShellLayout } from './details-model-f46aa2190c52.mjs';
8
+ export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchShell, s as AgentWorkbenchShellBreakpoints, t as AgentWorkbenchShellClassNames, u as AgentWorkbenchShellLabels, v as AgentWorkbenchShellLayout, w as AgentWorkbenchShellMeasurement, x as AgentWorkbenchShellProps, y as AgentWorkbenchSidebar, z as AgentWorkbenchSidebarClassNames, B as AgentWorkbenchSidebarContainer, C as AgentWorkbenchSidebarContainerBodyProps, D as AgentWorkbenchSidebarContainerClassNames, E as AgentWorkbenchSidebarContainerProps, F as AgentWorkbenchSidebarIntent, G as AgentWorkbenchSidebarProps, H as AgentWorkbenchTaskDetails, I as AgentWorkbenchTaskDetailsClassNames, J as AgentWorkbenchTaskDetailsProps, K as AgentWorkbenchTerminalModel, L as AgentWorkbenchTool, M as AgentWorkbenchToolClassNames, N as AgentWorkbenchToolProps, O as createAgentWorkbenchActivityModel, P as createAgentWorkbenchDetailsModel, Q as resolveAgentWorkbenchShellLayout } from './details-model-2709d7a575c3.mjs';
9
9
  export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.mjs';
10
10
  export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.mjs';
11
11
  export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarFilterChipProps, aX as WorkbenchRadarFilterRow, aY as WorkbenchRadarFilterRowDisclosureBase, aZ as WorkbenchRadarFilterRowIntegratedDisclosure, a_ as WorkbenchRadarFilterRowProps, a$ as WorkbenchRadarFilterRowSeparateDisclosure, b0 as WorkbenchRadarInspectorSection, b1 as WorkbenchRadarLegendItem, b2 as WorkbenchRadarMatrix, b3 as WorkbenchRadarMatrixProps, b4 as WorkbenchRadarNavigation, b5 as WorkbenchRadarNavigationChild, b6 as WorkbenchRadarNavigationItem, b7 as WorkbenchRadarNavigationProps, b8 as WorkbenchRadarQuadrant, b9 as WorkbenchRadarWorkspace, ba as WorkbenchRadarWorkspaceProps, bb as WorkbenchRankedList, bc as WorkbenchRankedListItem, bd as WorkbenchRankedListMetric, be as WorkbenchRankedListProps, bf as WorkbenchRelationshipEdge, bg as WorkbenchRelationshipGraph, bh as WorkbenchRelationshipGraphProps, bi as WorkbenchRelationshipNode, bj as WorkbenchResizableSidebar, bk as WorkbenchResizableSidebarClassNames, bl as WorkbenchResizableSidebarItem, bm as WorkbenchResizableSidebarProps, bn as WorkbenchResizableSidebarSection, bo as WorkbenchScatterAxis, bp as WorkbenchScatterPlot, bq as WorkbenchScatterPlotProps, br as WorkbenchScatterPoint, bs as WorkbenchScatterThresholds, bt as WorkbenchSelectionTray, bu as WorkbenchSelectionTrayItem, bv as WorkbenchSelectionTrayProps, bw as WorkbenchTableView, bx as WorkbenchTableViewClassNames, by as WorkbenchTableViewColumn, bz as WorkbenchTableViewHeaderContext, bA as WorkbenchTableViewProps, bB as WorkbenchTableViewRenderContext, bC as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-b50483af5a5d.mjs';
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant,
5
5
  export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.js';
6
6
  export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-89825c97f499.js';
7
7
  export { UnifiedDropdown, UnifiedDropdownClassNames, UnifiedDropdownGroup, UnifiedDropdownMode, UnifiedDropdownOption, UnifiedDropdownPlacement, UnifiedDropdownProps, UnifiedDropdownSlotContext, UnifiedDropdownSlots, UnifiedDropdownValue } from './components/dropdown/index.js';
8
- export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchShell, s as AgentWorkbenchShellBreakpoints, t as AgentWorkbenchShellClassNames, u as AgentWorkbenchShellLabels, v as AgentWorkbenchShellLayout, w as AgentWorkbenchShellMeasurement, x as AgentWorkbenchShellProps, y as AgentWorkbenchSidebar, z as AgentWorkbenchSidebarClassNames, B as AgentWorkbenchSidebarContainer, C as AgentWorkbenchSidebarContainerBodyProps, D as AgentWorkbenchSidebarContainerClassNames, E as AgentWorkbenchSidebarContainerProps, F as AgentWorkbenchSidebarIntent, G as AgentWorkbenchSidebarProps, H as AgentWorkbenchTaskDetails, I as AgentWorkbenchTaskDetailsClassNames, J as AgentWorkbenchTaskDetailsProps, K as AgentWorkbenchTerminalModel, L as AgentWorkbenchTool, M as AgentWorkbenchToolClassNames, N as AgentWorkbenchToolProps, O as createAgentWorkbenchActivityModel, P as createAgentWorkbenchDetailsModel, Q as resolveAgentWorkbenchShellLayout } from './details-model-f46aa2190c52.js';
8
+ export { A as AGENT_WORKBENCH_SHELL_BREAKPOINTS, a as AgentWorkbenchActivity, b as AgentWorkbenchActivityClassNames, c as AgentWorkbenchActivityModel, d as AgentWorkbenchActivityProps, e as AgentWorkbenchApprovalIntent, f as AgentWorkbenchArtifactIntent, g as AgentWorkbenchDetailsIntent, h as AgentWorkbenchDetailsModel, i as AgentWorkbenchDetailsState, j as AgentWorkbenchDetailsTab, k as AgentWorkbenchEventOf, l as AgentWorkbenchExploreGroup, m as AgentWorkbenchExploreItem, n as AgentWorkbenchExploreSidebar, o as AgentWorkbenchExploreSidebarIntent, p as AgentWorkbenchExploreSidebarLabels, q as AgentWorkbenchExploreSidebarProps, r as AgentWorkbenchShell, s as AgentWorkbenchShellBreakpoints, t as AgentWorkbenchShellClassNames, u as AgentWorkbenchShellLabels, v as AgentWorkbenchShellLayout, w as AgentWorkbenchShellMeasurement, x as AgentWorkbenchShellProps, y as AgentWorkbenchSidebar, z as AgentWorkbenchSidebarClassNames, B as AgentWorkbenchSidebarContainer, C as AgentWorkbenchSidebarContainerBodyProps, D as AgentWorkbenchSidebarContainerClassNames, E as AgentWorkbenchSidebarContainerProps, F as AgentWorkbenchSidebarIntent, G as AgentWorkbenchSidebarProps, H as AgentWorkbenchTaskDetails, I as AgentWorkbenchTaskDetailsClassNames, J as AgentWorkbenchTaskDetailsProps, K as AgentWorkbenchTerminalModel, L as AgentWorkbenchTool, M as AgentWorkbenchToolClassNames, N as AgentWorkbenchToolProps, O as createAgentWorkbenchActivityModel, P as createAgentWorkbenchDetailsModel, Q as resolveAgentWorkbenchShellLayout } from './details-model-2709d7a575c3.js';
9
9
  export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.js';
10
10
  export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.js';
11
11
  export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarFilterChipProps, aX as WorkbenchRadarFilterRow, aY as WorkbenchRadarFilterRowDisclosureBase, aZ as WorkbenchRadarFilterRowIntegratedDisclosure, a_ as WorkbenchRadarFilterRowProps, a$ as WorkbenchRadarFilterRowSeparateDisclosure, b0 as WorkbenchRadarInspectorSection, b1 as WorkbenchRadarLegendItem, b2 as WorkbenchRadarMatrix, b3 as WorkbenchRadarMatrixProps, b4 as WorkbenchRadarNavigation, b5 as WorkbenchRadarNavigationChild, b6 as WorkbenchRadarNavigationItem, b7 as WorkbenchRadarNavigationProps, b8 as WorkbenchRadarQuadrant, b9 as WorkbenchRadarWorkspace, ba as WorkbenchRadarWorkspaceProps, bb as WorkbenchRankedList, bc as WorkbenchRankedListItem, bd as WorkbenchRankedListMetric, be as WorkbenchRankedListProps, bf as WorkbenchRelationshipEdge, bg as WorkbenchRelationshipGraph, bh as WorkbenchRelationshipGraphProps, bi as WorkbenchRelationshipNode, bj as WorkbenchResizableSidebar, bk as WorkbenchResizableSidebarClassNames, bl as WorkbenchResizableSidebarItem, bm as WorkbenchResizableSidebarProps, bn as WorkbenchResizableSidebarSection, bo as WorkbenchScatterAxis, bp as WorkbenchScatterPlot, bq as WorkbenchScatterPlotProps, br as WorkbenchScatterPoint, bs as WorkbenchScatterThresholds, bt as WorkbenchSelectionTray, bu as WorkbenchSelectionTrayItem, bv as WorkbenchSelectionTrayProps, bw as WorkbenchTableView, bx as WorkbenchTableViewClassNames, by as WorkbenchTableViewColumn, bz as WorkbenchTableViewHeaderContext, bA as WorkbenchTableViewProps, bB as WorkbenchTableViewRenderContext, bC as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-2ec5e4970f24.js';
package/dist/index.js CHANGED
@@ -20779,6 +20779,7 @@ function AgentWorkbenchShell({
20779
20779
  children,
20780
20780
  details,
20781
20781
  sidebarOpen = true,
20782
+ sidebarDefaultOpen = true,
20782
20783
  detailsOpen = true,
20783
20784
  onDetailsOpenChange,
20784
20785
  sidebarWidth = 280,
@@ -20826,6 +20827,7 @@ function AgentWorkbenchShell({
20826
20827
  );
20827
20828
  const [sidebarOverlayOpen, setSidebarOverlayOpen] = React4.useState(false);
20828
20829
  const [detailsOverlayOpen, setDetailsOverlayOpen] = React4.useState(false);
20830
+ const [sidebarExpanded, setSidebarExpanded] = React4.useState(sidebarDefaultOpen);
20829
20831
  const rememberReturnFocus = React4.useCallback(
20830
20832
  (region, candidate = document.activeElement) => {
20831
20833
  if (!(candidate instanceof HTMLElement) || candidate === document.body || candidate === document.documentElement) {
@@ -20850,6 +20852,7 @@ function AgentWorkbenchShell({
20850
20852
  setSidebarPixelWidth(storedWidths.sidebar ?? sidebarWidth);
20851
20853
  }
20852
20854
  }, [sidebarWidth, storedWidths.sidebar]);
20855
+ React4.useEffect(() => setSidebarExpanded(sidebarDefaultOpen), [sidebarDefaultOpen]);
20853
20856
  React4.useEffect(() => {
20854
20857
  if (typeof detailsWidth === "number") {
20855
20858
  setDetailsPixelWidth(storedWidths.details ?? detailsWidth);
@@ -20899,7 +20902,8 @@ function AgentWorkbenchShell({
20899
20902
  React4.useEffect(() => onLayoutChange?.(layout), [layout, onLayoutChange]);
20900
20903
  const hasSidebar = sidebar !== void 0 && sidebarOpen;
20901
20904
  const hasDetails = details !== void 0 && detailsOpen;
20902
- const inlineSidebar = hasSidebar && (layout === "wide" || layout === "compact");
20905
+ const sidebarUsesOverlay = layout === "drawer" || layout === "mobile";
20906
+ const inlineSidebar = hasSidebar && sidebarExpanded && !sidebarUsesOverlay;
20903
20907
  const inlineDetails = hasDetails && layout === "wide";
20904
20908
  const resolvedSidebarMax = Math.max(
20905
20909
  sidebarMinWidth,
@@ -21043,9 +21047,10 @@ function AgentWorkbenchShell({
21043
21047
  gridTemplateColumns: inlineSidebar && inlineDetails ? "var(--agent-workbench-sidebar-width) minmax(0, 1fr) var(--agent-workbench-details-width)" : inlineSidebar ? "var(--agent-workbench-sidebar-width) minmax(0, 1fr)" : inlineDetails ? "minmax(0, 1fr) var(--agent-workbench-details-width)" : "minmax(0, 1fr)",
21044
21048
  ...style
21045
21049
  };
21046
- const sidebarOverlay = hasSidebar && !inlineSidebar;
21050
+ const sidebarOverlay = hasSidebar && sidebarUsesOverlay;
21051
+ const sidebarRestoreControl = hasSidebar && !sidebarExpanded && !sidebarUsesOverlay;
21047
21052
  const detailsOverlay = hasDetails && !inlineDetails;
21048
- const showControls = responsive && showResponsiveControls && (sidebarOverlay || detailsOverlay);
21053
+ const showControls = responsive && showResponsiveControls && (sidebarOverlay || sidebarRestoreControl || detailsOverlay);
21049
21054
  const mobilePanel = layout === "mobile";
21050
21055
  const controlSize = mobilePanel ? "size-11" : "size-9";
21051
21056
  const panelCloseClass = mobilePanel ? "[&>button]:flex [&>button]:size-11 [&>button]:items-center [&>button]:justify-center" : "";
@@ -21062,6 +21067,7 @@ function AgentWorkbenchShell({
21062
21067
  "data-agent-workbench-layout": layout,
21063
21068
  "data-agent-workbench-low-height": lowHeight ? "true" : "false",
21064
21069
  "data-sidebar-open": hasSidebar ? "true" : "false",
21070
+ "data-sidebar-expanded": sidebarExpanded ? "true" : "false",
21065
21071
  "data-sidebar-presentation": inlineSidebar ? "inline" : sidebarOverlay ? "overlay" : "hidden",
21066
21072
  "data-details-open": hasDetails ? "true" : "false",
21067
21073
  "data-details-presentation": inlineDetails ? "inline" : detailsOverlay ? "overlay" : "hidden",
@@ -21102,7 +21108,7 @@ function AgentWorkbenchShell({
21102
21108
  classNames?.controls
21103
21109
  ),
21104
21110
  children: [
21105
- sidebarOverlay ? /* @__PURE__ */ jsxRuntime.jsx(
21111
+ sidebarOverlay || sidebarRestoreControl ? /* @__PURE__ */ jsxRuntime.jsx(
21106
21112
  "button",
21107
21113
  {
21108
21114
  type: "button",
@@ -21111,8 +21117,12 @@ function AgentWorkbenchShell({
21111
21117
  controlSize
21112
21118
  ),
21113
21119
  "aria-label": labels?.openSidebar ?? "Open navigation",
21114
- "aria-expanded": sidebarOverlayOpen,
21120
+ "aria-expanded": sidebarRestoreControl ? sidebarExpanded : sidebarOverlayOpen,
21115
21121
  onClick: (event) => {
21122
+ if (sidebarRestoreControl) {
21123
+ setSidebarExpanded(true);
21124
+ return;
21125
+ }
21116
21126
  rememberReturnFocus("sidebar", event.currentTarget);
21117
21127
  requestOverlay("sidebar");
21118
21128
  setSidebarOverlayOpen(true);