@szum-tech/design-system 3.16.0 → 3.18.1

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 (295) 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-375QAB65.cjs +0 -145
  19. package/dist/chunk-3DP3VMPN.js +0 -173
  20. package/dist/chunk-3GNVQFCK.cjs +0 -50
  21. package/dist/chunk-3RK5PCIC.js +0 -86
  22. package/dist/chunk-3WSQRFUY.cjs +0 -11
  23. package/dist/chunk-4LNGZHF2.cjs +0 -33
  24. package/dist/chunk-4TRADSTP.js +0 -34
  25. package/dist/chunk-5F2Y65JH.js +0 -32
  26. package/dist/chunk-5MJPZUTO.js +0 -38
  27. package/dist/chunk-5MV54MWS.js +0 -46
  28. package/dist/chunk-6BSR3O2J.js +0 -53
  29. package/dist/chunk-6HX7ETL3.cjs +0 -183
  30. package/dist/chunk-6X26XC6P.cjs +0 -17
  31. package/dist/chunk-7OD2NBSV.cjs +0 -50
  32. package/dist/chunk-A72LE53B.js +0 -21
  33. package/dist/chunk-A7SBXO2Y.cjs +0 -40
  34. package/dist/chunk-B4M7Q5KX.cjs +0 -25
  35. package/dist/chunk-B7RHEMZH.js +0 -48
  36. package/dist/chunk-BTSHACKG.js +0 -123
  37. package/dist/chunk-BUJO4FB6.js +0 -252
  38. package/dist/chunk-CL2C6STG.cjs +0 -278
  39. package/dist/chunk-CXHDWIGF.cjs +0 -89
  40. package/dist/chunk-DGWBE2Y3.cjs +0 -205
  41. package/dist/chunk-DUAM4RTP.cjs +0 -23
  42. package/dist/chunk-EOTQVIA5.js +0 -993
  43. package/dist/chunk-EUH466AL.cjs +0 -179
  44. package/dist/chunk-F7NFSDOD.cjs +0 -91
  45. package/dist/chunk-G24PWQKG.js +0 -20
  46. package/dist/chunk-GEDBA3JU.cjs +0 -49
  47. package/dist/chunk-GYXQUTWZ.cjs +0 -59
  48. package/dist/chunk-H2BWO3SI.cjs +0 -11
  49. package/dist/chunk-H5NHGMSQ.js +0 -136
  50. package/dist/chunk-HCHVDUI6.cjs +0 -34
  51. package/dist/chunk-HNRVLRMN.js +0 -82
  52. package/dist/chunk-HPICKLBZ.cjs +0 -204
  53. package/dist/chunk-I3RSTJP6.js +0 -20
  54. package/dist/chunk-IWF52DDE.js +0 -55
  55. package/dist/chunk-IZU3KULT.js +0 -41
  56. package/dist/chunk-K5AURCK5.js +0 -183
  57. package/dist/chunk-KTAIBRTH.cjs +0 -10
  58. package/dist/chunk-L2TRMQNN.js +0 -130
  59. package/dist/chunk-M7NIRB3U.js +0 -43
  60. package/dist/chunk-MFTNHVPZ.cjs +0 -2906
  61. package/dist/chunk-MNDQXDV4.cjs +0 -607
  62. package/dist/chunk-N4TYSZSU.cjs +0 -44
  63. package/dist/chunk-NU5UQPBX.cjs +0 -25
  64. package/dist/chunk-NXEZE7LG.js +0 -15
  65. package/dist/chunk-OCOCENE6.js +0 -42
  66. package/dist/chunk-OIM2X2NK.js +0 -2825
  67. package/dist/chunk-OQCNPNPS.js +0 -23
  68. package/dist/chunk-OXZQGDTR.js +0 -208
  69. package/dist/chunk-OZSNSRLV.cjs +0 -1027
  70. package/dist/chunk-P4IL77YC.js +0 -66
  71. package/dist/chunk-P4JIMFSL.js +0 -51
  72. package/dist/chunk-P5IUC7HJ.js +0 -9
  73. package/dist/chunk-PBEZZMAB.js +0 -25
  74. package/dist/chunk-RKFU4DS3.cjs +0 -1064
  75. package/dist/chunk-S3ANEJJ7.cjs +0 -22
  76. package/dist/chunk-S3ZUFD6U.js +0 -23
  77. package/dist/chunk-SHPJGB2L.cjs +0 -19
  78. package/dist/chunk-TH44JYXB.cjs +0 -27
  79. package/dist/chunk-TMXVL5CV.cjs +0 -48
  80. package/dist/chunk-U3QKV7I4.js +0 -54
  81. package/dist/chunk-U7XZJQ4O.js +0 -36
  82. package/dist/chunk-UJX74PFK.cjs +0 -46
  83. package/dist/chunk-ULEEQ723.cjs +0 -108
  84. package/dist/chunk-UNOMGKAZ.cjs +0 -141
  85. package/dist/chunk-USIW3VT5.cjs +0 -73
  86. package/dist/chunk-VK2FJ65F.js +0 -575
  87. package/dist/chunk-VK5EX3OG.cjs +0 -132
  88. package/dist/chunk-VT5GDGZJ.js +0 -15
  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/button/index.cjs +0 -52
  129. package/dist/components/button/index.d.cts +0 -58
  130. package/dist/components/button/index.d.ts +0 -58
  131. package/dist/components/button/index.js +0 -43
  132. package/dist/components/card/index.cjs +0 -35
  133. package/dist/components/card/index.d.cts +0 -25
  134. package/dist/components/card/index.d.ts +0 -25
  135. package/dist/components/card/index.js +0 -2
  136. package/dist/components/carousel/index.cjs +0 -269
  137. package/dist/components/carousel/index.d.cts +0 -48
  138. package/dist/components/carousel/index.d.ts +0 -48
  139. package/dist/components/carousel/index.js +0 -238
  140. package/dist/components/checkbox/index.cjs +0 -11
  141. package/dist/components/checkbox/index.d.cts +0 -8
  142. package/dist/components/checkbox/index.d.ts +0 -8
  143. package/dist/components/checkbox/index.js +0 -2
  144. package/dist/components/collapsible/index.cjs +0 -18
  145. package/dist/components/collapsible/index.d.cts +0 -12
  146. package/dist/components/collapsible/index.d.ts +0 -12
  147. package/dist/components/collapsible/index.js +0 -1
  148. package/dist/components/color-picker/index.cjs +0 -92
  149. package/dist/components/color-picker/index.d.cts +0 -71
  150. package/dist/components/color-picker/index.d.ts +0 -71
  151. package/dist/components/color-picker/index.js +0 -43
  152. package/dist/components/color-swatch/index.cjs +0 -11
  153. package/dist/components/color-swatch/index.d.cts +0 -22
  154. package/dist/components/color-swatch/index.d.ts +0 -22
  155. package/dist/components/color-swatch/index.js +0 -2
  156. package/dist/components/counting-number/index.cjs +0 -11
  157. package/dist/components/counting-number/index.d.cts +0 -57
  158. package/dist/components/counting-number/index.d.ts +0 -57
  159. package/dist/components/counting-number/index.js +0 -2
  160. package/dist/components/dialog/index.cjs +0 -39
  161. package/dist/components/dialog/index.d.cts +0 -42
  162. package/dist/components/dialog/index.d.ts +0 -42
  163. package/dist/components/dialog/index.js +0 -2
  164. package/dist/components/dropdown-menu/index.cjs +0 -71
  165. package/dist/components/dropdown-menu/index.d.cts +0 -67
  166. package/dist/components/dropdown-menu/index.d.ts +0 -67
  167. package/dist/components/dropdown-menu/index.js +0 -2
  168. package/dist/components/empty/index.cjs +0 -31
  169. package/dist/components/empty/index.d.cts +0 -29
  170. package/dist/components/empty/index.d.ts +0 -29
  171. package/dist/components/empty/index.js +0 -2
  172. package/dist/components/field/index.cjs +0 -49
  173. package/dist/components/field/index.d.cts +0 -50
  174. package/dist/components/field/index.d.ts +0 -50
  175. package/dist/components/field/index.js +0 -4
  176. package/dist/components/file-upload/index.cjs +0 -60
  177. package/dist/components/file-upload/index.d.cts +0 -131
  178. package/dist/components/file-upload/index.d.ts +0 -131
  179. package/dist/components/file-upload/index.js +0 -3
  180. package/dist/components/header/index.cjs +0 -10
  181. package/dist/components/header/index.d.cts +0 -9
  182. package/dist/components/header/index.d.ts +0 -9
  183. package/dist/components/header/index.js +0 -1
  184. package/dist/components/input/index.cjs +0 -11
  185. package/dist/components/input/index.d.cts +0 -9
  186. package/dist/components/input/index.d.ts +0 -9
  187. package/dist/components/input/index.js +0 -2
  188. package/dist/components/item/index.cjs +0 -48
  189. package/dist/components/item/index.d.cts +0 -61
  190. package/dist/components/item/index.d.ts +0 -61
  191. package/dist/components/item/index.js +0 -3
  192. package/dist/components/label/index.cjs +0 -11
  193. package/dist/components/label/index.d.cts +0 -8
  194. package/dist/components/label/index.d.ts +0 -8
  195. package/dist/components/label/index.js +0 -2
  196. package/dist/components/marquee/index.cjs +0 -11
  197. package/dist/components/marquee/index.d.cts +0 -48
  198. package/dist/components/marquee/index.d.ts +0 -48
  199. package/dist/components/marquee/index.js +0 -2
  200. package/dist/components/masonry/index.cjs +0 -16
  201. package/dist/components/masonry/index.d.cts +0 -181
  202. package/dist/components/masonry/index.d.ts +0 -181
  203. package/dist/components/masonry/index.js +0 -3
  204. package/dist/components/popover/index.cjs +0 -35
  205. package/dist/components/popover/index.d.cts +0 -18
  206. package/dist/components/popover/index.d.ts +0 -18
  207. package/dist/components/popover/index.js +0 -2
  208. package/dist/components/progress/index.cjs +0 -11
  209. package/dist/components/progress/index.d.cts +0 -8
  210. package/dist/components/progress/index.d.ts +0 -8
  211. package/dist/components/progress/index.js +0 -2
  212. package/dist/components/radio-group/index.cjs +0 -15
  213. package/dist/components/radio-group/index.d.cts +0 -22
  214. package/dist/components/radio-group/index.d.ts +0 -22
  215. package/dist/components/radio-group/index.js +0 -2
  216. package/dist/components/scroll-area/index.cjs +0 -15
  217. package/dist/components/scroll-area/index.d.cts +0 -11
  218. package/dist/components/scroll-area/index.d.ts +0 -11
  219. package/dist/components/scroll-area/index.js +0 -2
  220. package/dist/components/select/index.cjs +0 -31
  221. package/dist/components/select/index.d.cts +0 -22
  222. package/dist/components/select/index.d.ts +0 -22
  223. package/dist/components/select/index.js +0 -2
  224. package/dist/components/separator/index.cjs +0 -11
  225. package/dist/components/separator/index.d.cts +0 -8
  226. package/dist/components/separator/index.d.ts +0 -8
  227. package/dist/components/separator/index.js +0 -2
  228. package/dist/components/sheet/index.cjs +0 -39
  229. package/dist/components/sheet/index.d.cts +0 -42
  230. package/dist/components/sheet/index.d.ts +0 -42
  231. package/dist/components/sheet/index.js +0 -2
  232. package/dist/components/sidebar/index.cjs +0 -148
  233. package/dist/components/sidebar/index.d.cts +0 -135
  234. package/dist/components/sidebar/index.d.ts +0 -135
  235. package/dist/components/sidebar/index.js +0 -43
  236. package/dist/components/skeleton/index.cjs +0 -11
  237. package/dist/components/skeleton/index.d.cts +0 -7
  238. package/dist/components/skeleton/index.d.ts +0 -7
  239. package/dist/components/skeleton/index.js +0 -2
  240. package/dist/components/sortable/index.cjs +0 -27
  241. package/dist/components/sortable/index.d.cts +0 -50
  242. package/dist/components/sortable/index.d.ts +0 -50
  243. package/dist/components/sortable/index.js +0 -2
  244. package/dist/components/spinner/index.cjs +0 -11
  245. package/dist/components/spinner/index.d.cts +0 -7
  246. package/dist/components/spinner/index.d.ts +0 -7
  247. package/dist/components/spinner/index.js +0 -2
  248. package/dist/components/status/index.cjs +0 -19
  249. package/dist/components/status/index.d.cts +0 -25
  250. package/dist/components/status/index.d.ts +0 -25
  251. package/dist/components/status/index.js +0 -2
  252. package/dist/components/stepper/index.cjs +0 -124
  253. package/dist/components/stepper/index.d.cts +0 -164
  254. package/dist/components/stepper/index.d.ts +0 -164
  255. package/dist/components/stepper/index.js +0 -43
  256. package/dist/components/switch/index.cjs +0 -11
  257. package/dist/components/switch/index.d.cts +0 -19
  258. package/dist/components/switch/index.d.ts +0 -19
  259. package/dist/components/switch/index.js +0 -2
  260. package/dist/components/tabs/index.cjs +0 -23
  261. package/dist/components/tabs/index.d.cts +0 -17
  262. package/dist/components/tabs/index.d.ts +0 -17
  263. package/dist/components/tabs/index.js +0 -2
  264. package/dist/components/textarea/index.cjs +0 -11
  265. package/dist/components/textarea/index.d.cts +0 -9
  266. package/dist/components/textarea/index.d.ts +0 -9
  267. package/dist/components/textarea/index.js +0 -2
  268. package/dist/components/timeline/index.cjs +0 -45
  269. package/dist/components/timeline/index.d.cts +0 -63
  270. package/dist/components/timeline/index.d.ts +0 -63
  271. package/dist/components/timeline/index.js +0 -4
  272. package/dist/components/toaster/index.cjs +0 -56
  273. package/dist/components/toaster/index.d.cts +0 -8
  274. package/dist/components/toaster/index.d.ts +0 -8
  275. package/dist/components/toaster/index.js +0 -43
  276. package/dist/components/tooltip/index.cjs +0 -19
  277. package/dist/components/tooltip/index.d.cts +0 -12
  278. package/dist/components/tooltip/index.d.ts +0 -12
  279. package/dist/components/tooltip/index.js +0 -2
  280. package/dist/components/typing-text/index.cjs +0 -11
  281. package/dist/components/typing-text/index.d.cts +0 -41
  282. package/dist/components/typing-text/index.d.ts +0 -41
  283. package/dist/components/typing-text/index.js +0 -2
  284. package/dist/components/word-rotate/index.cjs +0 -11
  285. package/dist/components/word-rotate/index.d.cts +0 -30
  286. package/dist/components/word-rotate/index.d.ts +0 -30
  287. package/dist/components/word-rotate/index.js +0 -2
  288. package/dist/direction-CUOPDLCj.d.cts +0 -7
  289. package/dist/direction-CUOPDLCj.d.ts +0 -7
  290. package/dist/popover-trigger-Cf4PPj0z.d.cts +0 -14
  291. package/dist/popover-trigger-Cf4PPj0z.d.ts +0 -14
  292. package/dist/select-Bf6XQtt-.d.cts +0 -12
  293. package/dist/select-Bf6XQtt-.d.ts +0 -12
  294. package/dist/tooltip-content-DqtogPBq.d.cts +0 -8
  295. package/dist/tooltip-content-DqtogPBq.d.ts +0 -8
