@zentauri-ui/zentauri-components 1.2.0 → 1.3.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 (324) hide show
  1. package/README.md +66 -38
  2. package/dist/accordion-base-qVomr7f_.d.mts +66 -0
  3. package/dist/accordion-base-qVomr7f_.d.ts +66 -0
  4. package/dist/avatar-base-s4dYg-24.d.mts +49 -0
  5. package/dist/avatar-base-s4dYg-24.d.ts +49 -0
  6. package/dist/card-base-CIGac8D_.d.mts +70 -0
  7. package/dist/card-base-CIGac8D_.d.ts +70 -0
  8. package/dist/chunk-2P3UU2J3.mjs +510 -0
  9. package/dist/chunk-2P3UU2J3.mjs.map +1 -0
  10. package/dist/chunk-2PQEXQVR.js +223 -0
  11. package/dist/chunk-2PQEXQVR.js.map +1 -0
  12. package/dist/chunk-3OR47XMY.js +273 -0
  13. package/dist/chunk-3OR47XMY.js.map +1 -0
  14. package/dist/chunk-4B7KGBQB.js +206 -0
  15. package/dist/chunk-4B7KGBQB.js.map +1 -0
  16. package/dist/chunk-5QB2KNZQ.js +148 -0
  17. package/dist/chunk-5QB2KNZQ.js.map +1 -0
  18. package/dist/chunk-6I7X5BF2.js +520 -0
  19. package/dist/chunk-6I7X5BF2.js.map +1 -0
  20. package/dist/chunk-7HL3A4YF.mjs +214 -0
  21. package/dist/chunk-7HL3A4YF.mjs.map +1 -0
  22. package/dist/chunk-AOEI4V3W.mjs +286 -0
  23. package/dist/chunk-AOEI4V3W.mjs.map +1 -0
  24. package/dist/chunk-BVXTOEBI.mjs +259 -0
  25. package/dist/chunk-BVXTOEBI.mjs.map +1 -0
  26. package/dist/chunk-C2FCPQTO.js +279 -0
  27. package/dist/chunk-C2FCPQTO.js.map +1 -0
  28. package/dist/chunk-E3DZNJAD.js +128 -0
  29. package/dist/chunk-E3DZNJAD.js.map +1 -0
  30. package/dist/chunk-FLILFCQE.mjs +197 -0
  31. package/dist/chunk-FLILFCQE.mjs.map +1 -0
  32. package/dist/chunk-IXDJ3IPG.mjs +315 -0
  33. package/dist/chunk-IXDJ3IPG.mjs.map +1 -0
  34. package/dist/chunk-JQ5TIJ4F.mjs +68 -0
  35. package/dist/chunk-JQ5TIJ4F.mjs.map +1 -0
  36. package/dist/chunk-LVUPECBT.mjs +217 -0
  37. package/dist/chunk-LVUPECBT.mjs.map +1 -0
  38. package/dist/chunk-N4NO3SYL.js +328 -0
  39. package/dist/chunk-N4NO3SYL.js.map +1 -0
  40. package/dist/chunk-OJ67PZ6N.js +175 -0
  41. package/dist/chunk-OJ67PZ6N.js.map +1 -0
  42. package/dist/chunk-P5HUBXUX.js +231 -0
  43. package/dist/chunk-P5HUBXUX.js.map +1 -0
  44. package/dist/chunk-PCK6LX3K.js +253 -0
  45. package/dist/chunk-PCK6LX3K.js.map +1 -0
  46. package/dist/chunk-PGH27VTL.mjs +316 -0
  47. package/dist/chunk-PGH27VTL.mjs.map +1 -0
  48. package/dist/chunk-QZKMFSH5.js +288 -0
  49. package/dist/chunk-QZKMFSH5.js.map +1 -0
  50. package/dist/chunk-RDSPHBHK.mjs +221 -0
  51. package/dist/chunk-RDSPHBHK.mjs.map +1 -0
  52. package/dist/chunk-U4YQCAXW.js +204 -0
  53. package/dist/chunk-U4YQCAXW.js.map +1 -0
  54. package/dist/chunk-UBFKTC2P.mjs +268 -0
  55. package/dist/chunk-UBFKTC2P.mjs.map +1 -0
  56. package/dist/chunk-UOFTZKMM.js +229 -0
  57. package/dist/chunk-UOFTZKMM.js.map +1 -0
  58. package/dist/chunk-UXGHUBNJ.mjs +240 -0
  59. package/dist/chunk-UXGHUBNJ.mjs.map +1 -0
  60. package/dist/chunk-W6PRMYUC.mjs +169 -0
  61. package/dist/chunk-W6PRMYUC.mjs.map +1 -0
  62. package/dist/chunk-WDCIZHXY.mjs +139 -0
  63. package/dist/chunk-WDCIZHXY.mjs.map +1 -0
  64. package/dist/chunk-WZKGRU3U.js +182 -0
  65. package/dist/chunk-WZKGRU3U.js.map +1 -0
  66. package/dist/chunk-X22LLJL6.js +71 -0
  67. package/dist/chunk-X22LLJL6.js.map +1 -0
  68. package/dist/chunk-XIXF7UVM.mjs +194 -0
  69. package/dist/chunk-XIXF7UVM.mjs.map +1 -0
  70. package/dist/chunk-XLAFQ24R.js +328 -0
  71. package/dist/chunk-XLAFQ24R.js.map +1 -0
  72. package/dist/chunk-XWM2S6VV.mjs +124 -0
  73. package/dist/chunk-XWM2S6VV.mjs.map +1 -0
  74. package/dist/chunk-YNCD6TKE.mjs +175 -0
  75. package/dist/chunk-YNCD6TKE.mjs.map +1 -0
  76. package/dist/progress-base-Cm1JODYA.d.mts +66 -0
  77. package/dist/progress-base-Cm1JODYA.d.ts +66 -0
  78. package/dist/types-C7N9UvRm.d.mts +38 -0
  79. package/dist/types-C7N9UvRm.d.ts +38 -0
  80. package/dist/types-CFpwSbpK.d.mts +27 -0
  81. package/dist/types-CFpwSbpK.d.ts +27 -0
  82. package/dist/types-CK_vNRIb.d.mts +63 -0
  83. package/dist/types-CK_vNRIb.d.ts +63 -0
  84. package/dist/types-Ca3t5aC_.d.mts +31 -0
  85. package/dist/types-Ca3t5aC_.d.ts +31 -0
  86. package/dist/types-Cn7IcgkH.d.mts +32 -0
  87. package/dist/types-Cn7IcgkH.d.ts +32 -0
  88. package/dist/types-CtFK7mFE.d.mts +34 -0
  89. package/dist/types-CtFK7mFE.d.ts +34 -0
  90. package/dist/types-DMkTQsWg.d.mts +46 -0
  91. package/dist/types-DMkTQsWg.d.ts +46 -0
  92. package/dist/types-DN400jNg.d.mts +28 -0
  93. package/dist/types-DN400jNg.d.ts +28 -0
  94. package/dist/types-vcZcRc6w.d.mts +24 -0
  95. package/dist/types-vcZcRc6w.d.ts +24 -0
  96. package/dist/types-zHcMUtKK.d.mts +42 -0
  97. package/dist/types-zHcMUtKK.d.ts +42 -0
  98. package/dist/ui/accordion/animated.d.mts +24 -0
  99. package/dist/ui/accordion/animated.d.ts +24 -0
  100. package/dist/ui/accordion/animated.js +67 -0
  101. package/dist/ui/accordion/animated.js.map +1 -0
  102. package/dist/ui/accordion/animated.mjs +56 -0
  103. package/dist/ui/accordion/animated.mjs.map +1 -0
  104. package/dist/ui/accordion.d.mts +9 -65
  105. package/dist/ui/accordion.d.ts +9 -65
  106. package/dist/ui/accordion.js +32 -288
  107. package/dist/ui/accordion.js.map +1 -1
  108. package/dist/ui/accordion.mjs +6 -281
  109. package/dist/ui/accordion.mjs.map +1 -1
  110. package/dist/ui/alert/animated.d.mts +18 -0
  111. package/dist/ui/alert/animated.d.ts +18 -0
  112. package/dist/ui/alert/animated.js +47 -0
  113. package/dist/ui/alert/animated.js.map +1 -0
  114. package/dist/ui/alert/animated.mjs +44 -0
  115. package/dist/ui/alert/animated.mjs.map +1 -0
  116. package/dist/ui/alert.d.mts +10 -40
  117. package/dist/ui/alert.d.ts +10 -40
  118. package/dist/ui/alert.js +36 -218
  119. package/dist/ui/alert.js.map +1 -1
  120. package/dist/ui/alert.mjs +7 -211
  121. package/dist/ui/alert.mjs.map +1 -1
  122. package/dist/ui/avatar/animated.d.mts +22 -0
  123. package/dist/ui/avatar/animated.d.ts +22 -0
  124. package/dist/ui/avatar/animated.js +51 -0
  125. package/dist/ui/avatar/animated.js.map +1 -0
  126. package/dist/ui/avatar/animated.mjs +37 -0
  127. package/dist/ui/avatar/animated.mjs.map +1 -0
  128. package/dist/ui/avatar.d.mts +7 -53
  129. package/dist/ui/avatar.d.ts +7 -53
  130. package/dist/ui/avatar.js +32 -210
  131. package/dist/ui/avatar.js.map +1 -1
  132. package/dist/ui/avatar.mjs +7 -204
  133. package/dist/ui/avatar.mjs.map +1 -1
  134. package/dist/ui/badge/animated.d.mts +22 -0
  135. package/dist/ui/badge/animated.d.ts +22 -0
  136. package/dist/ui/badge/animated.js +50 -0
  137. package/dist/ui/badge/animated.js.map +1 -0
  138. package/dist/ui/badge/animated.mjs +47 -0
  139. package/dist/ui/badge/animated.mjs.map +1 -0
  140. package/dist/ui/badge.d.mts +6 -30
  141. package/dist/ui/badge.d.ts +6 -30
  142. package/dist/ui/badge.js +11 -142
  143. package/dist/ui/badge.js.map +1 -1
  144. package/dist/ui/badge.mjs +6 -141
  145. package/dist/ui/badge.mjs.map +1 -1
  146. package/dist/ui/buttons/animated.d.mts +27 -0
  147. package/dist/ui/buttons/animated.d.ts +27 -0
  148. package/dist/ui/buttons/animated.js +101 -0
  149. package/dist/ui/buttons/animated.js.map +1 -0
  150. package/dist/ui/buttons/animated.mjs +98 -0
  151. package/dist/ui/buttons/animated.mjs.map +1 -0
  152. package/dist/ui/buttons.d.mts +5 -13
  153. package/dist/ui/buttons.d.ts +5 -13
  154. package/dist/ui/buttons.js +7 -45
  155. package/dist/ui/buttons.js.map +1 -1
  156. package/dist/ui/buttons.mjs +8 -45
  157. package/dist/ui/buttons.mjs.map +1 -1
  158. package/dist/ui/card/animated.d.mts +23 -0
  159. package/dist/ui/card/animated.d.ts +23 -0
  160. package/dist/ui/card/animated.js +72 -0
  161. package/dist/ui/card/animated.js.map +1 -0
  162. package/dist/ui/card/animated.mjs +50 -0
  163. package/dist/ui/card/animated.mjs.map +1 -0
  164. package/dist/ui/card.d.mts +6 -70
  165. package/dist/ui/card.d.ts +6 -70
  166. package/dist/ui/card.js +43 -245
  167. package/dist/ui/card.js.map +1 -1
  168. package/dist/ui/card.mjs +5 -235
  169. package/dist/ui/card.mjs.map +1 -1
  170. package/dist/ui/divider/animated.d.mts +19 -0
  171. package/dist/ui/divider/animated.d.ts +19 -0
  172. package/dist/ui/divider/animated.js +41 -0
  173. package/dist/ui/divider/animated.js.map +1 -0
  174. package/dist/ui/divider/animated.mjs +39 -0
  175. package/dist/ui/divider/animated.mjs.map +1 -0
  176. package/dist/ui/divider.d.mts +6 -32
  177. package/dist/ui/divider.d.ts +6 -32
  178. package/dist/ui/divider.js +19 -186
  179. package/dist/ui/divider.js.map +1 -1
  180. package/dist/ui/divider.mjs +6 -183
  181. package/dist/ui/divider.mjs.map +1 -1
  182. package/dist/ui/drawer/animated.d.mts +23 -0
  183. package/dist/ui/drawer/animated.d.ts +23 -0
  184. package/dist/ui/drawer/animated.js +143 -0
  185. package/dist/ui/drawer/animated.js.map +1 -0
  186. package/dist/ui/drawer/animated.mjs +113 -0
  187. package/dist/ui/drawer/animated.mjs.map +1 -0
  188. package/dist/ui/drawer.d.mts +10 -11
  189. package/dist/ui/drawer.d.ts +10 -11
  190. package/dist/ui/drawer.js +44 -357
  191. package/dist/ui/drawer.js.map +1 -1
  192. package/dist/ui/drawer.mjs +3 -349
  193. package/dist/ui/drawer.mjs.map +1 -1
  194. package/dist/ui/empty-state/animated.d.mts +24 -0
  195. package/dist/ui/empty-state/animated.d.ts +24 -0
  196. package/dist/ui/empty-state/animated.js +45 -0
  197. package/dist/ui/empty-state/animated.js.map +1 -0
  198. package/dist/ui/empty-state/animated.mjs +42 -0
  199. package/dist/ui/empty-state/animated.mjs.map +1 -0
  200. package/dist/ui/empty-state.d.mts +11 -32
  201. package/dist/ui/empty-state.d.ts +11 -32
  202. package/dist/ui/empty-state.js +35 -160
  203. package/dist/ui/empty-state.js.map +1 -1
  204. package/dist/ui/empty-state.mjs +5 -153
  205. package/dist/ui/empty-state.mjs.map +1 -1
  206. package/dist/ui/inputs/animated.d.mts +27 -0
  207. package/dist/ui/inputs/animated.d.ts +27 -0
  208. package/dist/ui/inputs/animated.js +141 -0
  209. package/dist/ui/inputs/animated.js.map +1 -0
  210. package/dist/ui/inputs/animated.mjs +138 -0
  211. package/dist/ui/inputs/animated.mjs.map +1 -0
  212. package/dist/ui/inputs.d.mts +7 -21
  213. package/dist/ui/inputs.d.ts +7 -21
  214. package/dist/ui/inputs.js +16 -331
  215. package/dist/ui/inputs.js.map +1 -1
  216. package/dist/ui/inputs.mjs +13 -329
  217. package/dist/ui/inputs.mjs.map +1 -1
  218. package/dist/ui/modal/animated.d.mts +21 -0
  219. package/dist/ui/modal/animated.d.ts +21 -0
  220. package/dist/ui/modal/animated.js +120 -0
  221. package/dist/ui/modal/animated.js.map +1 -0
  222. package/dist/ui/modal/animated.mjs +117 -0
  223. package/dist/ui/modal/animated.mjs.map +1 -0
  224. package/dist/ui/modal.d.mts +10 -48
  225. package/dist/ui/modal.d.ts +10 -48
  226. package/dist/ui/modal.js +47 -361
  227. package/dist/ui/modal.js.map +1 -1
  228. package/dist/ui/modal.mjs +9 -351
  229. package/dist/ui/modal.mjs.map +1 -1
  230. package/dist/ui/progress/animated.d.mts +41 -0
  231. package/dist/ui/progress/animated.d.ts +41 -0
  232. package/dist/ui/progress/animated.js +123 -0
  233. package/dist/ui/progress/animated.js.map +1 -0
  234. package/dist/ui/progress/animated.mjs +112 -0
  235. package/dist/ui/progress/animated.mjs.map +1 -0
  236. package/dist/ui/progress.d.mts +10 -58
  237. package/dist/ui/progress.d.ts +10 -58
  238. package/dist/ui/progress.js +35 -227
  239. package/dist/ui/progress.js.map +1 -1
  240. package/dist/ui/progress.mjs +10 -222
  241. package/dist/ui/progress.mjs.map +1 -1
  242. package/dist/ui/skeleton/animated.d.mts +56 -0
  243. package/dist/ui/skeleton/animated.d.ts +56 -0
  244. package/dist/ui/skeleton/animated.js +126 -0
  245. package/dist/ui/skeleton/animated.js.map +1 -0
  246. package/dist/ui/skeleton/animated.mjs +119 -0
  247. package/dist/ui/skeleton/animated.mjs.map +1 -0
  248. package/dist/ui/skeleton.d.mts +16 -77
  249. package/dist/ui/skeleton.d.ts +16 -77
  250. package/dist/ui/skeleton.js +35 -526
  251. package/dist/ui/skeleton.js.map +1 -1
  252. package/dist/ui/skeleton.mjs +2 -520
  253. package/dist/ui/skeleton.mjs.map +1 -1
  254. package/dist/ui/{spinner.d.mts → spinner/animated.d.mts} +1 -6
  255. package/dist/ui/{spinner.d.ts → spinner/animated.d.ts} +1 -6
  256. package/dist/ui/{spinner.js → spinner/animated.js} +3 -9
  257. package/dist/ui/spinner/animated.js.map +1 -0
  258. package/dist/ui/{spinner.mjs → spinner/animated.mjs} +4 -9
  259. package/dist/ui/spinner/animated.mjs.map +1 -0
  260. package/dist/ui/table/animated.d.mts +21 -0
  261. package/dist/ui/table/animated.d.ts +21 -0
  262. package/dist/ui/table/animated.js +50 -0
  263. package/dist/ui/table/animated.js.map +1 -0
  264. package/dist/ui/table/animated.mjs +24 -0
  265. package/dist/ui/table/animated.mjs.map +1 -0
  266. package/dist/ui/table.d.mts +17 -11
  267. package/dist/ui/table.d.ts +17 -11
  268. package/dist/ui/table.js +55 -278
  269. package/dist/ui/table.js.map +1 -1
  270. package/dist/ui/table.mjs +2 -269
  271. package/dist/ui/table.mjs.map +1 -1
  272. package/dist/ui/tabs/animated.d.mts +25 -0
  273. package/dist/ui/tabs/animated.d.ts +25 -0
  274. package/dist/ui/tabs/animated.js +83 -0
  275. package/dist/ui/tabs/animated.js.map +1 -0
  276. package/dist/ui/tabs/animated.mjs +79 -0
  277. package/dist/ui/tabs/animated.mjs.map +1 -0
  278. package/dist/ui/tabs.d.mts +7 -41
  279. package/dist/ui/tabs.d.ts +7 -41
  280. package/dist/ui/tabs.js +35 -261
  281. package/dist/ui/tabs.js.map +1 -1
  282. package/dist/ui/tabs.mjs +2 -256
  283. package/dist/ui/tabs.mjs.map +1 -1
  284. package/dist/ui/toast/animated.d.mts +23 -0
  285. package/dist/ui/toast/animated.d.ts +23 -0
  286. package/dist/ui/toast/animated.js +103 -0
  287. package/dist/ui/toast/animated.js.map +1 -0
  288. package/dist/ui/toast/animated.mjs +99 -0
  289. package/dist/ui/toast/animated.mjs.map +1 -0
  290. package/dist/ui/toast.d.mts +7 -52
  291. package/dist/ui/toast.d.ts +7 -52
  292. package/dist/ui/toast.js +47 -268
  293. package/dist/ui/toast.js.map +1 -1
  294. package/dist/ui/toast.mjs +2 -259
  295. package/dist/ui/toast.mjs.map +1 -1
  296. package/dist/ui/toggle/animated.d.mts +22 -0
  297. package/dist/ui/toggle/animated.d.ts +22 -0
  298. package/dist/ui/toggle/animated.js +88 -0
  299. package/dist/ui/toggle/animated.js.map +1 -0
  300. package/dist/ui/toggle/animated.mjs +85 -0
  301. package/dist/ui/toggle/animated.mjs.map +1 -0
  302. package/dist/ui/toggle.d.mts +6 -30
  303. package/dist/ui/toggle.d.ts +6 -30
  304. package/dist/ui/toggle.js +19 -83
  305. package/dist/ui/toggle.js.map +1 -1
  306. package/dist/ui/toggle.mjs +12 -80
  307. package/dist/ui/toggle.mjs.map +1 -1
  308. package/dist/ui/tooltip/animated.d.mts +17 -0
  309. package/dist/ui/tooltip/animated.d.ts +17 -0
  310. package/dist/ui/tooltip/animated.js +59 -0
  311. package/dist/ui/tooltip/animated.js.map +1 -0
  312. package/dist/ui/tooltip/animated.mjs +56 -0
  313. package/dist/ui/tooltip/animated.mjs.map +1 -0
  314. package/dist/ui/tooltip.d.mts +6 -33
  315. package/dist/ui/tooltip.d.ts +6 -33
  316. package/dist/ui/tooltip.js +26 -193
  317. package/dist/ui/tooltip.js.map +1 -1
  318. package/dist/ui/tooltip.mjs +2 -192
  319. package/dist/ui/tooltip.mjs.map +1 -1
  320. package/dist/variants-CYODHI8b.d.mts +10 -0
  321. package/dist/variants-CYODHI8b.d.ts +10 -0
  322. package/package.json +7 -4
  323. package/dist/ui/spinner.js.map +0 -1
  324. package/dist/ui/spinner.mjs.map +0 -1
