@datum-cloud/datum-ui 3.7.0 → 3.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 (196) hide show
  1. package/dist/{action-row-DTvs91_3.mjs → action-row-BEzE9x37.mjs} +2 -3
  2. package/dist/{adapter-context-h0jCVqGO.mjs → adapter-context-XT749tyT.mjs} +1 -2
  3. package/dist/alert/index.mjs +1 -2
  4. package/dist/{alert-SAPwee1h.mjs → alert-CVckvox4.mjs} +2 -3
  5. package/dist/app-navigation/index.mjs +2 -2
  6. package/dist/{app-navigation-BB_NLEWv.mjs → app-navigation-DyNZwlSG.mjs} +14 -20
  7. package/dist/assistant/index.mjs +57 -63
  8. package/dist/autocomplete/index.mjs +1 -2
  9. package/dist/{autocomplete-BxtzndxZ.mjs → autocomplete-D0zAcT78.mjs} +6 -8
  10. package/dist/autosearch/index.mjs +8 -10
  11. package/dist/avatar/index.mjs +2 -3
  12. package/dist/avatar-stack/index.mjs +1 -2
  13. package/dist/{avatar-stack-BUcsjhA6.mjs → avatar-stack-2ow672bR.mjs} +3 -4
  14. package/dist/badge/index.mjs +181 -1
  15. package/dist/breadcrumb/index.mjs +1 -2
  16. package/dist/{breadcrumb-DmdhC8bE.mjs → breadcrumb-D97jAZ2N.mjs} +2 -3
  17. package/dist/button/index.mjs +2 -2
  18. package/dist/{button-CsdF61EI.mjs → button-C57mkFkS.mjs} +2 -3
  19. package/dist/{button-DoMqfQLu.mjs → button-Cn4KagBO.mjs} +4 -6
  20. package/dist/{button-CDPui_Ov.mjs → button-IK-Lnu_9.mjs} +3 -4
  21. package/dist/button-group/index.mjs +1 -2
  22. package/dist/{button-group-DFrTH4L8.mjs → button-group-C3GKo-0p.mjs} +3 -4
  23. package/dist/calendar/index.mjs +4 -5
  24. package/dist/{calendar-date-picker-DPvVAW2I.mjs → calendar-date-picker-CknZM6a2.mjs} +3 -4
  25. package/dist/card/index.mjs +1 -2
  26. package/dist/{card-save-bar-BZzNnKYj.mjs → card-save-bar-Te8jf-ie.mjs} +5 -8
  27. package/dist/chart/index.mjs +1 -2
  28. package/dist/{chart-EgzTS28l.mjs → chart-BsGsx2jb.mjs} +2 -3
  29. package/dist/checkbox/index.mjs +1 -2
  30. package/dist/checkbox-BAo5sbHk.mjs +84 -0
  31. package/dist/{close.icon-DdXKQ4m0.mjs → close.icon-BCPmH4nN.mjs} +2 -3
  32. package/dist/code-editor/index.mjs +1 -2
  33. package/dist/{col-BYGWTB4j.mjs → col-CYHIfPJq.mjs} +5 -9
  34. package/dist/collapsible/index.mjs +1 -7
  35. package/dist/collapsible-B-KP3JZ-.mjs +104 -0
  36. package/dist/command/index.mjs +1 -2
  37. package/dist/{command-C0aGIYnQ.mjs → command-B0be-zU5.mjs} +3 -4
  38. package/dist/components/base/checkbox/checkbox.d.ts +11 -3
  39. package/dist/components/base/collapsible/collapsible.d.ts +28 -0
  40. package/dist/components/base/collapsible/index.d.ts +1 -1
  41. package/dist/components/base/radio-group/radio-group.d.ts +11 -5
  42. package/dist/components/base/spinner/index.d.ts +1 -1
  43. package/dist/components/base/spinner/spinner.d.ts +11 -0
  44. package/dist/components/base/switch/switch.d.ts +6 -1
  45. package/dist/components/base/typography/typography.d.ts +1 -1
  46. package/dist/components/features/_shared/copy-state-icon.d.ts +12 -0
  47. package/dist/components/features/_shared/index.d.ts +2 -0
  48. package/dist/components/features/_shared/motion-chip.d.ts +293 -0
  49. package/dist/components/features/assistant/components/message/plan-card.d.ts +1 -1
  50. package/dist/components/icons/spinner.icon.d.ts +17 -3
  51. package/dist/copy-state-icon-DMvXXsZm.mjs +61 -0
  52. package/dist/data-table/index.mjs +1 -2
  53. package/dist/{data-table-CJiQQ6TM.mjs → data-table-CpBwO8Ea.mjs} +39 -66
  54. package/dist/date-picker/index.mjs +3 -3
  55. package/dist/date-time/index.mjs +1 -2
  56. package/dist/{date-time-lZdefM4H.mjs → date-time-BBRVM9qb.mjs} +4 -6
  57. package/dist/date-time-picker/index.mjs +1 -2
  58. package/dist/{date-time-picker-CricsXgF.mjs → date-time-picker-Bc41Ixrs.mjs} +3 -4
  59. package/dist/{date-time-range-picker-DM4AIvQ1.mjs → date-time-range-picker-yy1Acntn.mjs} +36 -59
  60. package/dist/dialog/index.mjs +1 -2
  61. package/dist/{dialog-Gu70fban.mjs → dialog-C8RXIQYm.mjs} +4 -5
  62. package/dist/{dialog-CmkrpaYy.mjs → dialog-D6sDXaH6.mjs} +2 -3
  63. package/dist/dropdown/index.mjs +1 -2
  64. package/dist/{dropdown-Xvduih96.mjs → dropdown-DR9j3Ni_.mjs} +3 -4
  65. package/dist/{dropdown-menu-b8zY5Cs6.mjs → dropdown-menu-CjgTr8Ab.mjs} +2 -3
  66. package/dist/dropzone/index.mjs +1 -2
  67. package/dist/{dropzone-ihksfjN2.mjs → dropzone-qKYfSe7o.mjs} +6 -8
  68. package/dist/empty-content/index.mjs +1 -2
  69. package/dist/{empty-content-CmuVcU0P.mjs → empty-content-CTMHak36.mjs} +8 -13
  70. package/dist/form/adapters/conform/index.mjs +4 -6
  71. package/dist/form/adapters/rhf/index.mjs +6 -9
  72. package/dist/form/index.mjs +2 -2
  73. package/dist/form/stepper/index.mjs +11 -16
  74. package/dist/{form-D4R6C609.mjs → form-DTaVgDSV.mjs} +64 -89
  75. package/dist/{form-context-DzB2a-dw.mjs → form-context-BRzt53M5.mjs} +1 -2
  76. package/dist/grid/index.mjs +1 -2
  77. package/dist/grouped-table/index.mjs +1 -2
  78. package/dist/{grouped-table-fHguJz9W.mjs → grouped-table-Dl6DclbV.mjs} +17 -25
  79. package/dist/hooks/index.mjs +4 -4
  80. package/dist/{hooks-CwZ6hyI1.mjs → hooks-WVJbyhCz.mjs} +1 -2
  81. package/dist/hover-card/index.mjs +1 -2
  82. package/dist/{hover-card-BNOE5vT5.mjs → hover-card-DSt1lZGg.mjs} +3 -5
  83. package/dist/{icon-wrapper-DKfJlJd0.mjs → icon-wrapper-CIk2th6R.mjs} +1 -2
  84. package/dist/icons/index.mjs +3 -3
  85. package/dist/index.mjs +80 -80
  86. package/dist/input/index.mjs +1 -2
  87. package/dist/{input-j4tbmYYz.mjs → input-DsT5qkJn.mjs} +3 -4
  88. package/dist/{input-DR-XbgpD.mjs → input-Wl1K48ca.mjs} +2 -3
  89. package/dist/input-group/index.mjs +1 -2
  90. package/dist/{input-group-DieA8aBt.mjs → input-group-CCzvJIZM.mjs} +5 -6
  91. package/dist/input-number/index.mjs +1 -2
  92. package/dist/{input-number-TXmW-X9o.mjs → input-number-DF-bfIo8.mjs} +5 -6
  93. package/dist/input-with-addons/index.mjs +2 -3
  94. package/dist/label/index.mjs +1 -2
  95. package/dist/{label-Bk6FXsju.mjs → label-BR1V3Imy.mjs} +3 -5
  96. package/dist/{layers-DWYdrGmC.mjs → layers-DLUbkJtt.mjs} +26 -27
  97. package/dist/loader-overlay/index.mjs +1 -2
  98. package/dist/{loader-overlay-DD94azZX.mjs → loader-overlay-DP0pvHuG.mjs} +3 -4
  99. package/dist/logo/index.mjs +2 -2
  100. package/dist/logo/themed/index.mjs +3 -4
  101. package/dist/{logo-C3FxD7jb.mjs → logo-CkzKra6H.mjs} +2 -3
  102. package/dist/{logo-text-Dpm5O6Kg.mjs → logo-text-B54YiEte.mjs} +6 -11
  103. package/dist/logs/fixtures/index.mjs +2 -4
  104. package/dist/logs/index.mjs +68 -87
  105. package/dist/map/index.mjs +1 -2
  106. package/dist/{map-leaflet-imports-S3kx8Q-S.mjs → map-leaflet-imports-Xdz9Xiaf.mjs} +1 -2
  107. package/dist/mobile-sheet/index.mjs +1 -2
  108. package/dist/{mobile-sheet-9TootJGg.mjs → mobile-sheet-1995HYY_.mjs} +6 -9
  109. package/dist/more-actions/index.mjs +2 -2
  110. package/dist/{more-actions-C3DYWO0a.mjs → more-actions-BlSOVwa8.mjs} +6 -7
  111. package/dist/{motion-DvGRWdsm.mjs → motion-DOrRbLmy.mjs} +1 -2
  112. package/dist/motion-chip-BczV7spP.mjs +52 -0
  113. package/dist/multi-select/index.mjs +1 -2
  114. package/dist/{multi-select-CF0Yq5yf.mjs → multi-select-C2cBrqXl.mjs} +61 -57
  115. package/dist/nprogress/index.mjs +1 -2
  116. package/dist/page-title/index.mjs +1 -2
  117. package/dist/{page-title-ipRWEOeM.mjs → page-title-Djl3LvPT.mjs} +2 -3
  118. package/dist/picker/index.mjs +2 -2
  119. package/dist/{picker-BoKXW6_s.mjs → picker-DC3GErYg.mjs} +14 -25
  120. package/dist/popover/index.mjs +1 -2
  121. package/dist/{popover-X82NwhX9.mjs → popover-7YxyP_W0.mjs} +3 -5
  122. package/dist/radio-group/index.mjs +1 -2
  123. package/dist/radio-group-Boxi2hm0.mjs +83 -0
  124. package/dist/responsive-dropdown/index.mjs +1 -2
  125. package/dist/{responsive-dropdown-C_KKgLbH.mjs → responsive-dropdown-DsWgpE_i.mjs} +5 -6
  126. package/dist/responsive-popover/index.mjs +1 -2
  127. package/dist/{responsive-popover-8VcjBM2d.mjs → responsive-popover-DJYd8lOK.mjs} +5 -6
  128. package/dist/rich-text-content/index.mjs +1 -2
  129. package/dist/{rich-text-content-DNonBD39.mjs → rich-text-content-BiIIowBU.mjs} +2 -3
  130. package/dist/rich-text-editor/index.mjs +2 -2
  131. package/dist/{rich-text-editor-CP1YyxMR.mjs → rich-text-editor-BUz06s-b.mjs} +14 -22
  132. package/dist/select/index.mjs +1 -2
  133. package/dist/{select-D4pk9e2d.mjs → select-DemYhwnG.mjs} +3 -4
  134. package/dist/{select-daE2Nn0Z.mjs → select-jgK6wyXj.mjs} +2 -3
  135. package/dist/separator/index.mjs +1 -2
  136. package/dist/{separator-vbPD_WFQ.mjs → separator-DNiiN2BN.mjs} +2 -3
  137. package/dist/settings-nav/index.mjs +1 -2
  138. package/dist/{settings-nav-Hf3GrCGv.mjs → settings-nav-CCZdPD-x.mjs} +2 -3
  139. package/dist/sheet/index.mjs +2 -2
  140. package/dist/{sheet-DHn6C_rs.mjs → sheet-DEpEJ_Rk.mjs} +4 -5
  141. package/dist/{sheet-DXCZyMHI.mjs → sheet-DYPtVIb2.mjs} +2 -3
  142. package/dist/sidebar/index.mjs +1 -2
  143. package/dist/{sidebar-sbqOOFii.mjs → sidebar-DWnxQWQ8.mjs} +13 -18
  144. package/dist/skeleton/index.mjs +3 -4
  145. package/dist/{skeleton-DFExK4GX.mjs → skeleton-CDPoo7-M.mjs} +2 -3
  146. package/dist/spinner/index.mjs +1 -2
  147. package/dist/spinner-DSlDJdWl.mjs +23 -0
  148. package/dist/spinner.icon-BiUnMAxw.mjs +104 -0
  149. package/dist/stepper/index.mjs +1 -2
  150. package/dist/{stepper-dNvkipop.mjs → stepper-ZipxpzWY.mjs} +10 -11
  151. package/dist/switch/index.mjs +1 -2
  152. package/dist/switch-IduVwiPZ.mjs +114 -0
  153. package/dist/table/index.mjs +2 -3
  154. package/dist/tabs/index.mjs +3 -4
  155. package/dist/tag-input/index.mjs +1 -2
  156. package/dist/{tag-input-c9OvWTSe.mjs → tag-input-a3ktkGrH.mjs} +46 -43
  157. package/dist/task-queue/index.mjs +1 -2
  158. package/dist/{task-queue-dropdown-CHPP5WIm.mjs → task-queue-dropdown-DuCAAybs.mjs} +39 -59
  159. package/dist/textarea/index.mjs +1 -2
  160. package/dist/{textarea-DiSGxCBO.mjs → textarea-CvhdK6JY.mjs} +3 -4
  161. package/dist/{textarea-CCxpXJdh.mjs → textarea-D36SE4ki.mjs} +2 -3
  162. package/dist/theme/index.mjs +1 -2
  163. package/dist/{themes-Ba2bajuF.mjs → themes-BoxnQbbu.mjs} +8 -10
  164. package/dist/time-picker/index.mjs +1 -2
  165. package/dist/{time-picker-DQlc2gKW.mjs → time-picker-B_am4eAK.mjs} +3 -4
  166. package/dist/{to-api-format-QuJ81vQ9.mjs → to-api-format-DyImCzCn.mjs} +15 -23
  167. package/dist/toast/index.mjs +2 -2
  168. package/dist/{toast-BUPlDkN3.mjs → toast-CizxCEcK.mjs} +4 -6
  169. package/dist/tooltip/index.mjs +1 -2
  170. package/dist/{tooltip-DhbN1BDK.mjs → tooltip-OIySjJWW.mjs} +3 -5
  171. package/dist/transfer/index.mjs +1 -2
  172. package/dist/{transfer-DsshYgIk.mjs → transfer-DGUeAQUL.mjs} +8 -14
  173. package/dist/{types-agDpVXBG.mjs → types-ChINrR8H.mjs} +7 -11
  174. package/dist/typography/index.mjs +1 -2
  175. package/dist/{typography-B1bpHKmV.mjs → typography-XFfN6PGD.mjs} +2 -3
  176. package/dist/{use-breakpoint-CwiUJSmk.mjs → use-breakpoint-zY_JYINK.mjs} +1 -2
  177. package/dist/{use-controllable-state-Dna7u3r9.mjs → use-controllable-state-DLeVgbAb.mjs} +1 -2
  178. package/dist/{use-copy-to-clipboard-DZDq_85T.mjs → use-copy-to-clipboard-CWKWHLxI.mjs} +1 -2
  179. package/dist/{use-debounced-search-input-yu_F0QBt.mjs → use-debounced-search-input-B4u28iLx.mjs} +1 -2
  180. package/dist/{use-deprecation-warning-DXrGc0jX.mjs → use-deprecation-warning-BS1V4IS5.mjs} +1 -2
  181. package/dist/{use-display-touched-CMEEv7aT.mjs → use-display-touched-BSq0Ninl.mjs} +3 -5
  182. package/dist/{use-option-picker-s2bUYwXC.mjs → use-option-picker-DXY2SNnT.mjs} +6 -9
  183. package/dist/{use-toast-Bpq0yJIT.mjs → use-toast-CZAZeS95.mjs} +3 -5
  184. package/dist/utils/index.mjs +3 -3
  185. package/dist/{utils-CA4QEIJ8.mjs → utils-CPJ5MCfd.mjs} +1 -2
  186. package/dist/{utils-Bu32wN-x.mjs → utils-CTIuhCOs.mjs} +1 -2
  187. package/dist/visually-hidden/index.mjs +1 -2
  188. package/dist/{visuallyhidden-D7L_qs8b.mjs → visuallyhidden-Mg4OsZ-l.mjs} +1 -2
  189. package/dist/{zod-helpers-YEhVo2S-.mjs → zod-helpers-JcfFVJJd.mjs} +1 -2
  190. package/package.json +20 -23
  191. package/dist/badge-DOZUr5DV.mjs +0 -183
  192. package/dist/checkbox-C6P12fio.mjs +0 -30
  193. package/dist/radio-group-LduBVTnh.mjs +0 -45
  194. package/dist/spinner-C5Xv-i2C.mjs +0 -14
  195. package/dist/spinner.icon-BYUMQ8H-.mjs +0 -48
  196. package/dist/switch-BaR-Vna4.mjs +0 -34
