@wealthx/shadcn 1.0.2 → 1.2.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 (300) hide show
  1. package/.turbo/turbo-build.log +235 -138
  2. package/CHANGELOG.md +12 -0
  3. package/README.md +82 -0
  4. package/dist/{chunk-6OJF6XRN.mjs → chunk-24FUO7TD.mjs} +4 -8
  5. package/dist/{chunk-4AJ5HWHD.mjs → chunk-2I5S2AMY.mjs} +3 -3
  6. package/dist/chunk-2SF672SZ.mjs +161 -0
  7. package/dist/{chunk-GPRJQ24C.mjs → chunk-34NWQURD.mjs} +2 -2
  8. package/dist/{chunk-MQ72DIBH.mjs → chunk-3GF7OVTP.mjs} +14 -5
  9. package/dist/chunk-3WMX6KWS.mjs +245 -0
  10. package/dist/{chunk-PMKODV6M.mjs → chunk-462HMNO4.mjs} +6 -10
  11. package/dist/chunk-4CX4SBRO.mjs +153 -0
  12. package/dist/chunk-4MN6UQHG.mjs +443 -0
  13. package/dist/chunk-5QQVZTVZ.mjs +233 -0
  14. package/dist/{chunk-BGP2N52Z.mjs → chunk-66MI7Q4B.mjs} +5 -5
  15. package/dist/chunk-6FCGKSZX.mjs +268 -0
  16. package/dist/{chunk-CGOKTPXU.mjs → chunk-6JQFUE5I.mjs} +20 -23
  17. package/dist/{chunk-Z3MK2KKZ.mjs → chunk-7DHU4VGG.mjs} +7 -3
  18. package/dist/{chunk-VZ2NR7L3.mjs → chunk-7PYJD5JI.mjs} +35 -27
  19. package/dist/{chunk-JU2RUWHF.mjs → chunk-7XJHLGUV.mjs} +1 -1
  20. package/dist/{chunk-BMFN37JH.mjs → chunk-7YAU5CY6.mjs} +1 -1
  21. package/dist/chunk-A56YQQHG.mjs +402 -0
  22. package/dist/chunk-AH52LG6N.mjs +315 -0
  23. package/dist/{chunk-SLWCCURD.mjs → chunk-CLIN5525.mjs} +8 -4
  24. package/dist/{chunk-3VQNJ235.mjs → chunk-CSDO6VBW.mjs} +7 -0
  25. package/dist/chunk-D4ILTPOG.mjs +293 -0
  26. package/dist/{chunk-HS7TFG7V.mjs → chunk-D6ID6M4V.mjs} +1 -1
  27. package/dist/chunk-DOH3EHX7.mjs +378 -0
  28. package/dist/{chunk-MJIEMGRD.mjs → chunk-EFRENWEJ.mjs} +9 -17
  29. package/dist/chunk-ERGGHC2V.mjs +185 -0
  30. package/dist/{chunk-OXQQNQZI.mjs → chunk-FEZKMUCF.mjs} +10 -1
  31. package/dist/{chunk-55CEW76V.mjs → chunk-FH6QVUVZ.mjs} +1 -1
  32. package/dist/chunk-FMAXJ2SI.mjs +71 -0
  33. package/dist/chunk-FZIXGLMV.mjs +173 -0
  34. package/dist/{chunk-DS2AMHN2.mjs → chunk-GYMYRIZP.mjs} +2 -2
  35. package/dist/{chunk-KQDD5MU3.mjs → chunk-H45TKD34.mjs} +5 -5
  36. package/dist/{chunk-BBJBJSXQ.mjs → chunk-J5UICVJS.mjs} +1 -1
  37. package/dist/{chunk-RL772EH7.mjs → chunk-JHJHG4GO.mjs} +4 -12
  38. package/dist/chunk-KMCGSZTX.mjs +177 -0
  39. package/dist/{chunk-FHNT55I5.mjs → chunk-KUDCQ4FI.mjs} +4 -4
  40. package/dist/chunk-LE6YFY6D.mjs +209 -0
  41. package/dist/{chunk-HUVTPUV2.mjs → chunk-LLVQKSU3.mjs} +23 -19
  42. package/dist/{chunk-KKHTJNMM.mjs → chunk-MARPPFOJ.mjs} +8 -4
  43. package/dist/{chunk-6AFMNC42.mjs → chunk-N2PT566P.mjs} +15 -11
  44. package/dist/chunk-NLCKVHWB.mjs +161 -0
  45. package/dist/{chunk-YN5SYTOO.mjs → chunk-NQPOYKAQ.mjs} +9 -5
  46. package/dist/{chunk-ZZV5JVNW.mjs → chunk-NSLMILBT.mjs} +3 -7
  47. package/dist/chunk-NXA3CZ7A.mjs +248 -0
  48. package/dist/chunk-OGOYQ7BG.mjs +150 -0
  49. package/dist/{chunk-3NQGYJEZ.mjs → chunk-P6AM5V7O.mjs} +10 -18
  50. package/dist/{chunk-CZ3BW5GL.mjs → chunk-P76HMUI6.mjs} +5 -11
  51. package/dist/chunk-PCPLO5HT.mjs +671 -0
  52. package/dist/chunk-PG6K5XEC.mjs +475 -0
  53. package/dist/chunk-PJHPSRYD.mjs +234 -0
  54. package/dist/{chunk-DDPA2XXS.mjs → chunk-PMB3A7V3.mjs} +2 -2
  55. package/dist/chunk-PR6V5XKM.mjs +209 -0
  56. package/dist/{chunk-46OFHMQA.mjs → chunk-Q76O3RIQ.mjs} +10 -6
  57. package/dist/chunk-QVKWW6KE.mjs +272 -0
  58. package/dist/chunk-RGU7HOEC.mjs +140 -0
  59. package/dist/{chunk-JF4PHPD5.mjs → chunk-RGVKLTLH.mjs} +4 -4
  60. package/dist/{chunk-VG6UF6UT.mjs → chunk-RP3SQYA3.mjs} +2 -2
  61. package/dist/chunk-RRBS6D63.mjs +163 -0
  62. package/dist/chunk-SMQ3DG25.mjs +285 -0
  63. package/dist/chunk-SPJ5KXW7.mjs +199 -0
  64. package/dist/chunk-SYOD63OZ.mjs +225 -0
  65. package/dist/chunk-UFYSFDER.mjs +42 -0
  66. package/dist/chunk-VACKZOMY.mjs +190 -0
  67. package/dist/chunk-VLQZANBF.mjs +42 -0
  68. package/dist/chunk-WA6O6EUR.mjs +1885 -0
  69. package/dist/{chunk-E3K6O4FZ.mjs → chunk-WAZD7NFU.mjs} +5 -2
  70. package/dist/chunk-WG6JGJXB.mjs +165 -0
  71. package/dist/{chunk-I64K754C.mjs → chunk-WNGWBVLV.mjs} +2 -2
  72. package/dist/{chunk-3U7SD3MS.mjs → chunk-WOEHFRGB.mjs} +3 -3
  73. package/dist/{chunk-DKZRJOMF.mjs → chunk-XIRTEFKH.mjs} +12 -12
  74. package/dist/chunk-Y6DWJSKZ.mjs +79 -0
  75. package/dist/chunk-YKPROFLB.mjs +161 -0
  76. package/dist/{chunk-K76E2TQU.mjs → chunk-ZRO5JO3H.mjs} +107 -67
  77. package/dist/{chunk-VYMHBV6D.mjs → chunk-ZU4NV6RG.mjs} +5 -3
  78. package/dist/components/ui/accordion.js +40 -4
  79. package/dist/components/ui/accordion.mjs +2 -2
  80. package/dist/components/ui/add-column-modal.js +789 -0
  81. package/dist/components/ui/add-column-modal.mjs +17 -0
  82. package/dist/components/ui/add-lead-modal.js +647 -0
  83. package/dist/components/ui/add-lead-modal.mjs +16 -0
  84. package/dist/components/ui/ai-assistant-drawer.js +686 -0
  85. package/dist/components/ui/ai-assistant-drawer.mjs +16 -0
  86. package/dist/components/ui/alert-dialog.js +37 -5
  87. package/dist/components/ui/alert-dialog.mjs +4 -4
  88. package/dist/components/ui/alert.js +37 -11
  89. package/dist/components/ui/alert.mjs +2 -2
  90. package/dist/components/ui/avatar.js +36 -8
  91. package/dist/components/ui/avatar.mjs +2 -2
  92. package/dist/components/ui/backoffice-alert-history-chart.js +624 -0
  93. package/dist/components/ui/backoffice-alert-history-chart.mjs +16 -0
  94. package/dist/components/ui/backoffice-contact-history-chart.js +687 -0
  95. package/dist/components/ui/backoffice-contact-history-chart.mjs +16 -0
  96. package/dist/components/ui/badge.js +37 -2
  97. package/dist/components/ui/badge.mjs +2 -2
  98. package/dist/components/ui/borrowing-capacity-line-chart.js +639 -0
  99. package/dist/components/ui/borrowing-capacity-line-chart.mjs +16 -0
  100. package/dist/components/ui/button.js +35 -3
  101. package/dist/components/ui/button.mjs +2 -2
  102. package/dist/components/ui/calendar.js +43 -19
  103. package/dist/components/ui/calendar.mjs +3 -3
  104. package/dist/components/ui/card.js +40 -4
  105. package/dist/components/ui/card.mjs +2 -2
  106. package/dist/components/ui/cash-balance-line-chart.js +627 -0
  107. package/dist/components/ui/cash-balance-line-chart.mjs +16 -0
  108. package/dist/components/ui/cashflow-bar-chart.js +650 -0
  109. package/dist/components/ui/cashflow-bar-chart.mjs +16 -0
  110. package/dist/components/ui/checkbox.js +36 -5
  111. package/dist/components/ui/checkbox.mjs +2 -3
  112. package/dist/components/ui/chip.js +37 -2
  113. package/dist/components/ui/chip.mjs +3 -3
  114. package/dist/components/ui/combobox.js +280 -0
  115. package/dist/components/ui/combobox.mjs +28 -0
  116. package/dist/components/ui/data-table.js +160 -88
  117. package/dist/components/ui/data-table.mjs +10 -11
  118. package/dist/components/ui/date-picker.js +44 -20
  119. package/dist/components/ui/date-picker.mjs +6 -7
  120. package/dist/components/ui/dialog.js +44 -12
  121. package/dist/components/ui/dialog.mjs +4 -4
  122. package/dist/components/ui/drawer.js +46 -10
  123. package/dist/components/ui/drawer.mjs +3 -3
  124. package/dist/components/ui/dropdown-menu.js +40 -16
  125. package/dist/components/ui/dropdown-menu.mjs +3 -3
  126. package/dist/components/ui/empty.js +41 -5
  127. package/dist/components/ui/empty.mjs +2 -2
  128. package/dist/components/ui/expense-bar-chart.js +642 -0
  129. package/dist/components/ui/expense-bar-chart.mjs +16 -0
  130. package/dist/components/ui/field.js +53 -21
  131. package/dist/components/ui/field.mjs +4 -4
  132. package/dist/components/ui/financial-cards.js +1002 -0
  133. package/dist/components/ui/financial-cards.mjs +24 -0
  134. package/dist/components/ui/financial-drawers.js +637 -0
  135. package/dist/components/ui/financial-drawers.mjs +17 -0
  136. package/dist/components/ui/financial-primitives.js +218 -0
  137. package/dist/components/ui/financial-primitives.mjs +22 -0
  138. package/dist/components/ui/financial-sections.js +1422 -0
  139. package/dist/components/ui/financial-sections.mjs +30 -0
  140. package/dist/components/ui/form-primitives.js +682 -0
  141. package/dist/components/ui/form-primitives.mjs +19 -0
  142. package/dist/components/ui/income-bar-chart.js +641 -0
  143. package/dist/components/ui/income-bar-chart.mjs +16 -0
  144. package/dist/components/ui/input-group.js +43 -7
  145. package/dist/components/ui/input-group.mjs +5 -5
  146. package/dist/components/ui/input-otp.js +39 -3
  147. package/dist/components/ui/input-otp.mjs +2 -2
  148. package/dist/components/ui/input.js +34 -2
  149. package/dist/components/ui/input.mjs +2 -2
  150. package/dist/components/ui/kanban-column.js +1143 -0
  151. package/dist/components/ui/kanban-column.mjs +20 -0
  152. package/dist/components/ui/label.js +35 -7
  153. package/dist/components/ui/label.mjs +2 -2
  154. package/dist/components/ui/opportunity-card.js +960 -0
  155. package/dist/components/ui/opportunity-card.mjs +20 -0
  156. package/dist/components/ui/opportunity-edit-modals.js +3360 -0
  157. package/dist/components/ui/opportunity-edit-modals.mjs +37 -0
  158. package/dist/components/ui/opportunity-summary-tab.js +4365 -0
  159. package/dist/components/ui/opportunity-summary-tab.mjs +34 -0
  160. package/dist/components/ui/pagination.js +35 -3
  161. package/dist/components/ui/pagination.mjs +3 -3
  162. package/dist/components/ui/pipeline-alerts.js +103 -0
  163. package/dist/components/ui/pipeline-alerts.mjs +8 -0
  164. package/dist/components/ui/pipeline-board.js +1408 -0
  165. package/dist/components/ui/pipeline-board.mjs +24 -0
  166. package/dist/components/ui/pipeline-chart.js +216 -0
  167. package/dist/components/ui/pipeline-chart.mjs +10 -0
  168. package/dist/components/ui/pipeline-dialogs.js +1183 -0
  169. package/dist/components/ui/pipeline-dialogs.mjs +23 -0
  170. package/dist/components/ui/pipeline-primitives.js +300 -0
  171. package/dist/components/ui/pipeline-primitives.mjs +11 -0
  172. package/dist/components/ui/popover.js +45 -4
  173. package/dist/components/ui/popover.mjs +3 -3
  174. package/dist/components/ui/progress.js +33 -1
  175. package/dist/components/ui/progress.mjs +2 -2
  176. package/dist/components/ui/property-cashflow-doughnut-chart.js +523 -0
  177. package/dist/components/ui/property-cashflow-doughnut-chart.mjs +16 -0
  178. package/dist/components/ui/property-debt-equity-doughnut-chart.js +521 -0
  179. package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +16 -0
  180. package/dist/components/ui/property-mobile-estimate-line-chart.js +682 -0
  181. package/dist/components/ui/property-mobile-estimate-line-chart.mjs +16 -0
  182. package/dist/components/ui/radio-group.js +33 -1
  183. package/dist/components/ui/radio-group.mjs +2 -2
  184. package/dist/components/ui/select.js +66 -26
  185. package/dist/components/ui/select.mjs +3 -3
  186. package/dist/components/ui/separator.js +33 -1
  187. package/dist/components/ui/separator.mjs +2 -2
  188. package/dist/components/ui/sheet.js +37 -9
  189. package/dist/components/ui/sheet.mjs +3 -3
  190. package/dist/components/ui/skeleton.js +33 -1
  191. package/dist/components/ui/skeleton.mjs +2 -2
  192. package/dist/components/ui/slider.js +86 -102
  193. package/dist/components/ui/slider.mjs +2 -2
  194. package/dist/components/ui/spinner.js +33 -1
  195. package/dist/components/ui/spinner.mjs +2 -2
  196. package/dist/components/ui/stage-timeline.js +579 -0
  197. package/dist/components/ui/stage-timeline.mjs +15 -0
  198. package/dist/components/ui/switch.js +37 -4
  199. package/dist/components/ui/switch.mjs +2 -3
  200. package/dist/components/ui/table.js +37 -5
  201. package/dist/components/ui/table.mjs +2 -2
  202. package/dist/components/ui/tabs.js +36 -12
  203. package/dist/components/ui/tabs.mjs +2 -2
  204. package/dist/components/ui/textarea.js +34 -2
  205. package/dist/components/ui/textarea.mjs +2 -2
  206. package/dist/components/ui/toggle-group.js +35 -4
  207. package/dist/components/ui/toggle-group.mjs +3 -4
  208. package/dist/components/ui/toggle.js +35 -4
  209. package/dist/components/ui/toggle.mjs +2 -3
  210. package/dist/components/ui/tooltip.js +51 -22
  211. package/dist/components/ui/tooltip.mjs +3 -3
  212. package/dist/components/ui/transactions-expense-categories-doughnut-chart.js +528 -0
  213. package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +16 -0
  214. package/dist/components/ui/transactions-income-expense-bar-chart.js +516 -0
  215. package/dist/components/ui/transactions-income-expense-bar-chart.mjs +16 -0
  216. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js +528 -0
  217. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +16 -0
  218. package/dist/index.js +11613 -2868
  219. package/dist/index.mjs +377 -164
  220. package/dist/lib/theme-provider.js +10 -1
  221. package/dist/lib/theme-provider.mjs +1 -1
  222. package/dist/lib/typography.js +8 -0
  223. package/dist/lib/typography.mjs +3 -1
  224. package/dist/lib/utils.js +33 -1
  225. package/dist/lib/utils.mjs +1 -1
  226. package/dist/styles.css +1 -1
  227. package/package.json +169 -6
  228. package/src/components/index.tsx +323 -13
  229. package/src/components/ui/accordion.tsx +6 -3
  230. package/src/components/ui/add-column-modal.tsx +339 -0
  231. package/src/components/ui/add-lead-modal.tsx +290 -0
  232. package/src/components/ui/ai-assistant-drawer.tsx +408 -0
  233. package/src/components/ui/alert-dialog.tsx +80 -54
  234. package/src/components/ui/alert.tsx +28 -28
  235. package/src/components/ui/avatar.tsx +30 -29
  236. package/src/components/ui/backoffice-alert-history-chart.tsx +260 -0
  237. package/src/components/ui/backoffice-contact-history-chart.tsx +325 -0
  238. package/src/components/ui/badge.tsx +17 -15
  239. package/src/components/ui/borrowing-capacity-line-chart.tsx +357 -0
  240. package/src/components/ui/button.tsx +30 -27
  241. package/src/components/ui/calendar.tsx +53 -67
  242. package/src/components/ui/card.tsx +27 -24
  243. package/src/components/ui/cash-balance-line-chart.tsx +302 -0
  244. package/src/components/ui/cashflow-bar-chart.tsx +363 -0
  245. package/src/components/ui/chart-shared.tsx +261 -0
  246. package/src/components/ui/checkbox.tsx +30 -26
  247. package/src/components/ui/combobox.tsx +223 -0
  248. package/src/components/ui/data-table.tsx +160 -99
  249. package/src/components/ui/date-picker.tsx +0 -2
  250. package/src/components/ui/dialog.tsx +70 -60
  251. package/src/components/ui/drawer.tsx +57 -48
  252. package/src/components/ui/dropdown-menu.tsx +90 -82
  253. package/src/components/ui/empty.tsx +31 -27
  254. package/src/components/ui/expense-bar-chart.tsx +296 -0
  255. package/src/components/ui/field.tsx +70 -62
  256. package/src/components/ui/financial-cards.tsx +830 -0
  257. package/src/components/ui/financial-drawers.tsx +339 -0
  258. package/src/components/ui/financial-primitives.tsx +331 -0
  259. package/src/components/ui/financial-sections.tsx +672 -0
  260. package/src/components/ui/form-primitives.tsx +536 -0
  261. package/src/components/ui/income-bar-chart.tsx +297 -0
  262. package/src/components/ui/input-group.tsx +41 -34
  263. package/src/components/ui/input-otp.tsx +29 -24
  264. package/src/components/ui/input.tsx +8 -8
  265. package/src/components/ui/kanban-column.tsx +333 -0
  266. package/src/components/ui/label.tsx +9 -12
  267. package/src/components/ui/opportunity-card.tsx +616 -0
  268. package/src/components/ui/opportunity-edit-modals.tsx +2528 -0
  269. package/src/components/ui/opportunity-summary-tab.tsx +579 -0
  270. package/src/components/ui/pipeline-alerts.tsx +74 -0
  271. package/src/components/ui/pipeline-board.tsx +268 -0
  272. package/src/components/ui/pipeline-chart.tsx +173 -0
  273. package/src/components/ui/pipeline-dialogs.tsx +303 -0
  274. package/src/components/ui/pipeline-primitives.tsx +108 -0
  275. package/src/components/ui/popover.tsx +41 -36
  276. package/src/components/ui/property-cashflow-doughnut-chart.tsx +188 -0
  277. package/src/components/ui/property-debt-equity-doughnut-chart.tsx +185 -0
  278. package/src/components/ui/property-mobile-estimate-line-chart.tsx +393 -0
  279. package/src/components/ui/select.tsx +65 -52
  280. package/src/components/ui/sheet.tsx +55 -52
  281. package/src/components/ui/slider.tsx +54 -77
  282. package/src/components/ui/stage-timeline.tsx +205 -0
  283. package/src/components/ui/switch.tsx +42 -29
  284. package/src/components/ui/table.tsx +28 -28
  285. package/src/components/ui/tabs.tsx +22 -28
  286. package/src/components/ui/textarea.tsx +8 -8
  287. package/src/components/ui/toggle-group.tsx +0 -2
  288. package/src/components/ui/toggle.tsx +13 -15
  289. package/src/components/ui/tooltip.tsx +30 -28
  290. package/src/components/ui/transactions-expense-categories-doughnut-chart.tsx +191 -0
  291. package/src/components/ui/transactions-income-expense-bar-chart.tsx +205 -0
  292. package/src/components/ui/transactions-liabilities-breakdown-doughnut-chart.tsx +191 -0
  293. package/src/lib/theme-provider.tsx +10 -0
  294. package/src/lib/typography.ts +9 -0
  295. package/src/lib/utils.ts +41 -3
  296. package/src/styles/globals.css +371 -124
  297. package/src/styles/styles-css.ts +1 -1
  298. package/tsup.config.ts +32 -0
  299. package/dist/chunk-K74JRTJR.mjs +0 -105
  300. package/dist/chunk-V7CNWJT3.mjs +0 -10
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Spinner,
3
3
  spinnerVariants
