@inf-monkeys-tech/monkeys-design 1.0.41 → 1.0.42

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.
@@ -780,16 +780,26 @@ interface WorkbenchCollectionLoadingConfig {
780
780
  type WorkbenchCollectionHoverEffect = 'highlight' | 'lift-shadow' | 'lift' | 'none' | 'scale' | 'shadow';
781
781
  type WorkbenchCollectionTitleVisibility = 'always' | 'hover' | 'never';
782
782
  type WorkbenchCollectionTitlePlacement = 'above' | 'below' | 'overlay-bottom' | 'overlay-center' | 'overlay-top';
783
+ type WorkbenchCollectionActionsVisibility = 'always' | 'hover' | 'never';
784
+ type WorkbenchCollectionActionsPlacement = 'above' | 'below' | 'overlay-bottom' | 'overlay-top';
785
+ type WorkbenchCollectionItemAlign = 'center' | 'end' | 'start';
783
786
  interface WorkbenchCollectionItemTitleConfig<Item> {
784
787
  getContent?: (item: Item, context: WorkbenchCollectionItemContext<Item>) => ReactNode;
785
788
  visibility?: WorkbenchCollectionTitleVisibility;
786
789
  placement?: WorkbenchCollectionTitlePlacement;
787
- align?: 'center' | 'end' | 'start';
790
+ align?: WorkbenchCollectionItemAlign;
788
791
  maxLines?: number;
789
792
  surface?: 'none' | 'scrim' | 'surface';
790
793
  }
794
+ interface WorkbenchCollectionItemActionsConfig {
795
+ visibility?: WorkbenchCollectionActionsVisibility;
796
+ placement?: WorkbenchCollectionActionsPlacement;
797
+ align?: WorkbenchCollectionItemAlign;
798
+ wrap?: boolean;
799
+ }
791
800
  interface WorkbenchCollectionItemConfig<Item> {
792
801
  title?: WorkbenchCollectionItemTitleConfig<Item>;
802
+ actions?: WorkbenchCollectionItemActionsConfig;
793
803
  }
794
804
  interface WorkbenchCollectionAppearanceConfig {
795
805
  density?: 'comfortable' | 'compact' | 'detailed' | string;
@@ -917,6 +927,7 @@ interface WorkbenchCollectionClassNames {
917
927
  item?: string;
918
928
  itemContent?: string;
919
929
  itemTitle?: string;
930
+ itemActions?: string;
920
931
  status?: string;
921
932
  loadMore?: string;
922
933
  footer?: string;
@@ -1224,4 +1235,4 @@ interface WorkbenchRadarMatrixProps {
1224
1235
  className?: string;
1225
1236
  }
1226
1237
  declare function WorkbenchRadarMatrix({ points, xAxis, yAxis, thresholds, quadrants, legend, selectedPointId, onPointSelect, width, height, labelLimit, emptyState, ariaLabel, className, }: WorkbenchRadarMatrixProps): null | react_jsx_runtime.JSX.Element;
1227
- export { InteractiveTable, type InteractiveTableClassNames, type InteractiveTableColumn, type InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, type InteractiveTableEditableTextCellProps, type InteractiveTableHeaderContext, type InteractiveTableHeaderProps, type InteractiveTableProps, InteractiveTableReadonlyCell, type InteractiveTableReadonlyCellProps, type InteractiveTableRenderContext, type InteractiveTableRowState, InteractiveTableSelectCell, type InteractiveTableSelectCellProps, type InteractiveTableSelectOption, WorkbenchAssetGallery, type WorkbenchAssetGalleryItem, type WorkbenchAssetGalleryProps, WorkbenchCollection, type WorkbenchCollectionActivationEvent, type WorkbenchCollectionAppearanceConfig, type WorkbenchCollectionCallbacks, type WorkbenchCollectionClassNames, type WorkbenchCollectionConfig, type WorkbenchCollectionGroupContext, type WorkbenchCollectionGroupingConfig, type WorkbenchCollectionHoverEffect, type WorkbenchCollectionItemConfig, type WorkbenchCollectionItemContext, type WorkbenchCollectionItemSize, type WorkbenchCollectionItemSlotName, type WorkbenchCollectionItemSlots, type WorkbenchCollectionItemStatus, type WorkbenchCollectionItemTitleConfig, type WorkbenchCollectionKey, type WorkbenchCollectionLabels, type WorkbenchCollectionLayoutConfig, type WorkbenchCollectionLayoutContext, type WorkbenchCollectionLayoutMode, type WorkbenchCollectionLayoutSnapshot, type WorkbenchCollectionLoadingConfig, type WorkbenchCollectionProps, type WorkbenchCollectionResponsive, type WorkbenchCollectionSelectionBehavior, type WorkbenchCollectionSelectionConfig, type WorkbenchCollectionSelectionMode, type WorkbenchCollectionSlotContext, type WorkbenchCollectionSlots, type WorkbenchCollectionStateConfig, type WorkbenchCollectionTitlePlacement, type WorkbenchCollectionTitleVisibility, type WorkbenchCollectionVirtualizationAdapter, type WorkbenchCollectionVirtualizationConfig, type WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, type WorkbenchContentPaneBodyProps, type WorkbenchContentPaneClassNames, type WorkbenchContentPaneProps, WorkbenchContentToolbar, type WorkbenchContentToolbarClassNames, type WorkbenchContentToolbarProps, type WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, type WorkbenchDetailSidebarBodyProps, type WorkbenchDetailSidebarClassNames, type WorkbenchDetailSidebarField, type WorkbenchDetailSidebarProps, type WorkbenchDetailSidebarRenderContext, type WorkbenchDetailSidebarSection, type WorkbenchEvidenceItem, WorkbenchEvidenceList, type WorkbenchEvidenceListProps, WorkbenchGalleryCard, type WorkbenchGalleryCardMetaContext, type WorkbenchGalleryCardProps, type WorkbenchGalleryCardRenderContext, type WorkbenchGalleryColumn, type WorkbenchGalleryLabels, type WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, type WorkbenchGallerySettingsButtonClassNames, type WorkbenchGallerySettingsButtonProps, type WorkbenchGallerySettingsLabels, type WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, type WorkbenchGallerySettingsPanelClassNames, type WorkbenchGallerySettingsPanelProps, type WorkbenchGallerySettingsValue, WorkbenchGalleryView, type WorkbenchGalleryViewProps, type WorkbenchJourneyItem, type WorkbenchJourneyItemState, WorkbenchJourneyNavigation, type WorkbenchJourneyNavigationProps, type WorkbenchLaneClassNames, type WorkbenchLaneColumn, type WorkbenchLaneRenderCardContext, WorkbenchLaneView, type WorkbenchLaneViewProps, type WorkbenchMasonryItemSize, WorkbenchMasonryLayout, type WorkbenchMasonryLayoutContext, type WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, type WorkbenchMetricGridDensity, type WorkbenchMetricGridProps, type WorkbenchMetricGridVariant, type WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, type WorkbenchRadarLegendItem, WorkbenchRadarMatrix, type WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, type WorkbenchRadarNavigationChild, type WorkbenchRadarNavigationItem, type WorkbenchRadarNavigationProps, type WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, type WorkbenchRadarWorkspaceProps, WorkbenchRankedList, type WorkbenchRankedListItem, type WorkbenchRankedListMetric, type WorkbenchRankedListProps, type WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, type WorkbenchRelationshipGraphProps, type WorkbenchRelationshipNode, WorkbenchResizableSidebar, type WorkbenchResizableSidebarClassNames, type WorkbenchResizableSidebarItem, type WorkbenchResizableSidebarProps, type WorkbenchResizableSidebarSection, type WorkbenchScatterAxis, WorkbenchScatterPlot, type WorkbenchScatterPlotProps, type WorkbenchScatterPoint, type WorkbenchScatterThresholds, WorkbenchSelectionTray, type WorkbenchSelectionTrayItem, type WorkbenchSelectionTrayProps, WorkbenchTableView, type WorkbenchTableViewClassNames, type WorkbenchTableViewColumn, type WorkbenchTableViewHeaderContext, type WorkbenchTableViewProps, type WorkbenchTableViewRenderContext, type WorkbenchVisualizationTone };
1238
+ export { InteractiveTable, type InteractiveTableClassNames, type InteractiveTableColumn, type InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, type InteractiveTableEditableTextCellProps, type InteractiveTableHeaderContext, type InteractiveTableHeaderProps, type InteractiveTableProps, InteractiveTableReadonlyCell, type InteractiveTableReadonlyCellProps, type InteractiveTableRenderContext, type InteractiveTableRowState, InteractiveTableSelectCell, type InteractiveTableSelectCellProps, type InteractiveTableSelectOption, WorkbenchAssetGallery, type WorkbenchAssetGalleryItem, type WorkbenchAssetGalleryProps, WorkbenchCollection, type WorkbenchCollectionActionsPlacement, type WorkbenchCollectionActionsVisibility, type WorkbenchCollectionActivationEvent, type WorkbenchCollectionAppearanceConfig, type WorkbenchCollectionCallbacks, type WorkbenchCollectionClassNames, type WorkbenchCollectionConfig, type WorkbenchCollectionGroupContext, type WorkbenchCollectionGroupingConfig, type WorkbenchCollectionHoverEffect, type WorkbenchCollectionItemActionsConfig, type WorkbenchCollectionItemAlign, type WorkbenchCollectionItemConfig, type WorkbenchCollectionItemContext, type WorkbenchCollectionItemSize, type WorkbenchCollectionItemSlotName, type WorkbenchCollectionItemSlots, type WorkbenchCollectionItemStatus, type WorkbenchCollectionItemTitleConfig, type WorkbenchCollectionKey, type WorkbenchCollectionLabels, type WorkbenchCollectionLayoutConfig, type WorkbenchCollectionLayoutContext, type WorkbenchCollectionLayoutMode, type WorkbenchCollectionLayoutSnapshot, type WorkbenchCollectionLoadingConfig, type WorkbenchCollectionProps, type WorkbenchCollectionResponsive, type WorkbenchCollectionSelectionBehavior, type WorkbenchCollectionSelectionConfig, type WorkbenchCollectionSelectionMode, type WorkbenchCollectionSlotContext, type WorkbenchCollectionSlots, type WorkbenchCollectionStateConfig, type WorkbenchCollectionTitlePlacement, type WorkbenchCollectionTitleVisibility, type WorkbenchCollectionVirtualizationAdapter, type WorkbenchCollectionVirtualizationConfig, type WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, type WorkbenchContentPaneBodyProps, type WorkbenchContentPaneClassNames, type WorkbenchContentPaneProps, WorkbenchContentToolbar, type WorkbenchContentToolbarClassNames, type WorkbenchContentToolbarProps, type WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, type WorkbenchDetailSidebarBodyProps, type WorkbenchDetailSidebarClassNames, type WorkbenchDetailSidebarField, type WorkbenchDetailSidebarProps, type WorkbenchDetailSidebarRenderContext, type WorkbenchDetailSidebarSection, type WorkbenchEvidenceItem, WorkbenchEvidenceList, type WorkbenchEvidenceListProps, WorkbenchGalleryCard, type WorkbenchGalleryCardMetaContext, type WorkbenchGalleryCardProps, type WorkbenchGalleryCardRenderContext, type WorkbenchGalleryColumn, type WorkbenchGalleryLabels, type WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, type WorkbenchGallerySettingsButtonClassNames, type WorkbenchGallerySettingsButtonProps, type WorkbenchGallerySettingsLabels, type WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, type WorkbenchGallerySettingsPanelClassNames, type WorkbenchGallerySettingsPanelProps, type WorkbenchGallerySettingsValue, WorkbenchGalleryView, type WorkbenchGalleryViewProps, type WorkbenchJourneyItem, type WorkbenchJourneyItemState, WorkbenchJourneyNavigation, type WorkbenchJourneyNavigationProps, type WorkbenchLaneClassNames, type WorkbenchLaneColumn, type WorkbenchLaneRenderCardContext, WorkbenchLaneView, type WorkbenchLaneViewProps, type WorkbenchMasonryItemSize, WorkbenchMasonryLayout, type WorkbenchMasonryLayoutContext, type WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, type WorkbenchMetricGridDensity, type WorkbenchMetricGridProps, type WorkbenchMetricGridVariant, type WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, type WorkbenchRadarLegendItem, WorkbenchRadarMatrix, type WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, type WorkbenchRadarNavigationChild, type WorkbenchRadarNavigationItem, type WorkbenchRadarNavigationProps, type WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, type WorkbenchRadarWorkspaceProps, WorkbenchRankedList, type WorkbenchRankedListItem, type WorkbenchRankedListMetric, type WorkbenchRankedListProps, type WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, type WorkbenchRelationshipGraphProps, type WorkbenchRelationshipNode, WorkbenchResizableSidebar, type WorkbenchResizableSidebarClassNames, type WorkbenchResizableSidebarItem, type WorkbenchResizableSidebarProps, type WorkbenchResizableSidebarSection, type WorkbenchScatterAxis, WorkbenchScatterPlot, type WorkbenchScatterPlotProps, type WorkbenchScatterPoint, type WorkbenchScatterThresholds, WorkbenchSelectionTray, type WorkbenchSelectionTrayItem, type WorkbenchSelectionTrayProps, WorkbenchTableView, type WorkbenchTableViewClassNames, type WorkbenchTableViewColumn, type WorkbenchTableViewHeaderContext, type WorkbenchTableViewProps, type WorkbenchTableViewRenderContext, type WorkbenchVisualizationTone };
@@ -780,16 +780,26 @@ interface WorkbenchCollectionLoadingConfig {
780
780
  type WorkbenchCollectionHoverEffect = 'highlight' | 'lift-shadow' | 'lift' | 'none' | 'scale' | 'shadow';
781
781
  type WorkbenchCollectionTitleVisibility = 'always' | 'hover' | 'never';
782
782
  type WorkbenchCollectionTitlePlacement = 'above' | 'below' | 'overlay-bottom' | 'overlay-center' | 'overlay-top';
783
+ type WorkbenchCollectionActionsVisibility = 'always' | 'hover' | 'never';
784
+ type WorkbenchCollectionActionsPlacement = 'above' | 'below' | 'overlay-bottom' | 'overlay-top';
785
+ type WorkbenchCollectionItemAlign = 'center' | 'end' | 'start';
783
786
  interface WorkbenchCollectionItemTitleConfig<Item> {
784
787
  getContent?: (item: Item, context: WorkbenchCollectionItemContext<Item>) => ReactNode;
785
788
  visibility?: WorkbenchCollectionTitleVisibility;
786
789
  placement?: WorkbenchCollectionTitlePlacement;
787
- align?: 'center' | 'end' | 'start';
790
+ align?: WorkbenchCollectionItemAlign;
788
791
  maxLines?: number;
789
792
  surface?: 'none' | 'scrim' | 'surface';
790
793
  }
794
+ interface WorkbenchCollectionItemActionsConfig {
795
+ visibility?: WorkbenchCollectionActionsVisibility;
796
+ placement?: WorkbenchCollectionActionsPlacement;
797
+ align?: WorkbenchCollectionItemAlign;
798
+ wrap?: boolean;
799
+ }
791
800
  interface WorkbenchCollectionItemConfig<Item> {
792
801
  title?: WorkbenchCollectionItemTitleConfig<Item>;
802
+ actions?: WorkbenchCollectionItemActionsConfig;
793
803
  }
794
804
  interface WorkbenchCollectionAppearanceConfig {
795
805
  density?: 'comfortable' | 'compact' | 'detailed' | string;
@@ -917,6 +927,7 @@ interface WorkbenchCollectionClassNames {
917
927
  item?: string;
918
928
  itemContent?: string;
919
929
  itemTitle?: string;
930
+ itemActions?: string;
920
931
  status?: string;
921
932
  loadMore?: string;
922
933
  footer?: string;
@@ -1224,4 +1235,4 @@ interface WorkbenchRadarMatrixProps {
1224
1235
  className?: string;
1225
1236
  }
1226
1237
  declare function WorkbenchRadarMatrix({ points, xAxis, yAxis, thresholds, quadrants, legend, selectedPointId, onPointSelect, width, height, labelLimit, emptyState, ariaLabel, className, }: WorkbenchRadarMatrixProps): null | react_jsx_runtime.JSX.Element;
1227
- export { InteractiveTable, type InteractiveTableClassNames, type InteractiveTableColumn, type InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, type InteractiveTableEditableTextCellProps, type InteractiveTableHeaderContext, type InteractiveTableHeaderProps, type InteractiveTableProps, InteractiveTableReadonlyCell, type InteractiveTableReadonlyCellProps, type InteractiveTableRenderContext, type InteractiveTableRowState, InteractiveTableSelectCell, type InteractiveTableSelectCellProps, type InteractiveTableSelectOption, WorkbenchAssetGallery, type WorkbenchAssetGalleryItem, type WorkbenchAssetGalleryProps, WorkbenchCollection, type WorkbenchCollectionActivationEvent, type WorkbenchCollectionAppearanceConfig, type WorkbenchCollectionCallbacks, type WorkbenchCollectionClassNames, type WorkbenchCollectionConfig, type WorkbenchCollectionGroupContext, type WorkbenchCollectionGroupingConfig, type WorkbenchCollectionHoverEffect, type WorkbenchCollectionItemConfig, type WorkbenchCollectionItemContext, type WorkbenchCollectionItemSize, type WorkbenchCollectionItemSlotName, type WorkbenchCollectionItemSlots, type WorkbenchCollectionItemStatus, type WorkbenchCollectionItemTitleConfig, type WorkbenchCollectionKey, type WorkbenchCollectionLabels, type WorkbenchCollectionLayoutConfig, type WorkbenchCollectionLayoutContext, type WorkbenchCollectionLayoutMode, type WorkbenchCollectionLayoutSnapshot, type WorkbenchCollectionLoadingConfig, type WorkbenchCollectionProps, type WorkbenchCollectionResponsive, type WorkbenchCollectionSelectionBehavior, type WorkbenchCollectionSelectionConfig, type WorkbenchCollectionSelectionMode, type WorkbenchCollectionSlotContext, type WorkbenchCollectionSlots, type WorkbenchCollectionStateConfig, type WorkbenchCollectionTitlePlacement, type WorkbenchCollectionTitleVisibility, type WorkbenchCollectionVirtualizationAdapter, type WorkbenchCollectionVirtualizationConfig, type WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, type WorkbenchContentPaneBodyProps, type WorkbenchContentPaneClassNames, type WorkbenchContentPaneProps, WorkbenchContentToolbar, type WorkbenchContentToolbarClassNames, type WorkbenchContentToolbarProps, type WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, type WorkbenchDetailSidebarBodyProps, type WorkbenchDetailSidebarClassNames, type WorkbenchDetailSidebarField, type WorkbenchDetailSidebarProps, type WorkbenchDetailSidebarRenderContext, type WorkbenchDetailSidebarSection, type WorkbenchEvidenceItem, WorkbenchEvidenceList, type WorkbenchEvidenceListProps, WorkbenchGalleryCard, type WorkbenchGalleryCardMetaContext, type WorkbenchGalleryCardProps, type WorkbenchGalleryCardRenderContext, type WorkbenchGalleryColumn, type WorkbenchGalleryLabels, type WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, type WorkbenchGallerySettingsButtonClassNames, type WorkbenchGallerySettingsButtonProps, type WorkbenchGallerySettingsLabels, type WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, type WorkbenchGallerySettingsPanelClassNames, type WorkbenchGallerySettingsPanelProps, type WorkbenchGallerySettingsValue, WorkbenchGalleryView, type WorkbenchGalleryViewProps, type WorkbenchJourneyItem, type WorkbenchJourneyItemState, WorkbenchJourneyNavigation, type WorkbenchJourneyNavigationProps, type WorkbenchLaneClassNames, type WorkbenchLaneColumn, type WorkbenchLaneRenderCardContext, WorkbenchLaneView, type WorkbenchLaneViewProps, type WorkbenchMasonryItemSize, WorkbenchMasonryLayout, type WorkbenchMasonryLayoutContext, type WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, type WorkbenchMetricGridDensity, type WorkbenchMetricGridProps, type WorkbenchMetricGridVariant, type WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, type WorkbenchRadarLegendItem, WorkbenchRadarMatrix, type WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, type WorkbenchRadarNavigationChild, type WorkbenchRadarNavigationItem, type WorkbenchRadarNavigationProps, type WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, type WorkbenchRadarWorkspaceProps, WorkbenchRankedList, type WorkbenchRankedListItem, type WorkbenchRankedListMetric, type WorkbenchRankedListProps, type WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, type WorkbenchRelationshipGraphProps, type WorkbenchRelationshipNode, WorkbenchResizableSidebar, type WorkbenchResizableSidebarClassNames, type WorkbenchResizableSidebarItem, type WorkbenchResizableSidebarProps, type WorkbenchResizableSidebarSection, type WorkbenchScatterAxis, WorkbenchScatterPlot, type WorkbenchScatterPlotProps, type WorkbenchScatterPoint, type WorkbenchScatterThresholds, WorkbenchSelectionTray, type WorkbenchSelectionTrayItem, type WorkbenchSelectionTrayProps, WorkbenchTableView, type WorkbenchTableViewClassNames, type WorkbenchTableViewColumn, type WorkbenchTableViewHeaderContext, type WorkbenchTableViewProps, type WorkbenchTableViewRenderContext, type WorkbenchVisualizationTone };
1238
+ export { InteractiveTable, type InteractiveTableClassNames, type InteractiveTableColumn, type InteractiveTableColumnMenuLabels, InteractiveTableEditableTextCell, type InteractiveTableEditableTextCellProps, type InteractiveTableHeaderContext, type InteractiveTableHeaderProps, type InteractiveTableProps, InteractiveTableReadonlyCell, type InteractiveTableReadonlyCellProps, type InteractiveTableRenderContext, type InteractiveTableRowState, InteractiveTableSelectCell, type InteractiveTableSelectCellProps, type InteractiveTableSelectOption, WorkbenchAssetGallery, type WorkbenchAssetGalleryItem, type WorkbenchAssetGalleryProps, WorkbenchCollection, type WorkbenchCollectionActionsPlacement, type WorkbenchCollectionActionsVisibility, type WorkbenchCollectionActivationEvent, type WorkbenchCollectionAppearanceConfig, type WorkbenchCollectionCallbacks, type WorkbenchCollectionClassNames, type WorkbenchCollectionConfig, type WorkbenchCollectionGroupContext, type WorkbenchCollectionGroupingConfig, type WorkbenchCollectionHoverEffect, type WorkbenchCollectionItemActionsConfig, type WorkbenchCollectionItemAlign, type WorkbenchCollectionItemConfig, type WorkbenchCollectionItemContext, type WorkbenchCollectionItemSize, type WorkbenchCollectionItemSlotName, type WorkbenchCollectionItemSlots, type WorkbenchCollectionItemStatus, type WorkbenchCollectionItemTitleConfig, type WorkbenchCollectionKey, type WorkbenchCollectionLabels, type WorkbenchCollectionLayoutConfig, type WorkbenchCollectionLayoutContext, type WorkbenchCollectionLayoutMode, type WorkbenchCollectionLayoutSnapshot, type WorkbenchCollectionLoadingConfig, type WorkbenchCollectionProps, type WorkbenchCollectionResponsive, type WorkbenchCollectionSelectionBehavior, type WorkbenchCollectionSelectionConfig, type WorkbenchCollectionSelectionMode, type WorkbenchCollectionSlotContext, type WorkbenchCollectionSlots, type WorkbenchCollectionStateConfig, type WorkbenchCollectionTitlePlacement, type WorkbenchCollectionTitleVisibility, type WorkbenchCollectionVirtualizationAdapter, type WorkbenchCollectionVirtualizationConfig, type WorkbenchCollectionVirtualizationRenderOptions, WorkbenchContentPane, type WorkbenchContentPaneBodyProps, type WorkbenchContentPaneClassNames, type WorkbenchContentPaneProps, WorkbenchContentToolbar, type WorkbenchContentToolbarClassNames, type WorkbenchContentToolbarProps, type WorkbenchContentToolbarViewModeOption, WorkbenchDetailSidebar, type WorkbenchDetailSidebarBodyProps, type WorkbenchDetailSidebarClassNames, type WorkbenchDetailSidebarField, type WorkbenchDetailSidebarProps, type WorkbenchDetailSidebarRenderContext, type WorkbenchDetailSidebarSection, type WorkbenchEvidenceItem, WorkbenchEvidenceList, type WorkbenchEvidenceListProps, WorkbenchGalleryCard, type WorkbenchGalleryCardMetaContext, type WorkbenchGalleryCardProps, type WorkbenchGalleryCardRenderContext, type WorkbenchGalleryColumn, type WorkbenchGalleryLabels, type WorkbenchGalleryRecordVisual, WorkbenchGallerySettingsButton, type WorkbenchGallerySettingsButtonClassNames, type WorkbenchGallerySettingsButtonProps, type WorkbenchGallerySettingsLabels, type WorkbenchGallerySettingsOption, WorkbenchGallerySettingsPanel, type WorkbenchGallerySettingsPanelClassNames, type WorkbenchGallerySettingsPanelProps, type WorkbenchGallerySettingsValue, WorkbenchGalleryView, type WorkbenchGalleryViewProps, type WorkbenchJourneyItem, type WorkbenchJourneyItemState, WorkbenchJourneyNavigation, type WorkbenchJourneyNavigationProps, type WorkbenchLaneClassNames, type WorkbenchLaneColumn, type WorkbenchLaneRenderCardContext, WorkbenchLaneView, type WorkbenchLaneViewProps, type WorkbenchMasonryItemSize, WorkbenchMasonryLayout, type WorkbenchMasonryLayoutContext, type WorkbenchMasonryLayoutProps, WorkbenchMetricGrid, type WorkbenchMetricGridDensity, type WorkbenchMetricGridProps, type WorkbenchMetricGridVariant, type WorkbenchMetricItem, WorkbenchRadarFilterChip, WorkbenchRadarInspectorSection, type WorkbenchRadarLegendItem, WorkbenchRadarMatrix, type WorkbenchRadarMatrixProps, WorkbenchRadarNavigation, type WorkbenchRadarNavigationChild, type WorkbenchRadarNavigationItem, type WorkbenchRadarNavigationProps, type WorkbenchRadarQuadrant, WorkbenchRadarWorkspace, type WorkbenchRadarWorkspaceProps, WorkbenchRankedList, type WorkbenchRankedListItem, type WorkbenchRankedListMetric, type WorkbenchRankedListProps, type WorkbenchRelationshipEdge, WorkbenchRelationshipGraph, type WorkbenchRelationshipGraphProps, type WorkbenchRelationshipNode, WorkbenchResizableSidebar, type WorkbenchResizableSidebarClassNames, type WorkbenchResizableSidebarItem, type WorkbenchResizableSidebarProps, type WorkbenchResizableSidebarSection, type WorkbenchScatterAxis, WorkbenchScatterPlot, type WorkbenchScatterPlotProps, type WorkbenchScatterPoint, type WorkbenchScatterThresholds, WorkbenchSelectionTray, type WorkbenchSelectionTrayItem, type WorkbenchSelectionTrayProps, WorkbenchTableView, type WorkbenchTableViewClassNames, type WorkbenchTableViewColumn, type WorkbenchTableViewHeaderContext, type WorkbenchTableViewProps, type WorkbenchTableViewRenderContext, type WorkbenchVisualizationTone };
@@ -9136,14 +9136,13 @@ function WorkbenchCollection({
9136
9136
  const content = renderItem(entry.item, context);
9137
9137
  const titleConfig = config.item?.title;
9138
9138
  const visibility = titleConfig?.visibility ?? "always";
9139
- if (!titleConfig || visibility === "never") return content;
9140
- const title = titleConfig.getContent?.(entry.item, context) ?? context.renderSlot("title");
9141
- if (!hasRenderableNode(title)) return content;
9142
- const placement = titleConfig.placement ?? "below";
9143
- const overlay = placement.startsWith("overlay-");
9144
- const maxLines = normalizeTitleMaxLines(titleConfig.maxLines);
9145
- const surface = titleConfig.surface ?? (overlay ? "scrim" : "none");
9146
- const titleNode = /* @__PURE__ */ jsxRuntime.jsx(
9139
+ const title = titleConfig && visibility !== "never" ? titleConfig.getContent?.(entry.item, context) ?? context.renderSlot("title") : null;
9140
+ const hasTitle = Boolean(titleConfig && hasRenderableNode(title));
9141
+ const placement = titleConfig?.placement ?? "below";
9142
+ const titleOverlay = hasTitle && placement.startsWith("overlay-");
9143
+ const maxLines = normalizeTitleMaxLines(titleConfig?.maxLines);
9144
+ const surface = titleConfig?.surface ?? (titleOverlay ? "scrim" : "none");
9145
+ const titleNode = hasTitle ? /* @__PURE__ */ jsxRuntime.jsx(
9147
9146
  "div",
9148
9147
  {
9149
9148
  "data-collection-item-title": "",
@@ -9151,10 +9150,10 @@ function WorkbenchCollection({
9151
9150
  "data-title-visibility": visibility,
9152
9151
  className: cn(
9153
9152
  "min-w-0 px-1 py-2 text-sm font-medium text-foreground",
9154
- titleConfig.align === "center" && "text-center",
9155
- titleConfig.align === "end" && "text-right",
9156
- visibility === "hover" && "opacity-0 transition-opacity group-hover/workbench-collection-item:opacity-100 group-focus-within/workbench-collection-item:opacity-100",
9157
- overlay && "pointer-events-none absolute inset-x-0 z-10 px-3 py-2",
9153
+ titleConfig?.align === "center" && "text-center",
9154
+ titleConfig?.align === "end" && "text-right",
9155
+ visibility === "hover" && "!opacity-0 transition-opacity group-hover/workbench-collection-item:!opacity-100 group-focus-within/workbench-collection-item:!opacity-100",
9156
+ titleOverlay && "pointer-events-none absolute inset-x-0 z-10 px-3 py-2",
9158
9157
  placement === "overlay-top" && "top-0",
9159
9158
  placement === "overlay-center" && "top-1/2 -translate-y-1/2 motion-reduce:transform-none",
9160
9159
  placement === "overlay-bottom" && "bottom-0",
@@ -9168,20 +9167,51 @@ function WorkbenchCollection({
9168
9167
  style: maxLines ? { WebkitLineClamp: maxLines } : void 0,
9169
9168
  children: title
9170
9169
  }
9171
- );
9170
+ ) : null;
9171
+ const actionsConfig = config.item?.actions;
9172
+ const actionsVisibility = actionsConfig?.visibility ?? "always";
9173
+ const actions = actionsConfig && actionsVisibility !== "never" ? context.renderSlot("actions") : null;
9174
+ const hasActions = Boolean(actionsConfig && hasRenderableNode(actions));
9175
+ const actionsPlacement = actionsConfig?.placement ?? "overlay-bottom";
9176
+ const actionsOverlay = hasActions && actionsPlacement.startsWith("overlay-");
9177
+ const actionsNode = hasActions ? /* @__PURE__ */ jsxRuntime.jsx(
9178
+ "div",
9179
+ {
9180
+ "data-collection-item-actions": "",
9181
+ "data-actions-placement": actionsPlacement,
9182
+ "data-actions-align": actionsConfig?.align ?? "center",
9183
+ "data-actions-visibility": actionsVisibility,
9184
+ className: cn(
9185
+ "flex min-w-0 items-center gap-2 px-2 py-2",
9186
+ actionsConfig?.align === "start" && "justify-start",
9187
+ (actionsConfig?.align === void 0 || actionsConfig.align === "center") && "justify-center",
9188
+ actionsConfig?.align === "end" && "justify-end",
9189
+ actionsConfig?.wrap !== false && "flex-wrap",
9190
+ actionsVisibility === "hover" && "!opacity-0 transition-opacity group-hover/workbench-collection-item:!opacity-100 group-focus-within/workbench-collection-item:!opacity-100 [@media(hover:none)]:!opacity-100",
9191
+ actionsOverlay && "pointer-events-none absolute inset-x-0 z-20",
9192
+ actionsPlacement === "overlay-top" && "top-1",
9193
+ actionsPlacement === "overlay-bottom" && "bottom-1",
9194
+ classNames?.itemActions
9195
+ ),
9196
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("pointer-events-auto flex items-center gap-2", actionsConfig?.wrap !== false && "flex-wrap"), children: actions })
9197
+ }
9198
+ ) : null;
9199
+ if (!hasTitle && !hasActions) return content;
9172
9200
  return /* @__PURE__ */ jsxRuntime.jsxs(
9173
9201
  "div",
9174
9202
  {
9175
- className: cn("min-w-0", overlay && "relative", classNames?.itemContent),
9203
+ className: cn("min-w-0", (titleOverlay || actionsOverlay) && "relative", classNames?.itemContent),
9176
9204
  "data-collection-item-content": "",
9177
9205
  children: [
9178
9206
  placement === "above" ? titleNode : null,
9207
+ actionsPlacement === "above" ? actionsNode : null,
9179
9208
  content,
9180
- placement === "below" || overlay ? titleNode : null
9209
+ placement === "below" || titleOverlay ? titleNode : null,
9210
+ actionsPlacement === "below" || actionsOverlay ? actionsNode : null
9181
9211
  ]
9182
9212
  }
9183
9213
  );
9184
- }, [classNames?.itemContent, classNames?.itemTitle, config.item?.title, renderItem]);
9214
+ }, [classNames?.itemActions, classNames?.itemContent, classNames?.itemTitle, config.item, renderItem]);
9185
9215
  const renderEntry = react.useCallback((entry, layout, includeShell = true) => {
9186
9216
  const context = createItemContext(entry, layout);
9187
9217
  const content = renderItemContent2(entry, context);