@@ -1,2 +1 @@
1
- import { a as SelectLabel, c as SelectSeparator, i as SelectItem, l as SelectTrigger, n as SelectContent, o as SelectScrollDownButton, r as SelectGroup, s as SelectScrollUpButton, t as Select, u as SelectValue } from "../select-D4pk9e2d.mjs";
2
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
1
+ export { t as Select, n as SelectContent, r as SelectGroup, i as SelectItem, a as SelectLabel, o as SelectScrollDownButton, s as SelectScrollUpButton, c as SelectSeparator, l as SelectTrigger, u as SelectValue } from "../select-DemYhwnG.mjs";
@@ -1,8 +1,8 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
2
- import { a as SelectLabel$1, c as SelectSeparator$1, i as SelectItem$1, l as SelectTrigger$1, n as SelectContent$1, o as SelectScrollDownButton$1, r as SelectGroup$1, s as SelectScrollUpButton$1, t as Select$1, u as SelectValue$1 } from "./select-daE2Nn0Z.mjs";
1
+ import { a as SelectLabel$1, c as SelectSeparator$1, i as SelectItem$1, l as SelectTrigger$1, n as SelectContent$1, o as SelectScrollDownButton$1, r as SelectGroup$1, s as SelectScrollUpButton$1, t as Select$1, u as SelectValue$1 } from "./select-jgK6wyXj.mjs";
2
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/components/base/select/select.tsx
5
+ // src/components/base/select/select.tsx
6
6
  const Select = Select$1;