4
- } from "../../chunk-BMFN37JH.mjs";
5
- import "../../chunk-V7CNWJT3.mjs";
4
+ } from "../../chunk-7YAU5CY6.mjs";
5
+ import "../../chunk-VLQZANBF.mjs";
6
6
  import "../../chunk-FWCSY2DS.mjs";
7
7
  export {
8
8
  Spinner,
@@ -0,0 +1,579 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
37
+ var __export = (target, all) => {
38
+ for (var name in all)
39
+ __defProp(target, name, { get: all[name], enumerable: true });
40
+ };
41
+ var __copyProps = (to, from, except, desc) => {
42
+ if (from && typeof from === "object" || typeof from === "function") {
43
+ for (let key of __getOwnPropNames(from))
44
+ if (!__hasOwnProp.call(to, key) && key !== except)
45
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
+ }
47
+ return to;
48
+ };
49
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
+ // If the importer is in node compatibility mode or this is not an ESM
51
+ // file that has been converted to a CommonJS file using a Babel-
52
+ // compatible transform (i.e. "__esModule" has not been set), then set
53
+ // "default" to the CommonJS "module.exports" for node compatibility.
54
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
55
+ mod
56
+ ));
57
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
+
59
+ // src/components/ui/stage-timeline.tsx
60
+ var stage_timeline_exports = {};
61
+ __export(stage_timeline_exports, {
62
+ StageTimeline: () => StageTimeline
63
+ });
64
+ module.exports = __toCommonJS(stage_timeline_exports);
65
+ var import_lucide_react4 = require("lucide-react");
66
+
67
+ // src/lib/utils.ts
68
+ var import_clsx = require("clsx");
69
+ var import_tailwind_merge = require("tailwind-merge");
70
+ var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
71
+ extend: {
72
+ classGroups: {
73
+ "font-size": [
74
+ {
75
+ text: [
76
+ "display-large",
77
+ "display-medium",
78
+ "display-small",
79
+ "h1",
80
+ "h2",
81
+ "h3",
82
+ "h4",
83
+ "h5",
84
+ "h6",
85
+ "body-large",
86
+ "body-medium",
87
+ "body-small",
88
+ "label-large",
89
+ "label-medium",
90
+ "label-small",
91
+ "button",
92
+ "button-xs",
93
+ "caption",
94
+ "overline",
95
+ "code"
96
+ ]
97
+ }
98
+ ]
99
+ }
100
+ }
101
+ });
102
+ function cn(...inputs) {
103
+ return twMerge((0, import_clsx.clsx)(inputs));
104
+ }
105
+
106
+ // src/components/ui/accordion.tsx
107
+ var import_lucide_react = require("lucide-react");
108
+ var import_accordion = require("@base-ui/react/accordion");
109
+ var import_jsx_runtime = require("react/jsx-runtime");
110
+ function Accordion(props) {
111
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_accordion.Accordion.Root, __spreadValues({ "data-slot": "accordion" }, props));
112
+ }
113
+ function AccordionItem(_a) {
114
+ var _b = _a, {
115
+ className
116
+ } = _b, props = __objRest(_b, [
117
+ "className"
118
+ ]);
119
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
120
+ import_accordion.Accordion.Item,
121
+ __spreadValues({
122
+ className: cn("border-b", className),
123
+ "data-slot": "accordion-item"
124
+ }, props)
125
+ );
126
+ }
127
+ function AccordionTrigger(_a) {
128
+ var _b = _a, {
129
+ className,
130
+ children
131
+ } = _b, props = __objRest(_b, [
132
+ "className",
133
+ "children"
134
+ ]);
135
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_accordion.Accordion.Header, { className: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
136
+ import_accordion.Accordion.Trigger,
137
+ __spreadProps(__spreadValues({
138
+ className: cn(
139
+ // layout
140
+ "flex flex-1 items-center justify-between gap-4 py-4 text-left",
141
+ // typography
142
+ "text-label-medium",
143
+ // base
144
+ "rounded-none outline-none transition-[color,opacity]",
145
+ // interactive states
146
+ "hover:underline",
147
+ "focus-visible:ring-2 focus-visible:ring-foreground/30",
148
+ "disabled:pointer-events-none disabled:opacity-50",
149
+ // chevron rotation when open
150
+ "[&[data-panel-open]>svg]:rotate-180",
151
+ className
152
+ ),
153
+ "data-slot": "accordion-trigger"
154
+ }, props), {
155
+ children: [
156
+ children,
157
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronDownIcon, { className: "pointer-events-none size-4 shrink-0 text-muted-foreground transition-transform duration-200" })
158
+ ]
159
+ })
160
+ ) });
161
+ }
162
+ function AccordionContent(_a) {
163
+ var _b = _a, {
164
+ className,
165
+ children
166
+ } = _b, props = __objRest(_b, [
167
+ "className",
168
+ "children"
169
+ ]);
170
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
171
+ import_accordion.Accordion.Panel,
172
+ __spreadProps(__spreadValues({
173
+ className: "overflow-hidden text-body-small h-(--accordion-panel-height) transition-[height] duration-200 ease-out data-starting-style:h-0 data-ending-style:h-0",
174
+ "data-slot": "accordion-content"
175
+ }, props), {
176
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: cn("pb-4 text-muted-foreground", className), children })
177
+ })
178
+ );
179
+ }
180
+
181
+ // src/components/ui/progress.tsx
182
+ var import_progress = require("@base-ui/react/progress");
183
+ var import_jsx_runtime2 = require("react/jsx-runtime");
184
+ function Progress(_a) {
185
+ var _b = _a, {
186
+ className,
187
+ value
188
+ } = _b, props = __objRest(_b, [
189
+ "className",
190
+ "value"
191
+ ]);
192
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
193
+ import_progress.Progress.Root,
194
+ __spreadProps(__spreadValues({
195
+ className: cn(
196
+ "relative h-2 w-full overflow-hidden bg-muted",
197
+ className
198
+ ),
199
+ "data-slot": "progress",
200
+ value
201
+ }, props), {
202
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_progress.Progress.Track, { className: "h-full", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
203
+ import_progress.Progress.Indicator,
204
+ {
205
+ className: "h-full bg-primary transition-all",
206
+ "data-slot": "progress-indicator"
207
+ }
208
+ ) })
209
+ })
210
+ );
211
+ }
212
+
213
+ // src/components/ui/badge.tsx
214
+ var import_class_variance_authority = require("class-variance-authority");
215
+
216
+ // src/lib/slot.tsx
217
+ var React = __toESM(require("react"));
218
+ function mergeRefs(...refs) {
219
+ return (value) => {
220
+ for (const ref of refs) {
221
+ if (typeof ref === "function") ref(value);
222
+ else if (ref !== null)
223
+ ref.current = value;
224
+ }
225
+ };
226
+ }
227
+ var Slot = React.forwardRef(
228
+ (_a, forwardedRef) => {
229
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
230
+ const child = React.Children.only(children);
231
+ if (!React.isValidElement(child)) return null;
232
+ const childProps = child.props;
233
+ const merged = __spreadValues({}, props);
234
+ for (const key of Object.keys(childProps)) {
235
+ if (key === "className") {
236
+ merged.className = [props.className, childProps.className].filter(Boolean).join(" ");
237
+ } else if (key === "style") {
238
+ merged.style = __spreadValues(__spreadValues({}, props.style), childProps.style);
239
+ } else if (key.startsWith("on") && typeof childProps[key] === "function") {
240
+ const parentHandler = props[key];
241
+ if (typeof parentHandler === "function") {
242
+ merged[key] = (...args) => {
243
+ childProps[key](...args);
244
+ parentHandler(...args);
245
+ };
246
+ } else {
247
+ merged[key] = childProps[key];
248
+ }
249
+ } else {
250
+ merged[key] = childProps[key];
251
+ }
252
+ }
253
+ const childRef = child.ref;
254
+ merged.ref = forwardedRef ? mergeRefs(forwardedRef, childRef) : childRef;
255
+ return React.cloneElement(
256
+ child,
257
+ merged
258
+ );
259
+ }
260
+ );
261
+ Slot.displayName = "Slot";
262
+
263
+ // src/components/ui/badge.tsx
264
+ var import_jsx_runtime3 = require("react/jsx-runtime");
265
+ var badgeVariants = (0, import_class_variance_authority.cva)(
266
+ "inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2.5 py-0.5 text-xs font-medium font-sans whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
267
+ {
268
+ variants: {
269
+ variant: {
270
+ default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
271
+ secondary: "bg-muted text-muted-foreground [a&]:hover:bg-muted/80",
272
+ destructive: "bg-destructive text-destructive-foreground focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",
273
+ success: "bg-success text-success-foreground [a&]:hover:bg-success/90",
274
+ warning: "bg-warning text-warning-foreground [a&]:hover:bg-warning/90",
275
+ info: "bg-info text-info-foreground [a&]:hover:bg-info/90",
276
+ outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
277
+ ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
278
+ link: "text-primary underline-offset-4 [a&]:hover:underline"
279
+ }
280
+ },
281
+ defaultVariants: {
282
+ variant: "default"
283
+ }
284
+ }
285
+ );
286
+ function Badge(_a) {
287
+ var _b = _a, {
288
+ className,
289
+ variant = "default",
290
+ asChild = false
291
+ } = _b, props = __objRest(_b, [
292
+ "className",
293
+ "variant",
294
+ "asChild"
295
+ ]);
296
+ const Comp = asChild ? Slot : "span";
297
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
298
+ Comp,
299
+ __spreadValues({
300
+ className: cn(badgeVariants({ variant }), className),
301
+ "data-slot": "badge",
302
+ "data-variant": variant
303
+ }, props)
304
+ );
305
+ }
306
+
307
+ // src/components/ui/checkbox.tsx
308
+ var import_react = require("react");
309
+ var import_lucide_react2 = require("lucide-react");
310
+ var import_checkbox = require("@base-ui/react/checkbox");
311
+ var import_jsx_runtime4 = require("react/jsx-runtime");
312
+ function Checkbox(_a) {
313
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
314
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
315
+ import_checkbox.Checkbox.Root,
316
+ __spreadProps(__spreadValues({
317
+ className: cn(
318
+ "peer group inline-flex size-4 shrink-0 border border-input shadow-xs transition-all outline-none",
319
+ "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
320
+ "disabled:cursor-not-allowed disabled:opacity-50",
321
+ "aria-invalid:border-destructive aria-invalid:ring-destructive/20",
322
+ "data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground",
323
+ "data-indeterminate:border-primary data-indeterminate:bg-primary data-indeterminate:text-primary-foreground",
324
+ // Dark mode (upstream shadcn)
325
+ "dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-checked:bg-primary",
326
+ // Stacked (2 attr selectors) → wins over single-attr rules above
327
+ "aria-invalid:data-checked:border-destructive aria-invalid:data-checked:bg-destructive aria-invalid:data-checked:text-destructive-foreground",
328
+ "aria-invalid:data-indeterminate:border-destructive aria-invalid:data-indeterminate:bg-destructive aria-invalid:data-indeterminate:text-destructive-foreground",
329
+ className
330
+ ),
331
+ "data-slot": "checkbox"
332
+ }, props), {
333
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
334
+ import_checkbox.Checkbox.Indicator,
335
+ {
336
+ className: "grid place-content-center text-current transition-none",
337
+ "data-slot": "checkbox-indicator",
338
+ children: [
339
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react2.CheckIcon, { className: "size-3.5 group-data-indeterminate:hidden" }),
340
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react2.MinusIcon, { className: "size-3.5 hidden group-data-indeterminate:block" })
341
+ ]
342
+ }
343
+ )
344
+ })
345
+ );
346
+ }
347
+
348
+ // src/components/ui/pipeline-primitives.tsx
349
+ var import_jsx_runtime5 = require("react/jsx-runtime");
350
+ function TaskCheckItem({
351
+ title,
352
+ completed,
353
+ aiAgentName,
354
+ onToggle,
355
+ disabled = false,
356
+ size = "xs",
357
+ className
358
+ }) {
359
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
360
+ "div",
361
+ {
362
+ className: cn(
363
+ "flex cursor-pointer items-start gap-2 py-1.5",
364
+ disabled && "pointer-events-none opacity-60",
365
+ className
366
+ ),
367
+ onClick: () => onToggle == null ? void 0 : onToggle(),
368
+ "data-slot": "task-check-item",
369
+ children: [
370
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { onClick: (e) => e.stopPropagation(), className: "mt-0.5 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
371
+ Checkbox,
372
+ {
373
+ checked: completed,
374
+ onCheckedChange: () => onToggle == null ? void 0 : onToggle(),
375
+ disabled
376
+ }
377
+ ) }),
378
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
379
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
380
+ "span",
381
+ {
382
+ className: cn(
383
+ "leading-snug text-foreground",
384
+ size === "sm" ? "text-sm" : "text-xs",
385
+ completed && "text-muted-foreground line-through"
386
+ ),
387
+ children: title
388
+ }
389
+ ),
390
+ aiAgentName && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Badge, { variant: "secondary", className: "gap-1 text-[10px]", children: [
391
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
392
+ "span",
393
+ {
394
+ className: "size-1.5 rounded-full bg-primary",
395
+ "aria-hidden": "true"
396
+ }
397
+ ),
398
+ aiAgentName
399
+ ] })
400
+ ] })
401
+ ]
402
+ }
403
+ );
404
+ }
405
+
406
+ // src/components/ui/spinner.tsx
407
+ var import_class_variance_authority2 = require("class-variance-authority");
408
+ var import_lucide_react3 = require("lucide-react");
409
+ var import_jsx_runtime6 = require("react/jsx-runtime");
410
+ var spinnerVariants = (0, import_class_variance_authority2.cva)("animate-spin shrink-0", {
411
+ variants: {
412
+ size: {
413
+ sm: "size-3",
414
+ default: "size-4",
415
+ lg: "size-6",
416
+ xl: "size-8"
417
+ }
418
+ },
419
+ defaultVariants: {
420
+ size: "default"
421
+ }
422
+ });
423
+ function Spinner(_a) {
424
+ var _b = _a, { className, size } = _b, props = __objRest(_b, ["className", "size"]);
425
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
426
+ import_lucide_react3.LoaderCircle,
427
+ __spreadValues({
428
+ "aria-hidden": "true",
429
+ className: cn(spinnerVariants({ size }), className),
430
+ "data-slot": "spinner"
431
+ }, props)
432
+ );
433
+ }
434
+
435
+ // src/components/ui/stage-timeline.tsx
436
+ var import_jsx_runtime7 = require("react/jsx-runtime");
437
+ function StageTimeline({
438
+ stages,
439
+ onTaskToggle,
440
+ isLoading = false,
441
+ className
442
+ }) {
443
+ var _a, _b;
444
+ if (isLoading) {
445
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
446
+ "div",
447
+ {
448
+ className: cn(
449
+ "flex flex-col items-center justify-center gap-3 py-10",
450
+ className
451
+ ),
452
+ "data-slot": "stage-timeline",
453
+ children: [
454
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Spinner, { size: "lg", className: "text-muted-foreground" }),
455
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "text-sm text-muted-foreground", children: "Loading stages\u2026" })
456
+ ]
457
+ }
458
+ );
459
+ }
460
+ if (stages.length === 0) {
461
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
462
+ "div",
463
+ {
464
+ className: cn(
465
+ "flex items-center justify-center py-10 text-sm text-muted-foreground",
466
+ className
467
+ ),
468
+ "data-slot": "stage-timeline",
469
+ children: "No stages available."
470
+ }
471
+ );
472
+ }
473
+ const completedCount = stages.filter((s) => s.isCompleted).length;
474
+ const progressPct = Math.round(completedCount / stages.length * 100);
475
+ const defaultOpen = (_b = (_a = stages.find((s) => s.isCurrentStage)) == null ? void 0 : _a.id) != null ? _b : stages[0].id;
476
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
477
+ "div",
478
+ {
479
+ className: cn("flex flex-col gap-4", className),
480
+ "data-slot": "stage-timeline",
481
+ children: [
482
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex flex-col gap-2", children: [
483
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex items-center justify-between text-sm text-muted-foreground", children: [
484
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "Stage progress" }),
485
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { children: [
486
+ completedCount,
487
+ " / ",
488
+ stages.length,
489
+ " completed"
490
+ ] })
491
+ ] }),
492
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Progress, { value: progressPct, className: "h-2.5" })
493
+ ] }),
494
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
495
+ Accordion,
496
+ {
497
+ type: "single",
498
+ collapsible: true,
499
+ defaultValue: defaultOpen,
500
+ className: "w-full",
501
+ children: stages.map((stage) => {
502
+ const completedTasks = stage.tasks.filter((t) => t.completed).length;
503
+ const hasTasks = stage.tasks.length > 0;
504
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
505
+ AccordionItem,
506
+ {
507
+ value: stage.id,
508
+ className: "border-b border-border last:border-0",
509
+ children: [
510
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
511
+ AccordionTrigger,
512
+ {
513
+ className: cn(
514
+ "py-3.5 text-sm hover:no-underline [&>svg]:size-4",
515
+ stage.isCompleted ? "text-muted-foreground" : stage.isCurrentStage ? "font-semibold text-foreground" : "font-normal text-muted-foreground"
516
+ ),
517
+ disabled: !hasTasks,
518
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "flex items-center gap-2.5", children: [
519
+ stage.isCompleted ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
520
+ "span",
521
+ {
522
+ className: "flex size-5 shrink-0 items-center justify-center rounded-full bg-primary",
523
+ "aria-hidden": "true",
524
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
525
+ import_lucide_react4.Check,
526
+ {
527
+ className: "size-3 text-primary-foreground",
528
+ strokeWidth: 2.5
529
+ }
530
+ )
531
+ }
532
+ ) : stage.isCurrentStage ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
533
+ "span",
534
+ {
535
+ className: "size-5 shrink-0 rounded-full border-2 border-primary bg-background",
536
+ "aria-hidden": "true"
537
+ }
538
+ ) : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
539
+ "span",
540
+ {
541
+ className: "size-5 shrink-0 rounded-full border-2 border-muted-foreground/30 bg-background",
542
+ "aria-hidden": "true"
543
+ }
544
+ ),
545
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: cn(stage.isCompleted && "line-through"), children: stage.name }),
546
+ hasTasks && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "text-xs text-muted-foreground", children: [
547
+ completedTasks,
548
+ "/",
549
+ stage.tasks.length
550
+ ] })
551
+ ] })
552
+ }
553
+ ),
554
+ hasTasks && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(AccordionContent, { className: "p-0 pb-3 pl-8", children: stage.tasks.map((task) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
555
+ TaskCheckItem,
556
+ {
557
+ title: task.title,
558
+ completed: task.completed,
559
+ aiAgentName: task.aiAgentName,
560
+ size: "sm",
561
+ onToggle: onTaskToggle ? () => onTaskToggle(stage.id, task.id) : void 0
562
+ },
563
+ task.id
564
+ )) })
565
+ ]
566
+ },
567
+ stage.id
568
+ );
569
+ })
570
+ }
571
+ )
572
+ ]
573
+ }
574
+ );
575
+ }
576
+ // Annotate the CommonJS export names for ESM import in node:
577
+ 0 && (module.exports = {
578
+ StageTimeline
579
+ });
@@ -0,0 +1,15 @@
1
+ import {
2
+ StageTimeline
3
+ } from "../../chunk-WG6JGJXB.mjs";
4
+ import "../../chunk-J5UICVJS.mjs";
5
+ import "../../chunk-FMAXJ2SI.mjs";
6
+ import "../../chunk-WAZD7NFU.mjs";
7
+ import "../../chunk-MARPPFOJ.mjs";
8
+ import "../../chunk-RGVKLTLH.mjs";
9
+ import "../../chunk-7YAU5CY6.mjs";
10
+ import "../../chunk-DBHJ5KC3.mjs";
11
+ import "../../chunk-VLQZANBF.mjs";
12
+ import "../../chunk-FWCSY2DS.mjs";
13
+ export {
14
+ StageTimeline
15
+ };
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- "use client";
3
2
  var __defProp = Object.defineProperty;
