@szum-tech/design-system 3.17.0 → 3.18.2

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 (299) hide show
  1. package/dist/chunk-D5PAWOAZ.cjs +1 -0
  2. package/dist/chunk-JUNHRB4B.js +1 -0
  3. package/dist/chunk-P7BFOJLM.cjs +3 -0
  4. package/dist/chunk-ZYG2KYKK.js +3 -0
  5. package/dist/components/index.cjs +1 -924
  6. package/dist/components/index.d.cts +1650 -56
  7. package/dist/components/index.d.ts +1650 -56
  8. package/dist/components/index.js +1 -43
  9. package/dist/hooks/index.cjs +1 -35
  10. package/dist/hooks/index.js +1 -2
  11. package/dist/icons/index.cjs +2 -93
  12. package/dist/icons/index.js +2 -88
  13. package/dist/utils/index.cjs +1 -10
  14. package/dist/utils/index.js +1 -1
  15. package/package.json +30 -38
  16. package/dist/chunk-2WQJ36RD.cjs +0 -78
  17. package/dist/chunk-2Y2ZCPNV.cjs +0 -61
  18. package/dist/chunk-35H6T7OQ.cjs +0 -2912
  19. package/dist/chunk-375QAB65.cjs +0 -145
  20. package/dist/chunk-3DP3VMPN.js +0 -173
  21. package/dist/chunk-3GNVQFCK.cjs +0 -50
  22. package/dist/chunk-3RK5PCIC.js +0 -86
  23. package/dist/chunk-3WSQRFUY.cjs +0 -11
  24. package/dist/chunk-4LNGZHF2.cjs +0 -33
  25. package/dist/chunk-4TRADSTP.js +0 -34
  26. package/dist/chunk-5B37TQYT.cjs +0 -18
  27. package/dist/chunk-5F2Y65JH.js +0 -32
  28. package/dist/chunk-5MJPZUTO.js +0 -38
  29. package/dist/chunk-5MV54MWS.js +0 -46
  30. package/dist/chunk-6BSR3O2J.js +0 -53
  31. package/dist/chunk-6HX7ETL3.cjs +0 -183
  32. package/dist/chunk-7OD2NBSV.cjs +0 -50
  33. package/dist/chunk-A72LE53B.js +0 -21
  34. package/dist/chunk-A7SBXO2Y.cjs +0 -40
  35. package/dist/chunk-AAPMLWYK.js +0 -2831
  36. package/dist/chunk-B4M7Q5KX.cjs +0 -25
  37. package/dist/chunk-B7RHEMZH.js +0 -48
  38. package/dist/chunk-BTSHACKG.js +0 -123
  39. package/dist/chunk-BUJO4FB6.js +0 -252
  40. package/dist/chunk-CL2C6STG.cjs +0 -278
  41. package/dist/chunk-CXHDWIGF.cjs +0 -89
  42. package/dist/chunk-DGWBE2Y3.cjs +0 -205
  43. package/dist/chunk-DUAM4RTP.cjs +0 -23
  44. package/dist/chunk-EOTQVIA5.js +0 -993
  45. package/dist/chunk-EUH466AL.cjs +0 -179
  46. package/dist/chunk-F7NFSDOD.cjs +0 -91
  47. package/dist/chunk-G24PWQKG.js +0 -20
  48. package/dist/chunk-GEDBA3JU.cjs +0 -49
  49. package/dist/chunk-GYXQUTWZ.cjs +0 -59
  50. package/dist/chunk-H2BWO3SI.cjs +0 -11
  51. package/dist/chunk-H5NHGMSQ.js +0 -136
  52. package/dist/chunk-HCHVDUI6.cjs +0 -34
  53. package/dist/chunk-HNRVLRMN.js +0 -82
  54. package/dist/chunk-HPICKLBZ.cjs +0 -204
  55. package/dist/chunk-I3E75OQX.js +0 -16
  56. package/dist/chunk-I3RSTJP6.js +0 -20
  57. package/dist/chunk-IWF52DDE.js +0 -55
  58. package/dist/chunk-IZU3KULT.js +0 -41
  59. package/dist/chunk-K5AURCK5.js +0 -183
  60. package/dist/chunk-KTAIBRTH.cjs +0 -10
  61. package/dist/chunk-L2TRMQNN.js +0 -130
  62. package/dist/chunk-M7NIRB3U.js +0 -43
  63. package/dist/chunk-MNDQXDV4.cjs +0 -607
  64. package/dist/chunk-N4TYSZSU.cjs +0 -44
  65. package/dist/chunk-NU5UQPBX.cjs +0 -25
  66. package/dist/chunk-NXEZE7LG.js +0 -15
  67. package/dist/chunk-OCOCENE6.js +0 -42
  68. package/dist/chunk-OQCNPNPS.js +0 -23
  69. package/dist/chunk-OXZQGDTR.js +0 -208
  70. package/dist/chunk-OZSNSRLV.cjs +0 -1027
  71. package/dist/chunk-P4IL77YC.js +0 -66
  72. package/dist/chunk-P4JIMFSL.js +0 -51
  73. package/dist/chunk-P5IUC7HJ.js +0 -9
  74. package/dist/chunk-PBEZZMAB.js +0 -25
  75. package/dist/chunk-RKFU4DS3.cjs +0 -1064
  76. package/dist/chunk-S3ANEJJ7.cjs +0 -22
  77. package/dist/chunk-S3ZUFD6U.js +0 -23
  78. package/dist/chunk-SHPJGB2L.cjs +0 -19
  79. package/dist/chunk-TH44JYXB.cjs +0 -27
  80. package/dist/chunk-TMXVL5CV.cjs +0 -48
  81. package/dist/chunk-U3QKV7I4.js +0 -54
  82. package/dist/chunk-U7XZJQ4O.js +0 -36
  83. package/dist/chunk-UJX74PFK.cjs +0 -46
  84. package/dist/chunk-ULEEQ723.cjs +0 -108
  85. package/dist/chunk-UNOMGKAZ.cjs +0 -141
  86. package/dist/chunk-USIW3VT5.cjs +0 -73
  87. package/dist/chunk-VK2FJ65F.js +0 -575
  88. package/dist/chunk-VK5EX3OG.cjs +0 -132
  89. package/dist/chunk-WCQ5WKCQ.js +0 -1042
  90. package/dist/chunk-WMGJCB7O.js +0 -157
  91. package/dist/chunk-X3ZT3KGX.cjs +0 -53
  92. package/dist/chunk-X5O7GP4S.js +0 -48
  93. package/dist/chunk-X7WREEFD.js +0 -8
  94. package/dist/chunk-XENOUBSI.cjs +0 -37
  95. package/dist/chunk-XKCLVPUC.js +0 -176
  96. package/dist/chunk-XTKD76O5.js +0 -29
  97. package/dist/chunk-YBFG2IRJ.cjs +0 -225
  98. package/dist/chunk-YEFLGE3L.cjs +0 -47
  99. package/dist/chunk-YUMKV5TH.js +0 -56
  100. package/dist/chunk-ZD2QRAOX.js +0 -9
  101. package/dist/chunk-ZVF7J4EI.cjs +0 -58
  102. package/dist/color-picker.types-GI7dq2Ig.d.cts +0 -42
  103. package/dist/color-picker.types-GI7dq2Ig.d.ts +0 -42
  104. package/dist/components/accordion/index.cjs +0 -23
  105. package/dist/components/accordion/index.d.cts +0 -17
  106. package/dist/components/accordion/index.d.ts +0 -17
  107. package/dist/components/accordion/index.js +0 -2
  108. package/dist/components/alert/index.cjs +0 -19
  109. package/dist/components/alert/index.d.cts +0 -24
  110. package/dist/components/alert/index.d.ts +0 -24
  111. package/dist/components/alert/index.js +0 -2
  112. package/dist/components/alert-dialog/index.cjs +0 -43
  113. package/dist/components/alert-dialog/index.d.cts +0 -32
  114. package/dist/components/alert-dialog/index.d.ts +0 -32
  115. package/dist/components/alert-dialog/index.js +0 -2
  116. package/dist/components/avatar/index.cjs +0 -19
  117. package/dist/components/avatar/index.d.cts +0 -14
  118. package/dist/components/avatar/index.d.ts +0 -14
  119. package/dist/components/avatar/index.js +0 -2
  120. package/dist/components/badge/index.cjs +0 -19
  121. package/dist/components/badge/index.d.cts +0 -28
  122. package/dist/components/badge/index.d.ts +0 -28
  123. package/dist/components/badge/index.js +0 -2
  124. package/dist/components/badge-overflow/index.cjs +0 -183
  125. package/dist/components/badge-overflow/index.d.cts +0 -21
  126. package/dist/components/badge-overflow/index.d.ts +0 -21
  127. package/dist/components/badge-overflow/index.js +0 -161
  128. package/dist/components/breadcrump/index.cjs +0 -80
  129. package/dist/components/breadcrump/index.d.cts +0 -21
  130. package/dist/components/breadcrump/index.d.ts +0 -21
  131. package/dist/components/breadcrump/index.js +0 -72
  132. package/dist/components/button/index.cjs +0 -52
  133. package/dist/components/button/index.d.cts +0 -58
  134. package/dist/components/button/index.d.ts +0 -58
  135. package/dist/components/button/index.js +0 -43
  136. package/dist/components/card/index.cjs +0 -35
  137. package/dist/components/card/index.d.cts +0 -25
  138. package/dist/components/card/index.d.ts +0 -25
  139. package/dist/components/card/index.js +0 -2
  140. package/dist/components/carousel/index.cjs +0 -269
  141. package/dist/components/carousel/index.d.cts +0 -48
  142. package/dist/components/carousel/index.d.ts +0 -48
  143. package/dist/components/carousel/index.js +0 -238
  144. package/dist/components/checkbox/index.cjs +0 -11
  145. package/dist/components/checkbox/index.d.cts +0 -8
  146. package/dist/components/checkbox/index.d.ts +0 -8
  147. package/dist/components/checkbox/index.js +0 -2
  148. package/dist/components/collapsible/index.cjs +0 -18
  149. package/dist/components/collapsible/index.d.cts +0 -12
  150. package/dist/components/collapsible/index.d.ts +0 -12
  151. package/dist/components/collapsible/index.js +0 -1
  152. package/dist/components/color-picker/index.cjs +0 -92
  153. package/dist/components/color-picker/index.d.cts +0 -71
  154. package/dist/components/color-picker/index.d.ts +0 -71
  155. package/dist/components/color-picker/index.js +0 -43
  156. package/dist/components/color-swatch/index.cjs +0 -11
  157. package/dist/components/color-swatch/index.d.cts +0 -22
  158. package/dist/components/color-swatch/index.d.ts +0 -22
  159. package/dist/components/color-swatch/index.js +0 -2
  160. package/dist/components/counting-number/index.cjs +0 -11
  161. package/dist/components/counting-number/index.d.cts +0 -57
  162. package/dist/components/counting-number/index.d.ts +0 -57
  163. package/dist/components/counting-number/index.js +0 -2
  164. package/dist/components/dialog/index.cjs +0 -39
  165. package/dist/components/dialog/index.d.cts +0 -42
  166. package/dist/components/dialog/index.d.ts +0 -42
  167. package/dist/components/dialog/index.js +0 -2
  168. package/dist/components/dropdown-menu/index.cjs +0 -71
  169. package/dist/components/dropdown-menu/index.d.cts +0 -67
  170. package/dist/components/dropdown-menu/index.d.ts +0 -67
  171. package/dist/components/dropdown-menu/index.js +0 -2
  172. package/dist/components/empty/index.cjs +0 -31
  173. package/dist/components/empty/index.d.cts +0 -29
  174. package/dist/components/empty/index.d.ts +0 -29
  175. package/dist/components/empty/index.js +0 -2
  176. package/dist/components/field/index.cjs +0 -49
  177. package/dist/components/field/index.d.cts +0 -50
  178. package/dist/components/field/index.d.ts +0 -50
  179. package/dist/components/field/index.js +0 -4
  180. package/dist/components/file-upload/index.cjs +0 -60
  181. package/dist/components/file-upload/index.d.cts +0 -131
  182. package/dist/components/file-upload/index.d.ts +0 -131
  183. package/dist/components/file-upload/index.js +0 -3
  184. package/dist/components/header/index.cjs +0 -11
  185. package/dist/components/header/index.d.cts +0 -18
  186. package/dist/components/header/index.d.ts +0 -18
  187. package/dist/components/header/index.js +0 -2
  188. package/dist/components/input/index.cjs +0 -11
  189. package/dist/components/input/index.d.cts +0 -9
  190. package/dist/components/input/index.d.ts +0 -9
  191. package/dist/components/input/index.js +0 -2
  192. package/dist/components/item/index.cjs +0 -48
  193. package/dist/components/item/index.d.cts +0 -61
  194. package/dist/components/item/index.d.ts +0 -61
  195. package/dist/components/item/index.js +0 -3
  196. package/dist/components/label/index.cjs +0 -11
  197. package/dist/components/label/index.d.cts +0 -8
  198. package/dist/components/label/index.d.ts +0 -8
  199. package/dist/components/label/index.js +0 -2
  200. package/dist/components/marquee/index.cjs +0 -11
  201. package/dist/components/marquee/index.d.cts +0 -48
  202. package/dist/components/marquee/index.d.ts +0 -48
  203. package/dist/components/marquee/index.js +0 -2
  204. package/dist/components/masonry/index.cjs +0 -16
  205. package/dist/components/masonry/index.d.cts +0 -181
  206. package/dist/components/masonry/index.d.ts +0 -181
  207. package/dist/components/masonry/index.js +0 -3
  208. package/dist/components/popover/index.cjs +0 -35
  209. package/dist/components/popover/index.d.cts +0 -18
  210. package/dist/components/popover/index.d.ts +0 -18
  211. package/dist/components/popover/index.js +0 -2
  212. package/dist/components/progress/index.cjs +0 -11
  213. package/dist/components/progress/index.d.cts +0 -8
  214. package/dist/components/progress/index.d.ts +0 -8
  215. package/dist/components/progress/index.js +0 -2
  216. package/dist/components/radio-group/index.cjs +0 -15
  217. package/dist/components/radio-group/index.d.cts +0 -22
  218. package/dist/components/radio-group/index.d.ts +0 -22
  219. package/dist/components/radio-group/index.js +0 -2
  220. package/dist/components/scroll-area/index.cjs +0 -15
  221. package/dist/components/scroll-area/index.d.cts +0 -11
  222. package/dist/components/scroll-area/index.d.ts +0 -11
  223. package/dist/components/scroll-area/index.js +0 -2
  224. package/dist/components/select/index.cjs +0 -31
  225. package/dist/components/select/index.d.cts +0 -22
  226. package/dist/components/select/index.d.ts +0 -22
  227. package/dist/components/select/index.js +0 -2
  228. package/dist/components/separator/index.cjs +0 -11
  229. package/dist/components/separator/index.d.cts +0 -8
  230. package/dist/components/separator/index.d.ts +0 -8
  231. package/dist/components/separator/index.js +0 -2
  232. package/dist/components/sheet/index.cjs +0 -39
  233. package/dist/components/sheet/index.d.cts +0 -42
  234. package/dist/components/sheet/index.d.ts +0 -42
  235. package/dist/components/sheet/index.js +0 -2
  236. package/dist/components/sidebar/index.cjs +0 -148
  237. package/dist/components/sidebar/index.d.cts +0 -135
  238. package/dist/components/sidebar/index.d.ts +0 -135
  239. package/dist/components/sidebar/index.js +0 -43
  240. package/dist/components/skeleton/index.cjs +0 -11
  241. package/dist/components/skeleton/index.d.cts +0 -7
  242. package/dist/components/skeleton/index.d.ts +0 -7
  243. package/dist/components/skeleton/index.js +0 -2
  244. package/dist/components/sortable/index.cjs +0 -27
  245. package/dist/components/sortable/index.d.cts +0 -50
  246. package/dist/components/sortable/index.d.ts +0 -50
  247. package/dist/components/sortable/index.js +0 -2
  248. package/dist/components/spinner/index.cjs +0 -11
  249. package/dist/components/spinner/index.d.cts +0 -7
  250. package/dist/components/spinner/index.d.ts +0 -7
  251. package/dist/components/spinner/index.js +0 -2
  252. package/dist/components/status/index.cjs +0 -19
  253. package/dist/components/status/index.d.cts +0 -25
  254. package/dist/components/status/index.d.ts +0 -25
  255. package/dist/components/status/index.js +0 -2
  256. package/dist/components/stepper/index.cjs +0 -124
  257. package/dist/components/stepper/index.d.cts +0 -164
  258. package/dist/components/stepper/index.d.ts +0 -164
  259. package/dist/components/stepper/index.js +0 -43
  260. package/dist/components/switch/index.cjs +0 -11
  261. package/dist/components/switch/index.d.cts +0 -19
  262. package/dist/components/switch/index.d.ts +0 -19
  263. package/dist/components/switch/index.js +0 -2
  264. package/dist/components/tabs/index.cjs +0 -23
  265. package/dist/components/tabs/index.d.cts +0 -17
  266. package/dist/components/tabs/index.d.ts +0 -17
  267. package/dist/components/tabs/index.js +0 -2
  268. package/dist/components/textarea/index.cjs +0 -11
  269. package/dist/components/textarea/index.d.cts +0 -9
  270. package/dist/components/textarea/index.d.ts +0 -9
  271. package/dist/components/textarea/index.js +0 -2
  272. package/dist/components/timeline/index.cjs +0 -45
  273. package/dist/components/timeline/index.d.cts +0 -63
  274. package/dist/components/timeline/index.d.ts +0 -63
  275. package/dist/components/timeline/index.js +0 -4
  276. package/dist/components/toaster/index.cjs +0 -56
  277. package/dist/components/toaster/index.d.cts +0 -8
  278. package/dist/components/toaster/index.d.ts +0 -8
  279. package/dist/components/toaster/index.js +0 -43
  280. package/dist/components/tooltip/index.cjs +0 -19
  281. package/dist/components/tooltip/index.d.cts +0 -12
  282. package/dist/components/tooltip/index.d.ts +0 -12
  283. package/dist/components/tooltip/index.js +0 -2
  284. package/dist/components/typing-text/index.cjs +0 -11
  285. package/dist/components/typing-text/index.d.cts +0 -41
  286. package/dist/components/typing-text/index.d.ts +0 -41
  287. package/dist/components/typing-text/index.js +0 -2
  288. package/dist/components/word-rotate/index.cjs +0 -11
  289. package/dist/components/word-rotate/index.d.cts +0 -30
  290. package/dist/components/word-rotate/index.d.ts +0 -30
  291. package/dist/components/word-rotate/index.js +0 -2
  292. package/dist/direction-CUOPDLCj.d.cts +0 -7
  293. package/dist/direction-CUOPDLCj.d.ts +0 -7
  294. package/dist/popover-trigger-Cf4PPj0z.d.cts +0 -14
  295. package/dist/popover-trigger-Cf4PPj0z.d.ts +0 -14
  296. package/dist/select-Bf6XQtt-.d.cts +0 -12
  297. package/dist/select-Bf6XQtt-.d.ts +0 -12
  298. package/dist/tooltip-content-DqtogPBq.d.cts +0 -8
  299. package/dist/tooltip-content-DqtogPBq.d.ts +0 -8