7
7
  const SelectValue = SelectValue$1;
8
8
  function SelectGroup({ ref, className, ...props }) {
@@ -69,5 +69,4 @@ function SelectScrollDownButton({ ref, className, ...props }) {
69
69
  });
70
70
  }
71
71
  SelectScrollDownButton.displayName = "SelectScrollDownButton";
72
- //#endregion
73
72
  export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
@@ -1,9 +1,9 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
2
  import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import * as SelectPrimitive from "@radix-ui/react-select";
6
- //#region ../shadcn/ui/select.tsx
6
+ // ../shadcn/ui/select.tsx
7
7
  function Select({ ...props }) {
8
8
  return /* @__PURE__ */ jsx(SelectPrimitive.Root, {
9
9
  "data-slot": "select",
@@ -90,5 +90,4 @@ function SelectScrollDownButton({ className, ...props }) {
90
90
  children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" })
91
91
  });
92
92
  }
93
- //#endregion
94
93
  export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
@@ -1,2 +1 @@
1
- import { t as Separator } from "../separator-vbPD_WFQ.mjs";
2
- export { Separator };
1
+ export { t as Separator } from "../separator-DNiiN2BN.mjs";
@@ -1,8 +1,8 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
5
- //#region ../shadcn/ui/separator.tsx
5
+ // ../shadcn/ui/separator.tsx
6
6
  function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
7
7
  return /* @__PURE__ */ jsx(SeparatorPrimitive.Root, {
8
8
  "data-slot": "separator-root",
@@ -12,5 +12,4 @@ function Separator({ className, orientation = "horizontal", decorative = true, .
12
12
  ...props
13
13
  });
14
14
  }
15
- //#endregion
16
15
  export { Separator as t };
@@ -1,2 +1 @@
1
- import { n as SettingsNavItem, r as SettingsNavLabel, t as SettingsNav } from "../settings-nav-Hf3GrCGv.mjs";
2
- export { SettingsNav, SettingsNavItem, SettingsNavLabel };
1
+ export { t as SettingsNav, n as SettingsNavItem, r as SettingsNavLabel } from "../settings-nav-CCZdPD-x.mjs";
@@ -1,9 +1,9 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
2
  import { cva } from "class-variance-authority";
3
3
  import * as React from "react";
4
4
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Slot } from "@radix-ui/react-slot";
6
- //#region src/components/base/settings-nav/settings-nav.tsx
6
+ // src/components/base/settings-nav/settings-nav.tsx
7
7
  /**
8
8
  * Compact inset settings navigation for configuration pages.
9
9
  *
@@ -90,5 +90,4 @@ function SettingsNavItem({ className, variant, asChild = false, icon, active = f
90
90
  children: content
91
91
  });
92
92
  }
93
- //#endregion
94
93
  export { SettingsNavItem as n, SettingsNavLabel as r, SettingsNav as t };
@@ -1,3 +1,3 @@
1
- import { a as SheetHeader, i as SheetFooter, o as SheetTitle, r as SheetDescription, s as SheetTrigger } from "../sheet-DXCZyMHI.mjs";
2
- import { i as SheetOverlay, n as SheetClose, r as SheetContent, t as Sheet } from "../sheet-DHn6C_rs.mjs";
1
+ import { a as SheetHeader, i as SheetFooter, o as SheetTitle, r as SheetDescription, s as SheetTrigger } from "../sheet-DYPtVIb2.mjs";
2
+ import { i as SheetOverlay, n as SheetClose, r as SheetContent, t as Sheet } from "../sheet-DEpEJ_Rk.mjs";
3
3
  export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetTitle, SheetTrigger };
@@ -1,10 +1,10 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
2
- import { t as CloseIcon } from "./close.icon-DdXKQ4m0.mjs";
3
- import { a as SheetHeader, i as SheetFooter, o as SheetTitle, r as SheetDescription, s as SheetTrigger, t as Sheet$1 } from "./sheet-DXCZyMHI.mjs";
1
+ import { a as SheetHeader, i as SheetFooter, o as SheetTitle, r as SheetDescription, s as SheetTrigger, t as Sheet$1 } from "./sheet-DYPtVIb2.mjs";
2
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
3
+ import { t as CloseIcon } from "./close.icon-BCPmH4nN.mjs";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import * as SheetPrimitive from "@radix-ui/react-dialog";
7
- //#region src/components/base/sheet/sheet.tsx
7
+ // src/components/base/sheet/sheet.tsx
8
8
  const SheetClose = SheetPrimitive.Close;
9
9
  function SheetOverlay({ className, ...props }) {
10
10
  return /* @__PURE__ */ jsx(SheetPrimitive.Overlay, {
@@ -39,5 +39,4 @@ const Sheet = Object.assign(Sheet$1, {
39
39
  Title: SheetTitle,
40
40
  Description: SheetDescription
41
41
  });
42
- //#endregion
43
42
  export { SheetOverlay as i, SheetClose as n, SheetContent as r, Sheet as t };
@@ -1,9 +1,9 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
2
  import { XIcon } from "lucide-react";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import * as SheetPrimitive from "@radix-ui/react-dialog";
6
- //#region ../shadcn/ui/sheet.tsx
6
+ // ../shadcn/ui/sheet.tsx
7
7
  function Sheet({ ...props }) {
8
8
  return /* @__PURE__ */ jsx(SheetPrimitive.Root, {
9
9
  "data-slot": "sheet",
@@ -71,5 +71,4 @@ function SheetDescription({ className, ...props }) {
71
71
  ...props
72
72
  });
73
73
  }
74
- //#endregion
75
74
  export { SheetHeader as a, SheetFooter as i, SheetContent as n, SheetTitle as o, SheetDescription as r, SheetTrigger as s, Sheet as t };
@@ -1,2 +1 @@
1
- import { C as SidebarProvider, S as SidebarGroupLabel, _ as SidebarMenuSubButton, a as SidebarInput, b as SidebarGroupAction, c as SidebarSeparator, d as SidebarMenuAction, f as SidebarMenuBadge, g as SidebarMenuSub, h as SidebarMenuSkeleton, i as SidebarHeader, l as SidebarTrigger, m as SidebarMenuItem, n as SidebarContent, o as SidebarInset, p as SidebarMenuButton, r as SidebarFooter, s as SidebarRail, t as Sidebar, u as SidebarMenu, v as SidebarMenuSubItem, w as useSidebar, x as SidebarGroupContent, y as SidebarGroup } from "../sidebar-sbqOOFii.mjs";
2
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
1
+ export { t as Sidebar, n as SidebarContent, r as SidebarFooter, y as SidebarGroup, b as SidebarGroupAction, x as SidebarGroupContent, S as SidebarGroupLabel, i as SidebarHeader, a as SidebarInput, o as SidebarInset, u as SidebarMenu, d as SidebarMenuAction, f as SidebarMenuBadge, p as SidebarMenuButton, m as SidebarMenuItem, h as SidebarMenuSkeleton, g as SidebarMenuSub, _ as SidebarMenuSubButton, v as SidebarMenuSubItem, C as SidebarProvider, s as SidebarRail, c as SidebarSeparator, l as SidebarTrigger, w as useSidebar } from "../sidebar-DWnxQWQ8.mjs";
@@ -1,17 +1,17 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
2
- import { t as Separator } from "./separator-vbPD_WFQ.mjs";
3
- import { t as Button } from "./button-CsdF61EI.mjs";
4
- import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
5
- import { t as Input } from "./input-j4tbmYYz.mjs";
6
- import { a as SheetHeader, n as SheetContent, o as SheetTitle, r as SheetDescription, t as Sheet } from "./sheet-DXCZyMHI.mjs";
7
- import { i as TooltipProvider, t as Tooltip } from "./tooltip-DhbN1BDK.mjs";
8
- import { t as Skeleton } from "./skeleton-DFExK4GX.mjs";
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
+ import { t as Separator } from "./separator-DNiiN2BN.mjs";
3
+ import { t as Button } from "./button-C57mkFkS.mjs";
4
+ import { t as Icon } from "./icon-wrapper-CIk2th6R.mjs";
5
+ import { t as Input } from "./input-DsT5qkJn.mjs";
6
+ import { a as SheetHeader, n as SheetContent, o as SheetTitle, r as SheetDescription, t as Sheet } from "./sheet-DYPtVIb2.mjs";
7
+ import { i as TooltipProvider, t as Tooltip } from "./tooltip-OIySjJWW.mjs";
8
+ import { t as Skeleton } from "./skeleton-CDPoo7-M.mjs";
9
9
  import { cva } from "class-variance-authority";
10
10
  import { PanelLeftCloseIcon, PanelLeftOpenIcon } from "lucide-react";
11
11
  import * as React from "react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  import { Slot } from "@radix-ui/react-slot";
14
- //#region ../shadcn/hooks/use-mobile.ts
14
+ // ../shadcn/hooks/use-mobile.ts
15
15
  const MOBILE_BREAKPOINT = 768;
16
16
  function useIsMobile() {
17
17
  const [isMobile, setIsMobile] = React.useState(void 0);
@@ -26,8 +26,7 @@ function useIsMobile() {
26
26
  }, []);
27
27
  return !!isMobile;
28
28
  }
29
- //#endregion
30
- //#region src/components/base/sidebar/context.tsx
29
+ // src/components/base/sidebar/context.tsx
31
30
  const SIDEBAR_COOKIE_NAME = "sidebar_state";
32
31
  const SIDEBAR_COOKIE_MAX_AGE = 604800;
33
32
  const SIDEBAR_WIDTH = "13rem";
@@ -219,8 +218,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
219
218
  })
220
219
  });