4
3
  var __defProps = Object.defineProperties;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -60,8 +59,40 @@ var import_switch = require("@base-ui/react/switch");
60
59
  // src/lib/utils.ts
61
60
  var import_clsx = require("clsx");
62
61
  var import_tailwind_merge = require("tailwind-merge");
62
+ var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
63
+ extend: {
64
+ classGroups: {
65
+ "font-size": [
66
+ {
67
+ text: [
68
+ "display-large",
69
+ "display-medium",
70
+ "display-small",
71
+ "h1",
72
+ "h2",
73
+ "h3",
74
+ "h4",
75
+ "h5",
76
+ "h6",
77
+ "body-large",
78
+ "body-medium",
79
+ "body-small",
80
+ "label-large",
81
+ "label-medium",
82
+ "label-small",
83
+ "button",
84
+ "button-xs",
85
+ "caption",
86
+ "overline",
87
+ "code"
88
+ ]
89
+ }
90
+ ]
91
+ }
92
+ }
93
+ });
63
94
  function cn(...inputs) {
64
- return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
95
+ return twMerge((0, import_clsx.clsx)(inputs));
65
96
  }
66
97
 
67
98
  // src/components/ui/switch.tsx
@@ -130,7 +161,9 @@ function SwitchCard(_a) {
130
161
  "switchPosition",
131
162
  "size"
132
163
  ]);
