@sonamu-kit/react-components 0.4.9 → 0.5.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 (234) hide show
  1. package/dist/_virtual/~icons/lucide/arrow-left.js +13 -10
  2. package/dist/_virtual/~icons/lucide/arrow-left.js.map +1 -1
  3. package/dist/_virtual/~icons/lucide/arrow-right.js +13 -10
  4. package/dist/_virtual/~icons/lucide/arrow-right.js.map +1 -1
  5. package/dist/_virtual/~icons/lucide/calendar.js +17 -14
  6. package/dist/_virtual/~icons/lucide/calendar.js.map +1 -1
  7. package/dist/_virtual/~icons/lucide/check.js +13 -10
  8. package/dist/_virtual/~icons/lucide/check.js.map +1 -1
  9. package/dist/_virtual/~icons/lucide/chevron-down.js +13 -10
  10. package/dist/_virtual/~icons/lucide/chevron-down.js.map +1 -1
  11. package/dist/_virtual/~icons/lucide/chevron-left.js +13 -10
  12. package/dist/_virtual/~icons/lucide/chevron-left.js.map +1 -1
  13. package/dist/_virtual/~icons/lucide/chevron-right.js +13 -10
  14. package/dist/_virtual/~icons/lucide/chevron-right.js.map +1 -1
  15. package/dist/_virtual/~icons/lucide/chevrons-up-down.js +13 -10
  16. package/dist/_virtual/~icons/lucide/chevrons-up-down.js.map +1 -1
  17. package/dist/_virtual/~icons/lucide/circle.js +13 -10
  18. package/dist/_virtual/~icons/lucide/circle.js.map +1 -1
  19. package/dist/_virtual/~icons/lucide/dot.js +15 -12
  20. package/dist/_virtual/~icons/lucide/dot.js.map +1 -1
  21. package/dist/_virtual/~icons/lucide/grip-vertical.js +19 -16
  22. package/dist/_virtual/~icons/lucide/grip-vertical.js.map +1 -1
  23. package/dist/_virtual/~icons/lucide/image.js +16 -13
  24. package/dist/_virtual/~icons/lucide/image.js.map +1 -1
  25. package/dist/_virtual/~icons/lucide/loader-2.js +13 -10
  26. package/dist/_virtual/~icons/lucide/loader-2.js.map +1 -1
  27. package/dist/_virtual/~icons/lucide/loader2.js +13 -10
  28. package/dist/_virtual/~icons/lucide/loader2.js.map +1 -1
  29. package/dist/_virtual/~icons/lucide/more-horizontal.js +16 -13
  30. package/dist/_virtual/~icons/lucide/more-horizontal.js.map +1 -1
  31. package/dist/_virtual/~icons/lucide/panel-left.js +15 -12
  32. package/dist/_virtual/~icons/lucide/panel-left.js.map +1 -1
  33. package/dist/_virtual/~icons/lucide/plus.js +13 -10
  34. package/dist/_virtual/~icons/lucide/plus.js.map +1 -1
  35. package/dist/_virtual/~icons/lucide/search.js +14 -11
  36. package/dist/_virtual/~icons/lucide/search.js.map +1 -1
  37. package/dist/_virtual/~icons/lucide/trash-2.js +13 -10
  38. package/dist/_virtual/~icons/lucide/trash-2.js.map +1 -1
  39. package/dist/_virtual/~icons/lucide/upload.js +13 -10
  40. package/dist/_virtual/~icons/lucide/upload.js.map +1 -1
  41. package/dist/_virtual/~icons/lucide/x-circle.js +15 -12
  42. package/dist/_virtual/~icons/lucide/x-circle.js.map +1 -1
  43. package/dist/_virtual/~icons/lucide/x.js +13 -10
  44. package/dist/_virtual/~icons/lucide/x.js.map +1 -1
  45. package/dist/components/ui/accordion.js +1 -2
  46. package/dist/components/ui/accordion.js.map +1 -1
  47. package/dist/components/ui/alert-dialog.d.ts +2 -2
  48. package/dist/components/ui/alert-dialog.js +1 -2
  49. package/dist/components/ui/alert-dialog.js.map +1 -1
  50. package/dist/components/ui/alert.js +15 -15
  51. package/dist/components/ui/alert.js.map +1 -1
  52. package/dist/components/ui/aspect-ratio.js +1 -2
  53. package/dist/components/ui/aspect-ratio.js.map +1 -1
  54. package/dist/components/ui/avatar.js +1 -2
  55. package/dist/components/ui/avatar.js.map +1 -1
  56. package/dist/components/ui/badge.d.ts +1 -1
  57. package/dist/components/ui/badge.js +11 -11
  58. package/dist/components/ui/badge.js.map +1 -1
  59. package/dist/components/ui/breadcrumb.d.ts +2 -2
  60. package/dist/components/ui/breadcrumb.js +1 -2
  61. package/dist/components/ui/breadcrumb.js.map +1 -1
  62. package/dist/components/ui/button.js +49 -40
  63. package/dist/components/ui/button.js.map +1 -1
  64. package/dist/components/ui/calendar.d.ts +1 -1
  65. package/dist/components/ui/calendar.js +41 -43
  66. package/dist/components/ui/calendar.js.map +1 -1
  67. package/dist/components/ui/card.d.ts +7 -7
  68. package/dist/components/ui/card.js +1 -2
  69. package/dist/components/ui/card.js.map +1 -1
  70. package/dist/components/ui/carousel.js +2 -3
  71. package/dist/components/ui/carousel.js.map +1 -1
  72. package/dist/components/ui/checkbox.js +2 -3
  73. package/dist/components/ui/checkbox.js.map +1 -1
  74. package/dist/components/ui/collapsible.js +1 -2
  75. package/dist/components/ui/collapsible.js.map +1 -1
  76. package/dist/components/ui/combobox.js +1 -2
  77. package/dist/components/ui/combobox.js.map +1 -1
  78. package/dist/components/ui/command.d.ts +2 -2
  79. package/dist/components/ui/command.js +1 -2
  80. package/dist/components/ui/command.js.map +1 -1
  81. package/dist/components/ui/common-modal.d.ts +1 -1
  82. package/dist/components/ui/common-modal.js +1 -2
  83. package/dist/components/ui/common-modal.js.map +1 -1
  84. package/dist/components/ui/context-menu.d.ts +1 -1
  85. package/dist/components/ui/context-menu.js +1 -2
  86. package/dist/components/ui/context-menu.js.map +1 -1
  87. package/dist/components/ui/date-input.d.ts +1 -1
  88. package/dist/components/ui/date-input.js +3 -3
  89. package/dist/components/ui/date-input.js.map +1 -1
  90. package/dist/components/ui/date-picker.d.ts +3 -3
  91. package/dist/components/ui/date-picker.js +3 -4
  92. package/dist/components/ui/date-picker.js.map +1 -1
  93. package/dist/components/ui/dialog.d.ts +2 -2
  94. package/dist/components/ui/dialog.js +1 -2
  95. package/dist/components/ui/dialog.js.map +1 -1
  96. package/dist/components/ui/drawer.d.ts +3 -3
  97. package/dist/components/ui/drawer.js +1 -2
  98. package/dist/components/ui/drawer.js.map +1 -1
  99. package/dist/components/ui/dropdown-menu.d.ts +1 -1
  100. package/dist/components/ui/dropdown-menu.js +1 -2
  101. package/dist/components/ui/dropdown-menu.js.map +1 -1
  102. package/dist/components/ui/file-input.d.ts +1 -1
  103. package/dist/components/ui/file-input.js +20 -12
  104. package/dist/components/ui/file-input.js.map +1 -1
  105. package/dist/components/ui/form.d.ts +6 -4
  106. package/dist/components/ui/form.js +1 -2
  107. package/dist/components/ui/form.js.map +1 -1
  108. package/dist/components/ui/hover-card.js +1 -2
  109. package/dist/components/ui/hover-card.js.map +1 -1
  110. package/dist/components/ui/input-otp.d.ts +4 -2
  111. package/dist/components/ui/input-otp.js +1 -2
  112. package/dist/components/ui/input-otp.js.map +1 -1
  113. package/dist/components/ui/input.js +1 -2
  114. package/dist/components/ui/input.js.map +1 -1
  115. package/dist/components/ui/label.js +1 -2
  116. package/dist/components/ui/label.js.map +1 -1
  117. package/dist/components/ui/menubar.d.ts +6 -6
  118. package/dist/components/ui/menubar.js +1 -2
  119. package/dist/components/ui/menubar.js.map +1 -1
  120. package/dist/components/ui/month-picker-multiple.d.ts +1 -1
  121. package/dist/components/ui/month-picker-multiple.js +80 -79
  122. package/dist/components/ui/month-picker-multiple.js.map +1 -1
  123. package/dist/components/ui/navigation-menu.js +1 -2
  124. package/dist/components/ui/navigation-menu.js.map +1 -1
  125. package/dist/components/ui/pagination.js +1 -2
  126. package/dist/components/ui/pagination.js.map +1 -1
  127. package/dist/components/ui/popover.d.ts +4 -4
  128. package/dist/components/ui/popover.js +1 -2
  129. package/dist/components/ui/popover.js.map +1 -1
  130. package/dist/components/ui/progress.js +1 -2
  131. package/dist/components/ui/progress.js.map +1 -1
  132. package/dist/components/ui/radio-group.js +1 -2
  133. package/dist/components/ui/radio-group.js.map +1 -1
  134. package/dist/components/ui/range-number-input.d.ts +1 -1
  135. package/dist/components/ui/range-number-input.js +1 -2
  136. package/dist/components/ui/range-number-input.js.map +1 -1
  137. package/dist/components/ui/resizable.d.ts +4 -20
  138. package/dist/components/ui/resizable.js +5 -6
  139. package/dist/components/ui/resizable.js.map +1 -1
  140. package/dist/components/ui/scroll-area.js +1 -2
  141. package/dist/components/ui/scroll-area.js.map +1 -1
  142. package/dist/components/ui/select/enum-select.d.ts +2 -1
  143. package/dist/components/ui/select/enum-select.js +1 -2
  144. package/dist/components/ui/select/enum-select.js.map +1 -1
  145. package/dist/components/ui/select/id-async-select.js +60 -60
  146. package/dist/components/ui/select/id-async-select.js.map +1 -1
  147. package/dist/components/ui/select/select.js +11 -9
  148. package/dist/components/ui/select/select.js.map +1 -1
  149. package/dist/components/ui/separator.js +1 -2
  150. package/dist/components/ui/separator.js.map +1 -1
  151. package/dist/components/ui/sheet.d.ts +2 -2
  152. package/dist/components/ui/sheet.js +20 -21
  153. package/dist/components/ui/sheet.js.map +1 -1
  154. package/dist/components/ui/sidebar.d.ts +23 -23
  155. package/dist/components/ui/sidebar.js +1 -2
  156. package/dist/components/ui/sidebar.js.map +1 -1
  157. package/dist/components/ui/skeleton.d.ts +1 -1
  158. package/dist/components/ui/skeleton.js +1 -2
  159. package/dist/components/ui/skeleton.js.map +1 -1
  160. package/dist/components/ui/slider.js +1 -2
  161. package/dist/components/ui/slider.js.map +1 -1
  162. package/dist/components/ui/sonamu-filter/constants.js +1 -2
  163. package/dist/components/ui/sonamu-filter/constants.js.map +1 -1
  164. package/dist/components/ui/sonamu-filter/rule-row-input.d.ts +1 -1
  165. package/dist/components/ui/sonamu-filter/rule-row-input.js +1 -2
  166. package/dist/components/ui/sonamu-filter/rule-row-input.js.map +1 -1
  167. package/dist/components/ui/sonamu-filter/sonamu-filter-modal.d.ts +1 -1
  168. package/dist/components/ui/sonamu-filter/sonamu-filter-modal.js +2 -3
  169. package/dist/components/ui/sonamu-filter/sonamu-filter-modal.js.map +1 -1
  170. package/dist/components/ui/sonamu-filter/sonamu-filter-popover.d.ts +1 -1
  171. package/dist/components/ui/sonamu-filter/sonamu-filter-popover.js +1 -2
  172. package/dist/components/ui/sonamu-filter/sonamu-filter-popover.js.map +1 -1
  173. package/dist/components/ui/sonamu-filter/utils.js +2 -3
  174. package/dist/components/ui/sonamu-filter/utils.js.map +1 -1
  175. package/dist/components/ui/sonamu-filter/value-input.d.ts +1 -1
  176. package/dist/components/ui/sonamu-filter/value-input.js +1 -2
  177. package/dist/components/ui/sonamu-filter/value-input.js.map +1 -1
  178. package/dist/components/ui/sonner.d.ts +1 -1
  179. package/dist/components/ui/switch.js +1 -2
  180. package/dist/components/ui/switch.js.map +1 -1
  181. package/dist/components/ui/table.d.ts +8 -8
  182. package/dist/components/ui/table.js +1 -2
  183. package/dist/components/ui/table.js.map +1 -1
  184. package/dist/components/ui/tabs.js +1 -2
  185. package/dist/components/ui/tabs.js.map +1 -1
  186. package/dist/components/ui/tag-input.d.ts +1 -1
  187. package/dist/components/ui/tag-input.js +3 -12
  188. package/dist/components/ui/tag-input.js.map +1 -1
  189. package/dist/components/ui/textarea.js +1 -2
  190. package/dist/components/ui/textarea.js.map +1 -1
  191. package/dist/components/ui/toast.js +18 -19
  192. package/dist/components/ui/toast.js.map +1 -1
  193. package/dist/components/ui/toaster.d.ts +1 -1
  194. package/dist/components/ui/toaster.js +1 -2
  195. package/dist/components/ui/toaster.js.map +1 -1
  196. package/dist/components/ui/toggle-group.js +1 -2
  197. package/dist/components/ui/toggle-group.js.map +1 -1
  198. package/dist/components/ui/toggle.js +17 -17
  199. package/dist/components/ui/toggle.js.map +1 -1
  200. package/dist/components/ui/tooltip.js +1 -2
  201. package/dist/components/ui/tooltip.js.map +1 -1
  202. package/dist/contexts/index.js +1 -2
  203. package/dist/contexts/sonamu-context.d.ts +1 -1
  204. package/dist/contexts/sonamu-context.js +1 -2
  205. package/dist/contexts/sonamu-context.js.map +1 -1
  206. package/dist/demo/App.d.ts +1 -1
  207. package/dist/demo/Layout.d.ts +1 -1
  208. package/dist/demo/components/FormDebugPanel.d.ts +1 -1
  209. package/dist/demo/routeTree.gen.d.ts +37 -37
  210. package/dist/demo/schemas/form-demo.schema.d.ts +8 -8
  211. package/dist/hooks/index.js +1 -2
  212. package/dist/hooks/use-toast.js +2 -3
  213. package/dist/hooks/use-toast.js.map +1 -1
  214. package/dist/i18n/rc-keys.js +1 -2
  215. package/dist/i18n/rc-keys.js.map +1 -1
  216. package/dist/lib/base-helpers.js +3 -3
  217. package/dist/lib/base-helpers.js.map +1 -1
  218. package/dist/lib/caster.d.ts +1 -1
  219. package/dist/lib/caster.js +1 -2
  220. package/dist/lib/caster.js.map +1 -1
  221. package/dist/lib/form-helpers.js +1 -2
  222. package/dist/lib/form-helpers.js.map +1 -1
  223. package/dist/lib/list-helpers.js +1 -2
  224. package/dist/lib/list-helpers.js.map +1 -1
  225. package/dist/lib/modal-helpers.js +1 -2
  226. package/dist/lib/modal-helpers.js.map +1 -1
  227. package/dist/lib/types.js +1 -2
  228. package/dist/lib/types.js.map +1 -1
  229. package/dist/lib/use-mobile.js +7 -9
  230. package/dist/lib/use-mobile.js.map +1 -1
  231. package/dist/lib/utils.js +1 -2
  232. package/dist/lib/utils.js.map +1 -1
  233. package/dist/styles/globals.css +1 -7
  234. package/package.json +70 -68
