@conscia-labs/design-system 0.3.4 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +117 -1
- package/dist/{chunk-CTRJ24EO.js → chunk-C44RGLGF.js} +10 -10
- package/dist/chunk-C44RGLGF.js.map +1 -0
- package/dist/{chunk-VIVMQAJM.js → chunk-KYH7IZ3Z.js} +146 -31
- package/dist/chunk-KYH7IZ3Z.js.map +1 -0
- package/dist/{chunk-ZCBZHRTV.js → chunk-RAGHGWLB.js} +14 -14
- package/dist/chunk-RAGHGWLB.js.map +1 -0
- package/dist/{chunk-D5LYROOM.js → chunk-YNQWIH6V.js} +2 -2
- package/dist/chunk-YNQWIH6V.js.map +1 -0
- package/dist/foundation/index.d.ts +1 -1
- package/dist/foundation/index.js +1 -1
- package/dist/foundation.css +580 -34
- package/dist/index.d.ts +1 -1
- package/dist/index.js +36 -4
- package/dist/patterns/index.d.ts +330 -1
- package/dist/patterns/index.js +35 -3
- package/dist/primitives/index.js +2 -2
- package/dist/standalone.css +1 -1
- package/dist/styles.css +580 -34
- package/package.json +1 -1
- package/dist/chunk-CTRJ24EO.js.map +0 -1
- package/dist/chunk-D5LYROOM.js.map +0 -1
- package/dist/chunk-VIVMQAJM.js.map +0 -1
- package/dist/chunk-ZCBZHRTV.js.map +0 -1
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
appearanceOptions,
|
|
3
3
|
applyConsciaPreferences,
|
|
4
4
|
densityOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YNQWIH6V.js";
|
|
6
6
|
import {
|
|
7
7
|
Button,
|
|
8
8
|
Card,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
TooltipContent,
|
|
53
53
|
TooltipProvider,
|
|
54
54
|
TooltipTrigger
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-RAGHGWLB.js";
|
|
56
56
|
import {
|
|
57
57
|
cn
|
|
58
58
|
} from "./chunk-JU5DQXFC.js";
|
|
@@ -623,8 +623,8 @@ function ProductIdentity({
|
|
|
623
623
|
children: [
|
|
624
624
|
icon ? /* @__PURE__ */ jsx5("div", { className: "flex size-7 shrink-0 items-center justify-center rounded-[var(--ds-radius-control)] bg-sidebar-hover text-sidebar-icon", children: icon }) : null,
|
|
625
625
|
/* @__PURE__ */ jsxs4("div", { className: "min-w-0 group-data-[sidebar-state=collapsed]/shell:hidden", children: [
|
|
626
|
-
/* @__PURE__ */ jsx5("div", { className: "truncate
|
|
627
|
-
description ? /* @__PURE__ */ jsx5("div", { className: "
|
|
626
|
+
/* @__PURE__ */ jsx5("div", { className: "ds-type-navigation truncate font-semibold text-sidebar-primary-text", children: label }),
|
|
627
|
+
description ? /* @__PURE__ */ jsx5("div", { className: "ds-type-metadata truncate text-sidebar-metadata-text", children: description }) : null
|
|
628
628
|
] })
|
|
629
629
|
]
|
|
630
630
|
}
|
|
@@ -665,7 +665,7 @@ function NavigationGroup({
|
|
|
665
665
|
className: "flex min-h-6 items-center gap-2 px-2 pb-0 pt-2 text-[length:var(--ds-sidebar-group-label-size)] font-semibold uppercase leading-[var(--ds-sidebar-group-label-line-height)] tracking-[0.04em] text-sidebar-group-label group-data-[sidebar-state=collapsed]/shell:hidden",
|
|
666
666
|
children: [
|
|
667
667
|
label,
|
|
668
|
-
count !== void 0 ? /* @__PURE__ */ jsx5("span", { className: "ml-auto shrink-0
|
|
668
|
+
count !== void 0 ? /* @__PURE__ */ jsx5("span", { className: "ds-type-metadata ml-auto shrink-0 font-medium normal-case tracking-normal text-sidebar-group-count", children: count }) : null
|
|
669
669
|
]
|
|
670
670
|
}
|
|
671
671
|
) : null,
|
|
@@ -676,7 +676,7 @@ function NavigationGroup({
|
|
|
676
676
|
}
|
|
677
677
|
function navigationItemClasses(active) {
|
|
678
678
|
return cn(
|
|
679
|
-
"flex min-h-[var(--ds-sidebar-item-height-touch)] min-w-0 cursor-pointer items-center gap-2 rounded-[var(--ds-radius-control)] px-2
|
|
679
|
+
"ds-type-navigation flex min-h-[var(--ds-sidebar-item-height-touch)] min-w-0 cursor-pointer items-center gap-2 rounded-[var(--ds-radius-control)] px-2 font-medium text-sidebar-secondary-text outline-none transition-colors duration-150 lg:h-[var(--ds-sidebar-item-height)] lg:min-h-0",
|
|
680
680
|
"hover:bg-sidebar-hover hover:text-sidebar-primary-text",
|
|
681
681
|
"focus-visible:ring-[3px] focus-visible:ring-sidebar-focus-ring",
|
|
682
682
|
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:cursor-not-allowed aria-disabled:opacity-50",
|
|
@@ -736,7 +736,7 @@ function NavigationSubItem({
|
|
|
736
736
|
"data-slot": "navigation-sub-item",
|
|
737
737
|
"data-active": active ? "true" : void 0,
|
|
738
738
|
className: cn(
|
|
739
|
-
"flex min-h-[var(--ds-sidebar-item-height-touch)] min-w-0 cursor-pointer items-center gap-2 rounded-[var(--ds-radius-control)] px-2 text-
|
|
739
|
+
"ds-type-navigation flex min-h-[var(--ds-sidebar-item-height-touch)] min-w-0 cursor-pointer items-center gap-2 rounded-[var(--ds-radius-control)] px-2 text-sidebar-secondary-text outline-none transition-colors duration-150 lg:h-[calc(var(--ds-sidebar-item-height)-0.25rem)] lg:min-h-0",
|
|
740
740
|
"hover:bg-sidebar-hover hover:text-sidebar-primary-text focus-visible:ring-[3px] focus-visible:ring-sidebar-focus-ring",
|
|
741
741
|
"group-data-[sidebar-state=collapsed]/shell:hidden [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:stroke-[1.75] [&>svg]:text-sidebar-icon",
|
|
742
742
|
active && "bg-sidebar-active text-sidebar-active-foreground shadow-[inset_3px_0_0_var(--sidebar-active-indicator)] hover:bg-sidebar-active hover:text-sidebar-active-foreground [&>svg]:text-sidebar-active-foreground",
|
|
@@ -832,7 +832,7 @@ function SidebarSearch({
|
|
|
832
832
|
type: "button",
|
|
833
833
|
"data-slot": "sidebar-search-trigger",
|
|
834
834
|
className: cn(
|
|
835
|
-
"flex min-h-[var(--ds-sidebar-item-height-touch)] w-full cursor-pointer items-center gap-2 rounded-[var(--ds-radius-control)] px-2 text-left
|
|
835
|
+
"ds-type-navigation flex min-h-[var(--ds-sidebar-item-height-touch)] w-full cursor-pointer items-center gap-2 rounded-[var(--ds-radius-control)] px-2 text-left font-medium text-sidebar-secondary-text outline-none transition-colors hover:bg-sidebar-hover hover:text-sidebar-primary-text focus-visible:ring-[3px] focus-visible:ring-sidebar-focus-ring lg:min-h-[var(--ds-sidebar-item-height)]",
|
|
836
836
|
"group-data-[sidebar-state=collapsed]/shell:justify-center group-data-[sidebar-state=collapsed]/shell:px-0",
|
|
837
837
|
className
|
|
838
838
|
),
|
|
@@ -841,7 +841,7 @@ function SidebarSearch({
|
|
|
841
841
|
children: [
|
|
842
842
|
/* @__PURE__ */ jsx5(Search, { className: "size-4 shrink-0 text-sidebar-icon" }),
|
|
843
843
|
/* @__PURE__ */ jsx5("span", { className: "truncate group-data-[sidebar-state=collapsed]/shell:hidden", children: triggerLabel }),
|
|
844
|
-
shortcut ? /* @__PURE__ */ jsx5("kbd", { className: "ml-auto rounded border border-sidebar-border px-1.5 py-0.5
|
|
844
|
+
shortcut ? /* @__PURE__ */ jsx5("kbd", { className: "ds-type-metadata ml-auto rounded border border-sidebar-border px-1.5 py-0.5 font-medium text-sidebar-metadata-text group-data-[sidebar-state=collapsed]/shell:hidden", children: shortcut }) : null
|
|
845
845
|
]
|
|
846
846
|
}
|
|
847
847
|
);
|
|
@@ -862,7 +862,7 @@ function SidebarSearch({
|
|
|
862
862
|
{
|
|
863
863
|
ref: inputRef,
|
|
864
864
|
type: "search",
|
|
865
|
-
className: "h-auto min-w-0 flex-1 border-0 bg-transparent px-0 py-1
|
|
865
|
+
className: "ds-type-control h-auto min-w-0 flex-1 border-0 bg-transparent px-0 py-1 shadow-none focus-visible:border-0 focus-visible:ring-0",
|
|
866
866
|
onKeyDown: (event) => {
|
|
867
867
|
if (event.key === "Escape") {
|
|
868
868
|
event.preventDefault();
|
|
@@ -1000,9 +1000,9 @@ function ActivityItem({ icon, title, description, metadata, status, className, .
|
|
|
1000
1000
|
return /* @__PURE__ */ jsxs5("div", { "data-slot": "activity-item", className: cn("grid grid-cols-[auto_minmax(0,1fr)_auto] gap-3 py-3", className), ...props, children: [
|
|
1001
1001
|
/* @__PURE__ */ jsx6("div", { className: "flex size-8 items-center justify-center rounded-md bg-neutral-background text-neutral-foreground [&_svg]:size-4", children: icon }),
|
|
1002
1002
|
/* @__PURE__ */ jsxs5("div", { className: "min-w-0", children: [
|
|
1003
|
-
/* @__PURE__ */ jsx6("div", { className: "
|
|
1004
|
-
description ? /* @__PURE__ */ jsx6("div", { className: "mt-0.5 text-
|
|
1005
|
-
metadata ? /* @__PURE__ */ jsx6("div", { className: "mt-1 text-
|
|
1003
|
+
/* @__PURE__ */ jsx6("div", { className: "ds-type-ui font-medium text-foreground", children: title }),
|
|
1004
|
+
description ? /* @__PURE__ */ jsx6("div", { className: "ds-type-ui mt-0.5 text-muted-foreground", children: description }) : null,
|
|
1005
|
+
metadata ? /* @__PURE__ */ jsx6("div", { className: "ds-type-metadata mt-1 text-muted-foreground", children: metadata }) : null
|
|
1006
1006
|
] }),
|
|
1007
1007
|
status ? /* @__PURE__ */ jsx6("div", { className: "shrink-0", children: status }) : null
|
|
1008
1008
|
] });
|
|
@@ -1174,9 +1174,9 @@ function MetricBandItem({
|
|
|
1174
1174
|
}
|
|
1175
1175
|
) : null,
|
|
1176
1176
|
/* @__PURE__ */ jsxs8("div", { className: "grid min-w-0 gap-1", children: [
|
|
1177
|
-
/* @__PURE__ */ jsx10("div", { className: "
|
|
1177
|
+
/* @__PURE__ */ jsx10("div", { className: "ds-type-ui text-muted-foreground", children: label }),
|
|
1178
1178
|
loading ? /* @__PURE__ */ jsx10(Skeleton, { className: "h-7 w-14" }) : /* @__PURE__ */ jsx10("div", { className: "text-2xl font-semibold tracking-tight", children: value ?? 0 }),
|
|
1179
|
-
detail ? /* @__PURE__ */ jsx10("div", { className: "
|
|
1179
|
+
detail ? /* @__PURE__ */ jsx10("div", { className: "ds-type-metadata text-muted-foreground", children: detail }) : null
|
|
1180
1180
|
] })
|
|
1181
1181
|
]
|
|
1182
1182
|
}
|
|
@@ -1199,7 +1199,7 @@ function PageHeader({
|
|
|
1199
1199
|
const resolvedActions = actions ?? actionNode ?? (action ? /* @__PURE__ */ jsx11(
|
|
1200
1200
|
"a",
|
|
1201
1201
|
{
|
|
1202
|
-
className: "inline-flex h-[var(--ds-control-height)] items-center justify-center gap-2 whitespace-nowrap rounded-md bg-primary px-3 py-2 text-
|
|
1202
|
+
className: "ds-type-button inline-flex h-[var(--ds-control-height)] items-center justify-center gap-2 whitespace-nowrap rounded-md bg-primary px-3 py-2 text-primary-foreground shadow-xs outline-none transition-colors hover:bg-accent-hover focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50",
|
|
1203
1203
|
href: action.href,
|
|
1204
1204
|
children: action.label
|
|
1205
1205
|
}
|
|
@@ -1213,11 +1213,11 @@ function PageHeader({
|
|
|
1213
1213
|
children: [
|
|
1214
1214
|
/* @__PURE__ */ jsxs9("div", { className: "min-w-0", children: [
|
|
1215
1215
|
/* @__PURE__ */ jsxs9("div", { className: "flex min-w-0 flex-wrap items-center gap-2", children: [
|
|
1216
|
-
/* @__PURE__ */ jsx11("h1", { className: "
|
|
1216
|
+
/* @__PURE__ */ jsx11("h1", { className: "ds-type-page-title truncate", children: title }),
|
|
1217
1217
|
status
|
|
1218
1218
|
] }),
|
|
1219
|
-
description ? /* @__PURE__ */ jsx11("p", { className: "mt-1 max-w-3xl text-
|
|
1220
|
-
metadata ? /* @__PURE__ */ jsx11("div", { className: "mt-2 text-
|
|
1219
|
+
description ? /* @__PURE__ */ jsx11("p", { className: "ds-type-ui mt-1 max-w-3xl text-muted-foreground", children: description }) : null,
|
|
1220
|
+
metadata ? /* @__PURE__ */ jsx11("div", { className: "ds-type-metadata mt-2 text-muted-foreground", children: metadata }) : null
|
|
1221
1221
|
] }),
|
|
1222
1222
|
resolvedActions ? /* @__PURE__ */ jsx11("div", { className: "flex shrink-0 flex-wrap items-center gap-2", children: resolvedActions }) : null
|
|
1223
1223
|
]
|
|
@@ -1399,8 +1399,8 @@ function ProviderMark({ name, shortName, description, size = "default", classNam
|
|
|
1399
1399
|
}
|
|
1400
1400
|
),
|
|
1401
1401
|
/* @__PURE__ */ jsxs12("div", { className: "min-w-0", children: [
|
|
1402
|
-
/* @__PURE__ */ jsx14("div", { className: "truncate
|
|
1403
|
-
description ? /* @__PURE__ */ jsx14("div", { className: "mt-0.5 truncate text-
|
|
1402
|
+
/* @__PURE__ */ jsx14("div", { className: "ds-type-ui truncate font-medium text-foreground", children: name }),
|
|
1403
|
+
description ? /* @__PURE__ */ jsx14("div", { className: "ds-type-metadata mt-0.5 truncate text-muted-foreground", children: description }) : null
|
|
1404
1404
|
] })
|
|
1405
1405
|
] });
|
|
1406
1406
|
}
|
|
@@ -1433,11 +1433,11 @@ function ResourceSummary({
|
|
|
1433
1433
|
/* @__PURE__ */ jsxs13("div", { className: "flex flex-col gap-3 lg:flex-row lg:items-start lg:justify-between", children: [
|
|
1434
1434
|
/* @__PURE__ */ jsxs13("div", { className: "min-w-0", children: [
|
|
1435
1435
|
title || status ? /* @__PURE__ */ jsxs13("div", { className: "flex min-w-0 flex-wrap items-center gap-2", children: [
|
|
1436
|
-
title ? /* @__PURE__ */ jsx15("h2", { className: "
|
|
1436
|
+
title ? /* @__PURE__ */ jsx15("h2", { className: "ds-type-section-title truncate", children: title }) : null,
|
|
1437
1437
|
status
|
|
1438
1438
|
] }) : null,
|
|
1439
|
-
description ? /* @__PURE__ */ jsx15("p", { className: "mt-1 max-w-3xl text-
|
|
1440
|
-
metadata ? /* @__PURE__ */ jsx15("div", { className: "mt-2 text-
|
|
1439
|
+
description ? /* @__PURE__ */ jsx15("p", { className: "ds-type-ui mt-1 max-w-3xl text-muted-foreground", children: description }) : null,
|
|
1440
|
+
metadata ? /* @__PURE__ */ jsx15("div", { className: "ds-type-metadata mt-2 text-muted-foreground", children: metadata }) : null
|
|
1441
1441
|
] }),
|
|
1442
1442
|
actions ? /* @__PURE__ */ jsx15("div", { className: "flex shrink-0 flex-wrap items-center gap-2", children: actions }) : null
|
|
1443
1443
|
] }),
|
|
@@ -1481,8 +1481,8 @@ function DetailSection({
|
|
|
1481
1481
|
children: [
|
|
1482
1482
|
/* @__PURE__ */ jsxs13("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between", children: [
|
|
1483
1483
|
/* @__PURE__ */ jsxs13("div", { className: "min-w-0", children: [
|
|
1484
|
-
/* @__PURE__ */ jsx15("h2", { className: "
|
|
1485
|
-
description ? /* @__PURE__ */ jsx15("p", { className: "mt-1 max-w-3xl text-
|
|
1484
|
+
/* @__PURE__ */ jsx15("h2", { className: "ds-type-section-title", children: title }),
|
|
1485
|
+
description ? /* @__PURE__ */ jsx15("p", { className: "ds-type-ui mt-1 max-w-3xl text-muted-foreground", children: description }) : null
|
|
1486
1486
|
] }),
|
|
1487
1487
|
actions ? /* @__PURE__ */ jsx15("div", { className: "flex shrink-0 items-center gap-2", children: actions }) : null
|
|
1488
1488
|
] }),
|
|
@@ -1499,7 +1499,7 @@ function KeyValueList({
|
|
|
1499
1499
|
"dl",
|
|
1500
1500
|
{
|
|
1501
1501
|
"data-slot": "key-value-list",
|
|
1502
|
-
className: cn("grid gap-3
|
|
1502
|
+
className: cn("ds-type-ui grid gap-3", className),
|
|
1503
1503
|
...props
|
|
1504
1504
|
}
|
|
1505
1505
|
);
|
|
@@ -1729,8 +1729,8 @@ function StateView({ title, description, action, icon, className, ...props }) {
|
|
|
1729
1729
|
...props,
|
|
1730
1730
|
children: [
|
|
1731
1731
|
icon ? /* @__PURE__ */ jsx17("div", { className: "flex size-10 items-center justify-center rounded-md bg-neutral-background text-neutral-foreground [&_svg]:size-5", children: icon }) : null,
|
|
1732
|
-
/* @__PURE__ */ jsx17("h2", { className: "
|
|
1733
|
-
description ? /* @__PURE__ */ jsx17("p", { className: "max-w-md text-
|
|
1732
|
+
/* @__PURE__ */ jsx17("h2", { className: "ds-type-section-title", children: title }),
|
|
1733
|
+
description ? /* @__PURE__ */ jsx17("p", { className: "ds-type-ui max-w-md text-muted-foreground", children: description }) : null,
|
|
1734
1734
|
action ? /* @__PURE__ */ jsx17("div", { className: "mt-1", children: action }) : null
|
|
1735
1735
|
]
|
|
1736
1736
|
}
|
|
@@ -1832,6 +1832,105 @@ function ValueMeter({
|
|
|
1832
1832
|
);
|
|
1833
1833
|
}
|
|
1834
1834
|
|
|
1835
|
+
// src/patterns/workbench.tsx
|
|
1836
|
+
import * as React8 from "react";
|
|
1837
|
+
import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1838
|
+
function WorkbenchShell({ className, ...props }) {
|
|
1839
|
+
return /* @__PURE__ */ jsx19("div", { "data-slot": "workbench-shell", className: cn("min-w-0", className), ...props });
|
|
1840
|
+
}
|
|
1841
|
+
function WorkbenchRail({ variant = "secondary", open = true, className, ...props }) {
|
|
1842
|
+
return /* @__PURE__ */ jsx19(
|
|
1843
|
+
"aside",
|
|
1844
|
+
{
|
|
1845
|
+
"data-slot": "workbench-rail",
|
|
1846
|
+
"data-variant": variant,
|
|
1847
|
+
"data-open": open ? "true" : "false",
|
|
1848
|
+
className: cn("min-w-0", className),
|
|
1849
|
+
...props
|
|
1850
|
+
}
|
|
1851
|
+
);
|
|
1852
|
+
}
|
|
1853
|
+
function WorkbenchMain({ className, ...props }) {
|
|
1854
|
+
return /* @__PURE__ */ jsx19("main", { "data-slot": "workbench-main", className: cn("min-w-0", className), ...props });
|
|
1855
|
+
}
|
|
1856
|
+
function WorkbenchInspector({ className, ...props }) {
|
|
1857
|
+
return /* @__PURE__ */ jsx19("aside", { "data-slot": "workbench-inspector", className: cn("min-w-0", className), ...props });
|
|
1858
|
+
}
|
|
1859
|
+
function WorkbenchMobileToolbar({ className, ...props }) {
|
|
1860
|
+
return /* @__PURE__ */ jsx19("div", { "data-slot": "workbench-mobile-toolbar", className: cn(className), ...props });
|
|
1861
|
+
}
|
|
1862
|
+
function WorkbenchBackdrop({ open = true, className, ...props }) {
|
|
1863
|
+
return /* @__PURE__ */ jsx19(
|
|
1864
|
+
"button",
|
|
1865
|
+
{
|
|
1866
|
+
type: "button",
|
|
1867
|
+
"data-slot": "workbench-backdrop",
|
|
1868
|
+
"data-open": open ? "true" : "false",
|
|
1869
|
+
className: cn(className),
|
|
1870
|
+
...props
|
|
1871
|
+
}
|
|
1872
|
+
);
|
|
1873
|
+
}
|
|
1874
|
+
function WorkbenchSection({ className, ...props }) {
|
|
1875
|
+
return /* @__PURE__ */ jsx19("section", { "data-slot": "workbench-section", className: cn(className), ...props });
|
|
1876
|
+
}
|
|
1877
|
+
function WorkbenchSectionHeader({ title, metadata, action, className, ...props }) {
|
|
1878
|
+
return /* @__PURE__ */ jsxs17("div", { "data-slot": "workbench-section-header", className: cn(className), ...props, children: [
|
|
1879
|
+
/* @__PURE__ */ jsxs17("div", { "data-slot": "workbench-section-heading", children: [
|
|
1880
|
+
/* @__PURE__ */ jsx19("h2", { children: title }),
|
|
1881
|
+
metadata ? /* @__PURE__ */ jsx19("span", { children: metadata }) : null
|
|
1882
|
+
] }),
|
|
1883
|
+
action ? /* @__PURE__ */ jsx19("div", { "data-slot": "workbench-section-action", children: action }) : null
|
|
1884
|
+
] });
|
|
1885
|
+
}
|
|
1886
|
+
function ResourceRow({ as = "div", href, selected = false, className, children, ...props }) {
|
|
1887
|
+
return React8.createElement(
|
|
1888
|
+
as,
|
|
1889
|
+
{
|
|
1890
|
+
...props,
|
|
1891
|
+
...as === "a" && href ? { href } : {},
|
|
1892
|
+
...as === "button" ? { type: "button" } : {},
|
|
1893
|
+
"data-slot": "resource-row",
|
|
1894
|
+
"data-selected": selected ? "true" : "false",
|
|
1895
|
+
className: cn(className)
|
|
1896
|
+
},
|
|
1897
|
+
children
|
|
1898
|
+
);
|
|
1899
|
+
}
|
|
1900
|
+
function ResourceRowIcon({ className, ...props }) {
|
|
1901
|
+
return /* @__PURE__ */ jsx19("span", { "data-slot": "resource-row-icon", className: cn(className), ...props });
|
|
1902
|
+
}
|
|
1903
|
+
function ResourceRowContent({ className, ...props }) {
|
|
1904
|
+
return /* @__PURE__ */ jsx19("span", { "data-slot": "resource-row-content", className: cn(className), ...props });
|
|
1905
|
+
}
|
|
1906
|
+
function ResourceRowTitle({ className, ...props }) {
|
|
1907
|
+
return /* @__PURE__ */ jsx19("strong", { "data-slot": "resource-row-title", className: cn(className), ...props });
|
|
1908
|
+
}
|
|
1909
|
+
function ResourceRowDescription({ className, ...props }) {
|
|
1910
|
+
return /* @__PURE__ */ jsx19("span", { "data-slot": "resource-row-description", className: cn(className), ...props });
|
|
1911
|
+
}
|
|
1912
|
+
function ResourceRowMeta({ className, ...props }) {
|
|
1913
|
+
return /* @__PURE__ */ jsx19("span", { "data-slot": "resource-row-meta", className: cn(className), ...props });
|
|
1914
|
+
}
|
|
1915
|
+
function WorkbenchInspectorSection({ label, action, className, children, ...props }) {
|
|
1916
|
+
return /* @__PURE__ */ jsxs17("section", { "data-slot": "workbench-inspector-section", className: cn(className), ...props, children: [
|
|
1917
|
+
/* @__PURE__ */ jsxs17("div", { "data-slot": "workbench-inspector-label", children: [
|
|
1918
|
+
/* @__PURE__ */ jsx19("h3", { children: label }),
|
|
1919
|
+
action ? /* @__PURE__ */ jsx19("div", { children: action }) : null
|
|
1920
|
+
] }),
|
|
1921
|
+
children
|
|
1922
|
+
] });
|
|
1923
|
+
}
|
|
1924
|
+
function IdentityRow({ initials, name, detail, compact = false, className, ...props }) {
|
|
1925
|
+
return /* @__PURE__ */ jsxs17("div", { "data-slot": "identity-row", "data-compact": compact ? "true" : "false", className: cn(className), ...props, children: [
|
|
1926
|
+
/* @__PURE__ */ jsx19("span", { "data-slot": "identity-avatar", children: initials }),
|
|
1927
|
+
/* @__PURE__ */ jsxs17("span", { "data-slot": "identity-copy", children: [
|
|
1928
|
+
/* @__PURE__ */ jsx19("strong", { children: name }),
|
|
1929
|
+
detail ? /* @__PURE__ */ jsx19("small", { children: detail }) : null
|
|
1930
|
+
] })
|
|
1931
|
+
] });
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1835
1934
|
export {
|
|
1836
1935
|
PaginationControls,
|
|
1837
1936
|
DataTable,
|
|
@@ -1883,6 +1982,22 @@ export {
|
|
|
1883
1982
|
StateView,
|
|
1884
1983
|
LoadingRows,
|
|
1885
1984
|
ErrorState,
|
|
1886
|
-
ValueMeter
|
|
1985
|
+
ValueMeter,
|
|
1986
|
+
WorkbenchShell,
|
|
1987
|
+
WorkbenchRail,
|
|
1988
|
+
WorkbenchMain,
|
|
1989
|
+
WorkbenchInspector,
|
|
1990
|
+
WorkbenchMobileToolbar,
|
|
1991
|
+
WorkbenchBackdrop,
|
|
1992
|
+
WorkbenchSection,
|
|
1993
|
+
WorkbenchSectionHeader,
|
|
1994
|
+
ResourceRow,
|
|
1995
|
+
ResourceRowIcon,
|
|
1996
|
+
ResourceRowContent,
|
|
1997
|
+
ResourceRowTitle,
|
|
1998
|
+
ResourceRowDescription,
|
|
1999
|
+
ResourceRowMeta,
|
|
2000
|
+
WorkbenchInspectorSection,
|
|
2001
|
+
IdentityRow
|
|
1887
2002
|
};
|
|
1888
|
-
//# sourceMappingURL=chunk-
|
|
2003
|
+
//# sourceMappingURL=chunk-KYH7IZ3Z.js.map
|