@@ -1,58 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import * as class_variance_authority_types from 'class-variance-authority/types';
5
- import '../../color-picker.types-GI7dq2Ig.cjs';
6
-
7
- type ButtonProps = React.ComponentProps<"button"> & {
8
- /**
9
- * Defines button full width
10
- */
11
- fullWidth?: boolean;
12
- /**
13
- * Defines button variant
14
- */
15
- variant?: ButtonVariantType;
16
- /**
17
- * Defines button size
18
- */
19
- size?: ButtonSizeType;
20
- /**
21
- * Defines button content
22
- */
23
- children?: React.ReactNode;
24
- /**
25
- * Disabled button
26
- */
27
- disabled?: boolean;
28
- /**
29
- * Defines left icon
30
- */
31
- startIcon?: React.ReactElement;
32
- /**
33
- * Defines right icon
34
- */
35
- endIcon?: React.ReactElement;
36
- /**
37
- * Defines is button is in loading state
38
- */
39
- loading?: boolean;
40
- /**
41
- * Defines is position of loading icon
42
- */
43
- loadingPosition?: "start" | "end" | "center";
44
- asChild?: boolean;
45
- };
46
- declare function Button({ asChild, variant, disabled, fullWidth, loadingPosition: loadingPositionProp, children, type, loading, size, endIcon, startIcon, className, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
47
-
48
- declare const buttonVariants: (props?: {
49
- variant?: "link" | "secondary" | "outline" | "error" | "default" | "ghost";
50
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg";
51
- fullWidth?: boolean;
52
- } & class_variance_authority_types.ClassProp) => string;
53
-
54
- type ButtonCvaProps = VariantProps<typeof buttonVariants>;
55
- type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
56
- type ButtonVariantType = NonNullable<ButtonCvaProps["variant"]>;
57
-
58
- export { Button, type ButtonProps, type ButtonSizeType, type ButtonVariantType };
@@ -1,58 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import * as class_variance_authority_types from 'class-variance-authority/types';
5
- import '../../color-picker.types-GI7dq2Ig.js';
6
-
7
- type ButtonProps = React.ComponentProps<"button"> & {
8
- /**
9
- * Defines button full width
10
- */
11
- fullWidth?: boolean;
12
- /**
13
- * Defines button variant
14
- */
15
- variant?: ButtonVariantType;
16
- /**
17
- * Defines button size
18
- */
19
- size?: ButtonSizeType;
20
- /**
21
- * Defines button content
22
- */
23
- children?: React.ReactNode;
24
- /**
25
- * Disabled button
26
- */
27
- disabled?: boolean;
28
- /**
29
- * Defines left icon
30
- */
31
- startIcon?: React.ReactElement;
32
- /**
33
- * Defines right icon
34
- */
35
- endIcon?: React.ReactElement;
36
- /**
37
- * Defines is button is in loading state
38
- */
39
- loading?: boolean;
40
- /**
41
- * Defines is position of loading icon
42
- */
43
- loadingPosition?: "start" | "end" | "center";
44
- asChild?: boolean;
45
- };
46
- declare function Button({ asChild, variant, disabled, fullWidth, loadingPosition: loadingPositionProp, children, type, loading, size, endIcon, startIcon, className, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
47
-
48
- declare const buttonVariants: (props?: {
49
- variant?: "link" | "secondary" | "outline" | "error" | "default" | "ghost";
50
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg";
51
- fullWidth?: boolean;
52
- } & class_variance_authority_types.ClassProp) => string;
53
-
54
- type ButtonCvaProps = VariantProps<typeof buttonVariants>;
55
- type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
56
- type ButtonVariantType = NonNullable<ButtonCvaProps["variant"]>;
57
-
58
- export { Button, type ButtonProps, type ButtonSizeType, type ButtonVariantType };
@@ -1,43 +0,0 @@
1
- export { Button } from '../../chunk-OIM2X2NK.js';
2
- import '../../chunk-WMGJCB7O.js';
3
- import '../../chunk-K5AURCK5.js';
4
- import '../../chunk-IWF52DDE.js';
5
- import '../../chunk-X5O7GP4S.js';
6
- import '../../chunk-OCOCENE6.js';
7
- import '../../chunk-OQCNPNPS.js';
8
- import '../../chunk-VK2FJ65F.js';
9
- import '../../chunk-U7XZJQ4O.js';
10
- import '../../chunk-M7NIRB3U.js';
11
- import '../../chunk-XKCLVPUC.js';
12
- import '../../chunk-H5NHGMSQ.js';
13
- import '../../chunk-X7WREEFD.js';
14
- import '../../chunk-BUJO4FB6.js';
15
- import '../../chunk-P5IUC7HJ.js';
16
- import '../../chunk-S3ZUFD6U.js';
17
- import '../../chunk-L2TRMQNN.js';
18
- import '../../chunk-YUMKV5TH.js';
19
- import '../../chunk-WCQ5WKCQ.js';
20
- import '../../chunk-IZU3KULT.js';
21
- import '../../chunk-PBEZZMAB.js';
22
- import '../../chunk-4TRADSTP.js';
23
- import '../../chunk-P4JIMFSL.js';
24
- import '../../chunk-BTSHACKG.js';
25
- import '../../chunk-OXZQGDTR.js';
26
- import '../../chunk-HNRVLRMN.js';
27
- import '../../chunk-3DP3VMPN.js';
28
- import '../../chunk-A72LE53B.js';
29
- import '../../chunk-I3RSTJP6.js';
30
- import '../../chunk-VT5GDGZJ.js';
31
- import '../../chunk-EOTQVIA5.js';
32
- import '../../chunk-U3QKV7I4.js';
33
- import '../../chunk-6BSR3O2J.js';
34
- import '../../chunk-5F2Y65JH.js';
35
- import '../../chunk-NXEZE7LG.js';
36
- import '../../chunk-3RK5PCIC.js';
37
- import '../../chunk-P4IL77YC.js';
38
- import '../../chunk-G24PWQKG.js';
39
- import '../../chunk-B7RHEMZH.js';
40
- import '../../chunk-5MV54MWS.js';
41
- import '../../chunk-5MJPZUTO.js';
42
- import '../../chunk-XTKD76O5.js';
43
- import '../../chunk-ZD2QRAOX.js';
@@ -1,35 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk2Y2ZCPNV_cjs = require('../../chunk-2Y2ZCPNV.cjs');
4
- require('../../chunk-H2BWO3SI.cjs');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "Card", {
9
- enumerable: true,
10
- get: function () { return chunk2Y2ZCPNV_cjs.Card; }
11
- });
12
- Object.defineProperty(exports, "CardAction", {
13
- enumerable: true,
14
- get: function () { return chunk2Y2ZCPNV_cjs.CardAction; }
15
- });
16
- Object.defineProperty(exports, "CardContent", {
17
- enumerable: true,
18
- get: function () { return chunk2Y2ZCPNV_cjs.CardContent; }
19
- });
20
- Object.defineProperty(exports, "CardDescription", {
21
- enumerable: true,
22
- get: function () { return chunk2Y2ZCPNV_cjs.CardDescription; }
23
- });
24
- Object.defineProperty(exports, "CardFooter", {
25
- enumerable: true,
26
- get: function () { return chunk2Y2ZCPNV_cjs.CardFooter; }
27
- });
28
- Object.defineProperty(exports, "CardHeader", {
29
- enumerable: true,
30
- get: function () { return chunk2Y2ZCPNV_cjs.CardHeader; }
31
- });
32
- Object.defineProperty(exports, "CardTitle", {
33
- enumerable: true,
34
- get: function () { return chunk2Y2ZCPNV_cjs.CardTitle; }
35
- });
@@ -1,25 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- type CardProps = React.ComponentProps<"div">;
5
- declare function Card({ className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
6
-
7
- type CardHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
8
- declare function CardHeader({ className, ...props }: CardHeaderProps): react_jsx_runtime.JSX.Element;
9
-
10
- type CardTitleProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
11
- declare function CardTitle({ className, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
12
-
13
- type CardDescriptionProps = React.ComponentProps<"div">;
14
- declare function CardDescription({ className, ...props }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
15
-
16
- type CardContentProps = React.ComponentProps<"div">;
17
- declare function CardContent({ className, ...props }: CardContentProps): react_jsx_runtime.JSX.Element;
18
-
19
- type CardFooterProps = React.ComponentProps<"div">;
20
- declare function CardFooter({ className, ...props }: CardFooterProps): react_jsx_runtime.JSX.Element;
21
-
22
- type CardActionProps = React.ComponentProps<"div">;
23
- declare function CardAction({ className, ...props }: CardActionProps): react_jsx_runtime.JSX.Element;
24
-
25
- export { Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps };
@@ -1,25 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- type CardProps = React.ComponentProps<"div">;
5
- declare function Card({ className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
6
-
7
- type CardHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
8
- declare function CardHeader({ className, ...props }: CardHeaderProps): react_jsx_runtime.JSX.Element;
9
-
10
- type CardTitleProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
11
- declare function CardTitle({ className, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
12
-
13
- type CardDescriptionProps = React.ComponentProps<"div">;
14
- declare function CardDescription({ className, ...props }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
15
-
16
- type CardContentProps = React.ComponentProps<"div">;
17
- declare function CardContent({ className, ...props }: CardContentProps): react_jsx_runtime.JSX.Element;
18
-
19
- type CardFooterProps = React.ComponentProps<"div">;
20
- declare function CardFooter({ className, ...props }: CardFooterProps): react_jsx_runtime.JSX.Element;
21
-
22
- type CardActionProps = React.ComponentProps<"div">;
23
- declare function CardAction({ className, ...props }: CardActionProps): react_jsx_runtime.JSX.Element;
24
-
25
- export { Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps };
@@ -1,2 +0,0 @@
1
- export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../../chunk-6BSR3O2J.js';
2
- import '../../chunk-ZD2QRAOX.js';
@@ -1,269 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkMFTNHVPZ_cjs = require('../../chunk-MFTNHVPZ.cjs');
4
- require('../../chunk-EUH466AL.cjs');
5
- require('../../chunk-DGWBE2Y3.cjs');
6
- require('../../chunk-GYXQUTWZ.cjs');
7
- require('../../chunk-7OD2NBSV.cjs');
8
- require('../../chunk-YEFLGE3L.cjs');
9
- require('../../chunk-NU5UQPBX.cjs');
10
- require('../../chunk-MNDQXDV4.cjs');
11
- require('../../chunk-A7SBXO2Y.cjs');
12
- require('../../chunk-UJX74PFK.cjs');
13
- require('../../chunk-6HX7ETL3.cjs');
14
- require('../../chunk-375QAB65.cjs');
15
- require('../../chunk-KTAIBRTH.cjs');
16
- require('../../chunk-CL2C6STG.cjs');
17
- require('../../chunk-3WSQRFUY.cjs');
18
- require('../../chunk-B4M7Q5KX.cjs');
19
- require('../../chunk-UNOMGKAZ.cjs');
20
- require('../../chunk-2WQJ36RD.cjs');
21
- require('../../chunk-RKFU4DS3.cjs');
22
- require('../../chunk-GEDBA3JU.cjs');
23
- require('../../chunk-TH44JYXB.cjs');
24
- require('../../chunk-XENOUBSI.cjs');
25
- require('../../chunk-USIW3VT5.cjs');
26
- require('../../chunk-VK5EX3OG.cjs');
27
- require('../../chunk-YBFG2IRJ.cjs');
28
- require('../../chunk-CXHDWIGF.cjs');
29
- require('../../chunk-HPICKLBZ.cjs');
30
- require('../../chunk-DUAM4RTP.cjs');
31
- require('../../chunk-S3ANEJJ7.cjs');
32
- require('../../chunk-6X26XC6P.cjs');
33
- require('../../chunk-OZSNSRLV.cjs');
34
- require('../../chunk-ZVF7J4EI.cjs');
35
- require('../../chunk-2Y2ZCPNV.cjs');
36
- require('../../chunk-HCHVDUI6.cjs');
37
- require('../../chunk-SHPJGB2L.cjs');
38
- require('../../chunk-ULEEQ723.cjs');
39
- require('../../chunk-F7NFSDOD.cjs');
40
- require('../../chunk-N4TYSZSU.cjs');
41
- require('../../chunk-X3ZT3KGX.cjs');
42
- require('../../chunk-3GNVQFCK.cjs');
43
- require('../../chunk-TMXVL5CV.cjs');
44
- require('../../chunk-4LNGZHF2.cjs');
45
- var chunkH2BWO3SI_cjs = require('../../chunk-H2BWO3SI.cjs');
46
- var React2 = require('react');
47
- var useEmblaCarousel = require('embla-carousel-react');
48
- var classVarianceAuthority = require('class-variance-authority');
49
- var jsxRuntime = require('react/jsx-runtime');
50
- var lucideReact = require('lucide-react');
51
-
52
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
53
-
54
- function _interopNamespace(e) {
55
- if (e && e.__esModule) return e;
56
- var n = Object.create(null);
57
- if (e) {
58
- Object.keys(e).forEach(function (k) {
59
- if (k !== 'default') {
60
- var d = Object.getOwnPropertyDescriptor(e, k);
61
- Object.defineProperty(n, k, d.get ? d : {
62
- enumerable: true,
63
- get: function () { return e[k]; }
64
- });
65
- }
66
- });
67
- }
68
- n.default = e;
69
- return Object.freeze(n);
70
- }
71
-
72
- var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
73
- var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
74
-
75
- var CarouselContext = React2__namespace.createContext(null);
76
- function useCarousel() {
77
- const context = React2__namespace.useContext(CarouselContext);
78
- if (!context) {
79
- throw new Error("useCarousel must be used within a <Carousel />");
80
- }
81
- return context;
82
- }
83
- var carouselVariants = classVarianceAuthority.cva("relative", {
84
- variants: {
85
- orientation: {
86
- horizontal: "",
87
- vertical: ""
88
- }
89
- },
90
- defaultVariants: {
91
- orientation: "horizontal"
92
- }
93
- });
94
- var carouselContentVariants = classVarianceAuthority.cva("flex", {
95
- variants: {
96
- orientation: {
97
- horizontal: "-ml-4",
98
- vertical: "-mt-4 flex-col"
99
- }
100
- },
101
- defaultVariants: {
102
- orientation: "horizontal"
103
- }
104
- });
105
- var carouselItemVariants = classVarianceAuthority.cva("min-w-0 shrink-0 grow-0 basis-full", {
106
- variants: {
107
- orientation: {
108
- horizontal: "pl-4",
109
- vertical: "pt-4"
110
- }
111
- },
112
- defaultVariants: {
113
- orientation: "horizontal"
114
- }
115
- });
116
- function Carousel({
117
- orientation = "horizontal",
118
- opts,
119
- setApi,
120
- plugins,
121
- className,
122
- children,
123
- ...props
124
- }) {
125
- const [carouselRef, api] = useEmblaCarousel__default.default(
126
- {
127
- ...opts,
128
- axis: orientation === "horizontal" ? "x" : "y"
129
- },
130
- plugins
131
- );
132
- const [canScrollPrev, setCanScrollPrev] = React2__namespace.useState(false);
133
- const [canScrollNext, setCanScrollNext] = React2__namespace.useState(false);
134
- const onSelect = React2__namespace.useCallback((api2) => {
135
- if (!api2) return;
136
- setCanScrollPrev(api2.canScrollPrev());
137
- setCanScrollNext(api2.canScrollNext());
138
- }, []);
139
- const scrollPrev = React2__namespace.useCallback(() => {
140
- api?.scrollPrev();
141
- }, [api]);
142
- const scrollNext = React2__namespace.useCallback(() => {
143
- api?.scrollNext();
144
- }, [api]);
145
- const handleKeyDown = React2__namespace.useCallback(
146
- (event) => {
147
- if (event.key === "ArrowLeft") {
148
- event.preventDefault();
149
- scrollPrev();
150
- } else if (event.key === "ArrowRight") {
151
- event.preventDefault();
152
- scrollNext();
153
- }
154
- },
155
- [scrollPrev, scrollNext]
156
- );
157
- React2__namespace.useEffect(() => {
158
- if (!api || !setApi) return;
159
- setApi(api);
160
- }, [api, setApi]);
161
- React2__namespace.useEffect(() => {
162
- if (!api) return;
163
- onSelect(api);
164
- api.on("reInit", onSelect);
165
- api.on("select", onSelect);
166
- return () => {
167
- api?.off("reInit", onSelect);
168
- api?.off("select", onSelect);
169
- };
170
- }, [api, onSelect]);
171
- return /* @__PURE__ */ jsxRuntime.jsx(
172
- CarouselContext.Provider,
173
- {
174
- value: {
175
- carouselRef,
176
- api,
177
- opts,
178
- orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
179
- scrollPrev,
180
- scrollNext,
181
- canScrollPrev,
182
- canScrollNext
183
- },
184
- children: /* @__PURE__ */ jsxRuntime.jsx(
185
- "div",
186
- {
187
- onKeyDownCapture: handleKeyDown,
188
- className: carouselVariants({ orientation, className }),
189
- role: "region",
190
- "aria-roledescription": "carousel",
191
- "data-slot": "carousel",
192
- ...props,
193
- children
194
- }
195
- )
196
- }
197
- );
198
- }
199
- function CarouselContent({ className, ...props }) {
200
- const { carouselRef, orientation } = useCarousel();
201
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: carouselRef, className: "overflow-hidden", "data-slot": "carousel-content", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: carouselContentVariants({ orientation, className }), ...props }) });
202
- }
203
- function CarouselItem({ className, ...props }) {
204
- const { orientation } = useCarousel();
205
- return /* @__PURE__ */ jsxRuntime.jsx(
206
- "div",
207
- {
208
- role: "group",
209
- "aria-roledescription": "slide",
210
- "data-slot": "carousel-item",
211
- className: carouselItemVariants({ orientation, className }),
212
- ...props
213
- }
214
- );
215
- }
216
- function CarouselPrevious({ className, variant = "outline", size = "icon", ...props }) {
217
- const { orientation, scrollPrev, canScrollPrev } = useCarousel();
218
- return /* @__PURE__ */ jsxRuntime.jsxs(
219
- chunkMFTNHVPZ_cjs.Button,
220
- {
221
- "data-slot": "carousel-previous",
222
- variant,
223
- size,
224
- className: chunkH2BWO3SI_cjs.cn(
225
- "absolute size-8 rounded-full",
226
- orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
227
- className
228
- ),
229
- disabled: !canScrollPrev,
230
- onClick: scrollPrev,
231
- ...props,
232
- children: [
233
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, {}),
234
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Previous slide" })
235
- ]
236
- }
237
- );
238
- }
239
- function CarouselNext({ className, variant = "outline", size = "icon", ...props }) {
240
- const { orientation, scrollNext, canScrollNext } = useCarousel();
241
- return /* @__PURE__ */ jsxRuntime.jsxs(
242
- chunkMFTNHVPZ_cjs.Button,
243
- {
244
- "data-slot": "carousel-next",
245
- variant,
246
- size,
247
- className: chunkH2BWO3SI_cjs.cn(
248
- "absolute size-8 rounded-full",
249
- orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
250
- className
251
- ),
252
- disabled: !canScrollNext,
253
- onClick: scrollNext,
254
- ...props,
255
- children: [
256
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowRight, {}),
257
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "Next slide" })
258
- ]
259
- }
260
- );
261
- }
262
-
263
- exports.Carousel = Carousel;
264
- exports.CarouselContent = CarouselContent;
265
- exports.CarouselContext = CarouselContext;
266
- exports.CarouselItem = CarouselItem;
267
- exports.CarouselNext = CarouselNext;
268
- exports.CarouselPrevious = CarouselPrevious;
269
- exports.useCarousel = useCarousel;
@@ -1,48 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
4
- import { Button } from '../button/index.cjs';
5
- import 'class-variance-authority';
6
- import 'class-variance-authority/types';
7
- import '../../color-picker.types-GI7dq2Ig.cjs';
8
-
9
- type CarouselApi = UseEmblaCarouselType[1];
10
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
11
- type CarouselOptions = UseCarouselParameters[0];
12
- type CarouselPlugin = UseCarouselParameters[1];
13
- type CarouselContextProps = {
14
- carouselRef: ReturnType<typeof useEmblaCarousel>[0];
15
- api: ReturnType<typeof useEmblaCarousel>[1];
16
- scrollPrev: () => void;
17
- scrollNext: () => void;
18
- canScrollPrev: boolean;
19
- canScrollNext: boolean;
20
- opts?: CarouselOptions;
21
- plugins?: CarouselPlugin;
22
- orientation?: "horizontal" | "vertical";
23
- setApi?: (api: CarouselApi) => void;
24
- };
25
- declare const CarouselContext: React.Context<CarouselContextProps>;
26
- declare function useCarousel(): CarouselContextProps;
27
-
28
- type CarouselProps = React.ComponentProps<"div"> & {
29
- opts?: CarouselOptions;
30
- plugins?: CarouselPlugin;
31
- orientation?: "horizontal" | "vertical";
32
- setApi?: (api: CarouselApi) => void;
33
- };
34
- declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: CarouselProps): react_jsx_runtime.JSX.Element;
35
-
36
- type CarouselContentProps = React.ComponentProps<"div">;
37
- declare function CarouselContent({ className, ...props }: CarouselContentProps): react_jsx_runtime.JSX.Element;
38
-
39
- type CarouselItemProps = React.ComponentProps<"div">;
40
- declare function CarouselItem({ className, ...props }: CarouselItemProps): react_jsx_runtime.JSX.Element;
41
-
42
- type CarouselPreviousProps = React.ComponentProps<typeof Button>;
43
- declare function CarouselPrevious({ className, variant, size, ...props }: CarouselPreviousProps): react_jsx_runtime.JSX.Element;
44
-
45
- type CarouselNextProps = React.ComponentProps<typeof Button>;
46
- declare function CarouselNext({ className, variant, size, ...props }: CarouselNextProps): react_jsx_runtime.JSX.Element;
47
-
48
- export { Carousel, type CarouselApi, CarouselContent, type CarouselContentProps, CarouselContext, type CarouselContextProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, type UseCarouselParameters, useCarousel };
@@ -1,48 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
4
- import { Button } from '../button/index.js';
5
- import 'class-variance-authority';
6
- import 'class-variance-authority/types';
7
- import '../../color-picker.types-GI7dq2Ig.js';
8
-
9
- type CarouselApi = UseEmblaCarouselType[1];
10
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
11
- type CarouselOptions = UseCarouselParameters[0];
12
- type CarouselPlugin = UseCarouselParameters[1];
13
- type CarouselContextProps = {
14
- carouselRef: ReturnType<typeof useEmblaCarousel>[0];
15
- api: ReturnType<typeof useEmblaCarousel>[1];
16
- scrollPrev: () => void;
17
- scrollNext: () => void;
18
- canScrollPrev: boolean;
19
- canScrollNext: boolean;
20
- opts?: CarouselOptions;
21
- plugins?: CarouselPlugin;
22
- orientation?: "horizontal" | "vertical";
23
- setApi?: (api: CarouselApi) => void;
24
- };
25
- declare const CarouselContext: React.Context<CarouselContextProps>;
26
- declare function useCarousel(): CarouselContextProps;
27
-
28
- type CarouselProps = React.ComponentProps<"div"> & {
29
- opts?: CarouselOptions;
30
- plugins?: CarouselPlugin;
31
- orientation?: "horizontal" | "vertical";
32
- setApi?: (api: CarouselApi) => void;
33
- };
34
- declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: CarouselProps): react_jsx_runtime.JSX.Element;
35
-
36
- type CarouselContentProps = React.ComponentProps<"div">;
37
- declare function CarouselContent({ className, ...props }: CarouselContentProps): react_jsx_runtime.JSX.Element;
38
-
39
- type CarouselItemProps = React.ComponentProps<"div">;
40
- declare function CarouselItem({ className, ...props }: CarouselItemProps): react_jsx_runtime.JSX.Element;
41
-
42
- type CarouselPreviousProps = React.ComponentProps<typeof Button>;
43
- declare function CarouselPrevious({ className, variant, size, ...props }: CarouselPreviousProps): react_jsx_runtime.JSX.Element;
44
-
45
- type CarouselNextProps = React.ComponentProps<typeof Button>;
46
- declare function CarouselNext({ className, variant, size, ...props }: CarouselNextProps): react_jsx_runtime.JSX.Element;
47
-
48
- export { Carousel, type CarouselApi, CarouselContent, type CarouselContentProps, CarouselContext, type CarouselContextProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, type UseCarouselParameters, useCarousel };