@talogic/react 0.10.0 → 0.12.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 +1 -1
- package/app/app-shell.component.d.ts +2 -1
- package/app/index.d.ts +2 -0
- package/app/split-view.component.d.ts +46 -0
- package/index.js +202 -126
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/talogic-react.css +1 -1
- package/ui/button/button.recipe.d.ts +4 -0
- package/ui/selectable-list/bulk-action-bar.component.d.ts +6 -4
- package/ui/selectable-list/index.d.ts +3 -1
- package/ui/selectable-list/select-all-checkbox.component.d.ts +18 -4
- package/ui/selectable-list/selection-header.component.d.ts +28 -0
package/index.js
CHANGED
|
@@ -505,19 +505,21 @@ function K({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
|
|
|
505
505
|
// src/ui/button/button.recipe.ts
|
|
506
506
|
var q = O([
|
|
507
507
|
"inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md border border-transparent font-medium no-underline",
|
|
508
|
-
"transition-[background-color,border-color,box-shadow,color] duration-150 ease-out outline-none motion-reduce:transition-none",
|
|
509
|
-
"
|
|
508
|
+
"relative isolate transition-[background-color,border-color,box-shadow,color] duration-150 ease-out outline-none motion-reduce:transition-none",
|
|
509
|
+
"before:pointer-events-none before:absolute before:inset-0 before:-z-10 before:rounded-[inherit] before:bg-current before:opacity-0 before:scale-90",
|
|
510
|
+
"before:transition-[opacity,scale] before:duration-150 before:ease-out motion-reduce:before:transition-none",
|
|
511
|
+
"hover:before:scale-100 hover:before:opacity-8 focus-visible:before:scale-100 focus-visible:before:opacity-12 active:before:opacity-16",
|
|
510
512
|
"disabled:pointer-events-none disabled:opacity-50 aria-busy:cursor-progress",
|
|
511
513
|
"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
|
|
512
514
|
], {
|
|
513
515
|
variants: {
|
|
514
516
|
variant: {
|
|
515
|
-
default: "bg-primary text-primary-foreground shadow-xs
|
|
516
|
-
secondary: "bg-secondary text-secondary-foreground
|
|
517
|
-
outline: "border-input bg-background text-foreground shadow-xs
|
|
518
|
-
ghost: "bg-transparent text-foreground
|
|
519
|
-
destructive: "bg-destructive text-destructive-foreground shadow-xs
|
|
520
|
-
link: "bg-transparent text-brand-text underline underline-offset-3"
|
|
517
|
+
default: "bg-primary text-primary-foreground shadow-xs focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
518
|
+
secondary: "bg-secondary text-secondary-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
519
|
+
outline: "border-input bg-background text-foreground shadow-xs focus-visible:border-foreground/70",
|
|
520
|
+
ghost: "bg-transparent text-foreground focus-visible:border-foreground/50",
|
|
521
|
+
destructive: "bg-destructive text-destructive-foreground shadow-xs focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
522
|
+
link: "bg-transparent text-brand-text underline underline-offset-3 before:hidden focus-visible:rounded-sm focus-visible:bg-brand-soft focus-visible:decoration-2"
|
|
521
523
|
},
|
|
522
524
|
size: {
|
|
523
525
|
default: "h-(--control-h) px-(--control-px) text-(length:--control-fs)",
|
|
@@ -559,7 +561,7 @@ var it = "fill-none stroke-current [stroke-dasharray:1] [stroke-linecap:round] [
|
|
|
559
561
|
function at({ className: e, ...t }) {
|
|
560
562
|
return /* @__PURE__ */ r(c.Root, {
|
|
561
563
|
"data-slot": "checkbox",
|
|
562
|
-
className: B("peer group/checkbox grid size-4 shrink-0 cursor-pointer place-content-center rounded-[4px] border border-input bg-background text-primary-foreground shadow-xs outline-none", "transition-[background-color,border-color] duration-150 motion-reduce:transition-none", "focus-visible:
|
|
564
|
+
className: B("peer group/checkbox grid size-4 shrink-0 cursor-pointer place-content-center rounded-[4px] border border-input bg-background text-primary-foreground shadow-xs outline-none", "transition-[background-color,border-color] duration-150 motion-reduce:transition-none", "focus-visible:shadow-[0_0_0_6px_color-mix(in_oklab,var(--foreground)_12%,transparent)] disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary", e),
|
|
563
565
|
...t,
|
|
564
566
|
children: /* @__PURE__ */ r(c.Indicator, {
|
|
565
567
|
forceMount: !0,
|
|
@@ -2261,7 +2263,7 @@ function mi({ className: e, variant: t = "pill", fitted: n = !1, flap: a = !1, c
|
|
|
2261
2263
|
})]
|
|
2262
2264
|
});
|
|
2263
2265
|
}
|
|
2264
|
-
var hi = "isolate before:absolute before:-z-10 before:rounded-none before:border before:border-border before:bg-background before:transition-[top,inset-inline-start,border-width,transform,border-radius,border-top-color,border-inline-start-color,bottom,inset-inline-end] before:duration-250 motion-reduce:before:transition-none before:[transition-timing-function:var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),step-end,step-end] data-[state=active]:before:[transition-timing-function:var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),step-start,step-start] data-[orientation=horizontal]:before:inset-x-0 data-[orientation=horizontal]:before:bottom-0 data-[orientation=horizontal]:before:top-full data-[orientation=horizontal]:before:border-y-0 data-[orientation=horizontal]:data-[state=active]:before:top-0 data-[orientation=horizontal]:data-[state=active]:before:-bottom-px data-[orientation=horizontal]:data-[state=active]:before:border-t-2 data-[orientation=horizontal]:data-[state=active]:before:rounded-t-md data-[orientation=horizontal]:data-[state=active]:before:border-t-brand data-[orientation=vertical]:before:inset-y-0 data-[orientation=vertical]:before:end-0 data-[orientation=vertical]:before:start-full data-[orientation=vertical]:before:border-x-0 data-[orientation=vertical]:data-[state=active]:before:start-0 data-[orientation=vertical]:data-[state=active]:before:-end-px data-[orientation=vertical]:data-[state=active]:before:border-s-2 data-[orientation=vertical]:data-[state=active]:before:rounded-s-md data-[orientation=vertical]:data-[state=active]:before:border-s-brand data-[orientation=horizontal]:[perspective:300px] data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:top-0! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:bottom-0! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:data-[state=active]:before:-bottom-px! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:border-t-2! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:origin-bottom data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:[transform:rotateX(90deg)] data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:data-[state=active]:before:[transform:rotateX(0deg)] data-[edge=start]:before:rounded-ss-md data-[edge=end]:data-[orientation=horizontal]:before:rounded-se-md data-[edge=end]:data-[orientation=vertical]:before:rounded-es-md";
|
|
2266
|
+
var hi = "isolate before:absolute before:-z-10 before:rounded-none before:border before:border-border before:bg-background before:transition-[top,inset-inline-start,border-width,transform,border-radius,border-top-color,border-inline-start-color,bottom,inset-inline-end] before:duration-250 motion-reduce:before:transition-none before:[transition-timing-function:var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),step-end,step-end] data-[state=active]:before:[transition-timing-function:var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),step-start,step-start] data-[orientation=horizontal]:before:inset-x-0 data-[orientation=horizontal]:before:bottom-0 data-[orientation=horizontal]:before:top-full data-[orientation=horizontal]:before:border-y-0 data-[orientation=horizontal]:data-[state=active]:before:top-0 data-[orientation=horizontal]:data-[state=active]:before:-bottom-px data-[orientation=horizontal]:data-[state=active]:before:border-t-2 data-[orientation=horizontal]:data-[state=active]:before:rounded-t-md data-[orientation=horizontal]:data-[state=active]:before:border-t-brand data-[orientation=vertical]:before:inset-y-0 data-[orientation=vertical]:before:end-0 data-[orientation=vertical]:before:start-full data-[orientation=vertical]:before:border-x-0 data-[orientation=vertical]:data-[state=active]:before:start-0 data-[orientation=vertical]:data-[state=active]:before:-end-px data-[orientation=vertical]:data-[state=active]:before:border-s-2 data-[orientation=vertical]:data-[state=active]:before:rounded-s-md data-[orientation=vertical]:data-[state=active]:before:border-s-brand data-[orientation=horizontal]:[perspective:300px] data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:top-0! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:bottom-0! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:data-[state=active]:before:-bottom-px! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:border-t-2! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:origin-bottom data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:[transform:rotateX(90deg)] data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:data-[state=active]:before:[transform:rotateX(0deg)] data-[orientation=horizontal]:focus-visible:before:bg-linear-to-b data-[orientation=vertical]:focus-visible:before:bg-linear-to-r rtl:data-[orientation=vertical]:focus-visible:before:bg-linear-to-l focus-visible:before:from-brand/25 focus-visible:before:to-background data-[edge=start]:before:rounded-ss-md data-[edge=end]:data-[orientation=horizontal]:before:rounded-se-md data-[edge=end]:data-[orientation=vertical]:before:rounded-es-md";
|
|
2265
2267
|
function gi(e) {
|
|
2266
2268
|
e.preventDefault(), e.stopPropagation();
|
|
2267
2269
|
}
|
|
@@ -2281,7 +2283,7 @@ function _i({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", o
|
|
|
2281
2283
|
onKeyDown: (e) => {
|
|
2282
2284
|
o?.(e), n && !e.defaultPrevented && e.key === "Delete" && (e.preventDefault(), n());
|
|
2283
2285
|
},
|
|
2284
|
-
className: B("group/tab relative inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground
|
|
2286
|
+
className: B("group/tab relative inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4", "transition-colors duration-150 data-[state=active]:text-foreground motion-reduce:transition-none", "group-data-[variant=pill]/tabs-list:focus-visible:ring-2 group-data-[variant=pill]/tabs-list:focus-visible:ring-ring group-data-[variant=underline]/tabs-list:focus-visible:bg-brand-soft", "group-data-[variant=pill]/tabs-list:h-[calc(var(--control-h)-6px)] group-data-[variant=pill]/tabs-list:rounded-sm group-data-[variant=pill]/tabs-list:px-3 group-data-[variant=pill]/tabs-list:text-[13px]", "group-data-[variant=underline]/tabs-list:rounded-sm group-data-[variant=underline]/tabs-list:py-2.5 group-data-[variant=underline]/tabs-list:text-sm", "group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:justify-start group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:px-3 group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:py-2", "group-data-[variant=outline]/tabs-list:h-(--control-h) group-data-[variant=outline]/tabs-list:rounded-t-md group-data-[variant=outline]/tabs-list:px-3.5 group-data-[variant=outline]/tabs-list:text-sm group-data-[variant=outline]/tabs-list:data-[orientation=vertical]:justify-start", u === "outline" && hi, e),
|
|
2285
2287
|
...l,
|
|
2286
2288
|
children: [
|
|
2287
2289
|
s,
|
|
@@ -2483,12 +2485,12 @@ function Ei({ present: e, animation: t = "fade", unmountOnExit: n = !0, classNam
|
|
|
2483
2485
|
});
|
|
2484
2486
|
}
|
|
2485
2487
|
// src/ui/selectable-list/bulk-action-bar.component.tsx
|
|
2486
|
-
function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`, label: a = "Bulk actions",
|
|
2488
|
+
function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`, label: a = "Bulk actions", clearable: o = !0, clearLabel: s = "Clear selection", className: c }) {
|
|
2487
2489
|
return e.count === 0 ? null : /* @__PURE__ */ i("div", {
|
|
2488
2490
|
role: "toolbar",
|
|
2489
2491
|
"aria-label": a,
|
|
2490
2492
|
"data-slot": "bulk-action-bar",
|
|
2491
|
-
className: B("sticky top-0 z-10 flex items-center gap-2 rounded-md border bg-background px-3 py-1.5 shadow-sm",
|
|
2493
|
+
className: B("sticky top-0 z-10 flex items-center gap-2 rounded-md border bg-background px-3 py-1.5 shadow-sm", c),
|
|
2492
2494
|
children: [
|
|
2493
2495
|
/* @__PURE__ */ r("span", {
|
|
2494
2496
|
className: "text-sm font-medium tabular-nums",
|
|
@@ -2498,10 +2500,10 @@ function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`,
|
|
|
2498
2500
|
className: "flex flex-1 flex-wrap items-center gap-1.5",
|
|
2499
2501
|
children: t
|
|
2500
2502
|
}),
|
|
2501
|
-
/* @__PURE__ */ r(J, {
|
|
2503
|
+
o && /* @__PURE__ */ r(J, {
|
|
2502
2504
|
variant: "ghost",
|
|
2503
2505
|
size: "icon-sm",
|
|
2504
|
-
"aria-label":
|
|
2506
|
+
"aria-label": s,
|
|
2505
2507
|
onClick: e.clear,
|
|
2506
2508
|
children: /* @__PURE__ */ r(N, {})
|
|
2507
2509
|
})
|
|
@@ -2509,7 +2511,7 @@ function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`,
|
|
|
2509
2511
|
});
|
|
2510
2512
|
}
|
|
2511
2513
|
// src/ui/selectable-list/select-all-checkbox.component.tsx
|
|
2512
|
-
function Oi({ selection: e,
|
|
2514
|
+
function Oi({ selection: e, filters: t = [], children: n, label: a = "Select all", menuLabel: o = "Selection options", allLabel: s = "All", noneLabel: c = "None", className: l }) {
|
|
2513
2515
|
return /* @__PURE__ */ i("div", {
|
|
2514
2516
|
"data-slot": "select-all-checkbox",
|
|
2515
2517
|
className: B("inline-flex items-center gap-0.5", l),
|
|
@@ -2538,14 +2540,39 @@ function Oi({ selection: e, children: t, label: a = "Select all", menuLabel: o =
|
|
|
2538
2540
|
onSelect: e.clear,
|
|
2539
2541
|
children: c
|
|
2540
2542
|
}),
|
|
2541
|
-
t
|
|
2543
|
+
(t.length > 0 || n) && /* @__PURE__ */ r(Un, {}),
|
|
2544
|
+
t.map((t) => /* @__PURE__ */ r(Bn, {
|
|
2545
|
+
onSelect: () => e.set(e.ids.filter((e) => t.match(e))),
|
|
2546
|
+
children: t.label
|
|
2547
|
+
}, t.label)),
|
|
2548
|
+
n
|
|
2542
2549
|
]
|
|
2543
2550
|
})] })]
|
|
2544
2551
|
});
|
|
2545
2552
|
}
|
|
2553
|
+
// src/ui/selectable-list/selection-header.component.tsx
|
|
2554
|
+
function ki({ selection: e, actions: t, filters: n, summary: a, countLabel: o, className: s }) {
|
|
2555
|
+
return /* @__PURE__ */ i("div", {
|
|
2556
|
+
"data-slot": "selection-header",
|
|
2557
|
+
className: B("sticky top-0 z-10 flex min-h-11 items-center gap-2 border-b bg-background px-3", s),
|
|
2558
|
+
children: [/* @__PURE__ */ r(Oi, {
|
|
2559
|
+
selection: e,
|
|
2560
|
+
filters: n
|
|
2561
|
+
}), e.count === 0 ? /* @__PURE__ */ r("div", {
|
|
2562
|
+
className: "text-sm text-muted-foreground",
|
|
2563
|
+
children: a
|
|
2564
|
+
}) : /* @__PURE__ */ r(Di, {
|
|
2565
|
+
selection: e,
|
|
2566
|
+
countLabel: o,
|
|
2567
|
+
clearable: !1,
|
|
2568
|
+
className: "static flex-1 rounded-none border-0 bg-transparent p-0 shadow-none",
|
|
2569
|
+
children: t
|
|
2570
|
+
})]
|
|
2571
|
+
});
|
|
2572
|
+
}
|
|
2546
2573
|
// src/ui/selectable-list/selectable-list.component.tsx
|
|
2547
|
-
var
|
|
2548
|
-
function
|
|
2574
|
+
var Ai = be(null), ji = "[data-slot=\"selectable-row\"]";
|
|
2575
|
+
function Mi({ selection: e, className: t, children: n, ...i }) {
|
|
2549
2576
|
let a = I(null), [o, s] = L(), c = o !== void 0 && e.ids.includes(o) ? o : e.ids[0];
|
|
2550
2577
|
function l(t) {
|
|
2551
2578
|
let n = t.target;
|
|
@@ -2558,17 +2585,17 @@ function ji({ selection: e, className: t, children: n, ...i }) {
|
|
|
2558
2585
|
t.preventDefault(), e.clear();
|
|
2559
2586
|
return;
|
|
2560
2587
|
}
|
|
2561
|
-
let r = n.closest(
|
|
2588
|
+
let r = n.closest(ji), i = r?.dataset.id;
|
|
2562
2589
|
if (i === void 0 || !r) return;
|
|
2563
2590
|
if (n === r && t.key === " ") {
|
|
2564
2591
|
t.preventDefault(), e.toggle(i, { range: t.shiftKey });
|
|
2565
2592
|
return;
|
|
2566
2593
|
}
|
|
2567
2594
|
if (t.key !== "ArrowDown" && t.key !== "ArrowUp") return;
|
|
2568
|
-
let o = [...a.current?.querySelectorAll(
|
|
2595
|
+
let o = [...a.current?.querySelectorAll(ji) ?? []], s = o[o.indexOf(r) + (t.key === "ArrowDown" ? 1 : -1)], c = s?.dataset.id;
|
|
2569
2596
|
s && c !== void 0 && (t.preventDefault(), s.focus(), t.shiftKey && e.add([i, c]));
|
|
2570
2597
|
}
|
|
2571
|
-
return /* @__PURE__ */ r(
|
|
2598
|
+
return /* @__PURE__ */ r(Ai, {
|
|
2572
2599
|
value: {
|
|
2573
2600
|
selection: e,
|
|
2574
2601
|
activeId: c,
|
|
@@ -2585,8 +2612,8 @@ function ji({ selection: e, className: t, children: n, ...i }) {
|
|
|
2585
2612
|
})
|
|
2586
2613
|
});
|
|
2587
2614
|
}
|
|
2588
|
-
function
|
|
2589
|
-
let l = Se(
|
|
2615
|
+
function Ni({ id: e, label: t, className: n, children: a, onClickCapture: o, onFocus: s, ...c }) {
|
|
2616
|
+
let l = Se(Ai);
|
|
2590
2617
|
if (!l) throw Error("SelectableRow must be inside a SelectableList.");
|
|
2591
2618
|
let { selection: u, activeId: d, setActive: f } = l, p = u.isSelected(e);
|
|
2592
2619
|
function m(t) {
|
|
@@ -2600,7 +2627,7 @@ function Mi({ id: e, label: t, className: n, children: a, onClickCapture: o, onF
|
|
|
2600
2627
|
"data-id": e,
|
|
2601
2628
|
"data-state": p ? "selected" : void 0,
|
|
2602
2629
|
tabIndex: d === e ? 0 : -1,
|
|
2603
|
-
className: B("flex items-center gap-3 border-b px-3 py-2.5 outline-none transition-colors hover:bg-muted/60", "focus-visible:
|
|
2630
|
+
className: B("flex items-center gap-3 border-b px-3 py-2.5 outline-none transition-colors hover:bg-muted/60", "focus-visible:shadow-[inset_3px_0_0_var(--brand)] focus-visible:bg-foreground/6 data-[state=selected]:bg-muted data-[state=selected]:focus-visible:bg-foreground/10", u.count > 0 && "cursor-pointer", n),
|
|
2604
2631
|
onClickCapture: h,
|
|
2605
2632
|
onFocus: (t) => {
|
|
2606
2633
|
f(e), s?.(t);
|
|
@@ -2618,7 +2645,7 @@ function Mi({ id: e, label: t, className: n, children: a, onClickCapture: o, onF
|
|
|
2618
2645
|
});
|
|
2619
2646
|
}
|
|
2620
2647
|
// src/ui/selectable-list/selection.hook.ts
|
|
2621
|
-
function
|
|
2648
|
+
function Pi(e, t = {}) {
|
|
2622
2649
|
let [n, r] = L(() => new Set(t.defaultSelected)), i = I(void 0), a = Ee(() => new Set(e.filter((e) => n.has(e))), [e, n]), o = a.size, s = o === 0 ? !1 : o === e.length || "indeterminate", c = P((e) => a.has(e), [a]), l = P((t, { range: n = !1 } = {}) => {
|
|
2623
2650
|
let o = !a.has(t), s = n && i.current !== void 0 ? e.indexOf(i.current) : -1, c = e.indexOf(t), l = Math.min(s, c) === -1 ? [t] : e.slice(Math.min(s, c), Math.max(s, c) + 1);
|
|
2624
2651
|
i.current = t, r((e) => {
|
|
@@ -2645,14 +2672,14 @@ function Ni(e, t = {}) {
|
|
|
2645
2672
|
};
|
|
2646
2673
|
}
|
|
2647
2674
|
// src/ui/sidebar/sidebar-context.hook.ts
|
|
2648
|
-
var
|
|
2675
|
+
var Fi = be(null);
|
|
2649
2676
|
function Z() {
|
|
2650
|
-
let e = Ce(
|
|
2677
|
+
let e = Ce(Fi);
|
|
2651
2678
|
if (!e) throw Error("A sidebar part must be inside a Sidebar.");
|
|
2652
2679
|
return e;
|
|
2653
2680
|
}
|
|
2654
2681
|
// src/ui/sidebar/sidebar.recipe.ts
|
|
2655
|
-
var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none",
|
|
2682
|
+
var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", Ii = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", Li = "flex h-9 w-full shrink-0 cursor-pointer items-center gap-3 rounded-md px-3 text-[13.5px] font-medium text-muted-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-sidebar-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-sidebar-ring [&_svg]:size-4 [&_svg]:shrink-0 aria-[current]:bg-brand-soft aria-[current]:text-brand-text", Ri = {
|
|
2656
2683
|
panel: {
|
|
2657
2684
|
open: "w-64 gap-2 px-1.5 py-2.5",
|
|
2658
2685
|
collapsed: "w-12 gap-2 px-1.5 pt-2.5 pb-24"
|
|
@@ -2662,12 +2689,12 @@ var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] durat
|
|
|
2662
2689
|
collapsed: "w-14 gap-4 px-2 py-3"
|
|
2663
2690
|
}
|
|
2664
2691
|
};
|
|
2665
|
-
function
|
|
2692
|
+
function zi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
|
|
2666
2693
|
let [d, f] = L(o), p = a ?? d;
|
|
2667
2694
|
function m(e) {
|
|
2668
2695
|
a === void 0 && f(e), s?.(e);
|
|
2669
2696
|
}
|
|
2670
|
-
return /* @__PURE__ */ r(
|
|
2697
|
+
return /* @__PURE__ */ r(Fi, {
|
|
2671
2698
|
value: {
|
|
2672
2699
|
collapsed: p,
|
|
2673
2700
|
setCollapsed: m,
|
|
@@ -2680,7 +2707,7 @@ function Ri({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
|
|
|
2680
2707
|
"data-variant": t,
|
|
2681
2708
|
"data-collapsed": p || void 0,
|
|
2682
2709
|
"aria-label": e,
|
|
2683
|
-
className: B("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ?
|
|
2710
|
+
className: B("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ? Ri[t].collapsed : Ri[t].open, c),
|
|
2684
2711
|
...u,
|
|
2685
2712
|
children: [l, t === "panel" && /* @__PURE__ */ r("span", {
|
|
2686
2713
|
"aria-hidden": "true",
|
|
@@ -2690,7 +2717,7 @@ function Ri({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
|
|
|
2690
2717
|
})
|
|
2691
2718
|
});
|
|
2692
2719
|
}
|
|
2693
|
-
function
|
|
2720
|
+
function Bi({ label: e, children: t }) {
|
|
2694
2721
|
let { collapsed: n, side: a } = Z(), [o, s] = L(!1);
|
|
2695
2722
|
return /* @__PURE__ */ i(pn, {
|
|
2696
2723
|
open: n && o,
|
|
@@ -2704,16 +2731,16 @@ function zi({ label: e, children: t }) {
|
|
|
2704
2731
|
})]
|
|
2705
2732
|
});
|
|
2706
2733
|
}
|
|
2707
|
-
function
|
|
2734
|
+
function Vi({ className: e, ...t }) {
|
|
2708
2735
|
let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = Z(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
|
|
2709
|
-
if (c === "nav") return /* @__PURE__ */ r(
|
|
2736
|
+
if (c === "nav") return /* @__PURE__ */ r(Bi, {
|
|
2710
2737
|
label: l,
|
|
2711
2738
|
children: /* @__PURE__ */ i("button", {
|
|
2712
2739
|
type: "button",
|
|
2713
2740
|
"aria-label": l,
|
|
2714
2741
|
"aria-expanded": !n,
|
|
2715
2742
|
onClick: () => a(!n),
|
|
2716
|
-
className: B(
|
|
2743
|
+
className: B(Li, e),
|
|
2717
2744
|
...t,
|
|
2718
2745
|
children: [/* @__PURE__ */ r(de, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
|
|
2719
2746
|
"aria-hidden": "true",
|
|
@@ -2735,7 +2762,7 @@ function Bi({ className: e, ...t }) {
|
|
|
2735
2762
|
children: r(u ? ie : ae, {})
|
|
2736
2763
|
});
|
|
2737
2764
|
}
|
|
2738
|
-
function
|
|
2765
|
+
function Hi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
|
|
2739
2766
|
let { collapsed: s, label: c, variant: l } = Z();
|
|
2740
2767
|
if (l === "nav") return /* @__PURE__ */ r("div", {
|
|
2741
2768
|
"data-slot": "sidebar-header",
|
|
@@ -2757,10 +2784,10 @@ function Vi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, clas
|
|
|
2757
2784
|
"aria-label": u,
|
|
2758
2785
|
startIcon: /* @__PURE__ */ r(he, {})
|
|
2759
2786
|
}), a]
|
|
2760
|
-
}), /* @__PURE__ */ r(
|
|
2787
|
+
}), /* @__PURE__ */ r(Vi, { className: "ms-auto" })]
|
|
2761
2788
|
});
|
|
2762
2789
|
}
|
|
2763
|
-
function
|
|
2790
|
+
function Ui({ className: e, ...t }) {
|
|
2764
2791
|
let { label: n, variant: i } = Z(), a = B("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto [scrollbar-width:thin]", "group-data-[collapsed]/sidebar:[scrollbar-width:none] group-data-[collapsed]/sidebar:[&::-webkit-scrollbar]:hidden", i === "panel" ? "gap-3" : "gap-4", e);
|
|
2765
2792
|
return i === "nav" ? /* @__PURE__ */ r("nav", {
|
|
2766
2793
|
"data-slot": "sidebar-content",
|
|
@@ -2773,12 +2800,12 @@ function Hi({ className: e, ...t }) {
|
|
|
2773
2800
|
...t
|
|
2774
2801
|
});
|
|
2775
2802
|
}
|
|
2776
|
-
function
|
|
2803
|
+
function Wi({ className: e, children: t, ...n }) {
|
|
2777
2804
|
let { collapsed: i } = Z();
|
|
2778
2805
|
return /* @__PURE__ */ r("div", {
|
|
2779
2806
|
"data-slot": "sidebar-note",
|
|
2780
2807
|
"aria-hidden": i || void 0,
|
|
2781
|
-
className: B(
|
|
2808
|
+
className: B(Ii, e),
|
|
2782
2809
|
...n,
|
|
2783
2810
|
children: /* @__PURE__ */ r("span", {
|
|
2784
2811
|
className: "min-h-0 truncate overflow-hidden px-3 text-xs whitespace-nowrap text-muted-foreground",
|
|
@@ -2786,7 +2813,7 @@ function Ui({ className: e, children: t, ...n }) {
|
|
|
2786
2813
|
})
|
|
2787
2814
|
});
|
|
2788
2815
|
}
|
|
2789
|
-
function
|
|
2816
|
+
function Gi({ className: e, ...t }) {
|
|
2790
2817
|
let { collapsed: n, variant: i } = Z();
|
|
2791
2818
|
return i === "panel" && n ? null : /* @__PURE__ */ r("div", {
|
|
2792
2819
|
"data-slot": "sidebar-footer",
|
|
@@ -2795,7 +2822,7 @@ function Wi({ className: e, ...t }) {
|
|
|
2795
2822
|
});
|
|
2796
2823
|
}
|
|
2797
2824
|
// src/ui/sidebar/sidebar-group.component.tsx
|
|
2798
|
-
function
|
|
2825
|
+
function Ki({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
|
|
2799
2826
|
let { collapsed: u, variant: d } = Z(), [f, p] = L(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
|
|
2800
2827
|
return m ? /* @__PURE__ */ i(l.Root, {
|
|
2801
2828
|
"data-slot": "sidebar-group",
|
|
@@ -2839,7 +2866,7 @@ function Gi({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collap
|
|
|
2839
2866
|
});
|
|
2840
2867
|
}
|
|
2841
2868
|
// src/ui/sidebar/sidebar-item.component.tsx
|
|
2842
|
-
function
|
|
2869
|
+
function qi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foreground)", badge: c, active: l = !1, asChild: u = !1, className: d, children: f, ...p }) {
|
|
2843
2870
|
let { collapsed: m, variant: h } = Z(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
|
|
2844
2871
|
/* @__PURE__ */ r("span", {
|
|
2845
2872
|
"aria-hidden": "true",
|
|
@@ -2878,7 +2905,7 @@ function Ki({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2878
2905
|
className: B("ms-auto text-[11px] text-muted-foreground tabular-nums", Q),
|
|
2879
2906
|
children: c
|
|
2880
2907
|
})
|
|
2881
|
-
] }), v = h === "nav" ? B(
|
|
2908
|
+
] }), v = h === "nav" ? B(Li, d) : B("group/item flex cursor-pointer items-center rounded-md border border-transparent text-start text-sidebar-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none", "hover:border-sidebar-border hover:bg-background focus-visible:ring-2 focus-visible:ring-sidebar-ring disabled:cursor-not-allowed disabled:opacity-50", "aria-[current]:border-transparent aria-[current]:bg-brand-soft aria-[current]:text-brand-text", "w-full gap-2 px-[13px] py-1.5", d), y = {
|
|
2882
2909
|
"data-slot": "sidebar-item",
|
|
2883
2910
|
"aria-current": g,
|
|
2884
2911
|
"aria-label": m ? e : void 0,
|
|
@@ -2886,23 +2913,23 @@ function Ki({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2886
2913
|
}, b = u && xe(f) ? /* @__PURE__ */ r(C.Root, {
|
|
2887
2914
|
...y,
|
|
2888
2915
|
...p,
|
|
2889
|
-
children:
|
|
2916
|
+
children: Ji(f, _)
|
|
2890
2917
|
}) : /* @__PURE__ */ r("button", {
|
|
2891
2918
|
type: "button",
|
|
2892
2919
|
...y,
|
|
2893
2920
|
...p,
|
|
2894
2921
|
children: _
|
|
2895
2922
|
});
|
|
2896
|
-
return /* @__PURE__ */ r(
|
|
2923
|
+
return /* @__PURE__ */ r(Bi, {
|
|
2897
2924
|
label: e,
|
|
2898
2925
|
children: b
|
|
2899
2926
|
});
|
|
2900
2927
|
}
|
|
2901
|
-
function
|
|
2928
|
+
function Ji(e, t) {
|
|
2902
2929
|
return ye(e, void 0, t);
|
|
2903
2930
|
}
|
|
2904
2931
|
// src/ui/sidebar/sidebar-sheet.component.tsx
|
|
2905
|
-
function
|
|
2932
|
+
function Yi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
|
|
2906
2933
|
return /* @__PURE__ */ i(an, {
|
|
2907
2934
|
open: a,
|
|
2908
2935
|
onOpenChange: o,
|
|
@@ -2927,7 +2954,7 @@ function Ji({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
|
|
|
2927
2954
|
});
|
|
2928
2955
|
}
|
|
2929
2956
|
// src/product/product-switcher.component.tsx
|
|
2930
|
-
function
|
|
2957
|
+
function Xi({ product: e, workspace: t, products: n = qe, onProductChange: a, className: o }) {
|
|
2931
2958
|
return /* @__PURE__ */ i(Fn, { children: [/* @__PURE__ */ r(In, {
|
|
2932
2959
|
asChild: !0,
|
|
2933
2960
|
children: /* @__PURE__ */ i(J, {
|
|
@@ -2974,7 +3001,7 @@ function Yi({ product: e, workspace: t, products: n = qe, onProductChange: a, cl
|
|
|
2974
3001
|
})] });
|
|
2975
3002
|
}
|
|
2976
3003
|
// src/product/sidebar-brand.component.tsx
|
|
2977
|
-
function
|
|
3004
|
+
function Zi({ product: e, badge: t, className: n }) {
|
|
2978
3005
|
let { collapsed: a, setCollapsed: o } = Z(), s = V[e].name;
|
|
2979
3006
|
return /* @__PURE__ */ i("div", {
|
|
2980
3007
|
"data-slot": "sidebar-brand",
|
|
@@ -3004,7 +3031,7 @@ function Xi({ product: e, badge: t, className: n }) {
|
|
|
3004
3031
|
});
|
|
3005
3032
|
}
|
|
3006
3033
|
// src/app/command-shortcut.hook.ts
|
|
3007
|
-
function
|
|
3034
|
+
function Qi(e, t = !0) {
|
|
3008
3035
|
F(() => {
|
|
3009
3036
|
if (!t) return;
|
|
3010
3037
|
function n(t) {
|
|
@@ -3013,42 +3040,43 @@ function Zi(e, t = !0) {
|
|
|
3013
3040
|
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
3014
3041
|
}, [e, t]);
|
|
3015
3042
|
}
|
|
3016
|
-
function
|
|
3043
|
+
function $i(e) {
|
|
3017
3044
|
return /mac|iphone|ipad|ipod/i.test(e) ? "⌘K" : "Ctrl+K";
|
|
3018
3045
|
}
|
|
3019
|
-
function
|
|
3020
|
-
function ea() {
|
|
3021
|
-
return $i;
|
|
3022
|
-
}
|
|
3046
|
+
function ea() {}
|
|
3023
3047
|
function ta() {
|
|
3024
|
-
return
|
|
3048
|
+
return ea;
|
|
3025
3049
|
}
|
|
3026
3050
|
function na() {
|
|
3027
|
-
return
|
|
3051
|
+
return navigator.userAgentData?.platform ?? navigator.platform;
|
|
3028
3052
|
}
|
|
3029
3053
|
function ra() {
|
|
3030
|
-
return
|
|
3054
|
+
return "";
|
|
3055
|
+
}
|
|
3056
|
+
function ia() {
|
|
3057
|
+
return $i(De(ta, na, ra));
|
|
3031
3058
|
}
|
|
3032
3059
|
// src/app/app-shell.component.tsx
|
|
3033
|
-
var
|
|
3034
|
-
function
|
|
3060
|
+
var aa = "flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] [&>*]:shrink-0 has-[>[data-slot=app-shell-body]]:gap-0 has-[>[data-slot=app-shell-body]]:overflow-hidden has-[>[data-slot=app-shell-body]]:p-0";
|
|
3061
|
+
function oa({ children: e, className: t }) {
|
|
3035
3062
|
return /* @__PURE__ */ r("div", {
|
|
3036
3063
|
"data-slot": "app-shell-header",
|
|
3037
3064
|
className: B("shrink-0 border-b px-6 py-4", t),
|
|
3038
3065
|
children: e
|
|
3039
3066
|
});
|
|
3040
3067
|
}
|
|
3041
|
-
|
|
3068
|
+
var sa = "flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] [&>*]:shrink-0 has-[>[data-slot=split-view]]:gap-0 has-[>[data-slot=split-view]]:overflow-hidden has-[>[data-slot=split-view]]:p-0";
|
|
3069
|
+
function ca({ children: e, className: t }) {
|
|
3042
3070
|
return /* @__PURE__ */ r("div", {
|
|
3043
3071
|
"data-slot": "app-shell-body",
|
|
3044
|
-
className: B(
|
|
3072
|
+
className: B(sa, t),
|
|
3045
3073
|
children: e
|
|
3046
3074
|
});
|
|
3047
3075
|
}
|
|
3048
|
-
function
|
|
3076
|
+
function la({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, sidebarNote: u, user: d, breadcrumb: f, topActions: p, statusBar: m, commands: h, children: g, className: _ }) {
|
|
3049
3077
|
let [v, y] = L(!1), b = P(() => y(!0), []);
|
|
3050
|
-
|
|
3051
|
-
let x =
|
|
3078
|
+
Qi(b, !!h?.length);
|
|
3079
|
+
let x = ia(), ee = [...new Set(h?.map((e) => e.group))], S = (e) => /* @__PURE__ */ r(qi, {
|
|
3052
3080
|
asChild: !0,
|
|
3053
3081
|
title: e.label,
|
|
3054
3082
|
icon: e.icon,
|
|
@@ -3059,17 +3087,17 @@ function sa({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
3059
3087
|
children: e.label
|
|
3060
3088
|
})
|
|
3061
3089
|
}, e.href), C = /* @__PURE__ */ i(n, { children: [
|
|
3062
|
-
/* @__PURE__ */ r(
|
|
3090
|
+
/* @__PURE__ */ r(Hi, {
|
|
3063
3091
|
className: "h-12",
|
|
3064
|
-
children: t === "logo" ? /* @__PURE__ */ r(
|
|
3092
|
+
children: t === "logo" ? /* @__PURE__ */ r(Zi, { product: e }) : /* @__PURE__ */ r(Xi, {
|
|
3065
3093
|
product: e,
|
|
3066
3094
|
workspace: a,
|
|
3067
3095
|
onProductChange: o,
|
|
3068
3096
|
className: "px-2.5"
|
|
3069
3097
|
})
|
|
3070
3098
|
}),
|
|
3071
|
-
/* @__PURE__ */ i(
|
|
3072
|
-
h?.length ? /* @__PURE__ */ r(
|
|
3099
|
+
/* @__PURE__ */ i(Ui, { children: [
|
|
3100
|
+
h?.length ? /* @__PURE__ */ r(qi, {
|
|
3073
3101
|
title: "Search",
|
|
3074
3102
|
icon: /* @__PURE__ */ r(he, {}),
|
|
3075
3103
|
badge: /* @__PURE__ */ r(wr, {
|
|
@@ -3082,12 +3110,12 @@ function sa({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
3082
3110
|
className: "flex flex-col gap-0.5",
|
|
3083
3111
|
children: s.map((e) => S(e))
|
|
3084
3112
|
}),
|
|
3085
|
-
c && /* @__PURE__ */ r(
|
|
3113
|
+
c && /* @__PURE__ */ r(Ki, {
|
|
3086
3114
|
title: c.title,
|
|
3087
3115
|
children: c.items.map((e) => S(e))
|
|
3088
3116
|
})
|
|
3089
3117
|
] }),
|
|
3090
|
-
/* @__PURE__ */ i(
|
|
3118
|
+
/* @__PURE__ */ i(Gi, { children: [
|
|
3091
3119
|
l && /* @__PURE__ */ r("div", {
|
|
3092
3120
|
className: Q,
|
|
3093
3121
|
children: l
|
|
@@ -3105,15 +3133,15 @@ function sa({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
3105
3133
|
})]
|
|
3106
3134
|
})]
|
|
3107
3135
|
}),
|
|
3108
|
-
/* @__PURE__ */ r(
|
|
3109
|
-
u && /* @__PURE__ */ r(
|
|
3136
|
+
/* @__PURE__ */ r(Vi, {}),
|
|
3137
|
+
u && /* @__PURE__ */ r(Wi, { children: u })
|
|
3110
3138
|
] })
|
|
3111
3139
|
] });
|
|
3112
3140
|
return /* @__PURE__ */ i("div", {
|
|
3113
3141
|
"data-slot": "app-shell",
|
|
3114
3142
|
className: B("flex h-dvh overflow-hidden bg-background", _),
|
|
3115
3143
|
children: [
|
|
3116
|
-
/* @__PURE__ */ r(
|
|
3144
|
+
/* @__PURE__ */ r(zi, {
|
|
3117
3145
|
variant: "nav",
|
|
3118
3146
|
label: "Workspace",
|
|
3119
3147
|
className: "h-dvh max-md:hidden",
|
|
@@ -3126,10 +3154,10 @@ function sa({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
3126
3154
|
"data-slot": "app-top-bar",
|
|
3127
3155
|
className: B("flex h-14 shrink-0 flex-wrap items-center gap-3 border-b px-6", !f && !p && "md:hidden"),
|
|
3128
3156
|
children: [
|
|
3129
|
-
/* @__PURE__ */ r(
|
|
3157
|
+
/* @__PURE__ */ r(Yi, {
|
|
3130
3158
|
label: "Workspace",
|
|
3131
3159
|
className: "-ms-2 md:hidden",
|
|
3132
|
-
children: /* @__PURE__ */ r(
|
|
3160
|
+
children: /* @__PURE__ */ r(zi, {
|
|
3133
3161
|
variant: "nav",
|
|
3134
3162
|
label: "Workspace",
|
|
3135
3163
|
collapsed: !1,
|
|
@@ -3146,7 +3174,7 @@ function sa({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
3146
3174
|
}),
|
|
3147
3175
|
/* @__PURE__ */ r("main", {
|
|
3148
3176
|
"data-slot": "app-shell-page",
|
|
3149
|
-
className:
|
|
3177
|
+
className: aa,
|
|
3150
3178
|
children: g
|
|
3151
3179
|
}),
|
|
3152
3180
|
m && /* @__PURE__ */ r("footer", {
|
|
@@ -3174,7 +3202,7 @@ function sa({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
3174
3202
|
});
|
|
3175
3203
|
}
|
|
3176
3204
|
// src/app/filter-bar.component.tsx
|
|
3177
|
-
function
|
|
3205
|
+
function ua({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
|
|
3178
3206
|
return /* @__PURE__ */ i("div", {
|
|
3179
3207
|
"data-slot": "filter-bar",
|
|
3180
3208
|
role: "search",
|
|
@@ -3199,7 +3227,7 @@ function ca({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
|
|
|
3199
3227
|
]
|
|
3200
3228
|
});
|
|
3201
3229
|
}
|
|
3202
|
-
function
|
|
3230
|
+
function da({ label: e, count: t = 0, icon: n, className: a, ...o }) {
|
|
3203
3231
|
return /* @__PURE__ */ i(J, {
|
|
3204
3232
|
variant: "outline",
|
|
3205
3233
|
size: "sm",
|
|
@@ -3218,7 +3246,7 @@ function la({ label: e, count: t = 0, icon: n, className: a, ...o }) {
|
|
|
3218
3246
|
});
|
|
3219
3247
|
}
|
|
3220
3248
|
// src/app/form-section.component.tsx
|
|
3221
|
-
function
|
|
3249
|
+
function fa({ title: e, description: t, children: n, actions: a, className: o }) {
|
|
3222
3250
|
return /* @__PURE__ */ i("section", {
|
|
3223
3251
|
"data-slot": "form-section",
|
|
3224
3252
|
className: B("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
|
|
@@ -3244,7 +3272,7 @@ function ua({ title: e, description: t, children: n, actions: a, className: o })
|
|
|
3244
3272
|
});
|
|
3245
3273
|
}
|
|
3246
3274
|
// src/app/page-header.component.tsx
|
|
3247
|
-
function
|
|
3275
|
+
function pa({ title: e, description: t, actions: n, tabs: a, className: o }) {
|
|
3248
3276
|
return /* @__PURE__ */ i("div", {
|
|
3249
3277
|
"data-slot": "page-header",
|
|
3250
3278
|
className: B("flex flex-col gap-4", o),
|
|
@@ -3267,7 +3295,7 @@ function da({ title: e, description: t, actions: n, tabs: a, className: o }) {
|
|
|
3267
3295
|
});
|
|
3268
3296
|
}
|
|
3269
3297
|
// src/app/records-table.component.tsx
|
|
3270
|
-
function
|
|
3298
|
+
function ma({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
|
|
3271
3299
|
let u = a !== void 0, d = e.map((e) => n(e)), f = d.filter((e) => a?.has(e)).length, p = f === 0 ? !1 : f === d.length || "indeterminate";
|
|
3272
3300
|
function m(e, t) {
|
|
3273
3301
|
let n = new Set(a);
|
|
@@ -3336,8 +3364,56 @@ function fa({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
3336
3364
|
}) })]
|
|
3337
3365
|
});
|
|
3338
3366
|
}
|
|
3367
|
+
// src/app/split-view.component.tsx
|
|
3368
|
+
function ha({ list: e, detail: t, listLabel: n, detailLabel: a, listMinSize: o = 280, listDefaultSize: s = 352, detailMinSize: c = 360, onListSizeChange: l, className: u }) {
|
|
3369
|
+
let d = I(null), f = I(void 0), p = I(0);
|
|
3370
|
+
F(() => () => cancelAnimationFrame(p.current), []);
|
|
3371
|
+
let m = P((e, t) => {
|
|
3372
|
+
l && t.isUserInteraction && (cancelAnimationFrame(p.current), p.current = requestAnimationFrame(() => {
|
|
3373
|
+
let e = d.current;
|
|
3374
|
+
if (!e) return;
|
|
3375
|
+
let t = Math.round(e.getSize().inPixels);
|
|
3376
|
+
t !== f.current && (f.current = t, l(t));
|
|
3377
|
+
}));
|
|
3378
|
+
}, [l]);
|
|
3379
|
+
return /* @__PURE__ */ r("div", {
|
|
3380
|
+
"data-slot": "split-view",
|
|
3381
|
+
className: B("flex min-h-0 min-w-0 flex-1", u),
|
|
3382
|
+
children: /* @__PURE__ */ i(Tr, {
|
|
3383
|
+
orientation: "horizontal",
|
|
3384
|
+
onLayoutChanged: m,
|
|
3385
|
+
children: [
|
|
3386
|
+
/* @__PURE__ */ r(Er, {
|
|
3387
|
+
id: "list",
|
|
3388
|
+
panelRef: d,
|
|
3389
|
+
minSize: o,
|
|
3390
|
+
defaultSize: s,
|
|
3391
|
+
className: "p-6 [scrollbar-gutter:stable]",
|
|
3392
|
+
children: /* @__PURE__ */ r("section", {
|
|
3393
|
+
"data-slot": "split-view-list",
|
|
3394
|
+
"aria-label": n,
|
|
3395
|
+
className: "flex flex-col gap-5",
|
|
3396
|
+
children: e
|
|
3397
|
+
})
|
|
3398
|
+
}),
|
|
3399
|
+
/* @__PURE__ */ r(Dr, {}),
|
|
3400
|
+
/* @__PURE__ */ r(Er, {
|
|
3401
|
+
id: "detail",
|
|
3402
|
+
minSize: c,
|
|
3403
|
+
className: "p-6 [scrollbar-gutter:stable]",
|
|
3404
|
+
children: /* @__PURE__ */ r("section", {
|
|
3405
|
+
"data-slot": "split-view-detail",
|
|
3406
|
+
"aria-label": a,
|
|
3407
|
+
className: "flex flex-col gap-5",
|
|
3408
|
+
children: t
|
|
3409
|
+
})
|
|
3410
|
+
})
|
|
3411
|
+
]
|
|
3412
|
+
})
|
|
3413
|
+
});
|
|
3414
|
+
}
|
|
3339
3415
|
// src/app/sparkline.algorithm.ts
|
|
3340
|
-
function
|
|
3416
|
+
function ga(e, t, n, r = 2) {
|
|
3341
3417
|
if (e.length < 2) return "";
|
|
3342
3418
|
let i = Math.min(...e), a = Math.max(...e) - i, o = n - r * 2, s = t / (e.length - 1);
|
|
3343
3419
|
return e.map((e, t) => {
|
|
@@ -3346,13 +3422,13 @@ function pa(e, t, n, r = 2) {
|
|
|
3346
3422
|
}).join(" ");
|
|
3347
3423
|
}
|
|
3348
3424
|
// src/app/stat-card.component.tsx
|
|
3349
|
-
var
|
|
3425
|
+
var _a = {
|
|
3350
3426
|
positive: "text-success",
|
|
3351
3427
|
negative: "text-destructive",
|
|
3352
3428
|
neutral: "text-muted-foreground"
|
|
3353
3429
|
};
|
|
3354
|
-
function
|
|
3355
|
-
let c = o ?
|
|
3430
|
+
function va({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
|
|
3431
|
+
let c = o ? ga(o, 100, 32) : "";
|
|
3356
3432
|
return /* @__PURE__ */ i(vr, {
|
|
3357
3433
|
"data-slot": "stat-card",
|
|
3358
3434
|
className: B("gap-1.5 p-4", s),
|
|
@@ -3384,14 +3460,14 @@ function ha({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
|
|
|
3384
3460
|
})]
|
|
3385
3461
|
}),
|
|
3386
3462
|
n && /* @__PURE__ */ r("span", {
|
|
3387
|
-
className: B("text-xs",
|
|
3463
|
+
className: B("text-xs", _a[a]),
|
|
3388
3464
|
children: n
|
|
3389
3465
|
})
|
|
3390
3466
|
]
|
|
3391
3467
|
});
|
|
3392
3468
|
}
|
|
3393
3469
|
// src/status/run-status.contract.ts
|
|
3394
|
-
var
|
|
3470
|
+
var ya = [
|
|
3395
3471
|
"queued",
|
|
3396
3472
|
"waiting",
|
|
3397
3473
|
"running",
|
|
@@ -3399,7 +3475,7 @@ var ga = [
|
|
|
3399
3475
|
"no-records",
|
|
3400
3476
|
"failed",
|
|
3401
3477
|
"off"
|
|
3402
|
-
],
|
|
3478
|
+
], ba = {
|
|
3403
3479
|
queued: {
|
|
3404
3480
|
label: "Queued",
|
|
3405
3481
|
variant: "secondary",
|
|
@@ -3436,12 +3512,12 @@ var ga = [
|
|
|
3436
3512
|
live: !1
|
|
3437
3513
|
}
|
|
3438
3514
|
};
|
|
3439
|
-
function
|
|
3440
|
-
return
|
|
3515
|
+
function xa(e) {
|
|
3516
|
+
return ba[e];
|
|
3441
3517
|
}
|
|
3442
3518
|
// src/status/status-badge.component.tsx
|
|
3443
|
-
function
|
|
3444
|
-
let { label: n, variant: i, live: a } =
|
|
3519
|
+
function Sa({ status: e, ...t }) {
|
|
3520
|
+
let { label: n, variant: i, live: a } = xa(e);
|
|
3445
3521
|
return /* @__PURE__ */ r(K, {
|
|
3446
3522
|
variant: i,
|
|
3447
3523
|
dot: a,
|
|
@@ -3451,7 +3527,7 @@ function ya({ status: e, ...t }) {
|
|
|
3451
3527
|
});
|
|
3452
3528
|
}
|
|
3453
3529
|
// src/desktop/flow-node.component.tsx
|
|
3454
|
-
function
|
|
3530
|
+
function Ca({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
|
|
3455
3531
|
return /* @__PURE__ */ i("button", {
|
|
3456
3532
|
type: "button",
|
|
3457
3533
|
"data-slot": "flow-node",
|
|
@@ -3469,7 +3545,7 @@ function ba({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
|
|
|
3469
3545
|
className: "font-semibold",
|
|
3470
3546
|
children: e
|
|
3471
3547
|
}),
|
|
3472
|
-
/* @__PURE__ */ r(
|
|
3548
|
+
/* @__PURE__ */ r(Sa, {
|
|
3473
3549
|
status: n,
|
|
3474
3550
|
className: "ms-auto h-[18px] text-[11px]"
|
|
3475
3551
|
})
|
|
@@ -3481,7 +3557,7 @@ function ba({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
|
|
|
3481
3557
|
});
|
|
3482
3558
|
}
|
|
3483
3559
|
// src/desktop/inspector.component.tsx
|
|
3484
|
-
function
|
|
3560
|
+
function wa({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
|
|
3485
3561
|
return /* @__PURE__ */ i("aside", {
|
|
3486
3562
|
"data-slot": "inspector",
|
|
3487
3563
|
"aria-label": "Inspector",
|
|
@@ -3529,7 +3605,7 @@ function xa({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
|
|
|
3529
3605
|
});
|
|
3530
3606
|
}
|
|
3531
3607
|
// src/desktop/status-bar.component.tsx
|
|
3532
|
-
function
|
|
3608
|
+
function Ta({ start: e, end: t, className: n }) {
|
|
3533
3609
|
return /* @__PURE__ */ i("div", {
|
|
3534
3610
|
"data-slot": "status-bar",
|
|
3535
3611
|
role: "status",
|
|
@@ -3541,7 +3617,7 @@ function Sa({ start: e, end: t, className: n }) {
|
|
|
3541
3617
|
});
|
|
3542
3618
|
}
|
|
3543
3619
|
// src/desktop/timeline.algorithm.ts
|
|
3544
|
-
function
|
|
3620
|
+
function Ea(e, t, n) {
|
|
3545
3621
|
if (n <= 0) return {
|
|
3546
3622
|
left: 0,
|
|
3547
3623
|
width: 0
|
|
@@ -3552,7 +3628,7 @@ function Ca(e, t, n) {
|
|
|
3552
3628
|
width: Math.max(0, r(t) - i)
|
|
3553
3629
|
};
|
|
3554
3630
|
}
|
|
3555
|
-
function
|
|
3631
|
+
function Da(e, t) {
|
|
3556
3632
|
let n = Math.max(2, t);
|
|
3557
3633
|
return Array.from({ length: n }, (t, r) => Math.round(e * r / (n - 1)));
|
|
3558
3634
|
}
|
|
@@ -3560,17 +3636,17 @@ function wa(e, t) {
|
|
|
3560
3636
|
function $(e) {
|
|
3561
3637
|
return String(e).padStart(2, "0");
|
|
3562
3638
|
}
|
|
3563
|
-
function
|
|
3639
|
+
function Oa(e, t = !1) {
|
|
3564
3640
|
let n = Math.max(0, Math.floor(e)), r = Math.floor(n / 3600), i = Math.floor(n % 3600 / 60), a = n % 60;
|
|
3565
3641
|
return t || r > 0 ? `${$(r)}:${$(i)}:${$(a)}` : `${$(i)}:${$(a)}`;
|
|
3566
3642
|
}
|
|
3567
|
-
function
|
|
3643
|
+
function ka(e, t) {
|
|
3568
3644
|
let n = new Date(e.getTime() + t * 1e3);
|
|
3569
3645
|
return `${$(n.getHours())}:${$(n.getMinutes())}`;
|
|
3570
3646
|
}
|
|
3571
3647
|
// src/desktop/timeline-lanes.component.tsx
|
|
3572
|
-
function
|
|
3573
|
-
let c = (e) => o ?
|
|
3648
|
+
function Aa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
|
|
3649
|
+
let c = (e) => o ? ka(o, e) : Oa(e), l = n === void 0 ? void 0 : Ea(0, n, e).width;
|
|
3574
3650
|
return /* @__PURE__ */ i("div", {
|
|
3575
3651
|
"data-slot": "timeline-lanes",
|
|
3576
3652
|
role: "group",
|
|
@@ -3580,7 +3656,7 @@ function Da({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
3580
3656
|
/* @__PURE__ */ r("div", {
|
|
3581
3657
|
className: "flex h-[26px] items-center border-b ps-[118px] pe-2.5",
|
|
3582
3658
|
"aria-hidden": "true",
|
|
3583
|
-
children:
|
|
3659
|
+
children: Da(e, a).map((e) => /* @__PURE__ */ r("span", {
|
|
3584
3660
|
className: "flex-1 text-xs tabular-nums text-muted-foreground",
|
|
3585
3661
|
children: c(e)
|
|
3586
3662
|
}, e))
|
|
@@ -3596,7 +3672,7 @@ function Da({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
3596
3672
|
}), /* @__PURE__ */ r("div", {
|
|
3597
3673
|
className: "relative me-2.5 h-[26px] flex-1",
|
|
3598
3674
|
children: t.segments.map((n) => {
|
|
3599
|
-
let a =
|
|
3675
|
+
let a = Ea(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
|
|
3600
3676
|
return /* @__PURE__ */ i(pn, { children: [/* @__PURE__ */ r(mn, {
|
|
3601
3677
|
asChild: !0,
|
|
3602
3678
|
children: /* @__PURE__ */ r("button", {
|
|
@@ -3621,7 +3697,7 @@ function Da({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
3621
3697
|
});
|
|
3622
3698
|
}
|
|
3623
3699
|
// src/desktop/title-bar.component.tsx
|
|
3624
|
-
function
|
|
3700
|
+
function ja({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
|
|
3625
3701
|
let l = [
|
|
3626
3702
|
{
|
|
3627
3703
|
label: "Minimise",
|
|
@@ -3669,7 +3745,7 @@ function Oa({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
|
|
|
3669
3745
|
});
|
|
3670
3746
|
}
|
|
3671
3747
|
// src/mobile/bottom-nav.component.tsx
|
|
3672
|
-
function
|
|
3748
|
+
function Ma({ items: e, className: t }) {
|
|
3673
3749
|
return /* @__PURE__ */ r("nav", {
|
|
3674
3750
|
"data-slot": "bottom-nav",
|
|
3675
3751
|
"aria-label": "Tabs",
|
|
@@ -3691,7 +3767,7 @@ function ka({ items: e, className: t }) {
|
|
|
3691
3767
|
});
|
|
3692
3768
|
}
|
|
3693
3769
|
// src/mobile/capture-frame.component.tsx
|
|
3694
|
-
function
|
|
3770
|
+
function Na({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
|
|
3695
3771
|
let l = a.filter((e) => !e.passed).length;
|
|
3696
3772
|
return /* @__PURE__ */ i("div", {
|
|
3697
3773
|
"data-slot": "capture-frame",
|
|
@@ -3774,7 +3850,7 @@ function Aa({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
|
|
|
3774
3850
|
});
|
|
3775
3851
|
}
|
|
3776
3852
|
// src/mobile/record-button.component.tsx
|
|
3777
|
-
function
|
|
3853
|
+
function Pa({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
|
|
3778
3854
|
let u = {
|
|
3779
3855
|
idle: {
|
|
3780
3856
|
label: "Start recording",
|
|
@@ -3818,7 +3894,7 @@ function ja({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
|
|
|
3818
3894
|
/* @__PURE__ */ r("span", {
|
|
3819
3895
|
className: "ms-auto text-[13px] font-semibold tabular-nums",
|
|
3820
3896
|
"aria-label": "Recorded time",
|
|
3821
|
-
children:
|
|
3897
|
+
children: Oa(t, !0)
|
|
3822
3898
|
})
|
|
3823
3899
|
]
|
|
3824
3900
|
}),
|
|
@@ -3849,7 +3925,7 @@ function ja({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
|
|
|
3849
3925
|
});
|
|
3850
3926
|
}
|
|
3851
3927
|
// src/web/cta-band.component.tsx
|
|
3852
|
-
function
|
|
3928
|
+
function Fa({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
|
|
3853
3929
|
let c = we();
|
|
3854
3930
|
function l(e) {
|
|
3855
3931
|
e.preventDefault();
|
|
@@ -3902,7 +3978,7 @@ function Ma({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
3902
3978
|
});
|
|
3903
3979
|
}
|
|
3904
3980
|
// src/web/faq.component.tsx
|
|
3905
|
-
function
|
|
3981
|
+
function Ia({ title: e, items: t, className: n }) {
|
|
3906
3982
|
return /* @__PURE__ */ r("section", {
|
|
3907
3983
|
"data-slot": "faq",
|
|
3908
3984
|
className: B("py-22", n),
|
|
@@ -3926,7 +4002,7 @@ function Na({ title: e, items: t, className: n }) {
|
|
|
3926
4002
|
});
|
|
3927
4003
|
}
|
|
3928
4004
|
// src/web/feature-grid.component.tsx
|
|
3929
|
-
function
|
|
4005
|
+
function La({ title: e, lead: t, features: n, className: a }) {
|
|
3930
4006
|
return /* @__PURE__ */ r("section", {
|
|
3931
4007
|
"data-slot": "feature-grid",
|
|
3932
4008
|
className: B("border-y bg-canvas py-22", a),
|
|
@@ -3966,7 +4042,7 @@ function Pa({ title: e, lead: t, features: n, className: a }) {
|
|
|
3966
4042
|
});
|
|
3967
4043
|
}
|
|
3968
4044
|
// src/web/hero.component.tsx
|
|
3969
|
-
function
|
|
4045
|
+
function Ra({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
|
|
3970
4046
|
return /* @__PURE__ */ r("section", {
|
|
3971
4047
|
"data-slot": "hero",
|
|
3972
4048
|
className: B("pt-22 pb-14", o),
|
|
@@ -3995,7 +4071,7 @@ function Fa({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
|
|
|
3995
4071
|
});
|
|
3996
4072
|
}
|
|
3997
4073
|
// src/web/how-it-works.component.tsx
|
|
3998
|
-
function
|
|
4074
|
+
function za({ title: e, lead: t, link: n, steps: a, className: o }) {
|
|
3999
4075
|
return /* @__PURE__ */ r("section", {
|
|
4000
4076
|
"data-slot": "how-it-works",
|
|
4001
4077
|
className: B("py-22", o),
|
|
@@ -4038,12 +4114,12 @@ function Ia({ title: e, lead: t, link: n, steps: a, className: o }) {
|
|
|
4038
4114
|
});
|
|
4039
4115
|
}
|
|
4040
4116
|
// src/web/mobile-menu.component.tsx
|
|
4041
|
-
var
|
|
4042
|
-
function
|
|
4117
|
+
var Ba = 400;
|
|
4118
|
+
function Va({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
4043
4119
|
let [o, s] = L(!1), [c, l] = L(), [u, f] = L(!1), p = I(null);
|
|
4044
4120
|
F(() => {
|
|
4045
4121
|
if (o) return;
|
|
4046
|
-
let e = setTimeout(() => f(!1),
|
|
4122
|
+
let e = setTimeout(() => f(!1), Ba);
|
|
4047
4123
|
return () => clearTimeout(e);
|
|
4048
4124
|
}, [o]), F(() => {
|
|
4049
4125
|
if (!o) return;
|
|
@@ -4139,7 +4215,7 @@ function Ra({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
|
4139
4215
|
});
|
|
4140
4216
|
}
|
|
4141
4217
|
// src/web/pricing-table.component.tsx
|
|
4142
|
-
function
|
|
4218
|
+
function Ha({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
|
|
4143
4219
|
let [l, u] = L(a);
|
|
4144
4220
|
return /* @__PURE__ */ r("section", {
|
|
4145
4221
|
"data-slot": "pricing-table",
|
|
@@ -4226,7 +4302,7 @@ function za({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
4226
4302
|
});
|
|
4227
4303
|
}
|
|
4228
4304
|
// src/web/product-card.component.tsx
|
|
4229
|
-
function
|
|
4305
|
+
function Ua({ product: e, href: t, description: n, stage: a, className: o }) {
|
|
4230
4306
|
let s = V[e];
|
|
4231
4307
|
return /* @__PURE__ */ i("a", {
|
|
4232
4308
|
"data-slot": "product-card",
|
|
@@ -4264,7 +4340,7 @@ function Ba({ product: e, href: t, description: n, stage: a, className: o }) {
|
|
|
4264
4340
|
});
|
|
4265
4341
|
}
|
|
4266
4342
|
// src/web/site-footer.component.tsx
|
|
4267
|
-
function
|
|
4343
|
+
function Wa({ tagline: e, columns: t, legal: n, className: a }) {
|
|
4268
4344
|
return /* @__PURE__ */ i("footer", {
|
|
4269
4345
|
"data-slot": "site-footer",
|
|
4270
4346
|
className: B("border-t pt-14 pb-10", a),
|
|
@@ -4305,7 +4381,7 @@ function Va({ tagline: e, columns: t, legal: n, className: a }) {
|
|
|
4305
4381
|
});
|
|
4306
4382
|
}
|
|
4307
4383
|
// src/web/site-header.component.tsx
|
|
4308
|
-
function
|
|
4384
|
+
function Ga({ nav: e, actions: t, brand: a, className: o }) {
|
|
4309
4385
|
let s = a ?? /* @__PURE__ */ i("a", {
|
|
4310
4386
|
href: "/",
|
|
4311
4387
|
className: "flex items-center gap-2 no-underline",
|
|
@@ -4351,7 +4427,7 @@ function Ha({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
4351
4427
|
className: "ms-auto hidden items-center gap-2 md:flex",
|
|
4352
4428
|
children: t
|
|
4353
4429
|
}),
|
|
4354
|
-
/* @__PURE__ */ r(
|
|
4430
|
+
/* @__PURE__ */ r(Va, {
|
|
4355
4431
|
className: "ms-auto md:hidden",
|
|
4356
4432
|
links: e.flatMap((e) => e.links ?? [{
|
|
4357
4433
|
label: e.label,
|
|
@@ -4363,6 +4439,6 @@ function Ha({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
4363
4439
|
})
|
|
4364
4440
|
});
|
|
4365
4441
|
}
|
|
4366
|
-
export { mr as Accordion, _r as AccordionContent, hr as AccordionItem, gr as AccordionTrigger, ir as Alert, Mt as AlertDialog, Lt as AlertDialogAction, Rt as AlertDialogCancel, Pt as AlertDialogContent, It as AlertDialogDescription, Ft as AlertDialogTitle, Nt as AlertDialogTrigger,
|
|
4442
|
+
export { mr as Accordion, _r as AccordionContent, hr as AccordionItem, gr as AccordionTrigger, ir as Alert, Mt as AlertDialog, Lt as AlertDialogAction, Rt as AlertDialogCancel, Pt as AlertDialogContent, It as AlertDialogDescription, Ft as AlertDialogTitle, Nt as AlertDialogTrigger, la as AppShell, ca as AppShellBody, oa as AppShellHeader, et as Avatar, nt as AvatarFallback, tt as AvatarImage, K as Badge, Ma as BottomNav, Rr as Breadcrumb, Br as BreadcrumbItem, Vr as BreadcrumbLink, zr as BreadcrumbList, Hr as BreadcrumbPage, Ur as BreadcrumbSeparator, Di as BulkActionBar, J as Button, Ze as COLOUR_SCHEMES, Na as CaptureFrame, vr as Card, Sr as CardContent, xr as CardDescription, Cr as CardFooter, yr as CardHeader, br as CardTitle, at as Checkbox, er as Combobox, bn as Command, xn as CommandDialog, wn as CommandEmpty, Tn as CommandGroup, Sn as CommandInput, En as CommandItem, Cn as CommandList, Dn as CommandSeparator, On as CommandShortcut, kn as ContextMenu, jn as ContextMenuContent, Mn as ContextMenuItem, Nn as ContextMenuSeparator, Pn as ContextMenuShortcut, An as ContextMenuTrigger, Fa as CtaBand, Xe as DENSITIES, zt as Dialog, Vt as DialogClose, Ht as DialogContent, Kt as DialogDescription, Wt as DialogFooter, Ut as DialogHeader, Gt as DialogTitle, Bt as DialogTrigger, qt as Drawer, Yt as DrawerClose, Xt as DrawerContent, Qt as DrawerDescription, Zt as DrawerTitle, Jt as DrawerTrigger, Fn as DropdownMenu, zn as DropdownMenuContent, Ln as DropdownMenuGroup, Bn as DropdownMenuItem, Hn as DropdownMenuLabel, Rn as DropdownMenuRadioGroup, Vn as DropdownMenuRadioItem, Un as DropdownMenuSeparator, Wn as DropdownMenuShortcut, In as DropdownMenuTrigger, ar as EmptyState, Re as FAMILY_PALETTE, Ge as FREE_HUES, Ia as Faq, La as FeatureGrid, vt as Field, fr as FileDropOverlay, ua as FilterBar, da as FilterChip, Ca as FlowNode, fa as FormSection, Je as HUES, W as HUE_FILL, Ra as Hero, za as HowItWorks, yt as Input, wa as Inspector, wr as Kbd, Ne as LABEL_COLORS, G as LOGO_RULE, _t as Label, Gr as MenuIcon, Kr as Menubar, Yr as MenubarContent, Xr as MenubarItem, qr as MenubarMenu, Qr as MenubarSeparator, Zr as MenubarShortcut, Jr as MenubarTrigger, Va as MobileMenu, $r as NavigationMenu, ii as NavigationMenuContent, ti as NavigationMenuItem, ai as NavigationMenuLink, ei as NavigationMenuList, ri as NavigationMenuTrigger, Ye as PALETTE_STEPS, qe as PRODUCTS, V as PRODUCT_CATALOGUE, We as PRODUCT_HUES, pa as PageHeader, oi as Pagination, en as Popover, nn as PopoverAnchor, rn as PopoverContent, tn as PopoverTrigger, $t as Portal, Ei as Presence, Ha as PricingTable, Ua as ProductCard, H as ProductLogo, Xi as ProductSwitcher, or as Progress, ya as RUN_STATUSES, ot as RadioGroup, st as RadioGroupItem, Pa as RecordButton, ma as RecordsTable, Dr as ResizableHandle, Er as ResizablePanel, Tr as ResizablePanelGroup, Or as ScrollArea, kr as ScrollBar, bt as Select, Oi as SelectAllCheckbox, wt as SelectContent, xt as SelectGroup, Et as SelectItem, Tt as SelectLabel, Dt as SelectSeparator, Ct as SelectTrigger, St as SelectValue, Mi as SelectableList, Ni as SelectableRow, ki as SelectionHeader, Ar as Separator, an as Sheet, sn as SheetClose, dn as SheetContent, ln as SheetDescription, cn as SheetTitle, on as SheetTrigger, zi as Sidebar, Zi as SidebarBrand, Vi as SidebarCollapseButton, Ui as SidebarContent, Gi as SidebarFooter, Ki as SidebarGroup, Hi as SidebarHeader, qi as SidebarItem, Wi as SidebarNote, Yi as SidebarSheet, Bi as SidebarTooltip, Wa as SiteFooter, Ga as SiteHeader, sr as Skeleton, ct as Slider, cr as Spinner, ha as SplitView, va as StatCard, Sa as StatusBadge, Ta as StatusBar, wi as Stepper, lt as Switch, Gn as TAG_DELIMITERS, jr as Table, Nr as TableBody, Lr as TableCaption, Ir as TableCell, Fr as TableHead, Mr as TableHeader, Pr as TableRow, di as Tabs, Si as TabsContent, mi as TabsList, _i as TabsTrigger, Jn as Tag, Zn as TagsInput, Ot as Textarea, $e as ThemeRoot, Aa as TimelineLanes, ja as TitleBar, lr as Toaster, ft as ToggleGroup, pt as ToggleGroupItem, pn as Tooltip, hn as TooltipContent, fn as TooltipProvider, mn as TooltipTrigger, ur as acceptsFile, qn as addTags, Ie as apcaContrast, rt as badgeVariants, q as buttonVariants, B as cn, $i as commandShortcutLabel, mt as controlClassName, Q as fadingLabelClassName, At as floatingMotionClassName, ka as formatClockTime, Oa as formatTimecode, Ke as hueForProduct, Ue as logoColorForHue, dr as mayAcceptDrag, X as menuItemClassName, vn as menuSeparatorClassName, _n as menuShortcutClassName, Li as navRowClassName, kt as overlayClassName, Ti as presenceClassName, Le as readableLabel, xa as runStatusDisplay, jt as sheetMotionClassName, Ii as sidebarNoteClassName, ga as sparklinePath, Kn as splitTags, Yn as tagsFieldClassName, Xn as tagsFieldInputClassName, Qe as themeAttributes, Ea as timelineBox, Da as timelineTicks, Qi as useCommandShortcut, ia as useCommandShortcutLabel, Y as useFieldControl, gt as useFieldLabelId, Qn as useOptionSearch, pr as usePageDrop, Pi as useSelection, Z as useSidebar };
|
|
4367
4443
|
|
|
4368
4444
|
//# sourceMappingURL=index.js.map
|