@inspirare/design-system 0.0.23 → 0.0.25

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 (297) hide show
  1. package/README.md +82 -61
  2. package/dist/book-logo-filled.svg +55 -0
  3. package/dist/components/ui/accessibility-improvements.js +26 -23
  4. package/dist/components/ui/accordion.js +34 -24
  5. package/dist/components/ui/alert-dialog.js +91 -57
  6. package/dist/components/ui/alert.js +38 -26
  7. package/dist/components/ui/aspect-ratio.js +11 -3
  8. package/dist/components/ui/avatar.js +30 -8
  9. package/dist/components/ui/badge.js +20 -14
  10. package/dist/components/ui/breadcrumb.js +69 -56
  11. package/dist/components/ui/button-group.js +17 -13
  12. package/dist/components/ui/button.js +19 -15
  13. package/dist/components/ui/calendar.js +63 -59
  14. package/dist/components/ui/card.js +11 -9
  15. package/dist/components/ui/carousel.js +70 -75
  16. package/dist/components/ui/chart.js +75 -72
  17. package/dist/components/ui/checkbox.js +4 -5
  18. package/dist/components/ui/collapsible.js +12 -14
  19. package/dist/components/ui/color-picker.js +60 -80
  20. package/dist/components/ui/combobox.js +153 -33
  21. package/dist/components/ui/command.js +50 -48
  22. package/dist/components/ui/context-menu.js +129 -68
  23. package/dist/components/ui/dialog.js +65 -60
  24. package/dist/components/ui/drawer.js +81 -40
  25. package/dist/components/ui/dropdown-menu.js +100 -87
  26. package/dist/components/ui/empty.js +7 -6
  27. package/dist/components/ui/field.js +44 -47
  28. package/dist/components/ui/form.js +22 -23
  29. package/dist/components/ui/hover-card.js +14 -11
  30. package/dist/components/ui/input-group.js +16 -13
  31. package/dist/components/ui/input-otp.js +37 -32
  32. package/dist/components/ui/input.js +9 -7
  33. package/dist/components/ui/item.js +42 -36
  34. package/dist/components/ui/kbd.js +2 -1
  35. package/dist/components/ui/label.js +6 -7
  36. package/dist/components/ui/menubar.js +124 -93
  37. package/dist/components/ui/navigation-menu.js +79 -54
  38. package/dist/components/ui/pagination.js +78 -58
  39. package/dist/components/ui/popover.js +35 -16
  40. package/dist/components/ui/progress.js +37 -13
  41. package/dist/components/ui/radio-group.js +14 -14
  42. package/dist/components/ui/resizable.js +24 -15
  43. package/dist/components/ui/scroll-area.js +29 -11
  44. package/dist/components/ui/select.js +116 -56
  45. package/dist/components/ui/separator.js +5 -7
  46. package/dist/components/ui/sheet.js +47 -42
  47. package/dist/components/ui/sidebar.js +279 -248
  48. package/dist/components/ui/skeleton.js +4 -40
  49. package/dist/components/ui/slider.js +27 -29
  50. package/dist/components/ui/sonner.js +27 -10
  51. package/dist/components/ui/spinner.js +2 -0
  52. package/dist/components/ui/switch.js +3 -4
  53. package/dist/components/ui/table.js +6 -6
  54. package/dist/components/ui/tabs.js +45 -22
  55. package/dist/components/ui/textarea.js +3 -2
  56. package/dist/components/ui/theme-toggle.js +38 -41
  57. package/dist/components/ui/toggle-group.js +30 -21
  58. package/dist/components/ui/toggle.js +8 -9
  59. package/dist/components/ui/tooltip.js +28 -23
  60. package/dist/index.css +1 -1
  61. package/dist/index.d.ts +446 -468
  62. package/dist/index.js +58 -58
  63. package/package.json +38 -37
  64. package/src/App.tsx +28 -34
  65. package/src/components/branding/assets/book-logo-filled.svg +55 -0
  66. package/src/components/branding/logo/logo.tsx +56 -0
  67. package/src/components/ui/accessibility-improvements.stories.tsx +18 -0
  68. package/src/components/ui/accessibility-improvements.test.tsx +13 -0
  69. package/src/components/ui/accessibility-improvements.tsx +16 -6
  70. package/src/components/ui/accordion.stories.tsx +19 -0
  71. package/src/components/ui/accordion.test.tsx +14 -0
  72. package/src/components/ui/accordion.tsx +28 -20
  73. package/src/components/ui/alert-dialog.stories.tsx +19 -0
  74. package/src/components/ui/alert-dialog.test.tsx +14 -0
  75. package/src/components/ui/alert-dialog.tsx +159 -123
  76. package/src/components/ui/alert.stories.tsx +19 -0
  77. package/src/components/ui/alert.test.tsx +14 -0
  78. package/src/components/ui/alert.tsx +60 -41
  79. package/src/components/ui/aspect-ratio.stories.tsx +19 -0
  80. package/src/components/ui/aspect-ratio.test.tsx +14 -0
  81. package/src/components/ui/aspect-ratio.tsx +19 -2
  82. package/src/components/ui/attachment.stories.tsx +19 -0
  83. package/src/components/ui/attachment.test.tsx +14 -0
  84. package/src/components/ui/attachment.tsx +209 -0
  85. package/src/components/ui/avatar.stories.tsx +19 -0
  86. package/src/components/ui/avatar.test.tsx +14 -0
  87. package/src/components/ui/avatar.tsx +73 -17
  88. package/src/components/ui/badge.stories.tsx +19 -0
  89. package/src/components/ui/badge.test.tsx +14 -0
  90. package/src/components/ui/badge.tsx +33 -25
  91. package/src/components/ui/breadcrumb.stories.tsx +19 -0
  92. package/src/components/ui/breadcrumb.test.tsx +14 -0
  93. package/src/components/ui/breadcrumb.tsx +98 -86
  94. package/src/components/ui/bubble.stories.tsx +19 -0
  95. package/src/components/ui/bubble.test.tsx +14 -0
  96. package/src/components/ui/bubble.tsx +130 -0
  97. package/src/components/ui/button-group.stories.tsx +19 -0
  98. package/src/components/ui/button-group.test.tsx +14 -0
  99. package/src/components/ui/button-group.tsx +26 -20
  100. package/src/components/ui/button.stories.tsx +19 -0
  101. package/src/components/ui/button.test.tsx +14 -0
  102. package/src/components/ui/button.tsx +30 -31
  103. package/src/components/ui/calendar.stories.tsx +19 -0
  104. package/src/components/ui/calendar.test.tsx +14 -0
  105. package/src/components/ui/calendar.tsx +28 -26
  106. package/src/components/ui/card.stories.tsx +19 -0
  107. package/src/components/ui/card.test.tsx +14 -0
  108. package/src/components/ui/card.tsx +30 -17
  109. package/src/components/ui/carousel.stories.tsx +19 -0
  110. package/src/components/ui/carousel.test.tsx +14 -0
  111. package/src/components/ui/carousel.tsx +115 -135
  112. package/src/components/ui/chart.stories.tsx +18 -0
  113. package/src/components/ui/chart.test.tsx +13 -0
  114. package/src/components/ui/chart.tsx +220 -216
  115. package/src/components/ui/checkbox.stories.tsx +19 -0
  116. package/src/components/ui/checkbox.test.tsx +14 -0
  117. package/src/components/ui/checkbox.tsx +7 -10
  118. package/src/components/ui/collapsible.stories.tsx +19 -0
  119. package/src/components/ui/collapsible.test.tsx +14 -0
  120. package/src/components/ui/collapsible.tsx +11 -26
  121. package/src/components/ui/color-picker.stories.tsx +19 -0
  122. package/src/components/ui/color-picker.test.tsx +14 -0
  123. package/src/components/ui/color-picker.tsx +36 -26
  124. package/src/components/ui/combobox.stories.tsx +19 -0
  125. package/src/components/ui/combobox.test.tsx +14 -0
  126. package/src/components/ui/combobox.tsx +281 -96
  127. package/src/components/ui/command.stories.tsx +19 -0
  128. package/src/components/ui/command.test.tsx +14 -0
  129. package/src/components/ui/command.tsx +59 -47
  130. package/src/components/ui/context-menu.stories.tsx +19 -0
  131. package/src/components/ui/context-menu.test.tsx +14 -0
  132. package/src/components/ui/context-menu.tsx +231 -160
  133. package/src/components/ui/dialog.stories.tsx +19 -0
  134. package/src/components/ui/dialog.test.tsx +14 -0
  135. package/src/components/ui/dialog.tsx +81 -72
  136. package/src/components/ui/direction.stories.tsx +19 -0
  137. package/src/components/ui/direction.test.tsx +14 -0
  138. package/src/components/ui/direction.tsx +6 -0
  139. package/src/components/ui/drawer.stories.tsx +19 -0
  140. package/src/components/ui/drawer.test.tsx +14 -0
  141. package/src/components/ui/drawer.tsx +143 -64
  142. package/src/components/ui/dropdown-menu.stories.tsx +19 -0
  143. package/src/components/ui/dropdown-menu.test.tsx +14 -0
  144. package/src/components/ui/dropdown-menu.tsx +199 -153
  145. package/src/components/ui/empty.stories.tsx +18 -0
  146. package/src/components/ui/empty.test.tsx +13 -0
  147. package/src/components/ui/empty.tsx +11 -9
  148. package/src/components/ui/field.stories.tsx +18 -0
  149. package/src/components/ui/field.test.tsx +13 -0
  150. package/src/components/ui/field.tsx +26 -32
  151. package/src/components/ui/form.stories.tsx +22 -0
  152. package/src/components/ui/form.test.tsx +15 -0
  153. package/src/components/ui/form.tsx +1 -2
  154. package/src/components/ui/hover-card.stories.tsx +19 -0
  155. package/src/components/ui/hover-card.test.tsx +14 -0
  156. package/src/components/ui/hover-card.tsx +34 -32
  157. package/src/components/ui/input-group.stories.tsx +18 -0
  158. package/src/components/ui/input-group.test.tsx +13 -0
  159. package/src/components/ui/input-group.tsx +21 -28
  160. package/src/components/ui/input-otp.stories.tsx +19 -0
  161. package/src/components/ui/input-otp.test.tsx +14 -0
  162. package/src/components/ui/input-otp.tsx +58 -42
  163. package/src/components/ui/input.stories.tsx +19 -0
  164. package/src/components/ui/input.test.tsx +14 -0
  165. package/src/components/ui/input.tsx +9 -8
  166. package/src/components/ui/item.stories.tsx +18 -0
  167. package/src/components/ui/item.test.tsx +13 -0
  168. package/src/components/ui/item.tsx +38 -28
  169. package/src/components/ui/kbd.stories.tsx +18 -0
  170. package/src/components/ui/kbd.test.tsx +13 -0
  171. package/src/components/ui/kbd.tsx +3 -3
  172. package/src/components/ui/label.stories.tsx +18 -0
  173. package/src/components/ui/label.test.tsx +13 -0
  174. package/src/components/ui/label.tsx +7 -11
  175. package/src/components/ui/marker.stories.tsx +19 -0
  176. package/src/components/ui/marker.test.tsx +14 -0
  177. package/src/components/ui/marker.tsx +73 -0
  178. package/src/components/ui/menubar.stories.tsx +19 -0
  179. package/src/components/ui/menubar.test.tsx +14 -0
  180. package/src/components/ui/menubar.tsx +226 -202
  181. package/src/components/ui/message-scroller.stories.tsx +19 -0
  182. package/src/components/ui/message-scroller.test.tsx +14 -0
  183. package/src/components/ui/message-scroller.tsx +131 -0
  184. package/src/components/ui/message.stories.tsx +19 -0
  185. package/src/components/ui/message.test.tsx +14 -0
  186. package/src/components/ui/message.tsx +94 -0
  187. package/src/components/ui/native-select.stories.tsx +18 -0
  188. package/src/components/ui/native-select.test.tsx +13 -0
  189. package/src/components/ui/native-select.tsx +63 -0
  190. package/src/components/ui/navigation-menu.stories.tsx +19 -0
  191. package/src/components/ui/navigation-menu.test.tsx +14 -0
  192. package/src/components/ui/navigation-menu.tsx +145 -103
  193. package/src/components/ui/pagination.stories.tsx +19 -0
  194. package/src/components/ui/pagination.test.tsx +14 -0
  195. package/src/components/ui/pagination.tsx +114 -83
  196. package/src/components/ui/popover.stories.tsx +19 -0
  197. package/src/components/ui/popover.test.tsx +14 -0
  198. package/src/components/ui/popover.tsx +68 -33
  199. package/src/components/ui/progress.stories.tsx +19 -0
  200. package/src/components/ui/progress.test.tsx +14 -0
  201. package/src/components/ui/progress.tsx +67 -15
  202. package/src/components/ui/questionnaire.stories.tsx +19 -0
  203. package/src/components/ui/questionnaire.test.tsx +14 -0
  204. package/src/components/ui/questionnaire.tsx +324 -0
  205. package/src/components/ui/radio-group.stories.tsx +19 -0
  206. package/src/components/ui/radio-group.test.tsx +14 -0
  207. package/src/components/ui/radio-group.tsx +15 -20
  208. package/src/components/ui/resizable.stories.tsx +19 -0
  209. package/src/components/ui/resizable.test.tsx +14 -0
  210. package/src/components/ui/resizable.tsx +37 -30
  211. package/src/components/ui/scroll-area.stories.tsx +19 -0
  212. package/src/components/ui/scroll-area.test.tsx +14 -0
  213. package/src/components/ui/scroll-area.tsx +41 -19
  214. package/src/components/ui/select.stories.tsx +19 -0
  215. package/src/components/ui/select.test.tsx +32 -0
  216. package/src/components/ui/select.tsx +172 -78
  217. package/src/components/ui/separator.stories.tsx +19 -0
  218. package/src/components/ui/separator.test.tsx +14 -0
  219. package/src/components/ui/separator.tsx +8 -11
  220. package/src/components/ui/sheet.stories.tsx +19 -0
  221. package/src/components/ui/sheet.test.tsx +14 -0
  222. package/src/components/ui/sheet.tsx +56 -71
  223. package/src/components/ui/sidebar.stories.tsx +18 -0
  224. package/src/components/ui/sidebar.test.tsx +13 -0
  225. package/src/components/ui/sidebar.tsx +469 -513
  226. package/src/components/ui/skeleton.stories.tsx +19 -0
  227. package/src/components/ui/skeleton.test.tsx +14 -0
  228. package/src/components/ui/skeleton.tsx +8 -114
  229. package/src/components/ui/slider.stories.tsx +19 -0
  230. package/src/components/ui/slider.test.tsx +14 -0
  231. package/src/components/ui/slider.tsx +31 -40
  232. package/src/components/ui/sonner.stories.tsx +19 -0
  233. package/src/components/ui/sonner.test.tsx +14 -0
  234. package/src/components/ui/sonner.tsx +39 -7
  235. package/src/components/ui/spinner.stories.tsx +18 -0
  236. package/src/components/ui/spinner.test.tsx +13 -0
  237. package/src/components/ui/spinner.tsx +3 -7
  238. package/src/components/ui/switch.stories.tsx +19 -0
  239. package/src/components/ui/switch.test.tsx +14 -0
  240. package/src/components/ui/switch.tsx +4 -7
  241. package/src/components/ui/table.stories.tsx +19 -0
  242. package/src/components/ui/table.test.tsx +14 -0
  243. package/src/components/ui/table.tsx +17 -17
  244. package/src/components/ui/tabs.stories.tsx +19 -0
  245. package/src/components/ui/tabs.test.tsx +14 -0
  246. package/src/components/ui/tabs.tsx +71 -31
  247. package/src/components/ui/textarea.stories.tsx +19 -0
  248. package/src/components/ui/textarea.test.tsx +14 -0
  249. package/src/components/ui/textarea.tsx +7 -5
  250. package/src/components/ui/theme-toggle.stories.tsx +18 -0
  251. package/src/components/ui/theme-toggle.test.tsx +13 -0
  252. package/src/components/ui/theme-toggle.tsx +35 -37
  253. package/src/components/ui/toggle-group.stories.tsx +19 -0
  254. package/src/components/ui/toggle-group.test.tsx +14 -0
  255. package/src/components/ui/toggle-group.tsx +41 -25
  256. package/src/components/ui/toggle.stories.tsx +19 -0
  257. package/src/components/ui/toggle.test.tsx +14 -0
  258. package/src/components/ui/toggle.tsx +17 -19
  259. package/src/components/ui/tooltip.stories.tsx +19 -0
  260. package/src/components/ui/tooltip.test.tsx +14 -0
  261. package/src/components/ui/tooltip.tsx +53 -44
  262. package/src/demo/AIDemo.tsx +50 -0
  263. package/src/demo/ButtonsDemo.tsx +41 -18
  264. package/src/demo/CalendarDemo.tsx +1 -1
  265. package/src/demo/FeedbackDemo.tsx +4 -6
  266. package/src/demo/FormsDemo.tsx +34 -11
  267. package/src/demo/NavigationDemo.tsx +38 -13
  268. package/src/demo/OverlaysDemo.tsx +22 -36
  269. package/src/demo/update-demos.js +82 -0
  270. package/src/index.css +66 -46
  271. package/src/lib/utils.ts +3 -3
  272. package/src/stories/Button.stories.ts +54 -0
  273. package/src/stories/Button.tsx +36 -0
  274. package/src/stories/Configure.mdx +388 -0
  275. package/src/stories/Header.stories.ts +34 -0
  276. package/src/stories/Header.tsx +55 -0
  277. package/src/stories/Page.stories.ts +33 -0
  278. package/src/stories/Page.tsx +73 -0
  279. package/src/stories/assets/accessibility.png +0 -0
  280. package/src/stories/assets/accessibility.svg +1 -0
  281. package/src/stories/assets/addon-library.png +0 -0
  282. package/src/stories/assets/assets.png +0 -0
  283. package/src/stories/assets/avif-test-image.avif +0 -0
  284. package/src/stories/assets/context.png +0 -0
  285. package/src/stories/assets/discord.svg +1 -0
  286. package/src/stories/assets/docs.png +0 -0
  287. package/src/stories/assets/figma-plugin.png +0 -0
  288. package/src/stories/assets/github.svg +1 -0
  289. package/src/stories/assets/share.png +0 -0
  290. package/src/stories/assets/styling.png +0 -0
  291. package/src/stories/assets/testing.png +0 -0
  292. package/src/stories/assets/theming.png +0 -0
  293. package/src/stories/assets/tutorials.svg +1 -0
  294. package/src/stories/assets/youtube.svg +1 -0
  295. package/src/stories/button.css +30 -0
  296. package/src/stories/header.css +32 -0
  297. package/src/stories/page.css +68 -0