221
220
  }
222
- //#endregion
223
- //#region src/components/base/sidebar/group.tsx
221
+ // src/components/base/sidebar/group.tsx
224
222
  function SidebarGroup({ className, ...props }) {
225
223
  return /* @__PURE__ */ jsx("div", {
226
224
  "data-slot": "sidebar-group",
@@ -253,8 +251,7 @@ function SidebarGroupContent({ className, ...props }) {
253
251
  ...props
254
252
  });
255
253
  }
256
- //#endregion
257
- //#region src/components/base/sidebar/menu.tsx
254
+ // src/components/base/sidebar/menu.tsx
258
255
  function SidebarMenu({ className, ...props }) {
259
256
  return /* @__PURE__ */ jsx("ul", {
260
257
  "data-slot": "sidebar-menu",
@@ -388,8 +385,7 @@ function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false,
388
385
  ...props
389
386
  });
390
387
  }
391
- //#endregion
392
- //#region src/components/base/sidebar/shell.tsx
388
+ // src/components/base/sidebar/shell.tsx
393
389
  function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }) {
394
390
  const { isMobile, state, openMobile, setOpenMobile, expandBehavior, showBackdrop, forceClose } = useSidebar();
395
391
  const sidebarRef = React.useRef(null);
@@ -582,5 +578,4 @@ function SidebarContent({ className, onMouseEnter, onMouseLeave, ...props }) {
582
578
  ...props
583
579
  });
