@talogic/react 0.6.4 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -5
  3. package/app/app-shell.component.d.ts +31 -2
  4. package/app/index.d.ts +2 -2
  5. package/fonts.css +1 -1
  6. package/index.d.ts +1 -1
  7. package/index.js +1632 -1064
  8. package/index.js.map +1 -1
  9. package/package.json +2 -2
  10. package/product/product-catalogue.content.d.ts +1 -1
  11. package/talogic-react.css +1 -1
  12. package/tokens/apca-contrast.algorithm.d.ts +2 -2
  13. package/tokens/logo-color.algorithm.d.ts +2 -2
  14. package/tokens/theme.contract.d.ts +2 -2
  15. package/tokens.css +29 -3
  16. package/ui/combobox/combobox-option.contract.d.ts +18 -0
  17. package/ui/combobox/combobox.component.d.ts +78 -0
  18. package/ui/combobox/index.d.ts +5 -0
  19. package/ui/combobox/option-search.hook.d.ts +25 -0
  20. package/ui/feedback/toaster.component.d.ts +1 -1
  21. package/ui/field/field-control.hook.d.ts +9 -0
  22. package/ui/field/index.d.ts +1 -1
  23. package/ui/file-drop/file-accept.policy.d.ts +25 -0
  24. package/ui/file-drop/file-drop-overlay.component.d.ts +31 -0
  25. package/ui/file-drop/index.d.ts +5 -0
  26. package/ui/file-drop/page-drop.hook.d.ts +29 -0
  27. package/ui/index.d.ts +4 -0
  28. package/ui/menu/index.d.ts +1 -0
  29. package/ui/navigation/index.d.ts +1 -1
  30. package/ui/navigation/navigation-menu.component.d.ts +2 -1
  31. package/ui/navigation/tabs.component.d.ts +43 -16
  32. package/ui/overlay/index.d.ts +1 -0
  33. package/ui/overlay/portal.component.d.ts +11 -0
  34. package/ui/presence/index.d.ts +4 -0
  35. package/ui/presence/presence.component.d.ts +21 -0
  36. package/ui/presence/presence.recipe.d.ts +8 -0
  37. package/ui/tags-input/index.d.ts +7 -0
  38. package/ui/tags-input/tag-entry.algorithm.d.ts +34 -0
  39. package/ui/tags-input/tag.component.d.ts +18 -0
  40. package/ui/tags-input/tags-field.recipe.d.ts +7 -0
  41. package/ui/tags-input/tags-input.component.d.ts +30 -0
  42. package/web/site-header.component.d.ts +1 -1
package/index.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import { clsx as e } from "clsx";
2
2
  import { twMerge as t } from "tailwind-merge";
3
3
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
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
- import { cva as re } from "class-variance-authority";
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 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";
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, Portal as _, Progress as v, RadioGroup as y, ScrollArea as b, Select as x, Separator as ee, Slider as S, Slot as C, Switch as w, Tabs as T, ToggleGroup as E, Tooltip as D } from "radix-ui";
5
+ import { cva as O } from "class-variance-authority";
6
+ import { Ban as te, Bookmark as ne, Check as k, ChevronDown as re, ChevronRight as ie, ChevronsLeft as A, ChevronsRight as ae, ChevronsUpDown as oe, CircleCheck as se, Ellipsis as ce, Info as j, LoaderCircle as le, Mic as M, Minus as ue, PanelLeft as de, Pause as fe, Play as pe, Plus as me, Search as he, Square as ge, TriangleAlert as _e, Upload as ve, X as N } from "lucide-react";
7
+ import { cloneElement as ye, createContext as be, isValidElement as xe, useCallback as Se, useContext as Ce, useEffect as P, useId as we, useLayoutEffect as Te, useRef as F, useState as I, useSyncExternalStore as Ee } from "react";
8
+ import { Drawer as L } from "vaul";
9
+ import { Command as R } from "cmdk";
10
+ import { Toaster as De } from "sonner";
11
+ import { Group as Oe, Panel as ke, Separator as Ae } from "react-resizable-panels";
12
12
  // src/class-names/class-names.algorithm.ts
