@zentauri-ui/zentauri-components 1.4.62 → 1.4.64

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 (529) hide show
  1. package/README.md +73 -73
  2. package/dist/{chunk-OXS6UJUG.mjs → chunk-2BAMNRAL.mjs} +22 -22
  3. package/dist/chunk-2BAMNRAL.mjs.map +1 -0
  4. package/dist/{chunk-JE3PD5ZA.js → chunk-2VUMVDR3.js} +8 -8
  5. package/dist/{chunk-JE3PD5ZA.js.map → chunk-2VUMVDR3.js.map} +1 -1
  6. package/dist/{chunk-DFEZH7TC.mjs → chunk-4D54YOL6.mjs} +2 -2
  7. package/dist/{chunk-DFEZH7TC.mjs.map → chunk-4D54YOL6.mjs.map} +1 -1
  8. package/dist/{chunk-J56L4ZQ3.mjs → chunk-5TV7EL3H.mjs} +11 -11
  9. package/dist/{chunk-J56L4ZQ3.mjs.map → chunk-5TV7EL3H.mjs.map} +1 -1
  10. package/dist/{chunk-BSWYZTYK.js → chunk-7DCFVPWN.js} +2 -2
  11. package/dist/chunk-7DCFVPWN.js.map +1 -0
  12. package/dist/{chunk-FGGYDAX3.js → chunk-7TLKLMBM.js} +8 -8
  13. package/dist/{chunk-FGGYDAX3.js.map → chunk-7TLKLMBM.js.map} +1 -1
  14. package/dist/{chunk-2P3UU2J3.mjs → chunk-A6KMZ5ZS.mjs} +12 -12
  15. package/dist/chunk-A6KMZ5ZS.mjs.map +1 -0
  16. package/dist/{chunk-U4YQCAXW.js → chunk-AD2LA3XN.js} +18 -18
  17. package/dist/chunk-AD2LA3XN.js.map +1 -0
  18. package/dist/{chunk-4U6FOCFK.js → chunk-AUGLZ3AN.js} +31 -31
  19. package/dist/chunk-AUGLZ3AN.js.map +1 -0
  20. package/dist/{chunk-OJ67PZ6N.js → chunk-BCZIYH53.js} +8 -8
  21. package/dist/{chunk-OJ67PZ6N.js.map → chunk-BCZIYH53.js.map} +1 -1
  22. package/dist/{chunk-UBFKTC2P.mjs → chunk-C5L465FW.mjs} +12 -12
  23. package/dist/chunk-C5L465FW.mjs.map +1 -0
  24. package/dist/{chunk-VSKL5LOB.js → chunk-E4FZY7O2.js} +13 -22
  25. package/dist/chunk-E4FZY7O2.js.map +1 -0
  26. package/dist/{chunk-LVUPECBT.mjs → chunk-FQBMIZH2.mjs} +12 -12
  27. package/dist/chunk-FQBMIZH2.mjs.map +1 -0
  28. package/dist/{chunk-4ANBTJ5G.mjs → chunk-G3LEYBRV.mjs} +3 -3
  29. package/dist/{chunk-4ANBTJ5G.mjs.map → chunk-G3LEYBRV.mjs.map} +1 -1
  30. package/dist/{chunk-UP6S75V5.js → chunk-GBWGVNDA.js} +2 -2
  31. package/dist/chunk-GBWGVNDA.js.map +1 -0
  32. package/dist/{chunk-EQSSYK27.mjs → chunk-I6GR234Z.mjs} +12 -12
  33. package/dist/chunk-I6GR234Z.mjs.map +1 -0
  34. package/dist/{chunk-2PJF7DLJ.mjs → chunk-INMNX3HQ.mjs} +12 -12
  35. package/dist/{chunk-2PJF7DLJ.mjs.map → chunk-INMNX3HQ.mjs.map} +1 -1
  36. package/dist/{chunk-JF3FKUUP.mjs → chunk-JBAUEGYD.mjs} +22 -22
  37. package/dist/chunk-JBAUEGYD.mjs.map +1 -0
  38. package/dist/{chunk-MQZB5EPD.js → chunk-JUDMPOCI.js} +14 -14
  39. package/dist/chunk-JUDMPOCI.js.map +1 -0
  40. package/dist/{chunk-4E66ICIR.mjs → chunk-K6YI4FJO.mjs} +2 -2
  41. package/dist/chunk-K6YI4FJO.mjs.map +1 -0
  42. package/dist/{chunk-WP7GYBRI.js → chunk-KC5LEZ6J.js} +2 -2
  43. package/dist/chunk-KC5LEZ6J.js.map +1 -0
  44. package/dist/{chunk-OG2WM5YK.mjs → chunk-LN77JJTY.mjs} +4 -13
  45. package/dist/chunk-LN77JJTY.mjs.map +1 -0
  46. package/dist/{chunk-Y4EDWZKH.js → chunk-MCOQHXRW.js} +13 -13
  47. package/dist/chunk-MCOQHXRW.js.map +1 -0
  48. package/dist/{chunk-FLILFCQE.mjs → chunk-MTLLJFUI.mjs} +7 -8
  49. package/dist/chunk-MTLLJFUI.mjs.map +1 -0
  50. package/dist/{chunk-6I7X5BF2.js → chunk-N2OAI2HN.js} +18 -18
  51. package/dist/chunk-N2OAI2HN.js.map +1 -0
  52. package/dist/{chunk-ZNDHS5OK.js → chunk-OB4KJZK2.js} +11 -11
  53. package/dist/{chunk-ZNDHS5OK.js.map → chunk-OB4KJZK2.js.map} +1 -1
  54. package/dist/{chunk-PFOV3U7W.js → chunk-OLEMP2HL.js} +18 -18
  55. package/dist/{chunk-PFOV3U7W.js.map → chunk-OLEMP2HL.js.map} +1 -1
  56. package/dist/{chunk-THCNTPPL.js → chunk-PWL5WD34.js} +16 -16
  57. package/dist/{chunk-THCNTPPL.js.map → chunk-PWL5WD34.js.map} +1 -1
  58. package/dist/{chunk-NX3IHMT7.js → chunk-Q5B44QW7.js} +30 -30
  59. package/dist/chunk-Q5B44QW7.js.map +1 -0
  60. package/dist/{chunk-FT2LMA66.mjs → chunk-QADZK5R7.mjs} +2 -2
  61. package/dist/chunk-QADZK5R7.mjs.map +1 -0
  62. package/dist/{chunk-45FCOQ63.mjs → chunk-QZTEFGZF.mjs} +3 -3
  63. package/dist/{chunk-45FCOQ63.mjs.map → chunk-QZTEFGZF.mjs.map} +1 -1
  64. package/dist/{chunk-UOFTZKMM.js → chunk-S7WKFNPT.js} +18 -18
  65. package/dist/chunk-S7WKFNPT.js.map +1 -0
  66. package/dist/{chunk-XIXF7UVM.mjs → chunk-TINHLHCN.mjs} +12 -12
  67. package/dist/chunk-TINHLHCN.mjs.map +1 -0
  68. package/dist/{chunk-IK75NHRX.mjs → chunk-TJUNN2PT.mjs} +12 -12
  69. package/dist/{chunk-IK75NHRX.mjs.map → chunk-TJUNN2PT.mjs.map} +1 -1
  70. package/dist/{chunk-4B7KGBQB.js → chunk-UWA23DUC.js} +12 -13
  71. package/dist/chunk-UWA23DUC.js.map +1 -0
  72. package/dist/{chunk-CY5BQKRZ.mjs → chunk-VXDEPZKH.mjs} +2 -2
  73. package/dist/chunk-VXDEPZKH.mjs.map +1 -0
  74. package/dist/{chunk-C2FCPQTO.js → chunk-Y745GQR2.js} +16 -16
  75. package/dist/chunk-Y745GQR2.js.map +1 -0
  76. package/dist/{chunk-TZ2JVWTZ.mjs → chunk-YNBJAFI2.mjs} +3 -3
  77. package/dist/{chunk-TZ2JVWTZ.mjs.map → chunk-YNBJAFI2.mjs.map} +1 -1
  78. package/dist/{chunk-V2IWLR4O.js → chunk-YTRGRHEB.js} +9 -9
  79. package/dist/{chunk-V2IWLR4O.js.map → chunk-YTRGRHEB.js.map} +1 -1
  80. package/dist/{chunk-Y4IFVO46.mjs → chunk-ZBBFOMSJ.mjs} +12 -12
  81. package/dist/chunk-ZBBFOMSJ.mjs.map +1 -0
  82. package/dist/{chunk-UOZYPWDZ.js → chunk-ZS5756ZC.js} +2 -2
  83. package/dist/{chunk-UOZYPWDZ.js.map → chunk-ZS5756ZC.js.map} +1 -1
  84. package/dist/{chunk-W6PRMYUC.mjs → chunk-ZYZJ74XB.mjs} +3 -3
  85. package/dist/{chunk-W6PRMYUC.mjs.map → chunk-ZYZJ74XB.mjs.map} +1 -1
  86. package/dist/hooks/index.d.ts +2 -2
  87. package/dist/hooks/index.d.ts.map +1 -1
  88. package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -1
  89. package/dist/hooks/useClickOutside.js +2 -2
  90. package/dist/hooks/useClickOutside.mjs +1 -1
  91. package/dist/hooks/useClipboard/useClipboard.d.ts.map +1 -1
  92. package/dist/hooks/useClipboard.js.map +1 -1
  93. package/dist/hooks/useClipboard.mjs.map +1 -1
  94. package/dist/hooks/useFocusManagement/useFocusManagement.d.ts.map +1 -1
  95. package/dist/hooks/useFocusManagement.js +2 -2
  96. package/dist/hooks/useFocusManagement.mjs +1 -1
  97. package/dist/hooks/useLocalStorage/index.d.ts +1 -1
  98. package/dist/hooks/useLocalStorage/index.d.ts.map +1 -1
  99. package/dist/hooks/useLocalStorage.js +1 -3
  100. package/dist/hooks/useLocalStorage.js.map +1 -1
  101. package/dist/hooks/useLocalStorage.mjs +1 -3
  102. package/dist/hooks/useLocalStorage.mjs.map +1 -1
  103. package/dist/hooks/useMediaQuery/useMediaQuery.d.ts.map +1 -1
  104. package/dist/hooks/useMediaQuery.js +2 -2
  105. package/dist/hooks/useMediaQuery.mjs +1 -1
  106. package/dist/hooks/usePagination.js +4 -4
  107. package/dist/hooks/usePagination.mjs +2 -2
  108. package/dist/hooks/usePrefersColorScheme.js +2 -2
  109. package/dist/hooks/usePrefersColorScheme.mjs +1 -1
  110. package/dist/hooks/usePrefersReducedMotion.js +2 -2
  111. package/dist/hooks/usePrefersReducedMotion.mjs +1 -1
  112. package/dist/hooks/useResizeObserver/index.d.ts +1 -1
  113. package/dist/hooks/useResizeObserver/index.d.ts.map +1 -1
  114. package/dist/hooks/useSessionStorage/useSessionStorage.d.ts.map +1 -1
  115. package/dist/hooks/useSessionStorage.js.map +1 -1
  116. package/dist/hooks/useSessionStorage.mjs.map +1 -1
  117. package/dist/hooks/useThrottledCallback/useThrottledCallback.d.ts.map +1 -1
  118. package/dist/hooks/useThrottledCallback.js.map +1 -1
  119. package/dist/hooks/useThrottledCallback.mjs.map +1 -1
  120. package/dist/hooks/useWindowSize/useWindowSize.d.ts.map +1 -1
  121. package/dist/hooks/useWindowSize.js +4 -1
  122. package/dist/hooks/useWindowSize.js.map +1 -1
  123. package/dist/hooks/useWindowSize.mjs +4 -1
  124. package/dist/hooks/useWindowSize.mjs.map +1 -1
  125. package/dist/hooks/utils.js +5 -5
  126. package/dist/hooks/utils.mjs +1 -1
  127. package/dist/lib/utils.d.ts.map +1 -1
  128. package/dist/ui/accordion/accordion.d.ts.map +1 -1
  129. package/dist/ui/accordion/animated/accordion-content-animated.d.ts.map +1 -1
  130. package/dist/ui/accordion/animated/index.d.ts +1 -1
  131. package/dist/ui/accordion/animated/index.d.ts.map +1 -1
  132. package/dist/ui/accordion/animated/types.d.ts.map +1 -1
  133. package/dist/ui/accordion/animated.js +8 -11
  134. package/dist/ui/accordion/animated.js.map +1 -1
  135. package/dist/ui/accordion/animated.mjs +4 -7
  136. package/dist/ui/accordion/animated.mjs.map +1 -1
  137. package/dist/ui/accordion.js +10 -10
  138. package/dist/ui/accordion.js.map +1 -1
  139. package/dist/ui/accordion.mjs +3 -3
  140. package/dist/ui/accordion.mjs.map +1 -1
  141. package/dist/ui/alert/alert-base.d.ts.map +1 -1
  142. package/dist/ui/alert/alert.d.ts.map +1 -1
  143. package/dist/ui/alert/animated/index.d.ts.map +1 -1
  144. package/dist/ui/alert/animated.js +3 -3
  145. package/dist/ui/alert/animated.mjs +2 -2
  146. package/dist/ui/alert/types.d.ts.map +1 -1
  147. package/dist/ui/alert.js +11 -11
  148. package/dist/ui/alert.js.map +1 -1
  149. package/dist/ui/alert.mjs +3 -3
  150. package/dist/ui/alert.mjs.map +1 -1
  151. package/dist/ui/avatar/animated/index.d.ts +1 -1
  152. package/dist/ui/avatar/animated/index.d.ts.map +1 -1
  153. package/dist/ui/avatar/animated.js +6 -6
  154. package/dist/ui/avatar/animated.mjs +3 -3
  155. package/dist/ui/avatar/avatar-base.d.ts.map +1 -1
  156. package/dist/ui/avatar/avatar.d.ts.map +1 -1
  157. package/dist/ui/avatar/variants.d.ts.map +1 -1
  158. package/dist/ui/avatar.js +10 -10
  159. package/dist/ui/avatar.js.map +1 -1
  160. package/dist/ui/avatar.mjs +3 -3
  161. package/dist/ui/avatar.mjs.map +1 -1
  162. package/dist/ui/badge/animated/index.d.ts +1 -1
  163. package/dist/ui/badge/animated/index.d.ts.map +1 -1
  164. package/dist/ui/badge/animated/types.d.ts.map +1 -1
  165. package/dist/ui/badge/animated.js +3 -3
  166. package/dist/ui/badge/animated.mjs +2 -2
  167. package/dist/ui/badge/variants.d.ts +9 -9
  168. package/dist/ui/badge/variants.d.ts.map +1 -1
  169. package/dist/ui/badge.js +5 -5
  170. package/dist/ui/badge.mjs +3 -3
  171. package/dist/ui/breadcrumb/breadcrumb.d.ts.map +1 -1
  172. package/dist/ui/breadcrumb/types.d.ts.map +1 -1
  173. package/dist/ui/breadcrumb/variants.d.ts.map +1 -1
  174. package/dist/ui/breadcrumb.js +47 -43
  175. package/dist/ui/breadcrumb.js.map +1 -1
  176. package/dist/ui/breadcrumb.mjs +43 -39
  177. package/dist/ui/breadcrumb.mjs.map +1 -1
  178. package/dist/ui/buttons/animated/index.d.ts +1 -1
  179. package/dist/ui/buttons/animated/index.d.ts.map +1 -1
  180. package/dist/ui/buttons/animated/types.d.ts.map +1 -1
  181. package/dist/ui/buttons/animated.js +4 -4
  182. package/dist/ui/buttons/animated.mjs +2 -2
  183. package/dist/ui/buttons/types.d.ts.map +1 -1
  184. package/dist/ui/buttons.js +5 -5
  185. package/dist/ui/buttons.mjs +3 -3
  186. package/dist/ui/card/animated.js +8 -8
  187. package/dist/ui/card/animated.mjs +3 -3
  188. package/dist/ui/card/card-base.d.ts.map +1 -1
  189. package/dist/ui/card/card.d.ts.map +1 -1
  190. package/dist/ui/card/index.d.ts +2 -2
  191. package/dist/ui/card/index.d.ts.map +1 -1
  192. package/dist/ui/card.js +13 -13
  193. package/dist/ui/card.js.map +1 -1
  194. package/dist/ui/card.mjs +3 -3
  195. package/dist/ui/card.mjs.map +1 -1
  196. package/dist/ui/divider/animated/index.d.ts +1 -1
  197. package/dist/ui/divider/animated/index.d.ts.map +1 -1
  198. package/dist/ui/divider/animated/types.d.ts.map +1 -1
  199. package/dist/ui/divider/animated.js +3 -3
  200. package/dist/ui/divider/animated.mjs +2 -2
  201. package/dist/ui/divider/divider-base.d.ts.map +1 -1
  202. package/dist/ui/divider.js +7 -7
  203. package/dist/ui/divider.mjs +3 -3
  204. package/dist/ui/drawer/animated/drawer-content-animated.d.ts.map +1 -1
  205. package/dist/ui/drawer/animated/index.d.ts +1 -1
  206. package/dist/ui/drawer/animated/index.d.ts.map +1 -1
  207. package/dist/ui/drawer/animated.js +15 -15
  208. package/dist/ui/drawer/animated.js.map +1 -1
  209. package/dist/ui/drawer/animated.mjs +4 -4
  210. package/dist/ui/drawer/animated.mjs.map +1 -1
  211. package/dist/ui/drawer/types.d.ts.map +1 -1
  212. package/dist/ui/drawer.js +13 -13
  213. package/dist/ui/drawer.mjs +3 -3
  214. package/dist/ui/dropdown/dropdown.d.ts.map +1 -1
  215. package/dist/ui/dropdown.js +24 -24
  216. package/dist/ui/dropdown.js.map +1 -1
  217. package/dist/ui/dropdown.mjs +20 -20
  218. package/dist/ui/dropdown.mjs.map +1 -1
  219. package/dist/ui/empty-state/animated/empty-state-animated.d.ts.map +1 -1
  220. package/dist/ui/empty-state/animated/index.d.ts +2 -2
  221. package/dist/ui/empty-state/animated/index.d.ts.map +1 -1
  222. package/dist/ui/empty-state/animated.js +3 -3
  223. package/dist/ui/empty-state/animated.js.map +1 -1
  224. package/dist/ui/empty-state/animated.mjs +2 -2
  225. package/dist/ui/empty-state/animated.mjs.map +1 -1
  226. package/dist/ui/empty-state/empty-state-base.d.ts.map +1 -1
  227. package/dist/ui/empty-state/index.d.ts +1 -1
  228. package/dist/ui/empty-state/index.d.ts.map +1 -1
  229. package/dist/ui/empty-state.js +11 -11
  230. package/dist/ui/empty-state.mjs +3 -3
  231. package/dist/ui/file-upload/file-upload.d.ts.map +1 -1
  232. package/dist/ui/file-upload/variants.d.ts.map +1 -1
  233. package/dist/ui/file-upload.js +3 -3
  234. package/dist/ui/file-upload.js.map +1 -1
  235. package/dist/ui/file-upload.mjs +1 -1
  236. package/dist/ui/file-upload.mjs.map +1 -1
  237. package/dist/ui/inputs/animated/index.d.ts +1 -1
  238. package/dist/ui/inputs/animated/index.d.ts.map +1 -1
  239. package/dist/ui/inputs/animated.js +3 -3
  240. package/dist/ui/inputs/animated.mjs +1 -1
  241. package/dist/ui/inputs/types.d.ts.map +1 -1
  242. package/dist/ui/inputs.js +3 -3
  243. package/dist/ui/inputs.mjs +1 -1
  244. package/dist/ui/modal/animated/index.d.ts +1 -1
  245. package/dist/ui/modal/animated/index.d.ts.map +1 -1
  246. package/dist/ui/modal/animated.js +8 -8
  247. package/dist/ui/modal/animated.mjs +3 -3
  248. package/dist/ui/modal/index.d.ts +1 -1
  249. package/dist/ui/modal/index.d.ts.map +1 -1
  250. package/dist/ui/modal/modal-base.d.ts.map +1 -1
  251. package/dist/ui/modal/types.d.ts.map +1 -1
  252. package/dist/ui/modal.js +14 -14
  253. package/dist/ui/modal.js.map +1 -1
  254. package/dist/ui/modal.mjs +4 -4
  255. package/dist/ui/modal.mjs.map +1 -1
  256. package/dist/ui/pagination.js +23 -23
  257. package/dist/ui/pagination.js.map +1 -1
  258. package/dist/ui/pagination.mjs +13 -13
  259. package/dist/ui/pagination.mjs.map +1 -1
  260. package/dist/ui/progress/animated/progress-animated.d.ts.map +1 -1
  261. package/dist/ui/progress/animated.js +11 -11
  262. package/dist/ui/progress/animated.js.map +1 -1
  263. package/dist/ui/progress/animated.mjs +3 -3
  264. package/dist/ui/progress/animated.mjs.map +1 -1
  265. package/dist/ui/progress/index.d.ts +2 -2
  266. package/dist/ui/progress/index.d.ts.map +1 -1
  267. package/dist/ui/progress/progress-base.d.ts.map +1 -1
  268. package/dist/ui/progress/progress.d.ts.map +1 -1
  269. package/dist/ui/progress.js +10 -15
  270. package/dist/ui/progress.js.map +1 -1
  271. package/dist/ui/progress.mjs +4 -9
  272. package/dist/ui/progress.mjs.map +1 -1
  273. package/dist/ui/search/search-bar.d.ts.map +1 -1
  274. package/dist/ui/search/search-suggestion-list.d.ts.map +1 -1
  275. package/dist/ui/search/search-suggestion-utils.d.ts.map +1 -1
  276. package/dist/ui/search.js +13 -7
  277. package/dist/ui/search.js.map +1 -1
  278. package/dist/ui/search.mjs +9 -3
  279. package/dist/ui/search.mjs.map +1 -1
  280. package/dist/ui/select/select.d.ts.map +1 -1
  281. package/dist/ui/select/variants.d.ts.map +1 -1
  282. package/dist/ui/select.js +33 -33
  283. package/dist/ui/select.js.map +1 -1
  284. package/dist/ui/select.mjs +28 -28
  285. package/dist/ui/select.mjs.map +1 -1
  286. package/dist/ui/skeleton/animated/skeleton-animated.d.ts.map +1 -1
  287. package/dist/ui/skeleton/animated/types.d.ts.map +1 -1
  288. package/dist/ui/skeleton/animated.js +34 -10
  289. package/dist/ui/skeleton/animated.js.map +1 -1
  290. package/dist/ui/skeleton/animated.mjs +29 -5
  291. package/dist/ui/skeleton/animated.mjs.map +1 -1
  292. package/dist/ui/skeleton.js +10 -10
  293. package/dist/ui/skeleton.mjs +2 -2
  294. package/dist/ui/slider.js +10 -10
  295. package/dist/ui/slider.js.map +1 -1
  296. package/dist/ui/slider.mjs +2 -2
  297. package/dist/ui/slider.mjs.map +1 -1
  298. package/dist/ui/spinner/animated/spinner.d.ts.map +1 -1
  299. package/dist/ui/spinner/animated.js +8 -8
  300. package/dist/ui/spinner/animated.js.map +1 -1
  301. package/dist/ui/spinner/animated.mjs +1 -1
  302. package/dist/ui/spinner/animated.mjs.map +1 -1
  303. package/dist/ui/stepper/stepper.d.ts.map +1 -1
  304. package/dist/ui/stepper/types.d.ts.map +1 -1
  305. package/dist/ui/stepper/variants.d.ts.map +1 -1
  306. package/dist/ui/stepper.js +6 -9
  307. package/dist/ui/stepper.js.map +1 -1
  308. package/dist/ui/stepper.mjs +2 -5
  309. package/dist/ui/stepper.mjs.map +1 -1
  310. package/dist/ui/table/animated/index.d.ts +2 -2
  311. package/dist/ui/table/animated/index.d.ts.map +1 -1
  312. package/dist/ui/table/animated.js +9 -9
  313. package/dist/ui/table/animated.mjs +3 -3
  314. package/dist/ui/table/table-base.d.ts.map +1 -1
  315. package/dist/ui/table.js +15 -15
  316. package/dist/ui/table.mjs +2 -2
  317. package/dist/ui/tabs/animated/animations.d.ts.map +1 -1
  318. package/dist/ui/tabs/animated/index.d.ts +1 -1
  319. package/dist/ui/tabs/animated/index.d.ts.map +1 -1
  320. package/dist/ui/tabs/animated/types.d.ts.map +1 -1
  321. package/dist/ui/tabs/animated.js +4 -4
  322. package/dist/ui/tabs/animated.js.map +1 -1
  323. package/dist/ui/tabs/animated.mjs +2 -2
  324. package/dist/ui/tabs/animated.mjs.map +1 -1
  325. package/dist/ui/tabs/index.d.ts +1 -1
  326. package/dist/ui/tabs/index.d.ts.map +1 -1
  327. package/dist/ui/tabs/tabs.d.ts +1 -1
  328. package/dist/ui/tabs/tabs.d.ts.map +1 -1
  329. package/dist/ui/tabs.js +10 -10
  330. package/dist/ui/tabs.mjs +2 -2
  331. package/dist/ui/toast/animated/toast-animated.d.ts.map +1 -1
  332. package/dist/ui/toast/animated.js +12 -10
  333. package/dist/ui/toast/animated.js.map +1 -1
  334. package/dist/ui/toast/animated.mjs +5 -3
  335. package/dist/ui/toast/animated.mjs.map +1 -1
  336. package/dist/ui/toast/types.d.ts.map +1 -1
  337. package/dist/ui/toast.js +13 -13
  338. package/dist/ui/toast.mjs +2 -2
  339. package/dist/ui/toggle/animated/index.d.ts +2 -2
  340. package/dist/ui/toggle/animated/index.d.ts.map +1 -1
  341. package/dist/ui/toggle/animated/types.d.ts.map +1 -1
  342. package/dist/ui/toggle/animated.js +3 -3
  343. package/dist/ui/toggle/animated.mjs +1 -1
  344. package/dist/ui/toggle/index.d.ts +1 -1
  345. package/dist/ui/toggle/index.d.ts.map +1 -1
  346. package/dist/ui/toggle/toggle-base.d.ts.map +1 -1
  347. package/dist/ui/toggle.js +3 -3
  348. package/dist/ui/toggle.js.map +1 -1
  349. package/dist/ui/toggle.mjs +1 -1
  350. package/dist/ui/toggle.mjs.map +1 -1
  351. package/dist/ui/tooltip/animated/animations.d.ts.map +1 -1
  352. package/dist/ui/tooltip/animated/types.d.ts.map +1 -1
  353. package/dist/ui/tooltip/animated.js +5 -5
  354. package/dist/ui/tooltip/animated.js.map +1 -1
  355. package/dist/ui/tooltip/animated.mjs +2 -2
  356. package/dist/ui/tooltip/animated.mjs.map +1 -1
  357. package/dist/ui/tooltip/tooltip-base.d.ts.map +1 -1
  358. package/dist/ui/tooltip/variants.d.ts.map +1 -1
  359. package/dist/ui/tooltip.js +8 -8
  360. package/dist/ui/tooltip.mjs +2 -2
  361. package/dist/ui/typography/blockquote-base.d.ts.map +1 -1
  362. package/dist/ui/typography/code-block-base.d.ts.map +1 -1
  363. package/dist/ui/typography/heading-base.d.ts.map +1 -1
  364. package/dist/ui/typography/list-base.d.ts.map +1 -1
  365. package/dist/ui/typography/types.d.ts.map +1 -1
  366. package/dist/ui/typography/variants.d.ts.map +1 -1
  367. package/dist/ui/typography.js +12 -34
  368. package/dist/ui/typography.js.map +1 -1
  369. package/dist/ui/typography.mjs +4 -26
  370. package/dist/ui/typography.mjs.map +1 -1
  371. package/package.json +1 -1
  372. package/src/hooks/index.ts +8 -2
  373. package/src/hooks/useClickOutside/useClickOutside.ts +1 -4
  374. package/src/hooks/useClipboard/useClipboard.test.ts +3 -1
  375. package/src/hooks/useClipboard/useClipboard.ts +1 -2
  376. package/src/hooks/useDisclosure/useDisclosure.test.ts +1 -2
  377. package/src/hooks/useDocumentTitle/useDocumentTitle.test.ts +1 -3
  378. package/src/hooks/useFocusManagement/useFocusManagement.ts +8 -9
  379. package/src/hooks/useInView/useInView.test.ts +6 -1
  380. package/src/hooks/useLocalStorage/index.ts +1 -4
  381. package/src/hooks/useLocalStorage/useLocalStorage.test.ts +8 -20
  382. package/src/hooks/useLocalStorage/useLocalStorage.ts +4 -4
  383. package/src/hooks/useMediaQuery/useMediaQuery.ts +1 -4
  384. package/src/hooks/usePrefersReducedMotion/usePrefersReducedMotion.test.ts +3 -1
  385. package/src/hooks/useResizeObserver/index.ts +1 -4
  386. package/src/hooks/useSessionStorage/useSessionStorage.test.ts +2 -6
  387. package/src/hooks/useSessionStorage/useSessionStorage.ts +4 -2
  388. package/src/hooks/useThrottledCallback/useThrottledCallback.ts +4 -3
  389. package/src/hooks/useWindowSize/useWindowSize.ts +4 -1
  390. package/src/lib/utils.ts +3 -3
  391. package/src/ui/accordion/accordion.tsx +6 -1
  392. package/src/ui/accordion/animated/accordion-content-animated.tsx +1 -4
  393. package/src/ui/accordion/animated/index.ts +4 -1
  394. package/src/ui/accordion/animated/types.ts +6 -2
  395. package/src/ui/accordion/variants.ts +9 -9
  396. package/src/ui/alert/alert-base.tsx +6 -1
  397. package/src/ui/alert/alert.tsx +2 -2
  398. package/src/ui/alert/animated/index.ts +2 -2
  399. package/src/ui/alert/animated/types.ts +1 -1
  400. package/src/ui/alert/types.ts +1 -3
  401. package/src/ui/alert/variants.ts +9 -9
  402. package/src/ui/avatar/animated/index.ts +6 -2
  403. package/src/ui/avatar/avatar-base.tsx +2 -7
  404. package/src/ui/avatar/avatar.tsx +6 -1
  405. package/src/ui/avatar/variants.ts +23 -11
  406. package/src/ui/badge/animated/index.ts +6 -2
  407. package/src/ui/badge/animated/types.ts +1 -2
  408. package/src/ui/badge/variants.ts +9 -11
  409. package/src/ui/breadcrumb/breadcrumb.tsx +10 -2
  410. package/src/ui/breadcrumb/types.ts +20 -9
  411. package/src/ui/breadcrumb/variants.ts +34 -38
  412. package/src/ui/buttons/animated/index.ts +7 -1
  413. package/src/ui/buttons/animated/types.ts +0 -1
  414. package/src/ui/buttons/button.test.tsx +1 -1
  415. package/src/ui/buttons/types.ts +4 -5
  416. package/src/ui/buttons/variants.ts +9 -9
  417. package/src/ui/card/animated/types.ts +0 -1
  418. package/src/ui/card/card-base.tsx +1 -6
  419. package/src/ui/card/card.test.tsx +7 -3
  420. package/src/ui/card/card.tsx +1 -3
  421. package/src/ui/card/index.ts +7 -3
  422. package/src/ui/card/types.ts +1 -1
  423. package/src/ui/card/variants.ts +9 -9
  424. package/src/ui/divider/animated/index.ts +5 -1
  425. package/src/ui/divider/animated/types.ts +4 -2
  426. package/src/ui/divider/divider-base.tsx +0 -1
  427. package/src/ui/drawer/animated/drawer-content-animated.tsx +2 -6
  428. package/src/ui/drawer/animated/index.ts +6 -1
  429. package/src/ui/drawer/types.ts +11 -3
  430. package/src/ui/drawer/variants.ts +18 -18
  431. package/src/ui/dropdown/dropdown.tsx +8 -1
  432. package/src/ui/dropdown/variants.ts +18 -18
  433. package/src/ui/empty-state/animated/empty-state-animated.tsx +2 -4
  434. package/src/ui/empty-state/animated/index.ts +8 -5
  435. package/src/ui/empty-state/empty-state-base.tsx +5 -1
  436. package/src/ui/empty-state/index.ts +7 -1
  437. package/src/ui/file-upload/file-upload.tsx +3 -7
  438. package/src/ui/file-upload/variants.ts +18 -9
  439. package/src/ui/inputs/animated/index.ts +7 -1
  440. package/src/ui/inputs/input.test.tsx +5 -1
  441. package/src/ui/inputs/types.ts +4 -1
  442. package/src/ui/modal/animated/index.ts +6 -1
  443. package/src/ui/modal/index.ts +1 -1
  444. package/src/ui/modal/modal-base.tsx +0 -1
  445. package/src/ui/modal/modal.test.tsx +9 -7
  446. package/src/ui/modal/modal.tsx +1 -1
  447. package/src/ui/modal/types.ts +10 -2
  448. package/src/ui/modal/variants.ts +18 -18
  449. package/src/ui/pagination/variants.ts +9 -9
  450. package/src/ui/progress/animated/progress-animated.tsx +1 -2
  451. package/src/ui/progress/animated/types.ts +1 -1
  452. package/src/ui/progress/index.ts +12 -2
  453. package/src/ui/progress/progress-base.tsx +2 -2
  454. package/src/ui/progress/progress.test.tsx +1 -3
  455. package/src/ui/progress/progress.tsx +2 -6
  456. package/src/ui/search/filter-search-suggestions.test.ts +46 -12
  457. package/src/ui/search/filter-search-suggestions.ts +3 -3
  458. package/src/ui/search/search-bar.tsx +22 -27
  459. package/src/ui/search/search-suggestion-list.tsx +14 -5
  460. package/src/ui/search/search-suggestion-utils.ts +4 -1
  461. package/src/ui/select/select.tsx +1 -2
  462. package/src/ui/select/variants.ts +66 -65
  463. package/src/ui/skeleton/animated/skeleton-animated.tsx +25 -4
  464. package/src/ui/skeleton/animated/types.ts +0 -1
  465. package/src/ui/skeleton/skeleton-base.tsx +3 -3
  466. package/src/ui/skeleton/variants.ts +9 -9
  467. package/src/ui/slider/slider.test.tsx +3 -13
  468. package/src/ui/slider/types.ts +1 -1
  469. package/src/ui/slider/variants.ts +1 -1
  470. package/src/ui/spinner/animated/spinner.tsx +2 -3
  471. package/src/ui/stepper/stepper.test.tsx +3 -3
  472. package/src/ui/stepper/stepper.tsx +1 -6
  473. package/src/ui/stepper/types.ts +4 -2
  474. package/src/ui/stepper/variants.ts +30 -15
  475. package/src/ui/table/animated/index.ts +6 -4
  476. package/src/ui/table/table-base.tsx +1 -6
  477. package/src/ui/tabs/animated/animations.ts +5 -1
  478. package/src/ui/tabs/animated/index.ts +7 -1
  479. package/src/ui/tabs/animated/types.ts +3 -3
  480. package/src/ui/tabs/index.ts +8 -1
  481. package/src/ui/tabs/tabs.tsx +8 -1
  482. package/src/ui/tabs/variants.ts +9 -9
  483. package/src/ui/toast/animated/toast-animated.tsx +3 -1
  484. package/src/ui/toast/animated/types.ts +1 -1
  485. package/src/ui/toast/types.ts +3 -1
  486. package/src/ui/toast/variants.ts +9 -9
  487. package/src/ui/toggle/animated/index.ts +7 -4
  488. package/src/ui/toggle/animated/types.ts +4 -2
  489. package/src/ui/toggle/index.ts +5 -1
  490. package/src/ui/toggle/toggle-base.tsx +4 -5
  491. package/src/ui/tooltip/animated/animations.ts +0 -1
  492. package/src/ui/tooltip/animated/types.ts +0 -1
  493. package/src/ui/tooltip/tooltip-base.tsx +1 -2
  494. package/src/ui/tooltip/variants.ts +9 -11
  495. package/src/ui/typography/blockquote-base.tsx +1 -8
  496. package/src/ui/typography/code-block-base.tsx +19 -24
  497. package/src/ui/typography/heading-base.tsx +35 -38
  498. package/src/ui/typography/inline-code-base.tsx +15 -15
  499. package/src/ui/typography/list-base.tsx +1 -9
  500. package/src/ui/typography/text-base.tsx +32 -32
  501. package/src/ui/typography/types.ts +4 -17
  502. package/src/ui/typography/typography.test.tsx +3 -1
  503. package/src/ui/typography/variants.ts +16 -8
  504. package/dist/chunk-2P3UU2J3.mjs.map +0 -1
  505. package/dist/chunk-4B7KGBQB.js.map +0 -1
  506. package/dist/chunk-4E66ICIR.mjs.map +0 -1
  507. package/dist/chunk-4U6FOCFK.js.map +0 -1
  508. package/dist/chunk-6I7X5BF2.js.map +0 -1
  509. package/dist/chunk-BSWYZTYK.js.map +0 -1
  510. package/dist/chunk-C2FCPQTO.js.map +0 -1
  511. package/dist/chunk-CY5BQKRZ.mjs.map +0 -1
  512. package/dist/chunk-EQSSYK27.mjs.map +0 -1
  513. package/dist/chunk-FLILFCQE.mjs.map +0 -1
  514. package/dist/chunk-FT2LMA66.mjs.map +0 -1
  515. package/dist/chunk-JF3FKUUP.mjs.map +0 -1
  516. package/dist/chunk-LVUPECBT.mjs.map +0 -1
  517. package/dist/chunk-MQZB5EPD.js.map +0 -1
  518. package/dist/chunk-NX3IHMT7.js.map +0 -1
  519. package/dist/chunk-OG2WM5YK.mjs.map +0 -1
  520. package/dist/chunk-OXS6UJUG.mjs.map +0 -1
  521. package/dist/chunk-U4YQCAXW.js.map +0 -1
  522. package/dist/chunk-UBFKTC2P.mjs.map +0 -1
  523. package/dist/chunk-UOFTZKMM.js.map +0 -1
  524. package/dist/chunk-UP6S75V5.js.map +0 -1
  525. package/dist/chunk-VSKL5LOB.js.map +0 -1
  526. package/dist/chunk-WP7GYBRI.js.map +0 -1
  527. package/dist/chunk-XIXF7UVM.mjs.map +0 -1
  528. package/dist/chunk-Y4EDWZKH.js.map +0 -1
  529. package/dist/chunk-Y4IFVO46.mjs.map +0 -1