584
580
  }
585
- //#endregion
586
581
  export { SidebarProvider as C, SidebarGroupLabel as S, SidebarMenuSubButton as _, SidebarInput as a, SidebarGroupAction as b, SidebarSeparator as c, SidebarMenuAction as d, SidebarMenuBadge as f, SidebarMenuSub as g, SidebarMenuSkeleton as h, SidebarHeader as i, SidebarTrigger as l, SidebarMenuItem as m, SidebarContent as n, SidebarInset as o, SidebarMenuButton as p, SidebarFooter as r, SidebarRail as s, Sidebar as t, SidebarMenu as u, SidebarMenuSubItem as v, useSidebar as w, SidebarGroupContent as x, SidebarGroup as y };
@@ -1,8 +1,8 @@
1
- import { t as cn } from "../utils-Bu32wN-x.mjs";
2
- import { t as Skeleton$1 } from "../skeleton-DFExK4GX.mjs";
1
+ import { t as Skeleton$1 } from "../skeleton-CDPoo7-M.mjs";
2
+ import { t as cn } from "../utils-CTIuhCOs.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/components/base/skeleton/skeleton.tsx
5
+ // src/components/base/skeleton/skeleton.tsx
6
6
  /**
7
7
  * Datum Skeleton component – extends shadcn Skeleton with Datum-specific styling.
8
8
  *
@@ -22,5 +22,4 @@ function Skeleton({ ref, className, ...props }) {
22
22
  });
23
23
  }
24
24
  Skeleton.displayName = "Skeleton";
25
- //#endregion
26
25
  export { Skeleton };
@@ -1,11 +1,10 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region ../shadcn/ui/skeleton.tsx
3
+ // ../shadcn/ui/skeleton.tsx
4
4
  function Skeleton({ className, ...props }) {
5
5
  return /* @__PURE__ */ jsx("div", {
6
6
  className: cn("bg-muted animate-pulse rounded-md", className),
7
7
  ...props
8
8
  });
