@inf-monkeys-tech/monkeys-design 1.0.7 → 1.0.8
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/components/runtime/index.d.mts +25 -5
- package/dist/components/runtime/index.d.ts +25 -5
- package/dist/components/runtime/index.js +50 -2
- package/dist/components/runtime/index.js.map +1 -1
- package/dist/components/runtime/index.mjs +50 -3
- package/dist/components/runtime/index.mjs.map +1 -1
- package/dist/components/workbench/index.d.mts +13 -4
- package/dist/components/workbench/index.d.ts +13 -4
- package/dist/components/workbench/index.js +54 -34
- package/dist/components/workbench/index.js.map +1 -1
- package/dist/components/workbench/index.mjs +54 -35
- package/dist/components/workbench/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +54 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +54 -35
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -923,10 +923,11 @@ interface WorkbenchRadarNavigationItem {
|
|
|
923
923
|
children?: WorkbenchRadarNavigationChild[];
|
|
924
924
|
}
|
|
925
925
|
interface WorkbenchRadarWorkspaceProps {
|
|
926
|
-
navigationItems
|
|
927
|
-
activeNavigationId
|
|
926
|
+
navigationItems?: WorkbenchRadarNavigationItem[];
|
|
927
|
+
activeNavigationId?: string;
|
|
928
928
|
onNavigationSelect?: (item: WorkbenchRadarNavigationItem) => void;
|
|
929
929
|
navigationFooter?: ReactNode;
|
|
930
|
+
navigation?: ReactNode;
|
|
930
931
|
children: ReactNode;
|
|
931
932
|
inspector?: ReactNode;
|
|
932
933
|
inspectorLabel?: string;
|
|
@@ -935,7 +936,15 @@ interface WorkbenchRadarWorkspaceProps {
|
|
|
935
936
|
minimumHeight?: number | string;
|
|
936
937
|
ariaLabel?: string;
|
|
937
938
|
}
|
|
938
|
-
|
|
939
|
+
interface WorkbenchRadarNavigationProps {
|
|
940
|
+
items: WorkbenchRadarNavigationItem[];
|
|
941
|
+
activeItemId?: string;
|
|
942
|
+
onItemSelect?: (item: WorkbenchRadarNavigationItem) => void;
|
|
943
|
+
footer?: ReactNode;
|
|
944
|
+
ariaLabel?: string;
|
|
945
|
+
}
|
|
946
|
+
declare function WorkbenchRadarNavigation({ items, activeItemId, onItemSelect, footer, ariaLabel, }: WorkbenchRadarNavigationProps): react_jsx_runtime.JSX.Element;
|
|
947
|
+
declare function WorkbenchRadarWorkspace({ navigationItems, activeNavigationId, onNavigationSelect, navigationFooter, navigation, children, inspector, inspectorLabel, className, contentClassName, minimumHeight, ariaLabel, }: WorkbenchRadarWorkspaceProps): react_jsx_runtime.JSX.Element;
|
|
939
948
|
declare function WorkbenchRadarInspectorSection({ title, icon, description, children, className, }: {
|
|
940
949
|
title: ReactNode;
|
|
941
950
|
icon?: ReactNode;
|
|
@@ -978,4 +987,4 @@ interface WorkbenchRadarMatrixProps {
|
|
|
978
987
|
className?: string;
|
|
979
988
|
}
|
|
980
989
|
declare function WorkbenchRadarMatrix({ points, xAxis, yAxis, thresholds, quadrants, legend, selectedPointId, onPointSelect, width, height, labelLimit, emptyState, ariaLabel, className, }: WorkbenchRadarMatrixProps): null | react_jsx_runtime.JSX.Element;
|
|
981
|
-
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, 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, type WorkbenchRadarNavigationChild, type WorkbenchRadarNavigationItem, 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 };
|
|
990
|
+
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, 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 };
|
|
@@ -923,10 +923,11 @@ interface WorkbenchRadarNavigationItem {
|
|
|
923
923
|
children?: WorkbenchRadarNavigationChild[];
|
|
924
924
|
}
|
|
925
925
|
interface WorkbenchRadarWorkspaceProps {
|
|
926
|
-
navigationItems
|
|
927
|
-
activeNavigationId
|
|
926
|
+
navigationItems?: WorkbenchRadarNavigationItem[];
|
|
927
|
+
activeNavigationId?: string;
|
|
928
928
|
onNavigationSelect?: (item: WorkbenchRadarNavigationItem) => void;
|
|
929
929
|
navigationFooter?: ReactNode;
|
|
930
|
+
navigation?: ReactNode;
|
|
930
931
|
children: ReactNode;
|
|
931
932
|
inspector?: ReactNode;
|
|
932
933
|
inspectorLabel?: string;
|
|
@@ -935,7 +936,15 @@ interface WorkbenchRadarWorkspaceProps {
|
|
|
935
936
|
minimumHeight?: number | string;
|
|
936
937
|
ariaLabel?: string;
|
|
937
938
|
}
|
|
938
|
-
|
|
939
|
+
interface WorkbenchRadarNavigationProps {
|
|
940
|
+
items: WorkbenchRadarNavigationItem[];
|
|
941
|
+
activeItemId?: string;
|
|
942
|
+
onItemSelect?: (item: WorkbenchRadarNavigationItem) => void;
|
|
943
|
+
footer?: ReactNode;
|
|
944
|
+
ariaLabel?: string;
|
|
945
|
+
}
|
|
946
|
+
declare function WorkbenchRadarNavigation({ items, activeItemId, onItemSelect, footer, ariaLabel, }: WorkbenchRadarNavigationProps): react_jsx_runtime.JSX.Element;
|
|
947
|
+
declare function WorkbenchRadarWorkspace({ navigationItems, activeNavigationId, onNavigationSelect, navigationFooter, navigation, children, inspector, inspectorLabel, className, contentClassName, minimumHeight, ariaLabel, }: WorkbenchRadarWorkspaceProps): react_jsx_runtime.JSX.Element;
|
|
939
948
|
declare function WorkbenchRadarInspectorSection({ title, icon, description, children, className, }: {
|
|
940
949
|
title: ReactNode;
|
|
941
950
|
icon?: ReactNode;
|
|
@@ -978,4 +987,4 @@ interface WorkbenchRadarMatrixProps {
|
|
|
978
987
|
className?: string;
|
|
979
988
|
}
|
|
980
989
|
declare function WorkbenchRadarMatrix({ points, xAxis, yAxis, thresholds, quadrants, legend, selectedPointId, onPointSelect, width, height, labelLimit, emptyState, ariaLabel, className, }: WorkbenchRadarMatrixProps): null | react_jsx_runtime.JSX.Element;
|
|
981
|
-
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, 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, type WorkbenchRadarNavigationChild, type WorkbenchRadarNavigationItem, 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 };
|
|
990
|
+
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, 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 };
|
|
@@ -9626,11 +9626,57 @@ var radarPanelStyle = {
|
|
|
9626
9626
|
backgroundColor: "hsl(var(--radar-panel, var(--card)))",
|
|
9627
9627
|
borderColor: "hsl(var(--radar-border, var(--border)))"
|
|
9628
9628
|
};
|
|
9629
|
+
function WorkbenchRadarNavigation({
|
|
9630
|
+
items,
|
|
9631
|
+
activeItemId,
|
|
9632
|
+
onItemSelect,
|
|
9633
|
+
footer,
|
|
9634
|
+
ariaLabel = "Radar navigation"
|
|
9635
|
+
}) {
|
|
9636
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9637
|
+
"aside",
|
|
9638
|
+
{
|
|
9639
|
+
"aria-label": ariaLabel,
|
|
9640
|
+
"data-monkeys-component": "workbench-radar-navigation",
|
|
9641
|
+
className: "flex min-h-0 flex-col overflow-hidden rounded-[calc(var(--radius)+0.25rem)] border",
|
|
9642
|
+
style: radarPanelStyle,
|
|
9643
|
+
children: [
|
|
9644
|
+
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: "min-h-0 flex-1 overflow-y-auto p-3", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid gap-2", children: items.map((item) => {
|
|
9645
|
+
const active = item.id === activeItemId;
|
|
9646
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "grid gap-1", children: [
|
|
9647
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9648
|
+
"button",
|
|
9649
|
+
{
|
|
9650
|
+
type: "button",
|
|
9651
|
+
"aria-current": active ? "page" : void 0,
|
|
9652
|
+
onClick: onItemSelect ? () => onItemSelect(item) : void 0,
|
|
9653
|
+
className: cn(
|
|
9654
|
+
"flex min-h-11 w-full items-center gap-3 rounded-[var(--radius)] border border-transparent px-3 py-2 text-left text-sm font-semibold outline-none transition-[background-color,border-color,color,box-shadow] focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none",
|
|
9655
|
+
active ? "bg-primary text-primary-foreground shadow-[0_0_1.25rem_hsl(var(--primary)/0.28)]" : "text-muted-foreground hover:border-border hover:bg-muted/60 hover:text-foreground"
|
|
9656
|
+
),
|
|
9657
|
+
children: [
|
|
9658
|
+
hasRenderableNode(item.icon) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-5 shrink-0 items-center justify-center", "aria-hidden": "true", children: item.icon }) : null,
|
|
9659
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 truncate", children: item.label })
|
|
9660
|
+
]
|
|
9661
|
+
}
|
|
9662
|
+
),
|
|
9663
|
+
item.children?.length ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "ml-5 grid gap-0.5 border-l border-border/70 py-1 pl-3", children: item.children.map((child) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-9 items-center gap-2 rounded-md px-2 text-xs font-medium text-muted-foreground", children: [
|
|
9664
|
+
hasRenderableNode(child.icon) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-4 shrink-0 items-center justify-center", "aria-hidden": "true", children: child.icon }) : null,
|
|
9665
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: child.label })
|
|
9666
|
+
] }) }, child.id)) }) : null
|
|
9667
|
+
] }, item.id);
|
|
9668
|
+
}) }) }),
|
|
9669
|
+
hasRenderableNode(footer) ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-border/70 p-3", children: footer }) : null
|
|
9670
|
+
]
|
|
9671
|
+
}
|
|
9672
|
+
);
|
|
9673
|
+
}
|
|
9629
9674
|
function WorkbenchRadarWorkspace({
|
|
9630
|
-
navigationItems,
|
|
9675
|
+
navigationItems = [],
|
|
9631
9676
|
activeNavigationId,
|
|
9632
9677
|
onNavigationSelect,
|
|
9633
9678
|
navigationFooter,
|
|
9679
|
+
navigation,
|
|
9634
9680
|
children,
|
|
9635
9681
|
inspector,
|
|
9636
9682
|
inspectorLabel = "Context controls",
|
|
@@ -9651,40 +9697,13 @@ function WorkbenchRadarWorkspace({
|
|
|
9651
9697
|
),
|
|
9652
9698
|
style: { ...radarWorkspaceStyle, minHeight: minimumHeight },
|
|
9653
9699
|
children: [
|
|
9654
|
-
/* @__PURE__ */ jsxRuntime.
|
|
9655
|
-
|
|
9700
|
+
hasRenderableNode(navigation) ? navigation : /* @__PURE__ */ jsxRuntime.jsx(
|
|
9701
|
+
WorkbenchRadarNavigation,
|
|
9656
9702
|
{
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: "min-h-0 flex-1 overflow-y-auto p-3", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid gap-2", children: navigationItems.map((item) => {
|
|
9662
|
-
const active = item.id === activeNavigationId;
|
|
9663
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "grid gap-1", children: [
|
|
9664
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9665
|
-
"button",
|
|
9666
|
-
{
|
|
9667
|
-
type: "button",
|
|
9668
|
-
"aria-current": active ? "page" : void 0,
|
|
9669
|
-
onClick: onNavigationSelect ? () => onNavigationSelect(item) : void 0,
|
|
9670
|
-
className: cn(
|
|
9671
|
-
"flex min-h-11 w-full items-center gap-3 rounded-[var(--radius)] border border-transparent px-3 py-2 text-left text-sm font-semibold outline-none transition-[background-color,border-color,color,box-shadow] focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none",
|
|
9672
|
-
active ? "bg-primary text-primary-foreground shadow-[0_0_1.25rem_hsl(var(--primary)/0.28)]" : "text-muted-foreground hover:border-border hover:bg-muted/60 hover:text-foreground"
|
|
9673
|
-
),
|
|
9674
|
-
children: [
|
|
9675
|
-
hasRenderableNode(item.icon) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-5 shrink-0 items-center justify-center", "aria-hidden": "true", children: item.icon }) : null,
|
|
9676
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 truncate", children: item.label })
|
|
9677
|
-
]
|
|
9678
|
-
}
|
|
9679
|
-
),
|
|
9680
|
-
item.children?.length ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "ml-5 grid gap-0.5 border-l border-border/70 py-1 pl-3", children: item.children.map((child) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-9 items-center gap-2 rounded-md px-2 text-xs font-medium text-muted-foreground", children: [
|
|
9681
|
-
hasRenderableNode(child.icon) ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-4 shrink-0 items-center justify-center", "aria-hidden": "true", children: child.icon }) : null,
|
|
9682
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: child.label })
|
|
9683
|
-
] }) }, child.id)) }) : null
|
|
9684
|
-
] }, item.id);
|
|
9685
|
-
}) }) }),
|
|
9686
|
-
hasRenderableNode(navigationFooter) ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-border/70 p-3", children: navigationFooter }) : null
|
|
9687
|
-
]
|
|
9703
|
+
items: navigationItems,
|
|
9704
|
+
activeItemId: activeNavigationId,
|
|
9705
|
+
onItemSelect: onNavigationSelect,
|
|
9706
|
+
footer: navigationFooter
|
|
9688
9707
|
}
|
|
9689
9708
|
),
|
|
9690
9709
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -10121,6 +10140,7 @@ exports.WorkbenchMetricGrid = WorkbenchMetricGrid;
|
|
|
10121
10140
|
exports.WorkbenchRadarFilterChip = WorkbenchRadarFilterChip;
|
|
10122
10141
|
exports.WorkbenchRadarInspectorSection = WorkbenchRadarInspectorSection;
|
|
10123
10142
|
exports.WorkbenchRadarMatrix = WorkbenchRadarMatrix;
|
|
10143
|
+
exports.WorkbenchRadarNavigation = WorkbenchRadarNavigation;
|
|
10124
10144
|
exports.WorkbenchRadarWorkspace = WorkbenchRadarWorkspace;
|
|
10125
10145
|
exports.WorkbenchRankedList = WorkbenchRankedList;
|
|
10126
10146
|
exports.WorkbenchRelationshipGraph = WorkbenchRelationshipGraph;
|