@@ -14,27 +14,21 @@ describe("useLocalStorage", () => {
14
14
  it("should read existing JSON value on mount", () => {
15
15
  const key = `${keyPrefix}-read`;
16
16
  localStorage.setItem(key, JSON.stringify({ count: 2 }));
17
- const { result } = renderHook(() =>
18
- useLocalStorage(key, { count: 0 }),
19
- );
17
+ const { result } = renderHook(() => useLocalStorage(key, { count: 0 }));
20
18
  const value = result.current[0];
21
19
  expect(value).toEqual({ count: 2 });
22
20
  });
23
21
 
24
22
  it("should fall back to initialValue when key missing", () => {
25
23
  const key = `${keyPrefix}-missing`;
26
- const { result } = renderHook(() =>
27
- useLocalStorage(key, { count: 0 }),
28
- );
24
+ const { result } = renderHook(() => useLocalStorage(key, { count: 0 }));
29
25
  const value = result.current[0];
30
26
  expect(value).toEqual({ count: 0 });
31
27
  });
32
28
 
33
29
  it("should persist setValue and support functional updates", () => {
34
30
  const key = `${keyPrefix}-set`;
35
- const { result } = renderHook(() =>
36
- useLocalStorage(key, { count: 0 }),
37
- );
31
+ const { result } = renderHook(() => useLocalStorage(key, { count: 0 }));
38
32
  act(() => {
39
33
  result.current[1]({ count: 5 });
40
34
  });
@@ -49,9 +43,7 @@ describe("useLocalStorage", () => {
49
43
  it("should remove key and reset to initialValue", () => {
50
44
  const key = `${keyPrefix}-remove`;
51
45
  localStorage.setItem(key, JSON.stringify({ ok: true }));
52
- const { result } = renderHook(() =>
53
- useLocalStorage(key, { ok: false }),
54
- );
46
+ const { result } = renderHook(() => useLocalStorage(key, { ok: false }));
55
47
  const remove = result.current[2];
56
48
  act(() => {
57
49
  remove();
@@ -62,9 +54,7 @@ describe("useLocalStorage", () => {
62
54
 
63
55
  it("should reconcile when storage event fires for same key", () => {
64
56
  const key = `${keyPrefix}-storage`;
65
- const { result } = renderHook(() =>
66
- useLocalStorage(key, { v: 0 }),
67
- );
57
+ const { result } = renderHook(() => useLocalStorage(key, { v: 0 }));
68
58
  act(() => {
69
59
  window.dispatchEvent(
70
60
  new StorageEvent("storage", {
@@ -74,16 +64,14 @@ describe("useLocalStorage", () => {
74
64
  }),
75
65
  );
76
66
  });
77
- const value= result.current[0];
67
+ const value = result.current[0];
78
68
  expect(value).toEqual({ v: 99 });
79
69
  });
80
70
 
81
71
  it("should reset to initial when storage event clears key", () => {
82
72
  const key = `${keyPrefix}-cleared`;
83
73
  localStorage.setItem(key, JSON.stringify({ v: 1 }));
84
- const { result } = renderHook(() =>
85
- useLocalStorage(key, { v: 0 }),
86
- );
74
+ const { result } = renderHook(() => useLocalStorage(key, { v: 0 }));
87
75
  act(() => {
88
76
  window.dispatchEvent(
89
77
  new StorageEvent("storage", {
@@ -93,7 +81,7 @@ describe("useLocalStorage", () => {
93
81
  }),
94
82
  );
95
83
  });
96
- const value= result.current[0];
84
+ const value = result.current[0];
97
85
  expect(value).toEqual({ v: 0 });
98
86
  });
99
87
  });
@@ -41,15 +41,15 @@ export function useLocalStorage<T>(
41
41
  key: string,
42
42
  initialValue: T,
43
43
  ): UseLocalStorageResult<T> {
44
- const [stored, setStored] = useState<T>(() =>
45
- readValue(key, initialValue),
46
- );
44
+ const [stored, setStored] = useState<T>(() => readValue(key, initialValue));
47
45
 
48
46
  const setValue = useCallback(
49
47
  (value: T | ((previous: T) => T)) => {
50
48
  setStored((previous) => {
51
49
  const next =
52
- typeof value === "function" ? (value as (p: T) => T)(previous) : value;
50
+ typeof value === "function"
51
+ ? (value as (p: T) => T)(previous)
52
+ : value;
53
53
  try {
54
54
  if (typeof window !== "undefined") {
55
55
  window.localStorage.setItem(key, JSON.stringify(next));
@@ -12,10 +12,7 @@ import { useEffect, useState } from "react";
12
12
  * @param defaultValue - Value to use before hydration or when `matchMedia` is unavailable (default `false`).
13
13
  * @returns Current `matches` boolean for the query.
14
14
  */
15
- export function useMediaQuery(
16
- query: string,
17
- defaultValue = false,
18
- ): boolean {
15
+ export function useMediaQuery(query: string, defaultValue = false): boolean {
19
16
  const [matches, setMatches] = useState(defaultValue);
20
17
 
21
18
  useEffect(() => {
@@ -21,7 +21,9 @@ describe("usePrefersReducedMotion", () => {
21
21
  }) as unknown as MediaQueryList,
22
22
  );
23
23
  const { result } = renderHook(() => usePrefersReducedMotion());
24
- expect(matchMediaSpy).toHaveBeenCalledWith("(prefers-reduced-motion: reduce)");
24
+ expect(matchMediaSpy).toHaveBeenCalledWith(
25
+ "(prefers-reduced-motion: reduce)",
26
+ );
25
27
  expect(result.current).toBe(true);
26
28
  });
27
29
  });
@@ -1,4 +1 @@
1
- export {
2
- useResizeObserver,
3
- type ElementSize,
4
- } from "./useResizeObserver";
1
+ export { useResizeObserver, type ElementSize } from "./useResizeObserver";
@@ -19,18 +19,14 @@ describe("useSessionStorage", () => {
19
19
  it("should apply stored value from sessionStorage after mount", async () => {
20
20
  const key = `${keyPrefix}-hydrate`;
21
21
  sessionStorage.setItem(key, JSON.stringify("stored"));
22
- const { result } = renderHook(() =>
23
- useSessionStorage(key, "initial"),
24
- );
22
+ const { result } = renderHook(() => useSessionStorage(key, "initial"));
25
23
  await flushEffects();
26
24
  expect(result.current[0]).toBe("stored");
27
25
  });
28
26
 
29
27
  it("should persist setValue to sessionStorage", async () => {
30
28
  const key = `${keyPrefix}-persist`;
31
- const { result } = renderHook(() =>
32
- useSessionStorage(key, { n: 0 }),
33
- );
29
+ const { result } = renderHook(() => useSessionStorage(key, { n: 0 }));
34
30
  await flushEffects();
35
31
  act(() => {
36
32
  result.current[1]({ n: 3 });
@@ -47,7 +47,9 @@ export function useSessionStorage<T>(
47
47
  (value: T | ((previous: T) => T)) => {
48
48
  setStored((previous) => {
49
49
  const next =
50
- typeof value === "function" ? (value as (p: T) => T)(previous) : value;
50
+ typeof value === "function"
51
+ ? (value as (p: T) => T)(previous)
52
+ : value;
51
53
  try {
52
54
  if (typeof window !== "undefined") {
53
55
  window.sessionStorage.setItem(key, JSON.stringify(next));
@@ -74,7 +76,7 @@ export function useSessionStorage<T>(
74
76
 
75
77
  useEffect(() => {
76
78
  const next = readValue(key, initialValue);
77
-
79
+
78
80
  setStored((prev) => {
79
81
  return JSON.stringify(prev) === JSON.stringify(next) ? prev : next;
80
82
  });
@@ -13,9 +13,10 @@ import { useCallback, useEffect, useRef } from "react";
13
13
  * @param intervalMs - Minimum milliseconds between invocations.
14
14
  * @returns Throttled function with the same call signature as `callback`.
15
15
  */
16
- export function useThrottledCallback<
17
- T extends (...args: any[]) => void,
18
- >(callback: T, intervalMs: number): T {
16
+ export function useThrottledCallback<T extends (...args: any[]) => void>(
17
+ callback: T,
18
+ intervalMs: number,
19
+ ): T {
19
20
  const callbackRef = useRef(callback);
20
21
  const lastRunRef = useRef(0);
21
22
 
@@ -26,7 +26,10 @@ export function useWindowSize(): WindowSize {
26
26
 
27
27
  useEffect(() => {
28
28
  const onResize = () => {
29
- setSize({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
29
+ setSize({
30
+ width: window.innerWidth || 0,
31
+ height: window.innerHeight || 0,
32
+ });
30
33
  };
31
34
  onResize();
32
35
  window.addEventListener("resize", onResize);
package/src/lib/utils.ts CHANGED
@@ -10,7 +10,7 @@ export const clampPage = (page: number, pageCount: number): number => {
10
10
  return 1;
11
11
  }
12
12
  return Math.min(pageCount, Math.max(1, Math.floor(page)));
13
- }
13
+ };
14
14
 
15
15
  export const range = (from: number, to: number): number[] => {
16
16
  const out: number[] = [];
@@ -18,8 +18,8 @@ export const range = (from: number, to: number): number[] => {
18
18
  out.push(i);
19
19
  }
20
20
  return out;
21
- }
21
+ };
22
22
 
23
23
  export const clamp = (value: number, min: number, max: number) => {
24
24
  return Math.min(max, Math.max(min, value));
25
- }
25
+ };
@@ -1,5 +1,10 @@
1
1
  // accordion.tsx — default static entry (no framer-motion on content)
2
- import { AccordionBase, AccordionContent, AccordionItem, AccordionTrigger } from "./accordion-base";
2
+ import {
3
+ AccordionBase,
4
+ AccordionContent,
5
+ AccordionItem,
6
+ AccordionTrigger,
7
+ } from "./accordion-base";
3
8
  import type { AccordionProps } from "./types";
4
9
 
5
10
  export function Accordion(props: AccordionProps) {
@@ -16,10 +16,7 @@ export function AccordionContentAnimated({
16
16
  ref,
17
17
  }: AccordionContentAnimatedProps) {
18
18
  const itemValue = useAccordionItemValue("AccordionContent");
19
- const {
20
- isOpen,
21
- size,
22
- } = useAccordionContext("AccordionContent");
19
+ const { isOpen, size } = useAccordionContext("AccordionContent");
23
20
  const open = isOpen(itemValue);
24
21
  const panelId = `${itemValue}-panel`;
25
22
  const transitionConfig = accordionContentTransitionPresets[transitionVariant];
@@ -3,5 +3,8 @@
3
3
  export { Accordion } from "./accordion-root-animated";
4
4
  export { AccordionItem, AccordionTrigger } from "../accordion-base";
5
5
  export { AccordionContentAnimated } from "./accordion-content-animated";
6
- export type { AccordionAnimatedProps, AccordionContentAnimatedProps } from "./types";
6
+ export type {
7
+ AccordionAnimatedProps,
8
+ AccordionContentAnimatedProps,
9
+ } from "./types";
7
10
  export { accordionContentTransitionPresets } from "./animations";
@@ -1,7 +1,11 @@
1
- import type { AccordionBaseProps, AccordionContentProps, AccordionTransition } from "../types";
1
+ import type {
2
+ AccordionBaseProps,
3
+ AccordionContentProps,
4
+ AccordionTransition,
5
+ } from "../types";
2
6
 
3
7
  export type AccordionAnimatedProps = AccordionBaseProps;
4
8
 
5
9
  export type AccordionContentAnimatedProps = AccordionContentProps & {
6
10
  transitionVariant?: AccordionTransition;
7
- };
11
+ };
@@ -19,23 +19,23 @@ export const accordionVariants = cva("w-full", {
19
19
  emerald:
20
20
  "divide-y divide-emerald-600 rounded-xl border border-emerald-600",
21
21
  "gradient-blue":
22
- "divide-y divide-gradient-to-r from-blue-600 to-purple-600 rounded-xl border border-gradient-to-r from-blue-600 to-purple-600",
22
+ "divide-y divide-blue-600 rounded-xl border border-blue-600",
23
23
  "gradient-green":
24
- "divide-y divide-gradient-to-r from-green-600 to-lime-600 rounded-xl border border-gradient-to-r from-green-600 to-lime-600",
24
+ "divide-y divide-green-600 rounded-xl border border-green-600",
25
25
  "gradient-red":
26
- "divide-y divide-gradient-to-r from-red-600 to-pink-600 rounded-xl border border-gradient-to-r from-red-600 to-pink-600",
26
+ "divide-y divide-red-600 rounded-xl border border-red-600",
27
27
  "gradient-yellow":
28
- "divide-y divide-gradient-to-r from-yellow-600 to-orange-600 rounded-xl border border-gradient-to-r from-yellow-600 to-orange-600",
28
+ "divide-y divide-yellow-600 rounded-xl border border-yellow-600",
29
29
  "gradient-purple":
30
- "divide-y divide-gradient-to-r from-purple-600 to-pink-600 rounded-xl border border-gradient-to-r from-purple-600 to-pink-600",
30
+ "divide-y divide-purple-600 rounded-xl border border-purple-600",
31
31
  "gradient-teal":
32
- "divide-y divide-gradient-to-r from-teal-600 to-cyan-600 rounded-xl border border-gradient-to-r from-teal-600 to-cyan-600",
32
+ "divide-y divide-teal-600 rounded-xl border border-teal-600",
33
33
  "gradient-indigo":
34
- "divide-y divide-gradient-to-r from-indigo-600 to-purple-600 rounded-xl border border-gradient-to-r from-indigo-600 to-purple-600",
34
+ "divide-y divide-indigo-600 rounded-xl border border-indigo-600",
35
35
  "gradient-pink":
36
- "divide-y divide-gradient-to-r from-pink-600 to-rose-600 rounded-xl border border-gradient-to-r from-pink-600 to-rose-600",
36
+ "divide-y divide-pink-600 rounded-xl border border-pink-600",
37
37
  "gradient-orange":
38
- "divide-y divide-gradient-to-r from-orange-600 to-red-600 rounded-xl border border-gradient-to-r from-orange-600 to-red-600",
38
+ "divide-y divide-orange-600 rounded-xl border border-orange-600",
39
39
  },
40
40
  size: {
41
41
  sm: "px-3 py-2 text-sm",
@@ -9,7 +9,12 @@ import {
9
9
 
10
10
  import { cn } from "../../lib/utils";
11
11
 
12
- import type { AlertBaseProps, AlertProps, AlertSectionProps, AlertSize } from "./types";
12
+ import type {
13
+ AlertBaseProps,
14
+ AlertProps,
15
+ AlertSectionProps,
16
+ AlertSize,
17
+ } from "./types";
13
18
  import {
14
19
  alertDescriptionVariants,
15
20
  alertTitleVariants,
@@ -4,6 +4,6 @@ import type { AlertProps } from "./types";
4
4
 
5
5
  export const Alert = (props: AlertProps) => {
6
6
  return <AlertBase {...props} />;
7
- }
7
+ };
8
8
 
9
- Alert.displayName = "Alert";
9
+ Alert.displayName = "Alert";
@@ -1,3 +1,3 @@
1
1
  export { AlertAnimated } from "./alert-animated";
2
- export type { AlertAnimatedProps} from "./types";
3
- export { alertAnimationPresets } from "./animations";
2
+ export type { AlertAnimatedProps } from "./types";
3
+ export { alertAnimationPresets } from "./animations";
@@ -13,4 +13,4 @@ export type AlertPresetMotionProps = Pick<
13
13
  export type AlertAnimationPresets = Record<
14
14
  AlertAnimation,
15
15
  AlertPresetMotionProps
16
- >;
16
+ >;
@@ -4,7 +4,7 @@ import type { ComponentPropsWithRef, ElementType, ReactNode } from "react";
4
4
  import type { alertVariants } from "./variants";
5
5
 
6
6
  export type AlertAnimation = "none" | "slide-down" | "fade" | "pop";
7
- export type AlertAppearance = VariantProps<typeof alertVariants>["appearance"];
7
+ export type AlertAppearance = VariantProps<typeof alertVariants>["appearance"];
8
8
  export type AlertSize = VariantProps<typeof alertVariants>["size"];
9
9
 
10
10
  export interface AlertBaseProps extends ComponentPropsWithRef<"div"> {
@@ -18,11 +18,9 @@ export interface AlertBaseProps extends ComponentPropsWithRef<"div"> {
18
18
  as?: ElementType;
19
19
  }
20
20
 
21
-
22
21
  export type AlertSectionProps = {
23
22
  className?: string;
24
23
  children?: ReactNode;
25
24
  };
26
25
 
27
26
  export type AlertProps = Omit<AlertBaseProps, "as">;
28
-
@@ -20,23 +20,23 @@ export const alertVariants = cva(
20
20
  gray: "border-gray-600 bg-gray-950/70 backdrop-blur-xl",
21
21
  violet: "border-violet-600 bg-violet-950/70 backdrop-blur-xl",
22
22
  "gradient-blue":
23
- "border-gradient-to-r from-blue-600 to-purple-600 bg-gradient-to-r from-blue-950/70 to-purple-950/70 backdrop-blur-xl",
23
+ "border-blue-600 bg-linear-to-r from-blue-950/70 to-purple-950/70 backdrop-blur-xl",
24
24
  "gradient-green":
25
- "border-gradient-to-r from-green-600 to-lime-600 bg-gradient-to-r from-green-950/70 to-lime-950/70 backdrop-blur-xl",
25
+ "border-green-600 bg-linear-to-r from-green-950/70 to-lime-950/70 backdrop-blur-xl",
26
26
  "gradient-red":
27
- "border-gradient-to-r from-red-600 to-pink-600 bg-gradient-to-r from-red-950/70 to-pink-950/70 backdrop-blur-xl",
27
+ "border-red-600 bg-linear-to-r from-red-950/70 to-pink-950/70 backdrop-blur-xl",
28
28
  "gradient-yellow":
29
- "border-gradient-to-r from-yellow-600 to-orange-600 bg-gradient-to-r from-yellow-950/70 to-orange-950/70 backdrop-blur-xl",
29
+ "border-yellow-600 bg-linear-to-r from-yellow-950/70 to-orange-950/70 backdrop-blur-xl",
30
30
  "gradient-purple":
31
- "border-gradient-to-r from-purple-600 to-pink-600 bg-gradient-to-r from-purple-950/70 to-pink-950/70 backdrop-blur-xl",
31
+ "border-purple-600 bg-linear-to-r from-purple-950/70 to-pink-950/70 backdrop-blur-xl",
32
32
  "gradient-teal":
33
- "border-gradient-to-r from-teal-600 to-cyan-600 bg-gradient-to-r from-teal-950/70 to-cyan-950/70 backdrop-blur-xl",
33
+ "border-teal-600 bg-linear-to-r from-teal-950/70 to-cyan-950/70 backdrop-blur-xl",
34
34
  "gradient-indigo":
35
- "border-gradient-to-r from-indigo-600 to-purple-600 bg-gradient-to-r from-indigo-950/70 to-purple-950/70 backdrop-blur-xl",
35
+ "border-indigo-600 bg-linear-to-r from-indigo-950/70 to-purple-950/70 backdrop-blur-xl",
36
36
  "gradient-pink":
37
- "border-gradient-to-r from-pink-600 to-rose-600 bg-gradient-to-r from-pink-950/70 to-rose-950/70 backdrop-blur-xl",
37
+ "border-pink-600 bg-linear-to-r from-pink-950/70 to-rose-950/70 backdrop-blur-xl",
38
38
  "gradient-orange":
39
- "border-gradient-to-r from-orange-600 to-red-600 bg-gradient-to-r from-orange-950/70 to-red-950/70 backdrop-blur-xl",
39
+ "border-orange-600 bg-linear-to-r from-orange-950/70 to-red-950/70 backdrop-blur-xl",
40
40
  },
41
41
  size: {
42
42
  sm: "rounded-lg p-3",
@@ -2,5 +2,9 @@
2
2
 
3
3
  export { AvatarAnimated } from "./avatar-animated";
4
4
  export { AvatarFallback, AvatarGroup, AvatarImage } from "../avatar-base";
5
- export type { AvatarAnimatedProps, AvatarAnimation, AvatarAnimationPresets } from "./types";
6
- export { avatarAnimationPresets } from "./animations";
5
+ export type {
6
+ AvatarAnimatedProps,
7
+ AvatarAnimation,
8
+ AvatarAnimationPresets,
9
+ } from "./types";
10
+ export { avatarAnimationPresets } from "./animations";
@@ -48,10 +48,7 @@ export function AvatarBase({
48
48
  ...rest
49
49
  }: AvatarBaseProps) {
50
50
  const [imageStatus, setImageStatus] = useState<ImageStatus>("idle");
51
- const ctx = useMemo(
52
- () => ({ imageStatus, setImageStatus }),
53
- [imageStatus],
54
- );
51
+ const ctx = useMemo(() => ({ imageStatus, setImageStatus }), [imageStatus]);
55
52
 
56
53
  return (
57
54
  <AvatarContext.Provider value={ctx}>
@@ -153,9 +150,7 @@ export function AvatarGroup({
153
150
  );
154
151
  const visible = max !== undefined ? childArray.slice(0, max) : childArray;
155
152
  const overflow =
156
- max !== undefined && childArray.length > max
157
- ? childArray.length - max
158
- : 0;
153
+ max !== undefined && childArray.length > max ? childArray.length - max : 0;
159
154
 
160
155
  return (
161
156
  <div
@@ -1,5 +1,10 @@
1
1
  // avatar.tsx — default static entry (no framer-motion)
2
- import { AvatarBase, AvatarFallback, AvatarGroup, AvatarImage } from "./avatar-base";
2
+ import {
3
+ AvatarBase,
4
+ AvatarFallback,
5
+ AvatarGroup,
6
+ AvatarImage,
7
+ } from "./avatar-base";
3
8
  import type { AvatarProps } from "./types";
4
9
 
5
10
  export function Avatar(props: AvatarProps) {
@@ -6,7 +6,8 @@ export const avatarVariants = cva(
6
6
  variants: {
7
7
  appearance: {
8
8
  default: "border-white/10 bg-white/10 text-slate-200",
9
- muted: "border-black/40 bg-slate-950 dark:border-white/10 dark:bg-slate-950/40 text-slate-200",
9
+ muted:
10
+ "border-black/40 bg-slate-950 dark:border-white/10 dark:bg-slate-950/40 text-slate-200",
10
11
  sky: "border-sky-600 bg-sky-600/[0.03] text-slate-200",
11
12
  rose: "border-rose-600 bg-rose-600/[0.03] text-slate-200",
12
13
  purple: "border-purple-600 bg-purple-600/[0.03] text-slate-200",
@@ -19,15 +20,24 @@ export const avatarVariants = cva(
19
20
  gray: "border-gray-600 bg-gray-600/[0.03] text-slate-200",
20
21
  amber: "border-amber-600 bg-amber-600/[0.03] text-slate-200",
21
22
  violet: "border-violet-600 bg-violet-600/[0.03] text-slate-200",
22
- "gradient-blue": "bg-linear-to-r from-blue-950/70 to-purple-950/70 backdrop-blur-xl text-slate-200",
23
- "gradient-green": "bg-linear-to-r from-green-950/70 to-lime-950/70 backdrop-blur-xl text-slate-200",
24
- "gradient-red": "bg-linear-to-r from-red-950/70 to-pink-950/70 backdrop-blur-xl text-slate-200",
25
- "gradient-yellow": "bg-linear-to-r from-yellow-950/70 to-orange-950/70 backdrop-blur-xl text-slate-200",
26
- "gradient-purple": "bg-linear-to-r from-purple-950/70 to-pink-950/70 backdrop-blur-xl text-slate-200",
27
- "gradient-teal": "bg-linear-to-r from-teal-950/70 to-cyan-950/70 backdrop-blur-xl text-slate-200",
28
- "gradient-indigo": "bg-linear-to-r from-indigo-950/70 to-purple-950/70 backdrop-blur-xl text-slate-200",
29
- "gradient-pink": "bg-linear-to-r from-pink-950/70 to-rose-950/70 backdrop-blur-xl text-slate-200",
30
- "gradient-orange": "bg-linear-to-r from-orange-950/70 to-red-950/70 backdrop-blur-xl text-slate-200",
23
+ "gradient-blue":
24
+ "bg-linear-to-r from-blue-950/70 to-purple-950/70 backdrop-blur-xl text-slate-200",
25
+ "gradient-green":
26
+ "bg-linear-to-r from-green-950/70 to-lime-950/70 backdrop-blur-xl text-slate-200",
27
+ "gradient-red":
28
+ "bg-linear-to-r from-red-950/70 to-pink-950/70 backdrop-blur-xl text-slate-200",
29
+ "gradient-yellow":
30
+ "bg-linear-to-r from-yellow-950/70 to-orange-950/70 backdrop-blur-xl text-slate-200",
31
+ "gradient-purple":
32
+ "bg-linear-to-r from-purple-950/70 to-pink-950/70 backdrop-blur-xl text-slate-200",
33
+ "gradient-teal":
34
+ "bg-linear-to-r from-teal-950/70 to-cyan-950/70 backdrop-blur-xl text-slate-200",
35
+ "gradient-indigo":
36
+ "bg-linear-to-r from-indigo-950/70 to-purple-950/70 backdrop-blur-xl text-slate-200",
37
+ "gradient-pink":
38
+ "bg-linear-to-r from-pink-950/70 to-rose-950/70 backdrop-blur-xl text-slate-200",
39
+ "gradient-orange":
40
+ "bg-linear-to-r from-orange-950/70 to-red-950/70 backdrop-blur-xl text-slate-200",
31
41
  },
32
42
  size: {
33
43
  sm: "size-8 text-xs",
@@ -49,4 +59,6 @@ export const avatarFallbackVariants = cva(
49
59
  "flex size-full items-center justify-center bg-slate-800 font-medium text-slate-100",
50
60
  );
51
61
 
52
- export const avatarGroupVariants = cva("flex items-center [&_[data-slot=avatar]]:-ml-2 [&_[data-slot=avatar]]:ring-2 [&_[data-slot=avatar]]:ring-slate-950 [&_[data-slot=avatar]]:first:ml-0");
62
+ export const avatarGroupVariants = cva(
63
+ "flex items-center [&_[data-slot=avatar]]:-ml-2 [&_[data-slot=avatar]]:ring-2 [&_[data-slot=avatar]]:ring-slate-950 [&_[data-slot=avatar]]:first:ml-0",
64
+ );
@@ -1,5 +1,9 @@
1
1
  "use client";
2
2
 
3
3
  export { BadgeAnimated } from "./badge-animated";
4
- export type { BadgeAnimatedProps, BadgeAnimation, BadgeAnimationPresets } from "./types";
5
- export { badgeAnimationPresets } from "./animations";
4
+ export type {
5
+ BadgeAnimatedProps,
6
+ BadgeAnimation,
7
+ BadgeAnimationPresets,
8
+ } from "./types";
9
+ export { badgeAnimationPresets } from "./animations";
@@ -6,7 +6,6 @@ export type BadgeAnimatedProps = Omit<BadgeBaseProps, "as"> & {
6
6
  };
7
7
  export type BadgeAnimation = "none" | "pop" | "bounce" | "fade";
8
8
 
9
-
10
9
  type BadgePresetMotionProps = Pick<
11
10
  HTMLMotionProps<"span">,
12
11
  "style" | "transition" | "whileHover" | "whileTap" | "animate" | "initial"
@@ -15,4 +14,4 @@ type BadgePresetMotionProps = Pick<
15
14
  export type BadgeAnimationPresets = Record<
16
15
  BadgeAnimation,
17
16
  BadgePresetMotionProps
18
- >;
17
+ >;
@@ -20,17 +20,15 @@ export const buttonLikeSolidAppearances = {
20
20
  teal: "bg-teal-700 text-white",
21
21
  yellow: "bg-yellow-800 text-white",
22
22
  orange: "bg-orange-800 text-white",
23
- "gradient-blue": "bg-gradient-to-r from-blue-600 to-purple-600 text-white",
24
- "gradient-green": "bg-gradient-to-r from-green-600 to-lime-600 text-white",
25
- "gradient-red": "bg-gradient-to-r from-red-600 to-pink-600 text-white",
26
- "gradient-yellow":
27
- "bg-gradient-to-r from-yellow-600 to-orange-600 text-white",
28
- "gradient-purple": "bg-gradient-to-r from-purple-600 to-pink-600 text-white",
29
- "gradient-teal": "bg-gradient-to-r from-teal-600 to-cyan-600 text-white",
30
- "gradient-indigo":
31
- "bg-gradient-to-r from-indigo-600 to-purple-600 text-white",
32
- "gradient-pink": "bg-gradient-to-r from-pink-600 to-rose-600 text-white",
33
- "gradient-orange": "bg-gradient-to-r from-orange-600 to-red-600 text-white",
23
+ "gradient-blue": "bg-linear-to-r from-blue-600 to-purple-600 text-white",
24
+ "gradient-green": "bg-linear-to-r from-green-600 to-lime-600 text-white",
25
+ "gradient-red": "bg-linear-to-r from-red-600 to-pink-600 text-white",
26
+ "gradient-yellow": "bg-linear-to-r from-yellow-600 to-orange-600 text-white",
27
+ "gradient-purple": "bg-linear-to-r from-purple-600 to-pink-600 text-white",
28
+ "gradient-teal": "bg-linear-to-r from-teal-600 to-cyan-600 text-white",
29
+ "gradient-indigo": "bg-linear-to-r from-indigo-600 to-purple-600 text-white",
30
+ "gradient-pink": "bg-linear-to-r from-pink-600 to-rose-600 text-white",
31
+ "gradient-orange": "bg-linear-to-r from-orange-600 to-red-600 text-white",
34
32
  } as const;
35
33
 
36
34
  export type ButtonLikeSolidAppearance = keyof typeof buttonLikeSolidAppearances;
@@ -84,7 +84,11 @@ export function BreadcrumbLink({
84
84
  <a
85
85
  ref={ref}
86
86
  data-slot="breadcrumb-link"
87
- className={cn(breadcrumbLinkVariants(), breadcrumbNavVariants({ appearance }), className)}
87
+ className={cn(
88
+ breadcrumbLinkVariants(),
89
+ breadcrumbNavVariants({ appearance }),
90
+ className,
91
+ )}
88
92
  {...rest}
89
93
  />
90
94
  );
@@ -103,7 +107,11 @@ export function BreadcrumbPage({
103
107
  ref={ref}
104
108
  data-slot="breadcrumb-page"
105
109
  aria-current="page"
106
- className={cn(breadcrumbPageVariants(), breadcrumbNavVariants({ appearance }), className)}
110
+ className={cn(
111
+ breadcrumbPageVariants(),
112
+ breadcrumbNavVariants({ appearance }),
113
+ className,
114
+ )}
107
115
  {...rest}
108
116
  />
109
117
  );
@@ -1,7 +1,12 @@
1
1
  import type { VariantProps } from "class-variance-authority";
2
2
  import type { ComponentPropsWithoutRef, ReactNode, Ref } from "react";
3
3
 
4
- import type { breadcrumbSeparatorVariants, breadcrumbNavVariants, breadcrumbLinkVariants, breadcrumbPageVariants } from "./variants";
4
+ import type {
5
+ breadcrumbSeparatorVariants,
6
+ breadcrumbNavVariants,
7
+ breadcrumbLinkVariants,
8
+ breadcrumbPageVariants,
9
+ } from "./variants";
5
10
 
6
11
  export type BreadcrumbProps = ComponentPropsWithoutRef<"nav"> & {
7
12
  "aria-label"?: string;
@@ -11,17 +16,23 @@ export type BreadcrumbListProps = ComponentPropsWithoutRef<"ol">;
11
16
 
12
17
  export type BreadcrumbItemProps = ComponentPropsWithoutRef<"li">;
13
18
 
14
- export type BreadcrumbLinkProps = ComponentPropsWithoutRef<"a"> & VariantProps<typeof breadcrumbLinkVariants> & {
15
- appearance?: BreadcrumbAppearance;
16
- } & { ref?: Ref<HTMLAnchorElement> };
19
+ export type BreadcrumbLinkProps = ComponentPropsWithoutRef<"a"> &
20
+ VariantProps<typeof breadcrumbLinkVariants> & {
21
+ appearance?: BreadcrumbAppearance;
22
+ } & { ref?: Ref<HTMLAnchorElement> };
17
23
 
18
- export type BreadcrumbPageProps = ComponentPropsWithoutRef<"span"> & VariantProps<typeof breadcrumbPageVariants> & {
19
- appearance?: BreadcrumbAppearance;
20
- } & { ref?: Ref<HTMLSpanElement> };
24
+ export type BreadcrumbPageProps = ComponentPropsWithoutRef<"span"> &
25
+ VariantProps<typeof breadcrumbPageVariants> & {
26
+ appearance?: BreadcrumbAppearance;
27
+ } & { ref?: Ref<HTMLSpanElement> };
21
28
 
22
- export type SeparatorVariantProps = VariantProps<typeof breadcrumbSeparatorVariants>;
29
+ export type SeparatorVariantProps = VariantProps<
30
+ typeof breadcrumbSeparatorVariants
31
+ >;
23
32
 
24
- export type BreadcrumbAppearance = NonNullable<VariantProps<typeof breadcrumbNavVariants>["appearance"]>;
33
+ export type BreadcrumbAppearance = NonNullable<
34
+ VariantProps<typeof breadcrumbNavVariants>["appearance"]
35
+ >;
25
36
 
26
37
  export type BreadcrumbSeparatorProps = ComponentPropsWithoutRef<"span"> &
27
38
  SeparatorVariantProps & {