@saas-ui/react 3.0.0-alpha.8 → 3.0.0-next.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 (419) hide show
  1. package/CHANGELOG.md +219 -36
  2. package/dist/chunk-27OMFCPD.js +8 -0
  3. package/dist/{chunk-6LOMIKR5.js → chunk-2B5OZHZY.js} +5 -3
  4. package/dist/{chunk-S3CQW7GD.js → chunk-3DGRWH7C.js} +3 -2
  5. package/dist/chunk-3EV6MKBG.js +60 -0
  6. package/dist/{chunk-IFYV7NUJ.js → chunk-3MO37LYW.js} +3 -3
  7. package/dist/chunk-3RHNNKPC.js +51 -0
  8. package/dist/{chunk-LIYUBUOP.js → chunk-4IZGJDYL.js} +1 -1
  9. package/dist/{chunk-VDXTEASE.js → chunk-4XB7B73X.js} +28 -2
  10. package/dist/chunk-52XM5VXJ.js +9 -0
  11. package/dist/chunk-5HVAMQYO.js +8 -0
  12. package/dist/chunk-5MTFSSOH.js +16 -0
  13. package/dist/chunk-5YNHX4C7.js +16 -0
  14. package/dist/{chunk-4TR3AOMG.js → chunk-5ZKEXMBN.js} +15 -12
  15. package/dist/chunk-6YZ76Q2W.js +8 -0
  16. package/dist/chunk-77QJSEEA.js +68 -0
  17. package/dist/chunk-7DF4NQNZ.js +8 -0
  18. package/dist/chunk-7HAGRXKM.js +8 -0
  19. package/dist/{chunk-QSNSWCTM.js → chunk-7MCVXFWM.js} +2 -1
  20. package/dist/chunk-7PWVK3NL.js +8 -0
  21. package/dist/chunk-AY7C4U2O.js +39 -0
  22. package/dist/{chunk-7VSTNV2B.js → chunk-BDS3APRG.js} +9 -6
  23. package/dist/chunk-BFO2S4Y5.js +12 -0
  24. package/dist/chunk-C5KFNMWU.js +8 -0
  25. package/dist/chunk-CQD32UVJ.js +8 -0
  26. package/dist/{chunk-TT4C5VXB.js → chunk-CRFTMIQA.js} +10 -10
  27. package/dist/chunk-DHFAFRZ4.js +8 -0
  28. package/dist/chunk-EWCBYJA7.js +8 -0
  29. package/dist/chunk-EYOHLXWQ.js +64 -0
  30. package/dist/chunk-FD2V4Y66.js +8 -0
  31. package/dist/{chunk-UCQ3LZIE.js → chunk-FN7TU5F5.js} +2 -1
  32. package/dist/chunk-FPRTN3I7.js +9 -0
  33. package/dist/chunk-GD2247J4.js +37 -0
  34. package/dist/chunk-GSWLAOIM.js +24 -0
  35. package/dist/chunk-H7KPEI6P.js +21 -0
  36. package/dist/chunk-HD7BIWDH.js +22 -0
  37. package/dist/{chunk-PKI6YH2V.js → chunk-HKMYYESV.js} +4 -1
  38. package/dist/{chunk-WYLMBMAH.js → chunk-HKUOHPZ6.js} +1 -1
  39. package/dist/chunk-HQVBJT5Y.js +8 -0
  40. package/dist/chunk-HTQRA26F.js +46 -0
  41. package/dist/{chunk-SA3OGTOO.js → chunk-HTVSG47E.js} +1 -1
  42. package/dist/chunk-HZX4AGO5.js +8 -0
  43. package/dist/{chunk-ULAJ3JEO.js → chunk-IEWGZ4LU.js} +11 -3
  44. package/dist/chunk-JMYI6YXR.js +1 -0
  45. package/dist/chunk-JPY2QZLC.js +64 -0
  46. package/dist/{chunk-SKXSBAOS.js → chunk-KFDVVTMT.js} +2 -1
  47. package/dist/chunk-KRJG7H4W.js +53 -0
  48. package/dist/chunk-M3DJWM6D.js +8 -0
  49. package/dist/{chunk-32JGENDB.js → chunk-MK3OG2I4.js} +1 -1
  50. package/dist/chunk-MZ2RY4NU.js +34 -0
  51. package/dist/{chunk-FJFNGSPL.js → chunk-NGGISORT.js} +12 -6
  52. package/dist/chunk-NLMFEUVO.js +41 -0
  53. package/dist/{chunk-I2RXEKTB.js → chunk-NSFGACD7.js} +1 -1
  54. package/dist/{chunk-BFA5FCA2.js → chunk-O2WVT2BP.js} +1 -16
  55. package/dist/chunk-OJZPPAT6.js +26 -0
  56. package/dist/chunk-OQU4LWZW.js +8 -0
  57. package/dist/chunk-PEJYADAS.js +8 -0
  58. package/dist/chunk-PIQURQGB.js +8 -0
  59. package/dist/{chunk-3Z2C27LI.js → chunk-Q6SNJJO2.js} +14 -2
  60. package/dist/chunk-QLN2CBY6.js +8 -0
  61. package/dist/chunk-R2J5USV6.js +12 -0
  62. package/dist/{chunk-2EUACKRH.js → chunk-RYKJOZ3B.js} +2 -1
  63. package/dist/chunk-SD2NTPHR.js +44 -0
  64. package/dist/chunk-SXFVA6CX.js +20 -0
  65. package/dist/chunk-T2FPZNCP.js +115 -0
  66. package/dist/{chunk-CD2JUFI2.js → chunk-T7XRS654.js} +10 -9
  67. package/dist/chunk-TEQVVR3W.js +8 -0
  68. package/dist/chunk-TH6YCBEG.js +8 -0
  69. package/dist/chunk-TWTXZ7PR.js +100 -0
  70. package/dist/{chunk-DPMEXCSG.js → chunk-U23VDAWJ.js} +8 -2
  71. package/dist/chunk-U3EPRSD3.js +20 -0
  72. package/dist/chunk-UEXUCHDD.js +34 -0
  73. package/dist/chunk-UIP2CHMU.js +8 -0
  74. package/dist/{chunk-JGHXJ3PI.js → chunk-UNF77J24.js} +6 -8
  75. package/dist/{chunk-M7FOBCOV.js → chunk-VJ4UOABT.js} +12 -19
  76. package/dist/chunk-WJZED26X.js +28 -0
  77. package/dist/chunk-XW747T2R.js +43 -0
  78. package/dist/chunk-XX2OY7LK.js +10 -0
  79. package/dist/chunk-YHQ5JGCC.js +1 -0
  80. package/dist/chunk-YLZEO3RK.js +24 -0
  81. package/dist/chunk-YMCOU2N5.js +8 -0
  82. package/dist/{chunk-6ZNR6N2K.js → chunk-YTTZX7ZE.js} +1 -1
  83. package/dist/chunk-Z37BQ5VU.js +54 -0
  84. package/dist/{chunk-L356FPLY.js → chunk-Z3SWPGPQ.js} +1 -1
  85. package/dist/{chunk-NSD5HRIP.js → chunk-ZUT5GZTD.js} +1 -1
  86. package/dist/components/accordion/index.cjs +197 -0
  87. package/dist/components/accordion/index.d.cts +29 -0
  88. package/dist/components/accordion/index.d.ts +29 -0
  89. package/dist/components/accordion/index.js +9 -0
  90. package/dist/components/action-bar/index.cjs +217 -0
  91. package/dist/components/action-bar/index.d.cts +33 -0
  92. package/dist/components/action-bar/index.d.ts +33 -0
  93. package/dist/components/action-bar/index.js +13 -0
  94. package/dist/components/alert/index.cjs +227 -0
  95. package/dist/components/alert/index.d.cts +14 -0
  96. package/dist/components/alert/index.d.ts +14 -0
  97. package/dist/components/alert/index.js +13 -0
  98. package/dist/components/app-shell/index.cjs +2 -2
  99. package/dist/components/app-shell/index.d.cts +1 -1
  100. package/dist/components/app-shell/index.d.ts +1 -1
  101. package/dist/components/app-shell/index.js +1 -1
  102. package/dist/components/avatar/index.cjs +7 -6
  103. package/dist/components/avatar/index.d.cts +3 -1
  104. package/dist/components/avatar/index.d.ts +3 -1
  105. package/dist/components/avatar/index.js +2 -1
  106. package/dist/components/badge/index.cjs +33 -0
  107. package/dist/components/badge/index.d.cts +27 -0
  108. package/dist/components/badge/index.d.ts +27 -0
  109. package/dist/components/badge/index.js +10 -0
  110. package/dist/components/blockquote/index.cjs +59 -0
  111. package/dist/components/blockquote/index.d.cts +12 -0
  112. package/dist/components/blockquote/index.d.ts +12 -0
  113. package/dist/components/blockquote/index.js +8 -0
  114. package/dist/components/breadcrumb/index.cjs +13 -13
  115. package/dist/components/breadcrumb/index.d.cts +13 -7
  116. package/dist/components/breadcrumb/index.d.ts +13 -7
  117. package/dist/components/breadcrumb/index.js +1 -1
  118. package/dist/components/button/index.cjs +2 -36
  119. package/dist/components/button/index.d.cts +1 -12
  120. package/dist/components/button/index.d.ts +1 -12
  121. package/dist/components/button/index.js +1 -1
  122. package/dist/components/button-group/index.cjs +31 -0
  123. package/dist/components/button-group/index.d.cts +1 -0
  124. package/dist/components/button-group/index.d.ts +1 -0
  125. package/dist/components/button-group/index.js +8 -0
  126. package/dist/components/card/index.cjs +32 -0
  127. package/dist/components/card/index.d.cts +1 -0
  128. package/dist/components/card/index.d.ts +1 -0
  129. package/dist/components/card/index.js +9 -0
  130. package/dist/components/checkbox/index.cjs +5 -5
  131. package/dist/components/checkbox/index.d.cts +1 -1
  132. package/dist/components/checkbox/index.d.ts +1 -1
  133. package/dist/components/checkbox/index.js +1 -1
  134. package/dist/components/checkbox-card/index.cjs +66 -0
  135. package/dist/components/checkbox-card/index.d.cts +15 -0
  136. package/dist/components/checkbox-card/index.d.ts +15 -0
  137. package/dist/components/checkbox-card/index.js +8 -0
  138. package/dist/components/checkmark/index.cjs +31 -0
  139. package/dist/components/checkmark/index.d.cts +1 -0
  140. package/dist/components/checkmark/index.d.ts +1 -0
  141. package/dist/components/checkmark/index.js +8 -0
  142. package/dist/components/clipboard/index.cjs +227 -0
  143. package/dist/components/clipboard/index.d.cts +28 -0
  144. package/dist/components/clipboard/index.d.ts +28 -0
  145. package/dist/components/clipboard/index.js +13 -0
  146. package/dist/components/close-button/index.cjs +82 -37
  147. package/dist/components/close-button/index.d.cts +3 -2
  148. package/dist/components/close-button/index.d.ts +3 -2
  149. package/dist/components/close-button/index.js +5 -2
  150. package/dist/components/code/index.cjs +31 -0
  151. package/dist/components/code/index.d.cts +1 -0
  152. package/dist/components/code/index.d.ts +1 -0
  153. package/dist/components/code/index.js +8 -0
  154. package/dist/components/collapsible/index.cjs +31 -0
  155. package/dist/components/collapsible/index.d.cts +1 -0
  156. package/dist/components/collapsible/index.d.ts +1 -0
  157. package/dist/components/collapsible/index.js +8 -0
  158. package/dist/components/command/index.cjs +18 -13
  159. package/dist/components/command/index.d.cts +28 -2
  160. package/dist/components/command/index.d.ts +28 -2
  161. package/dist/components/command/index.js +2 -1
  162. package/dist/components/container/index.cjs +31 -0
  163. package/dist/components/container/index.d.cts +1 -0
  164. package/dist/components/container/index.d.ts +1 -0
  165. package/dist/components/container/index.js +8 -0
  166. package/dist/components/data-list/index.cjs +33 -0
  167. package/dist/components/data-list/index.d.cts +1 -0
  168. package/dist/components/data-list/index.d.ts +1 -0
  169. package/dist/components/data-list/index.js +10 -0
  170. package/dist/components/dialog/index.cjs +127 -89
  171. package/dist/components/dialog/index.d.cts +36 -17
  172. package/dist/components/dialog/index.d.ts +36 -17
  173. package/dist/components/dialog/index.js +8 -5
  174. package/dist/components/drawer/index.cjs +123 -87
  175. package/dist/components/drawer/index.d.cts +33 -17
  176. package/dist/components/drawer/index.d.ts +33 -17
  177. package/dist/components/drawer/index.js +8 -5
  178. package/dist/components/editable/index.cjs +31 -0
  179. package/dist/components/editable/index.d.cts +1 -0
  180. package/dist/components/editable/index.d.ts +1 -0
  181. package/dist/components/editable/index.js +8 -0
  182. package/dist/components/empty-state/index.cjs +12 -10
  183. package/dist/components/empty-state/index.js +1 -1
  184. package/dist/components/field/index.cjs +35 -0
  185. package/dist/components/field/index.d.cts +1 -0
  186. package/dist/components/field/index.d.ts +1 -0
  187. package/dist/components/field/index.js +12 -0
  188. package/dist/components/fieldset/index.cjs +33 -0
  189. package/dist/components/fieldset/index.d.cts +1 -0
  190. package/dist/components/fieldset/index.d.ts +1 -0
  191. package/dist/components/fieldset/index.js +10 -0
  192. package/dist/components/file-upload/index.cjs +296 -0
  193. package/dist/components/file-upload/index.d.cts +46 -0
  194. package/dist/components/file-upload/index.d.ts +46 -0
  195. package/dist/components/file-upload/index.js +14 -0
  196. package/dist/components/grid-list/index.cjs +2 -2
  197. package/dist/components/grid-list/index.d.cts +67 -5
  198. package/dist/components/grid-list/index.d.ts +67 -5
  199. package/dist/components/grid-list/index.js +1 -1
  200. package/dist/components/heading/index.cjs +31 -0
  201. package/dist/components/heading/index.d.cts +1 -0
  202. package/dist/components/heading/index.d.ts +1 -0
  203. package/dist/components/heading/index.js +8 -0
  204. package/dist/components/hover-card/index.cjs +66 -0
  205. package/dist/components/hover-card/index.d.cts +21 -0
  206. package/dist/components/hover-card/index.d.ts +21 -0
  207. package/dist/components/hover-card/index.js +8 -0
  208. package/dist/components/icon/index.cjs +31 -0
  209. package/dist/components/icon/index.d.cts +1 -0
  210. package/dist/components/icon/index.d.ts +1 -0
  211. package/dist/components/icon/index.js +8 -0
  212. package/dist/components/icon-badge/index.cjs +3 -3
  213. package/dist/components/icon-badge/index.d.cts +1 -1
  214. package/dist/components/icon-badge/index.d.ts +1 -1
  215. package/dist/components/icon-badge/index.js +1 -1
  216. package/dist/components/icon-button/index.cjs +53 -0
  217. package/dist/components/icon-button/index.d.cts +8 -0
  218. package/dist/components/icon-button/index.d.ts +8 -0
  219. package/dist/components/icon-button/index.js +9 -0
  220. package/dist/components/icons/index.cjs +31 -2
  221. package/dist/components/icons/index.d.cts +4 -1
  222. package/dist/components/icons/index.d.ts +4 -1
  223. package/dist/components/icons/index.js +7 -1
  224. package/dist/components/image/index.cjs +31 -0
  225. package/dist/components/image/index.d.cts +1 -0
  226. package/dist/components/image/index.d.ts +1 -0
  227. package/dist/components/image/index.js +8 -0
  228. package/dist/components/info-tip/index.cjs +299 -0
  229. package/dist/components/info-tip/index.d.cts +13 -0
  230. package/dist/components/info-tip/index.d.ts +13 -0
  231. package/dist/components/info-tip/index.js +16 -0
  232. package/dist/components/input/index.cjs +37 -0
  233. package/dist/components/input/index.d.cts +1 -0
  234. package/dist/components/input/index.d.ts +1 -0
  235. package/dist/components/input/index.js +14 -0
  236. package/dist/components/input-group/index.cjs +9 -4
  237. package/dist/components/input-group/index.d.cts +3 -2
  238. package/dist/components/input-group/index.d.ts +3 -2
  239. package/dist/components/input-group/index.js +2 -1
  240. package/dist/components/kbd/index.cjs +31 -0
  241. package/dist/components/kbd/index.d.cts +1 -0
  242. package/dist/components/kbd/index.d.ts +1 -0
  243. package/dist/components/kbd/index.js +8 -0
  244. package/dist/components/link/index.cjs +2 -2
  245. package/dist/components/link/index.d.cts +2 -2
  246. package/dist/components/link/index.d.ts +2 -2
  247. package/dist/components/link/index.js +2 -1
  248. package/dist/components/list/index.cjs +31 -0
  249. package/dist/components/list/index.d.cts +1 -0
  250. package/dist/components/list/index.d.ts +1 -0
  251. package/dist/components/list/index.js +8 -0
  252. package/dist/components/loader/index.cjs +31 -0
  253. package/dist/components/loader/index.d.cts +1 -0
  254. package/dist/components/loader/index.d.ts +1 -0
  255. package/dist/components/loader/index.js +8 -0
  256. package/dist/components/loading-overlay/index.cjs +12 -9
  257. package/dist/components/loading-overlay/index.d.cts +6 -22
  258. package/dist/components/loading-overlay/index.d.ts +6 -22
  259. package/dist/components/loading-overlay/index.js +2 -2
  260. package/dist/components/mark/index.cjs +31 -0
  261. package/dist/components/mark/index.d.cts +1 -0
  262. package/dist/components/mark/index.d.ts +1 -0
  263. package/dist/components/mark/index.js +8 -0
  264. package/dist/components/menu/index.cjs +92 -99
  265. package/dist/components/menu/index.d.cts +2 -1
  266. package/dist/components/menu/index.d.ts +2 -1
  267. package/dist/components/menu/index.js +3 -3
  268. package/dist/components/native-select/index.cjs +178 -0
  269. package/dist/components/native-select/index.d.cts +10 -0
  270. package/dist/components/native-select/index.d.ts +10 -0
  271. package/dist/components/native-select/index.js +10 -0
  272. package/dist/components/navbar/index.cjs +42 -4
  273. package/dist/components/navbar/index.d.cts +4 -1
  274. package/dist/components/navbar/index.d.ts +4 -1
  275. package/dist/components/navbar/index.js +2 -1
  276. package/dist/components/number-input/index.cjs +25 -12
  277. package/dist/components/number-input/index.d.cts +1 -1
  278. package/dist/components/number-input/index.d.ts +1 -1
  279. package/dist/components/number-input/index.js +3 -2
  280. package/dist/components/pagination/index.cjs +253 -0
  281. package/dist/components/pagination/index.d.cts +43 -0
  282. package/dist/components/pagination/index.d.ts +43 -0
  283. package/dist/components/pagination/index.js +11 -0
  284. package/dist/components/password-input/index.cjs +45 -17
  285. package/dist/components/password-input/index.d.cts +4 -2
  286. package/dist/components/password-input/index.d.ts +4 -2
  287. package/dist/components/password-input/index.js +5 -2
  288. package/dist/components/persona/index.cjs +63 -34
  289. package/dist/components/persona/index.d.cts +113 -4
  290. package/dist/components/persona/index.d.ts +113 -4
  291. package/dist/components/persona/index.js +2 -1
  292. package/dist/components/pin-input/index.cjs +5 -4
  293. package/dist/components/pin-input/index.d.cts +1 -1
  294. package/dist/components/pin-input/index.d.ts +1 -1
  295. package/dist/components/pin-input/index.js +1 -1
  296. package/dist/components/popover/index.cjs +252 -0
  297. package/dist/components/popover/index.d.cts +3 -0
  298. package/dist/components/popover/index.d.ts +3 -0
  299. package/dist/components/popover/index.js +13 -0
  300. package/dist/components/progress/index.cjs +31 -0
  301. package/dist/components/progress/index.d.cts +1 -0
  302. package/dist/components/progress/index.d.ts +1 -0
  303. package/dist/components/progress/index.js +8 -0
  304. package/dist/components/progress-circle/index.cjs +31 -0
  305. package/dist/components/progress-circle/index.d.cts +1 -0
  306. package/dist/components/progress-circle/index.d.ts +1 -0
  307. package/dist/components/progress-circle/index.js +8 -0
  308. package/dist/components/radio/index.cjs +6 -6
  309. package/dist/components/radio/index.d.cts +1 -1
  310. package/dist/components/radio/index.d.ts +1 -1
  311. package/dist/components/radio/index.js +1 -1
  312. package/dist/components/radio-card/index.cjs +75 -0
  313. package/dist/components/radio-card/index.d.cts +31 -0
  314. package/dist/components/radio-card/index.d.ts +31 -0
  315. package/dist/components/radio-card/index.js +8 -0
  316. package/dist/components/rating-group/index.cjs +31 -0
  317. package/dist/components/rating-group/index.d.cts +1 -0
  318. package/dist/components/rating-group/index.d.ts +1 -0
  319. package/dist/components/rating-group/index.js +8 -0
  320. package/dist/components/search-input/index.cjs +39 -16
  321. package/dist/components/search-input/index.js +2 -2
  322. package/dist/components/segmented-control/index.cjs +8 -7
  323. package/dist/components/segmented-control/index.d.cts +1 -1
  324. package/dist/components/segmented-control/index.d.ts +1 -1
  325. package/dist/components/segmented-control/index.js +1 -1
  326. package/dist/components/select/index.cjs +109 -63
  327. package/dist/components/select/index.d.cts +2 -1
  328. package/dist/components/select/index.d.ts +2 -1
  329. package/dist/components/select/index.js +6 -3
  330. package/dist/components/separator/index.cjs +31 -0
  331. package/dist/components/separator/index.d.cts +1 -0
  332. package/dist/components/separator/index.d.ts +1 -0
  333. package/dist/components/separator/index.js +8 -0
  334. package/dist/components/sidebar/index.cjs +8 -2
  335. package/dist/components/sidebar/index.d.cts +9 -5
  336. package/dist/components/sidebar/index.d.ts +9 -5
  337. package/dist/components/sidebar/index.js +1 -1
  338. package/dist/components/skeleton/index.cjs +61 -0
  339. package/dist/components/skeleton/index.d.cts +17 -0
  340. package/dist/components/skeleton/index.d.ts +17 -0
  341. package/dist/components/skeleton/index.js +12 -0
  342. package/dist/components/skip-nav-link/index.cjs +33 -0
  343. package/dist/components/skip-nav-link/index.d.cts +1 -0
  344. package/dist/components/skip-nav-link/index.d.ts +1 -0
  345. package/dist/components/skip-nav-link/index.js +10 -0
  346. package/dist/components/slider/index.cjs +62 -0
  347. package/dist/components/slider/index.d.cts +13 -0
  348. package/dist/components/slider/index.d.ts +13 -0
  349. package/dist/components/slider/index.js +8 -0
  350. package/dist/components/spinner/index.cjs +2 -2
  351. package/dist/components/spinner/index.d.cts +1 -1
  352. package/dist/components/spinner/index.d.ts +1 -1
  353. package/dist/components/spinner/index.js +1 -1
  354. package/dist/components/stat/index.cjs +83 -0
  355. package/dist/components/stat/index.d.cts +29 -0
  356. package/dist/components/stat/index.d.ts +29 -0
  357. package/dist/components/stat/index.js +8 -0
  358. package/dist/components/status/index.cjs +45 -0
  359. package/dist/components/status/index.d.cts +18 -0
  360. package/dist/components/status/index.d.ts +18 -0
  361. package/dist/components/status/index.js +8 -0
  362. package/dist/components/steps/index.cjs +48 -23
  363. package/dist/components/steps/index.d.cts +2 -2
  364. package/dist/components/steps/index.d.ts +2 -2
  365. package/dist/components/steps/index.js +2 -2
  366. package/dist/components/switch/index.cjs +9 -9
  367. package/dist/components/switch/index.d.cts +1 -1
  368. package/dist/components/switch/index.d.ts +1 -1
  369. package/dist/components/switch/index.js +1 -1
  370. package/dist/components/table/index.cjs +31 -0
  371. package/dist/components/table/index.d.cts +1 -0
  372. package/dist/components/table/index.d.ts +1 -0
  373. package/dist/components/table/index.js +8 -0
  374. package/dist/components/tabs/index.cjs +37 -0
  375. package/dist/components/tabs/index.d.cts +1 -0
  376. package/dist/components/tabs/index.d.ts +1 -0
  377. package/dist/components/tabs/index.js +14 -0
  378. package/dist/components/tag/index.cjs +53 -0
  379. package/dist/components/tag/index.d.cts +12 -0
  380. package/dist/components/tag/index.d.ts +12 -0
  381. package/dist/components/tag/index.js +8 -0
  382. package/dist/components/textarea/index.cjs +31 -0
  383. package/dist/components/textarea/index.d.cts +1 -0
  384. package/dist/components/textarea/index.d.ts +1 -0
  385. package/dist/components/textarea/index.js +8 -0
  386. package/dist/components/timeline/index.cjs +31 -0
  387. package/dist/components/timeline/index.d.cts +1 -0
  388. package/dist/components/timeline/index.d.ts +1 -0
  389. package/dist/components/timeline/index.js +8 -0
  390. package/dist/components/toaster/index.cjs +215 -12
  391. package/dist/components/toaster/index.d.cts +6 -5
  392. package/dist/components/toaster/index.d.ts +6 -5
  393. package/dist/components/toaster/index.js +7 -1
  394. package/dist/components/toggle-tip/index.cjs +289 -0
  395. package/dist/components/toggle-tip/index.d.cts +13 -0
  396. package/dist/components/toggle-tip/index.d.ts +13 -0
  397. package/dist/components/toggle-tip/index.js +14 -0
  398. package/dist/components/tooltip/index.cjs +6 -5
  399. package/dist/components/tooltip/index.d.cts +1 -1
  400. package/dist/components/tooltip/index.d.ts +1 -1
  401. package/dist/components/tooltip/index.js +1 -1
  402. package/dist/index-zAqswhEI.d.cts +37 -0
  403. package/dist/index-zAqswhEI.d.ts +37 -0
  404. package/dist/index.cjs +4118 -2660
  405. package/dist/index.d.cts +89 -6
  406. package/dist/index.d.ts +89 -6
  407. package/dist/index.js +2686 -1960
  408. package/dist/loading-overlay-BQ4lOS6T.d.ts +23 -0
  409. package/dist/loading-overlay-afP_W7ru.d.cts +23 -0
  410. package/dist/theme/tokens/colors.cjs +3 -3
  411. package/dist/theme/tokens/colors.js +1 -1
  412. package/dist/types-DnFoUudY.d.cts +10 -0
  413. package/dist/types-DnFoUudY.d.ts +10 -0
  414. package/package.json +7 -7
  415. package/dist/chunk-BCNPBZZK.js +0 -45
  416. package/dist/chunk-CB52LBJK.js +0 -71
  417. package/dist/chunk-FZW2DYK3.js +0 -19
  418. package/dist/chunk-H6TFEHY4.js +0 -63
  419. package/dist/chunk-HELHPHIQ.js +0 -35