9
9
  }
10
- //#endregion
11
10
  export { Skeleton as t };
@@ -1,2 +1 @@
1
- import { t as Spinner } from "../spinner-C5Xv-i2C.mjs";
2
- export { Spinner };
1
+ export { t as Spinner } from "../spinner-DSlDJdWl.mjs";
@@ -0,0 +1,23 @@
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
+ import { t as SpinnerIcon } from "./spinner.icon-BiUnMAxw.mjs";
3
+ import { jsx } from "react/jsx-runtime";
4
+ // src/components/base/spinner/spinner.tsx
5
+ /**
6
+ * Standalone loading indicator, announced to assistive tech as a status.
7
+ *
8
+ * Built on `SpinnerIcon`. It differs in three ways: it is `size-4` unless a
9
+ * size class is passed, it carries `role="status"`, and its colour comes from
10
+ * `className` (default `text-primary`), so `<Spinner className="text-white" />`
11
+ * recolours the arc and its track together.
12
+ */
13
+ function Spinner({ className, ...props }) {
14
+ return /* @__PURE__ */ jsx(SpinnerIcon, {
15
+ role: "status",
16
+ "aria-label": "Loading",
17
+ size: null,
18
+ indicatorClassName: "",
19
+ className: cn("text-primary size-4", className),
20
+ ...props
21
+ });
22
+ }
23
+ export { Spinner as t };
@@ -0,0 +1,104 @@
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
+ import { cva } from "class-variance-authority";
3
+ import * as React from "react";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { motion } from "motion/react";
6
+ // src/components/icons/spinner.icon.tsx
7
+ const spinnerVariants = cva("shrink-0", {
8
+ variants: { size: {
9
+ "xs": "size-3",
10
+ "sm": "size-4",
11
+ "md": "size-6",
12
+ "lg": "size-8",
13
+ "xl": "size-10",
14
+ "2xl": "size-12",
15
+ "3xl": "size-14",
16
+ "4xl": "size-16",
17
+ "5xl": "size-18",
18
+ "6xl": "size-20",
19
+ "7xl": "size-22",
20
+ "8xl": "size-24",
21
+ "9xl": "size-26"
22
+ } },
23
+ defaultVariants: { size: "md" }
24
+ });
25
+ /** Seconds per full turn. Quick enough that waiting feels shorter. */
26
+ const REVOLUTION = .8;
27
+ const CENTER = 32;
28
+ const RADIUS = 29;
29
+ /**
30
+ * The indicator: an arc running clockwise from 12 o'clock. Its tail sits at
31
+ * the top and its head at the far end, so the head leads as the spinner turns.
32
+ */
33
+ const ARC_DEGREES = 150;
34
+ const ARC_END = {
35
+ x: CENTER + RADIUS * Math.sin(ARC_DEGREES * Math.PI / 180),
36
+ y: CENTER - RADIUS * Math.cos(ARC_DEGREES * Math.PI / 180)
37
+ };
38
+ const ARC_PATH = `M ${CENTER} 3 A ${RADIUS} ${RADIUS} 0 0 1 ${ARC_END.x} ${ARC_END.y}`;
39
+ /** Track opacity when it follows the indicator colour. */
40
+ const TRACK_OPACITY = .18;
41
+ /**
42
+ * A loading spinner: a faint full-circle track with an arc that fades from a
43
+ * transparent tail to a solid, rounded head, turning clockwise.
44
+ *
45
+ * The rotation runs through Motion as a full `transform` keyframe animation,
46
+ * which Motion hands to the Web Animations API. That keeps it on the
47
+ * compositor, so the spinner stays smooth while the main thread is busy doing
48
+ * whatever the user is waiting for. It keeps spinning under reduced motion:
49
+ * it is essential loading feedback, not decoration.
50
+ */
51
+ function SpinnerIcon({ size, className, trackClassName, indicatorClassName = "text-primary", ...props }) {
52
+ const gradientId = `spinner-tail-${React.useId().replace(/[^\w-]/g, "")}`;
53
+ return /* @__PURE__ */ jsx(motion.svg, {
54
+ viewBox: "0 0 64 64",
55
+ fill: "none",
56
+ xmlns: "http://www.w3.org/2000/svg",
57
+ "data-slot": "spinner",
58
+ className: cn(spinnerVariants({ size }), className),
59
+ animate: { transform: ["rotate(0deg)", "rotate(360deg)"] },
60
+ transition: {
61
+ duration: REVOLUTION,
62
+ ease: "linear",
63
+ repeat: Infinity
64
+ },
65
+ ...props,
66
+ children: /* @__PURE__ */ jsxs("g", {
67
+ className: indicatorClassName,
68
+ children: [
69
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", {
70
+ id: gradientId,
71
+ gradientUnits: "userSpaceOnUse",
72
+ x1: CENTER,
73
+ y1: 3,
74
+ x2: ARC_END.x,
75
+ y2: ARC_END.y,
76
+ children: [/* @__PURE__ */ jsx("stop", {
77
+ offset: "0",
78
+ stopColor: "currentColor",
79
+ stopOpacity: "0"
80
+ }), /* @__PURE__ */ jsx("stop", {
81
+ offset: "1",
82
+ stopColor: "currentColor"
83
+ })]
84
+ }) }),
85
+ /* @__PURE__ */ jsx("circle", {
86
+ cx: CENTER,
87
+ cy: CENTER,
88
+ r: RADIUS,
89
+ stroke: "currentColor",
90
+ strokeWidth: "5",
91
+ opacity: trackClassName ? void 0 : TRACK_OPACITY,
92
+ className: trackClassName
93
+ }),
94
+ /* @__PURE__ */ jsx("path", {
95
+ d: ARC_PATH,
96
+ stroke: `url(#${gradientId})`,
97
+ strokeWidth: "5",
98
+ strokeLinecap: "round"
99
+ })
100
+ ]
101
+ })
102
+ });
103
+ }
104
+ export { SpinnerIcon as t };
@@ -1,2 +1 @@
1
- import { t as defineStepper } from "../stepper-dNvkipop.mjs";
2
- export { defineStepper };
1
+ export { t as defineStepper } from "../stepper-ZipxpzWY.mjs";
@@ -1,11 +1,11 @@
1
- import { t as cn } from "./utils-Bu32wN-x.mjs";
2
- import { t as Button } from "./button-CsdF61EI.mjs";
1
+ import { t as Button } from "./button-C57mkFkS.mjs";
2
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
3
3
  import { cva } from "class-variance-authority";
