@talogic/react 0.6.1 → 0.6.2
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/app/app-shell.component.d.ts +10 -3
- package/index.js +508 -508
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4,17 +4,17 @@ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
|
4
4
|
import { Accordion as a, AlertDialog as o, Avatar as s, Checkbox as c, Collapsible as l, ContextMenu as u, Dialog as d, DropdownMenu as f, Label as p, Menubar as m, NavigationMenu as h, Popover as g, Progress as _, RadioGroup as v, ScrollArea as y, Select as b, Separator as ee, Slider as x, Slot as S, Switch as te, Tabs as C, ToggleGroup as ne, Tooltip as w } from "radix-ui";
|
|
5
5
|
import { cva as re } from "class-variance-authority";
|
|
6
6
|
import { Bookmark as ie, Check as T, ChevronDown as ae, ChevronRight as oe, ChevronsLeft as se, ChevronsRight as ce, ChevronsUpDown as le, CircleCheck as ue, Ellipsis as de, Info as fe, LoaderCircle as pe, Mic as me, Minus as he, PanelLeft as ge, Pause as _e, Play as ve, Plus as ye, Search as E, Square as be, TriangleAlert as xe, X as D } from "lucide-react";
|
|
7
|
-
import { cloneElement as Se, createContext as Ce, isValidElement as we, useCallback as Te, useContext as Ee, useEffect as O, useId as De, useRef as
|
|
8
|
-
import { Toaster as
|
|
9
|
-
import { Group as
|
|
10
|
-
import { Drawer as
|
|
11
|
-
import { Command as
|
|
7
|
+
import { cloneElement as Se, createContext as Ce, isValidElement as we, useCallback as Te, useContext as Ee, useEffect as O, useId as De, useRef as Oe, useState as k, useSyncExternalStore as ke } from "react";
|
|
8
|
+
import { Toaster as Ae } from "sonner";
|
|
9
|
+
import { Group as je, Panel as Me, Separator as Ne } from "react-resizable-panels";
|
|
10
|
+
import { Drawer as A } from "vaul";
|
|
11
|
+
import { Command as j } from "cmdk";
|
|
12
12
|
// src/class-names/class-names.algorithm.ts
|
|
13
|
-
function
|
|
13
|
+
function M(...n) {
|
|
14
14
|
return t(e(n));
|
|
15
15
|
}
|
|
16
16
|
// src/product/product-catalogue.content.ts
|
|
17
|
-
var
|
|
17
|
+
var N = {
|
|
18
18
|
talogic: {
|
|
19
19
|
name: "Talogic",
|
|
20
20
|
tagline: "Human focused automations.",
|
|
@@ -54,7 +54,7 @@ var P = {
|
|
|
54
54
|
logoColor: "#3e63dd",
|
|
55
55
|
logoAccents: ["#e5484d", "#30a46c"]
|
|
56
56
|
}
|
|
57
|
-
},
|
|
57
|
+
}, Pe = {
|
|
58
58
|
talogic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3ccircle%20cx='4266.667'%20cy='4266.667'%20r='4266.667'%20fill='%23753edd'/%3e%3cpath%20d='M6239.492,7179.279c-587.992,403.439%20-1284.858,619.682%20-1998.46,619.682c-1937.781,0%20-3532.333,-1594.553%20-3532.333,-3532.333c0,-1937.781%201594.553,-3532.333%203532.333,-3532.333c1593.826,-0%202999.58,1078.727%203412.017,2618.266c53.557,199.918%20-65.269,405.709%20-265.188,459.266c-199.918,53.557%20-405.709,-65.269%20-459.266,-265.188c-324.867,-1212.657%20-1432.145,-2062.344%20-2687.563,-2062.344c-1526.343,-0%20-2782.333,1255.99%20-2782.333,2782.333c0,1526.343%201255.99,2782.333%202782.333,2782.333c559.652,0%201106.236,-168.857%201568.116,-483.988l-249.007,-355.451l1686.002,-207.645l-771.521,1513.043l-235.13,-335.642Zm-3156.366,-3334.215c39.357,-108.037%20159.021,-163.797%20267.058,-124.44c108.037,39.357%20163.797,159.021%20124.44,267.058c-32.594,89.472%20-49.269,183.965%20-49.269,279.189c0,447.461%20368.205,815.667%20815.667,815.667c447.461,0%20815.667,-368.205%20815.667,-815.667c0,-291.052%20-155.783,-560.872%20-407.844,-706.394c-99.578,-57.49%20-133.749,-185.009%20-76.26,-284.587c57.49,-99.578%20185.009,-133.749%20284.587,-76.26c380.821,219.859%20616.183,627.511%20616.183,1067.242c0,676.038%20-556.295,1232.333%20-1232.333,1232.333c-676.038,0%20-1232.333,-556.295%20-1232.333,-1232.333c0,-143.867%2025.193,-286.63%2074.437,-421.807Zm3319.934,1203.659c-55.039,151.274%20-222.539,229.404%20-373.813,174.364c-151.274,-55.039%20-229.404,-222.539%20-174.364,-373.813c68.47,-188.186%20103.497,-386.907%20103.497,-587.163c0,-942.081%20-775.215,-1717.296%20-1717.296,-1717.296c-942.081,0%20-1717.296,775.215%20-1717.296,1717.296c0,612.741%20327.944,1180.786%20858.578,1487.182c139.405,80.494%20187.233,259.024%20106.739,398.429c-80.494,139.405%20-259.024,187.233%20-398.429,106.739c-710.881,-410.472%20-1150.221,-1171.472%20-1150.221,-1992.349c0,-1262.088%201038.541,-2300.629%202300.629,-2300.629c1262.088,0%202300.629,1038.541%202300.629,2300.629c0,268.278%20-46.926,534.501%20-138.654,786.611Zm-2172.051,-1208.724c229.965,0%20416.667,186.702%20416.667,416.667c0,229.965%20-186.702,416.667%20-416.667,416.667c-229.965,0%20-416.667,-186.702%20-416.667,-416.667c0,-229.965%20186.702,-416.667%20416.667,-416.667Z'%20fill='%23fff'/%3e%3c/svg%3e" },
|
|
59
59
|
pargic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3cpath%20d='M8350.618,5542.197c-16.744,53.324%20-34,106.427%20-51.758,159.296c-44.706,128.857%20-95.419,254.916%20-151.804,377.842l-1503.884,-488.642l-256.17,788.41l-1812.022,-1974.821l2626.74,-532.622l-256.169,788.407l1504.03,488.689c-26.854,133.499%20-59.948,264.752%20-98.963,393.441Zm-8116.145,159.296c-17.758,-52.869%20-35.014,-105.971%20-51.758,-159.296c-39.015,-128.688%20-72.108,-259.939%20-98.962,-393.437l1504.031,-488.689l-256.17,-788.41l2626.728,532.584l-1812.01,1974.86l-256.169,-788.407l-1503.884,488.641c-56.385,-122.927%20-107.099,-248.988%20-151.806,-377.846Zm1936.602,-5114.117l929.208,1278.945l670.662,-487.264l305.186,2662.744l-2438.145,-1113.059l670.659,-487.262l-928.662,-1278.193c239.997,-220.72%20505.322,-414.318%20791.092,-575.911Zm4982.272,575.908l-928.662,1278.194l670.662,487.264l-2438.112,1113.082l305.153,-2662.768l670.659,487.262l929.208,-1278.945c285.77,161.593%20551.095,355.19%20791.092,575.91Zm-3375.938,7379.666l0,-1581.091l-828.984,0l1318.221,-2333.589l1318.261,2333.589l-828.98,0l0,1581.091c-160.561,18.364%20-323.818,27.801%20-489.261,27.801c-165.442,0%20-328.698,-9.437%20-489.257,-27.801Z'%20fill='%23dd773e'/%3e%3c/svg%3e" },
|
|
60
60
|
daygic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3cpath%20d='M4266.667,0c513.234,0%20929.915,416.681%20929.915,929.915l0,1969.231c0,513.234%20-416.681,929.915%20-929.915,929.915c-513.234,0%20-929.915,-416.681%20-929.915,-929.915l0,-1969.231c0,-513.234%20416.681,-929.915%20929.915,-929.915Zm3884.531,2899.145c256.617,444.474%20104.101,1013.67%20-340.372,1270.287l-1136.936,656.41c-444.474,256.617%20-1013.67,104.101%20-1270.287,-340.372c-256.617,-444.474%20-104.101,-1013.67%20340.372,-1270.287l1136.936,-656.41c444.474,-256.617%201013.67,-104.101%201270.287,340.372Zm-568.468,4157.265c-256.617,444.474%20-825.813,596.989%20-1270.287,340.372l-568.468,-328.205c-444.474,-256.617%20-596.989,-825.813%20-340.372,-1270.287c256.617,-444.474%20825.813,-596.989%201270.287,-340.372l568.468,328.205c444.474,256.617%20596.989,825.813%20340.372,1270.287Zm-3316.063,1476.923c-513.234,0%20-929.915,-416.681%20-929.915,-929.915l0,-218.803c0,-513.234%20416.681,-929.915%20929.915,-929.915c513.234,0%20929.915,416.681%20929.915,929.915l0,218.803c0,513.234%20-416.681,929.915%20-929.915,929.915Zm-3316.063,-1476.923c-256.617,-444.474%20-104.101,-1013.67%20340.372,-1270.287l568.468,-328.205c444.474,-256.617%201013.67,-104.101%201270.287,340.372c256.617,444.474%20104.101,1013.67%20-340.372,1270.287l-568.468,328.205c-444.474,256.617%20-1013.67,104.101%20-1270.287,-340.372Zm-568.468,-4157.265c256.617,-444.474%20825.813,-596.989%201270.287,-340.372l1136.936,656.41c444.474,256.617%20596.989,825.813%20340.372,1270.287c-256.617,444.474%20-825.813,596.989%20-1270.287,340.372l-1136.936,-656.41c-444.474,-256.617%20-596.989,-825.813%20-340.372,-1270.287Z'%20fill='%23c8902e'/%3e%3ccircle%20cx='4266.667'%20cy='5141.88'%20r='984.615'%20fill='%239a6a1c'/%3e%3c/svg%3e" },
|
|
@@ -68,19 +68,19 @@ var P = {
|
|
|
68
68
|
dark: "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%208534%208534'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20xmlns:affinity='https://www.affinity.studio/'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3e%3crect%20id='loomgic-symbol-dark'%20x='0'%20y='0'%20width='8533.333'%20height='8533.333'%20style='fill:none;'/%3e%3cclipPath%20id='_clip1'%3e%3crect%20x='0'%20y='0'%20width='8533.333'%20height='8533.333'/%3e%3c/clipPath%3e%3cg%20clip-path='url(%23_clip1)'%3e%3cpath%20d='M7950,3683.287c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-7366.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l7366.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M6062.5,474.953c321.95,0%20583.333,261.383%20583.333,583.333l0,6416.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l-0,-6416.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%233e63dd;'/%3e%3cpath%20d='M2470.833,474.953c321.95,0%20583.333,261.383%20583.333,583.333l0,6416.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l-0,-6416.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%23e5484d;'/%3e%3cpath%20d='M7475,1887.453c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-6416.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l6416.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M7475,5479.12c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-6416.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l6416.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M4266.667,-0.047c321.95,0%20583.333,261.383%20583.333,583.333l0,7366.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l0,-7366.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%2330a46c;'/%3e%3crect%20x='3365.106'%20y='3683.287'%20width='1799.257'%20height='1166.667'%20style='fill:%23979797;'/%3e%3c/g%3e%3c/svg%3e"
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
|
-
function
|
|
72
|
-
let { light: s, dark: c } =
|
|
71
|
+
function P({ product: e, alt: t = N[e].name, className: a, ...o }) {
|
|
72
|
+
let { light: s, dark: c } = Pe[e], l = M("size-6 shrink-0 object-contain", a);
|
|
73
73
|
return c ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("img", {
|
|
74
74
|
"data-slot": "product-logo",
|
|
75
75
|
src: s,
|
|
76
76
|
alt: t,
|
|
77
|
-
className:
|
|
77
|
+
className: M(l, "dark:hidden"),
|
|
78
78
|
...o
|
|
79
79
|
}), /* @__PURE__ */ r("img", {
|
|
80
80
|
"data-slot": "product-logo",
|
|
81
81
|
src: c,
|
|
82
82
|
alt: t,
|
|
83
|
-
className:
|
|
83
|
+
className: M(l, "hidden dark:block"),
|
|
84
84
|
...o
|
|
85
85
|
})] }) : /* @__PURE__ */ r("img", {
|
|
86
86
|
"data-slot": "product-logo",
|
|
@@ -91,7 +91,7 @@ function F({ product: e, alt: t = P[e].name, className: a, ...o }) {
|
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
// src/tokens/apca-contrast.algorithm.ts
|
|
94
|
-
var
|
|
94
|
+
var F = {
|
|
95
95
|
mainTrc: 2.4,
|
|
96
96
|
red: .2126729,
|
|
97
97
|
green: .7151522,
|
|
@@ -106,8 +106,8 @@ var I = {
|
|
|
106
106
|
lowOffset: .027,
|
|
107
107
|
deltaYMin: 5e-4,
|
|
108
108
|
lowClip: .1
|
|
109
|
-
},
|
|
110
|
-
function
|
|
109
|
+
}, Fe = ["#14121a", "#ffffff"];
|
|
110
|
+
function Ie(e) {
|
|
111
111
|
let t = e.replace("#", "").trim(), n = t.length === 3 ? [...t].map((e) => e.repeat(2)).join("") : t;
|
|
112
112
|
if (!/^[\da-f]{6}$/i.test(n)) throw RangeError(`Not a hex colour: ${e}`);
|
|
113
113
|
return [
|
|
@@ -116,32 +116,32 @@ function Fe(e) {
|
|
|
116
116
|
4
|
|
117
117
|
].map((e) => Number.parseInt(n.slice(e, e + 2), 16));
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
let [t, n, r] =
|
|
121
|
-
return i <
|
|
119
|
+
function Le(e) {
|
|
120
|
+
let [t, n, r] = Ie(e).map((e) => (e / 255) ** F.mainTrc), i = F.red * t + F.green * n + F.blue * r;
|
|
121
|
+
return i < F.blackThresh ? i + (F.blackThresh - i) ** F.blackClamp : i;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
let n =
|
|
125
|
-
if (Math.abs(r - n) <
|
|
123
|
+
function Re(e, t) {
|
|
124
|
+
let n = Le(e), r = Le(t);
|
|
125
|
+
if (Math.abs(r - n) < F.deltaYMin) return 0;
|
|
126
126
|
if (r > n) {
|
|
127
|
-
let e = (r **
|
|
128
|
-
return e <
|
|
127
|
+
let e = (r ** F.normBg - n ** F.normText) * F.scale;
|
|
128
|
+
return e < F.lowClip ? 0 : (e - F.lowOffset) * 100;
|
|
129
129
|
}
|
|
130
|
-
let i = (r **
|
|
131
|
-
return i > -
|
|
130
|
+
let i = (r ** F.revBg - n ** F.revText) * F.scale;
|
|
131
|
+
return i > -F.lowClip ? 0 : (i + F.lowOffset) * 100;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function ze(e, t = Fe) {
|
|
134
134
|
let n = t[0];
|
|
135
135
|
if (n === void 0) throw RangeError("No label colour to choose from");
|
|
136
|
-
let r = Math.abs(
|
|
136
|
+
let r = Math.abs(Re(n, e));
|
|
137
137
|
for (let i of t.slice(1)) {
|
|
138
|
-
let t = Math.abs(
|
|
138
|
+
let t = Math.abs(Re(i, e));
|
|
139
139
|
t > r && (n = i, r = t);
|
|
140
140
|
}
|
|
141
141
|
return n;
|
|
142
142
|
}
|
|
143
143
|
// src/tokens/hue-fill.style.ts
|
|
144
|
-
var
|
|
144
|
+
var I = {
|
|
145
145
|
red: "bg-red-500",
|
|
146
146
|
orange: "bg-orange-500",
|
|
147
147
|
amber: "bg-amber-500",
|
|
@@ -154,7 +154,7 @@ var L = {
|
|
|
154
154
|
violet: "bg-violet-500",
|
|
155
155
|
purple: "bg-purple-500",
|
|
156
156
|
pink: "bg-pink-500"
|
|
157
|
-
},
|
|
157
|
+
}, Be = {
|
|
158
158
|
red: {
|
|
159
159
|
50: "#fef4f3",
|
|
160
160
|
100: "#fee9e7",
|
|
@@ -311,24 +311,24 @@ var L = {
|
|
|
311
311
|
900: "#531b39",
|
|
312
312
|
950: "#331123"
|
|
313
313
|
}
|
|
314
|
-
},
|
|
314
|
+
}, L = {
|
|
315
315
|
saturation: .7,
|
|
316
316
|
lightness: .55,
|
|
317
317
|
maxOklchLightness: .7,
|
|
318
318
|
lightnessStep: .005
|
|
319
319
|
};
|
|
320
|
-
function
|
|
320
|
+
function Ve(e) {
|
|
321
321
|
return [
|
|
322
322
|
1,
|
|
323
323
|
3,
|
|
324
324
|
5
|
|
325
325
|
].map((t) => Number.parseInt(e.slice(t, t + 2), 16) / 255);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
328
|
-
let [t, n, r] =
|
|
327
|
+
function He(e) {
|
|
328
|
+
let [t, n, r] = Ve(e), i = Math.max(t, n, r), a = i - Math.min(t, n, r);
|
|
329
329
|
return a === 0 ? 0 : ((i === t ? (n - r) / a % 6 : i === n ? (r - t) / a + 2 : (t - n) / a + 4) * 60 + 360) % 360;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Ue(e, t, n) {
|
|
332
332
|
let r = (1 - Math.abs(2 * n - 1)) * t, i = r * (1 - Math.abs(e / 60 % 2 - 1)), a = n - r / 2, o = Math.floor(e / 60) % 6;
|
|
333
333
|
return `#${([
|
|
334
334
|
[
|
|
@@ -367,24 +367,24 @@ function He(e, t, n) {
|
|
|
367
367
|
0
|
|
368
368
|
]).map((e) => Math.round((e + a) * 255).toString(16).padStart(2, "0")).join("")}`;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
let [t, n, r] =
|
|
370
|
+
function We(e) {
|
|
371
|
+
let [t, n, r] = Ve(e).map((e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4), i = Math.cbrt(.4122214708 * t + .5363325363 * n + .0514459929 * r), a = Math.cbrt(.2119034982 * t + .6806995451 * n + .1073969566 * r), o = Math.cbrt(.0883024619 * t + .2817188376 * n + .6299787005 * r);
|
|
372
372
|
return .2104542553 * i + .793617785 * a - .0040720468 * o;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
let t =
|
|
376
|
-
for (;
|
|
374
|
+
function Ge(e) {
|
|
375
|
+
let t = He(Be[e][500]), n = L.lightness, r = Ue(t, L.saturation, n);
|
|
376
|
+
for (; We(r) > L.maxOklchLightness;) n -= L.lightnessStep, r = Ue(t, L.saturation, n);
|
|
377
377
|
return r;
|
|
378
378
|
}
|
|
379
379
|
// src/tokens/product-hue.policy.ts
|
|
380
|
-
var
|
|
380
|
+
var Ke = {
|
|
381
381
|
talogic: "violet",
|
|
382
382
|
pargic: "orange",
|
|
383
383
|
daygic: "amber",
|
|
384
384
|
ingic: "blue",
|
|
385
385
|
loregic: "green",
|
|
386
386
|
loomgic: "blue"
|
|
387
|
-
},
|
|
387
|
+
}, qe = [
|
|
388
388
|
"lime",
|
|
389
389
|
"teal",
|
|
390
390
|
"cyan",
|
|
@@ -392,18 +392,18 @@ var Ge = {
|
|
|
392
392
|
"purple",
|
|
393
393
|
"pink"
|
|
394
394
|
];
|
|
395
|
-
function
|
|
396
|
-
return
|
|
395
|
+
function Je(e) {
|
|
396
|
+
return Ke[e];
|
|
397
397
|
}
|
|
398
398
|
// src/tokens/theme.contract.ts
|
|
399
|
-
var
|
|
399
|
+
var Ye = [
|
|
400
400
|
"talogic",
|
|
401
401
|
"pargic",
|
|
402
402
|
"daygic",
|
|
403
403
|
"ingic",
|
|
404
404
|
"loregic",
|
|
405
405
|
"loomgic"
|
|
406
|
-
],
|
|
406
|
+
], Xe = [
|
|
407
407
|
"red",
|
|
408
408
|
"orange",
|
|
409
409
|
"amber",
|
|
@@ -416,7 +416,7 @@ var Je = [
|
|
|
416
416
|
"violet",
|
|
417
417
|
"purple",
|
|
418
418
|
"pink"
|
|
419
|
-
],
|
|
419
|
+
], Ze = [
|
|
420
420
|
"50",
|
|
421
421
|
"100",
|
|
422
422
|
"200",
|
|
@@ -428,20 +428,20 @@ var Je = [
|
|
|
428
428
|
"800",
|
|
429
429
|
"900",
|
|
430
430
|
"950"
|
|
431
|
-
],
|
|
431
|
+
], Qe = [
|
|
432
432
|
"web",
|
|
433
433
|
"app",
|
|
434
434
|
"desk",
|
|
435
435
|
"mob"
|
|
436
|
-
],
|
|
436
|
+
], $e = ["light", "dark"];
|
|
437
437
|
// src/tokens/theme-attributes.mapper.ts
|
|
438
|
-
function
|
|
438
|
+
function et(e) {
|
|
439
439
|
let t = { className: [e.scheme === "dark" ? "dark" : "", e.density ? `d-${e.density}` : ""].filter(Boolean).join(" ") };
|
|
440
440
|
return e.product && (t["data-product"] = e.product), e.hue && (t["data-hue"] = e.hue), t;
|
|
441
441
|
}
|
|
442
442
|
// src/tokens/theme-root.component.tsx
|
|
443
|
-
function
|
|
444
|
-
let { className: c, ...l } =
|
|
443
|
+
function tt({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
|
|
444
|
+
let { className: c, ...l } = et({
|
|
445
445
|
product: e,
|
|
446
446
|
hue: t,
|
|
447
447
|
scheme: n,
|
|
@@ -449,35 +449,35 @@ function et({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, classN
|
|
|
449
449
|
}), u = a ? S.Root : "div";
|
|
450
450
|
return /* @__PURE__ */ r(u, {
|
|
451
451
|
"data-slot": "theme-root",
|
|
452
|
-
className:
|
|
452
|
+
className: M(c, o),
|
|
453
453
|
...l,
|
|
454
454
|
...s
|
|
455
455
|
});
|
|
456
456
|
}
|
|
457
457
|
// src/ui/avatar/avatar.component.tsx
|
|
458
|
-
function
|
|
458
|
+
function nt({ className: e, ...t }) {
|
|
459
459
|
return /* @__PURE__ */ r(s.Root, {
|
|
460
460
|
"data-slot": "avatar",
|
|
461
|
-
className:
|
|
461
|
+
className: M("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
|
|
462
462
|
...t
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function rt({ className: e, ...t }) {
|
|
466
466
|
return /* @__PURE__ */ r(s.Image, {
|
|
467
467
|
"data-slot": "avatar-image",
|
|
468
|
-
className:
|
|
468
|
+
className: M("aspect-square size-full object-cover", e),
|
|
469
469
|
...t
|
|
470
470
|
});
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function it({ className: e, ...t }) {
|
|
473
473
|
return /* @__PURE__ */ r(s.Fallback, {
|
|
474
474
|
"data-slot": "avatar-fallback",
|
|
475
|
-
className:
|
|
475
|
+
className: M("flex size-full items-center justify-center rounded-full bg-brand-soft text-xs font-semibold text-brand-text", e),
|
|
476
476
|
...t
|
|
477
477
|
});
|
|
478
478
|
}
|
|
479
479
|
// src/ui/badge/badge.recipe.ts
|
|
480
|
-
var
|
|
480
|
+
var at = re("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-nowrap rounded-full border border-transparent px-2 text-xs font-medium [&_svg]:size-3", {
|
|
481
481
|
variants: { variant: {
|
|
482
482
|
default: "bg-primary text-primary-foreground",
|
|
483
483
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -491,10 +491,10 @@ var it = re("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-now
|
|
|
491
491
|
defaultVariants: { variant: "default" }
|
|
492
492
|
});
|
|
493
493
|
// src/ui/badge/badge.component.tsx
|
|
494
|
-
function
|
|
494
|
+
function R({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
|
|
495
495
|
return /* @__PURE__ */ i("span", {
|
|
496
496
|
"data-slot": "badge",
|
|
497
|
-
className:
|
|
497
|
+
className: M(at({ variant: t }), e),
|
|
498
498
|
...o,
|
|
499
499
|
children: [n && /* @__PURE__ */ r("span", {
|
|
500
500
|
"aria-hidden": "true",
|
|
@@ -503,7 +503,7 @@ function z({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
|
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
505
|
// src/ui/button/button.recipe.ts
|
|
506
|
-
var
|
|
506
|
+
var z = re([
|
|
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
508
|
"transition-[background-color,border-color,box-shadow,color] duration-150 ease-out outline-none motion-reduce:transition-none",
|
|
509
509
|
"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
@@ -537,11 +537,11 @@ var B = re([
|
|
|
537
537
|
}
|
|
538
538
|
});
|
|
539
539
|
// src/ui/button/button.component.tsx
|
|
540
|
-
function
|
|
540
|
+
function B({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
|
|
541
541
|
let d = o ? S.Root : "button";
|
|
542
542
|
return /* @__PURE__ */ r(d, {
|
|
543
543
|
"data-slot": "button",
|
|
544
|
-
className:
|
|
544
|
+
className: M(z({
|
|
545
545
|
variant: t,
|
|
546
546
|
size: a
|
|
547
547
|
}), e),
|
|
@@ -555,11 +555,11 @@ function V({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1
|
|
|
555
555
|
});
|
|
556
556
|
}
|
|
557
557
|
// src/ui/choice/checkbox.component.tsx
|
|
558
|
-
var
|
|
559
|
-
function
|
|
558
|
+
var ot = "fill-none stroke-current [stroke-dasharray:1] [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2.4] transition-[stroke-dashoffset] ease-emphasised motion-reduce:transition-none";
|
|
559
|
+
function st({ className: e, ...t }) {
|
|
560
560
|
return /* @__PURE__ */ r(c.Root, {
|
|
561
561
|
"data-slot": "checkbox",
|
|
562
|
-
className:
|
|
562
|
+
className: M("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:ring-3 focus-visible:ring-ring/25 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
563
|
...t,
|
|
564
564
|
children: /* @__PURE__ */ r(c.Indicator, {
|
|
565
565
|
forceMount: !0,
|
|
@@ -571,28 +571,28 @@ function ot({ className: e, ...t }) {
|
|
|
571
571
|
children: [/* @__PURE__ */ r("path", {
|
|
572
572
|
d: "M3.5 8.5 L6.5 11.5 L12.5 4.5",
|
|
573
573
|
pathLength: 1,
|
|
574
|
-
className:
|
|
574
|
+
className: M(ot, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
|
|
575
575
|
}), /* @__PURE__ */ r("path", {
|
|
576
576
|
d: "M4 8 L12 8",
|
|
577
577
|
pathLength: 1,
|
|
578
|
-
className:
|
|
578
|
+
className: M(ot, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
|
|
579
579
|
})]
|
|
580
580
|
})
|
|
581
581
|
})
|
|
582
582
|
});
|
|
583
583
|
}
|
|
584
584
|
// src/ui/choice/radio-group.component.tsx
|
|
585
|
-
function
|
|
585
|
+
function ct({ className: e, ...t }) {
|
|
586
586
|
return /* @__PURE__ */ r(v.Root, {
|
|
587
587
|
"data-slot": "radio-group",
|
|
588
|
-
className:
|
|
588
|
+
className: M("grid gap-2.5", e),
|
|
589
589
|
...t
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function lt({ className: e, ...t }) {
|
|
593
593
|
return /* @__PURE__ */ r(v.Item, {
|
|
594
594
|
"data-slot": "radio-group-item",
|
|
595
|
-
className:
|
|
595
|
+
className: M("peer group/radio grid size-4 shrink-0 cursor-pointer place-content-center rounded-full border border-input bg-background shadow-xs outline-none", "transition-[background-color,border-color] duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary", e),
|
|
596
596
|
...t,
|
|
597
597
|
children: /* @__PURE__ */ r(v.Indicator, {
|
|
598
598
|
forceMount: !0,
|
|
@@ -601,8 +601,8 @@ function ct({ className: e, ...t }) {
|
|
|
601
601
|
});
|
|
602
602
|
}
|
|
603
603
|
// src/ui/choice/slider.component.tsx
|
|
604
|
-
function
|
|
605
|
-
let [d, f] =
|
|
604
|
+
function ut({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
|
|
605
|
+
let [d, f] = k(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
|
|
606
606
|
return /* @__PURE__ */ i(x.Root, {
|
|
607
607
|
"data-slot": "slider",
|
|
608
608
|
value: t,
|
|
@@ -619,7 +619,7 @@ function lt({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100,
|
|
|
619
619
|
onPointerUp: (e) => {
|
|
620
620
|
f(!1), l?.(e);
|
|
621
621
|
},
|
|
622
|
-
className:
|
|
622
|
+
className: M("group/slider relative flex w-full touch-none select-none items-center data-disabled:opacity-50", "not-data-dragging:[&>span:has([role=slider])]:transition-[left] not-data-dragging:[&>span:has([role=slider])]:duration-200 not-data-dragging:[&>span:has([role=slider])]:ease-emphasised", "motion-reduce:[&>span:has([role=slider])]:transition-none", e),
|
|
623
623
|
...u,
|
|
624
624
|
children: [/* @__PURE__ */ r(x.Track, {
|
|
625
625
|
className: "relative h-1.5 grow overflow-hidden rounded-full bg-muted",
|
|
@@ -631,17 +631,17 @@ function lt({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100,
|
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
633
|
// src/ui/choice/switch.component.tsx
|
|
634
|
-
function
|
|
634
|
+
function dt({ className: e, ...t }) {
|
|
635
635
|
return /* @__PURE__ */ r(te.Root, {
|
|
636
636
|
"data-slot": "switch",
|
|
637
|
-
className:
|
|
637
|
+
className: M("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full bg-input p-0.5 outline-none transition-colors duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary", e),
|
|
638
638
|
...t,
|
|
639
639
|
children: /* @__PURE__ */ r(te.Thumb, { className: "block size-4 rounded-full bg-white shadow-xs transition-transform duration-200 ease-emphasised data-[state=checked]:translate-x-4 motion-reduce:transition-none" })
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
642
|
// src/ui/active-indicator/active-indicator.hook.ts
|
|
643
|
-
function
|
|
644
|
-
let t =
|
|
643
|
+
function ft(e) {
|
|
644
|
+
let t = Oe(null), n = Oe(void 0), r = Te((r) => {
|
|
645
645
|
if (n.current?.(), n.current = void 0, t.current = r, !r) return;
|
|
646
646
|
function i() {
|
|
647
647
|
if (!r) return;
|
|
@@ -666,32 +666,32 @@ function dt(e) {
|
|
|
666
666
|
return O(() => () => n.current?.(), []), r;
|
|
667
667
|
}
|
|
668
668
|
// src/ui/active-indicator/active-indicator.recipe.ts
|
|
669
|
-
var
|
|
669
|
+
var pt = "pointer-events-none absolute left-(--indicator-left) top-(--indicator-top) h-(--indicator-height) w-(--indicator-width) group-data-[indicator=ready]/indicator:transition-[left,top,width,height] group-data-[indicator=ready]/indicator:duration-250 group-data-[indicator=ready]/indicator:ease-emphasised group-data-[indicator=none]/indicator:opacity-0 group-not-data-indicator/indicator:opacity-0 motion-reduce:transition-none";
|
|
670
670
|
// src/ui/choice/toggle-group.component.tsx
|
|
671
|
-
function
|
|
672
|
-
let a =
|
|
671
|
+
function mt({ className: e, children: t, ...n }) {
|
|
672
|
+
let a = ft("[data-state=on]"), o = n.type === "single";
|
|
673
673
|
return /* @__PURE__ */ i(ne.Root, {
|
|
674
674
|
ref: o ? a : void 0,
|
|
675
675
|
"data-slot": "toggle-group",
|
|
676
676
|
"data-mode": n.type,
|
|
677
|
-
className:
|
|
677
|
+
className: M("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
|
|
678
678
|
...n,
|
|
679
679
|
children: [o && /* @__PURE__ */ r("span", {
|
|
680
680
|
"aria-hidden": "true",
|
|
681
681
|
"data-slot": "toggle-group-indicator",
|
|
682
|
-
className:
|
|
682
|
+
className: M(pt, "rounded-sm bg-background shadow-xs")
|
|
683
683
|
}), t]
|
|
684
684
|
});
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function ht({ className: e, ...t }) {
|
|
687
687
|
return /* @__PURE__ */ r(ne.Item, {
|
|
688
688
|
"data-slot": "toggle-group-item",
|
|
689
|
-
className:
|
|
689
|
+
className: M("inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-sm px-3 text-[13px] font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 [&_svg]:size-4", "relative transition-colors duration-150 data-[state=on]:text-foreground motion-reduce:transition-none", "in-data-[mode=multiple]:data-[state=on]:bg-background in-data-[mode=multiple]:data-[state=on]:shadow-xs", e),
|
|
690
690
|
...t
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
693
|
// src/ui/feedback/alert.component.tsx
|
|
694
|
-
var
|
|
694
|
+
var gt = {
|
|
695
695
|
info: {
|
|
696
696
|
box: "border-border bg-card",
|
|
697
697
|
icon: "text-info",
|
|
@@ -713,16 +713,16 @@ var ht = {
|
|
|
713
713
|
Icon: xe
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
|
-
function
|
|
717
|
-
let { box: c, icon: l, Icon: u } =
|
|
716
|
+
function _t({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
|
|
717
|
+
let { box: c, icon: l, Icon: u } = gt[e];
|
|
718
718
|
return /* @__PURE__ */ i("div", {
|
|
719
719
|
"data-slot": "alert",
|
|
720
720
|
role: e === "danger" || e === "warning" ? "alert" : "status",
|
|
721
|
-
className:
|
|
721
|
+
className: M("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
|
|
722
722
|
...s,
|
|
723
723
|
children: [/* @__PURE__ */ r("span", {
|
|
724
724
|
"aria-hidden": "true",
|
|
725
|
-
className:
|
|
725
|
+
className: M("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
|
|
726
726
|
children: n ?? /* @__PURE__ */ r(u, {})
|
|
727
727
|
}), /* @__PURE__ */ i("div", {
|
|
728
728
|
className: "flex flex-col gap-0.5",
|
|
@@ -737,10 +737,10 @@ function gt({ tone: e = "info", title: t, icon: n, children: a, className: o, ..
|
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
739
|
// src/ui/feedback/empty-state.component.tsx
|
|
740
|
-
function
|
|
740
|
+
function vt({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
|
|
741
741
|
return /* @__PURE__ */ i("div", {
|
|
742
742
|
"data-slot": "empty-state",
|
|
743
|
-
className:
|
|
743
|
+
className: M("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
|
|
744
744
|
...s,
|
|
745
745
|
children: [
|
|
746
746
|
/* @__PURE__ */ r("span", {
|
|
@@ -764,13 +764,13 @@ function _t({ title: e, description: t, icon: n, action: a, className: o, ...s }
|
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
766
|
// src/ui/feedback/progress.component.tsx
|
|
767
|
-
function
|
|
767
|
+
function yt({ className: e, value: t, max: n = 100, ...i }) {
|
|
768
768
|
let a = t == null ? 0 : Math.min(100, Math.max(0, t / n * 100));
|
|
769
769
|
return /* @__PURE__ */ r(_.Root, {
|
|
770
770
|
"data-slot": "progress",
|
|
771
771
|
value: t,
|
|
772
772
|
max: n,
|
|
773
|
-
className:
|
|
773
|
+
className: M("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
|
|
774
774
|
...i,
|
|
775
775
|
children: /* @__PURE__ */ r(_.Indicator, {
|
|
776
776
|
className: "h-full rounded-full bg-brand transition-[width]",
|
|
@@ -779,27 +779,27 @@ function vt({ className: e, value: t, max: n = 100, ...i }) {
|
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
781
|
// src/ui/feedback/skeleton.component.tsx
|
|
782
|
-
function
|
|
782
|
+
function bt({ className: e, ...t }) {
|
|
783
783
|
return /* @__PURE__ */ r("div", {
|
|
784
784
|
"data-slot": "skeleton",
|
|
785
785
|
"aria-hidden": "true",
|
|
786
|
-
className:
|
|
786
|
+
className: M("animate-pulse rounded-sm bg-muted", e),
|
|
787
787
|
...t
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
790
|
// src/ui/feedback/spinner.component.tsx
|
|
791
|
-
function
|
|
791
|
+
function xt({ className: e, label: t = "Loading", ...n }) {
|
|
792
792
|
return /* @__PURE__ */ r(pe, {
|
|
793
793
|
"data-slot": "spinner",
|
|
794
794
|
role: "status",
|
|
795
795
|
"aria-label": t,
|
|
796
|
-
className:
|
|
796
|
+
className: M("size-4 animate-spin text-muted-foreground", e),
|
|
797
797
|
...n
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
800
|
// src/ui/feedback/toaster.component.tsx
|
|
801
|
-
function
|
|
802
|
-
return /* @__PURE__ */ r(
|
|
801
|
+
function St(e) {
|
|
802
|
+
return /* @__PURE__ */ r(Ae, {
|
|
803
803
|
className: "toaster group",
|
|
804
804
|
toastOptions: { classNames: {
|
|
805
805
|
toast: "group flex w-[360px] items-start gap-3 rounded-lg border bg-popover px-4 py-3.5 font-sans text-popover-foreground shadow-lg",
|
|
@@ -814,9 +814,9 @@ function xt(e) {
|
|
|
814
814
|
});
|
|
815
815
|
}
|
|
816
816
|
// src/ui/field/control.recipe.ts
|
|
817
|
-
var
|
|
818
|
-
function
|
|
819
|
-
let t = Ee(
|
|
817
|
+
var V = "w-full min-w-0 rounded-md border border-input bg-background text-(length:--control-fs) text-foreground shadow-xs outline-none transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/25 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50", Ct = Ce(null);
|
|
818
|
+
function H(e = {}) {
|
|
819
|
+
let t = Ee(Ct);
|
|
820
820
|
return t ? {
|
|
821
821
|
id: e.id ?? t.id,
|
|
822
822
|
"aria-describedby": e["aria-describedby"] ?? (t.describedBy || void 0),
|
|
@@ -824,17 +824,17 @@ function U(e = {}) {
|
|
|
824
824
|
} : e;
|
|
825
825
|
}
|
|
826
826
|
// src/ui/field/label.component.tsx
|
|
827
|
-
function
|
|
827
|
+
function wt({ className: e, ...t }) {
|
|
828
828
|
return /* @__PURE__ */ r(p.Root, {
|
|
829
829
|
"data-slot": "label",
|
|
830
|
-
className:
|
|
830
|
+
className: M("flex select-none items-center gap-2 text-[13px] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
831
831
|
...t
|
|
832
832
|
});
|
|
833
833
|
}
|
|
834
834
|
// src/ui/field/field.component.tsx
|
|
835
|
-
function
|
|
835
|
+
function Tt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
|
|
836
836
|
let c = De(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
|
|
837
|
-
return /* @__PURE__ */ r(
|
|
837
|
+
return /* @__PURE__ */ r(Ct, {
|
|
838
838
|
value: {
|
|
839
839
|
id: l,
|
|
840
840
|
describedBy: f,
|
|
@@ -842,9 +842,9 @@ function wt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
|
|
|
842
842
|
},
|
|
843
843
|
children: /* @__PURE__ */ i("div", {
|
|
844
844
|
"data-slot": "field",
|
|
845
|
-
className:
|
|
845
|
+
className: M("flex flex-col gap-1.5", s),
|
|
846
846
|
children: [
|
|
847
|
-
/* @__PURE__ */ r(
|
|
847
|
+
/* @__PURE__ */ r(wt, {
|
|
848
848
|
htmlFor: l,
|
|
849
849
|
children: e
|
|
850
850
|
}),
|
|
@@ -864,11 +864,11 @@ function wt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
|
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
866
|
// src/ui/field/input.component.tsx
|
|
867
|
-
function
|
|
868
|
-
let o =
|
|
867
|
+
function U({ className: e, startIcon: t, type: n = "text", ...a }) {
|
|
868
|
+
let o = H(a), s = /* @__PURE__ */ r("input", {
|
|
869
869
|
"data-slot": "input",
|
|
870
870
|
type: n,
|
|
871
|
-
className:
|
|
871
|
+
className: M(V, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
|
|
872
872
|
...a,
|
|
873
873
|
...o
|
|
874
874
|
});
|
|
@@ -882,12 +882,12 @@ function W({ className: e, startIcon: t, type: n = "text", ...a }) {
|
|
|
882
882
|
}) : s;
|
|
883
883
|
}
|
|
884
884
|
// src/ui/field/select.component.tsx
|
|
885
|
-
var
|
|
886
|
-
function
|
|
887
|
-
let a =
|
|
885
|
+
var Et = b.Root, Dt = b.Group, Ot = b.Value;
|
|
886
|
+
function kt({ className: e, children: t, ...n }) {
|
|
887
|
+
let a = H(n);
|
|
888
888
|
return /* @__PURE__ */ i(b.Trigger, {
|
|
889
889
|
"data-slot": "select-trigger",
|
|
890
|
-
className:
|
|
890
|
+
className: M(V, "flex h-(--control-h) cursor-pointer items-center justify-between gap-2 px-3 text-start data-placeholder:text-muted-foreground [&>span]:truncate", e),
|
|
891
891
|
...n,
|
|
892
892
|
...a,
|
|
893
893
|
children: [t, /* @__PURE__ */ r(b.Icon, {
|
|
@@ -899,11 +899,11 @@ function Ot({ className: e, children: t, ...n }) {
|
|
|
899
899
|
})]
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function At({ className: e, children: t, position: n = "popper", ...i }) {
|
|
903
903
|
return /* @__PURE__ */ r(b.Portal, { children: /* @__PURE__ */ r(b.Content, {
|
|
904
904
|
"data-slot": "select-content",
|
|
905
905
|
position: n,
|
|
906
|
-
className:
|
|
906
|
+
className: M("relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-hidden rounded-lg border bg-popover text-popover-foreground shadow-md", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", n === "popper" && "w-full min-w-(--radix-select-trigger-width) data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1", e),
|
|
907
907
|
...i,
|
|
908
908
|
children: /* @__PURE__ */ r(b.Viewport, {
|
|
909
909
|
className: "p-1",
|
|
@@ -911,17 +911,17 @@ function kt({ className: e, children: t, position: n = "popper", ...i }) {
|
|
|
911
911
|
})
|
|
912
912
|
}) });
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function jt({ className: e, ...t }) {
|
|
915
915
|
return /* @__PURE__ */ r(b.Label, {
|
|
916
916
|
"data-slot": "select-label",
|
|
917
|
-
className:
|
|
917
|
+
className: M("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
|
|
918
918
|
...t
|
|
919
919
|
});
|
|
920
920
|
}
|
|
921
|
-
function
|
|
921
|
+
function Mt({ className: e, children: t, ...n }) {
|
|
922
922
|
return /* @__PURE__ */ i(b.Item, {
|
|
923
923
|
"data-slot": "select-item",
|
|
924
|
-
className:
|
|
924
|
+
className: M("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-2.5 pe-8 text-[13.5px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
|
|
925
925
|
...n,
|
|
926
926
|
children: [/* @__PURE__ */ r(b.ItemText, { children: t }), /* @__PURE__ */ r("span", {
|
|
927
927
|
className: "absolute end-2 flex size-4 items-center justify-center",
|
|
@@ -932,44 +932,44 @@ function jt({ className: e, children: t, ...n }) {
|
|
|
932
932
|
})]
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function Nt({ className: e, ...t }) {
|
|
936
936
|
return /* @__PURE__ */ r(b.Separator, {
|
|
937
937
|
"data-slot": "select-separator",
|
|
938
|
-
className:
|
|
938
|
+
className: M("-mx-1 my-1 h-px bg-border", e),
|
|
939
939
|
...t
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
942
|
// src/ui/field/textarea.component.tsx
|
|
943
|
-
function
|
|
944
|
-
let n =
|
|
943
|
+
function Pt({ className: e, ...t }) {
|
|
944
|
+
let n = H(t);
|
|
945
945
|
return /* @__PURE__ */ r("textarea", {
|
|
946
946
|
"data-slot": "textarea",
|
|
947
|
-
className:
|
|
947
|
+
className: M(V, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
|
|
948
948
|
...t,
|
|
949
949
|
...n
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
952
|
// src/ui/layout/accordion.component.tsx
|
|
953
|
-
function
|
|
953
|
+
function Ft({ className: e, ...t }) {
|
|
954
954
|
return /* @__PURE__ */ r(a.Root, {
|
|
955
955
|
"data-slot": "accordion",
|
|
956
|
-
className:
|
|
956
|
+
className: M("border-t", e),
|
|
957
957
|
...t
|
|
958
958
|
});
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function It({ className: e, ...t }) {
|
|
961
961
|
return /* @__PURE__ */ r(a.Item, {
|
|
962
962
|
"data-slot": "accordion-item",
|
|
963
|
-
className:
|
|
963
|
+
className: M("border-b", e),
|
|
964
964
|
...t
|
|
965
965
|
});
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function Lt({ className: e, children: t, ...n }) {
|
|
968
968
|
return /* @__PURE__ */ r(a.Header, {
|
|
969
969
|
className: "m-0 flex",
|
|
970
970
|
children: /* @__PURE__ */ i(a.Trigger, {
|
|
971
971
|
"data-slot": "accordion-trigger",
|
|
972
|
-
className:
|
|
972
|
+
className: M("group flex flex-1 cursor-pointer items-center justify-between gap-4 py-3 text-start type-h4 outline-none transition-colors duration-150 hover:text-brand-text focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none", e),
|
|
973
973
|
...n,
|
|
974
974
|
children: [t, /* @__PURE__ */ i("svg", {
|
|
975
975
|
viewBox: "0 0 16 16",
|
|
@@ -995,226 +995,226 @@ function It({ className: e, children: t, ...n }) {
|
|
|
995
995
|
})
|
|
996
996
|
});
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function Rt({ className: e, children: t, ...n }) {
|
|
999
999
|
return /* @__PURE__ */ r(a.Content, {
|
|
1000
1000
|
"data-slot": "accordion-content",
|
|
1001
1001
|
className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down motion-reduce:animate-none",
|
|
1002
1002
|
...n,
|
|
1003
1003
|
children: /* @__PURE__ */ r("div", {
|
|
1004
|
-
className:
|
|
1004
|
+
className: M("pb-3", e),
|
|
1005
1005
|
children: t
|
|
1006
1006
|
})
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
1009
1009
|
// src/ui/layout/card.component.tsx
|
|
1010
|
-
function
|
|
1010
|
+
function zt({ className: e, ...t }) {
|
|
1011
1011
|
return /* @__PURE__ */ r("div", {
|
|
1012
1012
|
"data-slot": "card",
|
|
1013
|
-
className:
|
|
1013
|
+
className: M("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
|
|
1014
1014
|
...t
|
|
1015
1015
|
});
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Bt({ className: e, ...t }) {
|
|
1018
1018
|
return /* @__PURE__ */ r("div", {
|
|
1019
1019
|
"data-slot": "card-header",
|
|
1020
|
-
className:
|
|
1020
|
+
className: M("flex flex-col gap-1 px-5 pt-5", e),
|
|
1021
1021
|
...t
|
|
1022
1022
|
});
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function Vt({ className: e, children: t, ...n }) {
|
|
1025
1025
|
return /* @__PURE__ */ r("h3", {
|
|
1026
1026
|
"data-slot": "card-title",
|
|
1027
|
-
className:
|
|
1027
|
+
className: M("m-0 type-h4", e),
|
|
1028
1028
|
...n,
|
|
1029
1029
|
children: t
|
|
1030
1030
|
});
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Ht({ className: e, ...t }) {
|
|
1033
1033
|
return /* @__PURE__ */ r("p", {
|
|
1034
1034
|
"data-slot": "card-description",
|
|
1035
|
-
className:
|
|
1035
|
+
className: M("m-0 text-[13px] text-muted-foreground", e),
|
|
1036
1036
|
...t
|
|
1037
1037
|
});
|
|
1038
1038
|
}
|
|
1039
|
-
function
|
|
1039
|
+
function Ut({ className: e, ...t }) {
|
|
1040
1040
|
return /* @__PURE__ */ r("div", {
|
|
1041
1041
|
"data-slot": "card-content",
|
|
1042
|
-
className:
|
|
1042
|
+
className: M("px-5 py-4", e),
|
|
1043
1043
|
...t
|
|
1044
1044
|
});
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function Wt({ className: e, ...t }) {
|
|
1047
1047
|
return /* @__PURE__ */ r("div", {
|
|
1048
1048
|
"data-slot": "card-footer",
|
|
1049
|
-
className:
|
|
1049
|
+
className: M("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
|
|
1050
1050
|
...t
|
|
1051
1051
|
});
|
|
1052
1052
|
}
|
|
1053
1053
|
// src/ui/layout/kbd.component.tsx
|
|
1054
|
-
function
|
|
1054
|
+
function Gt({ className: e, ...t }) {
|
|
1055
1055
|
return /* @__PURE__ */ r("kbd", {
|
|
1056
1056
|
"data-slot": "kbd",
|
|
1057
|
-
className:
|
|
1057
|
+
className: M("inline-flex h-5 min-w-5 items-center justify-center rounded-[5px] border border-b-2 bg-muted px-1.5 font-mono text-[11px] text-muted-foreground", e),
|
|
1058
1058
|
...t
|
|
1059
1059
|
});
|
|
1060
1060
|
}
|
|
1061
1061
|
// src/ui/layout/resizable.component.tsx
|
|
1062
|
-
function
|
|
1063
|
-
return /* @__PURE__ */ r(
|
|
1062
|
+
function Kt({ className: e, ...t }) {
|
|
1063
|
+
return /* @__PURE__ */ r(je, {
|
|
1064
1064
|
"data-slot": "resizable-panel-group",
|
|
1065
|
-
className:
|
|
1065
|
+
className: M("flex size-full", e),
|
|
1066
1066
|
...t
|
|
1067
1067
|
});
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1070
|
-
return /* @__PURE__ */ r(
|
|
1069
|
+
function qt(e) {
|
|
1070
|
+
return /* @__PURE__ */ r(Me, {
|
|
1071
1071
|
"data-slot": "resizable-panel",
|
|
1072
1072
|
...e
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1076
|
-
return /* @__PURE__ */ r(
|
|
1075
|
+
function Jt({ className: e, ...t }) {
|
|
1076
|
+
return /* @__PURE__ */ r(Ne, {
|
|
1077
1077
|
"data-slot": "resizable-handle",
|
|
1078
|
-
className:
|
|
1078
|
+
className: M("relative flex w-px shrink-0 items-center justify-center bg-border outline-none after:absolute after:inset-y-0 after:start-1/2 after:w-2 after:-translate-x-1/2", "hover:bg-ring focus-visible:bg-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full", e),
|
|
1079
1079
|
...t
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
1082
|
// src/ui/layout/scroll-area.component.tsx
|
|
1083
|
-
function
|
|
1083
|
+
function Yt({ className: e, children: t, ...n }) {
|
|
1084
1084
|
return /* @__PURE__ */ i(y.Root, {
|
|
1085
1085
|
"data-slot": "scroll-area",
|
|
1086
|
-
className:
|
|
1086
|
+
className: M("relative overflow-hidden", e),
|
|
1087
1087
|
...n,
|
|
1088
1088
|
children: [
|
|
1089
1089
|
/* @__PURE__ */ r(y.Viewport, {
|
|
1090
1090
|
className: "size-full rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1091
1091
|
children: t
|
|
1092
1092
|
}),
|
|
1093
|
-
/* @__PURE__ */ r(
|
|
1094
|
-
/* @__PURE__ */ r(
|
|
1093
|
+
/* @__PURE__ */ r(Xt, {}),
|
|
1094
|
+
/* @__PURE__ */ r(Xt, { orientation: "horizontal" }),
|
|
1095
1095
|
/* @__PURE__ */ r(y.Corner, {})
|
|
1096
1096
|
]
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function Xt({ className: e, orientation: t = "vertical", ...n }) {
|
|
1100
1100
|
return /* @__PURE__ */ r(y.Scrollbar, {
|
|
1101
1101
|
"data-slot": "scroll-area-scrollbar",
|
|
1102
1102
|
orientation: t,
|
|
1103
|
-
className:
|
|
1103
|
+
className: M("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
|
|
1104
1104
|
...n,
|
|
1105
1105
|
children: /* @__PURE__ */ r(y.Thumb, { className: "relative flex-1 rounded-full bg-input" })
|
|
1106
1106
|
});
|
|
1107
1107
|
}
|
|
1108
1108
|
// src/ui/layout/separator.component.tsx
|
|
1109
|
-
function
|
|
1109
|
+
function Zt({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
|
|
1110
1110
|
return /* @__PURE__ */ r(ee.Root, {
|
|
1111
1111
|
"data-slot": "separator",
|
|
1112
1112
|
orientation: t,
|
|
1113
1113
|
decorative: n,
|
|
1114
|
-
className:
|
|
1114
|
+
className: M("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
|
|
1115
1115
|
...i
|
|
1116
1116
|
});
|
|
1117
1117
|
}
|
|
1118
1118
|
// src/ui/layout/table.component.tsx
|
|
1119
|
-
function
|
|
1119
|
+
function Qt({ className: e, ...t }) {
|
|
1120
1120
|
return /* @__PURE__ */ r("div", {
|
|
1121
1121
|
"data-slot": "table-container",
|
|
1122
1122
|
className: "relative w-full overflow-x-auto",
|
|
1123
1123
|
children: /* @__PURE__ */ r("table", {
|
|
1124
1124
|
"data-slot": "table",
|
|
1125
|
-
className:
|
|
1125
|
+
className: M("w-full caption-bottom border-collapse text-[13px]", e),
|
|
1126
1126
|
...t
|
|
1127
1127
|
})
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function $t(e) {
|
|
1131
1131
|
return /* @__PURE__ */ r("thead", {
|
|
1132
1132
|
"data-slot": "table-header",
|
|
1133
1133
|
...e
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function en(e) {
|
|
1137
1137
|
return /* @__PURE__ */ r("tbody", {
|
|
1138
1138
|
"data-slot": "table-body",
|
|
1139
1139
|
...e
|
|
1140
1140
|
});
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function tn({ className: e, ...t }) {
|
|
1143
1143
|
return /* @__PURE__ */ r("tr", {
|
|
1144
1144
|
"data-slot": "table-row",
|
|
1145
|
-
className:
|
|
1145
|
+
className: M("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
|
|
1146
1146
|
...t
|
|
1147
1147
|
});
|
|
1148
1148
|
}
|
|
1149
|
-
function
|
|
1149
|
+
function W({ className: e, ...t }) {
|
|
1150
1150
|
return /* @__PURE__ */ r("th", {
|
|
1151
1151
|
"data-slot": "table-head",
|
|
1152
|
-
className:
|
|
1152
|
+
className: M("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
|
|
1153
1153
|
...t
|
|
1154
1154
|
});
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function G({ className: e, ...t }) {
|
|
1157
1157
|
return /* @__PURE__ */ r("td", {
|
|
1158
1158
|
"data-slot": "table-cell",
|
|
1159
|
-
className:
|
|
1159
|
+
className: M("px-3 py-[11px] align-middle", e),
|
|
1160
1160
|
...t
|
|
1161
1161
|
});
|
|
1162
1162
|
}
|
|
1163
|
-
function
|
|
1163
|
+
function nn({ className: e, ...t }) {
|
|
1164
1164
|
return /* @__PURE__ */ r("caption", {
|
|
1165
1165
|
"data-slot": "table-caption",
|
|
1166
|
-
className:
|
|
1166
|
+
className: M("mt-3 text-xs text-muted-foreground", e),
|
|
1167
1167
|
...t
|
|
1168
1168
|
});
|
|
1169
1169
|
}
|
|
1170
1170
|
// src/ui/overlay/overlay.recipe.ts
|
|
1171
|
-
var
|
|
1171
|
+
var K = "fixed inset-0 z-50 backdrop-blur-[5px] backdrop-contrast-[.5] backdrop-saturate-[.3] backdrop-brightness-[1.3] dark:backdrop-brightness-[.7] data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out", q = "data-[state=open]:animate-zoom-in data-[state=delayed-open]:animate-zoom-in data-[state=instant-open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=delayed-open]:animate-fade-in motion-reduce:data-[state=instant-open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", rn = {
|
|
1172
1172
|
start: "data-[state=open]:animate-sheet-in-start data-[state=closed]:animate-sheet-out-start motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
|
|
1173
1173
|
end: "data-[state=open]:animate-sheet-in-end data-[state=closed]:animate-sheet-out-end motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
|
|
1174
1174
|
top: "data-[state=open]:animate-sheet-in-top data-[state=closed]:animate-sheet-out-top motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
|
|
1175
1175
|
bottom: "data-[state=open]:animate-sheet-in-bottom data-[state=closed]:animate-sheet-out-bottom motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out"
|
|
1176
|
-
},
|
|
1177
|
-
function
|
|
1178
|
-
return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className:
|
|
1176
|
+
}, an = o.Root, on = o.Trigger;
|
|
1177
|
+
function sn({ className: e, ...t }) {
|
|
1178
|
+
return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: K }), /* @__PURE__ */ r(o.Content, {
|
|
1179
1179
|
"data-slot": "alert-dialog-content",
|
|
1180
|
-
className:
|
|
1180
|
+
className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", q, e),
|
|
1181
1181
|
...t
|
|
1182
1182
|
})] });
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function cn({ className: e, ...t }) {
|
|
1185
1185
|
return /* @__PURE__ */ r(o.Title, {
|
|
1186
1186
|
"data-slot": "alert-dialog-title",
|
|
1187
|
-
className:
|
|
1187
|
+
className: M("m-0 font-display text-lg font-bold leading-tight", e),
|
|
1188
1188
|
...t
|
|
1189
1189
|
});
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function ln({ className: e, ...t }) {
|
|
1192
1192
|
return /* @__PURE__ */ r(o.Description, {
|
|
1193
1193
|
"data-slot": "alert-dialog-description",
|
|
1194
|
-
className:
|
|
1194
|
+
className: M("m-0 text-sm text-muted-foreground", e),
|
|
1195
1195
|
...t
|
|
1196
1196
|
});
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function un({ className: e, variant: t = "default", ...n }) {
|
|
1199
1199
|
return /* @__PURE__ */ r(o.Action, {
|
|
1200
1200
|
"data-slot": "alert-dialog-action",
|
|
1201
|
-
className:
|
|
1201
|
+
className: M(z({ variant: t }), e),
|
|
1202
1202
|
...n
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function dn({ className: e, ...t }) {
|
|
1206
1206
|
return /* @__PURE__ */ r(o.Cancel, {
|
|
1207
1207
|
"data-slot": "alert-dialog-cancel",
|
|
1208
|
-
className:
|
|
1208
|
+
className: M(z({ variant: "outline" }), e),
|
|
1209
1209
|
...t
|
|
1210
1210
|
});
|
|
1211
1211
|
}
|
|
1212
1212
|
// src/ui/overlay/dialog.component.tsx
|
|
1213
|
-
var
|
|
1214
|
-
function
|
|
1215
|
-
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className:
|
|
1213
|
+
var fn = d.Root, pn = d.Trigger, mn = d.Close;
|
|
1214
|
+
function hn({ className: e, children: t, showClose: n = !0, ...a }) {
|
|
1215
|
+
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: K }), /* @__PURE__ */ i(d.Content, {
|
|
1216
1216
|
"data-slot": "dialog-content",
|
|
1217
|
-
className:
|
|
1217
|
+
className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", q, e),
|
|
1218
1218
|
...a,
|
|
1219
1219
|
children: [t, n && /* @__PURE__ */ i(d.Close, {
|
|
1220
1220
|
className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -1228,40 +1228,40 @@ function mn({ className: e, children: t, showClose: n = !0, ...a }) {
|
|
|
1228
1228
|
})]
|
|
1229
1229
|
})] });
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function gn({ className: e, ...t }) {
|
|
1232
1232
|
return /* @__PURE__ */ r("div", {
|
|
1233
1233
|
"data-slot": "dialog-header",
|
|
1234
|
-
className:
|
|
1234
|
+
className: M("flex flex-col gap-1.5 text-start", e),
|
|
1235
1235
|
...t
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function _n({ className: e, ...t }) {
|
|
1239
1239
|
return /* @__PURE__ */ r("div", {
|
|
1240
1240
|
"data-slot": "dialog-footer",
|
|
1241
|
-
className:
|
|
1241
|
+
className: M("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
|
|
1242
1242
|
...t
|
|
1243
1243
|
});
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function vn({ className: e, ...t }) {
|
|
1246
1246
|
return /* @__PURE__ */ r(d.Title, {
|
|
1247
1247
|
"data-slot": "dialog-title",
|
|
1248
|
-
className:
|
|
1248
|
+
className: M("m-0 font-display text-lg font-bold leading-tight", e),
|
|
1249
1249
|
...t
|
|
1250
1250
|
});
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function yn({ className: e, ...t }) {
|
|
1253
1253
|
return /* @__PURE__ */ r(d.Description, {
|
|
1254
1254
|
"data-slot": "dialog-description",
|
|
1255
|
-
className:
|
|
1255
|
+
className: M("m-0 text-sm text-muted-foreground", e),
|
|
1256
1256
|
...t
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
1259
|
// src/ui/overlay/drawer.component.tsx
|
|
1260
|
-
var
|
|
1261
|
-
function
|
|
1262
|
-
return /* @__PURE__ */ i(
|
|
1260
|
+
var bn = A.Root, xn = A.Trigger, Sn = A.Close;
|
|
1261
|
+
function Cn({ className: e, children: t, ...n }) {
|
|
1262
|
+
return /* @__PURE__ */ i(A.Portal, { children: [/* @__PURE__ */ r(A.Overlay, { className: K }), /* @__PURE__ */ i(A.Content, {
|
|
1263
1263
|
"data-slot": "drawer-content",
|
|
1264
|
-
className:
|
|
1264
|
+
className: M("fixed inset-x-0 bottom-0 z-50 flex max-h-[85vh] flex-col gap-3.5 rounded-t-3xl border-t bg-popover px-5 pt-2.5 pb-8 text-popover-foreground outline-none", e),
|
|
1265
1265
|
...n,
|
|
1266
1266
|
children: [/* @__PURE__ */ r("div", {
|
|
1267
1267
|
"aria-hidden": "true",
|
|
@@ -1269,42 +1269,42 @@ function Sn({ className: e, children: t, ...n }) {
|
|
|
1269
1269
|
}), t]
|
|
1270
1270
|
})] });
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1273
|
-
return /* @__PURE__ */ r(
|
|
1272
|
+
function wn({ className: e, ...t }) {
|
|
1273
|
+
return /* @__PURE__ */ r(A.Title, {
|
|
1274
1274
|
"data-slot": "drawer-title",
|
|
1275
|
-
className:
|
|
1275
|
+
className: M("m-0 text-xl font-semibold leading-tight", e),
|
|
1276
1276
|
...t
|
|
1277
1277
|
});
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return /* @__PURE__ */ r(
|
|
1279
|
+
function Tn({ className: e, ...t }) {
|
|
1280
|
+
return /* @__PURE__ */ r(A.Description, {
|
|
1281
1281
|
"data-slot": "drawer-description",
|
|
1282
|
-
className:
|
|
1282
|
+
className: M("m-0 text-sm text-muted-foreground", e),
|
|
1283
1283
|
...t
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
1286
1286
|
// src/ui/overlay/popover.component.tsx
|
|
1287
|
-
var
|
|
1288
|
-
function
|
|
1287
|
+
var En = g.Root, Dn = g.Trigger, On = g.Anchor;
|
|
1288
|
+
function kn({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
|
|
1289
1289
|
return /* @__PURE__ */ r(g.Portal, { children: /* @__PURE__ */ r(g.Content, {
|
|
1290
1290
|
"data-slot": "popover-content",
|
|
1291
1291
|
align: t,
|
|
1292
1292
|
sideOffset: n,
|
|
1293
|
-
className:
|
|
1293
|
+
className: M("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none", q, e),
|
|
1294
1294
|
...i
|
|
1295
1295
|
}) });
|
|
1296
1296
|
}
|
|
1297
1297
|
// src/ui/overlay/sheet.component.tsx
|
|
1298
|
-
var
|
|
1298
|
+
var An = d.Root, jn = d.Trigger, Mn = d.Close, Nn = d.Title, Pn = d.Description, Fn = {
|
|
1299
1299
|
start: "inset-y-0 start-0 h-full w-3/4 max-w-sm border-e",
|
|
1300
1300
|
end: "inset-y-0 end-0 h-full w-3/4 max-w-sm border-s",
|
|
1301
1301
|
top: "inset-x-0 top-0 border-b",
|
|
1302
1302
|
bottom: "inset-x-0 bottom-0 border-t"
|
|
1303
1303
|
};
|
|
1304
|
-
function
|
|
1305
|
-
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className:
|
|
1304
|
+
function In({ className: e, children: t, side: n = "end", ...a }) {
|
|
1305
|
+
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: K }), /* @__PURE__ */ i(d.Content, {
|
|
1306
1306
|
"data-slot": "sheet-content",
|
|
1307
|
-
className:
|
|
1307
|
+
className: M("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none", Fn[n], rn[n], e),
|
|
1308
1308
|
...a,
|
|
1309
1309
|
children: [t, /* @__PURE__ */ i(d.Close, {
|
|
1310
1310
|
className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -1319,8 +1319,8 @@ function Fn({ className: e, children: t, side: n = "end", ...a }) {
|
|
|
1319
1319
|
})] });
|
|
1320
1320
|
}
|
|
1321
1321
|
// src/ui/overlay/tooltip.component.tsx
|
|
1322
|
-
var
|
|
1323
|
-
function
|
|
1322
|
+
var Ln = w.Provider;
|
|
1323
|
+
function J(e) {
|
|
1324
1324
|
return /* @__PURE__ */ r(w.Provider, {
|
|
1325
1325
|
delayDuration: 300,
|
|
1326
1326
|
children: /* @__PURE__ */ r(w.Root, {
|
|
@@ -1334,7 +1334,7 @@ function zn({ className: e, sideOffset: t = 6, ...n }) {
|
|
|
1334
1334
|
return /* @__PURE__ */ r(w.Portal, { children: /* @__PURE__ */ r(w.Content, {
|
|
1335
1335
|
"data-slot": "tooltip-content",
|
|
1336
1336
|
sideOffset: t,
|
|
1337
|
-
className:
|
|
1337
|
+
className: M("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background", q, e),
|
|
1338
1338
|
...n
|
|
1339
1339
|
}) });
|
|
1340
1340
|
}
|
|
@@ -1342,17 +1342,17 @@ function zn({ className: e, sideOffset: t = 6, ...n }) {
|
|
|
1342
1342
|
var Bn = "z-50 min-w-48 overflow-hidden rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", Y = "relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-[7px] text-[13.5px] outline-none transition-colors duration-150 motion-reduce:transition-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-muted-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:[&_svg]:text-destructive", Vn = "ms-auto text-xs tracking-wide text-muted-foreground", Hn = "-mx-1 my-1 h-px bg-border", Un = "px-2.5 py-1.5 text-xs font-medium text-muted-foreground";
|
|
1343
1343
|
// src/ui/menu/command.component.tsx
|
|
1344
1344
|
function Wn({ className: e, ...t }) {
|
|
1345
|
-
return /* @__PURE__ */ r(
|
|
1345
|
+
return /* @__PURE__ */ r(j, {
|
|
1346
1346
|
"data-slot": "command",
|
|
1347
|
-
className:
|
|
1347
|
+
className: M("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
|
|
1348
1348
|
...t
|
|
1349
1349
|
});
|
|
1350
1350
|
}
|
|
1351
1351
|
function Gn({ title: e = "Search", children: t, ...n }) {
|
|
1352
1352
|
return /* @__PURE__ */ r(d.Root, {
|
|
1353
1353
|
...n,
|
|
1354
|
-
children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className:
|
|
1355
|
-
className:
|
|
1354
|
+
children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: K }), /* @__PURE__ */ i(d.Content, {
|
|
1355
|
+
className: M("fixed start-1/2 top-[18%] z-50 w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border bg-popover shadow-lg outline-none rtl:translate-x-1/2", q),
|
|
1356
1356
|
children: [
|
|
1357
1357
|
/* @__PURE__ */ r(d.Title, {
|
|
1358
1358
|
className: "sr-only",
|
|
@@ -1374,52 +1374,52 @@ function Kn({ className: e, ...t }) {
|
|
|
1374
1374
|
children: [/* @__PURE__ */ r(E, {
|
|
1375
1375
|
className: "size-4 shrink-0 text-muted-foreground",
|
|
1376
1376
|
"aria-hidden": "true"
|
|
1377
|
-
}), /* @__PURE__ */ r(
|
|
1377
|
+
}), /* @__PURE__ */ r(j.Input, {
|
|
1378
1378
|
"data-slot": "command-input",
|
|
1379
|
-
className:
|
|
1379
|
+
className: M("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
|
|
1380
1380
|
...t
|
|
1381
1381
|
})]
|
|
1382
1382
|
});
|
|
1383
1383
|
}
|
|
1384
1384
|
function qn({ className: e, ...t }) {
|
|
1385
|
-
return /* @__PURE__ */ r(
|
|
1385
|
+
return /* @__PURE__ */ r(j.List, {
|
|
1386
1386
|
"data-slot": "command-list",
|
|
1387
|
-
className:
|
|
1387
|
+
className: M("max-h-80 overflow-y-auto p-1", e),
|
|
1388
1388
|
...t
|
|
1389
1389
|
});
|
|
1390
1390
|
}
|
|
1391
1391
|
function Jn({ className: e, ...t }) {
|
|
1392
|
-
return /* @__PURE__ */ r(
|
|
1392
|
+
return /* @__PURE__ */ r(j.Empty, {
|
|
1393
1393
|
"data-slot": "command-empty",
|
|
1394
|
-
className:
|
|
1394
|
+
className: M("py-6 text-center text-sm text-muted-foreground", e),
|
|
1395
1395
|
...t
|
|
1396
1396
|
});
|
|
1397
1397
|
}
|
|
1398
1398
|
function Yn({ className: e, ...t }) {
|
|
1399
|
-
return /* @__PURE__ */ r(
|
|
1399
|
+
return /* @__PURE__ */ r(j.Group, {
|
|
1400
1400
|
"data-slot": "command-group",
|
|
1401
|
-
className:
|
|
1401
|
+
className: M("[&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
|
|
1402
1402
|
...t
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
1405
|
function Xn({ className: e, ...t }) {
|
|
1406
|
-
return /* @__PURE__ */ r(
|
|
1406
|
+
return /* @__PURE__ */ r(j.Item, {
|
|
1407
1407
|
"data-slot": "command-item",
|
|
1408
|
-
className:
|
|
1408
|
+
className: M(Y, "data-[selected=true]:bg-accent", e),
|
|
1409
1409
|
...t
|
|
1410
1410
|
});
|
|
1411
1411
|
}
|
|
1412
1412
|
function Zn({ className: e, ...t }) {
|
|
1413
|
-
return /* @__PURE__ */ r(
|
|
1413
|
+
return /* @__PURE__ */ r(j.Separator, {
|
|
1414
1414
|
"data-slot": "command-separator",
|
|
1415
|
-
className:
|
|
1415
|
+
className: M(Hn, e),
|
|
1416
1416
|
...t
|
|
1417
1417
|
});
|
|
1418
1418
|
}
|
|
1419
1419
|
function Qn({ className: e, ...t }) {
|
|
1420
1420
|
return /* @__PURE__ */ r("span", {
|
|
1421
1421
|
"data-slot": "command-shortcut",
|
|
1422
|
-
className:
|
|
1422
|
+
className: M(Vn, e),
|
|
1423
1423
|
...t
|
|
1424
1424
|
});
|
|
1425
1425
|
}
|
|
@@ -1428,7 +1428,7 @@ var $n = u.Root, er = u.Trigger;
|
|
|
1428
1428
|
function tr({ className: e, ...t }) {
|
|
1429
1429
|
return /* @__PURE__ */ r(u.Portal, { children: /* @__PURE__ */ r(u.Content, {
|
|
1430
1430
|
"data-slot": "context-menu-content",
|
|
1431
|
-
className:
|
|
1431
|
+
className: M(Bn, "origin-(--radix-context-menu-content-transform-origin)", e),
|
|
1432
1432
|
...t
|
|
1433
1433
|
}) });
|
|
1434
1434
|
}
|
|
@@ -1436,21 +1436,21 @@ function nr({ className: e, variant: t = "default", ...n }) {
|
|
|
1436
1436
|
return /* @__PURE__ */ r(u.Item, {
|
|
1437
1437
|
"data-slot": "context-menu-item",
|
|
1438
1438
|
"data-variant": t,
|
|
1439
|
-
className:
|
|
1439
|
+
className: M(Y, e),
|
|
1440
1440
|
...n
|
|
1441
1441
|
});
|
|
1442
1442
|
}
|
|
1443
1443
|
function rr({ className: e, ...t }) {
|
|
1444
1444
|
return /* @__PURE__ */ r(u.Separator, {
|
|
1445
1445
|
"data-slot": "context-menu-separator",
|
|
1446
|
-
className:
|
|
1446
|
+
className: M(Hn, e),
|
|
1447
1447
|
...t
|
|
1448
1448
|
});
|
|
1449
1449
|
}
|
|
1450
1450
|
function ir({ className: e, ...t }) {
|
|
1451
1451
|
return /* @__PURE__ */ r("span", {
|
|
1452
1452
|
"data-slot": "context-menu-shortcut",
|
|
1453
|
-
className:
|
|
1453
|
+
className: M(Vn, e),
|
|
1454
1454
|
...t
|
|
1455
1455
|
});
|
|
1456
1456
|
}
|
|
@@ -1460,7 +1460,7 @@ function lr({ className: e, sideOffset: t = 6, ...n }) {
|
|
|
1460
1460
|
return /* @__PURE__ */ r(f.Portal, { children: /* @__PURE__ */ r(f.Content, {
|
|
1461
1461
|
"data-slot": "dropdown-menu-content",
|
|
1462
1462
|
sideOffset: t,
|
|
1463
|
-
className:
|
|
1463
|
+
className: M(Bn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
|
|
1464
1464
|
...n
|
|
1465
1465
|
}) });
|
|
1466
1466
|
}
|
|
@@ -1468,14 +1468,14 @@ function ur({ className: e, variant: t = "default", ...n }) {
|
|
|
1468
1468
|
return /* @__PURE__ */ r(f.Item, {
|
|
1469
1469
|
"data-slot": "dropdown-menu-item",
|
|
1470
1470
|
"data-variant": t,
|
|
1471
|
-
className:
|
|
1471
|
+
className: M(Y, e),
|
|
1472
1472
|
...n
|
|
1473
1473
|
});
|
|
1474
1474
|
}
|
|
1475
1475
|
function dr({ className: e, children: t, ...n }) {
|
|
1476
1476
|
return /* @__PURE__ */ i(f.RadioItem, {
|
|
1477
1477
|
"data-slot": "dropdown-menu-radio-item",
|
|
1478
|
-
className:
|
|
1478
|
+
className: M(Y, "ps-7", e),
|
|
1479
1479
|
...n,
|
|
1480
1480
|
children: [/* @__PURE__ */ r("span", {
|
|
1481
1481
|
className: "absolute start-2.5 flex size-2 items-center justify-center",
|
|
@@ -1486,21 +1486,21 @@ function dr({ className: e, children: t, ...n }) {
|
|
|
1486
1486
|
function fr({ className: e, ...t }) {
|
|
1487
1487
|
return /* @__PURE__ */ r(f.Label, {
|
|
1488
1488
|
"data-slot": "dropdown-menu-label",
|
|
1489
|
-
className:
|
|
1489
|
+
className: M(Un, e),
|
|
1490
1490
|
...t
|
|
1491
1491
|
});
|
|
1492
1492
|
}
|
|
1493
1493
|
function pr({ className: e, ...t }) {
|
|
1494
1494
|
return /* @__PURE__ */ r(f.Separator, {
|
|
1495
1495
|
"data-slot": "dropdown-menu-separator",
|
|
1496
|
-
className:
|
|
1496
|
+
className: M(Hn, e),
|
|
1497
1497
|
...t
|
|
1498
1498
|
});
|
|
1499
1499
|
}
|
|
1500
1500
|
function mr({ className: e, ...t }) {
|
|
1501
1501
|
return /* @__PURE__ */ r("span", {
|
|
1502
1502
|
"data-slot": "dropdown-menu-shortcut",
|
|
1503
|
-
className:
|
|
1503
|
+
className: M(Vn, e),
|
|
1504
1504
|
...t
|
|
1505
1505
|
});
|
|
1506
1506
|
}
|
|
@@ -1515,14 +1515,14 @@ function hr({ "aria-label": e = "Breadcrumb", ...t }) {
|
|
|
1515
1515
|
function gr({ className: e, ...t }) {
|
|
1516
1516
|
return /* @__PURE__ */ r("ol", {
|
|
1517
1517
|
"data-slot": "breadcrumb-list",
|
|
1518
|
-
className:
|
|
1518
|
+
className: M("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
|
|
1519
1519
|
...t
|
|
1520
1520
|
});
|
|
1521
1521
|
}
|
|
1522
1522
|
function _r({ className: e, ...t }) {
|
|
1523
1523
|
return /* @__PURE__ */ r("li", {
|
|
1524
1524
|
"data-slot": "breadcrumb-item",
|
|
1525
|
-
className:
|
|
1525
|
+
className: M("inline-flex items-center gap-2", e),
|
|
1526
1526
|
...t
|
|
1527
1527
|
});
|
|
1528
1528
|
}
|
|
@@ -1530,7 +1530,7 @@ function vr({ asChild: e = !1, className: t, ...n }) {
|
|
|
1530
1530
|
let i = e ? S.Root : "a";
|
|
1531
1531
|
return /* @__PURE__ */ r(i, {
|
|
1532
1532
|
"data-slot": "breadcrumb-link",
|
|
1533
|
-
className:
|
|
1533
|
+
className: M("text-inherit no-underline transition-colors hover:text-foreground", t),
|
|
1534
1534
|
...n
|
|
1535
1535
|
});
|
|
1536
1536
|
}
|
|
@@ -1538,7 +1538,7 @@ function yr({ className: e, ...t }) {
|
|
|
1538
1538
|
return /* @__PURE__ */ r("span", {
|
|
1539
1539
|
"data-slot": "breadcrumb-page",
|
|
1540
1540
|
"aria-current": "page",
|
|
1541
|
-
className:
|
|
1541
|
+
className: M("font-medium text-foreground", e),
|
|
1542
1542
|
...t
|
|
1543
1543
|
});
|
|
1544
1544
|
}
|
|
@@ -1560,7 +1560,7 @@ function Sr({ open: e, className: t, ...n }) {
|
|
|
1560
1560
|
viewBox: "0 0 24 24",
|
|
1561
1561
|
fill: "currentColor",
|
|
1562
1562
|
"aria-hidden": "true",
|
|
1563
|
-
className:
|
|
1563
|
+
className: M("group/menu-icon size-5", t),
|
|
1564
1564
|
...n,
|
|
1565
1565
|
children: [
|
|
1566
1566
|
/* @__PURE__ */ r("rect", {
|
|
@@ -1569,7 +1569,7 @@ function Sr({ open: e, className: t, ...n }) {
|
|
|
1569
1569
|
width: "16",
|
|
1570
1570
|
height: "2",
|
|
1571
1571
|
rx: "1",
|
|
1572
|
-
className:
|
|
1572
|
+
className: M(xr, "group-data-[state=open]/menu-icon:animate-menu-line-top-open group-data-[state=closed]/menu-icon:animate-menu-line-top-close")
|
|
1573
1573
|
}),
|
|
1574
1574
|
/* @__PURE__ */ r("rect", {
|
|
1575
1575
|
x: "4",
|
|
@@ -1577,7 +1577,7 @@ function Sr({ open: e, className: t, ...n }) {
|
|
|
1577
1577
|
width: "16",
|
|
1578
1578
|
height: "2",
|
|
1579
1579
|
rx: "1",
|
|
1580
|
-
className:
|
|
1580
|
+
className: M(xr, "group-data-[state=open]/menu-icon:animate-menu-line-middle-open group-data-[state=closed]/menu-icon:animate-menu-line-middle-close")
|
|
1581
1581
|
}),
|
|
1582
1582
|
/* @__PURE__ */ r("rect", {
|
|
1583
1583
|
x: "4",
|
|
@@ -1585,7 +1585,7 @@ function Sr({ open: e, className: t, ...n }) {
|
|
|
1585
1585
|
width: "16",
|
|
1586
1586
|
height: "2",
|
|
1587
1587
|
rx: "1",
|
|
1588
|
-
className:
|
|
1588
|
+
className: M(xr, "group-data-[state=open]/menu-icon:animate-menu-line-bottom-open group-data-[state=closed]/menu-icon:animate-menu-line-bottom-close")
|
|
1589
1589
|
})
|
|
1590
1590
|
]
|
|
1591
1591
|
});
|
|
@@ -1594,7 +1594,7 @@ function Sr({ open: e, className: t, ...n }) {
|
|
|
1594
1594
|
function Cr({ className: e, ...t }) {
|
|
1595
1595
|
return /* @__PURE__ */ r(m.Root, {
|
|
1596
1596
|
"data-slot": "menubar",
|
|
1597
|
-
className:
|
|
1597
|
+
className: M("flex items-center gap-0.5", e),
|
|
1598
1598
|
...t
|
|
1599
1599
|
});
|
|
1600
1600
|
}
|
|
@@ -1602,7 +1602,7 @@ var wr = m.Menu;
|
|
|
1602
1602
|
function Tr({ className: e, ...t }) {
|
|
1603
1603
|
return /* @__PURE__ */ r(m.Trigger, {
|
|
1604
1604
|
"data-slot": "menubar-trigger",
|
|
1605
|
-
className:
|
|
1605
|
+
className: M("flex h-[26px] cursor-default select-none items-center rounded-sm px-2 text-[13px] outline-none hover:bg-accent focus:bg-accent data-[state=open]:bg-accent", e),
|
|
1606
1606
|
...t
|
|
1607
1607
|
});
|
|
1608
1608
|
}
|
|
@@ -1611,28 +1611,28 @@ function Er({ className: e, align: t = "start", sideOffset: n = 6, ...i }) {
|
|
|
1611
1611
|
"data-slot": "menubar-content",
|
|
1612
1612
|
align: t,
|
|
1613
1613
|
sideOffset: n,
|
|
1614
|
-
className:
|
|
1614
|
+
className: M("z-50 min-w-48 origin-(--radix-menubar-content-transform-origin) rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
|
|
1615
1615
|
...i
|
|
1616
1616
|
}) });
|
|
1617
1617
|
}
|
|
1618
1618
|
function Dr({ className: e, ...t }) {
|
|
1619
1619
|
return /* @__PURE__ */ r(m.Item, {
|
|
1620
1620
|
"data-slot": "menubar-item",
|
|
1621
|
-
className:
|
|
1621
|
+
className: M("relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-1.5 text-[13px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
|
|
1622
1622
|
...t
|
|
1623
1623
|
});
|
|
1624
1624
|
}
|
|
1625
1625
|
function Or({ className: e, ...t }) {
|
|
1626
1626
|
return /* @__PURE__ */ r("span", {
|
|
1627
1627
|
"data-slot": "menubar-shortcut",
|
|
1628
|
-
className:
|
|
1628
|
+
className: M("ms-auto text-xs text-muted-foreground", e),
|
|
1629
1629
|
...t
|
|
1630
1630
|
});
|
|
1631
1631
|
}
|
|
1632
1632
|
function kr({ className: e, ...t }) {
|
|
1633
1633
|
return /* @__PURE__ */ r(m.Separator, {
|
|
1634
1634
|
"data-slot": "menubar-separator",
|
|
1635
|
-
className:
|
|
1635
|
+
className: M("-mx-1 my-1 h-px bg-border", e),
|
|
1636
1636
|
...t
|
|
1637
1637
|
});
|
|
1638
1638
|
}
|
|
@@ -1640,7 +1640,7 @@ function kr({ className: e, ...t }) {
|
|
|
1640
1640
|
function Ar({ className: e, children: t, ...n }) {
|
|
1641
1641
|
return /* @__PURE__ */ i(h.Root, {
|
|
1642
1642
|
"data-slot": "navigation-menu",
|
|
1643
|
-
className:
|
|
1643
|
+
className: M("relative flex items-center", e),
|
|
1644
1644
|
...n,
|
|
1645
1645
|
children: [t, /* @__PURE__ */ r("div", {
|
|
1646
1646
|
className: "absolute start-0 top-full flex justify-center",
|
|
@@ -1651,7 +1651,7 @@ function Ar({ className: e, children: t, ...n }) {
|
|
|
1651
1651
|
function jr({ className: e, ...t }) {
|
|
1652
1652
|
return /* @__PURE__ */ r(h.List, {
|
|
1653
1653
|
"data-slot": "navigation-menu-list",
|
|
1654
|
-
className:
|
|
1654
|
+
className: M("m-0 flex list-none items-center gap-1 p-0", e),
|
|
1655
1655
|
...t
|
|
1656
1656
|
});
|
|
1657
1657
|
}
|
|
@@ -1659,7 +1659,7 @@ var Mr = h.Item, Nr = "inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer
|
|
|
1659
1659
|
function Pr({ className: e, children: t, ...n }) {
|
|
1660
1660
|
return /* @__PURE__ */ i(h.Trigger, {
|
|
1661
1661
|
"data-slot": "navigation-menu-trigger",
|
|
1662
|
-
className:
|
|
1662
|
+
className: M(Nr, "group", e),
|
|
1663
1663
|
...n,
|
|
1664
1664
|
children: [t, /* @__PURE__ */ r(ae, {
|
|
1665
1665
|
className: "size-4 transition-transform duration-200 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
|
|
@@ -1670,14 +1670,14 @@ function Pr({ className: e, children: t, ...n }) {
|
|
|
1670
1670
|
function Fr({ className: e, ...t }) {
|
|
1671
1671
|
return /* @__PURE__ */ r(h.Content, {
|
|
1672
1672
|
"data-slot": "navigation-menu-content",
|
|
1673
|
-
className:
|
|
1673
|
+
className: M("top-0 start-0 w-full origin-top p-2 md:absolute md:w-auto", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
|
|
1674
1674
|
...t
|
|
1675
1675
|
});
|
|
1676
1676
|
}
|
|
1677
1677
|
function Ir({ className: e, ...t }) {
|
|
1678
1678
|
return /* @__PURE__ */ r(h.Link, {
|
|
1679
1679
|
"data-slot": "navigation-menu-link",
|
|
1680
|
-
className:
|
|
1680
|
+
className: M(Nr, e),
|
|
1681
1681
|
...t
|
|
1682
1682
|
});
|
|
1683
1683
|
}
|
|
@@ -1687,11 +1687,11 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
|
|
|
1687
1687
|
return /* @__PURE__ */ i("nav", {
|
|
1688
1688
|
"data-slot": "pagination",
|
|
1689
1689
|
"aria-label": "Pagination",
|
|
1690
|
-
className:
|
|
1690
|
+
className: M("flex items-center gap-1", o),
|
|
1691
1691
|
children: [
|
|
1692
1692
|
/* @__PURE__ */ r("button", {
|
|
1693
1693
|
type: "button",
|
|
1694
|
-
className:
|
|
1694
|
+
className: z({
|
|
1695
1695
|
variant: "ghost",
|
|
1696
1696
|
size: "sm"
|
|
1697
1697
|
}),
|
|
@@ -1703,7 +1703,7 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
|
|
|
1703
1703
|
type: "button",
|
|
1704
1704
|
"aria-current": t === e ? "page" : void 0,
|
|
1705
1705
|
"aria-label": `Page ${t}`,
|
|
1706
|
-
className:
|
|
1706
|
+
className: z({
|
|
1707
1707
|
variant: t === e ? "outline" : "ghost",
|
|
1708
1708
|
size: "icon-sm"
|
|
1709
1709
|
}),
|
|
@@ -1712,7 +1712,7 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
|
|
|
1712
1712
|
}, t)),
|
|
1713
1713
|
/* @__PURE__ */ r("button", {
|
|
1714
1714
|
type: "button",
|
|
1715
|
-
className:
|
|
1715
|
+
className: z({
|
|
1716
1716
|
variant: "ghost",
|
|
1717
1717
|
size: "sm"
|
|
1718
1718
|
}),
|
|
@@ -1727,36 +1727,36 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
|
|
|
1727
1727
|
function Rr({ className: e, ...t }) {
|
|
1728
1728
|
return /* @__PURE__ */ r(C.Root, {
|
|
1729
1729
|
"data-slot": "tabs",
|
|
1730
|
-
className:
|
|
1730
|
+
className: M("flex flex-col gap-3", e),
|
|
1731
1731
|
...t
|
|
1732
1732
|
});
|
|
1733
1733
|
}
|
|
1734
1734
|
function zr({ className: e, variant: t = "pill", children: n, ...a }) {
|
|
1735
|
-
let o =
|
|
1735
|
+
let o = ft("[data-state=active]");
|
|
1736
1736
|
return /* @__PURE__ */ i(C.List, {
|
|
1737
1737
|
ref: o,
|
|
1738
1738
|
"data-slot": "tabs-list",
|
|
1739
1739
|
"data-variant": t,
|
|
1740
|
-
className:
|
|
1740
|
+
className: M("group/tabs-list group/indicator relative inline-flex w-fit items-center", t === "pill" ? "gap-0.5 rounded-md bg-muted p-[3px]" : "w-full gap-5 border-b", e),
|
|
1741
1741
|
...a,
|
|
1742
1742
|
children: [/* @__PURE__ */ r("span", {
|
|
1743
1743
|
"aria-hidden": "true",
|
|
1744
1744
|
"data-slot": "tabs-indicator",
|
|
1745
|
-
className:
|
|
1745
|
+
className: M(pt, t === "pill" ? "rounded-sm bg-background shadow-xs" : "top-auto -bottom-px h-0.5 bg-brand")
|
|
1746
1746
|
}), n]
|
|
1747
1747
|
});
|
|
1748
1748
|
}
|
|
1749
1749
|
function Br({ className: e, ...t }) {
|
|
1750
1750
|
return /* @__PURE__ */ r(C.Trigger, {
|
|
1751
1751
|
"data-slot": "tabs-trigger",
|
|
1752
|
-
className:
|
|
1752
|
+
className: M("inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4", "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]", "relative transition-colors duration-150 data-[state=active]:text-foreground motion-reduce:transition-none", "group-data-[variant=underline]/tabs-list:-mb-px group-data-[variant=underline]/tabs-list:border-b-2 group-data-[variant=underline]/tabs-list:border-transparent group-data-[variant=underline]/tabs-list:py-2.5 group-data-[variant=underline]/tabs-list:text-sm", e),
|
|
1753
1753
|
...t
|
|
1754
1754
|
});
|
|
1755
1755
|
}
|
|
1756
1756
|
function Vr({ className: e, ...t }) {
|
|
1757
1757
|
return /* @__PURE__ */ r(C.Content, {
|
|
1758
1758
|
"data-slot": "tabs-content",
|
|
1759
|
-
className:
|
|
1759
|
+
className: M("flex-1 outline-none", e),
|
|
1760
1760
|
...t
|
|
1761
1761
|
});
|
|
1762
1762
|
}
|
|
@@ -1772,12 +1772,12 @@ function Ur({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
|
|
|
1772
1772
|
"data-slot": "stepper",
|
|
1773
1773
|
"data-orientation": n,
|
|
1774
1774
|
"aria-label": s,
|
|
1775
|
-
className:
|
|
1775
|
+
className: M("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
|
|
1776
1776
|
...c,
|
|
1777
1777
|
children: e.map((n, o) => {
|
|
1778
1778
|
let s = o < t ? "done" : o === t ? "current" : "upcoming", c = o === e.length - 1, u = /* @__PURE__ */ r("span", {
|
|
1779
1779
|
"aria-hidden": "true",
|
|
1780
|
-
className:
|
|
1780
|
+
className: M("grid size-7 shrink-0 place-items-center rounded-full text-xs font-semibold transition-colors duration-200 motion-reduce:transition-none", Hr[s]),
|
|
1781
1781
|
children: s === "done" ? /* @__PURE__ */ r(T, {
|
|
1782
1782
|
className: "size-3.5",
|
|
1783
1783
|
strokeWidth: 2.5
|
|
@@ -1785,7 +1785,7 @@ function Ur({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
|
|
|
1785
1785
|
}), d = /* @__PURE__ */ i("span", {
|
|
1786
1786
|
className: "flex min-w-0 flex-col",
|
|
1787
1787
|
children: [/* @__PURE__ */ i("span", {
|
|
1788
|
-
className:
|
|
1788
|
+
className: M("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
|
|
1789
1789
|
children: [n.title, s === "done" && /* @__PURE__ */ r("span", {
|
|
1790
1790
|
className: "sr-only",
|
|
1791
1791
|
children: ", done"
|
|
@@ -1806,10 +1806,10 @@ function Ur({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
|
|
|
1806
1806
|
return /* @__PURE__ */ i("li", {
|
|
1807
1807
|
"data-state": s,
|
|
1808
1808
|
"aria-current": s === "current" ? "step" : void 0,
|
|
1809
|
-
className:
|
|
1809
|
+
className: M("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
|
|
1810
1810
|
children: [f, !c && /* @__PURE__ */ r("span", {
|
|
1811
1811
|
"aria-hidden": "true",
|
|
1812
|
-
className:
|
|
1812
|
+
className: M("shrink-0 bg-border transition-colors duration-200 motion-reduce:transition-none", l ? "my-1 ms-[13px] h-5 w-0.5" : "h-0.5 min-w-4 flex-1", s === "done" && "bg-primary")
|
|
1813
1813
|
})]
|
|
1814
1814
|
}, n.title);
|
|
1815
1815
|
})
|
|
@@ -1823,7 +1823,7 @@ function X() {
|
|
|
1823
1823
|
return e;
|
|
1824
1824
|
}
|
|
1825
1825
|
// src/ui/sidebar/sidebar.recipe.ts
|
|
1826
|
-
var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none",
|
|
1826
|
+
var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", Q = "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", Gr = {
|
|
1827
1827
|
panel: {
|
|
1828
1828
|
open: "w-64 gap-2 px-1.5 py-2.5",
|
|
1829
1829
|
collapsed: "w-12 gap-2 px-1.5 pt-2.5 pb-24"
|
|
@@ -1833,8 +1833,8 @@ var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] durat
|
|
|
1833
1833
|
collapsed: "w-14 gap-4 px-2 py-3"
|
|
1834
1834
|
}
|
|
1835
1835
|
};
|
|
1836
|
-
function
|
|
1837
|
-
let [d, f] =
|
|
1836
|
+
function Kr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
|
|
1837
|
+
let [d, f] = k(o), p = a ?? d;
|
|
1838
1838
|
function m(e) {
|
|
1839
1839
|
a === void 0 && f(e), s?.(e);
|
|
1840
1840
|
}
|
|
@@ -1851,7 +1851,7 @@ function qr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
|
|
|
1851
1851
|
"data-variant": t,
|
|
1852
1852
|
"data-collapsed": p || void 0,
|
|
1853
1853
|
"aria-label": e,
|
|
1854
|
-
className:
|
|
1854
|
+
className: M("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 ? Gr[t].collapsed : Gr[t].open, c),
|
|
1855
1855
|
...u,
|
|
1856
1856
|
children: [l, t === "panel" && /* @__PURE__ */ r("span", {
|
|
1857
1857
|
"aria-hidden": "true",
|
|
@@ -1861,9 +1861,9 @@ function qr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
|
|
|
1861
1861
|
})
|
|
1862
1862
|
});
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1864
|
+
function qr({ label: e, children: t }) {
|
|
1865
1865
|
let { collapsed: n, side: a } = X();
|
|
1866
|
-
return n ? /* @__PURE__ */ i(
|
|
1866
|
+
return n ? /* @__PURE__ */ i(J, { children: [/* @__PURE__ */ r(Rn, {
|
|
1867
1867
|
asChild: !0,
|
|
1868
1868
|
children: t
|
|
1869
1869
|
}), /* @__PURE__ */ r(zn, {
|
|
@@ -1871,16 +1871,16 @@ function Jr({ label: e, children: t }) {
|
|
|
1871
1871
|
children: e
|
|
1872
1872
|
})] }) : t;
|
|
1873
1873
|
}
|
|
1874
|
-
function
|
|
1874
|
+
function Jr({ className: e, ...t }) {
|
|
1875
1875
|
let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = X(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
|
|
1876
|
-
if (c === "nav") return /* @__PURE__ */ r(
|
|
1876
|
+
if (c === "nav") return /* @__PURE__ */ r(qr, {
|
|
1877
1877
|
label: l,
|
|
1878
1878
|
children: /* @__PURE__ */ i("button", {
|
|
1879
1879
|
type: "button",
|
|
1880
1880
|
"aria-label": l,
|
|
1881
1881
|
"aria-expanded": !n,
|
|
1882
1882
|
onClick: () => a(!n),
|
|
1883
|
-
className:
|
|
1883
|
+
className: M(Q, e),
|
|
1884
1884
|
...t,
|
|
1885
1885
|
children: [/* @__PURE__ */ r(ge, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
|
|
1886
1886
|
"aria-hidden": "true",
|
|
@@ -1890,33 +1890,33 @@ function Yr({ className: e, ...t }) {
|
|
|
1890
1890
|
})
|
|
1891
1891
|
});
|
|
1892
1892
|
let u = s === "start" !== n;
|
|
1893
|
-
return /* @__PURE__ */ r(
|
|
1893
|
+
return /* @__PURE__ */ r(B, {
|
|
1894
1894
|
variant: "ghost",
|
|
1895
1895
|
size: "icon-sm",
|
|
1896
1896
|
"aria-label": l,
|
|
1897
1897
|
"aria-expanded": !n,
|
|
1898
1898
|
title: l,
|
|
1899
1899
|
onClick: () => a(!n),
|
|
1900
|
-
className:
|
|
1900
|
+
className: M("shrink-0 text-muted-foreground", e),
|
|
1901
1901
|
...t,
|
|
1902
1902
|
children: r(u ? se : ce, {})
|
|
1903
1903
|
});
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1905
|
+
function Yr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
|
|
1906
1906
|
let { collapsed: s, label: c, variant: l } = X();
|
|
1907
1907
|
if (l === "nav") return /* @__PURE__ */ r("div", {
|
|
1908
1908
|
"data-slot": "sidebar-header",
|
|
1909
|
-
className:
|
|
1909
|
+
className: M("flex h-8 items-center", o),
|
|
1910
1910
|
children: a
|
|
1911
1911
|
});
|
|
1912
1912
|
let u = n ?? `Search ${c.toLowerCase()}`;
|
|
1913
1913
|
return /* @__PURE__ */ i("div", {
|
|
1914
1914
|
"data-slot": "sidebar-header",
|
|
1915
|
-
className:
|
|
1915
|
+
className: M("flex items-center gap-1", o),
|
|
1916
1916
|
children: [/* @__PURE__ */ i("div", {
|
|
1917
1917
|
inert: s,
|
|
1918
1918
|
className: "flex min-w-0 flex-1 items-center gap-1 transition-opacity duration-150 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none",
|
|
1919
|
-
children: [t && /* @__PURE__ */ r(
|
|
1919
|
+
children: [t && /* @__PURE__ */ r(U, {
|
|
1920
1920
|
type: "search",
|
|
1921
1921
|
value: e,
|
|
1922
1922
|
onChange: (e) => t(e.target.value),
|
|
@@ -1924,11 +1924,11 @@ function Xr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, clas
|
|
|
1924
1924
|
"aria-label": u,
|
|
1925
1925
|
startIcon: /* @__PURE__ */ r(E, {})
|
|
1926
1926
|
}), a]
|
|
1927
|
-
}), /* @__PURE__ */ r(
|
|
1927
|
+
}), /* @__PURE__ */ r(Jr, { className: "ms-auto" })]
|
|
1928
1928
|
});
|
|
1929
1929
|
}
|
|
1930
|
-
function
|
|
1931
|
-
let { label: n, variant: i } = X(), a =
|
|
1930
|
+
function Xr({ className: e, ...t }) {
|
|
1931
|
+
let { label: n, variant: i } = X(), a = M("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);
|
|
1932
1932
|
return i === "nav" ? /* @__PURE__ */ r("nav", {
|
|
1933
1933
|
"data-slot": "sidebar-content",
|
|
1934
1934
|
"aria-label": n,
|
|
@@ -1940,26 +1940,26 @@ function Zr({ className: e, ...t }) {
|
|
|
1940
1940
|
...t
|
|
1941
1941
|
});
|
|
1942
1942
|
}
|
|
1943
|
-
function
|
|
1943
|
+
function Zr({ className: e, ...t }) {
|
|
1944
1944
|
let { collapsed: n, variant: i } = X();
|
|
1945
1945
|
return i === "panel" && n ? null : /* @__PURE__ */ r("div", {
|
|
1946
1946
|
"data-slot": "sidebar-footer",
|
|
1947
|
-
className:
|
|
1947
|
+
className: M("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
|
|
1948
1948
|
...t
|
|
1949
1949
|
});
|
|
1950
1950
|
}
|
|
1951
1951
|
// src/ui/sidebar/sidebar-group.component.tsx
|
|
1952
|
-
function
|
|
1953
|
-
let { collapsed: u, variant: d } = X(), [f, p] =
|
|
1952
|
+
function Qr({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
|
|
1953
|
+
let { collapsed: u, variant: d } = X(), [f, p] = k(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
|
|
1954
1954
|
return m ? /* @__PURE__ */ i(l.Root, {
|
|
1955
1955
|
"data-slot": "sidebar-group",
|
|
1956
1956
|
open: n || u || f,
|
|
1957
1957
|
onOpenChange: p,
|
|
1958
|
-
className:
|
|
1958
|
+
className: M("flex flex-col gap-1", s),
|
|
1959
1959
|
children: [/* @__PURE__ */ i(l.Trigger, {
|
|
1960
1960
|
disabled: n,
|
|
1961
1961
|
inert: u,
|
|
1962
|
-
className:
|
|
1962
|
+
className: M("group/trigger flex w-full cursor-pointer items-center gap-1.5 rounded-sm px-[13px] py-0.5 text-start outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default", "whitespace-nowrap transition-[translate,opacity] duration-150 ease-out group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none"),
|
|
1963
1963
|
children: [
|
|
1964
1964
|
/* @__PURE__ */ r(oe, {
|
|
1965
1965
|
"aria-hidden": "true",
|
|
@@ -1984,16 +1984,16 @@ function $r({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collap
|
|
|
1984
1984
|
role: "group",
|
|
1985
1985
|
"aria-label": e,
|
|
1986
1986
|
"data-slot": "sidebar-group",
|
|
1987
|
-
className:
|
|
1987
|
+
className: M("flex flex-col gap-0.5", s),
|
|
1988
1988
|
children: [/* @__PURE__ */ r("span", {
|
|
1989
1989
|
"aria-hidden": "true",
|
|
1990
|
-
className:
|
|
1990
|
+
className: M("flex h-6 items-center px-3", h, Z),
|
|
1991
1991
|
children: e
|
|
1992
1992
|
}), c]
|
|
1993
1993
|
});
|
|
1994
1994
|
}
|
|
1995
1995
|
// src/ui/sidebar/sidebar-item.component.tsx
|
|
1996
|
-
function
|
|
1996
|
+
function $r({ 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 }) {
|
|
1997
1997
|
let { collapsed: m, variant: h } = X(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
|
|
1998
1998
|
/* @__PURE__ */ r("span", {
|
|
1999
1999
|
"aria-hidden": "true",
|
|
@@ -2005,7 +2005,7 @@ function ei({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2005
2005
|
children: e
|
|
2006
2006
|
}),
|
|
2007
2007
|
c !== void 0 && /* @__PURE__ */ r("span", {
|
|
2008
|
-
className:
|
|
2008
|
+
className: M("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Z),
|
|
2009
2009
|
children: c
|
|
2010
2010
|
})
|
|
2011
2011
|
] }) : /* @__PURE__ */ i(n, { children: [
|
|
@@ -2015,11 +2015,11 @@ function ei({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2015
2015
|
children: a
|
|
2016
2016
|
}) : /* @__PURE__ */ r("span", {
|
|
2017
2017
|
"aria-hidden": "true",
|
|
2018
|
-
className:
|
|
2018
|
+
className: M("h-6 w-2.5 shrink-0 rounded-[3px]", o ? I[o] : ""),
|
|
2019
2019
|
style: o ? void 0 : { background: s }
|
|
2020
2020
|
}),
|
|
2021
2021
|
/* @__PURE__ */ i("span", {
|
|
2022
|
-
className:
|
|
2022
|
+
className: M("flex flex-col", Z),
|
|
2023
2023
|
children: [/* @__PURE__ */ r("span", {
|
|
2024
2024
|
className: "truncate text-[13px] font-medium",
|
|
2025
2025
|
children: e
|
|
@@ -2029,10 +2029,10 @@ function ei({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2029
2029
|
})]
|
|
2030
2030
|
}),
|
|
2031
2031
|
c !== void 0 && /* @__PURE__ */ r("span", {
|
|
2032
|
-
className:
|
|
2032
|
+
className: M("ms-auto text-[11px] text-muted-foreground tabular-nums", Z),
|
|
2033
2033
|
children: c
|
|
2034
2034
|
})
|
|
2035
|
-
] }), v = h === "nav" ?
|
|
2035
|
+
] }), v = h === "nav" ? M(Q, d) : M("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 = {
|
|
2036
2036
|
"data-slot": "sidebar-item",
|
|
2037
2037
|
"aria-current": g,
|
|
2038
2038
|
"aria-label": m ? e : void 0,
|
|
@@ -2040,40 +2040,40 @@ function ei({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2040
2040
|
}, b = u && we(f) ? /* @__PURE__ */ r(S.Root, {
|
|
2041
2041
|
...y,
|
|
2042
2042
|
...p,
|
|
2043
|
-
children:
|
|
2043
|
+
children: ei(f, _)
|
|
2044
2044
|
}) : /* @__PURE__ */ r("button", {
|
|
2045
2045
|
type: "button",
|
|
2046
2046
|
...y,
|
|
2047
2047
|
...p,
|
|
2048
2048
|
children: _
|
|
2049
2049
|
});
|
|
2050
|
-
return /* @__PURE__ */ r(
|
|
2050
|
+
return /* @__PURE__ */ r(qr, {
|
|
2051
2051
|
label: e,
|
|
2052
2052
|
children: b
|
|
2053
2053
|
});
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function ei(e, t) {
|
|
2056
2056
|
return Se(e, void 0, t);
|
|
2057
2057
|
}
|
|
2058
2058
|
// src/ui/sidebar/sidebar-sheet.component.tsx
|
|
2059
|
-
function
|
|
2060
|
-
return /* @__PURE__ */ i(
|
|
2059
|
+
function ti({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
|
|
2060
|
+
return /* @__PURE__ */ i(An, {
|
|
2061
2061
|
open: a,
|
|
2062
2062
|
onOpenChange: o,
|
|
2063
|
-
children: [/* @__PURE__ */ r(
|
|
2063
|
+
children: [/* @__PURE__ */ r(jn, {
|
|
2064
2064
|
asChild: !0,
|
|
2065
|
-
children: /* @__PURE__ */ r(
|
|
2065
|
+
children: /* @__PURE__ */ r(B, {
|
|
2066
2066
|
variant: "ghost",
|
|
2067
2067
|
size: "icon",
|
|
2068
2068
|
"aria-label": `Show ${e.toLowerCase()}`,
|
|
2069
2069
|
className: s,
|
|
2070
2070
|
children: /* @__PURE__ */ r(ge, {})
|
|
2071
2071
|
})
|
|
2072
|
-
}), /* @__PURE__ */ i(
|
|
2072
|
+
}), /* @__PURE__ */ i(In, {
|
|
2073
2073
|
"data-slot": "sidebar-sheet",
|
|
2074
2074
|
side: n,
|
|
2075
2075
|
className: "d-mob w-[min(320px,86vw)] gap-0 p-0 [&>[data-slot=sidebar]]:border-0",
|
|
2076
|
-
children: [/* @__PURE__ */ r(
|
|
2076
|
+
children: [/* @__PURE__ */ r(Nn, {
|
|
2077
2077
|
className: "sr-only",
|
|
2078
2078
|
children: e
|
|
2079
2079
|
}), t]
|
|
@@ -2081,15 +2081,15 @@ function ni({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
|
|
|
2081
2081
|
});
|
|
2082
2082
|
}
|
|
2083
2083
|
// src/product/product-switcher.component.tsx
|
|
2084
|
-
function
|
|
2084
|
+
function ni({ product: e, workspace: t, products: n = Ye, onProductChange: a, className: o }) {
|
|
2085
2085
|
return /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
|
|
2086
2086
|
asChild: !0,
|
|
2087
|
-
children: /* @__PURE__ */ i(
|
|
2087
|
+
children: /* @__PURE__ */ i(B, {
|
|
2088
2088
|
variant: "ghost",
|
|
2089
|
-
className:
|
|
2090
|
-
"aria-label": `${
|
|
2089
|
+
className: M("h-12 w-full justify-start gap-2.5 px-2", o),
|
|
2090
|
+
"aria-label": `${N[e].name}, switch product`,
|
|
2091
2091
|
children: [
|
|
2092
|
-
/* @__PURE__ */ r(
|
|
2092
|
+
/* @__PURE__ */ r(P, {
|
|
2093
2093
|
product: e,
|
|
2094
2094
|
alt: "",
|
|
2095
2095
|
className: "size-7"
|
|
@@ -2098,7 +2098,7 @@ function ri({ product: e, workspace: t, products: n = Je, onProductChange: a, cl
|
|
|
2098
2098
|
className: "flex min-w-0 flex-col items-start leading-tight",
|
|
2099
2099
|
children: [/* @__PURE__ */ r("span", {
|
|
2100
2100
|
className: "font-display text-[17px] font-extrabold italic text-brand-text",
|
|
2101
|
-
children:
|
|
2101
|
+
children: N[e].name
|
|
2102
2102
|
}), t && /* @__PURE__ */ r("span", {
|
|
2103
2103
|
className: "truncate text-xs font-normal text-muted-foreground",
|
|
2104
2104
|
children: t
|
|
@@ -2118,21 +2118,21 @@ function ri({ product: e, workspace: t, products: n = Je, onProductChange: a, cl
|
|
|
2118
2118
|
onValueChange: (e) => a?.(e),
|
|
2119
2119
|
children: n.map((e) => /* @__PURE__ */ i(dr, {
|
|
2120
2120
|
value: e,
|
|
2121
|
-
children: [/* @__PURE__ */ r(
|
|
2121
|
+
children: [/* @__PURE__ */ r(P, {
|
|
2122
2122
|
product: e,
|
|
2123
2123
|
alt: "",
|
|
2124
2124
|
className: "size-4"
|
|
2125
|
-
}),
|
|
2125
|
+
}), N[e].name]
|
|
2126
2126
|
}, e))
|
|
2127
2127
|
})]
|
|
2128
2128
|
})] });
|
|
2129
2129
|
}
|
|
2130
2130
|
// src/product/sidebar-brand.component.tsx
|
|
2131
|
-
function
|
|
2132
|
-
let { collapsed: a, setCollapsed: o } = X(), s =
|
|
2131
|
+
function ri({ product: e, badge: t, className: n }) {
|
|
2132
|
+
let { collapsed: a, setCollapsed: o } = X(), s = N[e].name;
|
|
2133
2133
|
return /* @__PURE__ */ i("div", {
|
|
2134
2134
|
"data-slot": "sidebar-brand",
|
|
2135
|
-
className:
|
|
2135
|
+
className: M("flex h-8 items-center", n),
|
|
2136
2136
|
children: [
|
|
2137
2137
|
/* @__PURE__ */ r("button", {
|
|
2138
2138
|
type: "button",
|
|
@@ -2140,25 +2140,25 @@ function ii({ product: e, badge: t, className: n }) {
|
|
|
2140
2140
|
"aria-expanded": !a,
|
|
2141
2141
|
onClick: () => o(!a),
|
|
2142
2142
|
className: "grid size-10 shrink-0 cursor-pointer place-items-center rounded-md outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",
|
|
2143
|
-
children: /* @__PURE__ */ r(
|
|
2143
|
+
children: /* @__PURE__ */ r(P, {
|
|
2144
2144
|
product: e,
|
|
2145
2145
|
alt: "",
|
|
2146
|
-
className:
|
|
2146
|
+
className: M("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
|
|
2147
2147
|
})
|
|
2148
2148
|
}),
|
|
2149
2149
|
/* @__PURE__ */ r("span", {
|
|
2150
|
-
className:
|
|
2150
|
+
className: M("ms-1 font-display text-lg font-extrabold text-brand-text italic", Z),
|
|
2151
2151
|
children: s
|
|
2152
2152
|
}),
|
|
2153
2153
|
t && /* @__PURE__ */ r("span", {
|
|
2154
|
-
className:
|
|
2154
|
+
className: M("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Z),
|
|
2155
2155
|
children: t
|
|
2156
2156
|
})
|
|
2157
2157
|
]
|
|
2158
2158
|
});
|
|
2159
2159
|
}
|
|
2160
2160
|
// src/app/command-shortcut.hook.ts
|
|
2161
|
-
function
|
|
2161
|
+
function ii(e, t = !0) {
|
|
2162
2162
|
O(() => {
|
|
2163
2163
|
if (!t) return;
|
|
2164
2164
|
function n(t) {
|
|
@@ -2167,27 +2167,27 @@ function ai(e, t = !0) {
|
|
|
2167
2167
|
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
2168
2168
|
}, [e, t]);
|
|
2169
2169
|
}
|
|
2170
|
-
function
|
|
2170
|
+
function ai(e) {
|
|
2171
2171
|
return /mac|iphone|ipad|ipod/i.test(e) ? "⌘K" : "Ctrl+K";
|
|
2172
2172
|
}
|
|
2173
|
-
function
|
|
2174
|
-
function
|
|
2175
|
-
return
|
|
2173
|
+
function oi() {}
|
|
2174
|
+
function si() {
|
|
2175
|
+
return oi;
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2177
|
+
function ci() {
|
|
2178
2178
|
return navigator.userAgentData?.platform ?? navigator.platform;
|
|
2179
2179
|
}
|
|
2180
|
-
function
|
|
2180
|
+
function li() {
|
|
2181
2181
|
return "";
|
|
2182
2182
|
}
|
|
2183
|
-
function
|
|
2184
|
-
return
|
|
2183
|
+
function ui() {
|
|
2184
|
+
return ai(ke(si, ci, li));
|
|
2185
2185
|
}
|
|
2186
2186
|
// src/app/app-shell.component.tsx
|
|
2187
|
-
function
|
|
2188
|
-
let [
|
|
2189
|
-
|
|
2190
|
-
let
|
|
2187
|
+
function di({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, user: u, breadcrumb: d, topActions: f, commands: p, children: m, className: h }) {
|
|
2188
|
+
let [g, _] = k(!1), v = Te(() => _(!0), []);
|
|
2189
|
+
ii(v, !!p?.length);
|
|
2190
|
+
let y = ui(), b = [...new Set(p?.map((e) => e.group))], ee = (e) => /* @__PURE__ */ r($r, {
|
|
2191
2191
|
asChild: !0,
|
|
2192
2192
|
title: e.label,
|
|
2193
2193
|
icon: e.icon,
|
|
@@ -2197,101 +2197,101 @@ function fi({ product: e, workspace: t, onProductChange: a, nav: o, secondaryNav
|
|
|
2197
2197
|
href: e.href,
|
|
2198
2198
|
children: e.label
|
|
2199
2199
|
})
|
|
2200
|
-
}, e.href),
|
|
2201
|
-
/* @__PURE__ */ r(
|
|
2200
|
+
}, e.href), x = /* @__PURE__ */ i(n, { children: [
|
|
2201
|
+
/* @__PURE__ */ r(Yr, {
|
|
2202
2202
|
className: "h-12",
|
|
2203
|
-
children: /* @__PURE__ */ r(ri, {
|
|
2203
|
+
children: t === "logo" ? /* @__PURE__ */ r(ri, { product: e }) : /* @__PURE__ */ r(ni, {
|
|
2204
2204
|
product: e,
|
|
2205
|
-
workspace:
|
|
2206
|
-
onProductChange:
|
|
2205
|
+
workspace: a,
|
|
2206
|
+
onProductChange: o,
|
|
2207
2207
|
className: "px-2.5"
|
|
2208
2208
|
})
|
|
2209
2209
|
}),
|
|
2210
|
-
/* @__PURE__ */ i(
|
|
2211
|
-
|
|
2210
|
+
/* @__PURE__ */ i(Xr, { children: [
|
|
2211
|
+
p?.length ? /* @__PURE__ */ r($r, {
|
|
2212
2212
|
title: "Search",
|
|
2213
2213
|
icon: /* @__PURE__ */ r(E, {}),
|
|
2214
|
-
badge: /* @__PURE__ */ r(
|
|
2214
|
+
badge: /* @__PURE__ */ r(Gt, {
|
|
2215
2215
|
className: "border-0 bg-transparent",
|
|
2216
|
-
children:
|
|
2216
|
+
children: y
|
|
2217
2217
|
}),
|
|
2218
|
-
onClick:
|
|
2218
|
+
onClick: v
|
|
2219
2219
|
}) : null,
|
|
2220
2220
|
/* @__PURE__ */ r("div", {
|
|
2221
2221
|
className: "flex flex-col gap-0.5",
|
|
2222
|
-
children:
|
|
2222
|
+
children: s.map((e) => ee(e))
|
|
2223
2223
|
}),
|
|
2224
|
-
|
|
2225
|
-
title:
|
|
2226
|
-
children:
|
|
2224
|
+
c && /* @__PURE__ */ r(Qr, {
|
|
2225
|
+
title: c.title,
|
|
2226
|
+
children: c.items.map((e) => ee(e))
|
|
2227
2227
|
})
|
|
2228
2228
|
] }),
|
|
2229
|
-
/* @__PURE__ */ i(
|
|
2230
|
-
|
|
2229
|
+
/* @__PURE__ */ i(Zr, { children: [
|
|
2230
|
+
l && /* @__PURE__ */ r("div", {
|
|
2231
2231
|
className: Z,
|
|
2232
|
-
children:
|
|
2232
|
+
children: l
|
|
2233
2233
|
}),
|
|
2234
|
-
|
|
2234
|
+
u && /* @__PURE__ */ i("div", {
|
|
2235
2235
|
className: "flex items-center gap-2.5 px-1",
|
|
2236
|
-
children: [/* @__PURE__ */ r(
|
|
2237
|
-
className:
|
|
2236
|
+
children: [/* @__PURE__ */ r(nt, { children: /* @__PURE__ */ r(it, { children: u.initials }) }), /* @__PURE__ */ i("span", {
|
|
2237
|
+
className: M("flex flex-col leading-tight", Z),
|
|
2238
2238
|
children: [/* @__PURE__ */ r("span", {
|
|
2239
2239
|
className: "text-[13px] font-semibold",
|
|
2240
|
-
children:
|
|
2241
|
-
}),
|
|
2240
|
+
children: u.name
|
|
2241
|
+
}), u.role && /* @__PURE__ */ r("span", {
|
|
2242
2242
|
className: "text-xs text-muted-foreground",
|
|
2243
|
-
children:
|
|
2243
|
+
children: u.role
|
|
2244
2244
|
})]
|
|
2245
2245
|
})]
|
|
2246
2246
|
}),
|
|
2247
|
-
/* @__PURE__ */ r(
|
|
2247
|
+
/* @__PURE__ */ r(Jr, {})
|
|
2248
2248
|
] })
|
|
2249
2249
|
] });
|
|
2250
2250
|
return /* @__PURE__ */ i("div", {
|
|
2251
2251
|
"data-slot": "app-shell",
|
|
2252
|
-
className:
|
|
2252
|
+
className: M("flex min-h-screen flex-wrap bg-background", h),
|
|
2253
2253
|
children: [
|
|
2254
|
-
/* @__PURE__ */ r(
|
|
2254
|
+
/* @__PURE__ */ r(Kr, {
|
|
2255
2255
|
variant: "nav",
|
|
2256
2256
|
label: "Workspace",
|
|
2257
2257
|
className: "sticky top-0 h-screen max-md:hidden",
|
|
2258
|
-
children:
|
|
2258
|
+
children: x
|
|
2259
2259
|
}),
|
|
2260
2260
|
/* @__PURE__ */ i("div", {
|
|
2261
2261
|
className: "relative flex min-w-0 flex-[999_1_560px] flex-col",
|
|
2262
2262
|
children: [/* @__PURE__ */ i("div", {
|
|
2263
2263
|
className: "flex h-14 flex-wrap items-center gap-3 border-b px-6",
|
|
2264
2264
|
children: [
|
|
2265
|
-
/* @__PURE__ */ r(
|
|
2265
|
+
/* @__PURE__ */ r(ti, {
|
|
2266
2266
|
label: "Workspace",
|
|
2267
2267
|
className: "-ms-2 md:hidden",
|
|
2268
|
-
children: /* @__PURE__ */ r(
|
|
2268
|
+
children: /* @__PURE__ */ r(Kr, {
|
|
2269
2269
|
variant: "nav",
|
|
2270
2270
|
label: "Workspace",
|
|
2271
2271
|
collapsed: !1,
|
|
2272
2272
|
className: "w-full",
|
|
2273
|
-
children:
|
|
2273
|
+
children: x
|
|
2274
2274
|
})
|
|
2275
2275
|
}),
|
|
2276
|
-
|
|
2277
|
-
|
|
2276
|
+
d,
|
|
2277
|
+
f && /* @__PURE__ */ r("div", {
|
|
2278
2278
|
className: "ms-auto flex items-center gap-1.5",
|
|
2279
|
-
children:
|
|
2279
|
+
children: f
|
|
2280
2280
|
})
|
|
2281
2281
|
]
|
|
2282
2282
|
}), /* @__PURE__ */ r("main", {
|
|
2283
2283
|
className: "flex flex-col gap-5 p-6",
|
|
2284
|
-
children:
|
|
2284
|
+
children: m
|
|
2285
2285
|
})]
|
|
2286
2286
|
}),
|
|
2287
|
-
|
|
2288
|
-
open:
|
|
2289
|
-
onOpenChange:
|
|
2290
|
-
children: [/* @__PURE__ */ r(Kn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(qn, { children: [/* @__PURE__ */ r(Jn, { children: "No results." }),
|
|
2287
|
+
p?.length ? /* @__PURE__ */ i(Gn, {
|
|
2288
|
+
open: g,
|
|
2289
|
+
onOpenChange: _,
|
|
2290
|
+
children: [/* @__PURE__ */ r(Kn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(qn, { children: [/* @__PURE__ */ r(Jn, { children: "No results." }), b.map((e) => /* @__PURE__ */ r(Yn, {
|
|
2291
2291
|
heading: e,
|
|
2292
|
-
children:
|
|
2292
|
+
children: p.filter((t) => t.group === e).map((e) => /* @__PURE__ */ r(Xn, {
|
|
2293
2293
|
onSelect: () => {
|
|
2294
|
-
|
|
2294
|
+
_(!1), e.onSelect();
|
|
2295
2295
|
},
|
|
2296
2296
|
children: e.label
|
|
2297
2297
|
}, e.label))
|
|
@@ -2301,15 +2301,15 @@ function fi({ product: e, workspace: t, onProductChange: a, nav: o, secondaryNav
|
|
|
2301
2301
|
});
|
|
2302
2302
|
}
|
|
2303
2303
|
// src/app/filter-bar.component.tsx
|
|
2304
|
-
function
|
|
2304
|
+
function fi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
|
|
2305
2305
|
return /* @__PURE__ */ i("div", {
|
|
2306
2306
|
"data-slot": "filter-bar",
|
|
2307
2307
|
role: "search",
|
|
2308
|
-
className:
|
|
2308
|
+
className: M("flex flex-wrap items-center gap-2 border-b p-3", s),
|
|
2309
2309
|
children: [
|
|
2310
2310
|
/* @__PURE__ */ r("div", {
|
|
2311
2311
|
className: "max-w-80 flex-[1_1_220px]",
|
|
2312
|
-
children: /* @__PURE__ */ r(
|
|
2312
|
+
children: /* @__PURE__ */ r(U, {
|
|
2313
2313
|
type: "search",
|
|
2314
2314
|
value: e,
|
|
2315
2315
|
onChange: (e) => t(e.target.value),
|
|
@@ -2326,16 +2326,16 @@ function pi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
|
|
|
2326
2326
|
]
|
|
2327
2327
|
});
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2330
|
-
return /* @__PURE__ */ i(
|
|
2329
|
+
function pi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
|
|
2330
|
+
return /* @__PURE__ */ i(B, {
|
|
2331
2331
|
variant: "outline",
|
|
2332
2332
|
size: "sm",
|
|
2333
|
-
className:
|
|
2333
|
+
className: M("border-dashed", a),
|
|
2334
2334
|
...o,
|
|
2335
2335
|
children: [
|
|
2336
2336
|
n ?? /* @__PURE__ */ r(ye, {}),
|
|
2337
2337
|
e,
|
|
2338
|
-
t > 0 && /* @__PURE__ */ r(
|
|
2338
|
+
t > 0 && /* @__PURE__ */ r(R, {
|
|
2339
2339
|
variant: "brand",
|
|
2340
2340
|
className: "h-[18px]",
|
|
2341
2341
|
"aria-label": `${t} selected`,
|
|
@@ -2345,10 +2345,10 @@ function mi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
|
|
|
2345
2345
|
});
|
|
2346
2346
|
}
|
|
2347
2347
|
// src/app/form-section.component.tsx
|
|
2348
|
-
function
|
|
2348
|
+
function mi({ title: e, description: t, children: n, actions: a, className: o }) {
|
|
2349
2349
|
return /* @__PURE__ */ i("section", {
|
|
2350
2350
|
"data-slot": "form-section",
|
|
2351
|
-
className:
|
|
2351
|
+
className: M("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
|
|
2352
2352
|
children: [/* @__PURE__ */ i("div", {
|
|
2353
2353
|
className: "flex flex-col gap-1",
|
|
2354
2354
|
children: [/* @__PURE__ */ r("h2", {
|
|
@@ -2371,10 +2371,10 @@ function hi({ title: e, description: t, children: n, actions: a, className: o })
|
|
|
2371
2371
|
});
|
|
2372
2372
|
}
|
|
2373
2373
|
// src/app/page-header.component.tsx
|
|
2374
|
-
function
|
|
2374
|
+
function hi({ title: e, description: t, actions: n, tabs: a, className: o }) {
|
|
2375
2375
|
return /* @__PURE__ */ i("div", {
|
|
2376
2376
|
"data-slot": "page-header",
|
|
2377
|
-
className:
|
|
2377
|
+
className: M("flex flex-col gap-4", o),
|
|
2378
2378
|
children: [/* @__PURE__ */ i("div", {
|
|
2379
2379
|
className: "flex flex-wrap items-end gap-4",
|
|
2380
2380
|
children: [/* @__PURE__ */ i("div", {
|
|
@@ -2394,7 +2394,7 @@ function gi({ title: e, description: t, actions: n, tabs: a, className: o }) {
|
|
|
2394
2394
|
});
|
|
2395
2395
|
}
|
|
2396
2396
|
// src/app/records-table.component.tsx
|
|
2397
|
-
function
|
|
2397
|
+
function gi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
|
|
2398
2398
|
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";
|
|
2399
2399
|
function m(e, t) {
|
|
2400
2400
|
let n = new Set(a);
|
|
@@ -2405,26 +2405,26 @@ function _i({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2405
2405
|
for (let n of d) e ? t.add(n) : t.delete(n);
|
|
2406
2406
|
o?.(t);
|
|
2407
2407
|
}
|
|
2408
|
-
return /* @__PURE__ */ i(
|
|
2408
|
+
return /* @__PURE__ */ i(Qt, {
|
|
2409
2409
|
"data-slot": "records-table",
|
|
2410
2410
|
"aria-label": c,
|
|
2411
|
-
className:
|
|
2412
|
-
children: [/* @__PURE__ */ r(
|
|
2411
|
+
className: M("min-w-[760px]", l),
|
|
2412
|
+
children: [/* @__PURE__ */ r($t, { children: /* @__PURE__ */ i(tn, {
|
|
2413
2413
|
className: "hover:bg-transparent",
|
|
2414
2414
|
children: [
|
|
2415
|
-
u && /* @__PURE__ */ r(
|
|
2415
|
+
u && /* @__PURE__ */ r(W, {
|
|
2416
2416
|
className: "w-9",
|
|
2417
|
-
children: /* @__PURE__ */ r(
|
|
2417
|
+
children: /* @__PURE__ */ r(st, {
|
|
2418
2418
|
"aria-label": "Select all rows",
|
|
2419
2419
|
checked: p,
|
|
2420
2420
|
onCheckedChange: (e) => h(e === !0)
|
|
2421
2421
|
})
|
|
2422
2422
|
}),
|
|
2423
|
-
t.map((e) => /* @__PURE__ */ r(
|
|
2424
|
-
className:
|
|
2423
|
+
t.map((e) => /* @__PURE__ */ r(W, {
|
|
2424
|
+
className: M(e.align === "end" && "text-end", e.className),
|
|
2425
2425
|
children: e.header
|
|
2426
2426
|
}, e.key)),
|
|
2427
|
-
s && /* @__PURE__ */ r(
|
|
2427
|
+
s && /* @__PURE__ */ r(W, {
|
|
2428
2428
|
className: "w-11",
|
|
2429
2429
|
children: /* @__PURE__ */ r("span", {
|
|
2430
2430
|
className: "sr-only",
|
|
@@ -2432,23 +2432,23 @@ function _i({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2432
2432
|
})
|
|
2433
2433
|
})
|
|
2434
2434
|
]
|
|
2435
|
-
}) }), /* @__PURE__ */ r(
|
|
2435
|
+
}) }), /* @__PURE__ */ r(en, { children: e.map((e) => {
|
|
2436
2436
|
let o = n(e), c = a?.has(o) ?? !1;
|
|
2437
|
-
return /* @__PURE__ */ i(
|
|
2437
|
+
return /* @__PURE__ */ i(tn, {
|
|
2438
2438
|
"data-state": c ? "selected" : void 0,
|
|
2439
2439
|
children: [
|
|
2440
|
-
u && /* @__PURE__ */ r(
|
|
2440
|
+
u && /* @__PURE__ */ r(G, { children: /* @__PURE__ */ r(st, {
|
|
2441
2441
|
"aria-label": `Select ${o}`,
|
|
2442
2442
|
checked: c,
|
|
2443
2443
|
onCheckedChange: (e) => m(o, e === !0)
|
|
2444
2444
|
}) }),
|
|
2445
|
-
t.map((t) => /* @__PURE__ */ r(
|
|
2446
|
-
className:
|
|
2445
|
+
t.map((t) => /* @__PURE__ */ r(G, {
|
|
2446
|
+
className: M(t.align === "end" && "text-end tabular-nums", t.className),
|
|
2447
2447
|
children: t.cell(e)
|
|
2448
2448
|
}, t.key)),
|
|
2449
|
-
s && /* @__PURE__ */ r(
|
|
2449
|
+
s && /* @__PURE__ */ r(G, { children: /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
|
|
2450
2450
|
asChild: !0,
|
|
2451
|
-
children: /* @__PURE__ */ r(
|
|
2451
|
+
children: /* @__PURE__ */ r(B, {
|
|
2452
2452
|
variant: "ghost",
|
|
2453
2453
|
size: "icon-sm",
|
|
2454
2454
|
"aria-label": `Actions for ${o}`,
|
|
@@ -2464,7 +2464,7 @@ function _i({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2464
2464
|
});
|
|
2465
2465
|
}
|
|
2466
2466
|
// src/app/sparkline.algorithm.ts
|
|
2467
|
-
function
|
|
2467
|
+
function _i(e, t, n, r = 2) {
|
|
2468
2468
|
if (e.length < 2) return "";
|
|
2469
2469
|
let i = Math.min(...e), a = Math.max(...e) - i, o = n - r * 2, s = t / (e.length - 1);
|
|
2470
2470
|
return e.map((e, t) => {
|
|
@@ -2473,16 +2473,16 @@ function vi(e, t, n, r = 2) {
|
|
|
2473
2473
|
}).join(" ");
|
|
2474
2474
|
}
|
|
2475
2475
|
// src/app/stat-card.component.tsx
|
|
2476
|
-
var
|
|
2476
|
+
var vi = {
|
|
2477
2477
|
positive: "text-success",
|
|
2478
2478
|
negative: "text-destructive",
|
|
2479
2479
|
neutral: "text-muted-foreground"
|
|
2480
2480
|
};
|
|
2481
|
-
function
|
|
2482
|
-
let c = o ?
|
|
2483
|
-
return /* @__PURE__ */ i(
|
|
2481
|
+
function yi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
|
|
2482
|
+
let c = o ? _i(o, 100, 32) : "";
|
|
2483
|
+
return /* @__PURE__ */ i(zt, {
|
|
2484
2484
|
"data-slot": "stat-card",
|
|
2485
|
-
className:
|
|
2485
|
+
className: M("gap-1.5 p-4", s),
|
|
2486
2486
|
children: [
|
|
2487
2487
|
/* @__PURE__ */ r("span", {
|
|
2488
2488
|
className: "text-[13px] text-muted-foreground",
|
|
@@ -2511,14 +2511,14 @@ function bi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
|
|
|
2511
2511
|
})]
|
|
2512
2512
|
}),
|
|
2513
2513
|
n && /* @__PURE__ */ r("span", {
|
|
2514
|
-
className:
|
|
2514
|
+
className: M("text-xs", vi[a]),
|
|
2515
2515
|
children: n
|
|
2516
2516
|
})
|
|
2517
2517
|
]
|
|
2518
2518
|
});
|
|
2519
2519
|
}
|
|
2520
2520
|
// src/status/run-status.contract.ts
|
|
2521
|
-
var
|
|
2521
|
+
var bi = [
|
|
2522
2522
|
"queued",
|
|
2523
2523
|
"waiting",
|
|
2524
2524
|
"running",
|
|
@@ -2526,7 +2526,7 @@ var xi = [
|
|
|
2526
2526
|
"no-records",
|
|
2527
2527
|
"failed",
|
|
2528
2528
|
"off"
|
|
2529
|
-
],
|
|
2529
|
+
], xi = {
|
|
2530
2530
|
queued: {
|
|
2531
2531
|
label: "Queued",
|
|
2532
2532
|
variant: "secondary",
|
|
@@ -2563,13 +2563,13 @@ var xi = [
|
|
|
2563
2563
|
live: !1
|
|
2564
2564
|
}
|
|
2565
2565
|
};
|
|
2566
|
-
function
|
|
2567
|
-
return
|
|
2566
|
+
function Si(e) {
|
|
2567
|
+
return xi[e];
|
|
2568
2568
|
}
|
|
2569
2569
|
// src/status/status-badge.component.tsx
|
|
2570
|
-
function
|
|
2571
|
-
let { label: n, variant: i, live: a } =
|
|
2572
|
-
return /* @__PURE__ */ r(
|
|
2570
|
+
function Ci({ status: e, ...t }) {
|
|
2571
|
+
let { label: n, variant: i, live: a } = Si(e);
|
|
2572
|
+
return /* @__PURE__ */ r(R, {
|
|
2573
2573
|
variant: i,
|
|
2574
2574
|
dot: a,
|
|
2575
2575
|
"data-status": e,
|
|
@@ -2578,25 +2578,25 @@ function wi({ status: e, ...t }) {
|
|
|
2578
2578
|
});
|
|
2579
2579
|
}
|
|
2580
2580
|
// src/desktop/flow-node.component.tsx
|
|
2581
|
-
function
|
|
2581
|
+
function wi({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
|
|
2582
2582
|
return /* @__PURE__ */ i("button", {
|
|
2583
2583
|
type: "button",
|
|
2584
2584
|
"data-slot": "flow-node",
|
|
2585
2585
|
"aria-pressed": o,
|
|
2586
2586
|
onClick: s,
|
|
2587
|
-
className:
|
|
2587
|
+
className: M("flex w-[200px] cursor-pointer flex-col rounded-lg bg-card text-start text-[13px] text-card-foreground shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", o ? "border-2 border-brand" : "border", c),
|
|
2588
2588
|
children: [/* @__PURE__ */ i("span", {
|
|
2589
2589
|
className: "flex items-center gap-2 border-b px-2.5 py-2",
|
|
2590
2590
|
children: [
|
|
2591
2591
|
/* @__PURE__ */ r("span", {
|
|
2592
2592
|
"aria-hidden": "true",
|
|
2593
|
-
className:
|
|
2593
|
+
className: M("size-2 shrink-0 rounded-[2px]", a ? I[a] : "bg-muted-foreground")
|
|
2594
2594
|
}),
|
|
2595
2595
|
/* @__PURE__ */ r("span", {
|
|
2596
2596
|
className: "font-semibold",
|
|
2597
2597
|
children: e
|
|
2598
2598
|
}),
|
|
2599
|
-
/* @__PURE__ */ r(
|
|
2599
|
+
/* @__PURE__ */ r(Ci, {
|
|
2600
2600
|
status: n,
|
|
2601
2601
|
className: "ms-auto h-[18px] text-[11px]"
|
|
2602
2602
|
})
|
|
@@ -2608,18 +2608,18 @@ function Ti({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
|
|
|
2608
2608
|
});
|
|
2609
2609
|
}
|
|
2610
2610
|
// src/desktop/inspector.component.tsx
|
|
2611
|
-
function
|
|
2611
|
+
function Ti({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
|
|
2612
2612
|
return /* @__PURE__ */ i("aside", {
|
|
2613
2613
|
"data-slot": "inspector",
|
|
2614
2614
|
"aria-label": "Inspector",
|
|
2615
|
-
className:
|
|
2615
|
+
className: M("flex h-full flex-col text-[13px]", s),
|
|
2616
2616
|
children: [
|
|
2617
2617
|
/* @__PURE__ */ i("div", {
|
|
2618
2618
|
className: "flex items-center gap-2 border-b p-3",
|
|
2619
2619
|
children: [
|
|
2620
2620
|
n && /* @__PURE__ */ r("span", {
|
|
2621
2621
|
"aria-hidden": "true",
|
|
2622
|
-
className:
|
|
2622
|
+
className: M("size-2.5 shrink-0 rounded-[3px]", I[n])
|
|
2623
2623
|
}),
|
|
2624
2624
|
/* @__PURE__ */ r("h2", {
|
|
2625
2625
|
className: "m-0 type-h4",
|
|
@@ -2656,11 +2656,11 @@ function Ei({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
|
|
|
2656
2656
|
});
|
|
2657
2657
|
}
|
|
2658
2658
|
// src/desktop/status-bar.component.tsx
|
|
2659
|
-
function
|
|
2659
|
+
function Ei({ start: e, end: t, className: n }) {
|
|
2660
2660
|
return /* @__PURE__ */ i("div", {
|
|
2661
2661
|
"data-slot": "status-bar",
|
|
2662
2662
|
role: "status",
|
|
2663
|
-
className:
|
|
2663
|
+
className: M("flex h-6 shrink-0 items-center gap-3.5 border-t bg-sidebar px-2.5 text-xs text-muted-foreground", n),
|
|
2664
2664
|
children: [e, t && /* @__PURE__ */ r("div", {
|
|
2665
2665
|
className: "ms-auto flex items-center gap-3.5",
|
|
2666
2666
|
children: t
|
|
@@ -2668,7 +2668,7 @@ function Di({ start: e, end: t, className: n }) {
|
|
|
2668
2668
|
});
|
|
2669
2669
|
}
|
|
2670
2670
|
// src/desktop/timeline.algorithm.ts
|
|
2671
|
-
function
|
|
2671
|
+
function Di(e, t, n) {
|
|
2672
2672
|
if (n <= 0) return {
|
|
2673
2673
|
left: 0,
|
|
2674
2674
|
width: 0
|
|
@@ -2679,35 +2679,35 @@ function Oi(e, t, n) {
|
|
|
2679
2679
|
width: Math.max(0, r(t) - i)
|
|
2680
2680
|
};
|
|
2681
2681
|
}
|
|
2682
|
-
function
|
|
2682
|
+
function Oi(e, t) {
|
|
2683
2683
|
let n = Math.max(2, t);
|
|
2684
2684
|
return Array.from({ length: n }, (t, r) => Math.round(e * r / (n - 1)));
|
|
2685
2685
|
}
|
|
2686
2686
|
// src/timecode/timecode.mapper.ts
|
|
2687
|
-
function
|
|
2687
|
+
function $(e) {
|
|
2688
2688
|
return String(e).padStart(2, "0");
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2690
|
+
function ki(e, t = !1) {
|
|
2691
2691
|
let n = Math.max(0, Math.floor(e)), r = Math.floor(n / 3600), i = Math.floor(n % 3600 / 60), a = n % 60;
|
|
2692
|
-
return t || r > 0 ? `${
|
|
2692
|
+
return t || r > 0 ? `${$(r)}:${$(i)}:${$(a)}` : `${$(i)}:${$(a)}`;
|
|
2693
2693
|
}
|
|
2694
2694
|
function Ai(e, t) {
|
|
2695
2695
|
let n = new Date(e.getTime() + t * 1e3);
|
|
2696
|
-
return `${
|
|
2696
|
+
return `${$(n.getHours())}:${$(n.getMinutes())}`;
|
|
2697
2697
|
}
|
|
2698
2698
|
// src/desktop/timeline-lanes.component.tsx
|
|
2699
2699
|
function ji({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
|
|
2700
|
-
let c = (e) => o ? Ai(o, e) :
|
|
2700
|
+
let c = (e) => o ? Ai(o, e) : ki(e), l = n === void 0 ? void 0 : Di(0, n, e).width;
|
|
2701
2701
|
return /* @__PURE__ */ i("div", {
|
|
2702
2702
|
"data-slot": "timeline-lanes",
|
|
2703
2703
|
role: "group",
|
|
2704
2704
|
"aria-label": "Timeline",
|
|
2705
|
-
className:
|
|
2705
|
+
className: M("relative flex flex-col text-[13px]", s),
|
|
2706
2706
|
children: [
|
|
2707
2707
|
/* @__PURE__ */ r("div", {
|
|
2708
2708
|
className: "flex h-[26px] items-center border-b ps-[118px] pe-2.5",
|
|
2709
2709
|
"aria-hidden": "true",
|
|
2710
|
-
children:
|
|
2710
|
+
children: Oi(e, a).map((e) => /* @__PURE__ */ r("span", {
|
|
2711
2711
|
className: "flex-1 text-xs tabular-nums text-muted-foreground",
|
|
2712
2712
|
children: c(e)
|
|
2713
2713
|
}, e))
|
|
@@ -2718,18 +2718,18 @@ function ji({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
2718
2718
|
className: "flex w-[108px] shrink-0 items-center gap-1.5 px-2.5 font-medium",
|
|
2719
2719
|
children: [/* @__PURE__ */ r("span", {
|
|
2720
2720
|
"aria-hidden": "true",
|
|
2721
|
-
className:
|
|
2721
|
+
className: M("size-2 shrink-0 rounded-[2px]", I[t.hue])
|
|
2722
2722
|
}), t.name]
|
|
2723
2723
|
}), /* @__PURE__ */ r("div", {
|
|
2724
2724
|
className: "relative me-2.5 h-[26px] flex-1",
|
|
2725
2725
|
children: t.segments.map((n) => {
|
|
2726
|
-
let a =
|
|
2727
|
-
return /* @__PURE__ */ i(
|
|
2726
|
+
let a = Di(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
|
|
2727
|
+
return /* @__PURE__ */ i(J, { children: [/* @__PURE__ */ r(Rn, {
|
|
2728
2728
|
asChild: !0,
|
|
2729
2729
|
children: /* @__PURE__ */ r("button", {
|
|
2730
2730
|
type: "button",
|
|
2731
2731
|
"aria-label": o,
|
|
2732
|
-
className:
|
|
2732
|
+
className: M("absolute inset-y-0 cursor-pointer rounded-[5px] outline-none focus-visible:ring-2 focus-visible:ring-ring", I[t.hue], n.faint ? "opacity-35" : "opacity-85"),
|
|
2733
2733
|
style: {
|
|
2734
2734
|
left: `${a.left}%`,
|
|
2735
2735
|
width: `${a.width}%`
|
|
@@ -2769,9 +2769,9 @@ function Mi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
|
|
|
2769
2769
|
return /* @__PURE__ */ i("div", {
|
|
2770
2770
|
"data-slot": "title-bar",
|
|
2771
2771
|
"data-tauri-drag-region": "",
|
|
2772
|
-
className:
|
|
2772
|
+
className: M("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
|
|
2773
2773
|
children: [
|
|
2774
|
-
/* @__PURE__ */ r(
|
|
2774
|
+
/* @__PURE__ */ r(P, {
|
|
2775
2775
|
product: e,
|
|
2776
2776
|
alt: "",
|
|
2777
2777
|
className: "size-[18px]"
|
|
@@ -2784,11 +2784,11 @@ function Mi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
|
|
|
2784
2784
|
}),
|
|
2785
2785
|
l.length > 0 && /* @__PURE__ */ r("div", {
|
|
2786
2786
|
className: "flex h-full",
|
|
2787
|
-
children: l.map((e) => /* @__PURE__ */ r(
|
|
2787
|
+
children: l.map((e) => /* @__PURE__ */ r(B, {
|
|
2788
2788
|
variant: "ghost",
|
|
2789
2789
|
"aria-label": e.label,
|
|
2790
2790
|
onClick: e.onClick,
|
|
2791
|
-
className:
|
|
2791
|
+
className: M("h-full w-[46px] rounded-none px-0 [&_svg]:size-3.5", e.label === "Close window" && "hover:bg-destructive hover:text-destructive-foreground"),
|
|
2792
2792
|
children: e.icon
|
|
2793
2793
|
}, e.label))
|
|
2794
2794
|
})
|
|
@@ -2800,7 +2800,7 @@ function Ni({ items: e, className: t }) {
|
|
|
2800
2800
|
return /* @__PURE__ */ r("nav", {
|
|
2801
2801
|
"data-slot": "bottom-nav",
|
|
2802
2802
|
"aria-label": "Tabs",
|
|
2803
|
-
className:
|
|
2803
|
+
className: M("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
|
|
2804
2804
|
style: { gridTemplateColumns: `repeat(${e.length}, minmax(0, 1fr))` },
|
|
2805
2805
|
children: e.map((e) => /* @__PURE__ */ i("a", {
|
|
2806
2806
|
href: e.href,
|
|
@@ -2822,13 +2822,13 @@ function Pi({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
|
|
|
2822
2822
|
let l = a.filter((e) => !e.passed).length;
|
|
2823
2823
|
return /* @__PURE__ */ i("div", {
|
|
2824
2824
|
"data-slot": "capture-frame",
|
|
2825
|
-
className:
|
|
2825
|
+
className: M("flex h-full flex-col bg-[#0e0d12]", c),
|
|
2826
2826
|
children: [/* @__PURE__ */ i("div", {
|
|
2827
2827
|
className: "relative grid min-h-[440px] flex-1 place-items-center overflow-hidden",
|
|
2828
2828
|
children: [/* @__PURE__ */ i("div", {
|
|
2829
2829
|
className: "absolute inset-x-4 top-[max(env(safe-area-inset-top),16px)] z-10 flex items-center justify-between",
|
|
2830
2830
|
children: [
|
|
2831
|
-
/* @__PURE__ */ r(
|
|
2831
|
+
/* @__PURE__ */ r(B, {
|
|
2832
2832
|
size: "icon",
|
|
2833
2833
|
"aria-label": "Close camera",
|
|
2834
2834
|
onClick: o,
|
|
@@ -2854,12 +2854,12 @@ function Pi({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
|
|
|
2854
2854
|
children: [/* @__PURE__ */ r("h2", {
|
|
2855
2855
|
className: "m-0 type-h3 text-[19px]",
|
|
2856
2856
|
children: n
|
|
2857
|
-
}), l > 0 ? /* @__PURE__ */ i(
|
|
2857
|
+
}), l > 0 ? /* @__PURE__ */ i(R, {
|
|
2858
2858
|
variant: "danger",
|
|
2859
2859
|
dot: !0,
|
|
2860
2860
|
className: "ms-auto",
|
|
2861
2861
|
children: [l, " failed"]
|
|
2862
|
-
}) : /* @__PURE__ */ r(
|
|
2862
|
+
}) : /* @__PURE__ */ r(R, {
|
|
2863
2863
|
variant: "success",
|
|
2864
2864
|
dot: !0,
|
|
2865
2865
|
className: "ms-auto",
|
|
@@ -2872,7 +2872,7 @@ function Pi({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
|
|
|
2872
2872
|
className: "flex min-h-10 items-center gap-3 border-b",
|
|
2873
2873
|
children: [
|
|
2874
2874
|
/* @__PURE__ */ r("span", {
|
|
2875
|
-
className:
|
|
2875
|
+
className: M("grid size-6 shrink-0 place-items-center rounded-full [&_svg]:size-3.5", e.passed ? "bg-success-soft text-success" : "bg-destructive-soft text-destructive"),
|
|
2876
2876
|
children: e.passed ? /* @__PURE__ */ r(T, {
|
|
2877
2877
|
strokeWidth: 3,
|
|
2878
2878
|
"aria-label": "Passed"
|
|
@@ -2921,23 +2921,23 @@ function Fi({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
|
|
|
2921
2921
|
}[e];
|
|
2922
2922
|
return /* @__PURE__ */ i("div", {
|
|
2923
2923
|
"data-slot": "record-button",
|
|
2924
|
-
className:
|
|
2924
|
+
className: M("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
|
|
2925
2925
|
children: [
|
|
2926
2926
|
/* @__PURE__ */ i("div", {
|
|
2927
2927
|
className: "flex items-center gap-2",
|
|
2928
2928
|
children: [
|
|
2929
|
-
e === "recording" && /* @__PURE__ */ r(
|
|
2929
|
+
e === "recording" && /* @__PURE__ */ r(R, {
|
|
2930
2930
|
variant: "danger",
|
|
2931
2931
|
dot: !0,
|
|
2932
2932
|
className: "bg-card",
|
|
2933
2933
|
children: "Recording"
|
|
2934
2934
|
}),
|
|
2935
|
-
e === "paused" && /* @__PURE__ */ r(
|
|
2935
|
+
e === "paused" && /* @__PURE__ */ r(R, {
|
|
2936
2936
|
variant: "warning",
|
|
2937
2937
|
className: "bg-card",
|
|
2938
2938
|
children: "Paused"
|
|
2939
2939
|
}),
|
|
2940
|
-
e === "idle" && /* @__PURE__ */ r(
|
|
2940
|
+
e === "idle" && /* @__PURE__ */ r(R, {
|
|
2941
2941
|
variant: "outline",
|
|
2942
2942
|
className: "bg-card",
|
|
2943
2943
|
children: "Not recording"
|
|
@@ -2945,7 +2945,7 @@ function Fi({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
|
|
|
2945
2945
|
/* @__PURE__ */ r("span", {
|
|
2946
2946
|
className: "ms-auto text-[13px] font-semibold tabular-nums",
|
|
2947
2947
|
"aria-label": "Recorded time",
|
|
2948
|
-
children:
|
|
2948
|
+
children: ki(t, !0)
|
|
2949
2949
|
})
|
|
2950
2950
|
]
|
|
2951
2951
|
}),
|
|
@@ -2953,17 +2953,17 @@ function Fi({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
|
|
|
2953
2953
|
"aria-hidden": "true",
|
|
2954
2954
|
className: "flex h-10 items-center gap-[3px]",
|
|
2955
2955
|
children: n.map((t, n) => /* @__PURE__ */ r("span", {
|
|
2956
|
-
className:
|
|
2956
|
+
className: M("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
|
|
2957
2957
|
style: { height: `${Math.round(6 + Math.min(1, Math.max(0, t)) * 30)}px` }
|
|
2958
2958
|
}, n))
|
|
2959
2959
|
}),
|
|
2960
2960
|
/* @__PURE__ */ i("div", {
|
|
2961
2961
|
className: "flex gap-2.5",
|
|
2962
|
-
children: [/* @__PURE__ */ i(
|
|
2962
|
+
children: [/* @__PURE__ */ i(B, {
|
|
2963
2963
|
className: "flex-1",
|
|
2964
2964
|
onClick: u.onClick,
|
|
2965
2965
|
children: [u.icon, u.label]
|
|
2966
|
-
}), e === "recording" && c && /* @__PURE__ */ r(
|
|
2966
|
+
}), e === "recording" && c && /* @__PURE__ */ r(B, {
|
|
2967
2967
|
variant: "outline",
|
|
2968
2968
|
size: "icon",
|
|
2969
2969
|
className: "bg-card",
|
|
@@ -2985,7 +2985,7 @@ function Ii({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
2985
2985
|
}
|
|
2986
2986
|
return /* @__PURE__ */ r("section", {
|
|
2987
2987
|
"data-slot": "cta-band",
|
|
2988
|
-
className:
|
|
2988
|
+
className: M("py-22", s),
|
|
2989
2989
|
children: /* @__PURE__ */ r("div", {
|
|
2990
2990
|
className: "mx-auto max-w-[1200px] px-6",
|
|
2991
2991
|
children: /* @__PURE__ */ i("div", {
|
|
@@ -3008,7 +3008,7 @@ function Ii({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
3008
3008
|
className: "sr-only",
|
|
3009
3009
|
children: a
|
|
3010
3010
|
}),
|
|
3011
|
-
/* @__PURE__ */ r(
|
|
3011
|
+
/* @__PURE__ */ r(U, {
|
|
3012
3012
|
id: c,
|
|
3013
3013
|
name: "email",
|
|
3014
3014
|
type: "email",
|
|
@@ -3017,7 +3017,7 @@ function Ii({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
3017
3017
|
placeholder: a,
|
|
3018
3018
|
className: "flex-[1_1_220px] border-transparent"
|
|
3019
3019
|
}),
|
|
3020
|
-
/* @__PURE__ */ r(
|
|
3020
|
+
/* @__PURE__ */ r(B, {
|
|
3021
3021
|
type: "submit",
|
|
3022
3022
|
className: "bg-foreground text-background hover:bg-foreground/90",
|
|
3023
3023
|
children: o
|
|
@@ -3032,18 +3032,18 @@ function Ii({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
3032
3032
|
function Li({ title: e, items: t, className: n }) {
|
|
3033
3033
|
return /* @__PURE__ */ r("section", {
|
|
3034
3034
|
"data-slot": "faq",
|
|
3035
|
-
className:
|
|
3035
|
+
className: M("py-22", n),
|
|
3036
3036
|
children: /* @__PURE__ */ i("div", {
|
|
3037
3037
|
className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
|
|
3038
3038
|
children: [/* @__PURE__ */ r("h2", {
|
|
3039
3039
|
className: "m-0 type-h2 text-4xl",
|
|
3040
3040
|
children: e
|
|
3041
|
-
}), /* @__PURE__ */ r(
|
|
3041
|
+
}), /* @__PURE__ */ r(Ft, {
|
|
3042
3042
|
type: "single",
|
|
3043
3043
|
collapsible: !0,
|
|
3044
|
-
children: t.map((e) => /* @__PURE__ */ i(
|
|
3044
|
+
children: t.map((e) => /* @__PURE__ */ i(It, {
|
|
3045
3045
|
value: e.question,
|
|
3046
|
-
children: [/* @__PURE__ */ r(
|
|
3046
|
+
children: [/* @__PURE__ */ r(Lt, { children: e.question }), /* @__PURE__ */ r(Rt, {
|
|
3047
3047
|
className: "text-[15px]",
|
|
3048
3048
|
children: e.answer
|
|
3049
3049
|
})]
|
|
@@ -3056,7 +3056,7 @@ function Li({ title: e, items: t, className: n }) {
|
|
|
3056
3056
|
function Ri({ title: e, lead: t, features: n, className: a }) {
|
|
3057
3057
|
return /* @__PURE__ */ r("section", {
|
|
3058
3058
|
"data-slot": "feature-grid",
|
|
3059
|
-
className:
|
|
3059
|
+
className: M("border-y bg-canvas py-22", a),
|
|
3060
3060
|
children: /* @__PURE__ */ i("div", {
|
|
3061
3061
|
className: "mx-auto flex max-w-[1200px] flex-col gap-10 px-6",
|
|
3062
3062
|
children: [(e || t) && /* @__PURE__ */ i("div", {
|
|
@@ -3096,11 +3096,11 @@ function Ri({ title: e, lead: t, features: n, className: a }) {
|
|
|
3096
3096
|
function zi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
|
|
3097
3097
|
return /* @__PURE__ */ r("section", {
|
|
3098
3098
|
"data-slot": "hero",
|
|
3099
|
-
className:
|
|
3099
|
+
className: M("pt-22 pb-14", o),
|
|
3100
3100
|
children: /* @__PURE__ */ i("div", {
|
|
3101
3101
|
className: "mx-auto flex max-w-[1200px] flex-col items-start gap-5.5 px-6",
|
|
3102
3102
|
children: [
|
|
3103
|
-
e && /* @__PURE__ */ r(
|
|
3103
|
+
e && /* @__PURE__ */ r(R, {
|
|
3104
3104
|
variant: "brand",
|
|
3105
3105
|
className: "h-7 px-3 text-[13px]",
|
|
3106
3106
|
children: e
|
|
@@ -3125,7 +3125,7 @@ function zi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
|
|
|
3125
3125
|
function Bi({ title: e, lead: t, link: n, steps: a, className: o }) {
|
|
3126
3126
|
return /* @__PURE__ */ r("section", {
|
|
3127
3127
|
"data-slot": "how-it-works",
|
|
3128
|
-
className:
|
|
3128
|
+
className: M("py-22", o),
|
|
3129
3129
|
children: /* @__PURE__ */ i("div", {
|
|
3130
3130
|
className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
|
|
3131
3131
|
children: [/* @__PURE__ */ i("div", {
|
|
@@ -3167,7 +3167,7 @@ function Bi({ title: e, lead: t, link: n, steps: a, className: o }) {
|
|
|
3167
3167
|
// src/web/mobile-menu.component.tsx
|
|
3168
3168
|
var Vi = 400;
|
|
3169
3169
|
function Hi({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
3170
|
-
let [o, s] =
|
|
3170
|
+
let [o, s] = k(!1), [c, l] = k(), [u, f] = k(!1), p = Oe(null);
|
|
3171
3171
|
O(() => {
|
|
3172
3172
|
if (o) return;
|
|
3173
3173
|
let e = setTimeout(() => f(!1), Vi);
|
|
@@ -3198,7 +3198,7 @@ function Hi({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
|
3198
3198
|
onOpenChange: h,
|
|
3199
3199
|
children: [/* @__PURE__ */ r(d.Trigger, {
|
|
3200
3200
|
asChild: !0,
|
|
3201
|
-
children: /* @__PURE__ */ r(
|
|
3201
|
+
children: /* @__PURE__ */ r(B, {
|
|
3202
3202
|
ref: p,
|
|
3203
3203
|
variant: "ghost",
|
|
3204
3204
|
size: "icon",
|
|
@@ -3222,7 +3222,7 @@ function Hi({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
|
3222
3222
|
/* @__PURE__ */ r("div", {
|
|
3223
3223
|
className: "fixed inset-0 [filter:drop-shadow(0_0_1px_rgb(20_18_26/0.4))_drop-shadow(-12px_16px_36px_rgb(20_18_26/0.4))] dark:[filter:drop-shadow(0_0_1px_rgb(255_255_255/0.45))_drop-shadow(-12px_16px_36px_rgb(0_0_0/0.7))]",
|
|
3224
3224
|
children: /* @__PURE__ */ r("div", {
|
|
3225
|
-
className:
|
|
3225
|
+
className: M("fixed inset-0 animate-menu-reveal group-data-[state=closed]/menu:animate-menu-conceal", "motion-reduce:animate-fade-in motion-reduce:group-data-[state=closed]/menu:animate-fade-out"),
|
|
3226
3226
|
children: /* @__PURE__ */ i("div", {
|
|
3227
3227
|
className: "pointer-events-auto absolute inset-y-0 end-0 flex w-[min(340px,86vw)] flex-col gap-1 border-s bg-popover px-5 pt-21 pb-8 text-popover-foreground",
|
|
3228
3228
|
children: [/* @__PURE__ */ r("nav", {
|
|
@@ -3244,7 +3244,7 @@ function Hi({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
|
3244
3244
|
}),
|
|
3245
3245
|
/* @__PURE__ */ r(d.Close, {
|
|
3246
3246
|
asChild: !0,
|
|
3247
|
-
children: /* @__PURE__ */ r(
|
|
3247
|
+
children: /* @__PURE__ */ r(B, {
|
|
3248
3248
|
variant: "ghost",
|
|
3249
3249
|
size: "icon",
|
|
3250
3250
|
"aria-label": "Close menu",
|
|
@@ -3267,10 +3267,10 @@ function Hi({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
|
3267
3267
|
}
|
|
3268
3268
|
// src/web/pricing-table.component.tsx
|
|
3269
3269
|
function Ui({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
|
|
3270
|
-
let [l, u] =
|
|
3270
|
+
let [l, u] = k(a);
|
|
3271
3271
|
return /* @__PURE__ */ r("section", {
|
|
3272
3272
|
"data-slot": "pricing-table",
|
|
3273
|
-
className:
|
|
3273
|
+
className: M("border-y bg-canvas py-22", c),
|
|
3274
3274
|
children: /* @__PURE__ */ i("div", {
|
|
3275
3275
|
className: "mx-auto flex max-w-[1200px] flex-col gap-8 px-6",
|
|
3276
3276
|
children: [
|
|
@@ -3285,15 +3285,15 @@ function Ui({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
3285
3285
|
className: "m-0 type-lead",
|
|
3286
3286
|
children: t
|
|
3287
3287
|
})]
|
|
3288
|
-
}), /* @__PURE__ */ i(
|
|
3288
|
+
}), /* @__PURE__ */ i(mt, {
|
|
3289
3289
|
type: "single",
|
|
3290
3290
|
value: l,
|
|
3291
3291
|
onValueChange: (e) => e && u(e),
|
|
3292
3292
|
"aria-label": "Billing",
|
|
3293
|
-
children: [/* @__PURE__ */ r(
|
|
3293
|
+
children: [/* @__PURE__ */ r(ht, {
|
|
3294
3294
|
value: "monthly",
|
|
3295
3295
|
children: "Monthly"
|
|
3296
|
-
}), /* @__PURE__ */ r(
|
|
3296
|
+
}), /* @__PURE__ */ r(ht, {
|
|
3297
3297
|
value: "yearly",
|
|
3298
3298
|
children: "Yearly"
|
|
3299
3299
|
})]
|
|
@@ -3303,14 +3303,14 @@ function Ui({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
3303
3303
|
className: "m-0 grid list-none grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-4 p-0",
|
|
3304
3304
|
children: n.map((e) => /* @__PURE__ */ i("li", {
|
|
3305
3305
|
"aria-label": e.name,
|
|
3306
|
-
className:
|
|
3306
|
+
className: M("flex flex-col gap-3.5 rounded-2xl border bg-card p-7 shadow-xs", e.featured && "border-brand shadow-[0_0_0_1px_var(--brand),var(--elevation-md)]"),
|
|
3307
3307
|
children: [
|
|
3308
3308
|
/* @__PURE__ */ i("div", {
|
|
3309
3309
|
className: "flex items-center justify-between",
|
|
3310
3310
|
children: [/* @__PURE__ */ r("h3", {
|
|
3311
3311
|
className: "m-0 type-h3",
|
|
3312
3312
|
children: e.name
|
|
3313
|
-
}), e.featured && /* @__PURE__ */ r(
|
|
3313
|
+
}), e.featured && /* @__PURE__ */ r(R, { children: s })]
|
|
3314
3314
|
}),
|
|
3315
3315
|
/* @__PURE__ */ r("span", {
|
|
3316
3316
|
className: "font-display text-[34px] font-extrabold tracking-tight",
|
|
@@ -3332,7 +3332,7 @@ function Ui({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
3332
3332
|
}), e]
|
|
3333
3333
|
}, e))
|
|
3334
3334
|
}),
|
|
3335
|
-
/* @__PURE__ */ r(
|
|
3335
|
+
/* @__PURE__ */ r(B, {
|
|
3336
3336
|
asChild: !0,
|
|
3337
3337
|
variant: e.featured ? "default" : "outline",
|
|
3338
3338
|
className: "mt-auto",
|
|
@@ -3354,19 +3354,19 @@ function Ui({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
3354
3354
|
}
|
|
3355
3355
|
// src/web/product-card.component.tsx
|
|
3356
3356
|
function Wi({ product: e, href: t, description: n, stage: a, className: o }) {
|
|
3357
|
-
let s =
|
|
3357
|
+
let s = N[e];
|
|
3358
3358
|
return /* @__PURE__ */ i("a", {
|
|
3359
3359
|
"data-slot": "product-card",
|
|
3360
3360
|
"data-product": e,
|
|
3361
3361
|
href: t,
|
|
3362
|
-
className:
|
|
3362
|
+
className: M("flex flex-col overflow-hidden rounded-2xl border bg-card text-card-foreground no-underline shadow-xs transition-shadow hover:shadow-sm focus-visible:outline-2 focus-visible:outline-ring", o),
|
|
3363
3363
|
children: [/* @__PURE__ */ r("span", {
|
|
3364
3364
|
"aria-hidden": "true",
|
|
3365
3365
|
className: "block h-1.5 bg-brand"
|
|
3366
3366
|
}), /* @__PURE__ */ i("span", {
|
|
3367
3367
|
className: "flex flex-col gap-3.5 p-5.5",
|
|
3368
3368
|
children: [
|
|
3369
|
-
/* @__PURE__ */ r(
|
|
3369
|
+
/* @__PURE__ */ r(P, {
|
|
3370
3370
|
product: e,
|
|
3371
3371
|
alt: "",
|
|
3372
3372
|
className: "size-11"
|
|
@@ -3381,7 +3381,7 @@ function Wi({ product: e, href: t, description: n, stage: a, className: o }) {
|
|
|
3381
3381
|
children: n ?? s.tagline
|
|
3382
3382
|
})]
|
|
3383
3383
|
}),
|
|
3384
|
-
/* @__PURE__ */ r(
|
|
3384
|
+
/* @__PURE__ */ r(R, {
|
|
3385
3385
|
variant: "outline",
|
|
3386
3386
|
className: "self-start",
|
|
3387
3387
|
children: a ?? s.stage
|
|
@@ -3394,14 +3394,14 @@ function Wi({ product: e, href: t, description: n, stage: a, className: o }) {
|
|
|
3394
3394
|
function Gi({ tagline: e, columns: t, legal: n, className: a }) {
|
|
3395
3395
|
return /* @__PURE__ */ i("footer", {
|
|
3396
3396
|
"data-slot": "site-footer",
|
|
3397
|
-
className:
|
|
3397
|
+
className: M("border-t pt-14 pb-10", a),
|
|
3398
3398
|
children: [/* @__PURE__ */ i("div", {
|
|
3399
3399
|
className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(160px,1fr))] gap-8 px-6",
|
|
3400
3400
|
children: [/* @__PURE__ */ i("div", {
|
|
3401
3401
|
className: "col-span-2 flex flex-col gap-3",
|
|
3402
3402
|
children: [/* @__PURE__ */ i("span", {
|
|
3403
3403
|
className: "flex items-center gap-2",
|
|
3404
|
-
children: [/* @__PURE__ */ r(
|
|
3404
|
+
children: [/* @__PURE__ */ r(P, {
|
|
3405
3405
|
product: "talogic",
|
|
3406
3406
|
alt: "",
|
|
3407
3407
|
className: "size-7"
|
|
@@ -3437,7 +3437,7 @@ function Ki({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
3437
3437
|
href: "/",
|
|
3438
3438
|
className: "flex items-center gap-2 no-underline",
|
|
3439
3439
|
"aria-label": "Talogic home",
|
|
3440
|
-
children: [/* @__PURE__ */ r(
|
|
3440
|
+
children: [/* @__PURE__ */ r(P, {
|
|
3441
3441
|
product: "talogic",
|
|
3442
3442
|
alt: "",
|
|
3443
3443
|
className: "size-7"
|
|
@@ -3448,7 +3448,7 @@ function Ki({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
3448
3448
|
});
|
|
3449
3449
|
return /* @__PURE__ */ r("header", {
|
|
3450
3450
|
"data-slot": "site-header",
|
|
3451
|
-
className:
|
|
3451
|
+
className: M("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
|
|
3452
3452
|
children: /* @__PURE__ */ i("div", {
|
|
3453
3453
|
className: "mx-auto flex h-[68px] max-w-[1200px] items-center gap-7 px-6",
|
|
3454
3454
|
children: [
|
|
@@ -3490,6 +3490,6 @@ function Ki({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
3490
3490
|
})
|
|
3491
3491
|
});
|
|
3492
3492
|
}
|
|
3493
|
-
export {
|
|
3493
|
+
export { Ft as Accordion, Rt as AccordionContent, It as AccordionItem, Lt as AccordionTrigger, _t as Alert, an as AlertDialog, un as AlertDialogAction, dn as AlertDialogCancel, sn as AlertDialogContent, ln as AlertDialogDescription, cn as AlertDialogTitle, on as AlertDialogTrigger, di as AppShell, nt as Avatar, it as AvatarFallback, rt as AvatarImage, R as Badge, Ni as BottomNav, hr as Breadcrumb, _r as BreadcrumbItem, vr as BreadcrumbLink, gr as BreadcrumbList, yr as BreadcrumbPage, br as BreadcrumbSeparator, B as Button, $e as COLOUR_SCHEMES, Pi as CaptureFrame, zt as Card, Ut as CardContent, Ht as CardDescription, Wt as CardFooter, Bt as CardHeader, Vt as CardTitle, st as Checkbox, Wn as Command, Gn as CommandDialog, Jn as CommandEmpty, Yn as CommandGroup, Kn as CommandInput, Xn as CommandItem, qn as CommandList, Zn as CommandSeparator, Qn as CommandShortcut, $n as ContextMenu, tr as ContextMenuContent, nr as ContextMenuItem, rr as ContextMenuSeparator, ir as ContextMenuShortcut, er as ContextMenuTrigger, Ii as CtaBand, Qe as DENSITIES, fn as Dialog, mn as DialogClose, hn as DialogContent, yn as DialogDescription, _n as DialogFooter, gn as DialogHeader, vn as DialogTitle, pn as DialogTrigger, bn as Drawer, Sn as DrawerClose, Cn as DrawerContent, Tn as DrawerDescription, wn as DrawerTitle, xn as DrawerTrigger, ar as DropdownMenu, lr as DropdownMenuContent, sr as DropdownMenuGroup, ur as DropdownMenuItem, fr as DropdownMenuLabel, cr as DropdownMenuRadioGroup, dr as DropdownMenuRadioItem, pr as DropdownMenuSeparator, mr as DropdownMenuShortcut, or as DropdownMenuTrigger, vt as EmptyState, Be as FAMILY_PALETTE, qe as FREE_HUES, Li as Faq, Ri as FeatureGrid, Tt as Field, fi as FilterBar, pi as FilterChip, wi as FlowNode, mi as FormSection, Xe as HUES, I as HUE_FILL, zi as Hero, Bi as HowItWorks, U as Input, Ti as Inspector, Gt as Kbd, Fe as LABEL_COLORS, L as LOGO_RULE, wt as Label, Sr as MenuIcon, Cr as Menubar, Er as MenubarContent, Dr as MenubarItem, wr as MenubarMenu, kr as MenubarSeparator, Or as MenubarShortcut, Tr as MenubarTrigger, Hi as MobileMenu, Ar as NavigationMenu, Fr as NavigationMenuContent, Mr as NavigationMenuItem, Ir as NavigationMenuLink, jr as NavigationMenuList, Pr as NavigationMenuTrigger, Ze as PALETTE_STEPS, Ye as PRODUCTS, N as PRODUCT_CATALOGUE, Ke as PRODUCT_HUES, hi as PageHeader, Lr as Pagination, En as Popover, On as PopoverAnchor, kn as PopoverContent, Dn as PopoverTrigger, Ui as PricingTable, Wi as ProductCard, P as ProductLogo, ni as ProductSwitcher, yt as Progress, bi as RUN_STATUSES, ct as RadioGroup, lt as RadioGroupItem, Fi as RecordButton, gi as RecordsTable, Jt as ResizableHandle, qt as ResizablePanel, Kt as ResizablePanelGroup, Yt as ScrollArea, Xt as ScrollBar, Et as Select, At as SelectContent, Dt as SelectGroup, Mt as SelectItem, jt as SelectLabel, Nt as SelectSeparator, kt as SelectTrigger, Ot as SelectValue, Zt as Separator, An as Sheet, Mn as SheetClose, In as SheetContent, Pn as SheetDescription, Nn as SheetTitle, jn as SheetTrigger, Kr as Sidebar, ri as SidebarBrand, Jr as SidebarCollapseButton, Xr as SidebarContent, Zr as SidebarFooter, Qr as SidebarGroup, Yr as SidebarHeader, $r as SidebarItem, ti as SidebarSheet, qr as SidebarTooltip, Gi as SiteFooter, Ki as SiteHeader, bt as Skeleton, ut as Slider, xt as Spinner, yi as StatCard, Ci as StatusBadge, Ei as StatusBar, Ur as Stepper, dt as Switch, Qt as Table, en as TableBody, nn as TableCaption, G as TableCell, W as TableHead, $t as TableHeader, tn as TableRow, Rr as Tabs, Vr as TabsContent, zr as TabsList, Br as TabsTrigger, Pt as Textarea, tt as ThemeRoot, ji as TimelineLanes, Mi as TitleBar, St as Toaster, mt as ToggleGroup, ht as ToggleGroupItem, J as Tooltip, zn as TooltipContent, Ln as TooltipProvider, Rn as TooltipTrigger, Re as apcaContrast, at as badgeVariants, z as buttonVariants, M as cn, ai as commandShortcutLabel, V as controlClassName, Z as fadingLabelClassName, q as floatingMotionClassName, Ai as formatClockTime, ki as formatTimecode, Je as hueForProduct, Ge as logoColorForHue, Q as navRowClassName, K as overlayClassName, ze as readableLabel, Si as runStatusDisplay, rn as sheetMotionClassName, _i as sparklinePath, et as themeAttributes, Di as timelineBox, Oi as timelineTicks, ii as useCommandShortcut, ui as useCommandShortcutLabel, H as useFieldControl, X as useSidebar };
|
|
3494
3494
|
|
|
3495
3495
|
//# sourceMappingURL=index.js.map
|