@@ -1,37 +1,40 @@
1
- import "react";
2
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
- //#region ~icons/lucide/more-horizontal.jsx
4
- var n = (n) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...n,
9
- children: /* @__PURE__ */ t("g", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ n("g", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
19
  children: [
16
- /* @__PURE__ */ e("circle", {
20
+ /* @__PURE__ */ t("circle", {
17
21
  cx: 12,
18
22
  cy: 12,
19
23
  r: 1
20
24
  }),
21
- /* @__PURE__ */ e("circle", {
25
+ /* @__PURE__ */ t("circle", {
22
26
  cx: 19,
23
27
  cy: 12,
24
28
  r: 1
25
29
  }),
26
- /* @__PURE__ */ e("circle", {
30
+ /* @__PURE__ */ t("circle", {
27
31
  cx: 5,
28
32
  cy: 12,
29
33
  r: 1
30
34
  })
31
35
  ]
32
- })
33
- });
34
- //#endregion
35
- export { n as default };
36
+ })]
37
+ }));
38
+ export { r as default };
36
39
 
37
40
  //# sourceMappingURL=more-horizontal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"more-horizontal.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"more-horizontal.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -1,27 +1,30 @@
1
- import "react";
2
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
- //#region ~icons/lucide/panel-left.jsx
4
- var n = (n) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...n,
9
- children: /* @__PURE__ */ t("g", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ n("g", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
- children: [/* @__PURE__ */ e("rect", {
19
+ children: [/* @__PURE__ */ t("rect", {
16
20
  width: 18,
17
21
  height: 18,
18
22
  x: 3,
19
23
  y: 3,
20
24
  rx: 2
21
- }), /* @__PURE__ */ e("path", { d: "M9 3v18" })]
22
- })
23
- });
24
- //#endregion
25
- export { n as default };
25
+ }), /* @__PURE__ */ t("path", { d: "M9 3v18" })]
26
+ })]
27
+ }));
28
+ export { r as default };
26
29
 