4
4
  import * as React from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Slot } from "@radix-ui/react-slot";
7
7
  import * as Stepperize from "@stepperize/react";
8
- //#region src/components/features/stepper/parts.tsx
8
+ // src/components/features/stepper/parts.tsx
9
9
  const classForSeparator = cva([
10
10
  "bg-muted",
11
11
  "data-[state=completed]:bg-primary data-[disabled]:opacity-50",
@@ -103,8 +103,7 @@ function CircleStepIndicator({ currentStep, totalSteps, size = 80, strokeWidth =
103
103
  })]
104
104
  });
105
105
  }
106
- //#endregion
107
- //#region src/components/features/stepper/utils.ts
106
+ // src/components/features/stepper/utils.ts
108
107
  function scrollIntoStepperPanel(node, tracking) {
109
108
  if (tracking) node?.scrollIntoView({
110
109
  behavior: "smooth",
@@ -117,9 +116,11 @@ function useStepChildren(children) {
117
116
  function extractChildren(children) {
118
117
  const childrenArray = React.Children.toArray(children);
119
118
  const map = /* @__PURE__ */ new Map();
120
- for (const child of childrenArray) if (React.isValidElement(child)) if (child.type === Title) map.set("title", child);
121
- else if (child.type === Description) map.set("description", child);
122
- else map.set("panel", child);
119
+ for (const child of childrenArray) if (React.isValidElement(child)) {
120
+ if (child.type === Title) map.set("title", child);
121
+ else if (child.type === Description) map.set("description", child);
122
+ else map.set("panel", child);
123
+ }
123
124
  return map;
124
125
  }
125
126
  function onStepKeyDown(e, nextStep, prevStep, instanceId) {
@@ -145,8 +146,7 @@ function getStepState(currentIndex, stepIndex) {
145
146
  if (currentIndex > stepIndex) return "completed";
146
147
  return "inactive";
147
148
  }
148
- //#endregion
149
- //#region src/components/features/stepper/stepper.tsx
149
+ // src/components/features/stepper/stepper.tsx
150
150
  const StepperContext = React.createContext(null);
151
151
  function useStepperProvider() {
152
152
  const context = React.use(StepperContext);
@@ -337,5 +337,4 @@ function defineStepper(...steps) {
337
337
  }
338
338
  };
339
339
  }
340
- //#endregion
341
340
  export { defineStepper as t };
@@ -1,2 +1 @@
1
- import { t as Switch } from "../switch-BaR-Vna4.mjs";
2
- export { Switch };
1
+ export { t as Switch } from "../switch-IduVwiPZ.mjs";
@@ -0,0 +1,114 @@
1
+ import { t as cn } from "./utils-CTIuhCOs.mjs";
2
+ import { n as EASE, t as DURATION } from "./motion-DOrRbLmy.mjs";
3
+ import { t as useControllableState } from "./use-controllable-state-DLeVgbAb.mjs";
4
+ import { CheckIcon, XIcon } from "lucide-react";
5
+ import * as React from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { motion, useReducedMotion } from "motion/react";
8
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
9
+ // src/components/base/switch/switch.tsx
10
+ /** Thumb diameter in px (`size-5`). */
11
+ const THUMB = 20;
12
+ /** How far the thumb travels: the track's inner width (44 - 2px border) minus the thumb. */
13
+ const TRAVEL = 22;
14
+ /** How much the thumb widens while pressed, toward the side it will move to. */
15
+ const STRETCH = 4;
16
+ const THUMB_SPRING = {
17
+ type: "spring",
18
+ visualDuration: .22,
19
+ bounce: .15
20
+ };
21
+ const GLYPH_TRANSITION = {
22
+ duration: DURATION.fast,
23
+ ease: EASE.out
24
+ };
25
+ /**
26
+ * Switch renders the Radix primitive directly rather than wrapping the shadcn
27
+ * one, because its state glyphs go inside the thumb. Building it here keeps the
28
+ * shadcn base untouched, so that base can be regenerated from upstream without
29
+ * losing anything of ours.
30
+ *
31
+ * Motion drives the thumb: it slides on a light spring, stretches while the
32
+ * pointer is held down (so the press registers before the release toggles it),
33
+ * and the on/off glyphs cross-fade. Under reduced motion the thumb moves
34
+ * instantly and only the glyphs fade.
35
+ */
36
+ function Switch({ ref, className, checked: checkedProp, defaultChecked, onCheckedChange, onPointerDown, onPointerUp, onPointerLeave, onPointerCancel, ...props }) {
37
+ const [checked, setChecked] = useControllableState(checkedProp, defaultChecked ?? false, onCheckedChange);
38
+ const [pressed, setPressed] = React.useState(false);
39
+ const reduceMotion = Boolean(useReducedMotion());
40
+ const stretch = pressed && !reduceMotion && !props.disabled ? STRETCH : 0;
41
+ const x = checked ? TRAVEL - stretch : 0;
42
+ return /* @__PURE__ */ jsx(SwitchPrimitive.Root, {
43
+ ref,
44
+ "data-slot": "switch",
45
+ checked,
46
+ onCheckedChange: setChecked,
47
+ onPointerDown: (event) => {
48
+ onPointerDown?.(event);
49
+ if (event.button === 0) setPressed(true);
50
+ },
51
+ onPointerUp: (event) => {
52
+ onPointerUp?.(event);
53
+ setPressed(false);
54
+ },
55
+ onPointerLeave: (event) => {
56
+ onPointerLeave?.(event);
57
+ setPressed(false);
58
+ },
59
+ onPointerCancel: (event) => {
60
+ onPointerCancel?.(event);
61
+ setPressed(false);
62
+ },
63
+ className: cn("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-6 w-11 shrink-0 items-center rounded-full border border-transparent shadow-xs outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", "transition-[background-color,border-color,box-shadow] duration-[var(--duration-fast)] ease-out", className),
64
+ ...props,
65
+ children: /* @__PURE__ */ jsx(SwitchPrimitive.Thumb, {
66
+ asChild: true,
67
+ children: /* @__PURE__ */ jsxs(motion.span, {
68
+ "data-slot": "switch-thumb",
69
+ initial: false,
70
+ animate: {
71
+ x,
72
+ width: THUMB + stretch
73
+ },
74
+ transition: reduceMotion ? { duration: 0 } : THUMB_SPRING,
75
+ className: cn("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground text-muted-foreground dark:data-[state=unchecked]:text-background dark:data-[state=checked]:text-primary pointer-events-none relative flex h-5 items-center justify-center rounded-full ring-0"),
76
+ children: [/* @__PURE__ */ jsx(motion.span, {
77
+ "aria-hidden": true,
78
+ className: "absolute flex",
79
+ initial: false,
80
+ animate: checked ? {
81
+ opacity: 0,
82
+ scale: reduceMotion ? 1 : .5
83
+ } : {
84
+ opacity: 1,
85
+ scale: 1
86
+ },
87
+ transition: GLYPH_TRANSITION,
88
+ children: /* @__PURE__ */ jsx(XIcon, {
89
+ "aria-hidden": true,
90
+ className: "size-3"
91
+ })
92
+ }), /* @__PURE__ */ jsx(motion.span, {
93
+ "aria-hidden": true,
94
+ className: "absolute flex",
95
+ initial: false,
96
+ animate: checked ? {
97
+ opacity: 1,
98
+ scale: 1
99
+ } : {
100
+ opacity: 0,
101
+ scale: reduceMotion ? 1 : .5
102
+ },
103
+ transition: GLYPH_TRANSITION,
104
+ children: /* @__PURE__ */ jsx(CheckIcon, {
105
+ "aria-hidden": true,
106
+ className: "size-3"
107
+ })
108
+ })]
109
+ })
110
+ })
111
+ });
112
+ }
113
+ Switch.displayName = "Switch";
114
+ export { Switch as t };
@@ -1,7 +1,7 @@
1
- import { t as cn } from "../utils-Bu32wN-x.mjs";
1
+ import { t as cn } from "../utils-CTIuhCOs.mjs";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
- //#region ../shadcn/ui/table.tsx
4
+ // ../shadcn/ui/table.tsx
5
5
  function Table({ className, ...props }) {
6
6
  return /* @__PURE__ */ jsx("div", {
7
7
  "data-slot": "table-container",
@@ -62,5 +62,4 @@ function TableCaption({ className, ...props }) {
62
62
  ...props
63
63
  });
64
64
  }
65
- //#endregion
66
65
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
@@ -1,10 +1,10 @@
1
- import { t as cn } from "../utils-Bu32wN-x.mjs";
1
+ import { t as cn } from "../utils-CTIuhCOs.mjs";
2
2
  import { cva } from "class-variance-authority";
3
3
  import * as React from "react";
4
4
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
5
- import * as TabsPrimitive from "@radix-ui/react-tabs";
6
5
  import { motion } from "motion/react";
7
- //#region src/components/base/tabs/tabs.tsx
6
+ import * as TabsPrimitive from "@radix-ui/react-tabs";
7
+ // src/components/base/tabs/tabs.tsx
8
8
  const TabsContext = React.createContext({
9
9
  value: void 0,
10
10
  indicatorId: "tabs"
@@ -103,5 +103,4 @@ function TabsLinkTrigger({ value, href, linkComponent: LinkComp = "a", children,
103
103
  })
104
104
  });
105
105
  }
106
- //#endregion
107
106
  export { Tabs, TabsContent, TabsLinkTrigger, TabsList, TabsTrigger };
@@ -1,2 +1 @@
1
- import { t as TagsInput } from "../tag-input-c9OvWTSe.mjs";
2
- export { TagsInput };
1
+ export { t as TagsInput } from "../tag-input-a3ktkGrH.mjs";