@@ -0,0 +1,64 @@
1
+ 'use client'
2
+ import {
3
+ CloseButton
4
+ } from "./chunk-H7KPEI6P.js";
5
+ import {
6
+ __export
7
+ } from "./chunk-RTMS5TJN.js";
8
+
9
+ // src/components/popover/popover.tsx
10
+ var popover_exports = {};
11
+ __export(popover_exports, {
12
+ Arrow: () => Arrow,
13
+ Body: () => Body,
14
+ CloseButton: () => CloseButton2,
15
+ CloseTrigger: () => CloseTrigger,
16
+ Content: () => Content,
17
+ Description: () => Description,
18
+ Footer: () => Footer,
19
+ Header: () => Header,
20
+ Root: () => Root,
21
+ Title: () => Title,
22
+ Trigger: () => Trigger
23
+ });
24
+ import * as React from "react";
25
+ import { Popover as ChakraPopover } from "@chakra-ui/react/popover";
26
+ import { Portal } from "@chakra-ui/react/portal";
27
+ import { jsx } from "react/jsx-runtime";
28
+ var Content = React.forwardRef(
29
+ function PopoverContent(props, ref) {
30
+ const { portalled = true, portalRef, ...rest } = props;
31
+ return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(ChakraPopover.Positioner, { children: /* @__PURE__ */ jsx(ChakraPopover.Content, { ref, ...rest }) }) });
32
+ }
33
+ );
34
+ var Arrow = React.forwardRef(
35
+ function PopoverArrow(props, ref) {
36
+ return /* @__PURE__ */ jsx(ChakraPopover.Arrow, { ...props, ref, children: /* @__PURE__ */ jsx(ChakraPopover.ArrowTip, {}) });
37
+ }
38
+ );
39
+ var CloseButton2 = React.forwardRef(function PopoverCloseTrigger(props, ref) {
40
+ return /* @__PURE__ */ jsx(
41
+ ChakraPopover.CloseTrigger,
42
+ {
43
+ position: "absolute",
44
+ top: "1",
45
+ insetEnd: "1",
46
+ ...props,
47
+ asChild: true,
48
+ ref,
49
+ children: /* @__PURE__ */ jsx(CloseButton, { size: "sm" })
50
+ }
51
+ );
52
+ });
53
+ var CloseTrigger = ChakraPopover.CloseTrigger;
54
+ var Title = ChakraPopover.Title;
55
+ var Description = ChakraPopover.Description;
56
+ var Footer = ChakraPopover.Footer;
57
+ var Header = ChakraPopover.Header;
58
+ var Root = ChakraPopover.Root;
59
+ var Body = ChakraPopover.Body;
60
+ var Trigger = ChakraPopover.Trigger;
61
+
62
+ export {
63
+ popover_exports
64
+ };
@@ -2,7 +2,8 @@
2
2
 