27
30
  //# sourceMappingURL=panel-left.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"panel-left.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"panel-left.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -1,21 +1,24 @@
1
- import "react";
2
- import { jsx as e } from "react/jsx-runtime";
3
- //#region ~icons/lucide/plus.jsx
4
- var t = (t) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...t,
9
- children: /* @__PURE__ */ e("path", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ t("path", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
19
  d: "M5 12h14m-7-7v14"
16
- })
17
- });
18
- //#endregion
19
- export { t as default };
20
+ })]
21
+ }));
22
+ export { r as default };
20
23
 
21
24
  //# sourceMappingURL=plus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"plus.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"plus.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -1,25 +1,28 @@
1
- import "react";
2
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
- //#region ~icons/lucide/search.jsx
4
- var n = (n) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...n,
9
- children: /* @__PURE__ */ t("g", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ n("g", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
- children: [/* @__PURE__ */ e("path", { d: "m21 21l-4.34-4.34" }), /* @__PURE__ */ e("circle", {
19
+ children: [/* @__PURE__ */ t("path", { d: "m21 21l-4.34-4.34" }), /* @__PURE__ */ t("circle", {
16
20
  cx: 11,
17
21
  cy: 11,
18
22
  r: 8
19
23
  })]
20
- })
21
- });
22
- //#endregion
23
- export { n as default };
24
+ })]
25
+ }));
26
+ export { r as default };
24
27
 