13
- function M(...n) {
13
+ function z(...n) {
14
14
  return t(e(n));
15
15
  }
16
16
  // src/product/product-catalogue.content.ts
17
- var N = {
17
+ var B = {
18
18
  talogic: {
19
- name: "Talogic",
19
+ name: "talogic",
20
20
  tagline: "Human focused automations.",
21
21
  stage: "Company",
22
22
  logoColor: "#753edd"
@@ -54,7 +54,7 @@ var N = {
54
54
  logoColor: "#3e63dd",
55
55
  logoAccents: ["#e5484d", "#30a46c"]
56
56
  }
57
- }, Pe = {
57
+ }, je = {
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 N = {
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 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);
71
+ function V({ product: e, alt: t = B[e].name, className: a, ...o }) {
72
+ let { light: s, dark: c } = je[e], l = z("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: M(l, "dark:hidden"),
77
+ className: z(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: M(l, "hidden dark:block"),
83
+ className: z(l, "hidden dark:block"),
84
84
  ...o
85
85
  })] }) : /* @__PURE__ */ r("img", {
86
86
  "data-slot": "product-logo",
@@ -91,7 +91,7 @@ function P({ product: e, alt: t = N[e].name, className: a, ...o }) {
91
91
  });
92
92
  }
93
93
  // src/tokens/apca-contrast.algorithm.ts
94
- var F = {
94
+ var H = {
95
95
  mainTrc: 2.4,
96
96
  red: .2126729,
97
97
  green: .7151522,
@@ -106,8 +106,8 @@ var F = {
106
106
  lowOffset: .027,
107
107
  deltaYMin: 5e-4,
108
108
  lowClip: .1
109
- }, Fe = ["#14121a", "#ffffff"];
110
- function Ie(e) {
109
+ }, Me = ["#14121a", "#ffffff"];
110
+ function Ne(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 Ie(e) {
116
116
  4
117
117
  ].map((e) => Number.parseInt(n.slice(e, e + 2), 16));
118
118
  }
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;
119
+ function Pe(e) {
120
+ let [t, n, r] = Ne(e).map((e) => (e / 255) ** H.mainTrc), i = H.red * t + H.green * n + H.blue * r;
121
+ return i < H.blackThresh ? i + (H.blackThresh - i) ** H.blackClamp : i;
122
122
  }
123
- function Re(e, t) {
124
- let n = Le(e), r = Le(t);
125
- if (Math.abs(r - n) < F.deltaYMin) return 0;
123
+ function Fe(e, t) {
124
+ let n = Pe(e), r = Pe(t);
125
+ if (Math.abs(r - n) < H.deltaYMin) return 0;
126
126
  if (r > n) {
127
- let e = (r ** F.normBg - n ** F.normText) * F.scale;
128
- return e < F.lowClip ? 0 : (e - F.lowOffset) * 100;
127
+ let e = (r ** H.normBg - n ** H.normText) * H.scale;
128
+ return e < H.lowClip ? 0 : (e - H.lowOffset) * 100;
129
129
  }
130
- let i = (r ** F.revBg - n ** F.revText) * F.scale;
131
- return i > -F.lowClip ? 0 : (i + F.lowOffset) * 100;
130
+ let i = (r ** H.revBg - n ** H.revText) * H.scale;
131
+ return i > -H.lowClip ? 0 : (i + H.lowOffset) * 100;
132
132
  }
133
- function ze(e, t = Fe) {
133
+ function Ie(e, t = Me) {
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(Re(n, e));
136
+ let r = Math.abs(Fe(n, e));
137
137
  for (let i of t.slice(1)) {
138
- let t = Math.abs(Re(i, e));
138
+ let t = Math.abs(Fe(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 I = {
144
+ var U = {
145
145
  red: "bg-red-500",
146
146
  orange: "bg-orange-500",
147
147
  amber: "bg-amber-500",
@@ -154,7 +154,7 @@ var I = {
154
154
  violet: "bg-violet-500",
155
155
  purple: "bg-purple-500",
156
156
  pink: "bg-pink-500"
157
- }, Be = {
157
+ }, Le = {
158
158
  red: {
159
159
  50: "#fef4f3",
160
160
  100: "#fee9e7",
@@ -311,24 +311,24 @@ var I = {
311
311
  900: "#531b39",
312
312
  950: "#331123"
313
313
  }
314
- }, L = {
314
+ }, W = {
315
315
  saturation: .7,
316
316
  lightness: .55,
317
317
  maxOklchLightness: .7,
318
318
  lightnessStep: .005
319
319
  };
320
- function Ve(e) {
320
+ function Re(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 He(e) {
328
- let [t, n, r] = Ve(e), i = Math.max(t, n, r), a = i - Math.min(t, n, r);
327
+ function ze(e) {
328
+ let [t, n, r] = Re(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 Ue(e, t, n) {
331
+ function Be(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 Ue(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 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);
370
+ function Ve(e) {
371
+ let [t, n, r] = Re(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 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);
374
+ function He(e) {
375
+ let t = ze(Le[e][500]), n = W.lightness, r = Be(t, W.saturation, n);
376
+ for (; Ve(r) > W.maxOklchLightness;) n -= W.lightnessStep, r = Be(t, W.saturation, n);
377
377
  return r;
378
378
  }
379
379
  // src/tokens/product-hue.policy.ts
380
- var Ke = {
380
+ var Ue = {
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
- }, qe = [
387
+ }, We = [
388
388
  "lime",
389
389
  "teal",
390
390
  "cyan",
@@ -392,18 +392,18 @@ var Ke = {
392
392
  "purple",
393
393
  "pink"
394
394
  ];
395
- function Je(e) {
396
- return Ke[e];
395
+ function Ge(e) {
396
+ return Ue[e];
397
397
  }
398
398
  // src/tokens/theme.contract.ts
399
- var Ye = [
399
+ var Ke = [
400
400
  "talogic",
401
401
  "pargic",
402
402
  "daygic",
403
403
  "ingic",
404
404
  "loregic",
405
405
  "loomgic"
406
- ], Xe = [
406
+ ], qe = [
407
407
  "red",
408
408
  "orange",
409
409
  "amber",
@@ -416,7 +416,7 @@ var Ye = [
416
416
  "violet",
417
417
  "purple",
418
418
  "pink"
419
- ], Ze = [
419
+ ], Je = [
420
420
  "50",
421
421
  "100",
422
422
  "200",
@@ -428,56 +428,56 @@ var Ye = [
428
428
  "800",
429
429
  "900",
430
430
  "950"
431
- ], Qe = [
431
+ ], Ye = [
432
432
  "web",
433
433
  "app",
434
434
  "desk",
435
435
  "mob"
436
- ], $e = ["light", "dark"];
436
+ ], Xe = ["light", "dark"];
437
437
  // src/tokens/theme-attributes.mapper.ts
438
- function et(e) {
438
+ function Ze(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 tt({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
- let { className: c, ...l } = et({
443
+ function Qe({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
+ let { className: c, ...l } = Ze({
445
445
  product: e,
446
446
  hue: t,
447
447
  scheme: n,
448
448
  density: i
449
- }), u = a ? S.Root : "div";
449
+ }), u = a ? C.Root : "div";
450
450
  return /* @__PURE__ */ r(u, {
451
451
  "data-slot": "theme-root",
452
- className: M(c, o),
452
+ className: z(c, o),
453
453
  ...l,
454
454
  ...s
455
455
  });
456
456
  }
457
457
  // src/ui/avatar/avatar.component.tsx
458
- function nt({ className: e, ...t }) {
458
+ function $e({ className: e, ...t }) {
459
459
  return /* @__PURE__ */ r(s.Root, {
460
460
  "data-slot": "avatar",
461
- className: M("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
461
+ className: z("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
462
462
  ...t
463
463
  });
464
464
  }
465
- function rt({ className: e, ...t }) {
465
+ function et({ className: e, ...t }) {
466
466
  return /* @__PURE__ */ r(s.Image, {
467
467
  "data-slot": "avatar-image",
468
- className: M("aspect-square size-full object-cover", e),
468
+ className: z("aspect-square size-full object-cover", e),
469
469
  ...t
470
470
  });
471
471
  }
472
- function it({ className: e, ...t }) {
472
+ function tt({ className: e, ...t }) {
473
473
  return /* @__PURE__ */ r(s.Fallback, {
474
474
  "data-slot": "avatar-fallback",
475
- className: M("flex size-full items-center justify-center rounded-full bg-brand-soft text-xs font-semibold text-brand-text", e),
475
+ className: z("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 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", {
480
+ var nt = O("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 at = 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 R({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
494
+ function G({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
495
495
  return /* @__PURE__ */ i("span", {
496
496
  "data-slot": "badge",
497
- className: M(at({ variant: t }), e),
497
+ className: z(nt({ variant: t }), e),
498
498
  ...o,
499
499
  children: [n && /* @__PURE__ */ r("span", {
500
500
  "aria-hidden": "true",
@@ -503,7 +503,7 @@ function R({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
503
503
  });
504
504
  }
505
505
  // src/ui/button/button.recipe.ts
506
- var z = re([
506
+ var K = O([
507
507
  "inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md border border-transparent font-medium no-underline",
508
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,29 +537,29 @@ var z = re([
537
537
  }
538
538
  });
539
539
  // src/ui/button/button.component.tsx
540
- function B({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
541
- let d = o ? S.Root : "button";
540
+ function q({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
541
+ let d = o ? C.Root : "button";
542
542
  return /* @__PURE__ */ r(d, {
543
543
  "data-slot": "button",
544
- className: M(z({
544
+ className: z(K({
545
545
  variant: t,
546
546
  size: a
547
547
  }), e),
548
548
  disabled: o ? void 0 : c,
549
549
  "aria-busy": s || void 0,
550
550
  ...u,
551
- children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(pe, {
551
+ children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(le, {
552
552
  className: "animate-spin",
553
553
  "aria-hidden": "true"
554
554
  }), l] }) : l
555
555
  });
556
556
  }
557
557
  // src/ui/choice/checkbox.component.tsx
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 }) {
558
+ var rt = "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 it({ className: e, ...t }) {
560
560
  return /* @__PURE__ */ r(c.Root, {
561
561
  "data-slot": "checkbox",
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),
562
+ className: z("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,39 +571,39 @@ function st({ 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: M(ot, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
574
+ className: z(rt, "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: M(ot, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
578
+ className: z(rt, "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 ct({ className: e, ...t }) {
586
- return /* @__PURE__ */ r(v.Root, {
585
+ function at({ className: e, ...t }) {
586
+ return /* @__PURE__ */ r(y.Root, {
587
587
  "data-slot": "radio-group",
588
- className: M("grid gap-2.5", e),
588
+ className: z("grid gap-2.5", e),
589
589
  ...t
590
590
  });
591
591
  }
592
- function lt({ className: e, ...t }) {
593
- return /* @__PURE__ */ r(v.Item, {
592
+ function ot({ className: e, ...t }) {
593
+ return /* @__PURE__ */ r(y.Item, {
594
594
  "data-slot": "radio-group-item",
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),
595
+ className: z("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
- children: /* @__PURE__ */ r(v.Indicator, {
597
+ children: /* @__PURE__ */ r(y.Indicator, {
598
598
  forceMount: !0,
599
599
  className: "size-1.5 scale-0 rounded-full bg-primary-foreground opacity-0 transition-[opacity,scale] duration-200 ease-emphasised group-data-[state=checked]/radio:scale-100 group-data-[state=checked]/radio:opacity-100 motion-reduce:transition-none"
600
600
  })
601
601
  });
602
602
  }
603
603
  // src/ui/choice/slider.component.tsx
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
- return /* @__PURE__ */ i(x.Root, {
604
+ function st({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
605
+ let [d, f] = I(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
606
+ return /* @__PURE__ */ i(S.Root, {
607
607
  "data-slot": "slider",
608
608
  value: t,
609
609
  defaultValue: n,
@@ -619,29 +619,29 @@ function ut({ 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: 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),
622
+ className: z("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
- children: [/* @__PURE__ */ r(x.Track, {
624
+ children: [/* @__PURE__ */ r(S.Track, {
625
625
  className: "relative h-1.5 grow overflow-hidden rounded-full bg-muted",
626
- children: /* @__PURE__ */ r(x.Range, { className: "absolute h-full bg-primary transition-[left,right] duration-200 ease-emphasised group-data-dragging/slider:transition-none motion-reduce:transition-none" })
627
- }), Array.from({ length: p }, (e, t) => /* @__PURE__ */ r(x.Thumb, {
626
+ children: /* @__PURE__ */ r(S.Range, { className: "absolute h-full bg-primary transition-[left,right] duration-200 ease-emphasised group-data-dragging/slider:transition-none motion-reduce:transition-none" })
627
+ }), Array.from({ length: p }, (e, t) => /* @__PURE__ */ r(S.Thumb, {
628
628
  "aria-label": m,
629
629
  className: "block size-4 cursor-grab rounded-full border border-primary bg-background shadow-xs outline-none focus-visible:ring-3 focus-visible:ring-ring/25"
630
630
  }, t))]
631
631
  });
632
632
  }
633
633
  // src/ui/choice/switch.component.tsx
634
- function dt({ className: e, ...t }) {
635
- return /* @__PURE__ */ r(te.Root, {
634
+ function ct({ className: e, ...t }) {
635
+ return /* @__PURE__ */ r(w.Root, {
636
636
  "data-slot": "switch",
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),
637
+ className: z("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
- 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" })
639
+ children: /* @__PURE__ */ r(w.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 ft(e) {
644
- let t = Oe(null), n = Oe(void 0), r = Te((r) => {
643
+ function lt(e) {
644
+ let t = F(null), n = F(void 0), r = Se((r) => {
645
645
  if (n.current?.(), n.current = void 0, t.current = r, !r) return;
646
646
  function i() {
647
647
  if (!r) return;
@@ -663,188 +663,70 @@ function ft(e) {
663
663
  a.disconnect(), o.disconnect();
664
664
  };
665
665
  }, [e]);
666
- return O(() => () => n.current?.(), []), r;
666
+ return P(() => () => n.current?.(), []), r;
667
667
  }
668
668
  // src/ui/active-indicator/active-indicator.recipe.ts
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";
669
+ var ut = "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 mt({ className: e, children: t, ...n }) {
672
- let a = ft("[data-state=on]"), o = n.type === "single";
673
- return /* @__PURE__ */ i(ne.Root, {
671
+ function dt({ className: e, children: t, ...n }) {
672
+ let a = lt("[data-state=on]"), o = n.type === "single";
673
+ return /* @__PURE__ */ i(E.Root, {
674
674
  ref: o ? a : void 0,
675
675
  "data-slot": "toggle-group",
676
676
  "data-mode": n.type,
677
- className: M("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
677
+ className: z("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: M(pt, "rounded-sm bg-background shadow-xs")
682
+ className: z(ut, "rounded-sm bg-background shadow-xs")
683
683
  }), t]
684
684
  });
685
685
  }
686
- function ht({ className: e, ...t }) {
687
- return /* @__PURE__ */ r(ne.Item, {
686
+ function ft({ className: e, ...t }) {
687
+ return /* @__PURE__ */ r(E.Item, {
688
688
  "data-slot": "toggle-group-item",
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
- ...t
691
- });
692
- }
693
- // src/ui/feedback/alert.component.tsx
694
- var gt = {
695
- info: {
696
- box: "border-border bg-card",
697
- icon: "text-info",
698
- Icon: fe
699
- },
700
- success: {
701
- box: "border-border bg-card",
702
- icon: "text-success",
703
- Icon: ue
704
- },
705
- warning: {
706
- box: "border-[color-mix(in_oklab,var(--warning)_35%,var(--border))] bg-warning-soft",
707
- icon: "text-warning",
708
- Icon: xe
709
- },
710
- danger: {
711
- box: "border-[color-mix(in_oklab,var(--destructive)_40%,var(--border))] bg-destructive-soft",
712
- icon: "text-destructive",
713
- Icon: xe
714
- }
715
- };
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
- return /* @__PURE__ */ i("div", {
719
- "data-slot": "alert",
720
- role: e === "danger" || e === "warning" ? "alert" : "status",
721
- className: M("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
722
- ...s,
723
- children: [/* @__PURE__ */ r("span", {
724
- "aria-hidden": "true",
725
- className: M("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
726
- children: n ?? /* @__PURE__ */ r(u, {})
727
- }), /* @__PURE__ */ i("div", {
728
- className: "flex flex-col gap-0.5",
729
- children: [/* @__PURE__ */ r("p", {
730
- className: "m-0 type-h4",
731
- children: t
732
- }), a && /* @__PURE__ */ r("div", {
733
- className: "text-[13px] text-muted-foreground",
734
- children: a
735
- })]
736
- })]
737
- });
738
- }
739
- // src/ui/feedback/empty-state.component.tsx
740
- function vt({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
741
- return /* @__PURE__ */ i("div", {
742
- "data-slot": "empty-state",
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
- ...s,
745
- children: [
746
- /* @__PURE__ */ r("span", {
747
- "aria-hidden": "true",
748
- className: "grid size-10 place-items-center rounded-[10px] bg-brand-soft text-brand-text [&_svg]:size-5",
749
- children: n ?? /* @__PURE__ */ r(ye, {})
750
- }),
751
- /* @__PURE__ */ r("p", {
752
- className: "m-0 type-h4",
753
- children: e
754
- }),
755
- t && /* @__PURE__ */ r("p", {
756
- className: "m-0 max-w-sm text-[13px] text-muted-foreground",
757
- children: t
758
- }),
759
- a && /* @__PURE__ */ r("div", {
760
- className: "mt-1",
761
- children: a
762
- })
763
- ]
764
- });
765
- }
766
- // src/ui/feedback/progress.component.tsx
767
- function yt({ className: e, value: t, max: n = 100, ...i }) {
768
- let a = t == null ? 0 : Math.min(100, Math.max(0, t / n * 100));
769
- return /* @__PURE__ */ r(_.Root, {
770
- "data-slot": "progress",
771
- value: t,
772
- max: n,
773
- className: M("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
774
- ...i,
775
- children: /* @__PURE__ */ r(_.Indicator, {
776
- className: "h-full rounded-full bg-brand transition-[width]",
777
- style: { width: `${a}%` }
778
- })
779
- });
780
- }
781
- // src/ui/feedback/skeleton.component.tsx
782
- function bt({ className: e, ...t }) {
783
- return /* @__PURE__ */ r("div", {
784
- "data-slot": "skeleton",
785
- "aria-hidden": "true",
786
- className: M("animate-pulse rounded-sm bg-muted", e),
689
+ className: z("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),
787
690
  ...t
788
691
  });
789
692
  }
790
- // src/ui/feedback/spinner.component.tsx
791
- function xt({ className: e, label: t = "Loading", ...n }) {
792
- return /* @__PURE__ */ r(pe, {
793
- "data-slot": "spinner",
794
- role: "status",
795
- "aria-label": t,
796
- className: M("size-4 animate-spin text-muted-foreground", e),
797
- ...n
798
- });
799
- }
800
- // src/ui/feedback/toaster.component.tsx
801
- function St(e) {
802
- return /* @__PURE__ */ r(Ae, {
803
- className: "toaster group",
804
- toastOptions: { classNames: {
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",
806
- title: "text-[15px] font-semibold",
807
- description: "text-[13px] text-muted-foreground",
808
- success: "[&_[data-icon]]:text-success",
809
- error: "[&_[data-icon]]:text-destructive",
810
- info: "[&_[data-icon]]:text-info",
811
- warning: "[&_[data-icon]]:text-warning"
812
- } },
813
- ...e
814
- });
815
- }
816
693
  // src/ui/field/control.recipe.ts
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);
694
+ var pt = "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", mt = be(null);
695
+ function J(e = {}) {
696
+ let t = Ce(mt);
820
697
  return t ? {
821
698
  id: e.id ?? t.id,
822
699
  "aria-describedby": e["aria-describedby"] ?? (t.describedBy || void 0),
823
700
  "aria-invalid": e["aria-invalid"] ?? (t.invalid || void 0)
824
701
  } : e;
825
702
  }
703
+ function ht() {
704
+ return Ce(mt)?.labelId;
705
+ }
826
706
  // src/ui/field/label.component.tsx
827
- function wt({ className: e, ...t }) {
707
+ function gt({ className: e, ...t }) {
828
708
  return /* @__PURE__ */ r(p.Root, {
829
709
  "data-slot": "label",
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),
710
+ className: z("flex select-none items-center gap-2 text-[13px] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
831
711
  ...t
832
712
  });
833
713
  }
834
714
  // src/ui/field/field.component.tsx
835
- function Tt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
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(Ct, {
715
+ function _t({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
716
+ let c = we(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
717
+ return /* @__PURE__ */ r(mt, {
838
718
  value: {
839
719
  id: l,
840
720
  describedBy: f,
841
- invalid: !!n
721
+ invalid: !!n,
722
+ labelId: `${l}-label`
842
723
  },
843
724
  children: /* @__PURE__ */ i("div", {
844
725
  "data-slot": "field",
845
- className: M("flex flex-col gap-1.5", s),
726
+ className: z("flex flex-col gap-1.5", s),
846
727
  children: [
847
- /* @__PURE__ */ r(wt, {
728
+ /* @__PURE__ */ r(gt, {
729
+ id: `${l}-label`,
848
730
  htmlFor: l,
849
731
  children: e
850
732
  }),
@@ -864,11 +746,11 @@ function Tt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
864
746
  });
865
747
  }
866
748
  // src/ui/field/input.component.tsx
867
- function U({ className: e, startIcon: t, type: n = "text", ...a }) {
868
- let o = H(a), s = /* @__PURE__ */ r("input", {
749
+ function vt({ className: e, startIcon: t, type: n = "text", ...a }) {
750
+ let o = J(a), s = /* @__PURE__ */ r("input", {
869
751
  "data-slot": "input",
870
752
  type: n,
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),
753
+ className: z(pt, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
872
754
  ...a,
873
755
  ...o
874
756
  });
@@ -882,667 +764,1234 @@ function U({ className: e, startIcon: t, type: n = "text", ...a }) {
882
764
  }) : s;
883
765
  }
884
766
  // src/ui/field/select.component.tsx
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
- return /* @__PURE__ */ i(b.Trigger, {
767
+ var yt = x.Root, bt = x.Group, xt = x.Value;
768
+ function St({ className: e, children: t, ...n }) {
769
+ let a = J(n);
770
+ return /* @__PURE__ */ i(x.Trigger, {
889
771
  "data-slot": "select-trigger",
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),
772
+ className: z(pt, "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
773
  ...n,
892
774
  ...a,
893
- children: [t, /* @__PURE__ */ r(b.Icon, {
775
+ children: [t, /* @__PURE__ */ r(x.Icon, {
894
776
  asChild: !0,
895
- children: /* @__PURE__ */ r(ae, {
777
+ children: /* @__PURE__ */ r(re, {
896
778
  className: "size-4 shrink-0 text-muted-foreground",
897
779
  "aria-hidden": "true"
898
780
  })
899
781
  })]
900
782
  });
901
783
  }
902
- function At({ className: e, children: t, position: n = "popper", ...i }) {
903
- return /* @__PURE__ */ r(b.Portal, { children: /* @__PURE__ */ r(b.Content, {
784
+ function Ct({ className: e, children: t, position: n = "popper", ...i }) {
785
+ return /* @__PURE__ */ r(x.Portal, { children: /* @__PURE__ */ r(x.Content, {
904
786
  "data-slot": "select-content",
905
787
  position: n,
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),
788
+ className: z("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
789
  ...i,
908
- children: /* @__PURE__ */ r(b.Viewport, {
790
+ children: /* @__PURE__ */ r(x.Viewport, {
909
791
  className: "p-1",
910
792
  children: t
911
793
  })
912
794
  }) });
913
795
  }
914
- function jt({ className: e, ...t }) {
915
- return /* @__PURE__ */ r(b.Label, {
796
+ function wt({ className: e, ...t }) {
797
+ return /* @__PURE__ */ r(x.Label, {
916
798
  "data-slot": "select-label",
917
- className: M("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
799
+ className: z("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
918
800
  ...t
919
801
  });
920
802
  }
921
- function Mt({ className: e, children: t, ...n }) {
922
- return /* @__PURE__ */ i(b.Item, {
803
+ function Tt({ className: e, children: t, ...n }) {
804
+ return /* @__PURE__ */ i(x.Item, {
923
805
  "data-slot": "select-item",
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),
806
+ className: z("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
807
  ...n,
926
- children: [/* @__PURE__ */ r(b.ItemText, { children: t }), /* @__PURE__ */ r("span", {
808
+ children: [/* @__PURE__ */ r(x.ItemText, { children: t }), /* @__PURE__ */ r("span", {
927
809
  className: "absolute end-2 flex size-4 items-center justify-center",
928
- children: /* @__PURE__ */ r(b.ItemIndicator, { children: /* @__PURE__ */ r(T, {
810
+ children: /* @__PURE__ */ r(x.ItemIndicator, { children: /* @__PURE__ */ r(k, {
929
811
  className: "size-4",
930
812
  "aria-hidden": "true"
931
813
  }) })
932
814
  })]
933
815
  });
934
816
  }
935
- function Nt({ className: e, ...t }) {
936
- return /* @__PURE__ */ r(b.Separator, {
817
+ function Et({ className: e, ...t }) {
818
+ return /* @__PURE__ */ r(x.Separator, {
937
819
  "data-slot": "select-separator",
938
- className: M("-mx-1 my-1 h-px bg-border", e),
820
+ className: z("-mx-1 my-1 h-px bg-border", e),
939
821
  ...t
940
822
  });
941
823
  }
942
824
  // src/ui/field/textarea.component.tsx
943
- function Pt({ className: e, ...t }) {
944
- let n = H(t);
825
+ function Dt({ className: e, ...t }) {
826
+ let n = J(t);
945
827
  return /* @__PURE__ */ r("textarea", {
946
828
  "data-slot": "textarea",
947
- className: M(V, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
829
+ className: z(pt, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
948
830
  ...t,
949
831
  ...n
950
832
  });
951
833
  }
952
- // src/ui/layout/accordion.component.tsx
953
- function Ft({ className: e, ...t }) {
954
- return /* @__PURE__ */ r(a.Root, {
955
- "data-slot": "accordion",
956
- className: M("border-t", e),
834
+ // src/ui/overlay/overlay.recipe.ts
835
+ var Y = "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", Ot = "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", kt = {
836
+ 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",
837
+ 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",
838
+ 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",
839
+ 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"
840
+ }, At = o.Root, jt = o.Trigger;
841
+ function Mt({ className: e, ...t }) {
842
+ return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: Y }), /* @__PURE__ */ r(o.Content, {
843
+ "data-slot": "alert-dialog-content",
844
+ className: z("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", Ot, e),
957
845
  ...t
958
- });
846
+ })] });
959
847
  }
960
- function It({ className: e, ...t }) {
961
- return /* @__PURE__ */ r(a.Item, {
962
- "data-slot": "accordion-item",
963
- className: M("border-b", e),
848
+ function Nt({ className: e, ...t }) {
849
+ return /* @__PURE__ */ r(o.Title, {
850
+ "data-slot": "alert-dialog-title",
851
+ className: z("m-0 font-display text-lg font-bold leading-tight", e),
964
852
  ...t
965
853
  });
966
854
  }
967
- function Lt({ className: e, children: t, ...n }) {
968
- return /* @__PURE__ */ r(a.Header, {
969
- className: "m-0 flex",
970
- children: /* @__PURE__ */ i(a.Trigger, {
971
- "data-slot": "accordion-trigger",
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
- ...n,
974
- children: [t, /* @__PURE__ */ i("svg", {
975
- viewBox: "0 0 16 16",
976
- "aria-hidden": "true",
977
- className: "size-4 shrink-0 text-muted-foreground transition-transform duration-300 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
978
- children: [/* @__PURE__ */ r("rect", {
979
- x: "3",
980
- y: "7.25",
981
- width: "10",
982
- height: "1.5",
983
- rx: "0.75",
984
- fill: "currentColor"
985
- }), /* @__PURE__ */ r("rect", {
986
- x: "7.25",
987
- y: "3",
988
- width: "1.5",
989
- height: "10",
990
- rx: "0.75",
991
- fill: "currentColor",
992
- className: "origin-center transition-[scale] duration-300 ease-emphasised [transform-box:fill-box] group-data-[state=open]:scale-y-0 motion-reduce:transition-none"
993
- })]
994
- })]
995
- })
855
+ function Pt({ className: e, ...t }) {
856
+ return /* @__PURE__ */ r(o.Description, {
857
+ "data-slot": "alert-dialog-description",
858
+ className: z("m-0 text-sm text-muted-foreground", e),
859
+ ...t
996
860
  });
997
861
  }
998
- function Rt({ className: e, children: t, ...n }) {
999
- return /* @__PURE__ */ r(a.Content, {
1000
- "data-slot": "accordion-content",
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
- ...n,
1003
- children: /* @__PURE__ */ r("div", {
1004
- className: M("pb-3", e),
1005
- children: t
1006
- })
862
+ function Ft({ className: e, variant: t = "default", ...n }) {
863
+ return /* @__PURE__ */ r(o.Action, {
864
+ "data-slot": "alert-dialog-action",
865
+ className: z(K({ variant: t }), e),
866
+ ...n
1007
867
  });
1008
868
  }
1009
- // src/ui/layout/card.component.tsx
1010
- function zt({ className: e, ...t }) {
1011
- return /* @__PURE__ */ r("div", {
1012
- "data-slot": "card",
1013
- className: M("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
869
+ function It({ className: e, ...t }) {
870
+ return /* @__PURE__ */ r(o.Cancel, {
871
+ "data-slot": "alert-dialog-cancel",
872
+ className: z(K({ variant: "outline" }), e),
1014
873
  ...t
1015
874
  });
1016
875
  }
1017
- function Bt({ className: e, ...t }) {
876
+ // src/ui/overlay/dialog.component.tsx
877
+ var Lt = d.Root, Rt = d.Trigger, zt = d.Close;
878
+ function Bt({ className: e, children: t, showClose: n = !0, ...a }) {
879
+ return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: Y }), /* @__PURE__ */ i(d.Content, {
880
+ "data-slot": "dialog-content",
881
+ className: z("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", Ot, e),
882
+ ...a,
883
+ children: [t, n && /* @__PURE__ */ i(d.Close, {
884
+ 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",
885
+ children: [/* @__PURE__ */ r(N, {
886
+ className: "size-4",
887
+ "aria-hidden": "true"
888
+ }), /* @__PURE__ */ r("span", {
889
+ className: "sr-only",
890
+ children: "Close"
891
+ })]
892
+ })]
893
+ })] });
894
+ }
895
+ function Vt({ className: e, ...t }) {
1018
896
  return /* @__PURE__ */ r("div", {
1019
- "data-slot": "card-header",
1020
- className: M("flex flex-col gap-1 px-5 pt-5", e),
897
+ "data-slot": "dialog-header",
898
+ className: z("flex flex-col gap-1.5 text-start", e),
1021
899
  ...t
1022
900
  });
1023
901
  }
1024
- function Vt({ className: e, children: t, ...n }) {
1025
- return /* @__PURE__ */ r("h3", {
1026
- "data-slot": "card-title",
1027
- className: M("m-0 type-h4", e),
1028
- ...n,
1029
- children: t
1030
- });
1031
- }
1032
902
  function Ht({ className: e, ...t }) {
1033
- return /* @__PURE__ */ r("p", {
1034
- "data-slot": "card-description",
1035
- className: M("m-0 text-[13px] text-muted-foreground", e),
903
+ return /* @__PURE__ */ r("div", {
904
+ "data-slot": "dialog-footer",
905
+ className: z("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
1036
906
  ...t
1037
907
  });
1038
908
  }
1039
909
  function Ut({ className: e, ...t }) {
1040
- return /* @__PURE__ */ r("div", {
1041
- "data-slot": "card-content",
1042
- className: M("px-5 py-4", e),
910
+ return /* @__PURE__ */ r(d.Title, {
911
+ "data-slot": "dialog-title",
912
+ className: z("m-0 font-display text-lg font-bold leading-tight", e),
1043
913
  ...t
1044
914
  });
1045
915
  }
1046
916
  function Wt({ className: e, ...t }) {
1047
- return /* @__PURE__ */ r("div", {
1048
- "data-slot": "card-footer",
1049
- className: M("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
917
+ return /* @__PURE__ */ r(d.Description, {
918
+ "data-slot": "dialog-description",
919
+ className: z("m-0 text-sm text-muted-foreground", e),
1050
920
  ...t
1051
921
  });
1052
922
  }
1053
- // src/ui/layout/kbd.component.tsx
1054
- function Gt({ className: e, ...t }) {
1055
- return /* @__PURE__ */ r("kbd", {
1056
- "data-slot": "kbd",
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),
923
+ // src/ui/overlay/drawer.component.tsx
924
+ var Gt = L.Root, Kt = L.Trigger, qt = L.Close;
925
+ function Jt({ className: e, children: t, ...n }) {
926
+ return /* @__PURE__ */ i(L.Portal, { children: [/* @__PURE__ */ r(L.Overlay, { className: Y }), /* @__PURE__ */ i(L.Content, {
927
+ "data-slot": "drawer-content",
928
+ className: z("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),
929
+ ...n,
930
+ children: [/* @__PURE__ */ r("div", {
931
+ "aria-hidden": "true",
932
+ className: "mx-auto h-[5px] w-10 shrink-0 rounded-full bg-input"
933
+ }), t]
934
+ })] });
935
+ }
936
+ function Yt({ className: e, ...t }) {
937
+ return /* @__PURE__ */ r(L.Title, {
938
+ "data-slot": "drawer-title",
939
+ className: z("m-0 text-xl font-semibold leading-tight", e),
1058
940
  ...t
1059
941
  });
1060
942
  }
1061
- // src/ui/layout/resizable.component.tsx
1062
- function Kt({ className: e, ...t }) {
1063
- return /* @__PURE__ */ r(je, {
1064
- "data-slot": "resizable-panel-group",
1065
- className: M("flex size-full", e),
943
+ function Xt({ className: e, ...t }) {
944
+ return /* @__PURE__ */ r(L.Description, {
945
+ "data-slot": "drawer-description",
946
+ className: z("m-0 text-sm text-muted-foreground", e),
1066
947
  ...t
1067
948
  });
1068
949
  }
1069
- function qt(e) {
1070
- return /* @__PURE__ */ r(Me, {
1071
- "data-slot": "resizable-panel",
950
+ // src/ui/overlay/portal.component.tsx
951
+ function Zt(e) {
952
+ return /* @__PURE__ */ r(_.Root, {
953
+ "data-slot": "portal",
1072
954
  ...e
1073
955
  });
1074
956
  }
1075
- function Jt({ className: e, ...t }) {
1076
- return /* @__PURE__ */ r(Ne, {
1077
- "data-slot": "resizable-handle",
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
- ...t
1080
- });
1081
- }
1082
- // src/ui/layout/scroll-area.component.tsx
1083
- function Yt({ className: e, children: t, ...n }) {
1084
- return /* @__PURE__ */ i(y.Root, {
1085
- "data-slot": "scroll-area",
1086
- className: M("relative overflow-hidden", e),
1087
- ...n,
1088
- children: [
1089
- /* @__PURE__ */ r(y.Viewport, {
1090
- className: "size-full rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-ring",
1091
- children: t
1092
- }),
1093
- /* @__PURE__ */ r(Xt, {}),
1094
- /* @__PURE__ */ r(Xt, { orientation: "horizontal" }),
1095
- /* @__PURE__ */ r(y.Corner, {})
1096
- ]
1097
- });
957
+ // src/ui/overlay/popover.component.tsx
958
+ var Qt = g.Root, $t = g.Trigger, en = g.Anchor;
959
+ function tn({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
960
+ return /* @__PURE__ */ r(g.Portal, { children: /* @__PURE__ */ r(g.Content, {
961
+ "data-slot": "popover-content",
962
+ align: t,
963
+ sideOffset: n,
964
+ className: z("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none", Ot, e),
965
+ ...i
966
+ }) });
1098
967
  }
1099
- function Xt({ className: e, orientation: t = "vertical", ...n }) {
1100
- return /* @__PURE__ */ r(y.Scrollbar, {
1101
- "data-slot": "scroll-area-scrollbar",
1102
- orientation: t,
1103
- className: M("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1104
- ...n,
1105
- children: /* @__PURE__ */ r(y.Thumb, { className: "relative flex-1 rounded-full bg-input" })
968
+ // src/ui/overlay/sheet.component.tsx
969
+ var nn = d.Root, rn = d.Trigger, an = d.Close, on = d.Title, sn = d.Description, cn = {
970
+ start: "inset-y-0 start-0 h-full w-3/4 max-w-sm border-e",
971
+ end: "inset-y-0 end-0 h-full w-3/4 max-w-sm border-s",
972
+ top: "inset-x-0 top-0 border-b",
973
+ bottom: "inset-x-0 bottom-0 border-t"
974
+ };
975
+ function ln({ className: e, children: t, side: n = "end", ...a }) {
976
+ return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: Y }), /* @__PURE__ */ i(d.Content, {
977
+ "data-slot": "sheet-content",
978
+ className: z("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none", cn[n], kt[n], e),
979
+ ...a,
980
+ children: [t, /* @__PURE__ */ i(d.Close, {
981
+ 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",
982
+ children: [/* @__PURE__ */ r(N, {
983
+ className: "size-4",
984
+ "aria-hidden": "true"
985
+ }), /* @__PURE__ */ r("span", {
986
+ className: "sr-only",
987
+ children: "Close"
988
+ })]
989
+ })]
990
+ })] });
991
+ }
992
+ // src/ui/overlay/tooltip.component.tsx
993
+ var un = D.Provider;
994
+ function dn(e) {
995
+ return /* @__PURE__ */ r(D.Provider, {
996
+ delayDuration: 300,
997
+ children: /* @__PURE__ */ r(D.Root, {
998
+ "data-slot": "tooltip",
999
+ ...e
1000
+ })
1106
1001
  });
1107
1002
  }
1108
- // src/ui/layout/separator.component.tsx
1109
- function Zt({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
1110
- return /* @__PURE__ */ r(ee.Root, {
1111
- "data-slot": "separator",
1112
- orientation: t,
1113
- decorative: n,
1114
- className: M("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
1115
- ...i
1003
+ var fn = D.Trigger;
1004
+ function pn({ className: e, sideOffset: t = 6, ...n }) {
1005
+ return /* @__PURE__ */ r(D.Portal, { children: /* @__PURE__ */ r(D.Content, {
1006
+ "data-slot": "tooltip-content",
1007
+ sideOffset: t,
1008
+ className: z("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background", Ot, e),
1009
+ ...n
1010
+ }) });
1011
+ }
1012
+ // src/ui/menu/menu.recipe.ts
1013
+ var mn = "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", X = "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 data-[disabled=false]:pointer-events-auto data-[disabled=false]:opacity-100 [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-muted-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:[&_svg]:text-destructive", hn = "ms-auto text-xs tracking-wide text-muted-foreground", gn = "-mx-1 my-1 h-px bg-border", _n = "px-2.5 py-1.5 text-xs font-medium text-muted-foreground";
1014
+ // src/ui/menu/command.component.tsx
1015
+ function vn({ className: e, ...t }) {
1016
+ return /* @__PURE__ */ r(R, {
1017
+ "data-slot": "command",
1018
+ className: z("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1019
+ ...t
1116
1020
  });
1117
1021
  }
1118
- // src/ui/layout/table.component.tsx
1119
- function Qt({ className: e, ...t }) {
1120
- return /* @__PURE__ */ r("div", {
1121
- "data-slot": "table-container",
1122
- className: "relative w-full overflow-x-auto",
1123
- children: /* @__PURE__ */ r("table", {
1124
- "data-slot": "table",
1125
- className: M("w-full caption-bottom border-collapse text-[13px]", e),
1022
+ function yn({ title: e = "Search", children: t, ...n }) {
1023
+ return /* @__PURE__ */ r(d.Root, {
1024
+ ...n,
1025
+ children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: Y }), /* @__PURE__ */ i(d.Content, {
1026
+ className: z("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", Ot),
1027
+ children: [
1028
+ /* @__PURE__ */ r(d.Title, {
1029
+ className: "sr-only",
1030
+ children: e
1031
+ }),
1032
+ /* @__PURE__ */ r(d.Description, {
1033
+ className: "sr-only",
1034
+ children: "Type to filter the commands."
1035
+ }),
1036
+ /* @__PURE__ */ r(vn, { children: t })
1037
+ ]
1038
+ })] })
1039
+ });
1040
+ }
1041
+ function bn({ className: e, ...t }) {
1042
+ return /* @__PURE__ */ i("div", {
1043
+ "data-slot": "command-input-wrapper",
1044
+ className: "flex h-11 items-center gap-2 border-b px-3",
1045
+ children: [/* @__PURE__ */ r(he, {
1046
+ className: "size-4 shrink-0 text-muted-foreground",
1047
+ "aria-hidden": "true"
1048
+ }), /* @__PURE__ */ r(R.Input, {
1049
+ "data-slot": "command-input",
1050
+ className: z("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1126
1051
  ...t
1127
- })
1052
+ })]
1128
1053
  });
1129
1054
  }
1130
- function $t(e) {
1131
- return /* @__PURE__ */ r("thead", {
1132
- "data-slot": "table-header",
1133
- ...e
1055
+ function xn({ className: e, ...t }) {
1056
+ return /* @__PURE__ */ r(R.List, {
1057
+ "data-slot": "command-list",
1058
+ className: z("max-h-80 overflow-y-auto p-1", e),
1059
+ ...t
1134
1060
  });
1135
1061
  }
1136
- function en(e) {
1137
- return /* @__PURE__ */ r("tbody", {
1138
- "data-slot": "table-body",
1139
- ...e
1062
+ function Sn({ className: e, ...t }) {
1063
+ return /* @__PURE__ */ r(R.Empty, {
1064
+ "data-slot": "command-empty",
1065
+ className: z("py-6 text-center text-sm text-muted-foreground", e),
1066
+ ...t
1140
1067
  });
1141
1068
  }
1142
- function tn({ className: e, ...t }) {
1143
- return /* @__PURE__ */ r("tr", {
1144
- "data-slot": "table-row",
1145
- className: M("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1069
+ function Cn({ className: e, ...t }) {
1070
+ return /* @__PURE__ */ r(R.Group, {
1071
+ "data-slot": "command-group",
1072
+ className: z("[&_[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),
1146
1073
  ...t
1147
1074
  });
1148
1075
  }
1149
- function W({ className: e, ...t }) {
1150
- return /* @__PURE__ */ r("th", {
1151
- "data-slot": "table-head",
1152
- className: M("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1076
+ function wn({ className: e, ...t }) {
1077
+ return /* @__PURE__ */ r(R.Item, {
1078
+ "data-slot": "command-item",
1079
+ className: z(X, "data-[selected=true]:bg-accent", e),
1153
1080
  ...t
1154
1081
  });
1155
1082
  }
1156
- function G({ className: e, ...t }) {
1157
- return /* @__PURE__ */ r("td", {
1158
- "data-slot": "table-cell",
1159
- className: M("px-3 py-[11px] align-middle", e),
1083
+ function Tn({ className: e, ...t }) {
1084
+ return /* @__PURE__ */ r(R.Separator, {
1085
+ "data-slot": "command-separator",
1086
+ className: z(gn, e),
1160
1087
  ...t
1161
1088
  });
1162
1089
  }
1163
- function nn({ className: e, ...t }) {
1164
- return /* @__PURE__ */ r("caption", {
1165
- "data-slot": "table-caption",
1166
- className: M("mt-3 text-xs text-muted-foreground", e),
1090
+ function En({ className: e, ...t }) {
1091
+ return /* @__PURE__ */ r("span", {
1092
+ "data-slot": "command-shortcut",
1093
+ className: z(hn, e),
1167
1094
  ...t
1168
1095
  });
1169
1096
  }
1170
- // src/ui/overlay/overlay.recipe.ts
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
- 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
- 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
- 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
- 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
- }, 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
- "data-slot": "alert-dialog-content",
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),
1097
+ // src/ui/menu/context-menu.component.tsx
1098
+ var Dn = u.Root, On = u.Trigger;
1099
+ function kn({ className: e, ...t }) {
1100
+ return /* @__PURE__ */ r(u.Portal, { children: /* @__PURE__ */ r(u.Content, {
1101
+ "data-slot": "context-menu-content",
1102
+ className: z(mn, "origin-(--radix-context-menu-content-transform-origin)", e),
1181
1103
  ...t
1182
- })] });
1104
+ }) });
1183
1105
  }
1184
- function cn({ className: e, ...t }) {
1185
- return /* @__PURE__ */ r(o.Title, {
1186
- "data-slot": "alert-dialog-title",
1187
- className: M("m-0 font-display text-lg font-bold leading-tight", e),
1106
+ function An({ className: e, variant: t = "default", ...n }) {
1107
+ return /* @__PURE__ */ r(u.Item, {
1108
+ "data-slot": "context-menu-item",
1109
+ "data-variant": t,
1110
+ className: z(X, e),
1111
+ ...n
1112
+ });
1113
+ }
1114
+ function jn({ className: e, ...t }) {
1115
+ return /* @__PURE__ */ r(u.Separator, {
1116
+ "data-slot": "context-menu-separator",
1117
+ className: z(gn, e),
1188
1118
  ...t
1189
1119
  });
1190
1120
  }
1191
- function ln({ className: e, ...t }) {
1192
- return /* @__PURE__ */ r(o.Description, {
1193
- "data-slot": "alert-dialog-description",
1194
- className: M("m-0 text-sm text-muted-foreground", e),
1121
+ function Mn({ className: e, ...t }) {
1122
+ return /* @__PURE__ */ r("span", {
1123
+ "data-slot": "context-menu-shortcut",
1124
+ className: z(hn, e),
1195
1125
  ...t
1196
1126
  });
1197
1127
  }
1198
- function un({ className: e, variant: t = "default", ...n }) {
1199
- return /* @__PURE__ */ r(o.Action, {
1200
- "data-slot": "alert-dialog-action",
1201
- className: M(z({ variant: t }), e),
1128
+ // src/ui/menu/dropdown-menu.component.tsx
1129
+ var Nn = f.Root, Pn = f.Trigger, Fn = f.Group, In = f.RadioGroup;
1130
+ function Ln({ className: e, sideOffset: t = 6, ...n }) {
1131
+ return /* @__PURE__ */ r(f.Portal, { children: /* @__PURE__ */ r(f.Content, {
1132
+ "data-slot": "dropdown-menu-content",
1133
+ sideOffset: t,
1134
+ className: z(mn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1135
+ ...n
1136
+ }) });
1137
+ }
1138
+ function Rn({ className: e, variant: t = "default", ...n }) {
1139
+ return /* @__PURE__ */ r(f.Item, {
1140
+ "data-slot": "dropdown-menu-item",
1141
+ "data-variant": t,
1142
+ className: z(X, e),
1202
1143
  ...n
1203
1144
  });
1204
1145
  }
1205
- function dn({ className: e, ...t }) {
1206
- return /* @__PURE__ */ r(o.Cancel, {
1207
- "data-slot": "alert-dialog-cancel",
1208
- className: M(z({ variant: "outline" }), e),
1146
+ function zn({ className: e, children: t, ...n }) {
1147
+ return /* @__PURE__ */ i(f.RadioItem, {
1148
+ "data-slot": "dropdown-menu-radio-item",
1149
+ className: z(X, "ps-7", e),
1150
+ ...n,
1151
+ children: [/* @__PURE__ */ r("span", {
1152
+ className: "absolute start-2.5 flex size-2 items-center justify-center",
1153
+ children: /* @__PURE__ */ r(f.ItemIndicator, { children: /* @__PURE__ */ r("span", { className: "block size-2 rounded-full bg-brand" }) })
1154
+ }), t]
1155
+ });
1156
+ }
1157
+ function Bn({ className: e, ...t }) {
1158
+ return /* @__PURE__ */ r(f.Label, {
1159
+ "data-slot": "dropdown-menu-label",
1160
+ className: z(_n, e),
1209
1161
  ...t
1210
1162
  });
1211
1163
  }
1212
- // src/ui/overlay/dialog.component.tsx
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
- "data-slot": "dialog-content",
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
- ...a,
1219
- children: [t, n && /* @__PURE__ */ i(d.Close, {
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",
1221
- children: [/* @__PURE__ */ r(D, {
1222
- className: "size-4",
1223
- "aria-hidden": "true"
1224
- }), /* @__PURE__ */ r("span", {
1225
- className: "sr-only",
1226
- children: "Close"
1227
- })]
1164
+ function Vn({ className: e, ...t }) {
1165
+ return /* @__PURE__ */ r(f.Separator, {
1166
+ "data-slot": "dropdown-menu-separator",
1167
+ className: z(gn, e),
1168
+ ...t
1169
+ });
1170
+ }
1171
+ function Hn({ className: e, ...t }) {
1172
+ return /* @__PURE__ */ r("span", {
1173
+ "data-slot": "dropdown-menu-shortcut",
1174
+ className: z(hn, e),
1175
+ ...t
1176
+ });
1177
+ }
1178
+ // src/ui/tags-input/tag-entry.algorithm.ts
1179
+ var Un = /[,;\n\t]/;
1180
+ function Wn(e) {
1181
+ return e.split(Un).map((e) => e.trim()).filter(Boolean);
1182
+ }
1183
+ function Gn(e, t, n = {}) {
1184
+ let r = [...e], i = [];
1185
+ for (let e of t) (n.allowDuplicates || !r.some((t) => t.toLowerCase() === e.toLowerCase())) && (n.validate && !n.validate(e) || n.max !== void 0 && r.length >= n.max ? i.push(e) : r.push(e));
1186
+ return {
1187
+ tags: r,
1188
+ rejected: i
1189
+ };
1190
+ }
1191
+ // src/ui/tags-input/tag.component.tsx
1192
+ function Kn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove", highlighted: o = !1, ...s }) {
1193
+ return /* @__PURE__ */ i("span", {
1194
+ "data-slot": "tag",
1195
+ "data-highlighted": o || void 0,
1196
+ className: z("inline-flex h-6 max-w-full items-center gap-0.5 rounded-sm bg-brand-soft ps-2 text-[13px] font-medium text-brand-text animate-zoom-in motion-reduce:animate-none", "data-highlighted:ring-2 data-highlighted:ring-brand", n ? "pe-0.5" : "pe-2", e),
1197
+ ...s,
1198
+ children: [/* @__PURE__ */ r("span", {
1199
+ className: "truncate",
1200
+ children: t
1201
+ }), n ? /* @__PURE__ */ r("button", {
1202
+ type: "button",
1203
+ "aria-label": a,
1204
+ onClick: n,
1205
+ className: "grid size-5 shrink-0 cursor-pointer place-items-center rounded-[3px] outline-none hover:bg-brand/15 focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-3",
1206
+ children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1207
+ }) : null]
1208
+ });
1209
+ }
1210
+ // src/ui/tags-input/tags-field.recipe.ts
1211
+ var qn = "flex min-h-(--control-h) w-full min-w-0 cursor-text flex-wrap items-center gap-1 rounded-md border border-input bg-background px-1.5 py-1 shadow-xs text-(length:--control-fs) text-foreground transition-[border-color,box-shadow] focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/25 has-[input[aria-invalid=true]]:border-destructive has-[input[aria-invalid=true]]:ring-3 has-[input[aria-invalid=true]]:ring-destructive/20 has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-50", Jn = "h-6 min-w-16 flex-1 bg-transparent px-1 outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed";
1212
+ // src/ui/tags-input/tags-input.component.tsx
1213
+ function Yn({ value: e, defaultValue: t = [], onValueChange: n, onReject: a, max: o, validate: s, allowDuplicates: c, addOnBlur: l = !0, removeLabel: u = (e) => `Remove ${e}`, fieldClassName: d, className: f, disabled: p, placeholder: m, onKeyDown: h, onPaste: g, onBlur: _, ...v }) {
1214
+ let [y, b] = I(t), [x, ee] = I(""), [S, C] = I(!1), [w, T] = I(!1), E = F(null), D = e ?? y, O = J(v), te = o !== void 0 && D.length >= o;
1215
+ function ne(t) {
1216
+ e === void 0 && b(t), n?.(t);
1217
+ }
1218
+ function k(e) {
1219
+ if (e.length === 0) return;
1220
+ let { tags: t, rejected: n } = Gn(D, e, {
1221
+ max: o,
1222
+ validate: s,
1223
+ allowDuplicates: c
1224
+ });
1225
+ t.length !== D.length && ne(t), ee(n.join(", ")), C(n.length > 0), n.length > 0 && a?.(n);
1226
+ }
1227
+ function re(e) {
1228
+ ne(D.filter((t, n) => n !== e)), T(!1), E.current?.focus();
1229
+ }
1230
+ function ie(e) {
1231
+ if (h?.(e), !(e.defaultPrevented || e.nativeEvent.isComposing)) {
1232
+ if ([
1233
+ "Enter",
1234
+ ",",
1235
+ ";"
1236
+ ].includes(e.key)) {
1237
+ if (x.trim() === "" && e.key === "Enter") return;
1238
+ e.preventDefault(), k(Wn(x));
1239
+ } else x === "" && e.key === "Backspace" && D.length > 0 ? (e.preventDefault(), w ? re(D.length - 1) : T(!0)) : T(!1);
1240
+ }
1241
+ }
1242
+ function A(e) {
1243
+ g?.(e);
1244
+ let t = e.clipboardData.getData("text");
1245
+ !e.defaultPrevented && Un.test(t) && (e.preventDefault(), k(Wn(`${x}${t}`)));
1246
+ }
1247
+ return /* @__PURE__ */ i("div", {
1248
+ "data-slot": "tags-input",
1249
+ className: z(qn, d),
1250
+ onClick: (e) => {
1251
+ e.target === e.currentTarget && E.current?.focus();
1252
+ },
1253
+ children: [D.map((e, t) => /* @__PURE__ */ r(Kn, {
1254
+ highlighted: w && t === D.length - 1,
1255
+ removeLabel: u(e),
1256
+ onRemove: p ? void 0 : () => {
1257
+ re(t);
1258
+ },
1259
+ children: e
1260
+ }, `${e}-${String(t)}`)), /* @__PURE__ */ r("input", {
1261
+ ref: E,
1262
+ type: "text",
1263
+ "data-slot": "tags-input-input",
1264
+ value: x,
1265
+ disabled: p,
1266
+ placeholder: D.length === 0 ? m : void 0,
1267
+ readOnly: te,
1268
+ className: z(Jn, f),
1269
+ onChange: (e) => {
1270
+ ee(e.target.value), C(!1), T(!1);
1271
+ },
1272
+ onKeyDown: ie,
1273
+ onPaste: A,
1274
+ onBlur: (e) => {
1275
+ _?.(e), T(!1), l && !S && k(Wn(x));
1276
+ },
1277
+ ...v,
1278
+ ...O,
1279
+ "aria-invalid": S || O["aria-invalid"] || void 0
1228
1280
  })]
1229
- })] });
1281
+ });
1282
+ }
1283
+ // src/ui/combobox/option-search.hook.ts
1284
+ function Xn(e, t, { debounceMs: n = 250, minQueryLength: r = 1 } = {}) {
1285
+ let [i, a] = I({
1286
+ options: [],
1287
+ status: "idle"
1288
+ }), o = F(e);
1289
+ return o.current = e, P(() => {
1290
+ let e = t.trim();
1291
+ if (!o.current || e.length < r) {
1292
+ a({
1293
+ options: [],
1294
+ status: "idle"
1295
+ });
1296
+ return;
1297
+ }
1298
+ let i = new AbortController();
1299
+ a((e) => ({
1300
+ ...e,
1301
+ status: "loading"
1302
+ }));
1303
+ async function s() {
1304
+ try {
1305
+ let t = await o.current?.(e, { signal: i.signal }) ?? [];
1306
+ i.signal.aborted || a({
1307
+ options: t,
1308
+ status: "done"
1309
+ });
1310
+ } catch {
1311
+ i.signal.aborted || a({
1312
+ options: [],
1313
+ status: "error"
1314
+ });
1315
+ }
1316
+ }
1317
+ let c = setTimeout(() => {
1318
+ s();
1319
+ }, n);
1320
+ return () => {
1321
+ clearTimeout(c), i.abort();
1322
+ };
1323
+ }, [
1324
+ t,
1325
+ n,
1326
+ r
1327
+ ]), i;
1328
+ }
1329
+ // src/ui/combobox/combobox.component.tsx
1330
+ var Zn = "\0create";
1331
+ function Qn(e) {
1332
+ let { options: t, loadOptions: n, debounceMs: a, minQueryLength: o = +!!n, createOption: s, createLabel: c = (e) => `Use "${e}"`, emptyText: l = "No results", loadingText: u = "Searching…", errorText: d = "The search failed. Try again.", idleText: f = "Type to search", placeholder: p, disabled: m, className: h, contentClassName: g } = e, _ = n !== void 0, v = J({
1333
+ id: e.id,
1334
+ "aria-describedby": e["aria-describedby"],
1335
+ "aria-invalid": e["aria-invalid"]
1336
+ }), [y, b] = I(e.multiple ? null : e.defaultValue ?? null), [x, ee] = I(e.multiple ? e.defaultValue ?? [] : []), S = e.multiple ? null : e.value === void 0 ? y : e.value, C = e.multiple ? e.value ?? x : S ? [S] : [], [w, T] = I(!1), [E, D] = I(S?.label ?? ""), [O, te] = I(!1), ne = F(!1);
1337
+ ne.current = O;
1338
+ let [ie, A] = I(!1), ae = F(null), oe = F(null), se = ht(), ce = e["aria-label"];
1339
+ Te(() => {
1340
+ let e = ae.current;
1341
+ e && (se ? e.setAttribute("aria-labelledby", se) : ce && e.removeAttribute("aria-labelledby"));
1342
+ }, [se, ce]);
1343
+ let j = O ? E : "", M = Xn(n, j, {
1344
+ debounceMs: a,
1345
+ minQueryLength: o
1346
+ }), ue = _ ? M.options : t ?? [], de = s && j.trim() !== "" && ue.every((e) => e.label.toLowerCase() !== j.trim().toLowerCase()) ? s(j.trim()) : null, fe = e.multiple && e.max !== void 0 && C.length >= e.max;
1347
+ function pe(t) {
1348
+ e.multiple || (e.value === void 0 && b(t), e.onValueChange?.(t));
1349
+ }
1350
+ function he(t) {
1351
+ e.multiple && (e.value === void 0 && ee(t), e.onValueChange?.(t));
1352
+ }
1353
+ function ge(t) {
1354
+ if (te(!1), A(!1), !e.multiple) {
1355
+ pe(t), D(t.label), T(!1);
1356
+ return;
1357
+ }
1358
+ let n = C.some((e) => e.value === t.value);
1359
+ (n || !fe) && (he(n ? C.filter((e) => e.value !== t.value) : [...C, t]), D(""));
1360
+ }
1361
+ function _e() {
1362
+ T(!1), te(!1), A(!1), D(e.multiple ? "" : S?.label ?? "");
1363
+ }
1364
+ let ve = (e) => C.some((t) => t.value === e.value);
1365
+ return /* @__PURE__ */ r(R, {
1366
+ "data-slot": "combobox",
1367
+ shouldFilter: !_,
1368
+ filter: (e, t, n) => ne.current ? $n(t, [e, ...n ?? []]) : 1,
1369
+ loop: !0,
1370
+ className: "w-full",
1371
+ children: /* @__PURE__ */ i(Qt, {
1372
+ open: w,
1373
+ onOpenChange: (e) => {
1374
+ e || _e();
1375
+ },
1376
+ children: [/* @__PURE__ */ r(en, {
1377
+ asChild: !0,
1378
+ children: /* @__PURE__ */ i("div", {
1379
+ ref: oe,
1380
+ "data-slot": "combobox-field",
1381
+ className: z(qn, "pe-1", h),
1382
+ onClick: (e) => {
1383
+ e.target === e.currentTarget && ae.current?.focus();
1384
+ },
1385
+ children: [
1386
+ e.multiple ? C.map((e, t) => /* @__PURE__ */ r(Kn, {
1387
+ highlighted: ie && t === C.length - 1,
1388
+ removeLabel: `Remove ${e.label}`,
1389
+ onRemove: m ? void 0 : () => {
1390
+ ge(e);
1391
+ },
1392
+ children: e.label
1393
+ }, e.value)) : !O && S?.icon ? /* @__PURE__ */ r("span", {
1394
+ "aria-hidden": "true",
1395
+ className: "ms-1 flex text-muted-foreground [&_svg]:size-4",
1396
+ children: S.icon
1397
+ }) : null,
1398
+ /* @__PURE__ */ r(R.Input, {
1399
+ ref: ae,
1400
+ "data-slot": "combobox-input",
1401
+ value: E,
1402
+ disabled: m,
1403
+ readOnly: fe,
1404
+ placeholder: C.length === 0 || !e.multiple ? p : void 0,
1405
+ "aria-label": e["aria-label"],
1406
+ className: Jn,
1407
+ onValueChange: (e) => {
1408
+ D(e), te(!0), A(!1), T(!0);
1409
+ },
1410
+ onFocus: () => {
1411
+ _ || T(!0);
1412
+ },
1413
+ onKeyDown: (t) => {
1414
+ if (t.key === "Escape") w && t.preventDefault(), _e();
1415
+ else if (!w && t.key === "ArrowDown") T(!0);
1416
+ else if (E === "" && t.key === "Backspace" && e.multiple && C.length > 0) {
1417
+ t.preventDefault();
1418
+ let e = C.at(-1);
1419
+ ie && e ? ge(e) : A(!0);
1420
+ }
1421
+ },
1422
+ ...v
1423
+ }),
1424
+ S && !m && !e.multiple ? /* @__PURE__ */ r("button", {
1425
+ type: "button",
1426
+ "aria-label": "Clear",
1427
+ className: "grid size-6 shrink-0 cursor-pointer place-items-center rounded-sm text-muted-foreground outline-none hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-3.5",
1428
+ onClick: () => {
1429
+ pe(null), D(""), ae.current?.focus();
1430
+ },
1431
+ children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1432
+ }) : null,
1433
+ _ ? null : /* @__PURE__ */ r(re, {
1434
+ "aria-hidden": "true",
1435
+ className: z("mx-1 size-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none", w && "rotate-180")
1436
+ })
1437
+ ]
1438
+ })
1439
+ }), /* @__PURE__ */ r(tn, {
1440
+ align: "start",
1441
+ sideOffset: 4,
1442
+ className: z("w-(--radix-popover-trigger-width) min-w-56 p-1", g),
1443
+ onOpenAutoFocus: (e) => {
1444
+ e.preventDefault();
1445
+ },
1446
+ onInteractOutside: (e) => {
1447
+ e.target instanceof Node && oe.current?.contains(e.target) && e.preventDefault();
1448
+ },
1449
+ onMouseDown: (e) => {
1450
+ e.preventDefault();
1451
+ },
1452
+ children: /* @__PURE__ */ i(R.List, {
1453
+ "data-slot": "combobox-list",
1454
+ className: "max-h-72 overflow-y-auto",
1455
+ children: [
1456
+ _ && M.status === "idle" ? /* @__PURE__ */ r(er, { children: f }) : null,
1457
+ _ && M.status === "loading" ? /* @__PURE__ */ i(er, { children: [/* @__PURE__ */ r(le, {
1458
+ "aria-hidden": "true",
1459
+ className: "size-4 animate-spin"
1460
+ }), u] }) : null,
1461
+ _ && M.status === "error" ? /* @__PURE__ */ r(er, {
1462
+ tone: "destructive",
1463
+ children: d
1464
+ }) : null,
1465
+ !_ || M.status === "done" ? /* @__PURE__ */ r(R.Empty, {
1466
+ className: "px-2.5 py-5 text-center text-sm text-muted-foreground",
1467
+ children: de ? null : l
1468
+ }) : null,
1469
+ (!_ || M.status === "done") && ue.map((e) => /* @__PURE__ */ i(R.Item, {
1470
+ value: e.value,
1471
+ keywords: [e.label, e.description ?? ""],
1472
+ disabled: e.disabled,
1473
+ onSelect: () => {
1474
+ ge(e);
1475
+ },
1476
+ className: z(X, "data-[selected=true]:bg-accent"),
1477
+ children: [
1478
+ e.icon ? /* @__PURE__ */ r("span", {
1479
+ "aria-hidden": "true",
1480
+ className: "flex shrink-0 text-muted-foreground [&_svg]:size-4",
1481
+ children: e.icon
1482
+ }) : null,
1483
+ /* @__PURE__ */ i("span", {
1484
+ className: "flex min-w-0 flex-1 flex-col",
1485
+ children: [/* @__PURE__ */ r("span", {
1486
+ className: "truncate",
1487
+ children: e.label
1488
+ }), e.description ? /* @__PURE__ */ r("span", {
1489
+ className: "truncate text-xs text-muted-foreground",
1490
+ children: e.description
1491
+ }) : null]
1492
+ }),
1493
+ /* @__PURE__ */ r(k, {
1494
+ "aria-hidden": "true",
1495
+ className: z("size-4 shrink-0 text-brand", ve(e) ? "opacity-100" : "opacity-0")
1496
+ })
1497
+ ]
1498
+ }, e.value)),
1499
+ de ? /* @__PURE__ */ i(R.Item, {
1500
+ forceMount: !0,
1501
+ value: Zn,
1502
+ onSelect: () => {
1503
+ ge(de);
1504
+ },
1505
+ className: z(X, "data-[selected=true]:bg-accent"),
1506
+ children: [/* @__PURE__ */ r(me, {
1507
+ "aria-hidden": "true",
1508
+ className: "size-4 shrink-0 text-brand"
1509
+ }), /* @__PURE__ */ r("span", {
1510
+ className: "truncate",
1511
+ children: c(j.trim())
1512
+ })]
1513
+ }) : null
1514
+ ]
1515
+ })
1516
+ })]
1517
+ })
1518
+ });
1519
+ }
1520
+ function $n(e, t) {
1521
+ let n = e.trim().toLowerCase();
1522
+ if (n === "") return 1;
1523
+ let r = t.map((e) => e.toLowerCase());
1524
+ return r.some((e) => e.startsWith(n)) ? 2 : +!!r.some((e) => e.includes(n));
1230
1525
  }
1231
- function gn({ className: e, ...t }) {
1526
+ function er({ children: e, tone: t }) {
1232
1527
  return /* @__PURE__ */ r("div", {
1233
- "data-slot": "dialog-header",
1234
- className: M("flex flex-col gap-1.5 text-start", e),
1235
- ...t
1528
+ role: "status",
1529
+ className: z("flex items-center justify-center gap-2 px-2.5 py-5 text-sm", t === "destructive" ? "text-destructive" : "text-muted-foreground"),
1530
+ children: e
1531
+ });
1532
+ }
1533
+ // src/ui/feedback/alert.component.tsx
1534
+ var tr = {
1535
+ info: {
1536
+ box: "border-border bg-card",
1537
+ icon: "text-info",
1538
+ Icon: j
1539
+ },
1540
+ success: {
1541
+ box: "border-border bg-card",
1542
+ icon: "text-success",
1543
+ Icon: se
1544
+ },
1545
+ warning: {
1546
+ box: "border-[color-mix(in_oklab,var(--warning)_35%,var(--border))] bg-warning-soft",
1547
+ icon: "text-warning",
1548
+ Icon: _e
1549
+ },
1550
+ danger: {
1551
+ box: "border-[color-mix(in_oklab,var(--destructive)_40%,var(--border))] bg-destructive-soft",
1552
+ icon: "text-destructive",
1553
+ Icon: _e
1554
+ }
1555
+ };
1556
+ function nr({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
1557
+ let { box: c, icon: l, Icon: u } = tr[e];
1558
+ return /* @__PURE__ */ i("div", {
1559
+ "data-slot": "alert",
1560
+ role: e === "danger" || e === "warning" ? "alert" : "status",
1561
+ className: z("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
1562
+ ...s,
1563
+ children: [/* @__PURE__ */ r("span", {
1564
+ "aria-hidden": "true",
1565
+ className: z("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
1566
+ children: n ?? /* @__PURE__ */ r(u, {})
1567
+ }), /* @__PURE__ */ i("div", {
1568
+ className: "flex flex-col gap-0.5",
1569
+ children: [/* @__PURE__ */ r("p", {
1570
+ className: "m-0 type-h4",
1571
+ children: t
1572
+ }), a && /* @__PURE__ */ r("div", {
1573
+ className: "text-[13px] text-muted-foreground",
1574
+ children: a
1575
+ })]
1576
+ })]
1577
+ });
1578
+ }
1579
+ // src/ui/feedback/empty-state.component.tsx
1580
+ function rr({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
1581
+ return /* @__PURE__ */ i("div", {
1582
+ "data-slot": "empty-state",
1583
+ className: z("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
1584
+ ...s,
1585
+ children: [
1586
+ /* @__PURE__ */ r("span", {
1587
+ "aria-hidden": "true",
1588
+ className: "grid size-10 place-items-center rounded-[10px] bg-brand-soft text-brand-text [&_svg]:size-5",
1589
+ children: n ?? /* @__PURE__ */ r(me, {})
1590
+ }),
1591
+ /* @__PURE__ */ r("p", {
1592
+ className: "m-0 type-h4",
1593
+ children: e
1594
+ }),
1595
+ t && /* @__PURE__ */ r("p", {
1596
+ className: "m-0 max-w-sm text-[13px] text-muted-foreground",
1597
+ children: t
1598
+ }),
1599
+ a && /* @__PURE__ */ r("div", {
1600
+ className: "mt-1",
1601
+ children: a
1602
+ })
1603
+ ]
1604
+ });
1605
+ }
1606
+ // src/ui/feedback/progress.component.tsx
1607
+ function ir({ className: e, value: t, max: n = 100, ...i }) {
1608
+ let a = t == null ? 0 : Math.min(100, Math.max(0, t / n * 100));
1609
+ return /* @__PURE__ */ r(v.Root, {
1610
+ "data-slot": "progress",
1611
+ value: t,
1612
+ max: n,
1613
+ className: z("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
1614
+ ...i,
1615
+ children: /* @__PURE__ */ r(v.Indicator, {
1616
+ className: "h-full rounded-full bg-brand transition-[width]",
1617
+ style: { width: `${a}%` }
1618
+ })
1236
1619
  });
1237
1620
  }
1238
- function _n({ className: e, ...t }) {
1621
+ // src/ui/feedback/skeleton.component.tsx
1622
+ function ar({ className: e, ...t }) {
1239
1623
  return /* @__PURE__ */ r("div", {
1240
- "data-slot": "dialog-footer",
1241
- className: M("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
1624
+ "data-slot": "skeleton",
1625
+ "aria-hidden": "true",
1626
+ className: z("animate-pulse rounded-sm bg-muted", e),
1242
1627
  ...t
1243
1628
  });
1244
1629
  }
1245
- function vn({ className: e, ...t }) {
1246
- return /* @__PURE__ */ r(d.Title, {
1247
- "data-slot": "dialog-title",
1248
- className: M("m-0 font-display text-lg font-bold leading-tight", e),
1249
- ...t
1630
+ // src/ui/feedback/spinner.component.tsx
1631
+ function or({ className: e, label: t = "Loading", ...n }) {
1632
+ return /* @__PURE__ */ r(le, {
1633
+ "data-slot": "spinner",
1634
+ role: "status",
1635
+ "aria-label": t,
1636
+ className: z("size-4 animate-spin text-muted-foreground", e),
1637
+ ...n
1250
1638
  });
1251
1639
  }
1252
- function yn({ className: e, ...t }) {
1253
- return /* @__PURE__ */ r(d.Description, {
1254
- "data-slot": "dialog-description",
1255
- className: M("m-0 text-sm text-muted-foreground", e),
1256
- ...t
1640
+ // src/ui/feedback/toaster.component.tsx
1641
+ function sr(e) {
1642
+ return /* @__PURE__ */ r(De, {
1643
+ className: "toaster group",
1644
+ toastOptions: { classNames: {
1645
+ 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",
1646
+ title: "text-[15px] font-semibold",
1647
+ description: "text-[13px] text-muted-foreground",
1648
+ success: "[&_[data-icon]]:text-success",
1649
+ error: "[&_[data-icon]]:text-destructive",
1650
+ info: "[&_[data-icon]]:text-info",
1651
+ warning: "[&_[data-icon]]:text-warning"
1652
+ } },
1653
+ ...e
1257
1654
  });
1258
1655
  }
1259
- // src/ui/overlay/drawer.component.tsx
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
- "data-slot": "drawer-content",
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
- ...n,
1266
- children: [/* @__PURE__ */ r("div", {
1267
- "aria-hidden": "true",
1268
- className: "mx-auto h-[5px] w-10 shrink-0 rounded-full bg-input"
1269
- }), t]
1270
- })] });
1656
+ // src/ui/file-drop/file-accept.policy.ts
1657
+ function cr(e, t = "") {
1658
+ let n = t.split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
1659
+ if (n.length === 0) return !0;
1660
+ let r = e.name?.toLowerCase(), i = e.type.toLowerCase();
1661
+ return n.some((e) => e.startsWith(".") ? !!r?.endsWith(e) : e.endsWith("/*") ? i.startsWith(e.slice(0, -1)) : i === e);
1271
1662
  }
1272
- function wn({ className: e, ...t }) {
1273
- return /* @__PURE__ */ r(A.Title, {
1274
- "data-slot": "drawer-title",
1275
- className: M("m-0 text-xl font-semibold leading-tight", e),
1663
+ function lr(e, t = "") {
1664
+ return !t.split(",").some((e) => e.trim() !== "" && !e.trimStart().startsWith(".")) || e.length === 0 || e.some((e) => e === "" || cr({ type: e }, t));
1665
+ }
1666
+ // src/ui/file-drop/file-drop-overlay.component.tsx
1667
+ function ur({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle: s = "These files cannot be uploaded here", icon: c, className: l }) {
1668
+ return /* @__PURE__ */ r(Zt, { children: /* @__PURE__ */ r("div", {
1669
+ "data-slot": "file-drop-overlay",
1670
+ "data-state": e ? t ? "accepted" : "rejected" : "closed",
1671
+ className: z("group/drop pointer-events-none fixed inset-0 z-1000 grid place-items-center p-4 backdrop-blur-md transition-[opacity,visibility] duration-200 motion-reduce:transition-none", "data-[state=closed]:invisible data-[state=closed]:opacity-0 data-[state=accepted]:bg-brand/15 data-[state=rejected]:bg-destructive/10", l),
1672
+ children: /* @__PURE__ */ r("div", {
1673
+ className: "grid size-full place-items-center rounded-2xl border-2 border-dashed border-brand/60 transition-colors group-data-[state=rejected]/drop:border-destructive/60",
1674
+ children: /* @__PURE__ */ r("div", {
1675
+ role: "status",
1676
+ "aria-live": "polite",
1677
+ className: "flex scale-90 flex-col items-center gap-4 text-center transition-transform duration-300 ease-overshoot group-data-[state=accepted]/drop:scale-100 group-data-[state=rejected]/drop:scale-100 motion-reduce:scale-100 motion-reduce:transition-none",
1678
+ children: e ? /* @__PURE__ */ i(n, { children: [
1679
+ /* @__PURE__ */ i("span", {
1680
+ className: "relative grid size-20 place-items-center rounded-full bg-brand-soft text-brand group-data-[state=rejected]/drop:bg-destructive-soft group-data-[state=rejected]/drop:text-destructive [&_svg]:size-9",
1681
+ children: [/* @__PURE__ */ r("span", {
1682
+ "aria-hidden": "true",
1683
+ className: "absolute inset-0 rounded-full bg-current opacity-20 motion-safe:animate-ping"
1684
+ }), t ? c ?? /* @__PURE__ */ r(ve, { "aria-hidden": "true" }) : /* @__PURE__ */ r(te, { "aria-hidden": "true" })]
1685
+ }),
1686
+ /* @__PURE__ */ r("span", {
1687
+ className: "text-2xl font-semibold text-foreground",
1688
+ children: t ? a : s
1689
+ }),
1690
+ o ? /* @__PURE__ */ r("span", {
1691
+ className: "max-w-md text-sm text-muted-foreground",
1692
+ children: o
1693
+ }) : null
1694
+ ] }) : null
1695
+ })
1696
+ })
1697
+ }) });
1698
+ }
1699
+ // src/ui/file-drop/page-drop.hook.ts
1700
+ function dr(e) {
1701
+ let [t, n] = I({
1702
+ isOver: !1,
1703
+ isAccepted: !0
1704
+ }), r = F(e);
1705
+ return r.current = e, P(() => {
1706
+ let e = 0, t = (e) => !r.current.disabled && !!e.dataTransfer?.types.includes("Files"), i = () => {
1707
+ e = 0, n({
1708
+ isOver: !1,
1709
+ isAccepted: !0
1710
+ });
1711
+ }, a = (i) => {
1712
+ if (!t(i)) return;
1713
+ e += 1;
1714
+ let a = [...i.dataTransfer?.items ?? []].filter((e) => e.kind === "file").map((e) => e.type);
1715
+ n({
1716
+ isOver: !0,
1717
+ isAccepted: lr(a, r.current.accept)
1718
+ });
1719
+ }, o = (e) => {
1720
+ t(e) && e.preventDefault();
1721
+ }, s = (n) => {
1722
+ t(n) && (e = Math.max(0, e - 1), e === 0 && i());
1723
+ }, c = (e) => {
1724
+ if (!t(e)) return;
1725
+ e.preventDefault(), i();
1726
+ let n = [...e.dataTransfer?.files ?? []];
1727
+ if (n.length === 0) return;
1728
+ let a = r.current.accept;
1729
+ r.current.onDrop(n.filter((e) => cr(e, a)), n.filter((e) => !cr(e, a)));
1730
+ }, l = (e) => {
1731
+ t(e) && i();
1732
+ };
1733
+ return globalThis.addEventListener("dragenter", a), globalThis.addEventListener("dragover", o), globalThis.addEventListener("dragleave", s), globalThis.addEventListener("drop", l, { capture: !0 }), globalThis.addEventListener("drop", c), () => {
1734
+ globalThis.removeEventListener("dragenter", a), globalThis.removeEventListener("dragover", o), globalThis.removeEventListener("dragleave", s), globalThis.removeEventListener("drop", l, { capture: !0 }), globalThis.removeEventListener("drop", c);
1735
+ };
1736
+ }, []), t;
1737
+ }
1738
+ // src/ui/layout/accordion.component.tsx
1739
+ function fr({ className: e, ...t }) {
1740
+ return /* @__PURE__ */ r(a.Root, {
1741
+ "data-slot": "accordion",
1742
+ className: z("border-t", e),
1276
1743
  ...t
1277
1744
  });
1278
1745
  }
1279
- function Tn({ className: e, ...t }) {
1280
- return /* @__PURE__ */ r(A.Description, {
1281
- "data-slot": "drawer-description",
1282
- className: M("m-0 text-sm text-muted-foreground", e),
1746
+ function pr({ className: e, ...t }) {
1747
+ return /* @__PURE__ */ r(a.Item, {
1748
+ "data-slot": "accordion-item",
1749
+ className: z("border-b", e),
1283
1750
  ...t
1284
1751
  });
1285
1752
  }
1286
- // src/ui/overlay/popover.component.tsx
1287
- var En = g.Root, Dn = g.Trigger, On = g.Anchor;
1288
- function kn({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
1289
- return /* @__PURE__ */ r(g.Portal, { children: /* @__PURE__ */ r(g.Content, {
1290
- "data-slot": "popover-content",
1291
- align: t,
1292
- sideOffset: n,
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
- ...i
1295
- }) });
1296
- }
1297
- // src/ui/overlay/sheet.component.tsx
1298
- var An = d.Root, jn = d.Trigger, Mn = d.Close, Nn = d.Title, Pn = d.Description, Fn = {
1299
- start: "inset-y-0 start-0 h-full w-3/4 max-w-sm border-e",
1300
- end: "inset-y-0 end-0 h-full w-3/4 max-w-sm border-s",
1301
- top: "inset-x-0 top-0 border-b",
1302
- bottom: "inset-x-0 bottom-0 border-t"
1303
- };
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
- "data-slot": "sheet-content",
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
- ...a,
1309
- children: [t, /* @__PURE__ */ i(d.Close, {
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",
1311
- children: [/* @__PURE__ */ r(D, {
1312
- className: "size-4",
1313
- "aria-hidden": "true"
1314
- }), /* @__PURE__ */ r("span", {
1315
- className: "sr-only",
1316
- children: "Close"
1753
+ function mr({ className: e, children: t, ...n }) {
1754
+ return /* @__PURE__ */ r(a.Header, {
1755
+ className: "m-0 flex",
1756
+ children: /* @__PURE__ */ i(a.Trigger, {
1757
+ "data-slot": "accordion-trigger",
1758
+ className: z("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),
1759
+ ...n,
1760
+ children: [t, /* @__PURE__ */ i("svg", {
1761
+ viewBox: "0 0 16 16",
1762
+ "aria-hidden": "true",
1763
+ className: "size-4 shrink-0 text-muted-foreground transition-transform duration-300 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
1764
+ children: [/* @__PURE__ */ r("rect", {
1765
+ x: "3",
1766
+ y: "7.25",
1767
+ width: "10",
1768
+ height: "1.5",
1769
+ rx: "0.75",
1770
+ fill: "currentColor"
1771
+ }), /* @__PURE__ */ r("rect", {
1772
+ x: "7.25",
1773
+ y: "3",
1774
+ width: "1.5",
1775
+ height: "10",
1776
+ rx: "0.75",
1777
+ fill: "currentColor",
1778
+ className: "origin-center transition-[scale] duration-300 ease-emphasised [transform-box:fill-box] group-data-[state=open]:scale-y-0 motion-reduce:transition-none"
1779
+ })]
1317
1780
  })]
1318
- })]
1319
- })] });
1781
+ })
1782
+ });
1320
1783
  }
1321
- // src/ui/overlay/tooltip.component.tsx
1322
- var Ln = w.Provider;
1323
- function J(e) {
1324
- return /* @__PURE__ */ r(w.Provider, {
1325
- delayDuration: 300,
1326
- children: /* @__PURE__ */ r(w.Root, {
1327
- "data-slot": "tooltip",
1328
- ...e
1784
+ function hr({ className: e, children: t, ...n }) {
1785
+ return /* @__PURE__ */ r(a.Content, {
1786
+ "data-slot": "accordion-content",
1787
+ className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down motion-reduce:animate-none",
1788
+ ...n,
1789
+ children: /* @__PURE__ */ r("div", {
1790
+ className: z("pb-3", e),
1791
+ children: t
1329
1792
  })
1330
1793
  });
1331
1794
  }
1332
- var Rn = w.Trigger;
1333
- function zn({ className: e, sideOffset: t = 6, ...n }) {
1334
- return /* @__PURE__ */ r(w.Portal, { children: /* @__PURE__ */ r(w.Content, {
1335
- "data-slot": "tooltip-content",
1336
- sideOffset: t,
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
- ...n
1339
- }) });
1795
+ // src/ui/layout/card.component.tsx
1796
+ function gr({ className: e, ...t }) {
1797
+ return /* @__PURE__ */ r("div", {
1798
+ "data-slot": "card",
1799
+ className: z("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
1800
+ ...t
1801
+ });
1340
1802
  }
1341
- // src/ui/menu/menu.recipe.ts
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
- // src/ui/menu/command.component.tsx
1344
- function Wn({ className: e, ...t }) {
1345
- return /* @__PURE__ */ r(j, {
1346
- "data-slot": "command",
1347
- className: M("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1803
+ function _r({ className: e, ...t }) {
1804
+ return /* @__PURE__ */ r("div", {
1805
+ "data-slot": "card-header",
1806
+ className: z("flex flex-col gap-1 px-5 pt-5", e),
1348
1807
  ...t
1349
1808
  });
1350
1809
  }
1351
- function Gn({ title: e = "Search", children: t, ...n }) {
1352
- return /* @__PURE__ */ r(d.Root, {
1810
+ function vr({ className: e, children: t, ...n }) {
1811
+ return /* @__PURE__ */ r("h3", {
1812
+ "data-slot": "card-title",
1813
+ className: z("m-0 type-h4", e),
1353
1814
  ...n,
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
- children: [
1357
- /* @__PURE__ */ r(d.Title, {
1358
- className: "sr-only",
1359
- children: e
1360
- }),
1361
- /* @__PURE__ */ r(d.Description, {
1362
- className: "sr-only",
1363
- children: "Type to filter the commands."
1364
- }),
1365
- /* @__PURE__ */ r(Wn, { children: t })
1366
- ]
1367
- })] })
1815
+ children: t
1368
1816
  });
1369
1817
  }
1370
- function Kn({ className: e, ...t }) {
1371
- return /* @__PURE__ */ i("div", {
1372
- "data-slot": "command-input-wrapper",
1373
- className: "flex h-11 items-center gap-2 border-b px-3",
1374
- children: [/* @__PURE__ */ r(E, {
1375
- className: "size-4 shrink-0 text-muted-foreground",
1376
- "aria-hidden": "true"
1377
- }), /* @__PURE__ */ r(j.Input, {
1378
- "data-slot": "command-input",
1379
- className: M("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1380
- ...t
1381
- })]
1818
+ function yr({ className: e, ...t }) {
1819
+ return /* @__PURE__ */ r("p", {
1820
+ "data-slot": "card-description",
1821
+ className: z("m-0 text-[13px] text-muted-foreground", e),
1822
+ ...t
1382
1823
  });
1383
1824
  }
1384
- function qn({ className: e, ...t }) {
1385
- return /* @__PURE__ */ r(j.List, {
1386
- "data-slot": "command-list",
1387
- className: M("max-h-80 overflow-y-auto p-1", e),
1825
+ function br({ className: e, ...t }) {
1826
+ return /* @__PURE__ */ r("div", {
1827
+ "data-slot": "card-content",
1828
+ className: z("px-5 py-4", e),
1388
1829
  ...t
1389
1830
  });
1390
1831
  }
1391
- function Jn({ className: e, ...t }) {
1392
- return /* @__PURE__ */ r(j.Empty, {
1393
- "data-slot": "command-empty",
1394
- className: M("py-6 text-center text-sm text-muted-foreground", e),
1832
+ function xr({ className: e, ...t }) {
1833
+ return /* @__PURE__ */ r("div", {
1834
+ "data-slot": "card-footer",
1835
+ className: z("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
1395
1836
  ...t
1396
1837
  });
1397
1838
  }
1398
- function Yn({ className: e, ...t }) {
1399
- return /* @__PURE__ */ r(j.Group, {
1400
- "data-slot": "command-group",
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),
1839
+ // src/ui/layout/kbd.component.tsx
1840
+ function Sr({ className: e, ...t }) {
1841
+ return /* @__PURE__ */ r("kbd", {
1842
+ "data-slot": "kbd",
1843
+ className: z("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),
1402
1844
  ...t
1403
1845
  });
1404
1846
  }
1405
- function Xn({ className: e, ...t }) {
1406
- return /* @__PURE__ */ r(j.Item, {
1407
- "data-slot": "command-item",
1408
- className: M(Y, "data-[selected=true]:bg-accent", e),
1847
+ // src/ui/layout/resizable.component.tsx
1848
+ function Cr({ className: e, ...t }) {
1849
+ return /* @__PURE__ */ r(Oe, {
1850
+ "data-slot": "resizable-panel-group",
1851
+ className: z("flex size-full", e),
1409
1852
  ...t
1410
1853
  });
1411
1854
  }
1412
- function Zn({ className: e, ...t }) {
1413
- return /* @__PURE__ */ r(j.Separator, {
1414
- "data-slot": "command-separator",
1415
- className: M(Hn, e),
1416
- ...t
1855
+ function wr(e) {
1856
+ return /* @__PURE__ */ r(ke, {
1857
+ "data-slot": "resizable-panel",
1858
+ ...e
1417
1859
  });
1418
1860
  }
1419
- function Qn({ className: e, ...t }) {
1420
- return /* @__PURE__ */ r("span", {
1421
- "data-slot": "command-shortcut",
1422
- className: M(Vn, e),
1861
+ function Tr({ className: e, ...t }) {
1862
+ return /* @__PURE__ */ r(Ae, {
1863
+ "data-slot": "resizable-handle",
1864
+ className: z("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),
1423
1865
  ...t
1424
1866
  });
1425
1867
  }
1426
- // src/ui/menu/context-menu.component.tsx
1427
- var $n = u.Root, er = u.Trigger;
1428
- function tr({ className: e, ...t }) {
1429
- return /* @__PURE__ */ r(u.Portal, { children: /* @__PURE__ */ r(u.Content, {
1430
- "data-slot": "context-menu-content",
1431
- className: M(Bn, "origin-(--radix-context-menu-content-transform-origin)", e),
1432
- ...t
1433
- }) });
1868
+ // src/ui/layout/scroll-area.component.tsx
1869
+ function Er({ className: e, children: t, ...n }) {
1870
+ return /* @__PURE__ */ i(b.Root, {
1871
+ "data-slot": "scroll-area",
1872
+ className: z("relative overflow-hidden", e),
1873
+ ...n,
1874
+ children: [
1875
+ /* @__PURE__ */ r(b.Viewport, {
1876
+ className: "size-full rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-ring",
1877
+ children: t
1878
+ }),
1879
+ /* @__PURE__ */ r(Dr, {}),
1880
+ /* @__PURE__ */ r(Dr, { orientation: "horizontal" }),
1881
+ /* @__PURE__ */ r(b.Corner, {})
1882
+ ]
1883
+ });
1434
1884
  }
1435
- function nr({ className: e, variant: t = "default", ...n }) {
1436
- return /* @__PURE__ */ r(u.Item, {
1437
- "data-slot": "context-menu-item",
1438
- "data-variant": t,
1439
- className: M(Y, e),
1440
- ...n
1885
+ function Dr({ className: e, orientation: t = "vertical", ...n }) {
1886
+ return /* @__PURE__ */ r(b.Scrollbar, {
1887
+ "data-slot": "scroll-area-scrollbar",
1888
+ orientation: t,
1889
+ className: z("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1890
+ ...n,
1891
+ children: /* @__PURE__ */ r(b.Thumb, { className: "relative flex-1 rounded-full bg-input" })
1441
1892
  });
1442
1893
  }
1443
- function rr({ className: e, ...t }) {
1444
- return /* @__PURE__ */ r(u.Separator, {
1445
- "data-slot": "context-menu-separator",
1446
- className: M(Hn, e),
1447
- ...t
1894
+ // src/ui/layout/separator.component.tsx
1895
+ function Or({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
1896
+ return /* @__PURE__ */ r(ee.Root, {
1897
+ "data-slot": "separator",
1898
+ orientation: t,
1899
+ decorative: n,
1900
+ className: z("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
1901
+ ...i
1448
1902
  });
1449
1903
  }
1450
- function ir({ className: e, ...t }) {
1451
- return /* @__PURE__ */ r("span", {
1452
- "data-slot": "context-menu-shortcut",
1453
- className: M(Vn, e),
1454
- ...t
1904
+ // src/ui/layout/table.component.tsx
1905
+ function kr({ className: e, ...t }) {
1906
+ return /* @__PURE__ */ r("div", {
1907
+ "data-slot": "table-container",
1908
+ className: "relative w-full overflow-x-auto",
1909
+ children: /* @__PURE__ */ r("table", {
1910
+ "data-slot": "table",
1911
+ className: z("w-full caption-bottom border-collapse text-[13px]", e),
1912
+ ...t
1913
+ })
1455
1914
  });
1456
1915
  }
1457
- // src/ui/menu/dropdown-menu.component.tsx
1458
- var ar = f.Root, or = f.Trigger, sr = f.Group, cr = f.RadioGroup;
1459
- function lr({ className: e, sideOffset: t = 6, ...n }) {
1460
- return /* @__PURE__ */ r(f.Portal, { children: /* @__PURE__ */ r(f.Content, {
1461
- "data-slot": "dropdown-menu-content",
1462
- sideOffset: t,
1463
- className: M(Bn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1464
- ...n
1465
- }) });
1916
+ function Ar(e) {
1917
+ return /* @__PURE__ */ r("thead", {
1918
+ "data-slot": "table-header",
1919
+ ...e
1920
+ });
1466
1921
  }
1467
- function ur({ className: e, variant: t = "default", ...n }) {
1468
- return /* @__PURE__ */ r(f.Item, {
1469
- "data-slot": "dropdown-menu-item",
1470
- "data-variant": t,
1471
- className: M(Y, e),
1472
- ...n
1922
+ function jr(e) {
1923
+ return /* @__PURE__ */ r("tbody", {
1924
+ "data-slot": "table-body",
1925
+ ...e
1473
1926
  });
1474
1927
  }
1475
- function dr({ className: e, children: t, ...n }) {
1476
- return /* @__PURE__ */ i(f.RadioItem, {
1477
- "data-slot": "dropdown-menu-radio-item",
1478
- className: M(Y, "ps-7", e),
1479
- ...n,
1480
- children: [/* @__PURE__ */ r("span", {
1481
- className: "absolute start-2.5 flex size-2 items-center justify-center",
1482
- children: /* @__PURE__ */ r(f.ItemIndicator, { children: /* @__PURE__ */ r("span", { className: "block size-2 rounded-full bg-brand" }) })
1483
- }), t]
1928
+ function Mr({ className: e, ...t }) {
1929
+ return /* @__PURE__ */ r("tr", {
1930
+ "data-slot": "table-row",
1931
+ className: z("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1932
+ ...t
1484
1933
  });
1485
1934
  }
1486
- function fr({ className: e, ...t }) {
1487
- return /* @__PURE__ */ r(f.Label, {
1488
- "data-slot": "dropdown-menu-label",
1489
- className: M(Un, e),
1935
+ function Nr({ className: e, ...t }) {
1936
+ return /* @__PURE__ */ r("th", {
1937
+ "data-slot": "table-head",
1938
+ className: z("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1490
1939
  ...t
1491
1940
  });
1492
1941
  }
1493
- function pr({ className: e, ...t }) {
1494
- return /* @__PURE__ */ r(f.Separator, {
1495
- "data-slot": "dropdown-menu-separator",
1496
- className: M(Hn, e),
1942
+ function Pr({ className: e, ...t }) {
1943
+ return /* @__PURE__ */ r("td", {
1944
+ "data-slot": "table-cell",
1945
+ className: z("px-3 py-[11px] align-middle", e),
1497
1946
  ...t
1498
1947
  });
1499
1948
  }
1500
- function mr({ className: e, ...t }) {
1501
- return /* @__PURE__ */ r("span", {
1502
- "data-slot": "dropdown-menu-shortcut",
1503
- className: M(Vn, e),
1949
+ function Fr({ className: e, ...t }) {
1950
+ return /* @__PURE__ */ r("caption", {
1951
+ "data-slot": "table-caption",
1952
+ className: z("mt-3 text-xs text-muted-foreground", e),
1504
1953
  ...t
1505
1954
  });
1506
1955
  }
1507
1956
  // src/ui/navigation/breadcrumb.component.tsx
1508
- function hr({ "aria-label": e = "Breadcrumb", ...t }) {
1957
+ function Ir({ "aria-label": e = "Breadcrumb", ...t }) {
1509
1958
  return /* @__PURE__ */ r("nav", {
1510
1959
  "data-slot": "breadcrumb",
1511
1960
  "aria-label": e,
1512
1961
  ...t
1513
1962
  });
1514
1963
  }
1515
- function gr({ className: e, ...t }) {
1964
+ function Lr({ className: e, ...t }) {
1516
1965
  return /* @__PURE__ */ r("ol", {
1517
1966
  "data-slot": "breadcrumb-list",
1518
- className: M("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1967
+ className: z("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1519
1968
  ...t
1520
1969
  });
1521
1970
  }
1522
- function _r({ className: e, ...t }) {
1971
+ function Rr({ className: e, ...t }) {
1523
1972
  return /* @__PURE__ */ r("li", {
1524
1973
  "data-slot": "breadcrumb-item",
1525
- className: M("inline-flex items-center gap-2", e),
1974
+ className: z("inline-flex items-center gap-2", e),
1526
1975
  ...t
1527
1976
  });
1528
1977
  }
1529
- function vr({ asChild: e = !1, className: t, ...n }) {
1530
- let i = e ? S.Root : "a";
1978
+ function zr({ asChild: e = !1, className: t, ...n }) {
1979
+ let i = e ? C.Root : "a";
1531
1980
  return /* @__PURE__ */ r(i, {
1532
1981
  "data-slot": "breadcrumb-link",
1533
- className: M("text-inherit no-underline transition-colors hover:text-foreground", t),
1982
+ className: z("text-inherit no-underline transition-colors hover:text-foreground", t),
1534
1983
  ...n
1535
1984
  });
1536
1985
  }
1537
- function yr({ className: e, ...t }) {
1986
+ function Br({ className: e, ...t }) {
1538
1987
  return /* @__PURE__ */ r("span", {
1539
1988
  "data-slot": "breadcrumb-page",
1540
1989
  "aria-current": "page",
1541
- className: M("font-medium text-foreground", e),
1990
+ className: z("font-medium text-foreground", e),
1542
1991
  ...t
1543
1992
  });
1544
1993
  }
1545
- function br({ children: e = "/", ...t }) {
1994
+ function Vr({ children: e = "/", ...t }) {
1546
1995
  return /* @__PURE__ */ r("li", {
1547
1996
  "data-slot": "breadcrumb-separator",
1548
1997
  role: "presentation",
@@ -1552,15 +2001,15 @@ function br({ children: e = "/", ...t }) {
1552
2001
  });
1553
2002
  }
1554
2003
  // src/ui/navigation/menu-icon.component.tsx
1555
- var xr = "origin-center [transform-box:fill-box] motion-reduce:[animation-duration:1ms]";
1556
- function Sr({ open: e, className: t, ...n }) {
2004
+ var Hr = "origin-center [transform-box:fill-box] motion-reduce:[animation-duration:1ms]";
2005
+ function Ur({ open: e, className: t, ...n }) {
1557
2006
  return /* @__PURE__ */ i("svg", {
1558
2007
  "data-slot": "menu-icon",
1559
2008
  "data-state": e === void 0 ? void 0 : e ? "open" : "closed",
1560
2009
  viewBox: "0 0 24 24",
1561
2010
  fill: "currentColor",
1562
2011
  "aria-hidden": "true",
1563
- className: M("group/menu-icon size-5", t),
2012
+ className: z("group/menu-icon size-5", t),
1564
2013
  ...n,
1565
2014
  children: [
1566
2015
  /* @__PURE__ */ r("rect", {
@@ -1569,7 +2018,7 @@ function Sr({ open: e, className: t, ...n }) {
1569
2018
  width: "16",
1570
2019
  height: "2",
1571
2020
  rx: "1",
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")
2021
+ className: z(Hr, "group-data-[state=open]/menu-icon:animate-menu-line-top-open group-data-[state=closed]/menu-icon:animate-menu-line-top-close")
1573
2022
  }),
1574
2023
  /* @__PURE__ */ r("rect", {
1575
2024
  x: "4",
@@ -1577,7 +2026,7 @@ function Sr({ open: e, className: t, ...n }) {
1577
2026
  width: "16",
1578
2027
  height: "2",
1579
2028
  rx: "1",
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")
2029
+ className: z(Hr, "group-data-[state=open]/menu-icon:animate-menu-line-middle-open group-data-[state=closed]/menu-icon:animate-menu-line-middle-close")
1581
2030
  }),
1582
2031
  /* @__PURE__ */ r("rect", {
1583
2032
  x: "4",
@@ -1585,113 +2034,113 @@ function Sr({ open: e, className: t, ...n }) {
1585
2034
  width: "16",
1586
2035
  height: "2",
1587
2036
  rx: "1",
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")
2037
+ className: z(Hr, "group-data-[state=open]/menu-icon:animate-menu-line-bottom-open group-data-[state=closed]/menu-icon:animate-menu-line-bottom-close")
1589
2038
  })
1590
2039
  ]
1591
2040
  });
1592
2041
  }
1593
2042
  // src/ui/navigation/menubar.component.tsx
1594
- function Cr({ className: e, ...t }) {
2043
+ function Wr({ className: e, ...t }) {
1595
2044
  return /* @__PURE__ */ r(m.Root, {
1596
2045
  "data-slot": "menubar",
1597
- className: M("flex items-center gap-0.5", e),
2046
+ className: z("flex items-center gap-0.5", e),
1598
2047
  ...t
1599
2048
  });
1600
2049
  }
1601
- var wr = m.Menu;
1602
- function Tr({ className: e, ...t }) {
2050
+ var Gr = m.Menu;
2051
+ function Kr({ className: e, ...t }) {
1603
2052
  return /* @__PURE__ */ r(m.Trigger, {
1604
2053
  "data-slot": "menubar-trigger",
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),
2054
+ className: z("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
2055
  ...t
1607
2056
  });
1608
2057
  }
1609
- function Er({ className: e, align: t = "start", sideOffset: n = 6, ...i }) {
2058
+ function qr({ className: e, align: t = "start", sideOffset: n = 6, ...i }) {
1610
2059
  return /* @__PURE__ */ r(m.Portal, { children: /* @__PURE__ */ r(m.Content, {
1611
2060
  "data-slot": "menubar-content",
1612
2061
  align: t,
1613
2062
  sideOffset: n,
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),
2063
+ className: z("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
2064
  ...i
1616
2065
  }) });
1617
2066
  }
1618
- function Dr({ className: e, ...t }) {
2067
+ function Jr({ className: e, ...t }) {
1619
2068
  return /* @__PURE__ */ r(m.Item, {
1620
2069
  "data-slot": "menubar-item",
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),
2070
+ className: z("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
2071
  ...t
1623
2072
  });
1624
2073
  }
1625
- function Or({ className: e, ...t }) {
2074
+ function Yr({ className: e, ...t }) {
1626
2075
  return /* @__PURE__ */ r("span", {
1627
2076
  "data-slot": "menubar-shortcut",
1628
- className: M("ms-auto text-xs text-muted-foreground", e),
2077
+ className: z("ms-auto text-xs text-muted-foreground", e),
1629
2078
  ...t
1630
2079
  });
1631
2080
  }
1632
- function kr({ className: e, ...t }) {
2081
+ function Xr({ className: e, ...t }) {
1633
2082
  return /* @__PURE__ */ r(m.Separator, {
1634
2083
  "data-slot": "menubar-separator",
1635
- className: M("-mx-1 my-1 h-px bg-border", e),
2084
+ className: z("-mx-1 my-1 h-px bg-border", e),
1636
2085
  ...t
1637
2086
  });
1638
2087
  }
1639
2088
  // src/ui/navigation/navigation-menu.component.tsx
1640
- function Ar({ className: e, children: t, ...n }) {
2089
+ function Zr({ className: e, children: t, ...n }) {
1641
2090
  return /* @__PURE__ */ i(h.Root, {
1642
2091
  "data-slot": "navigation-menu",
1643
- className: M("relative flex items-center", e),
2092
+ className: z("relative flex items-center", e),
1644
2093
  ...n,
1645
2094
  children: [t, /* @__PURE__ */ r("div", {
1646
2095
  className: "absolute start-0 top-full flex justify-center",
1647
- children: /* @__PURE__ */ r(h.Viewport, { className: "relative mt-2 h-(--radix-navigation-menu-viewport-height) w-full origin-top overflow-hidden rounded-xl border bg-popover text-popover-foreground transition-[width,height] duration-200 motion-reduce:transition-none shadow-lg md:w-(--radix-navigation-menu-viewport-width)" })
2096
+ children: /* @__PURE__ */ r(h.Viewport, { className: "relative mt-2 h-(--radix-navigation-menu-viewport-height) w-full origin-top overflow-hidden rounded-xl border bg-popover text-popover-foreground transition-[width,height] duration-200 motion-reduce:transition-none shadow-lg md:w-(--radix-navigation-menu-viewport-width) data-[state=open]:animate-drop-in data-[state=closed]:animate-drop-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out" })
1648
2097
  })]
1649
2098
  });
1650
2099
  }
1651
- function jr({ className: e, ...t }) {
2100
+ function Qr({ className: e, ...t }) {
1652
2101
  return /* @__PURE__ */ r(h.List, {
1653
2102
  "data-slot": "navigation-menu-list",
1654
- className: M("m-0 flex list-none items-center gap-1 p-0", e),
2103
+ className: z("m-0 flex list-none items-center gap-1 p-0", e),
1655
2104
  ...t
1656
2105
  });
1657
2106
  }
1658
- var Mr = h.Item, Nr = "inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center gap-1 rounded-md bg-transparent px-3 text-[15px] font-medium text-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring data-[state=open]:bg-accent";
1659
- function Pr({ className: e, children: t, ...n }) {
2107
+ var $r = h.Item, ei = "inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center gap-1 rounded-md bg-transparent px-3 text-[15px] font-medium text-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring data-[state=open]:bg-accent";
2108
+ function ti({ className: e, children: t, ...n }) {
1660
2109
  return /* @__PURE__ */ i(h.Trigger, {
1661
2110
  "data-slot": "navigation-menu-trigger",
1662
- className: M(Nr, "group", e),
2111
+ className: z(ei, "group", e),
1663
2112
  ...n,
1664
- children: [t, /* @__PURE__ */ r(ae, {
2113
+ children: [t, /* @__PURE__ */ r(re, {
1665
2114
  className: "size-4 transition-transform duration-200 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
1666
2115
  "aria-hidden": "true"
1667
2116
  })]
1668
2117
  });
1669
2118
  }
1670
- function Fr({ className: e, ...t }) {
2119
+ function ni({ className: e, ...t }) {
1671
2120
  return /* @__PURE__ */ r(h.Content, {
1672
2121
  "data-slot": "navigation-menu-content",
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),
2122
+ className: z("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
2123
  ...t
1675
2124
  });
1676
2125
  }
1677
- function Ir({ className: e, ...t }) {
2126
+ function ri({ className: e, ...t }) {
1678
2127
  return /* @__PURE__ */ r(h.Link, {
1679
2128
  "data-slot": "navigation-menu-link",
1680
- className: M(Nr, e),
2129
+ className: z(ei, e),
1681
2130
  ...t
1682
2131
  });
1683
2132
  }
1684
2133
  // src/ui/navigation/pagination.component.tsx
1685
- function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className: o }) {
2134
+ function ii({ page: e, pageCount: t, onPageChange: n, window: a = 3, className: o }) {
1686
2135
  let s = Math.max(1, Math.min(e - Math.floor(a / 2), t - a + 1)), c = Array.from({ length: Math.min(a, t) }, (e, t) => s + t);
1687
2136
  return /* @__PURE__ */ i("nav", {
1688
2137
  "data-slot": "pagination",
1689
2138
  "aria-label": "Pagination",
1690
- className: M("flex items-center gap-1", o),
2139
+ className: z("flex items-center gap-1", o),
1691
2140
  children: [
1692
2141
  /* @__PURE__ */ r("button", {
1693
2142
  type: "button",
1694
- className: z({
2143
+ className: K({
1695
2144
  variant: "ghost",
1696
2145
  size: "sm"
1697
2146
  }),
@@ -1703,7 +2152,7 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
1703
2152
  type: "button",
1704
2153
  "aria-current": t === e ? "page" : void 0,
1705
2154
  "aria-label": `Page ${t}`,
1706
- className: z({
2155
+ className: K({
1707
2156
  variant: t === e ? "outline" : "ghost",
1708
2157
  size: "icon-sm"
1709
2158
  }),
@@ -1712,7 +2161,7 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
1712
2161
  }, t)),
1713
2162
  /* @__PURE__ */ r("button", {
1714
2163
  type: "button",
1715
- className: z({
2164
+ className: K({
1716
2165
  variant: "ghost",
1717
2166
  size: "sm"
1718
2167
  }),
@@ -1724,68 +2173,136 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
1724
2173
  });
1725
2174
  }
1726
2175
  // src/ui/navigation/tabs.component.tsx
1727
- function Rr({ className: e, ...t }) {
1728
- return /* @__PURE__ */ r(C.Root, {
2176
+ var ai = 24;
2177
+ function oi(e, t, n, r) {
2178
+ let i = Math.abs(e) * (t > 0 ? n / t : 1), a = Math.min(Math.max(i, ai), Math.max(n / 2, ai));
2179
+ return Math.round(r ? a : -a);
2180
+ }
2181
+ function si({ className: e, style: t, value: n, defaultValue: i, onValueChange: a, orientation: o = "horizontal", ...s }) {
2182
+ let c = F(null), l = F(n ?? i), [u, d] = I(), f = Se((e) => {
2183
+ let t = c.current, n = [...t?.querySelectorAll("[data-slot=tabs-trigger]") ?? []], r = n.find((e) => e.dataset.value === l.current), i = n.find((t) => t.dataset.value === e);
2184
+ if (l.current = e, !t || !r || !i || r === i) return;
2185
+ let a = o === "vertical", s = t.querySelector("[data-slot=tabs-list]"), u = a ? i.offsetTop - r.offsetTop : i.offsetLeft - r.offsetLeft, f = n.indexOf(i) > n.indexOf(r);
2186
+ d(oi(u, (a ? s?.offsetHeight : s?.offsetWidth) ?? 0, a ? t.offsetHeight : t.offsetWidth, f));
2187
+ }, [o]);
2188
+ return P(() => {
2189
+ n !== void 0 && n !== l.current && f(n);
2190
+ }, [n, f]), /* @__PURE__ */ r(T.Root, {
2191
+ ref: c,
1729
2192
  "data-slot": "tabs",
1730
- className: M("flex flex-col gap-3", e),
1731
- ...t
2193
+ "data-direction": u === void 0 ? void 0 : o === "vertical" ? "y" : "x",
2194
+ style: u === void 0 ? t : {
2195
+ ...t,
2196
+ "--tab-shift": `${String(u)}px`
2197
+ },
2198
+ value: n,
2199
+ defaultValue: i,
2200
+ orientation: o,
2201
+ onValueChange: (e) => {
2202
+ f(e), a?.(e);
2203
+ },
2204
+ className: z("group/tabs flex gap-3 data-[orientation=horizontal]:flex-col has-[>[data-slot=tabs-list][data-variant=outline]]:gap-0", e),
2205
+ ...s
1732
2206
  });
1733
2207
  }
1734
- function zr({ className: e, variant: t = "pill", children: n, ...a }) {
1735
- let o = ft("[data-state=active]");
1736
- return /* @__PURE__ */ i(C.List, {
1737
- ref: o,
2208
+ var ci = {
2209
+ pill: "gap-0.5 rounded-md bg-muted p-[3px]",
2210
+ underline: "w-full gap-5 border-b data-[orientation=vertical]:w-auto data-[orientation=vertical]:gap-1 data-[orientation=vertical]:border-b-0 data-[orientation=vertical]:border-e",
2211
+ outline: "w-full gap-1 border-b data-[orientation=vertical]:w-auto data-[orientation=vertical]:border-b-0 data-[orientation=vertical]:border-e"
2212
+ }, li = {
2213
+ pill: "rounded-sm bg-background shadow-xs",
2214
+ underline: "bg-brand group-data-[orientation=horizontal]/tabs-list:top-auto group-data-[orientation=horizontal]/tabs-list:-bottom-px group-data-[orientation=horizontal]/tabs-list:h-0.5 group-data-[orientation=vertical]/tabs-list:left-auto group-data-[orientation=vertical]/tabs-list:-end-px group-data-[orientation=vertical]/tabs-list:w-0.5",
2215
+ outline: "border bg-background before:absolute before:bg-brand group-data-[orientation=horizontal]/tabs-list:h-[calc(var(--indicator-height)+1px)] group-data-[orientation=horizontal]/tabs-list:rounded-t-md group-data-[orientation=horizontal]/tabs-list:border-b-0 group-data-[orientation=horizontal]/tabs-list:before:inset-x-[-1px] group-data-[orientation=horizontal]/tabs-list:before:-top-px group-data-[orientation=horizontal]/tabs-list:before:h-0.5 group-data-[orientation=horizontal]/tabs-list:before:rounded-t-md group-data-[orientation=vertical]/tabs-list:w-[calc(var(--indicator-width)+1px)] group-data-[orientation=vertical]/tabs-list:rounded-s-md group-data-[orientation=vertical]/tabs-list:border-e-0 group-data-[orientation=vertical]/tabs-list:before:inset-y-[-1px] group-data-[orientation=vertical]/tabs-list:before:-start-px group-data-[orientation=vertical]/tabs-list:before:w-0.5 group-data-[orientation=vertical]/tabs-list:before:rounded-s-md"
2216
+ };
2217
+ function ui({ className: e, variant: t = "pill", fitted: n = !1, children: a, ...o }) {
2218
+ let s = lt("[data-slot=tabs-trigger][data-state=active]");
2219
+ return /* @__PURE__ */ i(T.List, {
2220
+ ref: s,
1738
2221
  "data-slot": "tabs-list",
1739
2222
  "data-variant": t,
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
- ...a,
2223
+ className: z("group/tabs-list group/indicator relative inline-flex w-fit items-center data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch", ci[t], n && "w-full [&>[data-slot=tabs-trigger]]:flex-1", e),
2224
+ ...o,
1742
2225
  children: [/* @__PURE__ */ r("span", {
1743
2226
  "aria-hidden": "true",
1744
2227
  "data-slot": "tabs-indicator",
1745
- className: M(pt, t === "pill" ? "rounded-sm bg-background shadow-xs" : "top-auto -bottom-px h-0.5 bg-brand")
1746
- }), n]
2228
+ className: z(ut, li[t])
2229
+ }), a]
1747
2230
  });
1748
2231
  }
1749
- function Br({ className: e, ...t }) {
1750
- return /* @__PURE__ */ r(C.Trigger, {
2232
+ function di(e) {
2233
+ e.preventDefault(), e.stopPropagation();
2234
+ }
2235
+ function fi({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", onKeyDown: o, children: s, value: c, ...l }) {
2236
+ return /* @__PURE__ */ i(T.Trigger, {
1751
2237
  "data-slot": "tabs-trigger",
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
- ...t
2238
+ "data-value": c,
2239
+ value: c,
2240
+ "aria-keyshortcuts": n ? "Delete" : void 0,
2241
+ "aria-description": n ? `${a}: Delete` : void 0,
2242
+ onKeyDown: (e) => {
2243
+ o?.(e), n && !e.defaultPrevented && e.key === "Delete" && (e.preventDefault(), n());
2244
+ },
2245
+ className: z("group/tab relative inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4", "transition-colors duration-150 data-[state=active]:text-foreground motion-reduce:transition-none", "group-data-[variant=pill]/tabs-list:h-[calc(var(--control-h)-6px)] group-data-[variant=pill]/tabs-list:rounded-sm group-data-[variant=pill]/tabs-list:px-3 group-data-[variant=pill]/tabs-list:text-[13px]", "group-data-[variant=underline]/tabs-list:py-2.5 group-data-[variant=underline]/tabs-list:text-sm", "group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:justify-start group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:px-3 group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:py-2", "group-data-[variant=outline]/tabs-list:h-(--control-h) group-data-[variant=outline]/tabs-list:rounded-t-md group-data-[variant=outline]/tabs-list:focus-visible:ring-inset group-data-[variant=outline]/tabs-list:px-3.5 group-data-[variant=outline]/tabs-list:text-sm group-data-[variant=outline]/tabs-list:data-[orientation=vertical]:justify-start", e),
2246
+ ...l,
2247
+ children: [
2248
+ s,
2249
+ t === void 0 ? null : /* @__PURE__ */ r("span", {
2250
+ "data-slot": "tabs-count",
2251
+ className: "min-w-5 rounded-full bg-muted px-1.5 text-center text-[11px] leading-5 tabular-nums text-muted-foreground transition-colors group-data-[state=active]/tab:bg-brand-soft group-data-[state=active]/tab:text-brand-text",
2252
+ children: t
2253
+ }),
2254
+ n ? /* @__PURE__ */ r("span", {
2255
+ "aria-hidden": "true",
2256
+ "data-slot": "tabs-close",
2257
+ onPointerDown: di,
2258
+ onMouseDown: di,
2259
+ onClick: (e) => {
2260
+ di(e), n();
2261
+ },
2262
+ className: "-me-1 grid size-[18px] place-items-center rounded-sm opacity-50 transition-opacity hover:bg-muted hover:opacity-100 group-data-[state=active]/tab:opacity-80 [&_svg]:size-3",
2263
+ children: /* @__PURE__ */ r(N, {})
2264
+ }) : null
2265
+ ]
1754
2266
  });
1755
2267
  }
1756
- function Vr({ className: e, ...t }) {
1757
- return /* @__PURE__ */ r(C.Content, {
2268
+ function pi({ className: e, bodyClassName: t, children: n, ...i }) {
2269
+ return /* @__PURE__ */ r(T.Content, {
1758
2270
  "data-slot": "tabs-content",
1759
- className: M("flex-1 outline-none", e),
1760
- ...t
2271
+ className: z("flex-1 overflow-clip outline-none", e),
2272
+ ...i,
2273
+ children: /* @__PURE__ */ r("div", {
2274
+ "data-slot": "tabs-content-body",
2275
+ className: z("group-data-[direction=x]/tabs:animate-tab-in-x group-data-[direction=y]/tabs:animate-tab-in-y motion-reduce:animate-none", t),
2276
+ children: n
2277
+ })
1761
2278
  });
1762
2279
  }
1763
2280
  // src/ui/navigation/stepper.component.tsx
1764
- var Hr = {
2281
+ var mi = {
1765
2282
  done: "bg-primary text-primary-foreground",
1766
2283
  current: "border-2 border-primary text-brand-text",
1767
2284
  upcoming: "bg-muted text-muted-foreground"
1768
2285
  };
1769
- function Ur({ steps: e, current: t, orientation: n = "horizontal", onStepSelect: a, className: o, "aria-label": s = "Progress", ...c }) {
2286
+ function hi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect: a, className: o, "aria-label": s = "Progress", ...c }) {
1770
2287
  let l = n === "vertical";
1771
2288
  return /* @__PURE__ */ r("ol", {
1772
2289
  "data-slot": "stepper",
1773
2290
  "data-orientation": n,
1774
2291
  "aria-label": s,
1775
- className: M("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
2292
+ className: z("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
1776
2293
  ...c,
1777
2294
  children: e.map((n, o) => {
1778
2295
  let s = o < t ? "done" : o === t ? "current" : "upcoming", c = o === e.length - 1, u = /* @__PURE__ */ r("span", {
1779
2296
  "aria-hidden": "true",
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
- children: s === "done" ? /* @__PURE__ */ r(T, {
2297
+ className: z("grid size-7 shrink-0 place-items-center rounded-full text-xs font-semibold transition-colors duration-200 motion-reduce:transition-none", mi[s]),
2298
+ children: s === "done" ? /* @__PURE__ */ r(k, {
1782
2299
  className: "size-3.5",
1783
2300
  strokeWidth: 2.5
1784
2301
  }) : o + 1
1785
2302
  }), d = /* @__PURE__ */ i("span", {
1786
2303
  className: "flex min-w-0 flex-col",
1787
2304
  children: [/* @__PURE__ */ i("span", {
1788
- className: M("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
2305
+ className: z("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
1789
2306
  children: [n.title, s === "done" && /* @__PURE__ */ r("span", {
1790
2307
  className: "sr-only",
1791
2308
  children: ", done"
@@ -1806,24 +2323,49 @@ function Ur({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
1806
2323
  return /* @__PURE__ */ i("li", {
1807
2324
  "data-state": s,
1808
2325
  "aria-current": s === "current" ? "step" : void 0,
1809
- className: M("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
2326
+ className: z("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
1810
2327
  children: [f, !c && /* @__PURE__ */ r("span", {
1811
2328
  "aria-hidden": "true",
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")
2329
+ className: z("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
2330
  })]
1814
2331
  }, n.title);
1815
2332
  })
1816
2333
  });
1817
2334
  }
2335
+ // src/ui/presence/presence.recipe.ts
2336
+ var gi = {
2337
+ fade: "data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out",
2338
+ scale: "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",
2339
+ drop: "data-[state=open]:animate-drop-in data-[state=closed]:animate-drop-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out"
2340
+ };
2341
+ // src/ui/presence/presence.component.tsx
2342
+ function _i({ present: e, animation: t = "fade", unmountOnExit: n = !0, className: i, onAnimationEnd: a, ...o }) {
2343
+ let [s, c] = I(e), l = F(null);
2344
+ return e && !s && c(!0), Te(() => {
2345
+ if (e || !s) return;
2346
+ let t = l.current;
2347
+ t && getComputedStyle(t).animationName !== "none" || c(!1);
2348
+ }, [e, s]), !s && n ? null : /* @__PURE__ */ r("div", {
2349
+ ref: l,
2350
+ "data-slot": "presence",
2351
+ "data-state": e ? "open" : "closed",
2352
+ hidden: !e && !s,
2353
+ className: z(gi[t], i),
2354
+ onAnimationEnd: (t) => {
2355
+ a?.(t), !e && t.target === t.currentTarget && c(!1);
2356
+ },
2357
+ ...o
2358
+ });
2359
+ }
1818
2360
  // src/ui/sidebar/sidebar-context.hook.ts
1819
- var Wr = Ce(null);
1820
- function X() {
1821
- let e = Ee(Wr);
2361
+ var vi = be(null);
2362
+ function Z() {
2363
+ let e = Ce(vi);
1822
2364
  if (!e) throw Error("A sidebar part must be inside a Sidebar.");
1823
2365
  return e;
1824
2366
  }
1825
2367
  // src/ui/sidebar/sidebar.recipe.ts
1826
- var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", Gr = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", 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", Kr = {
2368
+ var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", yi = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", bi = "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", xi = {
1827
2369
  panel: {
1828
2370
  open: "w-64 gap-2 px-1.5 py-2.5",
1829
2371
  collapsed: "w-12 gap-2 px-1.5 pt-2.5 pb-24"
@@ -1833,12 +2375,12 @@ var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] durat
1833
2375
  collapsed: "w-14 gap-4 px-2 py-3"
1834
2376
  }
1835
2377
  };
1836
- function qr({ 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;
2378
+ function Si({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
2379
+ let [d, f] = I(o), p = a ?? d;
1838
2380
  function m(e) {
1839
2381
  a === void 0 && f(e), s?.(e);
1840
2382
  }
1841
- return /* @__PURE__ */ r(Wr, {
2383
+ return /* @__PURE__ */ r(vi, {
1842
2384
  value: {
1843
2385
  collapsed: p,
1844
2386
  setCollapsed: m,
@@ -1851,7 +2393,7 @@ function qr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
1851
2393
  "data-variant": t,
1852
2394
  "data-collapsed": p || void 0,
1853
2395
  "aria-label": e,
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 ? Kr[t].collapsed : Kr[t].open, c),
2396
+ className: z("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 ? xi[t].collapsed : xi[t].open, c),
1855
2397
  ...u,
1856
2398
  children: [l, t === "panel" && /* @__PURE__ */ r("span", {
1857
2399
  "aria-hidden": "true",
@@ -1861,78 +2403,78 @@ function qr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
1861
2403
  })
1862
2404
  });
1863
2405
  }
1864
- function Jr({ label: e, children: t }) {
1865
- let { collapsed: n, side: a } = X(), [o, s] = k(!1);
1866
- return /* @__PURE__ */ i(J, {
2406
+ function Ci({ label: e, children: t }) {
2407
+ let { collapsed: n, side: a } = Z(), [o, s] = I(!1);
2408
+ return /* @__PURE__ */ i(dn, {
1867
2409
  open: n && o,
1868
2410
  onOpenChange: s,
1869
- children: [/* @__PURE__ */ r(Rn, {
2411
+ children: [/* @__PURE__ */ r(fn, {
1870
2412
  asChild: !0,
1871
2413
  children: t
1872
- }), /* @__PURE__ */ r(zn, {
2414
+ }), /* @__PURE__ */ r(pn, {
1873
2415
  side: a === "start" ? "right" : "left",
1874
2416
  children: e
1875
2417
  })]
1876
2418
  });
1877
2419
  }
1878
- function Yr({ className: e, ...t }) {
1879
- let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = X(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
1880
- if (c === "nav") return /* @__PURE__ */ r(Jr, {
2420
+ function wi({ className: e, ...t }) {
2421
+ let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = Z(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
2422
+ if (c === "nav") return /* @__PURE__ */ r(Ci, {
1881
2423
  label: l,
1882
2424
  children: /* @__PURE__ */ i("button", {
1883
2425
  type: "button",
1884
2426
  "aria-label": l,
1885
2427
  "aria-expanded": !n,
1886
2428
  onClick: () => a(!n),
1887
- className: M(Q, e),
2429
+ className: z(bi, e),
1888
2430
  ...t,
1889
- children: [/* @__PURE__ */ r(ge, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
2431
+ children: [/* @__PURE__ */ r(de, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
1890
2432
  "aria-hidden": "true",
1891
- className: Z,
2433
+ className: Q,
1892
2434
  children: "Collapse"
1893
2435
  })]
1894
2436
  })
1895
2437
  });
1896
2438
  let u = s === "start" !== n;
1897
- return /* @__PURE__ */ r(B, {
2439
+ return /* @__PURE__ */ r(q, {
1898
2440
  variant: "ghost",
1899
2441
  size: "icon-sm",
1900
2442
  "aria-label": l,
1901
2443
  "aria-expanded": !n,
1902
2444
  title: l,
1903
2445
  onClick: () => a(!n),
1904
- className: M("shrink-0 text-muted-foreground", e),
2446
+ className: z("shrink-0 text-muted-foreground", e),
1905
2447
  ...t,
1906
- children: r(u ? se : ce, {})
2448
+ children: r(u ? A : ae, {})
1907
2449
  });
1908
2450
  }
1909
- function Xr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
1910
- let { collapsed: s, label: c, variant: l } = X();
2451
+ function Ti({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
2452
+ let { collapsed: s, label: c, variant: l } = Z();
1911
2453
  if (l === "nav") return /* @__PURE__ */ r("div", {
1912
2454
  "data-slot": "sidebar-header",
1913
- className: M("flex h-8 items-center", o),
2455
+ className: z("flex h-8 items-center", o),
1914
2456
  children: a
1915
2457
  });
1916
2458
  let u = n ?? `Search ${c.toLowerCase()}`;
1917
2459
  return /* @__PURE__ */ i("div", {
1918
2460
  "data-slot": "sidebar-header",
1919
- className: M("flex items-center gap-1", o),
2461
+ className: z("flex items-center gap-1", o),
1920
2462
  children: [/* @__PURE__ */ i("div", {
1921
2463
  inert: s,
1922
2464
  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",
1923
- children: [t && /* @__PURE__ */ r(U, {
2465
+ children: [t && /* @__PURE__ */ r(vt, {
1924
2466
  type: "search",
1925
2467
  value: e,
1926
2468
  onChange: (e) => t(e.target.value),
1927
2469
  placeholder: u,
1928
2470
  "aria-label": u,
1929
- startIcon: /* @__PURE__ */ r(E, {})
2471
+ startIcon: /* @__PURE__ */ r(he, {})
1930
2472
  }), a]
1931
- }), /* @__PURE__ */ r(Yr, { className: "ms-auto" })]
2473
+ }), /* @__PURE__ */ r(wi, { className: "ms-auto" })]
1932
2474
  });
1933
2475
  }
1934
- function Zr({ className: e, ...t }) {
1935
- 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);
2476
+ function Ei({ className: e, ...t }) {
2477
+ let { label: n, variant: i } = Z(), a = z("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);
1936
2478
  return i === "nav" ? /* @__PURE__ */ r("nav", {
1937
2479
  "data-slot": "sidebar-content",
1938
2480
  "aria-label": n,
@@ -1944,12 +2486,12 @@ function Zr({ className: e, ...t }) {
1944
2486
  ...t
1945
2487
  });
1946
2488
  }
1947
- function Qr({ className: e, children: t, ...n }) {
1948
- let { collapsed: i } = X();
2489
+ function Di({ className: e, children: t, ...n }) {
2490
+ let { collapsed: i } = Z();
1949
2491
  return /* @__PURE__ */ r("div", {
1950
2492
  "data-slot": "sidebar-note",
1951
2493
  "aria-hidden": i || void 0,
1952
- className: M(Gr, e),
2494
+ className: z(yi, e),
1953
2495
  ...n,
1954
2496
  children: /* @__PURE__ */ r("span", {
1955
2497
  className: "min-h-0 truncate overflow-hidden px-3 text-xs whitespace-nowrap text-muted-foreground",
@@ -1957,28 +2499,28 @@ function Qr({ className: e, children: t, ...n }) {
1957
2499
  })
1958
2500
  });
1959
2501
  }
1960
- function $r({ className: e, ...t }) {
1961
- let { collapsed: n, variant: i } = X();
2502
+ function Oi({ className: e, ...t }) {
2503
+ let { collapsed: n, variant: i } = Z();
1962
2504
  return i === "panel" && n ? null : /* @__PURE__ */ r("div", {
1963
2505
  "data-slot": "sidebar-footer",
1964
- className: M("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
2506
+ className: z("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
1965
2507
  ...t
1966
2508
  });
1967
2509
  }
1968
2510
  // src/ui/sidebar/sidebar-group.component.tsx
1969
- function ei({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
1970
- 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";
2511
+ function ki({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
2512
+ let { collapsed: u, variant: d } = Z(), [f, p] = I(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
1971
2513
  return m ? /* @__PURE__ */ i(l.Root, {
1972
2514
  "data-slot": "sidebar-group",
1973
2515
  open: n || u || f,
1974
2516
  onOpenChange: p,
1975
- className: M("flex flex-col gap-1", s),
2517
+ className: z("flex flex-col gap-1", s),
1976
2518
  children: [/* @__PURE__ */ i(l.Trigger, {
1977
2519
  disabled: n,
1978
2520
  inert: u,
1979
- 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"),
2521
+ className: z("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"),
1980
2522
  children: [
1981
- /* @__PURE__ */ r(oe, {
2523
+ /* @__PURE__ */ r(ie, {
1982
2524
  "aria-hidden": "true",
1983
2525
  className: "size-3.5 shrink-0 text-muted-foreground transition-transform duration-150 group-data-[state=open]/trigger:rotate-90 motion-reduce:transition-none"
1984
2526
  }),
@@ -2001,28 +2543,28 @@ function ei({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collap
2001
2543
  role: "group",
2002
2544
  "aria-label": e,
2003
2545
  "data-slot": "sidebar-group",
2004
- className: M("flex flex-col gap-0.5", s),
2546
+ className: z("flex flex-col gap-0.5", s),
2005
2547
  children: [/* @__PURE__ */ r("span", {
2006
2548
  "aria-hidden": "true",
2007
- className: M("flex h-6 items-center px-3", h, Z),
2549
+ className: z("flex h-6 items-center px-3", h, Q),
2008
2550
  children: e
2009
2551
  }), c]
2010
2552
  });
2011
2553
  }
2012
2554
  // src/ui/sidebar/sidebar-item.component.tsx
2013
- function ti({ 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 }) {
2014
- let { collapsed: m, variant: h } = X(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
2555
+ function Ai({ 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 }) {
2556
+ let { collapsed: m, variant: h } = Z(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
2015
2557
  /* @__PURE__ */ r("span", {
2016
2558
  "aria-hidden": "true",
2017
2559
  className: "flex",
2018
2560
  children: a
2019
2561
  }),
2020
2562
  /* @__PURE__ */ r("span", {
2021
- className: Z,
2563
+ className: Q,
2022
2564
  children: e
2023
2565
  }),
2024
2566
  c !== void 0 && /* @__PURE__ */ r("span", {
2025
- className: M("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Z),
2567
+ className: z("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Q),
2026
2568
  children: c
2027
2569
  })
2028
2570
  ] }) : /* @__PURE__ */ i(n, { children: [
@@ -2032,11 +2574,11 @@ function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2032
2574
  children: a
2033
2575
  }) : /* @__PURE__ */ r("span", {
2034
2576
  "aria-hidden": "true",
2035
- className: M("h-6 w-2.5 shrink-0 rounded-[3px]", o ? I[o] : ""),
2577
+ className: z("h-6 w-2.5 shrink-0 rounded-[3px]", o ? U[o] : ""),
2036
2578
  style: o ? void 0 : { background: s }
2037
2579
  }),
2038
2580
  /* @__PURE__ */ i("span", {
2039
- className: M("flex flex-col", Z),
2581
+ className: z("flex flex-col", Q),
2040
2582
  children: [/* @__PURE__ */ r("span", {
2041
2583
  className: "truncate text-[13px] font-medium",
2042
2584
  children: e
@@ -2046,51 +2588,51 @@ function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2046
2588
  })]
2047
2589
  }),
2048
2590
  c !== void 0 && /* @__PURE__ */ r("span", {
2049
- className: M("ms-auto text-[11px] text-muted-foreground tabular-nums", Z),
2591
+ className: z("ms-auto text-[11px] text-muted-foreground tabular-nums", Q),
2050
2592
  children: c
2051
2593
  })
2052
- ] }), 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 = {
2594
+ ] }), v = h === "nav" ? z(bi, d) : z("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 = {
2053
2595
  "data-slot": "sidebar-item",
2054
2596
  "aria-current": g,
2055
2597
  "aria-label": m ? e : void 0,
2056
2598
  className: v
2057
- }, b = u && we(f) ? /* @__PURE__ */ r(S.Root, {
2599
+ }, b = u && xe(f) ? /* @__PURE__ */ r(C.Root, {
2058
2600
  ...y,
2059
2601
  ...p,
2060
- children: ni(f, _)
2602
+ children: ji(f, _)
2061
2603
  }) : /* @__PURE__ */ r("button", {
2062
2604
  type: "button",
2063
2605
  ...y,
2064
2606
  ...p,
2065
2607
  children: _
2066
2608
  });
2067
- return /* @__PURE__ */ r(Jr, {
2609
+ return /* @__PURE__ */ r(Ci, {
2068
2610
  label: e,
2069
2611
  children: b
2070
2612
  });
2071
2613
  }
2072
- function ni(e, t) {
2073
- return Se(e, void 0, t);
2614
+ function ji(e, t) {
2615
+ return ye(e, void 0, t);
2074
2616
  }
2075
2617
  // src/ui/sidebar/sidebar-sheet.component.tsx
2076
- function ri({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
2077
- return /* @__PURE__ */ i(An, {
2618
+ function Mi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
2619
+ return /* @__PURE__ */ i(nn, {
2078
2620
  open: a,
2079
2621
  onOpenChange: o,
2080
- children: [/* @__PURE__ */ r(jn, {
2622
+ children: [/* @__PURE__ */ r(rn, {
2081
2623
  asChild: !0,
2082
- children: /* @__PURE__ */ r(B, {
2624
+ children: /* @__PURE__ */ r(q, {
2083
2625
  variant: "ghost",
2084
2626
  size: "icon",
2085
2627
  "aria-label": `Show ${e.toLowerCase()}`,
2086
2628
  className: s,
2087
- children: /* @__PURE__ */ r(ge, {})
2629
+ children: /* @__PURE__ */ r(de, {})
2088
2630
  })
2089
- }), /* @__PURE__ */ i(In, {
2631
+ }), /* @__PURE__ */ i(ln, {
2090
2632
  "data-slot": "sidebar-sheet",
2091
2633
  side: n,
2092
2634
  className: "d-mob w-[min(320px,86vw)] gap-0 p-0 [&>[data-slot=sidebar]]:border-0",
2093
- children: [/* @__PURE__ */ r(Nn, {
2635
+ children: [/* @__PURE__ */ r(on, {
2094
2636
  className: "sr-only",
2095
2637
  children: e
2096
2638
  }), t]
@@ -2098,15 +2640,15 @@ function ri({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
2098
2640
  });
2099
2641
  }
2100
2642
  // src/product/product-switcher.component.tsx
2101
- function ii({ product: e, workspace: t, products: n = Ye, onProductChange: a, className: o }) {
2102
- return /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
2643
+ function Ni({ product: e, workspace: t, products: n = Ke, onProductChange: a, className: o }) {
2644
+ return /* @__PURE__ */ i(Nn, { children: [/* @__PURE__ */ r(Pn, {
2103
2645
  asChild: !0,
2104
- children: /* @__PURE__ */ i(B, {
2646
+ children: /* @__PURE__ */ i(q, {
2105
2647
  variant: "ghost",
2106
- className: M("h-12 w-full justify-start gap-2.5 px-2", o),
2107
- "aria-label": `${N[e].name}, switch product`,
2648
+ className: z("h-12 w-full justify-start gap-2.5 px-2", o),
2649
+ "aria-label": `${B[e].name}, switch product`,
2108
2650
  children: [
2109
- /* @__PURE__ */ r(P, {
2651
+ /* @__PURE__ */ r(V, {
2110
2652
  product: e,
2111
2653
  alt: "",
2112
2654
  className: "size-7"
@@ -2115,41 +2657,41 @@ function ii({ product: e, workspace: t, products: n = Ye, onProductChange: a, cl
2115
2657
  className: "flex min-w-0 flex-col items-start leading-tight",
2116
2658
  children: [/* @__PURE__ */ r("span", {
2117
2659
  className: "font-display text-[17px] font-extrabold italic text-brand-text",
2118
- children: N[e].name
2660
+ children: B[e].name
2119
2661
  }), t && /* @__PURE__ */ r("span", {
2120
2662
  className: "truncate text-xs font-normal text-muted-foreground",
2121
2663
  children: t
2122
2664
  })]
2123
2665
  }),
2124
- /* @__PURE__ */ r(le, {
2666
+ /* @__PURE__ */ r(oe, {
2125
2667
  className: "ms-auto text-muted-foreground",
2126
2668
  "aria-hidden": "true"
2127
2669
  })
2128
2670
  ]
2129
2671
  })
2130
- }), /* @__PURE__ */ i(lr, {
2672
+ }), /* @__PURE__ */ i(Ln, {
2131
2673
  align: "start",
2132
2674
  className: "w-60",
2133
- children: [/* @__PURE__ */ r(fr, { children: "Products" }), /* @__PURE__ */ r(cr, {
2675
+ children: [/* @__PURE__ */ r(Bn, { children: "Products" }), /* @__PURE__ */ r(In, {
2134
2676
  value: e,
2135
2677
  onValueChange: (e) => a?.(e),
2136
- children: n.map((e) => /* @__PURE__ */ i(dr, {
2678
+ children: n.map((e) => /* @__PURE__ */ i(zn, {
2137
2679
  value: e,
2138
- children: [/* @__PURE__ */ r(P, {
2680
+ children: [/* @__PURE__ */ r(V, {
2139
2681
  product: e,
2140
2682
  alt: "",
2141
2683
  className: "size-4"
2142
- }), N[e].name]
2684
+ }), B[e].name]
2143
2685
  }, e))
2144
2686
  })]
2145
2687
  })] });
2146
2688
  }
2147
2689
  // src/product/sidebar-brand.component.tsx
2148
- function ai({ product: e, badge: t, className: n }) {
2149
- let { collapsed: a, setCollapsed: o } = X(), s = N[e].name;
2690
+ function Pi({ product: e, badge: t, className: n }) {
2691
+ let { collapsed: a, setCollapsed: o } = Z(), s = B[e].name;
2150
2692
  return /* @__PURE__ */ i("div", {
2151
2693
  "data-slot": "sidebar-brand",
2152
- className: M("flex h-8 items-center", n),
2694
+ className: z("flex h-8 items-center", n),
2153
2695
  children: [
2154
2696
  /* @__PURE__ */ r("button", {
2155
2697
  type: "button",
@@ -2157,26 +2699,26 @@ function ai({ product: e, badge: t, className: n }) {
2157
2699
  "aria-expanded": !a,
2158
2700
  onClick: () => o(!a),
2159
2701
  className: "grid size-10 shrink-0 cursor-pointer place-items-center rounded-md outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",
2160
- children: /* @__PURE__ */ r(P, {
2702
+ children: /* @__PURE__ */ r(V, {
2161
2703
  product: e,
2162
2704
  alt: "",
2163
- className: M("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
2705
+ className: z("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
2164
2706
  })
2165
2707
  }),
2166
2708
  /* @__PURE__ */ r("span", {
2167
- className: M("ms-1 font-display text-lg font-extrabold text-brand-text italic", Z),
2709
+ className: z("ms-1 font-display text-lg font-extrabold text-brand-text italic", Q),
2168
2710
  children: s
2169
2711
  }),
2170
2712
  t && /* @__PURE__ */ r("span", {
2171
- className: M("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Z),
2713
+ className: z("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Q),
2172
2714
  children: t
2173
2715
  })
2174
2716
  ]
2175
2717
  });
2176
2718
  }
2177
2719
  // src/app/command-shortcut.hook.ts
2178
- function oi(e, t = !0) {
2179
- O(() => {
2720
+ function Fi(e, t = !0) {
2721
+ P(() => {
2180
2722
  if (!t) return;
2181
2723
  function n(t) {
2182
2724
  t.key.toLowerCase() === "k" && (t.metaKey || t.ctrlKey) && (t.preventDefault(), e());
@@ -2184,27 +2726,42 @@ function oi(e, t = !0) {
2184
2726
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
2185
2727
  }, [e, t]);
2186
2728
  }
2187
- function si(e) {
2729
+ function Ii(e) {
2188
2730
  return /mac|iphone|ipad|ipod/i.test(e) ? "⌘K" : "Ctrl+K";
2189
2731
  }
2190
- function ci() {}
2191
- function li() {
2192
- return ci;
2732
+ function Li() {}
2733
+ function Ri() {
2734
+ return Li;
2193
2735
  }
2194
- function ui() {
2736
+ function zi() {
2195
2737
  return navigator.userAgentData?.platform ?? navigator.platform;
2196
2738
  }
2197
- function di() {
2739
+ function Bi() {
2198
2740
  return "";
2199
2741
  }
2200
- function fi() {
2201
- return si(ke(li, ui, di));
2742
+ function Vi() {
2743
+ return Ii(Ee(Ri, zi, Bi));
2202
2744
  }
2203
2745
  // src/app/app-shell.component.tsx
2204
- function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, sidebarNote: u, user: d, breadcrumb: f, topActions: p, commands: m, children: h, className: g }) {
2205
- let [_, v] = k(!1), y = Te(() => v(!0), []);
2206
- oi(y, !!m?.length);
2207
- let b = fi(), ee = [...new Set(m?.map((e) => e.group))], x = (e) => /* @__PURE__ */ r(ti, {
2746
+ var Hi = "flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] has-[>[data-slot=app-shell-body]]:gap-0 has-[>[data-slot=app-shell-body]]:overflow-hidden has-[>[data-slot=app-shell-body]]:p-0";
2747
+ function Ui({ children: e, className: t }) {
2748
+ return /* @__PURE__ */ r("div", {
2749
+ "data-slot": "app-shell-header",
2750
+ className: z("shrink-0 border-b px-6 py-4", t),
2751
+ children: e
2752
+ });
2753
+ }
2754
+ function Wi({ children: e, className: t }) {
2755
+ return /* @__PURE__ */ r("div", {
2756
+ "data-slot": "app-shell-body",
2757
+ className: z("flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable]", t),
2758
+ children: e
2759
+ });
2760
+ }
2761
+ function Gi({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, sidebarNote: u, user: d, breadcrumb: f, topActions: p, statusBar: m, commands: h, children: g, className: _ }) {
2762
+ let [v, y] = I(!1), b = Se(() => y(!0), []);
2763
+ Fi(b, !!h?.length);
2764
+ let x = Vi(), ee = [...new Set(h?.map((e) => e.group))], S = (e) => /* @__PURE__ */ r(Ai, {
2208
2765
  asChild: !0,
2209
2766
  title: e.label,
2210
2767
  icon: e.icon,
@@ -2214,44 +2771,44 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
2214
2771
  href: e.href,
2215
2772
  children: e.label
2216
2773
  })
2217
- }, e.href), S = /* @__PURE__ */ i(n, { children: [
2218
- /* @__PURE__ */ r(Xr, {
2774
+ }, e.href), C = /* @__PURE__ */ i(n, { children: [
2775
+ /* @__PURE__ */ r(Ti, {
2219
2776
  className: "h-12",
2220
- children: t === "logo" ? /* @__PURE__ */ r(ai, { product: e }) : /* @__PURE__ */ r(ii, {
2777
+ children: t === "logo" ? /* @__PURE__ */ r(Pi, { product: e }) : /* @__PURE__ */ r(Ni, {
2221
2778
  product: e,
2222
2779
  workspace: a,
2223
2780
  onProductChange: o,
2224
2781
  className: "px-2.5"
2225
2782
  })
2226
2783
  }),
2227
- /* @__PURE__ */ i(Zr, { children: [
2228
- m?.length ? /* @__PURE__ */ r(ti, {
2784
+ /* @__PURE__ */ i(Ei, { children: [
2785
+ h?.length ? /* @__PURE__ */ r(Ai, {
2229
2786
  title: "Search",
2230
- icon: /* @__PURE__ */ r(E, {}),
2231
- badge: /* @__PURE__ */ r(Gt, {
2787
+ icon: /* @__PURE__ */ r(he, {}),
2788
+ badge: /* @__PURE__ */ r(Sr, {
2232
2789
  className: "border-0 bg-transparent",
2233
- children: b
2790
+ children: x
2234
2791
  }),
2235
- onClick: y
2792
+ onClick: b
2236
2793
  }) : null,
2237
2794
  /* @__PURE__ */ r("div", {
2238
2795
  className: "flex flex-col gap-0.5",
2239
- children: s.map((e) => x(e))
2796
+ children: s.map((e) => S(e))
2240
2797
  }),
2241
- c && /* @__PURE__ */ r(ei, {
2798
+ c && /* @__PURE__ */ r(ki, {
2242
2799
  title: c.title,
2243
- children: c.items.map((e) => x(e))
2800
+ children: c.items.map((e) => S(e))
2244
2801
  })
2245
2802
  ] }),
2246
- /* @__PURE__ */ i($r, { children: [
2803
+ /* @__PURE__ */ i(Oi, { children: [
2247
2804
  l && /* @__PURE__ */ r("div", {
2248
- className: Z,
2805
+ className: Q,
2249
2806
  children: l
2250
2807
  }),
2251
2808
  d && /* @__PURE__ */ i("div", {
2252
2809
  className: "flex items-center gap-2.5 px-1",
2253
- children: [/* @__PURE__ */ r(nt, { children: /* @__PURE__ */ r(it, { children: d.initials }) }), /* @__PURE__ */ i("span", {
2254
- className: M("flex flex-col leading-tight", Z),
2810
+ children: [/* @__PURE__ */ r($e, { children: /* @__PURE__ */ r(tt, { children: d.initials }) }), /* @__PURE__ */ i("span", {
2811
+ className: z("flex flex-col leading-tight", Q),
2255
2812
  children: [/* @__PURE__ */ r("span", {
2256
2813
  className: "text-[13px] font-semibold",
2257
2814
  children: d.name
@@ -2261,55 +2818,66 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
2261
2818
  })]
2262
2819
  })]
2263
2820
  }),
2264
- /* @__PURE__ */ r(Yr, {}),
2265
- u && /* @__PURE__ */ r(Qr, { children: u })
2821
+ /* @__PURE__ */ r(wi, {}),
2822
+ u && /* @__PURE__ */ r(Di, { children: u })
2266
2823
  ] })
2267
2824
  ] });
2268
2825
  return /* @__PURE__ */ i("div", {
2269
2826
  "data-slot": "app-shell",
2270
- className: M("flex min-h-screen flex-wrap bg-background", g),
2827
+ className: z("flex h-dvh overflow-hidden bg-background", _),
2271
2828
  children: [
2272
- /* @__PURE__ */ r(qr, {
2829
+ /* @__PURE__ */ r(Si, {
2273
2830
  variant: "nav",
2274
2831
  label: "Workspace",
2275
- className: "sticky top-0 h-screen max-md:hidden",
2276
- children: S
2832
+ className: "h-dvh max-md:hidden",
2833
+ children: C
2277
2834
  }),
2278
2835
  /* @__PURE__ */ i("div", {
2279
- className: "relative flex min-w-0 flex-[999_1_560px] flex-col",
2280
- children: [/* @__PURE__ */ i("div", {
2281
- className: "flex h-14 flex-wrap items-center gap-3 border-b px-6",
2282
- children: [
2283
- /* @__PURE__ */ r(ri, {
2284
- label: "Workspace",
2285
- className: "-ms-2 md:hidden",
2286
- children: /* @__PURE__ */ r(qr, {
2287
- variant: "nav",
2836
+ className: "relative flex min-h-0 min-w-0 flex-1 flex-col",
2837
+ children: [
2838
+ /* @__PURE__ */ i("div", {
2839
+ "data-slot": "app-top-bar",
2840
+ className: z("flex h-14 shrink-0 flex-wrap items-center gap-3 border-b px-6", !f && !p && "md:hidden"),
2841
+ children: [
2842
+ /* @__PURE__ */ r(Mi, {
2288
2843
  label: "Workspace",
2289
- collapsed: !1,
2290
- className: "w-full",
2291
- children: S
2844
+ className: "-ms-2 md:hidden",
2845
+ children: /* @__PURE__ */ r(Si, {
2846
+ variant: "nav",
2847
+ label: "Workspace",
2848
+ collapsed: !1,
2849
+ className: "w-full",
2850
+ children: C
2851
+ })
2852
+ }),
2853
+ f,
2854
+ p && /* @__PURE__ */ r("div", {
2855
+ className: "ms-auto flex items-center gap-1.5",
2856
+ children: p
2292
2857
  })
2293
- }),
2294
- f,
2295
- p && /* @__PURE__ */ r("div", {
2296
- className: "ms-auto flex items-center gap-1.5",
2297
- children: p
2298
- })
2299
- ]
2300
- }), /* @__PURE__ */ r("main", {
2301
- className: "flex flex-col gap-5 p-6",
2302
- children: h
2303
- })]
2858
+ ]
2859
+ }),
2860
+ /* @__PURE__ */ r("main", {
2861
+ "data-slot": "app-shell-page",
2862
+ className: Hi,
2863
+ children: g
2864
+ }),
2865
+ m && /* @__PURE__ */ r("footer", {
2866
+ "data-slot": "app-status-bar",
2867
+ "aria-label": "Status",
2868
+ className: "flex h-10 shrink-0 items-center gap-3 border-t bg-background px-6 text-xs text-muted-foreground",
2869
+ children: m
2870
+ })
2871
+ ]
2304
2872
  }),
2305
- m?.length ? /* @__PURE__ */ i(Gn, {
2306
- open: _,
2307
- onOpenChange: v,
2308
- children: [/* @__PURE__ */ r(Kn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(qn, { children: [/* @__PURE__ */ r(Jn, { children: "No results." }), ee.map((e) => /* @__PURE__ */ r(Yn, {
2873
+ h?.length ? /* @__PURE__ */ i(yn, {
2874
+ open: v,
2875
+ onOpenChange: y,
2876
+ children: [/* @__PURE__ */ r(bn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(xn, { children: [/* @__PURE__ */ r(Sn, { children: "No results." }), ee.map((e) => /* @__PURE__ */ r(Cn, {
2309
2877
  heading: e,
2310
- children: m.filter((t) => t.group === e).map((e) => /* @__PURE__ */ r(Xn, {
2878
+ children: h.filter((t) => t.group === e).map((e) => /* @__PURE__ */ r(wn, {
2311
2879
  onSelect: () => {
2312
- v(!1), e.onSelect();
2880
+ y(!1), e.onSelect();
2313
2881
  },
2314
2882
  children: e.label
2315
2883
  }, e.label))
@@ -2319,21 +2887,21 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
2319
2887
  });
2320
2888
  }
2321
2889
  // src/app/filter-bar.component.tsx
2322
- function mi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
2890
+ function Ki({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
2323
2891
  return /* @__PURE__ */ i("div", {
2324
2892
  "data-slot": "filter-bar",
2325
2893
  role: "search",
2326
- className: M("flex flex-wrap items-center gap-2 border-b p-3", s),
2894
+ className: z("flex flex-wrap items-center gap-2 border-b p-3", s),
2327
2895
  children: [
2328
2896
  /* @__PURE__ */ r("div", {
2329
2897
  className: "max-w-80 flex-[1_1_220px]",
2330
- children: /* @__PURE__ */ r(U, {
2898
+ children: /* @__PURE__ */ r(vt, {
2331
2899
  type: "search",
2332
2900
  value: e,
2333
2901
  onChange: (e) => t(e.target.value),
2334
2902
  placeholder: n,
2335
2903
  "aria-label": n,
2336
- startIcon: /* @__PURE__ */ r(E, {})
2904
+ startIcon: /* @__PURE__ */ r(he, {})
2337
2905
  })
2338
2906
  }),
2339
2907
  a,
@@ -2344,16 +2912,16 @@ function mi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
2344
2912
  ]
2345
2913
  });
2346
2914
  }
2347
- function hi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
2348
- return /* @__PURE__ */ i(B, {
2915
+ function qi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
2916
+ return /* @__PURE__ */ i(q, {
2349
2917
  variant: "outline",
2350
2918
  size: "sm",
2351
- className: M("border-dashed", a),
2919
+ className: z("border-dashed", a),
2352
2920
  ...o,
2353
2921
  children: [
2354
- n ?? /* @__PURE__ */ r(ye, {}),
2922
+ n ?? /* @__PURE__ */ r(me, {}),
2355
2923
  e,
2356
- t > 0 && /* @__PURE__ */ r(R, {
2924
+ t > 0 && /* @__PURE__ */ r(G, {
2357
2925
  variant: "brand",
2358
2926
  className: "h-[18px]",
2359
2927
  "aria-label": `${t} selected`,
@@ -2363,10 +2931,10 @@ function hi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
2363
2931
  });
2364
2932
  }
2365
2933
  // src/app/form-section.component.tsx
2366
- function gi({ title: e, description: t, children: n, actions: a, className: o }) {
2934
+ function Ji({ title: e, description: t, children: n, actions: a, className: o }) {
2367
2935
  return /* @__PURE__ */ i("section", {
2368
2936
  "data-slot": "form-section",
2369
- className: M("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
2937
+ className: z("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
2370
2938
  children: [/* @__PURE__ */ i("div", {
2371
2939
  className: "flex flex-col gap-1",
2372
2940
  children: [/* @__PURE__ */ r("h2", {
@@ -2389,10 +2957,10 @@ function gi({ title: e, description: t, children: n, actions: a, className: o })
2389
2957
  });
2390
2958
  }
2391
2959
  // src/app/page-header.component.tsx
2392
- function _i({ title: e, description: t, actions: n, tabs: a, className: o }) {
2960
+ function Yi({ title: e, description: t, actions: n, tabs: a, className: o }) {
2393
2961
  return /* @__PURE__ */ i("div", {
2394
2962
  "data-slot": "page-header",
2395
- className: M("flex flex-col gap-4", o),
2963
+ className: z("flex flex-col gap-4", o),
2396
2964
  children: [/* @__PURE__ */ i("div", {
2397
2965
  className: "flex flex-wrap items-end gap-4",
2398
2966
  children: [/* @__PURE__ */ i("div", {
@@ -2412,7 +2980,7 @@ function _i({ title: e, description: t, actions: n, tabs: a, className: o }) {
2412
2980
  });
2413
2981
  }
2414
2982
  // src/app/records-table.component.tsx
2415
- function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
2983
+ function Xi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
2416
2984
  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";
2417
2985
  function m(e, t) {
2418
2986
  let n = new Set(a);
@@ -2423,26 +2991,26 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
2423
2991
  for (let n of d) e ? t.add(n) : t.delete(n);
2424
2992
  o?.(t);
2425
2993
  }
2426
- return /* @__PURE__ */ i(Qt, {
2994
+ return /* @__PURE__ */ i(kr, {
2427
2995
  "data-slot": "records-table",
2428
2996
  "aria-label": c,
2429
- className: M("min-w-[760px]", l),
2430
- children: [/* @__PURE__ */ r($t, { children: /* @__PURE__ */ i(tn, {
2997
+ className: z("min-w-[760px]", l),
2998
+ children: [/* @__PURE__ */ r(Ar, { children: /* @__PURE__ */ i(Mr, {
2431
2999
  className: "hover:bg-transparent",
2432
3000
  children: [
2433
- u && /* @__PURE__ */ r(W, {
3001
+ u && /* @__PURE__ */ r(Nr, {
2434
3002
  className: "w-9",
2435
- children: /* @__PURE__ */ r(st, {
3003
+ children: /* @__PURE__ */ r(it, {
2436
3004
  "aria-label": "Select all rows",
2437
3005
  checked: p,
2438
3006
  onCheckedChange: (e) => h(e === !0)
2439
3007
  })
2440
3008
  }),
2441
- t.map((e) => /* @__PURE__ */ r(W, {
2442
- className: M(e.align === "end" && "text-end", e.className),
3009
+ t.map((e) => /* @__PURE__ */ r(Nr, {
3010
+ className: z(e.align === "end" && "text-end", e.className),
2443
3011
  children: e.header
2444
3012
  }, e.key)),
2445
- s && /* @__PURE__ */ r(W, {
3013
+ s && /* @__PURE__ */ r(Nr, {
2446
3014
  className: "w-11",
2447
3015
  children: /* @__PURE__ */ r("span", {
2448
3016
  className: "sr-only",
@@ -2450,29 +3018,29 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
2450
3018
  })
2451
3019
  })
2452
3020
  ]
2453
- }) }), /* @__PURE__ */ r(en, { children: e.map((e) => {
3021
+ }) }), /* @__PURE__ */ r(jr, { children: e.map((e) => {
2454
3022
  let o = n(e), c = a?.has(o) ?? !1;
2455
- return /* @__PURE__ */ i(tn, {
3023
+ return /* @__PURE__ */ i(Mr, {
2456
3024
  "data-state": c ? "selected" : void 0,
2457
3025
  children: [
2458
- u && /* @__PURE__ */ r(G, { children: /* @__PURE__ */ r(st, {
3026
+ u && /* @__PURE__ */ r(Pr, { children: /* @__PURE__ */ r(it, {
2459
3027
  "aria-label": `Select ${o}`,
2460
3028
  checked: c,
2461
3029
  onCheckedChange: (e) => m(o, e === !0)
2462
3030
  }) }),
2463
- t.map((t) => /* @__PURE__ */ r(G, {
2464
- className: M(t.align === "end" && "text-end tabular-nums", t.className),
3031
+ t.map((t) => /* @__PURE__ */ r(Pr, {
3032
+ className: z(t.align === "end" && "text-end tabular-nums", t.className),
2465
3033
  children: t.cell(e)
2466
3034
  }, t.key)),
2467
- s && /* @__PURE__ */ r(G, { children: /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
3035
+ s && /* @__PURE__ */ r(Pr, { children: /* @__PURE__ */ i(Nn, { children: [/* @__PURE__ */ r(Pn, {
2468
3036
  asChild: !0,
2469
- children: /* @__PURE__ */ r(B, {
3037
+ children: /* @__PURE__ */ r(q, {
2470
3038
  variant: "ghost",
2471
3039
  size: "icon-sm",
2472
3040
  "aria-label": `Actions for ${o}`,
2473
- children: /* @__PURE__ */ r(de, {})
3041
+ children: /* @__PURE__ */ r(ce, {})
2474
3042
  })
2475
- }), /* @__PURE__ */ r(lr, {
3043
+ }), /* @__PURE__ */ r(Ln, {
2476
3044
  align: "end",
2477
3045
  children: s(e)
2478
3046
  })] }) })
@@ -2482,7 +3050,7 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
2482
3050
  });
2483
3051
  }
2484
3052
  // src/app/sparkline.algorithm.ts
2485
- function yi(e, t, n, r = 2) {
3053
+ function Zi(e, t, n, r = 2) {
2486
3054
  if (e.length < 2) return "";
2487
3055
  let i = Math.min(...e), a = Math.max(...e) - i, o = n - r * 2, s = t / (e.length - 1);
2488
3056
  return e.map((e, t) => {
@@ -2491,16 +3059,16 @@ function yi(e, t, n, r = 2) {
2491
3059
  }).join(" ");
2492
3060
  }
2493
3061
  // src/app/stat-card.component.tsx
2494
- var bi = {
3062
+ var Qi = {
2495
3063
  positive: "text-success",
2496
3064
  negative: "text-destructive",
2497
3065
  neutral: "text-muted-foreground"
2498
3066
  };
2499
- function xi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
2500
- let c = o ? yi(o, 100, 32) : "";
2501
- return /* @__PURE__ */ i(zt, {
3067
+ function $i({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
3068
+ let c = o ? Zi(o, 100, 32) : "";
3069
+ return /* @__PURE__ */ i(gr, {
2502
3070
  "data-slot": "stat-card",
2503
- className: M("gap-1.5 p-4", s),
3071
+ className: z("gap-1.5 p-4", s),
2504
3072
  children: [
2505
3073
  /* @__PURE__ */ r("span", {
2506
3074
  className: "text-[13px] text-muted-foreground",
@@ -2529,14 +3097,14 @@ function xi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
2529
3097
  })]
2530
3098
  }),
2531
3099
  n && /* @__PURE__ */ r("span", {
2532
- className: M("text-xs", bi[a]),
3100
+ className: z("text-xs", Qi[a]),
2533
3101
  children: n
2534
3102
  })
2535
3103
  ]
2536
3104
  });
2537
3105
  }
2538
3106
  // src/status/run-status.contract.ts
2539
- var Si = [
3107
+ var ea = [
2540
3108
  "queued",
2541
3109
  "waiting",
2542
3110
  "running",
@@ -2544,7 +3112,7 @@ var Si = [
2544
3112
  "no-records",
2545
3113
  "failed",
2546
3114
  "off"
2547
- ], Ci = {
3115
+ ], ta = {
2548
3116
  queued: {
2549
3117
  label: "Queued",
2550
3118
  variant: "secondary",
@@ -2581,13 +3149,13 @@ var Si = [
2581
3149
  live: !1
2582
3150
  }
2583
3151
  };
2584
- function wi(e) {
2585
- return Ci[e];
3152
+ function na(e) {
3153
+ return ta[e];
2586
3154
  }
2587
3155
  // src/status/status-badge.component.tsx
2588
- function Ti({ status: e, ...t }) {
2589
- let { label: n, variant: i, live: a } = wi(e);
2590
- return /* @__PURE__ */ r(R, {
3156
+ function ra({ status: e, ...t }) {
3157
+ let { label: n, variant: i, live: a } = na(e);
3158
+ return /* @__PURE__ */ r(G, {
2591
3159
  variant: i,
2592
3160
  dot: a,
2593
3161
  "data-status": e,
@@ -2596,25 +3164,25 @@ function Ti({ status: e, ...t }) {
2596
3164
  });
2597
3165
  }
2598
3166
  // src/desktop/flow-node.component.tsx
2599
- function Ei({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
3167
+ function ia({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
2600
3168
  return /* @__PURE__ */ i("button", {
2601
3169
  type: "button",
2602
3170
  "data-slot": "flow-node",
2603
3171
  "aria-pressed": o,
2604
3172
  onClick: s,
2605
- 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),
3173
+ className: z("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),
2606
3174
  children: [/* @__PURE__ */ i("span", {
2607
3175
  className: "flex items-center gap-2 border-b px-2.5 py-2",
2608
3176
  children: [
2609
3177
  /* @__PURE__ */ r("span", {
2610
3178
  "aria-hidden": "true",
2611
- className: M("size-2 shrink-0 rounded-[2px]", a ? I[a] : "bg-muted-foreground")
3179
+ className: z("size-2 shrink-0 rounded-[2px]", a ? U[a] : "bg-muted-foreground")
2612
3180
  }),
2613
3181
  /* @__PURE__ */ r("span", {
2614
3182
  className: "font-semibold",
2615
3183
  children: e
2616
3184
  }),
2617
- /* @__PURE__ */ r(Ti, {
3185
+ /* @__PURE__ */ r(ra, {
2618
3186
  status: n,
2619
3187
  className: "ms-auto h-[18px] text-[11px]"
2620
3188
  })
@@ -2626,18 +3194,18 @@ function Ei({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
2626
3194
  });
2627
3195
  }
2628
3196
  // src/desktop/inspector.component.tsx
2629
- function Di({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
3197
+ function aa({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
2630
3198
  return /* @__PURE__ */ i("aside", {
2631
3199
  "data-slot": "inspector",
2632
3200
  "aria-label": "Inspector",
2633
- className: M("flex h-full flex-col text-[13px]", s),
3201
+ className: z("flex h-full flex-col text-[13px]", s),
2634
3202
  children: [
2635
3203
  /* @__PURE__ */ i("div", {
2636
3204
  className: "flex items-center gap-2 border-b p-3",
2637
3205
  children: [
2638
3206
  n && /* @__PURE__ */ r("span", {
2639
3207
  "aria-hidden": "true",
2640
- className: M("size-2.5 shrink-0 rounded-[3px]", I[n])
3208
+ className: z("size-2.5 shrink-0 rounded-[3px]", U[n])
2641
3209
  }),
2642
3210
  /* @__PURE__ */ r("h2", {
2643
3211
  className: "m-0 type-h4",
@@ -2649,18 +3217,18 @@ function Di({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
2649
3217
  })
2650
3218
  ]
2651
3219
  }),
2652
- /* @__PURE__ */ i(Rr, {
3220
+ /* @__PURE__ */ i(si, {
2653
3221
  defaultValue: a[0]?.value,
2654
3222
  className: "min-h-0 flex-1 gap-0",
2655
- children: [/* @__PURE__ */ r(zr, {
3223
+ children: [/* @__PURE__ */ r(ui, {
2656
3224
  variant: "underline",
2657
3225
  className: "gap-4 px-3",
2658
- children: a.map((e) => /* @__PURE__ */ r(Br, {
3226
+ children: a.map((e) => /* @__PURE__ */ r(fi, {
2659
3227
  value: e.value,
2660
3228
  className: "text-[13px] group-data-[variant=underline]/tabs-list:py-2",
2661
3229
  children: e.label
2662
3230
  }, e.value))
2663
- }), a.map((e) => /* @__PURE__ */ r(Vr, {
3231
+ }), a.map((e) => /* @__PURE__ */ r(pi, {
2664
3232
  value: e.value,
2665
3233
  className: "flex flex-col gap-3 overflow-y-auto p-3",
2666
3234
  children: e.content
@@ -2674,11 +3242,11 @@ function Di({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
2674
3242
  });
2675
3243
  }
2676
3244
  // src/desktop/status-bar.component.tsx
2677
- function Oi({ start: e, end: t, className: n }) {
3245
+ function oa({ start: e, end: t, className: n }) {
2678
3246
  return /* @__PURE__ */ i("div", {
2679
3247
  "data-slot": "status-bar",
2680
3248
  role: "status",
2681
- 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),
3249
+ className: z("flex h-6 shrink-0 items-center gap-3.5 border-t bg-sidebar px-2.5 text-xs text-muted-foreground", n),
2682
3250
  children: [e, t && /* @__PURE__ */ r("div", {
2683
3251
  className: "ms-auto flex items-center gap-3.5",
2684
3252
  children: t
@@ -2686,7 +3254,7 @@ function Oi({ start: e, end: t, className: n }) {
2686
3254
  });
2687
3255
  }
2688
3256
  // src/desktop/timeline.algorithm.ts
2689
- function ki(e, t, n) {
3257
+ function sa(e, t, n) {
2690
3258
  if (n <= 0) return {
2691
3259
  left: 0,
2692
3260
  width: 0
@@ -2697,7 +3265,7 @@ function ki(e, t, n) {
2697
3265
  width: Math.max(0, r(t) - i)
2698
3266
  };
2699
3267
  }
2700
- function Ai(e, t) {
3268
+ function ca(e, t) {
2701
3269
  let n = Math.max(2, t);
2702
3270
  return Array.from({ length: n }, (t, r) => Math.round(e * r / (n - 1)));
2703
3271
  }
@@ -2705,27 +3273,27 @@ function Ai(e, t) {
2705
3273
  function $(e) {
2706
3274
  return String(e).padStart(2, "0");
2707
3275
  }
2708
- function ji(e, t = !1) {
3276
+ function la(e, t = !1) {
2709
3277
  let n = Math.max(0, Math.floor(e)), r = Math.floor(n / 3600), i = Math.floor(n % 3600 / 60), a = n % 60;
2710
3278
  return t || r > 0 ? `${$(r)}:${$(i)}:${$(a)}` : `${$(i)}:${$(a)}`;
2711
3279
  }
2712
- function Mi(e, t) {
3280
+ function ua(e, t) {
2713
3281
  let n = new Date(e.getTime() + t * 1e3);
2714
3282
  return `${$(n.getHours())}:${$(n.getMinutes())}`;
2715
3283
  }
2716
3284
  // src/desktop/timeline-lanes.component.tsx
2717
- function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
2718
- let c = (e) => o ? Mi(o, e) : ji(e), l = n === void 0 ? void 0 : ki(0, n, e).width;
3285
+ function da({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
3286
+ let c = (e) => o ? ua(o, e) : la(e), l = n === void 0 ? void 0 : sa(0, n, e).width;
2719
3287
  return /* @__PURE__ */ i("div", {
2720
3288
  "data-slot": "timeline-lanes",
2721
3289
  role: "group",
2722
3290
  "aria-label": "Timeline",
2723
- className: M("relative flex flex-col text-[13px]", s),
3291
+ className: z("relative flex flex-col text-[13px]", s),
2724
3292
  children: [
2725
3293
  /* @__PURE__ */ r("div", {
2726
3294
  className: "flex h-[26px] items-center border-b ps-[118px] pe-2.5",
2727
3295
  "aria-hidden": "true",
2728
- children: Ai(e, a).map((e) => /* @__PURE__ */ r("span", {
3296
+ children: ca(e, a).map((e) => /* @__PURE__ */ r("span", {
2729
3297
  className: "flex-1 text-xs tabular-nums text-muted-foreground",
2730
3298
  children: c(e)
2731
3299
  }, e))
@@ -2736,24 +3304,24 @@ function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
2736
3304
  className: "flex w-[108px] shrink-0 items-center gap-1.5 px-2.5 font-medium",
2737
3305
  children: [/* @__PURE__ */ r("span", {
2738
3306
  "aria-hidden": "true",
2739
- className: M("size-2 shrink-0 rounded-[2px]", I[t.hue])
3307
+ className: z("size-2 shrink-0 rounded-[2px]", U[t.hue])
2740
3308
  }), t.name]
2741
3309
  }), /* @__PURE__ */ r("div", {
2742
3310
  className: "relative me-2.5 h-[26px] flex-1",
2743
3311
  children: t.segments.map((n) => {
2744
- let a = ki(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
2745
- return /* @__PURE__ */ i(J, { children: [/* @__PURE__ */ r(Rn, {
3312
+ let a = sa(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
3313
+ return /* @__PURE__ */ i(dn, { children: [/* @__PURE__ */ r(fn, {
2746
3314
  asChild: !0,
2747
3315
  children: /* @__PURE__ */ r("button", {
2748
3316
  type: "button",
2749
3317
  "aria-label": o,
2750
- 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"),
3318
+ className: z("absolute inset-y-0 cursor-pointer rounded-[5px] outline-none focus-visible:ring-2 focus-visible:ring-ring", U[t.hue], n.faint ? "opacity-35" : "opacity-85"),
2751
3319
  style: {
2752
3320
  left: `${a.left}%`,
2753
3321
  width: `${a.width}%`
2754
3322
  }
2755
3323
  })
2756
- }), /* @__PURE__ */ r(zn, { children: o })] }, `${n.start}-${n.end}`);
3324
+ }), /* @__PURE__ */ r(pn, { children: o })] }, `${n.start}-${n.end}`);
2757
3325
  })
2758
3326
  })]
2759
3327
  }, t.name)),
@@ -2766,35 +3334,35 @@ function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
2766
3334
  });
2767
3335
  }
2768
3336
  // src/desktop/title-bar.component.tsx
2769
- function Pi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
3337
+ function fa({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
2770
3338
  let l = [
2771
3339
  {
2772
3340
  label: "Minimise",
2773
- icon: /* @__PURE__ */ r(he, {}),
3341
+ icon: /* @__PURE__ */ r(ue, {}),
2774
3342
  onClick: a
2775
3343
  },
2776
3344
  {
2777
3345
  label: "Maximise",
2778
- icon: /* @__PURE__ */ r(be, {}),
3346
+ icon: /* @__PURE__ */ r(ge, {}),
2779
3347
  onClick: o
2780
3348
  },
2781
3349
  {
2782
3350
  label: "Close window",
2783
- icon: /* @__PURE__ */ r(D, {}),
3351
+ icon: /* @__PURE__ */ r(N, {}),
2784
3352
  onClick: s
2785
3353
  }
2786
3354
  ].filter((e) => e.onClick);
2787
3355
  return /* @__PURE__ */ i("div", {
2788
3356
  "data-slot": "title-bar",
2789
3357
  "data-tauri-drag-region": "",
2790
- className: M("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
3358
+ className: z("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
2791
3359
  children: [
2792
- /* @__PURE__ */ r(P, {
3360
+ /* @__PURE__ */ r(V, {
2793
3361
  product: e,
2794
3362
  alt: "",
2795
3363
  className: "size-[18px]"
2796
3364
  }),
2797
- t && /* @__PURE__ */ r(Cr, { children: t }),
3365
+ t && /* @__PURE__ */ r(Wr, { children: t }),
2798
3366
  /* @__PURE__ */ r("span", {
2799
3367
  "data-tauri-drag-region": "",
2800
3368
  className: "flex-1 truncate text-center text-[12.5px] text-muted-foreground",
@@ -2802,11 +3370,11 @@ function Pi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
2802
3370
  }),
2803
3371
  l.length > 0 && /* @__PURE__ */ r("div", {
2804
3372
  className: "flex h-full",
2805
- children: l.map((e) => /* @__PURE__ */ r(B, {
3373
+ children: l.map((e) => /* @__PURE__ */ r(q, {
2806
3374
  variant: "ghost",
2807
3375
  "aria-label": e.label,
2808
3376
  onClick: e.onClick,
2809
- 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"),
3377
+ className: z("h-full w-[46px] rounded-none px-0 [&_svg]:size-3.5", e.label === "Close window" && "hover:bg-destructive hover:text-destructive-foreground"),
2810
3378
  children: e.icon
2811
3379
  }, e.label))
2812
3380
  })
@@ -2814,11 +3382,11 @@ function Pi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
2814
3382
  });
2815
3383
  }
2816
3384
  // src/mobile/bottom-nav.component.tsx
2817
- function Fi({ items: e, className: t }) {
3385
+ function pa({ items: e, className: t }) {
2818
3386
  return /* @__PURE__ */ r("nav", {
2819
3387
  "data-slot": "bottom-nav",
2820
3388
  "aria-label": "Tabs",
2821
- className: M("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
3389
+ className: z("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
2822
3390
  style: { gridTemplateColumns: `repeat(${e.length}, minmax(0, 1fr))` },
2823
3391
  children: e.map((e) => /* @__PURE__ */ i("a", {
2824
3392
  href: e.href,
@@ -2836,22 +3404,22 @@ function Fi({ items: e, className: t }) {
2836
3404
  });
2837
3405
  }
2838
3406
  // src/mobile/capture-frame.component.tsx
2839
- function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
3407
+ function ma({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
2840
3408
  let l = a.filter((e) => !e.passed).length;
2841
3409
  return /* @__PURE__ */ i("div", {
2842
3410
  "data-slot": "capture-frame",
2843
- className: M("flex h-full flex-col bg-[#0e0d12]", c),
3411
+ className: z("flex h-full flex-col bg-[#0e0d12]", c),
2844
3412
  children: [/* @__PURE__ */ i("div", {
2845
3413
  className: "relative grid min-h-[440px] flex-1 place-items-center overflow-hidden",
2846
3414
  children: [/* @__PURE__ */ i("div", {
2847
3415
  className: "absolute inset-x-4 top-[max(env(safe-area-inset-top),16px)] z-10 flex items-center justify-between",
2848
3416
  children: [
2849
- /* @__PURE__ */ r(B, {
3417
+ /* @__PURE__ */ r(q, {
2850
3418
  size: "icon",
2851
3419
  "aria-label": "Close camera",
2852
3420
  onClick: o,
2853
3421
  className: "rounded-full bg-white/14 text-white hover:bg-white/24",
2854
- children: /* @__PURE__ */ r(D, {})
3422
+ children: /* @__PURE__ */ r(N, {})
2855
3423
  }),
2856
3424
  /* @__PURE__ */ r("span", {
2857
3425
  className: "text-sm font-semibold text-white",
@@ -2872,12 +3440,12 @@ function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
2872
3440
  children: [/* @__PURE__ */ r("h2", {
2873
3441
  className: "m-0 type-h3 text-[19px]",
2874
3442
  children: n
2875
- }), l > 0 ? /* @__PURE__ */ i(R, {
3443
+ }), l > 0 ? /* @__PURE__ */ i(G, {
2876
3444
  variant: "danger",
2877
3445
  dot: !0,
2878
3446
  className: "ms-auto",
2879
3447
  children: [l, " failed"]
2880
- }) : /* @__PURE__ */ r(R, {
3448
+ }) : /* @__PURE__ */ r(G, {
2881
3449
  variant: "success",
2882
3450
  dot: !0,
2883
3451
  className: "ms-auto",
@@ -2890,11 +3458,11 @@ function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
2890
3458
  className: "flex min-h-10 items-center gap-3 border-b",
2891
3459
  children: [
2892
3460
  /* @__PURE__ */ r("span", {
2893
- 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"),
2894
- children: e.passed ? /* @__PURE__ */ r(T, {
3461
+ className: z("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"),
3462
+ children: e.passed ? /* @__PURE__ */ r(k, {
2895
3463
  strokeWidth: 3,
2896
3464
  "aria-label": "Passed"
2897
- }) : /* @__PURE__ */ r(D, {
3465
+ }) : /* @__PURE__ */ r(N, {
2898
3466
  strokeWidth: 3,
2899
3467
  "aria-label": "Failed"
2900
3468
  })
@@ -2919,43 +3487,43 @@ function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
2919
3487
  });
2920
3488
  }
2921
3489
  // src/mobile/record-button.component.tsx
2922
- function Li({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
3490
+ function ha({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
2923
3491
  let u = {
2924
3492
  idle: {
2925
3493
  label: "Start recording",
2926
- icon: /* @__PURE__ */ r(me, {}),
3494
+ icon: /* @__PURE__ */ r(M, {}),
2927
3495
  onClick: a
2928
3496
  },
2929
3497
  recording: {
2930
3498
  label: "Pause",
2931
- icon: /* @__PURE__ */ r(_e, {}),
3499
+ icon: /* @__PURE__ */ r(fe, {}),
2932
3500
  onClick: o
2933
3501
  },
2934
3502
  paused: {
2935
3503
  label: "Resume",
2936
- icon: /* @__PURE__ */ r(ve, {}),
3504
+ icon: /* @__PURE__ */ r(pe, {}),
2937
3505
  onClick: s
2938
3506
  }
2939
3507
  }[e];
2940
3508
  return /* @__PURE__ */ i("div", {
2941
3509
  "data-slot": "record-button",
2942
- className: M("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
3510
+ className: z("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
2943
3511
  children: [
2944
3512
  /* @__PURE__ */ i("div", {
2945
3513
  className: "flex items-center gap-2",
2946
3514
  children: [
2947
- e === "recording" && /* @__PURE__ */ r(R, {
3515
+ e === "recording" && /* @__PURE__ */ r(G, {
2948
3516
  variant: "danger",
2949
3517
  dot: !0,
2950
3518
  className: "bg-card",
2951
3519
  children: "Recording"
2952
3520
  }),
2953
- e === "paused" && /* @__PURE__ */ r(R, {
3521
+ e === "paused" && /* @__PURE__ */ r(G, {
2954
3522
  variant: "warning",
2955
3523
  className: "bg-card",
2956
3524
  children: "Paused"
2957
3525
  }),
2958
- e === "idle" && /* @__PURE__ */ r(R, {
3526
+ e === "idle" && /* @__PURE__ */ r(G, {
2959
3527
  variant: "outline",
2960
3528
  className: "bg-card",
2961
3529
  children: "Not recording"
@@ -2963,7 +3531,7 @@ function Li({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
2963
3531
  /* @__PURE__ */ r("span", {
2964
3532
  className: "ms-auto text-[13px] font-semibold tabular-nums",
2965
3533
  "aria-label": "Recorded time",
2966
- children: ji(t, !0)
3534
+ children: la(t, !0)
2967
3535
  })
2968
3536
  ]
2969
3537
  }),
@@ -2971,31 +3539,31 @@ function Li({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
2971
3539
  "aria-hidden": "true",
2972
3540
  className: "flex h-10 items-center gap-[3px]",
2973
3541
  children: n.map((t, n) => /* @__PURE__ */ r("span", {
2974
- className: M("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
3542
+ className: z("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
2975
3543
  style: { height: `${Math.round(6 + Math.min(1, Math.max(0, t)) * 30)}px` }
2976
3544
  }, n))
2977
3545
  }),
2978
3546
  /* @__PURE__ */ i("div", {
2979
3547
  className: "flex gap-2.5",
2980
- children: [/* @__PURE__ */ i(B, {
3548
+ children: [/* @__PURE__ */ i(q, {
2981
3549
  className: "flex-1",
2982
3550
  onClick: u.onClick,
2983
3551
  children: [u.icon, u.label]
2984
- }), e === "recording" && c && /* @__PURE__ */ r(B, {
3552
+ }), e === "recording" && c && /* @__PURE__ */ r(q, {
2985
3553
  variant: "outline",
2986
3554
  size: "icon",
2987
3555
  className: "bg-card",
2988
3556
  "aria-label": "Add a marker",
2989
3557
  onClick: c,
2990
- children: /* @__PURE__ */ r(ie, {})
3558
+ children: /* @__PURE__ */ r(ne, {})
2991
3559
  })]
2992
3560
  })
2993
3561
  ]
2994
3562
  });
2995
3563
  }
2996
3564
  // src/web/cta-band.component.tsx
2997
- function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
2998
- let c = De();
3565
+ function ga({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
3566
+ let c = we();
2999
3567
  function l(e) {
3000
3568
  e.preventDefault();
3001
3569
  let t = new FormData(e.currentTarget).get("email");
@@ -3003,7 +3571,7 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3003
3571
  }
3004
3572
  return /* @__PURE__ */ r("section", {
3005
3573
  "data-slot": "cta-band",
3006
- className: M("py-22", s),
3574
+ className: z("py-22", s),
3007
3575
  children: /* @__PURE__ */ r("div", {
3008
3576
  className: "mx-auto max-w-[1200px] px-6",
3009
3577
  children: /* @__PURE__ */ i("div", {
@@ -3026,7 +3594,7 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3026
3594
  className: "sr-only",
3027
3595
  children: a
3028
3596
  }),
3029
- /* @__PURE__ */ r(U, {
3597
+ /* @__PURE__ */ r(vt, {
3030
3598
  id: c,
3031
3599
  name: "email",
3032
3600
  type: "email",
@@ -3035,7 +3603,7 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3035
3603
  placeholder: a,
3036
3604
  className: "flex-[1_1_220px] border-transparent"
3037
3605
  }),
3038
- /* @__PURE__ */ r(B, {
3606
+ /* @__PURE__ */ r(q, {
3039
3607
  type: "submit",
3040
3608
  className: "bg-foreground text-background hover:bg-foreground/90",
3041
3609
  children: o
@@ -3047,21 +3615,21 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3047
3615
  });
3048
3616
  }
3049
3617
  // src/web/faq.component.tsx
3050
- function zi({ title: e, items: t, className: n }) {
3618
+ function _a({ title: e, items: t, className: n }) {
3051
3619
  return /* @__PURE__ */ r("section", {
3052
3620
  "data-slot": "faq",
3053
- className: M("py-22", n),
3621
+ className: z("py-22", n),
3054
3622
  children: /* @__PURE__ */ i("div", {
3055
3623
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
3056
3624
  children: [/* @__PURE__ */ r("h2", {
3057
3625
  className: "m-0 type-h2 text-4xl",
3058
3626
  children: e
3059
- }), /* @__PURE__ */ r(Ft, {
3627
+ }), /* @__PURE__ */ r(fr, {
3060
3628
  type: "single",
3061
3629
  collapsible: !0,
3062
- children: t.map((e) => /* @__PURE__ */ i(It, {
3630
+ children: t.map((e) => /* @__PURE__ */ i(pr, {
3063
3631
  value: e.question,
3064
- children: [/* @__PURE__ */ r(Lt, { children: e.question }), /* @__PURE__ */ r(Rt, {
3632
+ children: [/* @__PURE__ */ r(mr, { children: e.question }), /* @__PURE__ */ r(hr, {
3065
3633
  className: "text-[15px]",
3066
3634
  children: e.answer
3067
3635
  })]
@@ -3071,10 +3639,10 @@ function zi({ title: e, items: t, className: n }) {
3071
3639
  });
3072
3640
  }
3073
3641
  // src/web/feature-grid.component.tsx
3074
- function Bi({ title: e, lead: t, features: n, className: a }) {
3642
+ function va({ title: e, lead: t, features: n, className: a }) {
3075
3643
  return /* @__PURE__ */ r("section", {
3076
3644
  "data-slot": "feature-grid",
3077
- className: M("border-y bg-canvas py-22", a),
3645
+ className: z("border-y bg-canvas py-22", a),
3078
3646
  children: /* @__PURE__ */ i("div", {
3079
3647
  className: "mx-auto flex max-w-[1200px] flex-col gap-10 px-6",
3080
3648
  children: [(e || t) && /* @__PURE__ */ i("div", {
@@ -3111,14 +3679,14 @@ function Bi({ title: e, lead: t, features: n, className: a }) {
3111
3679
  });
3112
3680
  }
3113
3681
  // src/web/hero.component.tsx
3114
- function Vi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3682
+ function ya({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3115
3683
  return /* @__PURE__ */ r("section", {
3116
3684
  "data-slot": "hero",
3117
- className: M("pt-22 pb-14", o),
3685
+ className: z("pt-22 pb-14", o),
3118
3686
  children: /* @__PURE__ */ i("div", {
3119
3687
  className: "mx-auto flex max-w-[1200px] flex-col items-start gap-5.5 px-6",
3120
3688
  children: [
3121
- e && /* @__PURE__ */ r(R, {
3689
+ e && /* @__PURE__ */ r(G, {
3122
3690
  variant: "brand",
3123
3691
  className: "h-7 px-3 text-[13px]",
3124
3692
  children: e
@@ -3140,10 +3708,10 @@ function Vi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3140
3708
  });
3141
3709
  }
3142
3710
  // src/web/how-it-works.component.tsx
3143
- function Hi({ title: e, lead: t, link: n, steps: a, className: o }) {
3711
+ function ba({ title: e, lead: t, link: n, steps: a, className: o }) {
3144
3712
  return /* @__PURE__ */ r("section", {
3145
3713
  "data-slot": "how-it-works",
3146
- className: M("py-22", o),
3714
+ className: z("py-22", o),
3147
3715
  children: /* @__PURE__ */ i("div", {
3148
3716
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
3149
3717
  children: [/* @__PURE__ */ i("div", {
@@ -3183,14 +3751,14 @@ function Hi({ title: e, lead: t, link: n, steps: a, className: o }) {
3183
3751
  });
3184
3752
  }
3185
3753
  // src/web/mobile-menu.component.tsx
3186
- var Ui = 400;
3187
- function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3188
- let [o, s] = k(!1), [c, l] = k(), [u, f] = k(!1), p = Oe(null);
3189
- O(() => {
3754
+ var xa = 400;
3755
+ function Sa({ links: e, actions: t, label: n = "Main", className: a }) {
3756
+ let [o, s] = I(!1), [c, l] = I(), [u, f] = I(!1), p = F(null);
3757
+ P(() => {
3190
3758
  if (o) return;
3191
- let e = setTimeout(() => f(!1), Ui);
3759
+ let e = setTimeout(() => f(!1), xa);
3192
3760
  return () => clearTimeout(e);
3193
- }, [o]), O(() => {
3761
+ }, [o]), P(() => {
3194
3762
  if (!o) return;
3195
3763
  let e = new ResizeObserver(() => m());
3196
3764
  return e.observe(document.documentElement), () => e.disconnect();
@@ -3216,13 +3784,13 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3216
3784
  onOpenChange: h,
3217
3785
  children: [/* @__PURE__ */ r(d.Trigger, {
3218
3786
  asChild: !0,
3219
- children: /* @__PURE__ */ r(B, {
3787
+ children: /* @__PURE__ */ r(q, {
3220
3788
  ref: p,
3221
3789
  variant: "ghost",
3222
3790
  size: "icon",
3223
3791
  "aria-label": "Open menu",
3224
3792
  className: a,
3225
- children: /* @__PURE__ */ r(Sr, { className: u ? "invisible" : void 0 })
3793
+ children: /* @__PURE__ */ r(Ur, { className: u ? "invisible" : void 0 })
3226
3794
  })
3227
3795
  }), /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, {
3228
3796
  "data-slot": "mobile-menu-backdrop",
@@ -3240,7 +3808,7 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3240
3808
  /* @__PURE__ */ r("div", {
3241
3809
  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))]",
3242
3810
  children: /* @__PURE__ */ r("div", {
3243
- 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"),
3811
+ className: z("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"),
3244
3812
  children: /* @__PURE__ */ i("div", {
3245
3813
  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",
3246
3814
  children: [/* @__PURE__ */ r("nav", {
@@ -3262,7 +3830,7 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3262
3830
  }),
3263
3831
  /* @__PURE__ */ r(d.Close, {
3264
3832
  asChild: !0,
3265
- children: /* @__PURE__ */ r(B, {
3833
+ children: /* @__PURE__ */ r(q, {
3266
3834
  variant: "ghost",
3267
3835
  size: "icon",
3268
3836
  "aria-label": "Close menu",
@@ -3276,7 +3844,7 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3276
3844
  right: 24,
3277
3845
  top: 12
3278
3846
  },
3279
- children: /* @__PURE__ */ r(Sr, { open: o })
3847
+ children: /* @__PURE__ */ r(Ur, { open: o })
3280
3848
  })
3281
3849
  })
3282
3850
  ]
@@ -3284,11 +3852,11 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3284
3852
  });
3285
3853
  }
3286
3854
  // src/web/pricing-table.component.tsx
3287
- function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
3288
- let [l, u] = k(a);
3855
+ function Ca({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
3856
+ let [l, u] = I(a);
3289
3857
  return /* @__PURE__ */ r("section", {
3290
3858
  "data-slot": "pricing-table",
3291
- className: M("border-y bg-canvas py-22", c),
3859
+ className: z("border-y bg-canvas py-22", c),
3292
3860
  children: /* @__PURE__ */ i("div", {
3293
3861
  className: "mx-auto flex max-w-[1200px] flex-col gap-8 px-6",
3294
3862
  children: [
@@ -3303,15 +3871,15 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3303
3871
  className: "m-0 type-lead",
3304
3872
  children: t
3305
3873
  })]
3306
- }), /* @__PURE__ */ i(mt, {
3874
+ }), /* @__PURE__ */ i(dt, {
3307
3875
  type: "single",
3308
3876
  value: l,
3309
3877
  onValueChange: (e) => e && u(e),
3310
3878
  "aria-label": "Billing",
3311
- children: [/* @__PURE__ */ r(ht, {
3879
+ children: [/* @__PURE__ */ r(ft, {
3312
3880
  value: "monthly",
3313
3881
  children: "Monthly"
3314
- }), /* @__PURE__ */ r(ht, {
3882
+ }), /* @__PURE__ */ r(ft, {
3315
3883
  value: "yearly",
3316
3884
  children: "Yearly"
3317
3885
  })]
@@ -3321,14 +3889,14 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3321
3889
  className: "m-0 grid list-none grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-4 p-0",
3322
3890
  children: n.map((e) => /* @__PURE__ */ i("li", {
3323
3891
  "aria-label": e.name,
3324
- 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)]"),
3892
+ className: z("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)]"),
3325
3893
  children: [
3326
3894
  /* @__PURE__ */ i("div", {
3327
3895
  className: "flex items-center justify-between",
3328
3896
  children: [/* @__PURE__ */ r("h3", {
3329
3897
  className: "m-0 type-h3",
3330
3898
  children: e.name
3331
- }), e.featured && /* @__PURE__ */ r(R, { children: s })]
3899
+ }), e.featured && /* @__PURE__ */ r(G, { children: s })]
3332
3900
  }),
3333
3901
  /* @__PURE__ */ r("span", {
3334
3902
  className: "font-display text-[34px] font-extrabold tracking-tight",
@@ -3343,14 +3911,14 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3343
3911
  className: "m-0 flex list-none flex-col gap-2.5 p-0 text-[15px]",
3344
3912
  children: e.features.map((e) => /* @__PURE__ */ i("li", {
3345
3913
  className: "flex gap-2.5",
3346
- children: [/* @__PURE__ */ r(T, {
3914
+ children: [/* @__PURE__ */ r(k, {
3347
3915
  className: "mt-0.5 size-4.5 shrink-0 text-brand-text",
3348
3916
  strokeWidth: 2,
3349
3917
  "aria-hidden": "true"
3350
3918
  }), e]
3351
3919
  }, e))
3352
3920
  }),
3353
- /* @__PURE__ */ r(B, {
3921
+ /* @__PURE__ */ r(q, {
3354
3922
  asChild: !0,
3355
3923
  variant: e.featured ? "default" : "outline",
3356
3924
  className: "mt-auto",
@@ -3371,20 +3939,20 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3371
3939
  });
3372
3940
  }
3373
3941
  // src/web/product-card.component.tsx
3374
- function Ki({ product: e, href: t, description: n, stage: a, className: o }) {
3375
- let s = N[e];
3942
+ function wa({ product: e, href: t, description: n, stage: a, className: o }) {
3943
+ let s = B[e];
3376
3944
  return /* @__PURE__ */ i("a", {
3377
3945
  "data-slot": "product-card",
3378
3946
  "data-product": e,
3379
3947
  href: t,
3380
- 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),
3948
+ className: z("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),
3381
3949
  children: [/* @__PURE__ */ r("span", {
3382
3950
  "aria-hidden": "true",
3383
3951
  className: "block h-1.5 bg-brand"
3384
3952
  }), /* @__PURE__ */ i("span", {
3385
3953
  className: "flex flex-col gap-3.5 p-5.5",
3386
3954
  children: [
3387
- /* @__PURE__ */ r(P, {
3955
+ /* @__PURE__ */ r(V, {
3388
3956
  product: e,
3389
3957
  alt: "",
3390
3958
  className: "size-11"
@@ -3399,7 +3967,7 @@ function Ki({ product: e, href: t, description: n, stage: a, className: o }) {
3399
3967
  children: n ?? s.tagline
3400
3968
  })]
3401
3969
  }),
3402
- /* @__PURE__ */ r(R, {
3970
+ /* @__PURE__ */ r(G, {
3403
3971
  variant: "outline",
3404
3972
  className: "self-start",
3405
3973
  children: a ?? s.stage
@@ -3409,23 +3977,23 @@ function Ki({ product: e, href: t, description: n, stage: a, className: o }) {
3409
3977
  });
3410
3978
  }
3411
3979
  // src/web/site-footer.component.tsx
3412
- function qi({ tagline: e, columns: t, legal: n, className: a }) {
3980
+ function Ta({ tagline: e, columns: t, legal: n, className: a }) {
3413
3981
  return /* @__PURE__ */ i("footer", {
3414
3982
  "data-slot": "site-footer",
3415
- className: M("border-t pt-14 pb-10", a),
3983
+ className: z("border-t pt-14 pb-10", a),
3416
3984
  children: [/* @__PURE__ */ i("div", {
3417
3985
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(160px,1fr))] gap-8 px-6",
3418
3986
  children: [/* @__PURE__ */ i("div", {
3419
3987
  className: "col-span-2 flex flex-col gap-3",
3420
3988
  children: [/* @__PURE__ */ i("span", {
3421
3989
  className: "flex items-center gap-2",
3422
- children: [/* @__PURE__ */ r(P, {
3990
+ children: [/* @__PURE__ */ r(V, {
3423
3991
  product: "talogic",
3424
3992
  alt: "",
3425
3993
  className: "size-7"
3426
3994
  }), /* @__PURE__ */ r("span", {
3427
3995
  className: "font-display text-xl font-extrabold tracking-tight",
3428
- children: "Talogic"
3996
+ children: "talogic"
3429
3997
  })]
3430
3998
  }), e && /* @__PURE__ */ r("p", {
3431
3999
  className: "m-0 max-w-[300px] text-[13px] text-muted-foreground",
@@ -3450,33 +4018,33 @@ function qi({ tagline: e, columns: t, legal: n, className: a }) {
3450
4018
  });
3451
4019
  }
3452
4020
  // src/web/site-header.component.tsx
3453
- function Ji({ nav: e, actions: t, brand: a, className: o }) {
4021
+ function Ea({ nav: e, actions: t, brand: a, className: o }) {
3454
4022
  let s = a ?? /* @__PURE__ */ i("a", {
3455
4023
  href: "/",
3456
4024
  className: "flex items-center gap-2 no-underline",
3457
- "aria-label": "Talogic home",
3458
- children: [/* @__PURE__ */ r(P, {
4025
+ "aria-label": "talogic home",
4026
+ children: [/* @__PURE__ */ r(V, {
3459
4027
  product: "talogic",
3460
4028
  alt: "",
3461
4029
  className: "size-7"
3462
4030
  }), /* @__PURE__ */ r("span", {
3463
4031
  className: "font-display text-xl font-extrabold tracking-tight text-foreground",
3464
- children: "Talogic"
4032
+ children: "talogic"
3465
4033
  })]
3466
4034
  });
3467
4035
  return /* @__PURE__ */ r("header", {
3468
4036
  "data-slot": "site-header",
3469
- className: M("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
4037
+ className: z("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
3470
4038
  children: /* @__PURE__ */ i("div", {
3471
4039
  className: "mx-auto flex h-[68px] max-w-[1200px] items-center gap-7 px-6",
3472
4040
  children: [
3473
4041
  s,
3474
- /* @__PURE__ */ r(Ar, {
4042
+ /* @__PURE__ */ r(Zr, {
3475
4043
  className: "hidden md:flex",
3476
4044
  "aria-label": "Main",
3477
- children: /* @__PURE__ */ r(jr, { children: e.map((e) => /* @__PURE__ */ r(Mr, { children: e.links ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(Pr, { children: e.label }), /* @__PURE__ */ r(Fr, { children: /* @__PURE__ */ r("ul", {
4045
+ children: /* @__PURE__ */ r(Qr, { children: e.map((e) => /* @__PURE__ */ r($r, { children: e.links ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(ti, { children: e.label }), /* @__PURE__ */ r(ni, { children: /* @__PURE__ */ r("ul", {
3478
4046
  className: "m-0 grid w-[420px] list-none gap-1 p-0",
3479
- children: e.links.map((e) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ i(Ir, {
4047
+ children: e.links.map((e) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ i(ri, {
3480
4048
  href: e.href,
3481
4049
  className: "flex h-auto flex-col items-start gap-0.5 py-2",
3482
4050
  children: [/* @__PURE__ */ r("span", {
@@ -3487,7 +4055,7 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
3487
4055
  children: e.description
3488
4056
  })]
3489
4057
  }) }, e.href))
3490
- }) })] }) : /* @__PURE__ */ r(Ir, {
4058
+ }) })] }) : /* @__PURE__ */ r(ri, {
3491
4059
  href: e.href,
3492
4060
  children: e.label
3493
4061
  }) }, e.label)) })
@@ -3496,7 +4064,7 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
3496
4064
  className: "ms-auto hidden items-center gap-2 md:flex",
3497
4065
  children: t
3498
4066
  }),
3499
- /* @__PURE__ */ r(Wi, {
4067
+ /* @__PURE__ */ r(Sa, {
3500
4068
  className: "ms-auto md:hidden",
3501
4069
  links: e.flatMap((e) => e.links ?? [{
3502
4070
  label: e.label,
@@ -3508,6 +4076,6 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
3508
4076
  })
3509
4077
  });
3510
4078
  }
3511
- 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, pi as AppShell, nt as Avatar, it as AvatarFallback, rt as AvatarImage, R as Badge, Fi 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, Ii 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, Ri 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, zi as Faq, Bi as FeatureGrid, Tt as Field, mi as FilterBar, hi as FilterChip, Ei as FlowNode, gi as FormSection, Xe as HUES, I as HUE_FILL, Vi as Hero, Hi as HowItWorks, U as Input, Di 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, Wi 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, _i as PageHeader, Lr as Pagination, En as Popover, On as PopoverAnchor, kn as PopoverContent, Dn as PopoverTrigger, Gi as PricingTable, Ki as ProductCard, P as ProductLogo, ii as ProductSwitcher, yt as Progress, Si as RUN_STATUSES, ct as RadioGroup, lt as RadioGroupItem, Li as RecordButton, vi 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, qr as Sidebar, ai as SidebarBrand, Yr as SidebarCollapseButton, Zr as SidebarContent, $r as SidebarFooter, ei as SidebarGroup, Xr as SidebarHeader, ti as SidebarItem, Qr as SidebarNote, ri as SidebarSheet, Jr as SidebarTooltip, qi as SiteFooter, Ji as SiteHeader, bt as Skeleton, ut as Slider, xt as Spinner, xi as StatCard, Ti as StatusBadge, Oi 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, Ni as TimelineLanes, Pi 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, si as commandShortcutLabel, V as controlClassName, Z as fadingLabelClassName, q as floatingMotionClassName, Mi as formatClockTime, ji as formatTimecode, Je as hueForProduct, Ge as logoColorForHue, Q as navRowClassName, K as overlayClassName, ze as readableLabel, wi as runStatusDisplay, rn as sheetMotionClassName, Gr as sidebarNoteClassName, yi as sparklinePath, et as themeAttributes, ki as timelineBox, Ai as timelineTicks, oi as useCommandShortcut, fi as useCommandShortcutLabel, H as useFieldControl, X as useSidebar };
4079
+ export { fr as Accordion, hr as AccordionContent, pr as AccordionItem, mr as AccordionTrigger, nr as Alert, At as AlertDialog, Ft as AlertDialogAction, It as AlertDialogCancel, Mt as AlertDialogContent, Pt as AlertDialogDescription, Nt as AlertDialogTitle, jt as AlertDialogTrigger, Gi as AppShell, Wi as AppShellBody, Ui as AppShellHeader, $e as Avatar, tt as AvatarFallback, et as AvatarImage, G as Badge, pa as BottomNav, Ir as Breadcrumb, Rr as BreadcrumbItem, zr as BreadcrumbLink, Lr as BreadcrumbList, Br as BreadcrumbPage, Vr as BreadcrumbSeparator, q as Button, Xe as COLOUR_SCHEMES, ma as CaptureFrame, gr as Card, br as CardContent, yr as CardDescription, xr as CardFooter, _r as CardHeader, vr as CardTitle, it as Checkbox, Qn as Combobox, vn as Command, yn as CommandDialog, Sn as CommandEmpty, Cn as CommandGroup, bn as CommandInput, wn as CommandItem, xn as CommandList, Tn as CommandSeparator, En as CommandShortcut, Dn as ContextMenu, kn as ContextMenuContent, An as ContextMenuItem, jn as ContextMenuSeparator, Mn as ContextMenuShortcut, On as ContextMenuTrigger, ga as CtaBand, Ye as DENSITIES, Lt as Dialog, zt as DialogClose, Bt as DialogContent, Wt as DialogDescription, Ht as DialogFooter, Vt as DialogHeader, Ut as DialogTitle, Rt as DialogTrigger, Gt as Drawer, qt as DrawerClose, Jt as DrawerContent, Xt as DrawerDescription, Yt as DrawerTitle, Kt as DrawerTrigger, Nn as DropdownMenu, Ln as DropdownMenuContent, Fn as DropdownMenuGroup, Rn as DropdownMenuItem, Bn as DropdownMenuLabel, In as DropdownMenuRadioGroup, zn as DropdownMenuRadioItem, Vn as DropdownMenuSeparator, Hn as DropdownMenuShortcut, Pn as DropdownMenuTrigger, rr as EmptyState, Le as FAMILY_PALETTE, We as FREE_HUES, _a as Faq, va as FeatureGrid, _t as Field, ur as FileDropOverlay, Ki as FilterBar, qi as FilterChip, ia as FlowNode, Ji as FormSection, qe as HUES, U as HUE_FILL, ya as Hero, ba as HowItWorks, vt as Input, aa as Inspector, Sr as Kbd, Me as LABEL_COLORS, W as LOGO_RULE, gt as Label, Ur as MenuIcon, Wr as Menubar, qr as MenubarContent, Jr as MenubarItem, Gr as MenubarMenu, Xr as MenubarSeparator, Yr as MenubarShortcut, Kr as MenubarTrigger, Sa as MobileMenu, Zr as NavigationMenu, ni as NavigationMenuContent, $r as NavigationMenuItem, ri as NavigationMenuLink, Qr as NavigationMenuList, ti as NavigationMenuTrigger, Je as PALETTE_STEPS, Ke as PRODUCTS, B as PRODUCT_CATALOGUE, Ue as PRODUCT_HUES, Yi as PageHeader, ii as Pagination, Qt as Popover, en as PopoverAnchor, tn as PopoverContent, $t as PopoverTrigger, Zt as Portal, _i as Presence, Ca as PricingTable, wa as ProductCard, V as ProductLogo, Ni as ProductSwitcher, ir as Progress, ea as RUN_STATUSES, at as RadioGroup, ot as RadioGroupItem, ha as RecordButton, Xi as RecordsTable, Tr as ResizableHandle, wr as ResizablePanel, Cr as ResizablePanelGroup, Er as ScrollArea, Dr as ScrollBar, yt as Select, Ct as SelectContent, bt as SelectGroup, Tt as SelectItem, wt as SelectLabel, Et as SelectSeparator, St as SelectTrigger, xt as SelectValue, Or as Separator, nn as Sheet, an as SheetClose, ln as SheetContent, sn as SheetDescription, on as SheetTitle, rn as SheetTrigger, Si as Sidebar, Pi as SidebarBrand, wi as SidebarCollapseButton, Ei as SidebarContent, Oi as SidebarFooter, ki as SidebarGroup, Ti as SidebarHeader, Ai as SidebarItem, Di as SidebarNote, Mi as SidebarSheet, Ci as SidebarTooltip, Ta as SiteFooter, Ea as SiteHeader, ar as Skeleton, st as Slider, or as Spinner, $i as StatCard, ra as StatusBadge, oa as StatusBar, hi as Stepper, ct as Switch, Un as TAG_DELIMITERS, kr as Table, jr as TableBody, Fr as TableCaption, Pr as TableCell, Nr as TableHead, Ar as TableHeader, Mr as TableRow, si as Tabs, pi as TabsContent, ui as TabsList, fi as TabsTrigger, Kn as Tag, Yn as TagsInput, Dt as Textarea, Qe as ThemeRoot, da as TimelineLanes, fa as TitleBar, sr as Toaster, dt as ToggleGroup, ft as ToggleGroupItem, dn as Tooltip, pn as TooltipContent, un as TooltipProvider, fn as TooltipTrigger, cr as acceptsFile, Gn as addTags, Fe as apcaContrast, nt as badgeVariants, K as buttonVariants, z as cn, Ii as commandShortcutLabel, pt as controlClassName, Q as fadingLabelClassName, Ot as floatingMotionClassName, ua as formatClockTime, la as formatTimecode, Ge as hueForProduct, He as logoColorForHue, lr as mayAcceptDrag, X as menuItemClassName, gn as menuSeparatorClassName, hn as menuShortcutClassName, bi as navRowClassName, Y as overlayClassName, gi as presenceClassName, Ie as readableLabel, na as runStatusDisplay, kt as sheetMotionClassName, yi as sidebarNoteClassName, Zi as sparklinePath, Wn as splitTags, qn as tagsFieldClassName, Jn as tagsFieldInputClassName, Ze as themeAttributes, sa as timelineBox, ca as timelineTicks, Fi as useCommandShortcut, Vi as useCommandShortcutLabel, J as useFieldControl, ht as useFieldLabelId, Xn as useOptionSearch, dr as usePageDrop, Z as useSidebar };
3512
4080
 
3513
4081
  //# sourceMappingURL=index.js.map