3
3
  // src/components/segmented-control/segmented-control.tsx
4
4
  import { forwardRef, useMemo } from "react";
5
- import { For, SegmentGroup } from "@chakra-ui/react";
5
+ import { For } from "@chakra-ui/react/for";
6
+ import { SegmentGroup } from "@chakra-ui/react/segment-group";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
8
  function normalize(items) {
8
9
  return items.map((item) => {
@@ -0,0 +1,53 @@
1
+ 'use client'
2
+ import {
3
+ __export
4
+ } from "./chunk-RTMS5TJN.js";
5
+
6
+ // src/components/radio-card/radio-card.tsx
7
+ var radio_card_exports = {};
8
+ __export(radio_card_exports, {
9
+ Item: () => RadioCardItem,
10
+ ItemIndicator: () => RadioCardItemIndicator,
11
+ Label: () => RadioCardLabel,
12
+ Root: () => RadioCardRoot
13
+ });
14
+ import { Fragment, forwardRef } from "react";
15
+ import { RadioCard } from "@chakra-ui/react/radio-card";
16
+ import { jsx, jsxs } from "react/jsx-runtime";
17
+ var RadioCardItem = forwardRef(
18
+ function RadioCardItem2(props, ref) {
19
+ const {
20
+ inputProps,
21
+ label,
22
+ description,
23
+ addon,
24
+ icon,
25
+ indicator = /* @__PURE__ */ jsx(RadioCard.ItemIndicator, {}),
26
+ indicatorPlacement = "end",
27
+ ...rest
28
+ } = props;
29
+ const hasContent = label || description || icon;
30
+ const ContentWrapper = indicator ? RadioCard.ItemContent : Fragment;
31
+ return /* @__PURE__ */ jsxs(RadioCard.Item, { ...rest, children: [
32
+ /* @__PURE__ */ jsx(RadioCard.ItemHiddenInput, { ref, ...inputProps }),
33
+ /* @__PURE__ */ jsxs(RadioCard.ItemControl, { children: [
34
+ indicatorPlacement === "start" && indicator,
35
+ hasContent && /* @__PURE__ */ jsxs(ContentWrapper, { children: [
36
+ icon,
37
+ label && /* @__PURE__ */ jsx(RadioCard.ItemText, { children: label }),
38
+ description && /* @__PURE__ */ jsx(RadioCard.ItemDescription, { children: description }),
39
+ indicatorPlacement === "inside" && indicator
40
+ ] }),
41
+ indicatorPlacement === "end" && indicator
42
+ ] }),
43
+ addon && /* @__PURE__ */ jsx(RadioCard.ItemAddon, { children: addon })
44
+ ] });
45
+ }
46
+ );
47
+ var RadioCardRoot = RadioCard.Root;
48
+ var RadioCardLabel = RadioCard.Label;
49
+ var RadioCardItemIndicator = RadioCard.ItemIndicator;
50
+
51
+ export {
52
+ radio_card_exports
53
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/icon/index.ts
4
+ import { Icon } from "@chakra-ui/react/icon";
5
+
6
+ export {
7
+ Icon
8
+ };
@@ -2,7 +2,7 @@
2
2
 
3
3
  // src/components/spinner/spinner.tsx
4
4
  import { forwardRef } from "react";
5
- import { Spinner as ChakraSpinner } from "@chakra-ui/react";
5
+ import { Spinner as ChakraSpinner } from "@chakra-ui/react/spinner";
6
6
  import { Fragment, jsx } from "react/jsx-runtime";
7
7
  var Spinner = forwardRef(
8
8
  function Spinner2(props, ref) {
@@ -0,0 +1,34 @@
1
+ 'use client'
2
+ import {
3
+ __export
4
+ } from "./chunk-RTMS5TJN.js";
5
+
6
+ // src/components/hover-card/hover-card.tsx
7
+ var hover_card_exports = {};
8
+ __export(hover_card_exports, {
9
+ Arrow: () => Arrow,
10
+ Content: () => Content,
11
+ Root: () => Root,
12
+ Trigger: () => Trigger
13
+ });
14
+ import * as React from "react";
15
+ import { HoverCard } from "@chakra-ui/react/hover-card";
16
+ import { Portal } from "@chakra-ui/react/portal";
17
+ import { jsx } from "react/jsx-runtime";
18
+ var Content = React.forwardRef(
19
+ function HoverCardContent(props, ref) {
20
+ const { portalled = true, portalRef, ...rest } = props;
21
+ return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(HoverCard.Positioner, { children: /* @__PURE__ */ jsx(HoverCard.Content, { ref, ...rest }) }) });
22
+ }
23
+ );
24
+ var Arrow = React.forwardRef(
25
+ function HoverCardArrow(props, ref) {
26
+ return /* @__PURE__ */ jsx(HoverCard.Arrow, { ref, ...props, children: /* @__PURE__ */ jsx(HoverCard.ArrowTip, {}) });
27
+ }
28
+ );
29
+ var Root = HoverCard.Root;
30
+ var Trigger = HoverCard.Trigger;
31
+
32
+ export {
33
+ hover_card_exports
34
+ };
@@ -1,19 +1,25 @@
1
1
  'use client'
2
2
 
3
3
  // src/components/empty-state/empty-state.tsx
4
- import { EmptyState as ChakraEmptyState, VStack } from "@chakra-ui/react";
5
4
  import { forwardRef } from "react";
5
+ import {
6
+ Box,
7
+ EmptyState as ChakraEmptyState,
8
+ useEmptyStateStyles
9
+ } from "@chakra-ui/react";
6
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
+ var EmptyStateActions = (props) => {
12
+ const { actions } = useEmptyStateStyles();
13
+ return /* @__PURE__ */ jsx(Box, { ...props, css: [actions, props.css] });
14
+ };
7
15
  var EmptyState = forwardRef(
8
16
  function EmptyState2(props, ref) {
9
17
  const { title, description, icon, children, ...rest } = props;
10
18
  return /* @__PURE__ */ jsx(ChakraEmptyState.Root, { ref, ...rest, children: /* @__PURE__ */ jsxs(ChakraEmptyState.Content, { children: [
11
19
  icon && /* @__PURE__ */ jsx(ChakraEmptyState.Indicator, { children: icon }),
12
- description ? /* @__PURE__ */ jsxs(VStack, { textAlign: "center", children: [
13
- /* @__PURE__ */ jsx(ChakraEmptyState.Title, { children: title }),
14
- /* @__PURE__ */ jsx(ChakraEmptyState.Description, { children: description })
15
- ] }) : /* @__PURE__ */ jsx(ChakraEmptyState.Title, { children: title }),
16
- children
20
+ /* @__PURE__ */ jsx(ChakraEmptyState.Title, { children: title }),
21
+ description ? /* @__PURE__ */ jsx(ChakraEmptyState.Description, { children: description }) : null,
22
+ /* @__PURE__ */ jsx(EmptyStateActions, { children })
17
23
  ] }) });
18
24
  }
19
25
  );
@@ -0,0 +1,41 @@
1
+ 'use client'
2
+
3
+ // src/components/checkbox-card/checkbox-card.tsx
4
+ import { Fragment, forwardRef } from "react";
5
+ import { CheckboxCard as ChakraCheckboxCard } from "@chakra-ui/react/checkbox-card";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ var CheckboxCard = forwardRef(
8
+ function CheckboxCard2(props, ref) {
9
+ const {
10
+ inputProps,
11
+ label,
12
+ description,
13
+ icon,
14
+ addon,
15
+ indicator = /* @__PURE__ */ jsx(ChakraCheckboxCard.Indicator, {}),
16
+ indicatorPlacement = "end",
17
+ ...rest
18
+ } = props;
19
+ const hasContent = label || description || icon;
20
+ const ContentWrapper = indicator ? ChakraCheckboxCard.Content : Fragment;
21
+ return /* @__PURE__ */ jsxs(ChakraCheckboxCard.Root, { ...rest, children: [
22
+ /* @__PURE__ */ jsx(ChakraCheckboxCard.HiddenInput, { ref, ...inputProps }),
23
+ /* @__PURE__ */ jsxs(ChakraCheckboxCard.Control, { children: [
24
+ indicatorPlacement === "start" && indicator,
25
+ hasContent && /* @__PURE__ */ jsxs(ContentWrapper, { children: [
26
+ icon,
27
+ label && /* @__PURE__ */ jsx(ChakraCheckboxCard.Label, { children: label }),
28
+ description && /* @__PURE__ */ jsx(ChakraCheckboxCard.Description, { children: description }),
29
+ indicatorPlacement === "inside" && indicator
30
+ ] }),
31
+ indicatorPlacement === "end" && indicator
32
+ ] }),
33
+ addon && /* @__PURE__ */ jsx(ChakraCheckboxCard.Addon, { children: addon })
34
+ ] });
35
+ }
36
+ );
37
+ var CheckboxCardIndicator = ChakraCheckboxCard.Indicator;
38
+
39
+ export {
40
+ CheckboxCard
41
+ };
@@ -6,7 +6,7 @@ import { cloneElement, isValidElement } from "react";
6
6
  import {
7
7
  chakra,
8
8
  useRecipe
9
- } from "@chakra-ui/react";
9
+ } from "@chakra-ui/react/styled-system";
10
10
  import { cx } from "@saas-ui/core/utils";
11
11
  import { jsx } from "react/jsx-runtime";
12
12
  var IconBadge = React.forwardRef(
@@ -1,9 +1,5 @@
1
1
  'use client'
2
2
 
3
- // src/components/link/link.tsx
4
- import React2 from "react";
5
- import { Link as ChakraLink } from "@chakra-ui/react";
6
-
7
3
  // src/provider/sui-provider.tsx
8
4
  import * as React from "react";
9
5
  import { ChakraProvider } from "@chakra-ui/react";
@@ -31,20 +27,9 @@ function useLink() {
31
27
  return chakra.a;
32
28
  }
33
29
 
34
- // src/components/link/link.tsx
35
- import { jsx as jsx2 } from "react/jsx-runtime";
36
- var Link = React2.forwardRef(
37
- (props, ref) => {
38
- const LinkComponent = useLink();
39
- return /* @__PURE__ */ jsx2(ChakraLink, { asChild: true, children: /* @__PURE__ */ jsx2(LinkComponent, { ref, ...props }) });
40
- }
41
- );
42
- Link.displayName = "Link";
43
-
44
30
  export {
45
31
  SuiContext,
46
32
  SuiProvider,
47
33
  useSui,
48
- useLink,
49
- Link
34
+ useLink
50
35
  };
@@ -0,0 +1,26 @@
1
+ 'use client'
2
+ import {
3
+ Button
4
+ } from "./chunk-5HVAMQYO.js";
5
+
6
+ // src/components/icon-button/icon-button.tsx
7
+ import { forwardRef } from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ var IconButton = forwardRef(
10
+ function IconButton2(props, ref) {
11
+ return /* @__PURE__ */ jsx(
12
+ Button,
13
+ {
14
+ px: "0",
15
+ py: "0",
16
+ _icon: { fontSize: "1.2em" },
17
+ ref,
18
+ ...props
19
+ }
20
+ );
21
+ }
22
+ );
23
+
24
+ export {
25
+ IconButton
26
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/kbd/index.ts
4
+ import { Kbd } from "@chakra-ui/react/kbd";
5
+
6
+ export {
7
+ Kbd
8
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/collapsible/index.ts
4
+ import { Collapsible } from "@chakra-ui/react/collapsible";
5
+
6
+ export {
7
+ Collapsible
8
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/container/index.ts
4
+ import { Container } from "@chakra-ui/react/container";
5
+
6
+ export {
7
+ Container
8
+ };
@@ -1,4 +1,7 @@
1
1
  'use client'
2
+ import {
3
+ useLink
4
+ } from "./chunk-O2WVT2BP.js";
2
5
  import {
3
6
  __export
4
7
  } from "./chunk-RTMS5TJN.js";
@@ -12,6 +15,7 @@ __export(navbar_exports, {
12
15
  Link: () => NavbarLink,
13
16
  Root: () => NavbarRoot
14
17
  });
18
+ import { forwardRef } from "react";
15
19
  import { Navbar } from "@saas-ui/core/navbar";
16
20
 
17
21
  // src/components/navbar/navbar.context.ts
@@ -25,6 +29,7 @@ var {
25
29
  });
26
30
 
27
31
  // src/components/navbar/navbar.tsx
32
+ import { jsx } from "react/jsx-runtime";
28
33
  var NavbarRoot = withProvider(
29
34
  Navbar.Root,
30
35
  "root"
@@ -42,8 +47,15 @@ var NavbarItem = withContext(
42
47
  "item"
43
48
  );
44
49
  var NavbarLink = withContext(
45
- Navbar.Link,
46
- "link"
50
+ forwardRef((props, ref) => {
51
+ const Link = useLink();
52
+ const { active, ...rest } = props;
53
+ return /* @__PURE__ */ jsx(Navbar.Link, { asChild: true, ...rest, ref, children: /* @__PURE__ */ jsx(Link, { "data-active": active ? "" : void 0, ...props }) });
54
+ }),
55
+ "link",
56
+ {
57
+ forwardAsChild: true
58
+ }
47
59
  );
48
60
 
49
61
  export {
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/timeline/index.ts
4
+ import { Timeline } from "@chakra-ui/react/timeline";
5
+
6
+ export {
7
+ Timeline
8
+ };
@@ -0,0 +1,12 @@
1
+ 'use client'
2
+
3
+ // src/components/badge/index.ts
4
+ import {
5
+ Badge,
6
+ BadgePropsProvider
7
+ } from "@chakra-ui/react/badge";
8
+
9
+ export {
10
+ Badge,
11
+ BadgePropsProvider
12
+ };
@@ -2,7 +2,8 @@
2
2
 
3
3
  // src/components/pin-input/pin-input.tsx
4
4
  import { forwardRef } from "react";
5
- import { PinInput as ChakraPinInput, Group } from "@chakra-ui/react";
5
+ import { Group } from "@chakra-ui/react/group";
6
+ import { PinInput as ChakraPinInput } from "@chakra-ui/react/pin-input";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
8
  var PinInput = forwardRef(
8
9
  function PinInput2(props, ref) {
@@ -0,0 +1,44 @@
1
+ 'use client'
2
+ import {
3
+ ChevronRightIcon
4
+ } from "./chunk-4XB7B73X.js";
5
+ import {
6
+ __export
7
+ } from "./chunk-RTMS5TJN.js";
8
+
9
+ // src/components/accordion/accordion.tsx
10
+ var accordion_exports = {};
11
+ __export(accordion_exports, {
12
+ Item: () => Item,
13
+ ItemContent: () => ItemContent,
14
+ ItemTrigger: () => ItemTrigger,
15
+ Root: () => Root
16
+ });
17
+ import * as React from "react";
18
+ import { Accordion } from "@chakra-ui/react/accordion";
19
+ import { jsx, jsxs } from "react/jsx-runtime";
20
+ var ItemTrigger = React.forwardRef(function AccordionItemTrigger(props, ref) {
21
+ const {
22
+ children,
23
+ indicatorPlacement = "end",
24
+ indicatorIcon = /* @__PURE__ */ jsx(ChevronRightIcon, {}),
25
+ ...rest
26
+ } = props;
27
+ const indicator = /* @__PURE__ */ jsx(Accordion.ItemIndicator, { children: indicatorIcon });
28
+ return /* @__PURE__ */ jsxs(Accordion.ItemTrigger, { ...rest, ref, children: [
29
+ indicatorPlacement === "start" && indicator,
30
+ children,
31
+ indicatorPlacement === "end" && indicator
32
+ ] });
33
+ });
34
+ var ItemContent = React.forwardRef(
35
+ function AccordionItemContent(props, ref) {
36
+ return /* @__PURE__ */ jsx(Accordion.ItemContent, { children: /* @__PURE__ */ jsx(Accordion.ItemBody, { ...props, ref }) });
37
+ }
38
+ );
39
+ var Root = Accordion.Root;
40
+ var Item = Accordion.Item;
41
+
42
+ export {
43
+ accordion_exports
44
+ };
@@ -0,0 +1,20 @@
1
+ 'use client'
2
+ import {
3
+ useLink
4
+ } from "./chunk-O2WVT2BP.js";
5
+
6
+ // src/components/link/link.tsx
7
+ import React from "react";
8
+ import { Link as ChakraLink } from "@chakra-ui/react/link";
9
+ import { jsx } from "react/jsx-runtime";
10
+ var Link = React.forwardRef(
11
+ (props, ref) => {
12
+ const LinkComponent = useLink();
13
+ return /* @__PURE__ */ jsx(ChakraLink, { asChild: true, children: /* @__PURE__ */ jsx(LinkComponent, { ref, ...props }) });
14
+ }
15
+ );
16
+ Link.displayName = "Link";
17
+
18
+ export {
19
+ Link
20
+ };
@@ -0,0 +1,115 @@
1
+ 'use client'
2
+ import {
3
+ CloseButton
4
+ } from "./chunk-H7KPEI6P.js";
5
+ import {
6
+ Button
7
+ } from "./chunk-5HVAMQYO.js";
8
+ import {
9
+ __export
10
+ } from "./chunk-RTMS5TJN.js";
11
+
12
+ // src/components/file-upload/file-upload.tsx
13
+ var file_upload_exports = {};
14
+ __export(file_upload_exports, {
15
+ ClearTrigger: () => ClearTrigger,
16
+ Dropzone: () => Dropzone,
17
+ Input: () => Input,
18
+ Label: () => Label,
19
+ List: () => List,
20
+ Root: () => Root,
21
+ Trigger: () => Trigger
22
+ });
23
+ import * as React from "react";
24
+ import { Span } from "@chakra-ui/react";
25
+ import {
26
+ FileUpload as ChakraFileUpload,
27
+ useFileUploadContext
28
+ } from "@chakra-ui/react/file-upload";
29
+ import { useRecipe } from "@chakra-ui/react/styled-system";
30
+ import { jsx, jsxs } from "react/jsx-runtime";
31
+ var Root = React.forwardRef(
32
+ function FileUploadRoot(props, ref) {
33
+ const { children, inputProps, ...rest } = props;
34
+ return /* @__PURE__ */ jsxs(ChakraFileUpload.Root, { ...rest, children: [
35
+ /* @__PURE__ */ jsx(ChakraFileUpload.HiddenInput, { ref, ...inputProps }),
36
+ children
37
+ ] });
38
+ }
39
+ );
40
+ var Dropzone = React.forwardRef(
41
+ function FileUploadDropzone(props, ref) {
42
+ const { children, ...rest } = props;
43
+ return /* @__PURE__ */ jsx(ChakraFileUpload.Dropzone, { ref, ...rest, children: /* @__PURE__ */ jsx(ChakraFileUpload.DropzoneContent, { children }) });
44
+ }
45
+ );
46
+ var Item = React.forwardRef(
47
+ function FileUploadItem(props, ref) {
48
+ const { file, showSize, icon, clearable } = props;
49
+ return /* @__PURE__ */ jsxs(ChakraFileUpload.Item, { file, ref, children: [
50
+ /* @__PURE__ */ jsx(ChakraFileUpload.ItemPreview, { children: icon }),
51
+ showSize ? /* @__PURE__ */ jsxs(ChakraFileUpload.ItemContent, { children: [
52
+ /* @__PURE__ */ jsx(ChakraFileUpload.ItemName, {}),
53
+ /* @__PURE__ */ jsx(ChakraFileUpload.ItemSizeText, {})
54
+ ] }) : /* @__PURE__ */ jsx(ChakraFileUpload.ItemName, { flex: "1" }),
55
+ clearable && /* @__PURE__ */ jsx(ChakraFileUpload.ItemDeleteTrigger, { asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) })
56
+ ] });
57
+ }
58
+ );
59
+ var List = React.forwardRef(
60
+ function FileUploadList(props, ref) {
61
+ const { showSize, clearable, files, ...rest } = props;
62
+ const fileUpload = useFileUploadContext();
63
+ const acceptedFiles = files != null ? files : fileUpload.acceptedFiles;
64
+ if (acceptedFiles.length === 0) return null;
65
+ return /* @__PURE__ */ jsx(ChakraFileUpload.ItemGroup, { ref, ...rest, children: acceptedFiles.map((file) => /* @__PURE__ */ jsx(
66
+ Item,
67
+ {
68
+ file,
69
+ showSize,
70
+ clearable
71
+ },
72
+ file.name
73
+ )) });
74
+ }
75
+ );
76
+ var Input = React.forwardRef(
77
+ function FileInput(props, ref) {
78
+ const inputRecipe = useRecipe({ key: "input" });
79
+ const [recipeProps, restProps] = inputRecipe.splitVariantProps(props);
80
+ const { placeholder = "Select file(s)", ...rest } = restProps;
81
+ return /* @__PURE__ */ jsx(ChakraFileUpload.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(
82
+ Button,
83
+ {
84
+ unstyled: true,
85
+ py: "0",
86
+ ref,
87
+ ...rest,
88
+ css: [inputRecipe(recipeProps), props.css],
89
+ children: /* @__PURE__ */ jsx(ChakraFileUpload.Context, { children: ({ acceptedFiles }) => {
90
+ if (acceptedFiles.length === 1) {
91
+ return /* @__PURE__ */ jsx("span", { children: acceptedFiles[0].name });
92
+ }
93
+ if (acceptedFiles.length > 1) {
94
+ return /* @__PURE__ */ jsxs("span", { children: [
95
+ acceptedFiles.length,
96
+ " files"
97
+ ] });
98
+ }
99
+ return /* @__PURE__ */ jsx(Span, { color: "fg.subtle", children: placeholder });
100
+ } })
101
+ }
102
+ ) });
103
+ }
104
+ );
105
+ var Label = ChakraFileUpload.Label;
106
+ var ClearTrigger = ChakraFileUpload.ClearTrigger;
107
+ var Trigger = ChakraFileUpload.Trigger;
108
+
109
+ // src/components/file-upload/index.ts
110
+ import { useFileUploadContext as useFileUploadContext2 } from "@chakra-ui/react/file-upload";
111
+
112
+ export {
113
+ file_upload_exports,
114
+ useFileUploadContext2 as useFileUploadContext
115
+ };
@@ -1,16 +1,17 @@
1
1
  'use client'
2
2
  import {
3
3
  InputGroup
4
- } from "./chunk-PKI6YH2V.js";
4
+ } from "./chunk-HKMYYESV.js";
5
+ import {
6
+ Input
7
+ } from "./chunk-5MTFSSOH.js";
8
+ import {
9
+ IconButton
10
+ } from "./chunk-OJZPPAT6.js";
5
11
 
6
12
  // src/components/password-input/password-input.tsx
7
13
  import { forwardRef, useRef } from "react";
8
- import {
9
- IconButton,
10
- Input,
11
- mergeRefs,
12
- useControllableState
13
- } from "@chakra-ui/react";
14
+ import { mergeRefs, useControllableState } from "@chakra-ui/react";
14
15
 
15
16
  // ../../node_modules/react-icons/lib/iconBase.mjs
16
17
  import React2 from "react";
@@ -152,10 +153,10 @@ function IconBase(props) {
152
153
 
153
154
  // ../../node_modules/react-icons/lu/index.mjs
154
155
  function LuEyeOff(props) {
155
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M9.88 9.88a3 3 0 1 0 4.24 4.24" }, "child": [] }, { "tag": "path", "attr": { "d": "M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68" }, "child": [] }, { "tag": "path", "attr": { "d": "M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61" }, "child": [] }, { "tag": "line", "attr": { "x1": "2", "x2": "22", "y1": "2", "y2": "22" }, "child": [] }] })(props);
156
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
156
157
  }
157
158
  function LuEye(props) {
158
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
159
+ return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
159
160
  }
160
161
 
161
162
  // src/components/password-input/password-input.tsx
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/editable/index.ts
4
+ import { Editable } from "@chakra-ui/react/editable";
5
+
6
+ export {
7
+ Editable
8
+ };