@@ -1,32 +1,34 @@
1
+ "use client";
1
2
  import { cn as e } from "../../lib/utils.js";
2
- import "react";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
+ import "react";
4
5
  //#region src/components/ui/card.tsx
5
- function n({ className: n, ...r }) {
6
+ function n({ className: n, size: r = "default", ...i }) {
6
7
  return /* @__PURE__ */ t("div", {
7
8
  "data-slot": "card",
8
- className: e("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", n),
9
- ...r
9
+ "data-size": r,
10
+ className: e("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground border border-border/50 shadow-sm [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", n),
11
+ ...i
10
12
  });
11
13
  }
12
14
  function r({ className: n, ...r }) {
13
15
  return /* @__PURE__ */ t("div", {
14
16
  "data-slot": "card-header",
15
- className: e("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", n),
17
+ className: e("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)", n),
16
18
  ...r
17
19
  });
18
20
  }
19
21
  function i({ className: n, ...r }) {
20
22
  return /* @__PURE__ */ t("div", {
21
23
  "data-slot": "card-title",
22
- className: e("leading-none font-semibold", n),
24
+ className: e("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", n),
23
25
  ...r
24
26
  });
25
27
  }
26
28
  function a({ className: n, ...r }) {
27
29
  return /* @__PURE__ */ t("div", {
28
30
  "data-slot": "card-description",
29
- className: e("text-muted-foreground text-sm", n),
31
+ className: e("text-sm text-muted-foreground", n),
30
32
  ...r
31
33
  });
32
34
  }
@@ -40,14 +42,14 @@ function o({ className: n, ...r }) {
40
42
  function s({ className: n, ...r }) {
41
43
  return /* @__PURE__ */ t("div", {
42
44
  "data-slot": "card-content",
43
- className: e("px-6", n),
45
+ className: e("px-(--card-spacing)", n),
44
46
  ...r
45
47
  });
46
48
  }
47
49
  function c({ className: n, ...r }) {
48
50
  return /* @__PURE__ */ t("div", {
49
51
  "data-slot": "card-footer",
50
- className: e("flex items-center px-6 [.border-t]:pt-6", n),
52
+ className: e("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)", n),
51
53
  ...r
52
54
  });
53
55
  }
@@ -1,116 +1,111 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../lib/utils.js";
3
3
  import { Button as t } from "./button.js";
4
- import * as n from "react";
5
- import { ArrowLeft as r, ArrowRight as i } from "lucide-react";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
4
+ import { ChevronLeftIcon as n, ChevronRightIcon as r } from "lucide-react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import * as o from "react";
7
7
  import s from "embla-carousel-react";
8
8
  //#region src/components/ui/carousel.tsx
9
- var c = n.createContext(null);
9
+ var c = o.createContext(null);
10
10
  function l() {
11
- let e = n.useContext(c);
11
+ let e = o.useContext(c);
12
12
  if (!e) throw Error("useCarousel must be used within a <Carousel />");
13
13
  return e;
14
14
  }
15
- var u = n.forwardRef(({ orientation: t = "horizontal", opts: r, setApi: i, plugins: o, className: l, children: u, ...d }, f) => {
16
- let [p, m] = s({
17
- ...r,
15
+ function u({ orientation: t = "horizontal", opts: n, setApi: r, plugins: a, className: l, children: u, ...d }) {
16
+ let [f, p] = s({
17
+ ...n,
18
18
  axis: t === "horizontal" ? "x" : "y"
19
- }, o), [h, g] = n.useState(!1), [_, v] = n.useState(!1), y = n.useCallback((e) => {
20
- e && (g(e.canScrollPrev()), v(e.canScrollNext()));
21
- }, []), b = n.useCallback(() => {
22
- m?.scrollPrev();
23
- }, [m]), x = n.useCallback(() => {
24
- m?.scrollNext();
25
- }, [m]), S = n.useCallback((e) => {
26
- e.key === "ArrowLeft" ? (e.preventDefault(), b()) : e.key === "ArrowRight" && (e.preventDefault(), x());
27
- }, [b, x]);
28
- return n.useEffect(() => {
29
- !m || !i || i(m);
30
- }, [m, i]), n.useEffect(() => {
31
- if (m) return y(m), m.on("reInit", y), m.on("select", y), () => {
32
- m?.off("select", y);
19
+ }, a), [m, h] = o.useState(!1), [g, _] = o.useState(!1), v = o.useCallback((e) => {
20
+ e && (h(e.canScrollPrev()), _(e.canScrollNext()));
21
+ }, []), y = o.useCallback(() => {
22
+ p?.scrollPrev();
23
+ }, [p]), b = o.useCallback(() => {
24
+ p?.scrollNext();
25
+ }, [p]), x = o.useCallback((e) => {
26
+ e.key === "ArrowLeft" ? (e.preventDefault(), y()) : e.key === "ArrowRight" && (e.preventDefault(), b());
27
+ }, [y, b]);
28
+ return o.useEffect(() => {
29
+ !p || !r || r(p);
30
+ }, [p, r]), o.useEffect(() => {
31
+ if (p) return v(p), p.on("reInit", v), p.on("select", v), () => {
32
+ p?.off("select", v);
33
33
  };
34
- }, [m, y]), /* @__PURE__ */ a(c.Provider, {
34
+ }, [p, v]), /* @__PURE__ */ i(c.Provider, {
35
35
  value: {
36
- carouselRef: p,
37
- api: m,
38
- opts: r,
39
- orientation: t || (r?.axis === "y" ? "vertical" : "horizontal"),
40
- scrollPrev: b,
41
- scrollNext: x,
42
- canScrollPrev: h,
43
- canScrollNext: _
36
+ carouselRef: f,
37
+ api: p,
38
+ opts: n,
39
+ orientation: t || (n?.axis === "y" ? "vertical" : "horizontal"),
40
+ scrollPrev: y,
41
+ scrollNext: b,
42
+ canScrollPrev: m,
43
+ canScrollNext: g
44
44
  },
45
- children: /* @__PURE__ */ a("div", {
46
- ref: f,
47
- onKeyDownCapture: S,
45
+ children: /* @__PURE__ */ i("div", {
46
+ onKeyDownCapture: x,
48
47
  className: e("relative", l),
49
48
  role: "region",
50
49
  "aria-roledescription": "carousel",
50
+ "data-slot": "carousel",
51
51
  ...d,
52
52
  children: u
53
53
  })
54
54
  });
55
- });
56
- u.displayName = "Carousel";
57
- var d = n.forwardRef(({ className: t, ...n }, r) => {
58
- let { carouselRef: i, orientation: o } = l();
59
- return /* @__PURE__ */ a("div", {
60
- ref: i,
55
+ }
56
+ function d({ className: t, ...n }) {
57
+ let { carouselRef: r, orientation: a } = l();
58
+ return /* @__PURE__ */ i("div", {
59
+ ref: r,
61
60
  className: "overflow-hidden",
62
- children: /* @__PURE__ */ a("div", {
63
- ref: r,
64
- className: e("flex", o === "horizontal" ? "-ml-4" : "-mt-4 flex-col", t),
61
+ "data-slot": "carousel-content",
62
+ children: /* @__PURE__ */ i("div", {
63
+ className: e("flex", a === "horizontal" ? "-ml-4" : "-mt-4 flex-col", t),
65
64
  ...n
66
65
  })
67
66
  });
68
- });
69
- d.displayName = "CarouselContent";
70
- var f = n.forwardRef(({ className: t, ...n }, r) => {
71
- let { orientation: i } = l();
72
- return /* @__PURE__ */ a("div", {
73
- ref: r,
67
+ }
68
+ function f({ className: t, ...n }) {
69
+ let { orientation: r } = l();
70
+ return /* @__PURE__ */ i("div", {
74
71
  role: "group",
75
72
  "aria-roledescription": "slide",
76
- className: e("min-w-0 shrink-0 grow-0 basis-full", i === "horizontal" ? "pl-4" : "pt-4", t),
73
+ "data-slot": "carousel-item",
74
+ className: e("min-w-0 shrink-0 grow-0 basis-full", r === "horizontal" ? "pl-4" : "pt-4", t),
77
75
  ...n
78
76
  });
79
- });
80
- f.displayName = "CarouselItem";
81
- var p = n.forwardRef(({ className: n, variant: i = "outline", size: s = "icon", ...c }, u) => {
82
- let { orientation: d, scrollPrev: f, canScrollPrev: p } = l();
83
- return /* @__PURE__ */ o(t, {
84
- ref: u,
85
- variant: i,
77
+ }
78
+ function p({ className: r, variant: o = "outline", size: s = "icon-sm", ...c }) {
79
+ let { orientation: u, scrollPrev: d, canScrollPrev: f } = l();
80
+ return /* @__PURE__ */ a(t, {
81
+ "data-slot": "carousel-previous",
82
+ variant: o,
86
83
  size: s,
87
- className: e("absolute h-8 w-8 rounded-full", d === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", n),
88
- disabled: !p,
89
- onClick: f,
84
+ className: e("absolute touch-manipulation rounded-full", u === "horizontal" ? "inset-y-0 -left-12 my-auto" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", r),
85
+ disabled: !f,
86
+ onClick: d,
90
87
  ...c,
91
- children: [/* @__PURE__ */ a(r, { className: "h-4 w-4" }), /* @__PURE__ */ a("span", {
88
+ children: [/* @__PURE__ */ i(n, {}), /* @__PURE__ */ i("span", {
92
89
  className: "sr-only",
93
90
  children: "Previous slide"
94
91
  })]
95
92
  });
96
- });
97
- p.displayName = "CarouselPrevious";
98
- var m = n.forwardRef(({ className: n, variant: r = "outline", size: s = "icon", ...c }, u) => {
99
- let { orientation: d, scrollNext: f, canScrollNext: p } = l();
100
- return /* @__PURE__ */ o(t, {
101
- ref: u,
102
- variant: r,
93
+ }
94
+ function m({ className: n, variant: o = "outline", size: s = "icon-sm", ...c }) {
95
+ let { orientation: u, scrollNext: d, canScrollNext: f } = l();
96
+ return /* @__PURE__ */ a(t, {
97
+ "data-slot": "carousel-next",
98
+ variant: o,
103
99
  size: s,
104
- className: e("absolute h-8 w-8 rounded-full", d === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", n),
105
- disabled: !p,
106
- onClick: f,
100
+ className: e("absolute touch-manipulation rounded-full", u === "horizontal" ? "inset-y-0 -right-12 my-auto" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", n),
101
+ disabled: !f,
102
+ onClick: d,
107
103
  ...c,
108
- children: [/* @__PURE__ */ a(i, { className: "h-4 w-4" }), /* @__PURE__ */ a("span", {
104
+ children: [/* @__PURE__ */ i(r, {}), /* @__PURE__ */ i("span", {
109
105
  className: "sr-only",
110
106
  children: "Next slide"
111
107
  })]
112
108
  });
113
- });
114
- m.displayName = "CarouselNext";
109
+ }
115
110
  //#endregion
116
- export { u as Carousel, d as CarouselContent, f as CarouselItem, m as CarouselNext, p as CarouselPrevious };
111
+ export { u as Carousel, d as CarouselContent, f as CarouselItem, m as CarouselNext, p as CarouselPrevious, l as useCarousel };
@@ -1,53 +1,59 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../lib/utils.js";
3
- import * as t from "react";
4
- import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
3
+ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import * as i from "react";
5
5
  import * as a from "recharts";
6
6
  //#region src/components/ui/chart.tsx
7
7
  var o = {
8
8
  light: "",
9
9
  dark: ".dark"
10
- }, s = t.createContext(null);
11
- function c() {
12
- let e = t.useContext(s);
10
+ }, s = {
11
+ width: 320,
12
+ height: 200
13
+ }, c = i.createContext(null);
14
+ function l() {
15
+ let e = i.useContext(c);
13
16
  if (!e) throw Error("useChart must be used within a <ChartContainer />");
14
17
  return e;
15
18
  }
16
- var l = t.forwardRef(({ id: n, className: o, children: c, config: l, ...d }, f) => {
17
- let p = t.useId(), m = `chart-${n || p.replace(/:/g, "")}`;
18
- return /* @__PURE__ */ r(s.Provider, {
19
- value: { config: l },
20
- children: /* @__PURE__ */ i("div", {
21
- "data-chart": m,
22
- ref: f,
23
- className: e("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-none [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-none [&_.recharts-surface]:outline-none", o),
24
- ...d,
25
- children: [/* @__PURE__ */ r(u, {
26
- id: m,
27
- config: l
28
- }), /* @__PURE__ */ r(a.ResponsiveContainer, { children: c })]
19
+ function u({ id: t, className: o, children: l, config: u, initialDimension: f = s, ...p }) {
20
+ let m = i.useId(), h = `chart-${t ?? m.replace(/:/g, "")}`;
21
+ return /* @__PURE__ */ n(c.Provider, {
22
+ value: { config: u },
23
+ children: /* @__PURE__ */ r("div", {
24
+ "data-slot": "chart",
25
+ "data-chart": h,
26
+ className: e("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", o),
27
+ ...p,
28
+ children: [/* @__PURE__ */ n(d, {
29
+ id: h,
30
+ config: u
31
+ }), /* @__PURE__ */ n(a.ResponsiveContainer, {
32
+ initialDimension: f,
33
+ children: l
34
+ })]
29
35
  })
30
36
  });
31
- });
32
- l.displayName = "Chart";
33
- var u = ({ id: e, config: t }) => {
34
- let n = Object.entries(t).filter(([, e]) => e.theme || e.color);
35
- return n.length ? /* @__PURE__ */ r("style", { dangerouslySetInnerHTML: { __html: Object.entries(o).map(([t, r]) => `
36
- ${r} [data-chart=${e}] {
37
- ${n.map(([e, n]) => {
38
- let r = n.theme?.[t] || n.color;
37
+ }
38
+ var d = ({ id: e, config: t }) => {
39
+ let r = Object.entries(t).filter(([, e]) => e.theme ?? e.color);
40
+ return r.length ? /* @__PURE__ */ n("style", { dangerouslySetInnerHTML: { __html: Object.entries(o).map(([t, n]) => `
41
+ ${n} [data-chart=${e}] {
42
+ ${r.map(([e, n]) => {
43
+ let r = n.theme?.[t] ?? n.color;
39
44
  return r ? ` --color-${e}: ${r};` : null;
40
45
  }).join("\n")}
41
46
  }
42
47
  `).join("\n") } }) : null;
43
- }, d = a.Tooltip, f = t.forwardRef(({ active: a, payload: o, className: s, indicator: l = "dot", hideLabel: u = !1, hideIndicator: d = !1, label: f, labelFormatter: p, labelClassName: m, formatter: g, color: _, nameKey: v, labelKey: y }, b) => {
44
- let { config: x } = c(), S = t.useMemo(() => {
48
+ }, f = a.Tooltip;
49
+ function p({ active: a, payload: o, className: s, indicator: c = "dot", hideLabel: u = !1, hideIndicator: d = !1, label: f, labelFormatter: p, labelClassName: m, formatter: h, color: _, nameKey: v, labelKey: y }) {
50
+ let { config: b } = l(), x = i.useMemo(() => {
45
51
  if (u || !o?.length) return null;
46
- let [t] = o, n = h(x, t, `${y || t?.dataKey || t?.name || "value"}`), i = !y && typeof f == "string" ? x[f]?.label || f : n?.label;
47
- return p ? /* @__PURE__ */ r("div", {
52
+ let [t] = o, r = g(b, t, `${y ?? t?.dataKey ?? t?.name ?? "value"}`), i = !y && typeof f == "string" ? b[f]?.label ?? f : r?.label;
53
+ return p ? /* @__PURE__ */ n("div", {
48
54
  className: e("font-medium", m),
49
55
  children: p(i, o)
50
- }) : i ? /* @__PURE__ */ r("div", {
56
+ }) : i ? /* @__PURE__ */ n("div", {
51
57
  className: e("font-medium", m),
52
58
  children: i
53
59
  }) : null;
@@ -57,72 +63,69 @@ ${n.map(([e, n]) => {
57
63
  o,
58
64
  u,
59
65
  m,
60
- x,
66
+ b,
61
67
  y
62
68
  ]);
63
69
  if (!a || !o?.length) return null;
64
- let C = o.length === 1 && l !== "dot";
65
- return /* @__PURE__ */ i("div", {
66
- ref: b,
67
- className: e("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl", s),
68
- children: [C ? null : S, /* @__PURE__ */ r("div", {
70
+ let S = o.length === 1 && c !== "dot";
71
+ return /* @__PURE__ */ r("div", {
72
+ className: e("grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl", s),
73
+ children: [S ? null : x, /* @__PURE__ */ n("div", {
69
74
  className: "grid gap-1.5",
70
- children: o.filter((e) => e.type !== "none").map((t, a) => {
71
- let o = h(x, t, `${v || t.name || t.dataKey || "value"}`), s = _ || t.payload.fill || t.color;
72
- return /* @__PURE__ */ r("div", {
73
- className: e("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground", l === "dot" && "items-center"),
74
- children: g && t?.value !== void 0 && t.name ? g(t.value, t.name, t, a, t.payload) : /* @__PURE__ */ i(n, { children: [o?.icon ? /* @__PURE__ */ r(o.icon, {}) : !d && /* @__PURE__ */ r("div", {
75
- className: e("shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]", {
76
- "h-2.5 w-2.5": l === "dot",
77
- "w-1": l === "line",
78
- "w-0 border-[1.5px] border-dashed bg-transparent": l === "dashed",
79
- "my-0.5": C && l === "dashed"
75
+ children: o.filter((e) => e.type !== "none").map((i, a) => {
76
+ let o = g(b, i, `${v ?? i.name ?? i.dataKey ?? "value"}`), s = _ ?? i.payload?.fill ?? i.color;
77
+ return /* @__PURE__ */ n("div", {
78
+ className: e("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground", c === "dot" && "items-center"),
79
+ children: h && i?.value !== void 0 && i.name ? h(i.value, i.name, i, a, i.payload) : /* @__PURE__ */ r(t, { children: [o?.icon ? /* @__PURE__ */ n(o.icon, {}) : !d && /* @__PURE__ */ n("div", {
80
+ className: e("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)", {
81
+ "h-2.5 w-2.5": c === "dot",
82
+ "w-1": c === "line",
83
+ "w-0 border-[1.5px] border-dashed bg-transparent": c === "dashed",
84
+ "my-0.5": S && c === "dashed"
80
85
  }),
81
86
  style: {
82
87
  "--color-bg": s,
83
88
  "--color-border": s
84
89
  }
85
- }), /* @__PURE__ */ i("div", {
86
- className: e("flex flex-1 justify-between leading-none", C ? "items-end" : "items-center"),
87
- children: [/* @__PURE__ */ i("div", {
90
+ }), /* @__PURE__ */ r("div", {
91
+ className: e("flex flex-1 justify-between leading-none", S ? "items-end" : "items-center"),
92
+ children: [/* @__PURE__ */ r("div", {
88
93
  className: "grid gap-1.5",
89
- children: [C ? S : null, /* @__PURE__ */ r("span", {
94
+ children: [S ? x : null, /* @__PURE__ */ n("span", {
90
95
  className: "text-muted-foreground",
91
- children: o?.label || t.name
96
+ children: o?.label ?? i.name
92
97
  })]
93
- }), t.value && /* @__PURE__ */ r("span", {
94
- className: "font-mono font-medium tabular-nums text-foreground",
95
- children: t.value.toLocaleString()
98
+ }), i.value != null && /* @__PURE__ */ n("span", {
99
+ className: "font-mono font-medium text-foreground tabular-nums",
100
+ children: typeof i.value == "number" ? i.value.toLocaleString() : String(i.value)
96
101
  })]
97
102
  })] })
98
- }, t.dataKey);
103
+ }, a);
99
104
  })
100
105
  })]
101
106
  });
102
- });
103
- f.displayName = "ChartTooltip";
104
- var p = a.Legend, m = t.forwardRef(({ className: t, hideIcon: n = !1, payload: a, verticalAlign: o = "bottom", nameKey: s }, l) => {
105
- let { config: u } = c();
106
- return a?.length ? /* @__PURE__ */ r("div", {
107
- ref: l,
107
+ }
108
+ var m = a.Legend;
109
+ function h({ className: t, hideIcon: i = !1, payload: a, verticalAlign: o = "bottom", nameKey: s }) {
110
+ let { config: c } = l();
111
+ return a?.length ? /* @__PURE__ */ n("div", {
108
112
  className: e("flex items-center justify-center gap-4", o === "top" ? "pb-3" : "pt-3", t),
109
- children: a.filter((e) => e.type !== "none").map((t) => {
110
- let a = h(u, t, `${s || t.dataKey || "value"}`);
111
- return /* @__PURE__ */ i("div", {
113
+ children: a.filter((e) => e.type !== "none").map((t, a) => {
114
+ let o = g(c, t, `${s ?? t.dataKey ?? "value"}`);
115
+ return /* @__PURE__ */ r("div", {
112
116
  className: e("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),
113
- children: [a?.icon && !n ? /* @__PURE__ */ r(a.icon, {}) : /* @__PURE__ */ r("div", {
117
+ children: [o?.icon && !i ? /* @__PURE__ */ n(o.icon, {}) : /* @__PURE__ */ n("div", {
114
118
  className: "h-2 w-2 shrink-0 rounded-[2px]",
115
119
  style: { backgroundColor: t.color }
116
- }), a?.label]
117
- }, t.value);
120
+ }), o?.label]
121
+ }, a);
118
122
  })
119
123
  }) : null;
120
- });
121
- m.displayName = "ChartLegend";
122
- function h(e, t, n) {
124
+ }
125
+ function g(e, t, n) {
123
126
  if (typeof t != "object" || !t) return;
124
127
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
125
128
  return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
126
129
  }
127
130
  //#endregion
128
- export { l as ChartContainer, p as ChartLegend, m as ChartLegendContent, u as ChartStyle, d as ChartTooltip, f as ChartTooltipContent };
131
+ export { u as ChartContainer, m as ChartLegend, h as ChartLegendContent, d as ChartStyle, f as ChartTooltip, p as ChartTooltipContent };
@@ -1,19 +1,18 @@
1
1
  "use client";
2
2
  import { cn as e } from "../../lib/utils.js";
3
- import "react";
4
3
  import { CheckIcon as t } from "lucide-react";
5
4
  import { jsx as n } from "react/jsx-runtime";
6
- import { Checkbox as r } from "radix-ui";
5
+ import { Checkbox as r } from "@base-ui/react/checkbox";
7
6
  //#region src/components/ui/checkbox.tsx
8
7
  function i({ className: i, ...a }) {
9
8
  return /* @__PURE__ */ n(r.Root, {
10
9
  "data-slot": "checkbox",
11
- className: e("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary", i),
10
+ className: e("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary cursor-pointer dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary cursor-pointer data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary cursor-pointer dark:data-checked:bg-primary", i),
12
11
  ...a,
13
12
  children: /* @__PURE__ */ n(r.Indicator, {
14
13
  "data-slot": "checkbox-indicator",
15
- className: "grid place-content-center text-current transition-none",
16
- children: /* @__PURE__ */ n(t, { className: "size-3.5" })
14
+ className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
15
+ children: /* @__PURE__ */ n(t, {})
17
16
  })
18
17
  });
19
18
  }
@@ -1,26 +1,24 @@
1
1
  "use client";
2
- import { cn as e } from "../../lib/utils.js";
3
- import { jsx as t } from "react/jsx-runtime";
4
- import * as n from "@radix-ui/react-collapsible";
2
+ import { jsx as e } from "react/jsx-runtime";
3
+ import { Collapsible as t } from "@base-ui/react/collapsible";
5
4
  //#region src/components/ui/collapsible.tsx
6
- function r({ ...e }) {
7
- return /* @__PURE__ */ t(n.Root, {
5
+ function n({ ...n }) {
6
+ return /* @__PURE__ */ e(t.Root, {
8
7
  "data-slot": "collapsible",
9
- ...e
8
+ ...n
10
9
  });
11
10
  }
12
- function i({ className: r, ...i }) {
13
- return /* @__PURE__ */ t(n.CollapsibleTrigger, {
11
+ function r({ ...n }) {
12
+ return /* @__PURE__ */ e(t.Trigger, {
14
13
  "data-slot": "collapsible-trigger",
15
- className: e("cursor-pointer", r),
16
- ...i
14
+ ...n
17
15
  });
18
16
  }
19
- function a({ ...e }) {
20
- return /* @__PURE__ */ t(n.CollapsibleContent, {
17
+ function i({ ...n }) {
18
+ return /* @__PURE__ */ e(t.Panel, {
21
19
  "data-slot": "collapsible-content",
22
- ...e
20
+ ...n
23
21
  });
24
22
  }
25
23
  //#endregion
26
- export { r as Collapsible, a as CollapsibleContent, i as CollapsibleTrigger };
24
+ export { n as Collapsible, i as CollapsibleContent, r as CollapsibleTrigger };