@@ -1,145 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
- var radixUi = require('radix-ui');
5
- var jsxRuntime = require('react/jsx-runtime');
6
- var lucideReact = require('lucide-react');
7
- var classVarianceAuthority = require('class-variance-authority');
8
-
9
- function Sheet(props) {
10
- return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Root, { "data-slot": "sheet", ...props });
11
- }
12
- function SheetTrigger(props) {
13
- return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Trigger, { "data-slot": "sheet-trigger", ...props });
14
- }
15
- function SheetClose(props) {
16
- return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Dialog.Close, { "data-slot": "sheet-close", ...props });
17
- }
18
- var sheetContentStyles = classVarianceAuthority.cva(
19
- [
20
- "bg-background text-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 fixed z-50 flex flex-col gap-4 bg-clip-padding shadow-lg transition duration-200 ease-in-out",
21
- "data-[state=open]:slide-in data-[state=closed]:slide-out"
22
- ],
23
- {
24
- variants: {
25
- side: {
26
- top: [
27
- "data-[side=top]:data-[state=open]:slide-in-from-top-10",
28
- "data-[side=top]:data-[state=closed]:slide-out-to-top-10",
29
- "data-[side=top]:inset-x-0",
30
- "data-[side=top]:top-0",
31
- "data-[side=top]:h-auto",
32
- "data-[side=top]:border-b",
33
- "data-[side=top]:max-h-[90vh]"
34
- ],
35
- right: [
36
- "data-[side=right]:data-[state=open]:slide-in-from-right-10",
37
- "data-[side=right]:data-[state=closed]:slide-out-to-right-10",
38
- "data-[side=right]:inset-y-0",
39
- "data-[side=right]:right-0",
40
- "data-[side=right]:h-full",
41
- "data-[side=right]:border-l",
42
- "data-[side=right]:w-3/4",
43
- "data-[side=right]:sm:max-w-sm"
44
- ],
45
- bottom: [
46
- "data-[side=bottom]:data-[state=open]:slide-in-from-bottom-10",
47
- "data-[side=bottom]:data-[state=closed]:slide-out-to-bottom-10",
48
- "data-[side=bottom]:inset-x-0",
49
- "data-[side=bottom]:bottom-0",
50
- "data-[side=bottom]:h-auto",
51
- "data-[side=bottom]:border-t",
52
- "data-[side=bottom]:max-h-[90vh]"
53
- ],
54
- left: [
55
- "data-[side=left]:data-[state=open]:slide-in-from-left-10",
56
- "data-[side=left]:data-[state=closed]:slide-out-to-left-10",
57
- "data-[side=left]:inset-y-0",
58
- "data-[side=left]:left-0",
59
- "data-[side=left]:h-full",
60
- "data-[side=left]:border-r",
61
- "data-[side=left]:w-3/4",
62
- "data-[side=left]:sm:max-w-sm"
63
- ]
64
- }
65
- },
66
- defaultVariants: {
67
- side: "right"
68
- }
69
- }
70
- );
71
- function SheetContent({
72
- side = "right",
73
- showCloseButton = true,
74
- className,
75
- children,
76
- ...props
77
- }) {
78
- return /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Dialog.Portal, { "data-slot": "sheet-portal", children: [
79
- /* @__PURE__ */ jsxRuntime.jsx(
80
- radixUi.Dialog.Overlay,
81
- {
82
- "data-slot": "sheet-overlay",
83
- className: "data-[state=open]:animate-in data-[state=closed]:animate-out [state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs"
84
- }
85
- ),
86
- /* @__PURE__ */ jsxRuntime.jsxs(
87
- radixUi.Dialog.Content,
88
- {
89
- "data-slot": "sheet-content",
90
- "data-side": side,
91
- className: chunkH2BWO3SI_cjs.cn(sheetContentStyles({ side }), className),
92
- ...props,
93
- children: [
94
- children,
95
- showCloseButton ? /* @__PURE__ */ jsxRuntime.jsxs(
96
- radixUi.Dialog.Close,
97
- {
98
- "data-slot": "sheet-close",
99
- className: "focus:ring-ring focus:ring-offset-background absolute top-3 right-3 rounded opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",
100
- children: [
101
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XIcon, {}),
102
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Close" })
103
- ]
104
- }
105
- ) : null
106
- ]
107
- }
108
- )
109
- ] });
110
- }
111
- function SheetHeader({ className, ...props }) {
112
- return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "sheet-header", className: chunkH2BWO3SI_cjs.cn("flex flex-col gap-0.5 p-4", className), ...props });
113
- }
114
- function SheetFooter({ className, ...props }) {
115
- return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "sheet-footer", className: chunkH2BWO3SI_cjs.cn("mt-auto flex flex-col gap-2 p-4", className), ...props });
116
- }
117
- function SheetTitle({ className, ...props }) {
118
- return /* @__PURE__ */ jsxRuntime.jsx(
119
- radixUi.Dialog.Title,
120
- {
121
- "data-slot": "sheet-title",
122
- className: chunkH2BWO3SI_cjs.cn("text-foreground text-base font-medium", className),
123
- ...props
124
- }
125
- );
126
- }
127
- function SheetDescription({ className, ...props }) {
128
- return /* @__PURE__ */ jsxRuntime.jsx(
129
- radixUi.Dialog.Description,
130
- {
131
- "data-slot": "sheet-description",
132
- className: chunkH2BWO3SI_cjs.cn("text-muted-foreground text-sm", className),
133
- ...props
134
- }
135
- );
136
- }
137
-
138
- exports.Sheet = Sheet;
139
- exports.SheetClose = SheetClose;
140
- exports.SheetContent = SheetContent;
141
- exports.SheetDescription = SheetDescription;
142
- exports.SheetFooter = SheetFooter;
143
- exports.SheetHeader = SheetHeader;
144
- exports.SheetTitle = SheetTitle;
145
- exports.SheetTrigger = SheetTrigger;
@@ -1,173 +0,0 @@
1
- import { Separator } from './chunk-A72LE53B.js';
2
- import { Label } from './chunk-I3RSTJP6.js';
3
- import { cn } from './chunk-ZD2QRAOX.js';
4
- import { cva } from 'class-variance-authority';
5
- import { jsx, jsxs } from 'react/jsx-runtime';
6
- import * as React from 'react';
7
-
8
- var fieldVariants = cva("group/field data-[invalid=true]:text-error flex w-full gap-3", {
9
- variants: {
10
- orientation: {
11
- vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
12
- horizontal: [
13
- "flex-row items-center",
14
- "[&>[data-slot=field-label]]:flex-auto",
15
- "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
16
- ],
17
- responsive: [
18
- "flex-col @md/field-group:flex-row @md/field-group:items-center [&>*]:w-full @md/field-group:[&>*]:w-auto [&>.sr-only]:w-auto",
19
- "@md/field-group:[&>[data-slot=field-label]]:flex-auto",
20
- "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
21
- ]
22
- }
23
- },
24
- defaultVariants: {
25
- orientation: "vertical"
26
- }
27
- });
28
- function Field({ className, orientation = "vertical", ...props }) {
29
- return /* @__PURE__ */ jsx(
30
- "div",
31
- {
32
- role: "group",
33
- "data-slot": "field",
34
- "data-orientation": orientation,
35
- className: cn(fieldVariants({ orientation }), className),
36
- ...props
37
- }
38
- );
39
- }
40
- function FieldContent({ className, ...props }) {
41
- return /* @__PURE__ */ jsx(
42
- "div",
43
- {
44
- "data-slot": "field-content",
45
- className: cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug", className),
46
- ...props
47
- }
48
- );
49
- }
50
- function FieldDescription({ className, ...props }) {
51
- return /* @__PURE__ */ jsx(
52
- "p",
53
- {
54
- "data-slot": "field-description",
55
- className: cn(
56
- "text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance",
57
- "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",
58
- "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
59
- className
60
- ),
61
- ...props
62
- }
63
- );
64
- }
65
- function FieldError({ className, children, errors, ...props }) {
66
- const content = React.useMemo(() => {
67
- if (children) {
68
- return children;
69
- }
70
- if (!errors?.length) {
71
- return null;
72
- }
73
- const uniqueErrors = [...new Map(errors.map((error) => [error?.message, error])).values()];
74
- if (uniqueErrors?.length == 1) {
75
- return uniqueErrors[0]?.message;
76
- }
77
- return /* @__PURE__ */ jsx("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map((error, index) => error?.message && /* @__PURE__ */ jsx("li", { children: error.message }, index)) });
78
- }, [children, errors]);
79
- if (!content) {
80
- return null;
81
- }
82
- return /* @__PURE__ */ jsx("div", { role: "alert", "data-slot": "field-error", className: cn("text-error text-sm font-normal", className), ...props, children: content });
83
- }
84
- function FieldGroup({ className, ...props }) {
85
- return /* @__PURE__ */ jsx(
86
- "div",
87
- {
88
- "data-slot": "field-group",
89
- className: cn(
90
- "group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",
91
- className
92
- ),
93
- ...props
94
- }
95
- );
96
- }
97
- function FieldLabel({ className, ...props }) {
98
- return /* @__PURE__ */ jsx(
99
- Label,
100
- {
101
- "data-slot": "field-label",
102
- className: cn(
103
- "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50",
104
- "has-[>[data-slot=field]]:border-border has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4",
105
- "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",
106
- className
107
- ),
108
- ...props
109
- }
110
- );
111
- }
112
- function FieldLegend({ className, variant = "legend", ...props }) {
113
- return /* @__PURE__ */ jsx(
114
- "legend",
115
- {
116
- "data-slot": "field-legend",
117
- "data-variant": variant,
118
- className: cn("mb-3 font-medium", "data-[variant=legend]:text-base", "data-[variant=label]:text-sm", className),
119
- ...props
120
- }
121
- );
122
- }
123
- function FieldSeparator({ children, className, ...props }) {
124
- return /* @__PURE__ */ jsxs(
125
- "div",
126
- {
127
- "data-slot": "field-separator",
128
- "data-content": !!children,
129
- className: cn("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2", className),
130
- ...props,
131
- children: [
132
- /* @__PURE__ */ jsx(Separator, { className: "absolute inset-0 top-1/2" }),
133
- children ? /* @__PURE__ */ jsx(
134
- "span",
135
- {
136
- className: "bg-background text-muted-foreground relative mx-auto block w-fit px-2",
137
- "data-slot": "field-separator-content",
138
- children
139
- }
140
- ) : null
141
- ]
142
- }
143
- );
144
- }
145
- function FieldSet({ className, ...props }) {
146
- return /* @__PURE__ */ jsx(
147
- "fieldset",
148
- {
149
- "data-slot": "field-set",
150
- className: cn(
151
- "flex flex-col gap-6",
152
- "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
153
- className
154
- ),
155
- ...props
156
- }
157
- );
158
- }
159
- function FieldTitle({ className, ...props }) {
160
- return /* @__PURE__ */ jsx(
161
- "div",
162
- {
163
- "data-slot": "field-label",
164
- className: cn(
165
- "flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50",
166
- className
167
- ),
168
- ...props
169
- }
170
- );
171
- }
172
-
173
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
@@ -1,50 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
- var classVarianceAuthority = require('class-variance-authority');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- var alertVariants = classVarianceAuthority.cva(
8
- "border-border relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
9
- {
10
- variants: {
11
- variant: {
12
- default: "bg-card text-card-foreground",
13
- destructive: "text-error bg-card *:data-[slot=alert-description]:text-error/90 [&>svg]:text-current"
14
- }
15
- },
16
- defaultVariants: {
17
- variant: "default"
18
- }
19
- }
20
- );
21
- function Alert({ className, variant = "default", ...props }) {
22
- return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "alert", role: "alert", className: chunkH2BWO3SI_cjs.cn(alertVariants({ variant }), className), ...props });
23
- }
24
- function AlertDescription({ className, ...props }) {
25
- return /* @__PURE__ */ jsxRuntime.jsx(
26
- "div",
27
- {
28
- "data-slot": "alert-description",
29
- className: chunkH2BWO3SI_cjs.cn(
30
- "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
31
- className
32
- ),
33
- ...props
34
- }
35
- );
36
- }
37
- function AlertTitle({ className, ...props }) {
38
- return /* @__PURE__ */ jsxRuntime.jsx(
39
- "div",
40
- {
41
- "data-slot": "alert-title",
42
- className: chunkH2BWO3SI_cjs.cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className),
43
- ...props
44
- }
45
- );
46
- }
47
-
48
- exports.Alert = Alert;
49
- exports.AlertDescription = AlertDescription;
50
- exports.AlertTitle = AlertTitle;
@@ -1,86 +0,0 @@
1
- import { cn } from './chunk-ZD2QRAOX.js';
2
- import * as React from 'react';
3
- import { Slot } from 'radix-ui';
4
- import { cva } from 'class-variance-authority';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- var colorSwatchVariants = cva(
8
- "border-border box-border rounded border [background-clip:padding-box] shadow-sm data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
9
- {
10
- variants: {
11
- size: {
12
- default: "size-8",
13
- sm: "size-6",
14
- lg: "size-12"
15
- }
16
- },
17
- defaultVariants: {
18
- size: "default"
19
- }
20
- }
21
- );
22
-
23
- // src/components/color-swatch/color-swatch.utils.ts
24
- function getIsCssColor(v) {
25
- try {
26
- return typeof CSS !== "undefined" && typeof CSS.supports === "function" ? CSS.supports("color", v) : true;
27
- } catch {
28
- return false;
29
- }
30
- }
31
- function getHasAlpha(v) {
32
- const s = v.trim().toLowerCase();
33
- if (s === "transparent") return true;
34
- if (/^#(?:[0-9a-f]{4}|[0-9a-f]{8})$/i.test(s)) return true;
35
- if (/\b(?:rgba|hsla)\s*\(/i.test(s)) return true;
36
- return /\b(?:rgb|hsl|lab|lch|oklab|oklch|color)\s*\([^)]*\/\s*[\d.]+%?\s*\)/i.test(s);
37
- }
38
- function ColorSwatch({
39
- color,
40
- size = "default",
41
- asChild = false,
42
- disabled = false,
43
- withoutTransparency = false,
44
- className,
45
- style,
46
- ...props
47
- }) {
48
- const colorValue = color?.trim();
49
- const backgroundStyle = React.useMemo(() => {
50
- if (!colorValue) {
51
- return {
52
- background: "linear-gradient(to bottom right, transparent calc(50% - 1px), hsl(var(--destructive)) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) no-repeat"
53
- };
54
- }
55
- if (!getIsCssColor(colorValue)) {
56
- return { backgroundColor: "transparent" };
57
- }
58
- if (!withoutTransparency && getHasAlpha(colorValue)) {
59
- return {
60
- background: `linear-gradient(${colorValue}, ${colorValue}), repeating-conic-gradient(#ccc 0% 25%, #fff 0% 50%) 0% 50% / 10px 10px`
61
- };
62
- }
63
- return { backgroundColor: colorValue };
64
- }, [colorValue, withoutTransparency]);
65
- const ariaLabel = !colorValue ? "No color selected" : `Color swatch: ${colorValue}`;
66
- const Primitive = asChild ? Slot.Slot : "div";
67
- return /* @__PURE__ */ jsx(
68
- Primitive,
69
- {
70
- role: "img",
71
- "aria-label": ariaLabel,
72
- "aria-disabled": disabled || void 0,
73
- "data-disabled": disabled ? "" : void 0,
74
- "data-slot": "color-swatch",
75
- ...props,
76
- className: cn(colorSwatchVariants({ size }), className),
77
- style: {
78
- ...backgroundStyle,
79
- forcedColorAdjust: "none",
80
- ...style
81
- }
82
- }
83
- );
84
- }
85
-
86
- export { ColorSwatch };
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
- var lucideReact = require('lucide-react');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- function Spinner({ className, ...props }) {
8
- return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LoaderCircle, { role: "status", "aria-label": "Loading", className: chunkH2BWO3SI_cjs.cn("size-4 animate-spin", className), ...props });
9
- }
10
-
11
- exports.Spinner = Spinner;
@@ -1,33 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
- var radixUi = require('radix-ui');
5
- var jsxRuntime = require('react/jsx-runtime');
6
-
7
- function Avatar({ className, ...props }) {
8
- return /* @__PURE__ */ jsxRuntime.jsx(
9
- radixUi.Avatar.Root,
10
- {
11
- "data-slot": "avatar",
12
- className: chunkH2BWO3SI_cjs.cn("relative flex size-8 shrink-0 overflow-hidden rounded", className),
13
- ...props
14
- }
15
- );
16
- }
17
- function AvatarImage({ className, ...props }) {
18
- return /* @__PURE__ */ jsxRuntime.jsx(radixUi.Avatar.Image, { "data-slot": "avatar-image", className: chunkH2BWO3SI_cjs.cn("aspect-square size-full", className), ...props });
19
- }
20
- function AvatarFallback({ className, ...props }) {
21
- return /* @__PURE__ */ jsxRuntime.jsx(
22
- radixUi.Avatar.Fallback,
23
- {
24
- "data-slot": "avatar-fallback",
25
- className: chunkH2BWO3SI_cjs.cn("bg-muted flex size-full items-center justify-center rounded", className),
26
- ...props
27
- }
28
- );
29
- }
30
-
31
- exports.Avatar = Avatar;
32
- exports.AvatarFallback = AvatarFallback;
33
- exports.AvatarImage = AvatarImage;
@@ -1,34 +0,0 @@
1
- import { cn } from './chunk-ZD2QRAOX.js';
2
- import { RadioGroup as RadioGroup$1 } from 'radix-ui';
3
- import { jsx } from 'react/jsx-runtime';
4
- import { CircleIcon } from 'lucide-react';
5
-
6
- function RadioGroup({ className, ...props }) {
7
- return /* @__PURE__ */ jsx(RadioGroup$1.Root, { "data-slot": "radio-group", className: cn("grid gap-3", className), ...props });
8
- }
9
- function RadioGroupItem({ className, ...props }) {
10
- return /* @__PURE__ */ jsx(
11
- RadioGroup$1.Item,
12
- {
13
- "data-slot": "radio-group-item",
14
- className: cn(
15
- "border-input text-primary dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50",
16
- "disabled:cursor-not-allowed disabled:opacity-50",
17
- "aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error",
18
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
19
- className
20
- ),
21
- ...props,
22
- children: /* @__PURE__ */ jsx(
23
- RadioGroup$1.Indicator,
24
- {
25
- "data-slot": "radio-group-indicator",
26
- className: "relative flex items-center justify-center",
27
- children: /* @__PURE__ */ jsx(CircleIcon, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
28
- }
29
- )
30
- }
31
- );
32
- }
33
-
34
- export { RadioGroup, RadioGroupItem };
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
- var jsxRuntime = require('react/jsx-runtime');
5
-
6
- function Header({ children, variant = "container", ...props }) {
7
- return /* @__PURE__ */ jsxRuntime.jsx(
8
- "header",
9
- {
10
- "data-slot": "header",
11
- className: "border-border/40 bg-background/95 supports-backdrop-filter:bg-background/60 sticky top-0 z-50 w-full border-b backdrop-blur",
12
- ...props,
13
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkH2BWO3SI_cjs.cn("flex h-16 items-center", variant === "container" ? "container" : "w-full px-4 sm:px-8"), children })
14
- }
15
- );
16
- }
17
-
18
- exports.Header = Header;
@@ -1,32 +0,0 @@
1
- import { cn } from './chunk-ZD2QRAOX.js';
2
- import { CheckIcon } from 'lucide-react';
3
- import { Checkbox as Checkbox$1 } from 'radix-ui';
4
- import { jsx } from 'react/jsx-runtime';
5
-
6
- function Checkbox({ className, ...props }) {
7
- return /* @__PURE__ */ jsx(
8
- Checkbox$1.Root,
9
- {
10
- "data-slot": "checkbox",
11
- className: cn(
12
- "peer border-input dark:bg-input/30 size-4 shrink-0 rounded border shadow-xs transition-shadow outline-none",
13
- "data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary",
14
- "aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 aria-invalid:border-error",
15
- "disabled:cursor-not-allowed disabled:opacity-50",
16
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
17
- className
18
- ),
19
- ...props,
20
- children: /* @__PURE__ */ jsx(
21
- Checkbox$1.Indicator,
22
- {
23
- "data-slot": "checkbox-indicator",
24
- className: "grid place-content-center text-current transition-none",
25
- children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5" })
26
- }
27
- )
28
- }
29
- );
30
- }
31
-
32
- export { Checkbox };
@@ -1,38 +0,0 @@
1
- import { cn } from './chunk-ZD2QRAOX.js';
2
- import { AlertDialog as AlertDialog$1 } from 'radix-ui';
3
- import { jsxs, jsx } from 'react/jsx-runtime';
4
- import { twMerge } from 'tailwind-merge';
5
-
6
- var AlertDialog = AlertDialog$1.Root;
7
- var AlertDialogTrigger = AlertDialog$1.Trigger;
8
- function AlertDialogContent({ className, ...props }) {
9
- return /* @__PURE__ */ jsxs(AlertDialog$1.Portal, { children: [
10
- /* @__PURE__ */ jsx(AlertDialog$1.Overlay, { className: "bg-app-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs" }),
11
- /* @__PURE__ */ jsx(
12
- AlertDialog$1.Content,
13
- {
14
- className: cn(
15
- "bg-app-foreground 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%] fixed top-1/2 left-1/2 z-50 flex w-full max-w-lg -translate-x-1/2 -translate-y-1/2 flex-col rounded border border-gray-800 p-4 shadow-lg duration-200",
16
- className
17
- ),
18
- ...props
19
- }
20
- )
21
- ] });
22
- }
23
- var AlertDialogAction = AlertDialog$1.Action;
24
- function AlertDialogFooter({ className, ...props }) {
25
- return /* @__PURE__ */ jsx("div", { className: twMerge("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className), ...props });
26
- }
27
- function AlertDialogTitle({ className, ref, ...props }) {
28
- return /* @__PURE__ */ jsx(AlertDialog$1.Title, { ref, className: cn("text-heading-6", className), ...props });
29
- }
30
- function AlertDialogDescription({ className, ...props }) {
31
- return /* @__PURE__ */ jsx(AlertDialog$1.Description, { className: cn("text-body-2 text-gray-300", className), ...props });
32
- }
33
- var AlertDialogCancel = AlertDialog$1.Cancel;
34
- function AlertDialogHeader({ className, ...props }) {
35
- return /* @__PURE__ */ jsx("div", { className: cn("mb-4 flex flex-col space-y-2 text-center sm:text-left", className), ...props });
36
- }
37
-
38
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger };
@@ -1,46 +0,0 @@
1
- import { cn } from './chunk-ZD2QRAOX.js';
2
- import { cva } from 'class-variance-authority';
3
- import { jsx } from 'react/jsx-runtime';
4
-
5
- var alertVariants = cva(
6
- "border-border relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
7
- {
8
- variants: {
9
- variant: {
10
- default: "bg-card text-card-foreground",
11
- destructive: "text-error bg-card *:data-[slot=alert-description]:text-error/90 [&>svg]:text-current"
12
- }
13
- },
14
- defaultVariants: {
15
- variant: "default"
16
- }
17
- }
18
- );
19
- function Alert({ className, variant = "default", ...props }) {
20
- return /* @__PURE__ */ jsx("div", { "data-slot": "alert", role: "alert", className: cn(alertVariants({ variant }), className), ...props });
21
- }
22
- function AlertDescription({ className, ...props }) {
23
- return /* @__PURE__ */ jsx(
24
- "div",
25
- {
26
- "data-slot": "alert-description",
27
- className: cn(
28
- "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
29
- className
30
- ),
31
- ...props
32
- }
33
- );
34
- }
35
- function AlertTitle({ className, ...props }) {
36
- return /* @__PURE__ */ jsx(
37
- "div",
38
- {
39
- "data-slot": "alert-title",
40
- className: cn("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", className),
41
- ...props
42
- }
43
- );
44
- }
45
-
46
- export { Alert, AlertDescription, AlertTitle };