25
28
  //# sourceMappingURL=search.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"search.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -1,21 +1,24 @@
1
- import "react";
2
- import { jsx as e } from "react/jsx-runtime";
3
- //#region ~icons/lucide/trash-2.jsx
4
- var t = (t) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...t,
9
- children: /* @__PURE__ */ e("path", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ t("path", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
19
  d: "M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"
16
- })
17
- });
18
- //#endregion
19
- export { t as default };
20
+ })]
21
+ }));
22
+ export { r as default };
20
23
 
21
24
  //# sourceMappingURL=trash-2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"trash-2.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"trash-2.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -1,21 +1,24 @@
1
- import "react";
2
- import { jsx as e } from "react/jsx-runtime";
3
- //#region ~icons/lucide/upload.jsx
4
- var t = (t) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...t,
9
- children: /* @__PURE__ */ e("path", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ t("path", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
19
  d: "M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"
16
- })
17
- });
18
- //#endregion
19
- export { t as default };
20
+ })]
21
+ }));
22
+ export { r as default };
20
23
 
21
24
  //# sourceMappingURL=upload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"upload.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -1,25 +1,28 @@
1
- import "react";
2
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
- //#region ~icons/lucide/x-circle.jsx
4
- var n = (n) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...n,
9
- children: /* @__PURE__ */ t("g", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ n("g", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
- children: [/* @__PURE__ */ e("circle", {
19
+ children: [/* @__PURE__ */ t("circle", {
16
20
  cx: 12,
17
21
  cy: 12,
18
22
  r: 10
19
- }), /* @__PURE__ */ e("path", { d: "m15 9l-6 6m0-6l6 6" })]
20
- })
21
- });
22
- //#endregion
23
- export { n as default };
23
+ }), /* @__PURE__ */ t("path", { d: "m15 9l-6 6m0-6l6 6" })]
24
+ })]
25
+ }));
26
+ export { r as default };
24
27
 
25
28
  //# sourceMappingURL=x-circle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-circle.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"x-circle.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -1,21 +1,24 @@
1
- import "react";
2
- import { jsx as e } from "react/jsx-runtime";
3
- //#region ~icons/lucide/x.jsx
4
- var t = (t) => /* @__PURE__ */ e("svg", {
1
+ import { forwardRef as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ var r = e(({ title: e, titleId: r, ...i }, a) => /* @__PURE__ */ n("svg", {
5
4
  viewBox: "0 0 24 24",
6
5
  width: "1.2em",
7
6
  height: "1.2em",
8
- ...t,
9
- children: /* @__PURE__ */ e("path", {
7
+ ref: a,
8
+ "aria-labelledby": r,
9
+ ...i,
10
+ children: [e ? /* @__PURE__ */ t("title", {
11
+ id: r,
12
+ children: e
13
+ }) : null, /* @__PURE__ */ t("path", {
10
14
  fill: "none",
11
15
  stroke: "currentColor",
12
16
  strokeLinecap: "round",
13
17
  strokeLinejoin: "round",
14
18
  strokeWidth: 2,
15
19
  d: "M18 6L6 18M6 6l12 12"
16
- })
17
- });
18
- //#endregion
19
- export { t as default };
20
+ })]
21
+ }));
22
+ export { r as default };
20
23
 
21
24
  //# sourceMappingURL=x.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"x.js","names":[],"sources":[],"mappings":""}
1
+ {"version":3,"file":"x.js","names":["ForwardRef","forwardRef","props","titleId","title"],"sources":[],"mappings":""}
@@ -4,7 +4,7 @@ import { cn as t } from "../../lib/utils.js";
4
4
  import * as n from "react";
5
5
  import * as r from "@radix-ui/react-accordion";
6
6
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
7
- //#region src/components/ui/accordion.tsx
7
+ // src/components/ui/accordion.tsx
8
8
  var o = r.Root, s = n.forwardRef(({ className: e, ...n }, a) => /* @__PURE__ */ i(r.Item, {
9
9
  ref: a,
10
10
  className: t("border-b", e),
@@ -31,7 +31,6 @@ var l = n.forwardRef(({ className: e, children: n, ...a }, o) => /* @__PURE__ */
31
31
  })
32
32
  }));
33
33
  l.displayName = r.Content.displayName;
34
- //#endregion
35
34
  export { o as Accordion, l as AccordionContent, s as AccordionItem, c as AccordionTrigger };
36
35
 