133
- const [internalChecked, setInternalChecked] = (0, import_react.useState)(defaultChecked != null ? defaultChecked : false);
164
+ const [internalChecked, setInternalChecked] = (0, import_react.useState)(
165
+ defaultChecked != null ? defaultChecked : false
166
+ );
134
167
  const isChecked = checked != null ? checked : internalChecked;
135
168
  const switchElement = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
136
169
  Switch,
@@ -148,7 +181,7 @@ function SwitchCard(_a) {
148
181
  );
149
182
  const contentElement = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col gap-1", children: [
150
183
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-sm font-medium leading-none", children: label }),
151
- description ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-sm text-muted-foreground", children: description }) : null
184
+ description ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-body-small text-muted-foreground", children: description }) : null
152
185
  ] });
153
186
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
154
187
  "label",
@@ -1,9 +1,8 @@
1
- "use client";
2
1
  import {
3
2
  Switch,
4
3
  SwitchCard
5
- } from "../../chunk-VYMHBV6D.mjs";
6
- import "../../chunk-V7CNWJT3.mjs";
4
+ } from "../../chunk-ZU4NV6RG.mjs";
5
+ import "../../chunk-VLQZANBF.mjs";
7
6
  import "../../chunk-FWCSY2DS.mjs";
8
7
  export {
9
8
  Switch,