@@ -0,0 +1,31 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentPropsWithRef, ReactNode, ElementType } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const dividerToneVariants: (props?: ({
6
+ appearance?: "default" | "muted" | "primary" | "destructive" | "ghost" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ declare const dividerVariants: (props?: ({
9
+ appearance?: "default" | "muted" | "primary" | "destructive" | "ghost" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
10
+ orientation?: "horizontal" | "vertical" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | null | undefined;
12
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+ declare const dividerLineVariants: (props?: ({
14
+ orientation?: "horizontal" | "vertical" | null | undefined;
15
+ size?: "sm" | "md" | "lg" | null | undefined;
16
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
17
+ declare const dividerLabelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
18
+
19
+ type DividerVariantProps = VariantProps<typeof dividerVariants>;
20
+ interface DividerBaseProps extends ComponentPropsWithRef<"div"> {
21
+ appearance?: DividerVariantProps["appearance"];
22
+ orientation?: DividerVariantProps["orientation"];
23
+ size?: DividerVariantProps["size"];
24
+ /** Optional label between divider lines. */
25
+ label?: ReactNode;
26
+ children?: ReactNode;
27
+ as?: ElementType;
28
+ }
29
+ type DividerProps = Omit<DividerBaseProps, "as">;
30
+
31
+ export { type DividerProps as D, type DividerBaseProps as a, type DividerVariantProps as b, dividerLineVariants as c, dividerLabelVariants as d, dividerToneVariants as e, dividerVariants as f };
@@ -0,0 +1,32 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type TooltipPosition = "top" | "bottom" | "left" | "right";
4
+ type TooltipContextType = {
5
+ open: boolean;
6
+ setOpen: (value: boolean) => void;
7
+ position: TooltipPosition;
8
+ delay: number;
9
+ scheduleDelayedOpen: () => void;
10
+ cancelDelayedOpen: () => void;
11
+ };
12
+ type TooltipProps = {
13
+ children: ReactNode;
14
+ defaultOpen?: boolean;
15
+ open?: boolean;
16
+ onOpenChange?: (open: boolean) => void;
17
+ position?: TooltipPosition;
18
+ delay?: number;
19
+ };
20
+ type TooltipTriggerProps = {
21
+ children: ReactNode;
22
+ className?: string;
23
+ };
24
+ type TooltipContentProps = {
25
+ children: ReactNode;
26
+ className?: string;
27
+ variant?: "default" | "outline" | "ghost" | "glass" | "emerald" | "indigo" | "purple" | "pink" | "rose" | "sky" | "teal" | "yellow" | "orange" | "green" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange";
28
+ size?: "sm" | "md" | "lg";
29
+ width?: "fit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
30
+ };
31
+
32
+ export type { TooltipProps as T, TooltipContentProps as a, TooltipContextType as b, TooltipTriggerProps as c, TooltipPosition as d };
@@ -0,0 +1,32 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type TooltipPosition = "top" | "bottom" | "left" | "right";
4
+ type TooltipContextType = {
5
+ open: boolean;
6
+ setOpen: (value: boolean) => void;
7
+ position: TooltipPosition;
8
+ delay: number;
9
+ scheduleDelayedOpen: () => void;
10
+ cancelDelayedOpen: () => void;
11
+ };
12
+ type TooltipProps = {
13
+ children: ReactNode;
14
+ defaultOpen?: boolean;
15
+ open?: boolean;
16
+ onOpenChange?: (open: boolean) => void;
17
+ position?: TooltipPosition;
18
+ delay?: number;
19
+ };
20
+ type TooltipTriggerProps = {
21
+ children: ReactNode;
22
+ className?: string;
23
+ };
24
+ type TooltipContentProps = {
25
+ children: ReactNode;
26
+ className?: string;
27
+ variant?: "default" | "outline" | "ghost" | "glass" | "emerald" | "indigo" | "purple" | "pink" | "rose" | "sky" | "teal" | "yellow" | "orange" | "green" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange";
28
+ size?: "sm" | "md" | "lg";
29
+ width?: "fit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
30
+ };
31
+
32
+ export type { TooltipProps as T, TooltipContentProps as a, TooltipContextType as b, TooltipTriggerProps as c, TooltipPosition as d };
@@ -0,0 +1,34 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentPropsWithRef, ElementType, ReactNode } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const alertVariants: (props?: ({
6
+ appearance?: "default" | "success" | "warning" | "error" | "info" | "ghost" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "gray" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ declare const alertTitleVariants: (props?: ({
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ declare const alertDescriptionVariants: (props?: ({
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
15
+
16
+ type AlertAnimation = "none" | "slide-down" | "fade" | "pop";
17
+ type AlertAppearance = VariantProps<typeof alertVariants>["appearance"];
18
+ type AlertSize = VariantProps<typeof alertVariants>["size"];
19
+ interface AlertBaseProps extends ComponentPropsWithRef<"div"> {
20
+ appearance?: AlertAppearance;
21
+ size?: AlertSize;
22
+ closable?: boolean;
23
+ onClose?: () => void;
24
+ closeLabel?: string;
25
+ triggerClassName?: string;
26
+ as?: ElementType;
27
+ }
28
+ type AlertSectionProps = {
29
+ className?: string;
30
+ children?: ReactNode;
31
+ };
32
+ type AlertProps = Omit<AlertBaseProps, "as">;
33
+
34
+ export { type AlertSectionProps as A, type AlertProps as a, type AlertAnimation as b, type AlertSize as c, alertDescriptionVariants as d, alertTitleVariants as e, alertVariants as f, type AlertBaseProps as g };
@@ -0,0 +1,34 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentPropsWithRef, ElementType, ReactNode } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const alertVariants: (props?: ({
6
+ appearance?: "default" | "success" | "warning" | "error" | "info" | "ghost" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "gray" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ declare const alertTitleVariants: (props?: ({
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ declare const alertDescriptionVariants: (props?: ({
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
15
+
16
+ type AlertAnimation = "none" | "slide-down" | "fade" | "pop";
17
+ type AlertAppearance = VariantProps<typeof alertVariants>["appearance"];
18
+ type AlertSize = VariantProps<typeof alertVariants>["size"];
19
+ interface AlertBaseProps extends ComponentPropsWithRef<"div"> {
20
+ appearance?: AlertAppearance;
21
+ size?: AlertSize;
22
+ closable?: boolean;
23
+ onClose?: () => void;
24
+ closeLabel?: string;
25
+ triggerClassName?: string;
26
+ as?: ElementType;
27
+ }
28
+ type AlertSectionProps = {
29
+ className?: string;
30
+ children?: ReactNode;
31
+ };
32
+ type AlertProps = Omit<AlertBaseProps, "as">;
33
+
34
+ export { type AlertSectionProps as A, type AlertProps as a, type AlertAnimation as b, type AlertSize as c, alertDescriptionVariants as d, alertTitleVariants as e, alertVariants as f, type AlertBaseProps as g };
@@ -0,0 +1,46 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ReactNode } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const toastViewportVariants: (props?: ({
6
+ position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ declare const toastRootVariants: (props?: ({
9
+ appearance?: "default" | "success" | "warning" | "error" | "info" | "ghost" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+
13
+ type ToastAnimation = "none" | "slide" | "fade";
14
+ type ToastViewportVariantProps = VariantProps<typeof toastViewportVariants>;
15
+ type ToastRootVariantProps = VariantProps<typeof toastRootVariants>;
16
+ type ToastPosition = NonNullable<ToastViewportVariantProps["position"]>;
17
+ type ToastInput = ToastRootVariantProps & {
18
+ id?: string;
19
+ title?: ReactNode;
20
+ description?: ReactNode;
21
+ durationMs?: number;
22
+ animation?: ToastAnimation;
23
+ };
24
+ type ToastContextValue = {
25
+ toast: (input: ToastInput) => string;
26
+ dismiss: (id: string) => void;
27
+ };
28
+ type ToastProviderProps = {
29
+ children?: ReactNode;
30
+ };
31
+ type ToastViewportProps = ToastViewportVariantProps & {
32
+ className?: string;
33
+ };
34
+ type ToastProps = ToastRootVariantProps & {
35
+ toastId: string;
36
+ animation?: ToastAnimation;
37
+ className?: string;
38
+ children?: ReactNode;
39
+ };
40
+ type ToastSectionProps = {
41
+ className?: string;
42
+ children?: ReactNode;
43
+ onClick?: () => void;
44
+ };
45
+
46
+ export { type ToastProps as T, type ToastSectionProps as a, type ToastProviderProps as b, type ToastViewportProps as c, type ToastInput as d, type ToastContextValue as e, type ToastAnimation as f, type ToastPosition as g, type ToastRootVariantProps as h, type ToastViewportVariantProps as i, toastViewportVariants as j, toastRootVariants as t };
@@ -0,0 +1,46 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ReactNode } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const toastViewportVariants: (props?: ({
6
+ position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ declare const toastRootVariants: (props?: ({
9
+ appearance?: "default" | "success" | "warning" | "error" | "info" | "ghost" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "amber" | "violet" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+
13
+ type ToastAnimation = "none" | "slide" | "fade";
14
+ type ToastViewportVariantProps = VariantProps<typeof toastViewportVariants>;
15
+ type ToastRootVariantProps = VariantProps<typeof toastRootVariants>;
16
+ type ToastPosition = NonNullable<ToastViewportVariantProps["position"]>;
17
+ type ToastInput = ToastRootVariantProps & {
18
+ id?: string;
19
+ title?: ReactNode;
20
+ description?: ReactNode;
21
+ durationMs?: number;
22
+ animation?: ToastAnimation;
23
+ };
24
+ type ToastContextValue = {
25
+ toast: (input: ToastInput) => string;
26
+ dismiss: (id: string) => void;
27
+ };
28
+ type ToastProviderProps = {
29
+ children?: ReactNode;
30
+ };
31
+ type ToastViewportProps = ToastViewportVariantProps & {
32
+ className?: string;
33
+ };
34
+ type ToastProps = ToastRootVariantProps & {
35
+ toastId: string;
36
+ animation?: ToastAnimation;
37
+ className?: string;
38
+ children?: ReactNode;
39
+ };
40
+ type ToastSectionProps = {
41
+ className?: string;
42
+ children?: ReactNode;
43
+ onClick?: () => void;
44
+ };
45
+
46
+ export { type ToastProps as T, type ToastSectionProps as a, type ToastProviderProps as b, type ToastViewportProps as c, type ToastInput as d, type ToastContextValue as e, type ToastAnimation as f, type ToastPosition as g, type ToastRootVariantProps as h, type ToastViewportVariantProps as i, toastViewportVariants as j, toastRootVariants as t };
@@ -0,0 +1,28 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentPropsWithRef, MouseEventHandler, ReactNode, ElementType } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const badgeVariants: (props?: ({
6
+ appearance?: "default" | "outline" | "ghost" | "secondary" | "destructive" | "glass" | "emerald" | "indigo" | "purple" | "pink" | "rose" | "sky" | "teal" | "yellow" | "orange" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
+ shape?: "pill" | "square" | "dot" | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ declare const badgeCloseButtonVariants: (props?: ({
11
+ size?: "sm" | "md" | "lg" | null | undefined;
12
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+
14
+ type BadgeVariantProps = VariantProps<typeof badgeVariants>;
15
+ interface BadgeBaseProps extends ComponentPropsWithRef<"span"> {
16
+ appearance?: BadgeVariantProps["appearance"];
17
+ size?: BadgeVariantProps["size"];
18
+ shape?: BadgeVariantProps["shape"];
19
+ closable?: boolean;
20
+ onClose?: MouseEventHandler<HTMLButtonElement>;
21
+ closeLabel?: string;
22
+ children?: ReactNode;
23
+ "aria-label"?: string;
24
+ as?: ElementType;
25
+ }
26
+ type BadgeProps = Omit<BadgeBaseProps, "as">;
27
+
28
+ export { type BadgeProps as B, type BadgeBaseProps as a, type BadgeVariantProps as b, badgeCloseButtonVariants as c, badgeVariants as d };
@@ -0,0 +1,28 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentPropsWithRef, MouseEventHandler, ReactNode, ElementType } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const badgeVariants: (props?: ({
6
+ appearance?: "default" | "outline" | "ghost" | "secondary" | "destructive" | "glass" | "emerald" | "indigo" | "purple" | "pink" | "rose" | "sky" | "teal" | "yellow" | "orange" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
+ shape?: "pill" | "square" | "dot" | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ declare const badgeCloseButtonVariants: (props?: ({
11
+ size?: "sm" | "md" | "lg" | null | undefined;
12
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+
14
+ type BadgeVariantProps = VariantProps<typeof badgeVariants>;
15
+ interface BadgeBaseProps extends ComponentPropsWithRef<"span"> {
16
+ appearance?: BadgeVariantProps["appearance"];
17
+ size?: BadgeVariantProps["size"];
18
+ shape?: BadgeVariantProps["shape"];
19
+ closable?: boolean;
20
+ onClose?: MouseEventHandler<HTMLButtonElement>;
21
+ closeLabel?: string;
22
+ children?: ReactNode;
23
+ "aria-label"?: string;
24
+ as?: ElementType;
25
+ }
26
+ type BadgeProps = Omit<BadgeBaseProps, "as">;
27
+
28
+ export { type BadgeProps as B, type BadgeBaseProps as a, type BadgeVariantProps as b, badgeCloseButtonVariants as c, badgeVariants as d };
@@ -0,0 +1,24 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ButtonHTMLAttributes, ReactNode, Ref } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const toggleTrackVariants: (props?: ({
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ appearance?: "default" | "success" | "destructive" | "neutral" | "indigo" | "purple" | "pink" | "orange" | "yellow" | "green" | "teal" | "cyan" | "lime" | "emerald" | "rose" | "slate" | "zinc" | "gray" | "stone" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ declare const toggleThumbVariants: (props?: ({
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+
13
+ type ToggleTrackVariantProps = VariantProps<typeof toggleTrackVariants>;
14
+ type ToggleThumbVariantProps = VariantProps<typeof toggleThumbVariants>;
15
+ type ToggleProps = ToggleTrackVariantProps & ToggleThumbVariantProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "role" | "ref"> & {
16
+ checked?: boolean;
17
+ defaultChecked?: boolean;
18
+ onCheckedChange?: (checked: boolean) => void;
19
+ "aria-label"?: string;
20
+ children?: ReactNode;
21
+ ref?: Ref<HTMLButtonElement>;
22
+ };
23
+
24
+ export { type ToggleProps as T, type ToggleThumbVariantProps as a, type ToggleTrackVariantProps as b, toggleTrackVariants as c, toggleThumbVariants as t };
@@ -0,0 +1,24 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ButtonHTMLAttributes, ReactNode, Ref } from 'react';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+
5
+ declare const toggleTrackVariants: (props?: ({
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ appearance?: "default" | "success" | "destructive" | "neutral" | "indigo" | "purple" | "pink" | "orange" | "yellow" | "green" | "teal" | "cyan" | "lime" | "emerald" | "rose" | "slate" | "zinc" | "gray" | "stone" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ declare const toggleThumbVariants: (props?: ({
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+
13
+ type ToggleTrackVariantProps = VariantProps<typeof toggleTrackVariants>;
14
+ type ToggleThumbVariantProps = VariantProps<typeof toggleThumbVariants>;
15
+ type ToggleProps = ToggleTrackVariantProps & ToggleThumbVariantProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "role" | "ref"> & {
16
+ checked?: boolean;
17
+ defaultChecked?: boolean;
18
+ onCheckedChange?: (checked: boolean) => void;
19
+ "aria-label"?: string;
20
+ children?: ReactNode;
21
+ ref?: Ref<HTMLButtonElement>;
22
+ };
23
+
24
+ export { type ToggleProps as T, type ToggleThumbVariantProps as a, type ToggleTrackVariantProps as b, toggleTrackVariants as c, toggleThumbVariants as t };
@@ -0,0 +1,42 @@
1
+ import { ReactNode, ElementType, HTMLAttributes } from 'react';
2
+
3
+ type TabsValue = string;
4
+ type TabsProps = {
5
+ value?: TabsValue;
6
+ defaultValue?: TabsValue;
7
+ onValueChange?: (value: TabsValue) => void;
8
+ orientation?: "horizontal" | "vertical";
9
+ variant?: "default" | "underline" | "pills";
10
+ size?: "sm" | "md" | "lg";
11
+ appearance?: "default" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange";
12
+ children: ReactNode;
13
+ className?: string;
14
+ };
15
+ type TabsListProps = {
16
+ children: ReactNode;
17
+ className?: string;
18
+ };
19
+ type TabsTriggerProps = {
20
+ value: TabsValue;
21
+ children: ReactNode;
22
+ disabled?: boolean;
23
+ className?: string;
24
+ };
25
+ type TabsContentProps = {
26
+ as?: ElementType;
27
+ value: TabsValue;
28
+ children: ReactNode;
29
+ className?: string;
30
+ } & Omit<HTMLAttributes<HTMLDivElement>, "children" | "className" | "role" | "id" | "aria-labelledby">;
31
+ type TabsContextType = {
32
+ value: TabsValue | undefined;
33
+ setValue: (value: TabsValue) => void;
34
+ orientation: "horizontal" | "vertical";
35
+ size?: "sm" | "md" | "lg";
36
+ variant?: "default" | "underline" | "pills";
37
+ appearance?: "default" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange";
38
+ tabTriggerId: (value: TabsValue) => string;
39
+ tabPanelId: (value: TabsValue) => string;
40
+ };
41
+
42
+ export type { TabsProps as T, TabsContentProps as a, TabsContextType as b, TabsListProps as c, TabsTriggerProps as d, TabsValue as e };
@@ -0,0 +1,42 @@
1
+ import { ReactNode, ElementType, HTMLAttributes } from 'react';
2
+
3
+ type TabsValue = string;
4
+ type TabsProps = {
5
+ value?: TabsValue;
6
+ defaultValue?: TabsValue;
7
+ onValueChange?: (value: TabsValue) => void;
8
+ orientation?: "horizontal" | "vertical";
9
+ variant?: "default" | "underline" | "pills";
10
+ size?: "sm" | "md" | "lg";
11
+ appearance?: "default" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange";
12
+ children: ReactNode;
13
+ className?: string;
14
+ };
15
+ type TabsListProps = {
16
+ children: ReactNode;
17
+ className?: string;
18
+ };
19
+ type TabsTriggerProps = {
20
+ value: TabsValue;
21
+ children: ReactNode;
22
+ disabled?: boolean;
23
+ className?: string;
24
+ };
25
+ type TabsContentProps = {
26
+ as?: ElementType;
27
+ value: TabsValue;
28
+ children: ReactNode;
29
+ className?: string;
30
+ } & Omit<HTMLAttributes<HTMLDivElement>, "children" | "className" | "role" | "id" | "aria-labelledby">;
31
+ type TabsContextType = {
32
+ value: TabsValue | undefined;
33
+ setValue: (value: TabsValue) => void;
34
+ orientation: "horizontal" | "vertical";
35
+ size?: "sm" | "md" | "lg";
36
+ variant?: "default" | "underline" | "pills";
37
+ appearance?: "default" | "sky" | "rose" | "purple" | "pink" | "orange" | "yellow" | "teal" | "indigo" | "emerald" | "gray" | "gradient-blue" | "gradient-green" | "gradient-red" | "gradient-yellow" | "gradient-purple" | "gradient-teal" | "gradient-indigo" | "gradient-pink" | "gradient-orange";
38
+ tabTriggerId: (value: TabsValue) => string;
39
+ tabPanelId: (value: TabsValue) => string;
40
+ };
41
+
42
+ export type { TabsProps as T, TabsContentProps as a, TabsContextType as b, TabsListProps as c, TabsTriggerProps as d, TabsValue as e };
@@ -0,0 +1,24 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { a as AccordionBaseProps, c as AccordionContentProps, f as AccordionTransition } from '../../accordion-base-qVomr7f_.mjs';
3
+ export { d as AccordionItem, g as AccordionTrigger, n as accordionContentTransitionPresets } from '../../accordion-base-qVomr7f_.mjs';
4
+ import 'framer-motion';
5
+ import 'class-variance-authority';
6
+ import 'react';
7
+ import 'class-variance-authority/types';
8
+
9
+ type AccordionAnimatedProps = AccordionBaseProps;
10
+ type AccordionContentAnimatedProps = AccordionContentProps & {
11
+ transitionVariant?: AccordionTransition;
12
+ };
13
+
14
+ declare function Accordion(props: AccordionAnimatedProps): react_jsx_runtime.JSX.Element;
15
+ declare namespace Accordion {
16
+ var displayName: string;
17
+ }
18
+
19
+ declare function AccordionContentAnimated({ className, children, transitionVariant, ref, }: AccordionContentAnimatedProps): react_jsx_runtime.JSX.Element | null;
20
+ declare namespace AccordionContentAnimated {
21
+ var displayName: string;
22
+ }
23
+
24
+ export { Accordion, type AccordionAnimatedProps, AccordionContentAnimated, type AccordionContentAnimatedProps };
@@ -0,0 +1,24 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { a as AccordionBaseProps, c as AccordionContentProps, f as AccordionTransition } from '../../accordion-base-qVomr7f_.js';
3
+ export { d as AccordionItem, g as AccordionTrigger, n as accordionContentTransitionPresets } from '../../accordion-base-qVomr7f_.js';
4
+ import 'framer-motion';
5
+ import 'class-variance-authority';
6
+ import 'react';
7
+ import 'class-variance-authority/types';
8
+
9
+ type AccordionAnimatedProps = AccordionBaseProps;
10
+ type AccordionContentAnimatedProps = AccordionContentProps & {
11
+ transitionVariant?: AccordionTransition;
12
+ };
13
+
14
+ declare function Accordion(props: AccordionAnimatedProps): react_jsx_runtime.JSX.Element;
15
+ declare namespace Accordion {
16
+ var displayName: string;
17
+ }
18
+
19
+ declare function AccordionContentAnimated({ className, children, transitionVariant, ref, }: AccordionContentAnimatedProps): react_jsx_runtime.JSX.Element | null;
20
+ declare namespace AccordionContentAnimated {
21
+ var displayName: string;
22
+ }
23
+
24
+ export { Accordion, type AccordionAnimatedProps, AccordionContentAnimated, type AccordionContentAnimatedProps };
@@ -0,0 +1,67 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var chunkC2FCPQTO_js = require('../../chunk-C2FCPQTO.js');
5
+ var chunkUOZYPWDZ_js = require('../../chunk-UOZYPWDZ.js');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+ var framerMotion = require('framer-motion');
8
+
9
+ function Accordion(props) {
10
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkC2FCPQTO_js.AccordionBase, { ...props });
11
+ }
12
+ Accordion.displayName = "Accordion";
13
+
14
+ // src/ui/accordion/animated/animations.ts
15
+ var accordionContentTransitionPresets = {
16
+ none: { duration: 0 },
17
+ default: { duration: 0.2, ease: [0.4, 0, 0.2, 1] },
18
+ smooth: { duration: 0.28, ease: [0.22, 1, 0.36, 1] },
19
+ slow: { duration: 0.38, ease: [0.4, 0, 0.2, 1] }
20
+ };
21
+ function AccordionContentAnimated({
22
+ className,
23
+ children,
24
+ transitionVariant = "default",
25
+ ref
26
+ }) {
27
+ const itemValue = chunkC2FCPQTO_js.useAccordionItemValue("AccordionContent");
28
+ const {
29
+ isOpen,
30
+ size
31
+ } = chunkC2FCPQTO_js.useAccordionContext("AccordionContent");
32
+ const open = isOpen(itemValue);
33
+ const panelId = `${itemValue}-panel`;
34
+ const transitionConfig = accordionContentTransitionPresets[transitionVariant];
35
+ const motionless = transitionVariant === "none";
36
+ return open ? /* @__PURE__ */ jsxRuntime.jsx(
37
+ framerMotion.motion.div,
38
+ {
39
+ ref,
40
+ id: panelId,
41
+ role: "region",
42
+ "data-slot": "accordion-content",
43
+ className: chunkUOZYPWDZ_js.cn(chunkC2FCPQTO_js.accordionContentVariants({ size }), className),
44
+ initial: motionless ? false : { opacity: 0 },
45
+ animate: motionless ? void 0 : { opacity: 1 },
46
+ exit: motionless ? void 0 : { opacity: 0 },
47
+ transition: transitionConfig,
48
+ children
49
+ },
50
+ itemValue
51
+ ) : null;
52
+ }
53
+ AccordionContentAnimated.displayName = "AccordionContentAnimated";
54
+
55
+ Object.defineProperty(exports, "AccordionItem", {
56
+ enumerable: true,
57
+ get: function () { return chunkC2FCPQTO_js.AccordionItem; }
58
+ });
59
+ Object.defineProperty(exports, "AccordionTrigger", {
60
+ enumerable: true,
61
+ get: function () { return chunkC2FCPQTO_js.AccordionTrigger; }
62
+ });
63
+ exports.Accordion = Accordion;
64
+ exports.AccordionContentAnimated = AccordionContentAnimated;
65
+ exports.accordionContentTransitionPresets = accordionContentTransitionPresets;
66
+ //# sourceMappingURL=animated.js.map
67
+ //# sourceMappingURL=animated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/ui/accordion/animated/accordion-root-animated.tsx","../../../src/ui/accordion/animated/animations.ts","../../../src/ui/accordion/animated/accordion-content-animated.tsx"],"names":["jsx","AccordionBase","useAccordionItemValue","useAccordionContext","motion","cn","accordionContentVariants"],"mappings":";;;;;;;AAKO,SAAS,UAAU,KAAA,EAA+B;AACvD,EAAA,uBAAOA,cAAA,CAACC,8BAAA,EAAA,EAAe,GAAG,KAAA,EAAO,CAAA;AACnC;AAEA,SAAA,CAAU,WAAA,GAAc,WAAA;;;ACCjB,IAAM,iCAAA,GAAgE;AAAA,EAC3E,IAAA,EAAM,EAAE,QAAA,EAAU,CAAA,EAAE;AAAA,EACpB,OAAA,EAAS,EAAE,QAAA,EAAU,GAAA,EAAK,IAAA,EAAM,CAAC,GAAA,EAAK,CAAA,EAAG,GAAA,EAAK,CAAC,CAAA,EAAE;AAAA,EACjD,MAAA,EAAQ,EAAE,QAAA,EAAU,IAAA,EAAM,IAAA,EAAM,CAAC,IAAA,EAAM,CAAA,EAAG,IAAA,EAAM,CAAC,CAAA,EAAE;AAAA,EACnD,IAAA,EAAM,EAAE,QAAA,EAAU,IAAA,EAAM,IAAA,EAAM,CAAC,GAAA,EAAK,CAAA,EAAG,GAAA,EAAK,CAAC,CAAA;AAC/C;ACJO,SAAS,wBAAA,CAAyB;AAAA,EACvC,SAAA;AAAA,EACA,QAAA;AAAA,EACA,iBAAA,GAAoB,SAAA;AAAA,EACpB;AACF,CAAA,EAAkC;AAChC,EAAA,MAAM,SAAA,GAAYC,uCAAsB,kBAAkB,CAAA;AAC1D,EAAA,MAAM;AAAA,IACJ,MAAA;AAAA,IACA;AAAA,GACF,GAAIC,qCAAoB,kBAAkB,CAAA;AAC1C,EAAA,MAAM,IAAA,GAAO,OAAO,SAAS,CAAA;AAC7B,EAAA,MAAM,OAAA,GAAU,GAAG,SAAS,CAAA,MAAA,CAAA;AAC5B,EAAA,MAAM,gBAAA,GAAmB,kCAAkC,iBAAiB,CAAA;AAC5E,EAAA,MAAM,aAAa,iBAAA,KAAsB,MAAA;AAEzC,EAAA,OAAO,uBACLH,cAAAA;AAAA,IAACI,mBAAA,CAAO,GAAA;AAAA,IAAP;AAAA,MAEC,GAAA;AAAA,MACA,EAAA,EAAI,OAAA;AAAA,MACJ,IAAA,EAAK,QAAA;AAAA,MACL,WAAA,EAAU,mBAAA;AAAA,MACV,WAAWC,mBAAA,CAAGC,yCAAA,CAAyB,EAAE,IAAA,EAAM,GAAG,SAAS,CAAA;AAAA,MAC3D,OAAA,EAAS,UAAA,GAAa,KAAA,GAAQ,EAAE,SAAS,CAAA,EAAE;AAAA,MAC3C,OAAA,EAAS,UAAA,GAAa,MAAA,GAAY,EAAE,SAAS,CAAA,EAAE;AAAA,MAC/C,IAAA,EAAM,UAAA,GAAa,MAAA,GAAY,EAAE,SAAS,CAAA,EAAE;AAAA,MAC5C,UAAA,EAAY,gBAAA;AAAA,MAEX;AAAA,KAAA;AAAA,IAXI;AAAA,GAYP,GACE,IAAA;AACN;AAEA,wBAAA,CAAyB,WAAA,GAAc,0BAAA","file":"animated.js","sourcesContent":["\"use client\";\n\nimport { AccordionBase } from \"../accordion-base\";\nimport type { AccordionAnimatedProps } from \"./types\";\n\nexport function Accordion(props: AccordionAnimatedProps) {\n return <AccordionBase {...props} />;\n}\n\nAccordion.displayName = \"Accordion\";\n","import type { Transition } from \"framer-motion\";\n\n/** Easing and duration presets for accordion panel open/close (opacity only). */\nexport type AccordionTransition = \"none\" | \"default\" | \"smooth\" | \"slow\";\n\nexport type AccordionTransitionPresets = Record<\n AccordionTransition,\n Transition\n>;\n\nexport const accordionContentTransitionPresets: AccordionTransitionPresets = {\n none: { duration: 0 },\n default: { duration: 0.2, ease: [0.4, 0, 0.2, 1] },\n smooth: { duration: 0.28, ease: [0.22, 1, 0.36, 1] },\n slow: { duration: 0.38, ease: [0.4, 0, 0.2, 1] },\n};\n","\"use client\";\n\nimport { motion } from \"framer-motion\";\n\nimport { cn } from \"../../../lib/utils\";\n\nimport { accordionContentTransitionPresets } from \"./animations\";\nimport { useAccordionContext, useAccordionItemValue } from \"../accordion-base\";\nimport { accordionContentVariants } from \"../variants\";\nimport { AccordionContentAnimatedProps } from \"./types\";\n\nexport function AccordionContentAnimated({\n className,\n children,\n transitionVariant = \"default\",\n ref,\n}: AccordionContentAnimatedProps) {\n const itemValue = useAccordionItemValue(\"AccordionContent\");\n const {\n isOpen,\n size,\n } = useAccordionContext(\"AccordionContent\");\n const open = isOpen(itemValue);\n const panelId = `${itemValue}-panel`;\n const transitionConfig = accordionContentTransitionPresets[transitionVariant];\n const motionless = transitionVariant === \"none\";\n\n return open ? (\n <motion.div\n key={itemValue}\n ref={ref}\n id={panelId}\n role=\"region\"\n data-slot=\"accordion-content\"\n className={cn(accordionContentVariants({ size }), className)}\n initial={motionless ? false : { opacity: 0 }}\n animate={motionless ? undefined : { opacity: 1 }}\n exit={motionless ? undefined : { opacity: 0 }}\n transition={transitionConfig}\n >\n {children}\n </motion.div>\n ) : null;\n}\n\nAccordionContentAnimated.displayName = \"AccordionContentAnimated\";\n"]}