37
36
  //# sourceMappingURL=accordion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.js","names":[],"sources":["../../../src/components/ui/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport * as React from \"react\";\nimport ChevronDownIcon from \"~icons/lucide/chevron-down\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Accordion = AccordionPrimitive.Root;\n\nconst AccordionItem = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />\n));\nAccordionItem.displayName = \"AccordionItem\";\n\nconst AccordionTrigger = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"h-4 w-4 shrink-0 transition-transform duration-200\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n));\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\nconst AccordionContent = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n));\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"mappings":";;;;;;;AAQA,IAAM,IAAY,EAAmB,MAE/B,IAAgB,EAAM,YAGzB,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAmB,MAApB;CAA8B;CAAK,WAAW,EAAG,YAAY,CAAS;CAAG,GAAI;AAAQ,CAAA,CACtF;AACD,EAAc,cAAc;AAE5B,IAAM,IAAmB,EAAM,YAG5B,EAAE,cAAW,aAAU,GAAG,KAAS,MACpC,kBAAC,EAAmB,QAApB;CAA2B,WAAU;WACnC,kBAAC,EAAmB,SAApB;EACO;EACL,WAAW,EACT,gIACA,CACF;EACA,GAAI;YANN,CAQG,GACD,kBAAC,GAAD,EAAiB,WAAU,qDAAsD,CAAA,CACvD;;AACH,CAAA,CAC5B;AACD,EAAiB,cAAc,EAAmB,QAAQ;AAE1D,IAAM,IAAmB,EAAM,YAG5B,EAAE,cAAW,aAAU,GAAG,KAAS,MACpC,kBAAC,EAAmB,SAApB;CACO;CACL,WAAU;CACV,GAAI;WAEJ,kBAAC,OAAD;EAAK,WAAW,EAAG,aAAa,CAAS;EAAI;CAAc,CAAA;AACjC,CAAA,CAC7B;AAED,EAAiB,cAAc,EAAmB,QAAQ"}
1
+ {"version":3,"file":"accordion.js","names":["React","ChevronDownIcon","ForwardRef","React$1","AccordionPrimitive","Accordion","AccordionItem","props","cn","className","AccordionTrigger","children","AccordionContent"],"sources":["../../../src/components/ui/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport * as AccordionPrimitive from \"@radix-ui/react-accordion\";\nimport * as React from \"react\";\nimport ChevronDownIcon from \"~icons/lucide/chevron-down\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Accordion = AccordionPrimitive.Root;\n\nconst AccordionItem = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <AccordionPrimitive.Item ref={ref} className={cn(\"border-b\", className)} {...props} />\n));\nAccordionItem.displayName = \"AccordionItem\";\n\nconst AccordionTrigger = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180\",\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"h-4 w-4 shrink-0 transition-transform duration-200\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n));\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\nconst AccordionContent = React.forwardRef<\n React.ComponentRef<typeof AccordionPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <AccordionPrimitive.Content\n ref={ref}\n className=\"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn(\"pb-4 pt-0\", className)}>{children}</div>\n </AccordionPrimitive.Content>\n));\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"mappings":";;;;;;;AAQA,IAAMK,IAAYD,EAAmB,MAE/BE,IAAgBN,EAAM,YAGzB,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACH,EAAmB,MAApB;CAA8B;CAAK,WAAWI,EAAG,YAAYC,CAAS;CAAG,GAAIF;AAAQ,CAAA,CACtF;AACD,EAAc,cAAc;AAE5B,IAAMG,IAAmBV,EAAM,YAG5B,EAAE,cAAW,aAAU,GAAGO,KAAS,MACpC,kBAACH,EAAmB,QAApB;CAA2B,WAAU;CACnC,UAAA,kBAACA,EAAmB,SAApB;EACO;EACL,WAAWI,EACT,gIACAC,CACF;EACA,GAAIF;EANN,UAAA,CAQGI,GACD,kBAACV,GAAD,EAAiB,WAAU,qDAAsD,CAAA,CACvD;;AACH,CAAA,CAC5B;AACD,EAAiB,cAAcG,EAAmB,QAAQ;AAE1D,IAAMQ,IAAmBZ,EAAM,YAG5B,EAAE,cAAW,aAAU,GAAGO,KAAS,MACpC,kBAACH,EAAmB,SAApB;CACO;CACL,WAAU;CACV,GAAIG;CAEJ,UAAA,kBAAC,OAAD;EAAK,WAAWC,EAAG,aAAaC,CAAS;EAAI;CAAc,CAAA;AACjC,CAAA,CAC7B;AAED,EAAiB,cAAcL,EAAmB,QAAQ"}
@@ -6,11 +6,11 @@ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortal
6
6
  declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
7
  declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
8
  declare const AlertDialogHeader: {
9
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
9
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  declare const AlertDialogFooter: {
13
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
13
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
14
14
  displayName: string;
15
15
  };
16
16
  declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
@@ -3,7 +3,7 @@ import { buttonVariants as t } from "./button.js";
3
3
  import * as n from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  import * as a from "@radix-ui/react-alert-dialog";
6
- //#region src/components/ui/alert-dialog.tsx
6
+ // src/components/ui/alert-dialog.tsx
7
7
  var o = a.Root, s = a.Trigger, c = a.Portal, l = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(a.Overlay, {
8
8
  className: e("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", t),
9
9
  ...n,
@@ -50,7 +50,6 @@ var g = n.forwardRef(({ className: n, ...i }, o) => /* @__PURE__ */ r(a.Cancel,
50
50
  ...i
51
51
  }));
52
52
  g.displayName = a.Cancel.displayName;
53
- //#endregion
54
53
  export { o as AlertDialog, h as AlertDialogAction, g as AlertDialogCancel, u as AlertDialogContent, m as AlertDialogDescription, f as AlertDialogFooter, d as AlertDialogHeader, l as AlertDialogOverlay, c as AlertDialogPortal, p as AlertDialogTitle, s as AlertDialogTrigger };
55
54
 
56
55
  //# sourceMappingURL=alert-dialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert-dialog.js","names":[],"sources":["../../../src/components/ui/alert-dialog.tsx"],"sourcesContent":["import * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-2 text-center sm:text-left\", className)} {...props} />\n);\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n);\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={cn(buttonVariants(), className)} {...props} />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), \"mt-2 sm:mt-0\", className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"],"mappings":";;;;;;AAMA,IAAM,IAAc,EAAqB,MAEnC,IAAqB,EAAqB,SAE1C,IAAoB,EAAqB,QAEzC,IAAqB,EAAM,YAG9B,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAqB,SAAtB;CACE,WAAW,EACT,2JACA,CACF;CACA,GAAI;CACC;AACN,CAAA,CACF;AACD,EAAmB,cAAc,EAAqB,QAAQ;AAE9D,IAAM,IAAqB,EAAM,YAG9B,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD,CAAqB,CAAA,GACrB,kBAAC,EAAqB,SAAtB;CACO;CACL,WAAW,EACT,+fACA,CACF;CACA,GAAI;AACL,CAAA,CACgB,EAAA,CAAA,CACpB;AACD,EAAmB,cAAc,EAAqB,QAAQ;AAE9D,IAAM,KAAqB,EAAE,cAAW,GAAG,QACzC,kBAAC,OAAD;CAAK,WAAW,EAAG,oDAAoD,CAAS;CAAG,GAAI;AAAQ,CAAA;AAEjG,EAAkB,cAAc;AAEhC,IAAM,KAAqB,EAAE,cAAW,GAAG,QACzC,kBAAC,OAAD;CACE,WAAW,EAAG,iEAAiE,CAAS;CACxF,GAAI;AACL,CAAA;AAEH,EAAkB,cAAc;AAEhC,IAAM,IAAmB,EAAM,YAG5B,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAqB,OAAtB;CACO;CACL,WAAW,EAAG,yBAAyB,CAAS;CAChD,GAAI;AACL,CAAA,CACF;AACD,EAAiB,cAAc,EAAqB,MAAM;AAE1D,IAAM,IAAyB,EAAM,YAGlC,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAqB,aAAtB;CACO;CACL,WAAW,EAAG,iCAAiC,CAAS;CACxD,GAAI;AACL,CAAA,CACF;AACD,EAAuB,cAAc,EAAqB,YAAY;AAEtE,IAAM,IAAoB,EAAM,YAG7B,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAqB,QAAtB;CAAkC;CAAK,WAAW,EAAG,EAAe,GAAG,CAAS;CAAG,GAAI;AAAQ,CAAA,CAChG;AACD,EAAkB,cAAc,EAAqB,OAAO;AAE5D,IAAM,IAAoB,EAAM,YAG7B,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAqB,QAAtB;CACO;CACL,WAAW,EAAG,EAAe,EAAE,SAAS,UAAU,CAAC,GAAG,gBAAgB,CAAS;CAC/E,GAAI;AACL,CAAA,CACF;AACD,EAAkB,cAAc,EAAqB,OAAO"}
1
+ {"version":3,"file":"alert-dialog.js","names":["React","React$1","AlertDialogPrimitive","AlertDialog","AlertDialogTrigger","AlertDialogPortal","AlertDialogOverlay","props","cn","className","AlertDialogContent","AlertDialogHeader","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"],"sources":["../../../src/components/ui/alert-dialog.tsx"],"sourcesContent":["import * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst AlertDialogOverlay = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className,\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst AlertDialogContent = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className,\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-2 text-center sm:text-left\", className)} {...props} />\n);\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)}\n {...props}\n />\n);\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst AlertDialogTitle = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold\", className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst AlertDialogDescription = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action ref={ref} className={cn(buttonVariants(), className)} {...props} />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\nconst AlertDialogCancel = React.forwardRef<\n React.ComponentRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: \"outline\" }), \"mt-2 sm:mt-0\", className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"],"mappings":";;;;;;AAMA,IAAMG,IAAcD,EAAqB,MAEnCE,IAAqBF,EAAqB,SAE1CG,IAAoBH,EAAqB,QAEzCI,IAAqBN,EAAM,YAG9B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,SAAtB;CACE,WAAWM,EACT,2JACAC,CACF;CACA,GAAIF;CACC;AACN,CAAA,CACF;AACD,EAAmB,cAAcL,EAAqB,QAAQ;AAE9D,IAAMQ,IAAqBV,EAAM,YAG9B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACF,GAAD,EAAA,UAAA,CACE,kBAACC,GAAD,CAAqB,CAAA,GACrB,kBAACJ,EAAqB,SAAtB;CACO;CACL,WAAWM,EACT,+fACAC,CACF;CACA,GAAIF;AACL,CAAA,CACgB,EAAA,CAAA,CACpB;AACD,EAAmB,cAAcL,EAAqB,QAAQ;AAE9D,IAAMS,KAAqB,EAAE,cAAW,GAAGJ,QACzC,kBAAC,OAAD;CAAK,WAAWC,EAAG,oDAAoDC,CAAS;CAAG,GAAIF;AAAQ,CAAA;AAEjG,EAAkB,cAAc;AAEhC,IAAMK,KAAqB,EAAE,cAAW,GAAGL,QACzC,kBAAC,OAAD;CACE,WAAWC,EAAG,iEAAiEC,CAAS;CACxF,GAAIF;AACL,CAAA;AAEH,EAAkB,cAAc;AAEhC,IAAMM,IAAmBb,EAAM,YAG5B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,OAAtB;CACO;CACL,WAAWM,EAAG,yBAAyBC,CAAS;CAChD,GAAIF;AACL,CAAA,CACF;AACD,EAAiB,cAAcL,EAAqB,MAAM;AAE1D,IAAMY,IAAyBd,EAAM,YAGlC,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,aAAtB;CACO;CACL,WAAWM,EAAG,iCAAiCC,CAAS;CACxD,GAAIF;AACL,CAAA,CACF;AACD,EAAuB,cAAcL,EAAqB,YAAY;AAEtE,IAAMa,IAAoBf,EAAM,YAG7B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,QAAtB;CAAkC;CAAK,WAAWM,EAAGQ,EAAe,GAAGP,CAAS;CAAG,GAAIF;AAAQ,CAAA,CAChG;AACD,EAAkB,cAAcL,EAAqB,OAAO;AAE5D,IAAMe,IAAoBjB,EAAM,YAG7B,EAAE,cAAW,GAAGO,KAAS,MAC1B,kBAACL,EAAqB,QAAtB;CACO;CACL,WAAWM,EAAGQ,EAAe,EAAE,SAAS,UAAU,CAAC,GAAG,gBAAgBP,CAAS;CAC/E,GAAIF;AACL,CAAA,CACF;AACD,EAAkB,cAAcL,EAAqB,OAAO"}
@@ -2,32 +2,32 @@ import { cn as e } from "../../lib/utils.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { cva as r } from "class-variance-authority";
5
- var i = r("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", {
6
- variants: { variant: {
7
- default: "bg-background text-foreground",
8
- destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
9
- } },
5
+ // src/components/ui/alert.tsx
6
+ var i = { variant: {
7
+ default: "bg-background text-foreground",
8
+ destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
9
+ } }, a = r("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", {
10
+ variants: i,
10
11
  defaultVariants: { variant: "default" }
11
- }), a = t.forwardRef(({ className: t, variant: r, ...a }, o) => /* @__PURE__ */ n("div", {
12
+ }), o = t.forwardRef(({ className: t, variant: r, ...i }, o) => /* @__PURE__ */ n("div", {
12
13
  ref: o,
13
14
  role: "alert",
14
- className: e(i({ variant: r }), t),
15
- ...a
15
+ className: e(a({ variant: r }), t),
16
+ ...i
16
17
  }));
17
- a.displayName = "Alert";
18
- var o = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("h5", {
18
+ o.displayName = "Alert";
19
+ var s = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("h5", {
19
20
  ref: i,
20
21
  className: e("mb-1 font-medium leading-none tracking-tight", t),
21
22
  ...r
22
23
  }));
23
- o.displayName = "AlertTitle";
24
- var s = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
24
+ s.displayName = "AlertTitle";
25
+ var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
25
26
  ref: i,
26
27
  className: e("text-sm [&_p]:leading-relaxed", t),
27
28
  ...r
28
29
  }));
29
- s.displayName = "AlertDescription";
30
- //#endregion
31
- export { a as Alert, s as AlertDescription, o as AlertTitle };
30
+ c.displayName = "AlertDescription";
31
+ export { o as Alert, c as AlertDescription, s as AlertTitle, i as alertVariantsConfig };
32
32
 
33
33
  //# sourceMappingURL=alert.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","names":[],"sources":["../../../src/components/ui/alert.tsx"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst alertVariantsConfig = {\n variant: {\n default: \"bg-background text-foreground\",\n destructive:\n \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n} as const;\n\nconst alertVariants = cva(\n \"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground\",\n {\n variants: alertVariantsConfig,\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div ref={ref} role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props} />\n));\nAlert.displayName = \"Alert\";\n\nconst AlertTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)}\n {...props}\n />\n ),\n);\nAlertTitle.displayName = \"AlertTitle\";\n\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"text-sm [&_p]:leading-relaxed\", className)} {...props} />\n));\nAlertDescription.displayName = \"AlertDescription\";\n\nexport { Alert, alertVariantsConfig, AlertTitle, AlertDescription };\n"],"mappings":";;;;AAcA,IAAM,IAAgB,EACpB,6JACA;CACE,UAAU,EAVZ,SAAS;EACP,SAAS;EACT,aACE;CACJ,EAMY;CACV,iBAAiB,EACf,SAAS,UACX;AACF,CACF,GAEM,IAAQ,EAAM,YAGjB,EAAE,cAAW,YAAS,GAAG,KAAS,MACnC,kBAAC,OAAD;CAAU;CAAK,MAAK;CAAQ,WAAW,EAAG,EAAc,EAAE,WAAQ,CAAC,GAAG,CAAS;CAAG,GAAI;AAAQ,CAAA,CAC/F;AACD,EAAM,cAAc;AAEpB,IAAM,IAAa,EAAM,YACtB,EAAE,cAAW,GAAG,KAAS,MACxB,kBAAC,MAAD;CACO;CACL,WAAW,EAAG,gDAAgD,CAAS;CACvE,GAAI;AACL,CAAA,CAEL;AACA,EAAW,cAAc;AAEzB,IAAM,IAAmB,EAAM,YAG5B,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,OAAD;CAAU;CAAK,WAAW,EAAG,iCAAiC,CAAS;CAAG,GAAI;AAAQ,CAAA,CACvF;AACD,EAAiB,cAAc"}
1
+ {"version":3,"file":"alert.js","names":["React","React$1","alertVariantsConfig","alertVariants","cva","Alert","props","cn","className","AlertTitle","AlertDescription"],"sources":["../../../src/components/ui/alert.tsx"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst alertVariantsConfig = {\n variant: {\n default: \"bg-background text-foreground\",\n destructive:\n \"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive\",\n },\n} as const;\n\nconst alertVariants = cva(\n \"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground\",\n {\n variants: alertVariantsConfig,\n defaultVariants: {\n variant: \"default\",\n },\n },\n);\n\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div ref={ref} role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props} />\n));\nAlert.displayName = \"Alert\";\n\nconst AlertTitle = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn(\"mb-1 font-medium leading-none tracking-tight\", className)}\n {...props}\n />\n ),\n);\nAlertTitle.displayName = \"AlertTitle\";\n\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"text-sm [&_p]:leading-relaxed\", className)} {...props} />\n));\nAlertDescription.displayName = \"AlertDescription\";\n\nexport { Alert, alertVariantsConfig, AlertTitle, AlertDescription };\n"],"mappings":";;;;;AAMA,IAAME,IAAsB,EAC1B,SAAS;CACP,SAAS;CACT,aACE;AACJ,EACF,GAEMC,IAAgBC,EACpB,6JACA;CACE,UAAUF;CACV,iBAAiB,EACf,SAAS,UACX;AACF,CACF,GAEMG,IAAQL,EAAM,YAGjB,EAAE,cAAW,YAAS,GAAGM,KAAS,MACnC,kBAAC,OAAD;CAAU;CAAK,MAAK;CAAQ,WAAWC,EAAGJ,EAAc,EAAE,WAAQ,CAAC,GAAGK,CAAS;CAAG,GAAIF;AAAQ,CAAA,CAC/F;AACD,EAAM,cAAc;AAEpB,IAAMG,IAAaT,EAAM,YACtB,EAAE,cAAW,GAAGM,KAAS,MACxB,kBAAC,MAAD;CACO;CACL,WAAWC,EAAG,gDAAgDC,CAAS;CACvE,GAAIF;AACL,CAAA,CAEL;AACA,EAAW,cAAc;AAEzB,IAAMI,IAAmBV,EAAM,YAG5B,EAAE,cAAW,GAAGM,KAAS,MAC1B,kBAAC,OAAD;CAAU;CAAK,WAAWC,EAAG,iCAAiCC,CAAS;CAAG,GAAIF;AAAQ,CAAA,CACvF;AACD,EAAiB,cAAc"}
@@ -1,7 +1,6 @@
1
1
  import * as e from "@radix-ui/react-aspect-ratio";
2
- //#region src/components/ui/aspect-ratio.tsx
2
+ // src/components/ui/aspect-ratio.tsx
3
3
  var t = e.Root;
4
- //#endregion
5
4
  export { t as AspectRatio };
6
5
 
7
6
  //# sourceMappingURL=aspect-ratio.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"aspect-ratio.js","names":[],"sources":["../../../src/components/ui/aspect-ratio.tsx"],"sourcesContent":["import * as AspectRatioPrimitive from \"@radix-ui/react-aspect-ratio\";\n\nconst AspectRatio = AspectRatioPrimitive.Root;\n\nexport { AspectRatio };\n"],"mappings":";;AAEA,IAAM,IAAc,EAAqB"}
1
+ {"version":3,"file":"aspect-ratio.js","names":["AspectRatioPrimitive","AspectRatio"],"sources":["../../../src/components/ui/aspect-ratio.tsx"],"sourcesContent":["import * as AspectRatioPrimitive from \"@radix-ui/react-aspect-ratio\";\n\nconst AspectRatio = AspectRatioPrimitive.Root;\n\nexport { AspectRatio };\n"],"mappings":";;AAEA,IAAMC,IAAcD,EAAqB"}
@@ -2,7 +2,7 @@ import { cn as e } from "../../lib/utils.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import * as r from "@radix-ui/react-avatar";
5
- //#region src/components/ui/avatar.tsx
5
+ // src/components/ui/avatar.tsx
6
6
  var i = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Root, {
7
7
  ref: a,
8
8
  className: e("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", t),
@@ -21,7 +21,6 @@ var o = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Fallback
21
21
  ...i
22
22
  }));
23
23
  o.displayName = r.Fallback.displayName;
24
- //#endregion
25
24
  export { i as Avatar, o as AvatarFallback, a as AvatarImage };
26
25
 
27
26
  //# sourceMappingURL=avatar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.js","names":[],"sources":["../../../src/components/ui/avatar.tsx"],"sourcesContent":["import * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Avatar = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n));\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\nconst AvatarImage = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Image>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n));\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\nconst AvatarFallback = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Fallback>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className,\n )}\n {...props}\n />\n));\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\nexport { Avatar, AvatarImage, AvatarFallback };\n"],"mappings":";;;;;AAKA,IAAM,IAAS,EAAM,YAGlB,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAgB,MAAjB;CACO;CACL,WAAW,EAAG,iEAAiE,CAAS;CACxF,GAAI;AACL,CAAA,CACF;AACD,EAAO,cAAc,EAAgB,KAAK;AAE1C,IAAM,IAAc,EAAM,YAGvB,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAgB,OAAjB;CACO;CACL,WAAW,EAAG,+BAA+B,CAAS;CACtD,GAAI;AACL,CAAA,CACF;AACD,EAAY,cAAc,EAAgB,MAAM;AAEhD,IAAM,IAAiB,EAAM,YAG1B,EAAE,cAAW,GAAG,KAAS,MAC1B,kBAAC,EAAgB,UAAjB;CACO;CACL,WAAW,EACT,wEACA,CACF;CACA,GAAI;AACL,CAAA,CACF;AACD,EAAe,cAAc,EAAgB,SAAS"}
1
+ {"version":3,"file":"avatar.js","names":["React","React$1","AvatarPrimitive","Avatar","props","cn","className","AvatarImage","AvatarFallback"],"sources":["../../../src/components/ui/avatar.tsx"],"sourcesContent":["import * as AvatarPrimitive from \"@radix-ui/react-avatar\";\nimport * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Avatar = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Root\n ref={ref}\n className={cn(\"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full\", className)}\n {...props}\n />\n));\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\nconst AvatarImage = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Image>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Image\n ref={ref}\n className={cn(\"aspect-square h-full w-full\", className)}\n {...props}\n />\n));\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\nconst AvatarFallback = React.forwardRef<\n React.ComponentRef<typeof AvatarPrimitive.Fallback>,\n React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>\n>(({ className, ...props }, ref) => (\n <AvatarPrimitive.Fallback\n ref={ref}\n className={cn(\n \"flex h-full w-full items-center justify-center rounded-full bg-muted\",\n className,\n )}\n {...props}\n />\n));\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\nexport { Avatar, AvatarImage, AvatarFallback };\n"],"mappings":";;;;;AAKA,IAAMG,IAASH,EAAM,YAGlB,EAAE,cAAW,GAAGI,KAAS,MAC1B,kBAACF,EAAgB,MAAjB;CACO;CACL,WAAWG,EAAG,iEAAiEC,CAAS;CACxF,GAAIF;AACL,CAAA,CACF;AACD,EAAO,cAAcF,EAAgB,KAAK;AAE1C,IAAMK,IAAcP,EAAM,YAGvB,EAAE,cAAW,GAAGI,KAAS,MAC1B,kBAACF,EAAgB,OAAjB;CACO;CACL,WAAWG,EAAG,+BAA+BC,CAAS;CACtD,GAAIF;AACL,CAAA,CACF;AACD,EAAY,cAAcF,EAAgB,MAAM;AAEhD,IAAMM,IAAiBR,EAAM,YAG1B,EAAE,cAAW,GAAGI,KAAS,MAC1B,kBAACF,EAAgB,UAAjB;CACO;CACL,WAAWG,EACT,wEACAC,CACF;CACA,GAAIF;AACL,CAAA,CACF;AACD,EAAe,cAAcF,EAAgB,SAAS"}
@@ -13,5 +13,5 @@ declare const badgeVariants: (props?: ({
13
13
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
14
14
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
15
15
  asChild?: boolean;
16
- }): import("react/jsx-runtime").JSX.Element;
16
+ }): React.JSX.Element;
17
17
  export { Badge, badgeVariants, badgeVariantsConfig };