@saas-ui/react 3.0.0-alpha.9 → 3.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/CHANGELOG.md +221 -38
  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-OJZPPAT6.js +26 -0
  55. package/dist/chunk-OQU4LWZW.js +8 -0
  56. package/dist/chunk-PEJYADAS.js +8 -0
  57. package/dist/chunk-PIQURQGB.js +8 -0
  58. package/dist/chunk-QLN2CBY6.js +8 -0
  59. package/dist/chunk-R2J5USV6.js +12 -0
  60. package/dist/{chunk-2EUACKRH.js → chunk-RYKJOZ3B.js} +2 -1
  61. package/dist/chunk-SD2NTPHR.js +44 -0
  62. package/dist/{chunk-TZBAM4AD.js → chunk-SXFVA6CX.js} +1 -1
  63. package/dist/chunk-T2FPZNCP.js +115 -0
  64. package/dist/{chunk-CD2JUFI2.js → chunk-T7XRS654.js} +10 -9
  65. package/dist/chunk-TEQVVR3W.js +8 -0
  66. package/dist/chunk-TH6YCBEG.js +8 -0
  67. package/dist/chunk-TWTXZ7PR.js +100 -0
  68. package/dist/{chunk-DPMEXCSG.js → chunk-U23VDAWJ.js} +8 -2
  69. package/dist/chunk-U3EPRSD3.js +20 -0
  70. package/dist/chunk-UEXUCHDD.js +34 -0
  71. package/dist/chunk-UIP2CHMU.js +8 -0
  72. package/dist/{chunk-JGHXJ3PI.js → chunk-UNF77J24.js} +6 -8
  73. package/dist/{chunk-M7FOBCOV.js → chunk-VJ4UOABT.js} +12 -19
  74. package/dist/chunk-WJZED26X.js +28 -0
  75. package/dist/chunk-XW747T2R.js +43 -0
  76. package/dist/chunk-XX2OY7LK.js +10 -0
  77. package/dist/chunk-YHQ5JGCC.js +1 -0
  78. package/dist/chunk-YLZEO3RK.js +24 -0
  79. package/dist/chunk-YMCOU2N5.js +8 -0
  80. package/dist/{chunk-6ZNR6N2K.js → chunk-YTTZX7ZE.js} +1 -1
  81. package/dist/chunk-Z37BQ5VU.js +54 -0
  82. package/dist/{chunk-L356FPLY.js → chunk-Z3SWPGPQ.js} +1 -1
  83. package/dist/{chunk-NSD5HRIP.js → chunk-ZUT5GZTD.js} +1 -1
  84. package/dist/components/accordion/index.cjs +197 -0
  85. package/dist/components/accordion/index.d.cts +29 -0
  86. package/dist/components/accordion/index.d.ts +29 -0
  87. package/dist/components/accordion/index.js +9 -0
  88. package/dist/components/action-bar/index.cjs +217 -0
  89. package/dist/components/action-bar/index.d.cts +33 -0
  90. package/dist/components/action-bar/index.d.ts +33 -0
  91. package/dist/components/action-bar/index.js +13 -0
  92. package/dist/components/alert/index.cjs +227 -0
  93. package/dist/components/alert/index.d.cts +14 -0
  94. package/dist/components/alert/index.d.ts +14 -0
  95. package/dist/components/alert/index.js +13 -0
  96. package/dist/components/app-shell/index.cjs +2 -2
  97. package/dist/components/app-shell/index.d.cts +1 -1
  98. package/dist/components/app-shell/index.d.ts +1 -1
  99. package/dist/components/app-shell/index.js +1 -1
  100. package/dist/components/avatar/index.cjs +7 -6
  101. package/dist/components/avatar/index.d.cts +3 -1
  102. package/dist/components/avatar/index.d.ts +3 -1
  103. package/dist/components/avatar/index.js +2 -1
  104. package/dist/components/badge/index.cjs +33 -0
  105. package/dist/components/badge/index.d.cts +27 -0
  106. package/dist/components/badge/index.d.ts +27 -0
  107. package/dist/components/badge/index.js +10 -0
  108. package/dist/components/blockquote/index.cjs +59 -0
  109. package/dist/components/blockquote/index.d.cts +12 -0
  110. package/dist/components/blockquote/index.d.ts +12 -0
  111. package/dist/components/blockquote/index.js +8 -0
  112. package/dist/components/breadcrumb/index.cjs +13 -13
  113. package/dist/components/breadcrumb/index.d.cts +13 -7
  114. package/dist/components/breadcrumb/index.d.ts +13 -7
  115. package/dist/components/breadcrumb/index.js +1 -1
  116. package/dist/components/button/index.cjs +2 -36
  117. package/dist/components/button/index.d.cts +1 -12
  118. package/dist/components/button/index.d.ts +1 -12
  119. package/dist/components/button/index.js +1 -1
  120. package/dist/components/button-group/index.cjs +31 -0
  121. package/dist/components/button-group/index.d.cts +1 -0
  122. package/dist/components/button-group/index.d.ts +1 -0
  123. package/dist/components/button-group/index.js +8 -0
  124. package/dist/components/card/index.cjs +32 -0
  125. package/dist/components/card/index.d.cts +1 -0
  126. package/dist/components/card/index.d.ts +1 -0
  127. package/dist/components/card/index.js +9 -0
  128. package/dist/components/checkbox/index.cjs +5 -5
  129. package/dist/components/checkbox/index.d.cts +1 -1
  130. package/dist/components/checkbox/index.d.ts +1 -1
  131. package/dist/components/checkbox/index.js +1 -1
  132. package/dist/components/checkbox-card/index.cjs +66 -0
  133. package/dist/components/checkbox-card/index.d.cts +15 -0
  134. package/dist/components/checkbox-card/index.d.ts +15 -0
  135. package/dist/components/checkbox-card/index.js +8 -0
  136. package/dist/components/checkmark/index.cjs +31 -0
  137. package/dist/components/checkmark/index.d.cts +1 -0
  138. package/dist/components/checkmark/index.d.ts +1 -0
  139. package/dist/components/checkmark/index.js +8 -0
  140. package/dist/components/clipboard/index.cjs +227 -0
  141. package/dist/components/clipboard/index.d.cts +28 -0
  142. package/dist/components/clipboard/index.d.ts +28 -0
  143. package/dist/components/clipboard/index.js +13 -0
  144. package/dist/components/close-button/index.cjs +82 -37
  145. package/dist/components/close-button/index.d.cts +3 -2
  146. package/dist/components/close-button/index.d.ts +3 -2
  147. package/dist/components/close-button/index.js +5 -2
  148. package/dist/components/code/index.cjs +31 -0
  149. package/dist/components/code/index.d.cts +1 -0
  150. package/dist/components/code/index.d.ts +1 -0
  151. package/dist/components/code/index.js +8 -0
  152. package/dist/components/collapsible/index.cjs +31 -0
  153. package/dist/components/collapsible/index.d.cts +1 -0
  154. package/dist/components/collapsible/index.d.ts +1 -0
  155. package/dist/components/collapsible/index.js +8 -0
  156. package/dist/components/command/index.cjs +18 -13
  157. package/dist/components/command/index.d.cts +28 -2
  158. package/dist/components/command/index.d.ts +28 -2
  159. package/dist/components/command/index.js +2 -1
  160. package/dist/components/container/index.cjs +31 -0
  161. package/dist/components/container/index.d.cts +1 -0
  162. package/dist/components/container/index.d.ts +1 -0
  163. package/dist/components/container/index.js +8 -0
  164. package/dist/components/data-list/index.cjs +33 -0
  165. package/dist/components/data-list/index.d.cts +1 -0
  166. package/dist/components/data-list/index.d.ts +1 -0
  167. package/dist/components/data-list/index.js +10 -0
  168. package/dist/components/dialog/index.cjs +127 -89
  169. package/dist/components/dialog/index.d.cts +36 -17
  170. package/dist/components/dialog/index.d.ts +36 -17
  171. package/dist/components/dialog/index.js +8 -5
  172. package/dist/components/drawer/index.cjs +123 -87
  173. package/dist/components/drawer/index.d.cts +33 -17
  174. package/dist/components/drawer/index.d.ts +33 -17
  175. package/dist/components/drawer/index.js +8 -5
  176. package/dist/components/editable/index.cjs +31 -0
  177. package/dist/components/editable/index.d.cts +1 -0
  178. package/dist/components/editable/index.d.ts +1 -0
  179. package/dist/components/editable/index.js +8 -0
  180. package/dist/components/empty-state/index.cjs +12 -10
  181. package/dist/components/empty-state/index.js +1 -1
  182. package/dist/components/field/index.cjs +35 -0
  183. package/dist/components/field/index.d.cts +1 -0
  184. package/dist/components/field/index.d.ts +1 -0
  185. package/dist/components/field/index.js +12 -0
  186. package/dist/components/fieldset/index.cjs +33 -0
  187. package/dist/components/fieldset/index.d.cts +1 -0
  188. package/dist/components/fieldset/index.d.ts +1 -0
  189. package/dist/components/fieldset/index.js +10 -0
  190. package/dist/components/file-upload/index.cjs +296 -0
  191. package/dist/components/file-upload/index.d.cts +46 -0
  192. package/dist/components/file-upload/index.d.ts +46 -0
  193. package/dist/components/file-upload/index.js +14 -0
  194. package/dist/components/grid-list/index.cjs +2 -2
  195. package/dist/components/grid-list/index.d.cts +67 -5
  196. package/dist/components/grid-list/index.d.ts +67 -5
  197. package/dist/components/grid-list/index.js +1 -1
  198. package/dist/components/heading/index.cjs +31 -0
  199. package/dist/components/heading/index.d.cts +1 -0
  200. package/dist/components/heading/index.d.ts +1 -0
  201. package/dist/components/heading/index.js +8 -0
  202. package/dist/components/hover-card/index.cjs +66 -0
  203. package/dist/components/hover-card/index.d.cts +21 -0
  204. package/dist/components/hover-card/index.d.ts +21 -0
  205. package/dist/components/hover-card/index.js +8 -0
  206. package/dist/components/icon/index.cjs +31 -0
  207. package/dist/components/icon/index.d.cts +1 -0
  208. package/dist/components/icon/index.d.ts +1 -0
  209. package/dist/components/icon/index.js +8 -0
  210. package/dist/components/icon-badge/index.cjs +3 -3
  211. package/dist/components/icon-badge/index.d.cts +1 -1
  212. package/dist/components/icon-badge/index.d.ts +1 -1
  213. package/dist/components/icon-badge/index.js +1 -1
  214. package/dist/components/icon-button/index.cjs +53 -0
  215. package/dist/components/icon-button/index.d.cts +8 -0
  216. package/dist/components/icon-button/index.d.ts +8 -0
  217. package/dist/components/icon-button/index.js +9 -0
  218. package/dist/components/icons/index.cjs +31 -2
  219. package/dist/components/icons/index.d.cts +4 -1
  220. package/dist/components/icons/index.d.ts +4 -1
  221. package/dist/components/icons/index.js +7 -1
  222. package/dist/components/image/index.cjs +31 -0
  223. package/dist/components/image/index.d.cts +1 -0
  224. package/dist/components/image/index.d.ts +1 -0
  225. package/dist/components/image/index.js +8 -0
  226. package/dist/components/info-tip/index.cjs +299 -0
  227. package/dist/components/info-tip/index.d.cts +13 -0
  228. package/dist/components/info-tip/index.d.ts +13 -0
  229. package/dist/components/info-tip/index.js +16 -0
  230. package/dist/components/input/index.cjs +37 -0
  231. package/dist/components/input/index.d.cts +1 -0
  232. package/dist/components/input/index.d.ts +1 -0
  233. package/dist/components/input/index.js +14 -0
  234. package/dist/components/input-group/index.cjs +9 -4
  235. package/dist/components/input-group/index.d.cts +3 -2
  236. package/dist/components/input-group/index.d.ts +3 -2
  237. package/dist/components/input-group/index.js +2 -1
  238. package/dist/components/kbd/index.cjs +31 -0
  239. package/dist/components/kbd/index.d.cts +1 -0
  240. package/dist/components/kbd/index.d.ts +1 -0
  241. package/dist/components/kbd/index.js +8 -0
  242. package/dist/components/link/index.cjs +2 -2
  243. package/dist/components/link/index.d.cts +2 -2
  244. package/dist/components/link/index.d.ts +2 -2
  245. package/dist/components/link/index.js +1 -1
  246. package/dist/components/list/index.cjs +31 -0
  247. package/dist/components/list/index.d.cts +1 -0
  248. package/dist/components/list/index.d.ts +1 -0
  249. package/dist/components/list/index.js +8 -0
  250. package/dist/components/loader/index.cjs +31 -0
  251. package/dist/components/loader/index.d.cts +1 -0
  252. package/dist/components/loader/index.d.ts +1 -0
  253. package/dist/components/loader/index.js +8 -0
  254. package/dist/components/loading-overlay/index.cjs +12 -9
  255. package/dist/components/loading-overlay/index.d.cts +6 -22
  256. package/dist/components/loading-overlay/index.d.ts +6 -22
  257. package/dist/components/loading-overlay/index.js +2 -2
  258. package/dist/components/mark/index.cjs +31 -0
  259. package/dist/components/mark/index.d.cts +1 -0
  260. package/dist/components/mark/index.d.ts +1 -0
  261. package/dist/components/mark/index.js +8 -0
  262. package/dist/components/menu/index.cjs +92 -99
  263. package/dist/components/menu/index.d.cts +2 -1
  264. package/dist/components/menu/index.d.ts +2 -1
  265. package/dist/components/menu/index.js +3 -3
  266. package/dist/components/native-select/index.cjs +178 -0
  267. package/dist/components/native-select/index.d.cts +10 -0
  268. package/dist/components/native-select/index.d.ts +10 -0
  269. package/dist/components/native-select/index.js +10 -0
  270. package/dist/components/number-input/index.cjs +25 -12
  271. package/dist/components/number-input/index.d.cts +1 -1
  272. package/dist/components/number-input/index.d.ts +1 -1
  273. package/dist/components/number-input/index.js +3 -2
  274. package/dist/components/pagination/index.cjs +253 -0
  275. package/dist/components/pagination/index.d.cts +43 -0
  276. package/dist/components/pagination/index.d.ts +43 -0
  277. package/dist/components/pagination/index.js +11 -0
  278. package/dist/components/password-input/index.cjs +45 -17
  279. package/dist/components/password-input/index.d.cts +4 -2
  280. package/dist/components/password-input/index.d.ts +4 -2
  281. package/dist/components/password-input/index.js +5 -2
  282. package/dist/components/persona/index.cjs +63 -34
  283. package/dist/components/persona/index.d.cts +113 -4
  284. package/dist/components/persona/index.d.ts +113 -4
  285. package/dist/components/persona/index.js +2 -1
  286. package/dist/components/pin-input/index.cjs +5 -4
  287. package/dist/components/pin-input/index.d.cts +1 -1
  288. package/dist/components/pin-input/index.d.ts +1 -1
  289. package/dist/components/pin-input/index.js +1 -1
  290. package/dist/components/popover/index.cjs +252 -0
  291. package/dist/components/popover/index.d.cts +3 -0
  292. package/dist/components/popover/index.d.ts +3 -0
  293. package/dist/components/popover/index.js +13 -0
  294. package/dist/components/progress/index.cjs +31 -0
  295. package/dist/components/progress/index.d.cts +1 -0
  296. package/dist/components/progress/index.d.ts +1 -0
  297. package/dist/components/progress/index.js +8 -0
  298. package/dist/components/progress-circle/index.cjs +31 -0
  299. package/dist/components/progress-circle/index.d.cts +1 -0
  300. package/dist/components/progress-circle/index.d.ts +1 -0
  301. package/dist/components/progress-circle/index.js +8 -0
  302. package/dist/components/radio/index.cjs +6 -6
  303. package/dist/components/radio/index.d.cts +1 -1
  304. package/dist/components/radio/index.d.ts +1 -1
  305. package/dist/components/radio/index.js +1 -1
  306. package/dist/components/radio-card/index.cjs +75 -0
  307. package/dist/components/radio-card/index.d.cts +31 -0
  308. package/dist/components/radio-card/index.d.ts +31 -0
  309. package/dist/components/radio-card/index.js +8 -0
  310. package/dist/components/rating-group/index.cjs +31 -0
  311. package/dist/components/rating-group/index.d.cts +1 -0
  312. package/dist/components/rating-group/index.d.ts +1 -0
  313. package/dist/components/rating-group/index.js +8 -0
  314. package/dist/components/search-input/index.cjs +39 -16
  315. package/dist/components/search-input/index.js +2 -2
  316. package/dist/components/segmented-control/index.cjs +8 -7
  317. package/dist/components/segmented-control/index.d.cts +1 -1
  318. package/dist/components/segmented-control/index.d.ts +1 -1
  319. package/dist/components/segmented-control/index.js +1 -1
  320. package/dist/components/select/index.cjs +109 -63
  321. package/dist/components/select/index.d.cts +2 -1
  322. package/dist/components/select/index.d.ts +2 -1
  323. package/dist/components/select/index.js +6 -3
  324. package/dist/components/separator/index.cjs +31 -0
  325. package/dist/components/separator/index.d.cts +1 -0
  326. package/dist/components/separator/index.d.ts +1 -0
  327. package/dist/components/separator/index.js +8 -0
  328. package/dist/components/sidebar/index.cjs +8 -2
  329. package/dist/components/sidebar/index.d.cts +9 -5
  330. package/dist/components/sidebar/index.d.ts +9 -5
  331. package/dist/components/sidebar/index.js +1 -1
  332. package/dist/components/skeleton/index.cjs +61 -0
  333. package/dist/components/skeleton/index.d.cts +17 -0
  334. package/dist/components/skeleton/index.d.ts +17 -0
  335. package/dist/components/skeleton/index.js +12 -0
  336. package/dist/components/skip-nav-link/index.cjs +33 -0
  337. package/dist/components/skip-nav-link/index.d.cts +1 -0
  338. package/dist/components/skip-nav-link/index.d.ts +1 -0
  339. package/dist/components/skip-nav-link/index.js +10 -0
  340. package/dist/components/slider/index.cjs +62 -0
  341. package/dist/components/slider/index.d.cts +13 -0
  342. package/dist/components/slider/index.d.ts +13 -0
  343. package/dist/components/slider/index.js +8 -0
  344. package/dist/components/spinner/index.cjs +2 -2
  345. package/dist/components/spinner/index.d.cts +1 -1
  346. package/dist/components/spinner/index.d.ts +1 -1
  347. package/dist/components/spinner/index.js +1 -1
  348. package/dist/components/stat/index.cjs +83 -0
  349. package/dist/components/stat/index.d.cts +29 -0
  350. package/dist/components/stat/index.d.ts +29 -0
  351. package/dist/components/stat/index.js +8 -0
  352. package/dist/components/status/index.cjs +45 -0
  353. package/dist/components/status/index.d.cts +18 -0
  354. package/dist/components/status/index.d.ts +18 -0
  355. package/dist/components/status/index.js +8 -0
  356. package/dist/components/steps/index.cjs +48 -23
  357. package/dist/components/steps/index.d.cts +2 -2
  358. package/dist/components/steps/index.d.ts +2 -2
  359. package/dist/components/steps/index.js +2 -2
  360. package/dist/components/switch/index.cjs +9 -9
  361. package/dist/components/switch/index.d.cts +1 -1
  362. package/dist/components/switch/index.d.ts +1 -1
  363. package/dist/components/switch/index.js +1 -1
  364. package/dist/components/table/index.cjs +31 -0
  365. package/dist/components/table/index.d.cts +1 -0
  366. package/dist/components/table/index.d.ts +1 -0
  367. package/dist/components/table/index.js +8 -0
  368. package/dist/components/tabs/index.cjs +37 -0
  369. package/dist/components/tabs/index.d.cts +1 -0
  370. package/dist/components/tabs/index.d.ts +1 -0
  371. package/dist/components/tabs/index.js +14 -0
  372. package/dist/components/tag/index.cjs +53 -0
  373. package/dist/components/tag/index.d.cts +12 -0
  374. package/dist/components/tag/index.d.ts +12 -0
  375. package/dist/components/tag/index.js +8 -0
  376. package/dist/components/textarea/index.cjs +31 -0
  377. package/dist/components/textarea/index.d.cts +1 -0
  378. package/dist/components/textarea/index.d.ts +1 -0
  379. package/dist/components/textarea/index.js +8 -0
  380. package/dist/components/timeline/index.cjs +31 -0
  381. package/dist/components/timeline/index.d.cts +1 -0
  382. package/dist/components/timeline/index.d.ts +1 -0
  383. package/dist/components/timeline/index.js +8 -0
  384. package/dist/components/toaster/index.cjs +215 -12
  385. package/dist/components/toaster/index.d.cts +6 -5
  386. package/dist/components/toaster/index.d.ts +6 -5
  387. package/dist/components/toaster/index.js +7 -1
  388. package/dist/components/toggle-tip/index.cjs +289 -0
  389. package/dist/components/toggle-tip/index.d.cts +13 -0
  390. package/dist/components/toggle-tip/index.d.ts +13 -0
  391. package/dist/components/toggle-tip/index.js +14 -0
  392. package/dist/components/tooltip/index.cjs +6 -5
  393. package/dist/components/tooltip/index.d.cts +1 -1
  394. package/dist/components/tooltip/index.d.ts +1 -1
  395. package/dist/components/tooltip/index.js +1 -1
  396. package/dist/index-zAqswhEI.d.cts +37 -0
  397. package/dist/index-zAqswhEI.d.ts +37 -0
  398. package/dist/index.cjs +4112 -2663
  399. package/dist/index.d.cts +89 -6
  400. package/dist/index.d.ts +89 -6
  401. package/dist/index.js +2684 -1960
  402. package/dist/loading-overlay-BQ4lOS6T.d.ts +23 -0
  403. package/dist/loading-overlay-afP_W7ru.d.cts +23 -0
  404. package/dist/theme/tokens/colors.cjs +3 -3
  405. package/dist/theme/tokens/colors.js +1 -1
  406. package/dist/types-DnFoUudY.d.cts +10 -0
  407. package/dist/types-DnFoUudY.d.ts +10 -0
  408. package/package.json +7 -7
  409. package/dist/chunk-BCNPBZZK.js +0 -45
  410. package/dist/chunk-CB52LBJK.js +0 -71
  411. package/dist/chunk-FZW2DYK3.js +0 -19
  412. package/dist/chunk-H6TFEHY4.js +0 -63
  413. package/dist/chunk-HELHPHIQ.js +0 -35
@@ -0,0 +1,68 @@
1
+ 'use client'
2
+ import {
3
+ Spinner
4
+ } from "./chunk-MK3OG2I4.js";
5
+ import {
6
+ CloseButton
7
+ } from "./chunk-H7KPEI6P.js";
8
+
9
+ // src/components/toaster/toaster.tsx
10
+ import { useCallback, useMemo, useState } from "react";
11
+ import { Portal } from "@chakra-ui/react/portal";
12
+ import { Stack } from "@chakra-ui/react/stack";
13
+ import {
14
+ Toaster as ChakraToaster,
15
+ Toast,
16
+ createToaster
17
+ } from "@chakra-ui/react/toast";
18
+ import { jsx, jsxs } from "react/jsx-runtime";
19
+ var defaultOptions = {
20
+ placement: "bottom-end",
21
+ pauseOnPageIdle: true
22
+ };
23
+ var toast = createToaster(defaultOptions);
24
+ var Toaster = (props) => {
25
+ const { closable: defaultClosable = true, ...options } = props || {};
26
+ const toaster = useMemo(() => {
27
+ toast = createToaster({
28
+ ...defaultOptions,
29
+ ...options
30
+ });
31
+ return toast;
32
+ }, [options]);
33
+ return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(ChakraToaster, { toaster, insetInline: { mdDown: "4" }, children: (toast2) => {
34
+ var _a;
35
+ const closable = ((_a = toast2.meta) == null ? void 0 : _a.closable) === false ? false : defaultClosable && toast2.type !== "loading";
36
+ return /* @__PURE__ */ jsxs(ToastRoot, { children: [
37
+ toast2.type === "loading" ? /* @__PURE__ */ jsx(Spinner, { size: "sm", color: "colorPalette.solid", mt: "0.5" }) : /* @__PURE__ */ jsx(Toast.Indicator, {}),
38
+ /* @__PURE__ */ jsxs(Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
39
+ toast2.title && /* @__PURE__ */ jsx(Toast.Title, { children: toast2.title }),
40
+ toast2.description && /* @__PURE__ */ jsx(Toast.Description, { children: toast2.description }),
41
+ toast2.action && /* @__PURE__ */ jsx(Toast.ActionTrigger, { children: toast2.action.label })
42
+ ] }),
43
+ closable !== false && /* @__PURE__ */ jsx(Toast.CloseTrigger, { children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) })
44
+ ] });
45
+ } }) });
46
+ };
47
+ function ToastRoot(props) {
48
+ const [rect, setRect] = useState();
49
+ const rectCallbackRef = useCallback((el) => {
50
+ setRect(el == null ? void 0 : el.getBoundingClientRect());
51
+ }, []);
52
+ return /* @__PURE__ */ jsx(
53
+ Toast.Root,
54
+ {
55
+ ref: rectCallbackRef,
56
+ width: { md: "sm" },
57
+ css: {
58
+ "--toast-height": `${rect == null ? void 0 : rect.height}px`
59
+ },
60
+ children: props.children
61
+ }
62
+ );
63
+ }
64
+
65
+ export {
66
+ toast,
67
+ Toaster
68
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/card/index.ts
4
+ import { Card } from "@chakra-ui/react/card";
5
+
6
+ export {
7
+ Card
8
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/progress-circle/index.ts
4
+ import { ProgressCircle } from "@chakra-ui/react/progress-circle";
5
+
6
+ export {
7
+ ProgressCircle
8
+ };
@@ -2,7 +2,8 @@
2
2
 
3
3
  // src/components/tooltip/tooltip.tsx
4
4
  import { forwardRef } from "react";
5
- import { Tooltip as ChakraTooltip, Portal } from "@chakra-ui/react";
5
+ import { Portal } from "@chakra-ui/react/portal";
6
+ import { Tooltip as ChakraTooltip } from "@chakra-ui/react/tooltip";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
8
  var Tooltip = forwardRef(
8
9
  function Tooltip2(props, ref) {
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/button-group/index.ts
4
+ import { ButtonGroup } from "@chakra-ui/react/button";
5
+
6
+ export {
7
+ ButtonGroup
8
+ };
@@ -0,0 +1,39 @@
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/action-bar/action-bar.tsx
10
+ var action_bar_exports = {};
11
+ __export(action_bar_exports, {
12
+ CloseButton: () => CloseButton2,
13
+ Content: () => Content,
14
+ Root: () => Root,
15
+ SelectionTrigger: () => SelectionTrigger,
16
+ Separator: () => Separator
17
+ });
18
+ import { forwardRef } from "react";
19
+ import { ActionBar } from "@chakra-ui/react/action-bar";
20
+ import { Portal } from "@chakra-ui/react/portal";
21
+ import { jsx } from "react/jsx-runtime";
22
+ var ActionBarContent = forwardRef(
23
+ function ActionBarContent2(props, ref) {
24
+ const { children, portalled = true, portalRef, ...rest } = props;
25
+ return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(ActionBar.Positioner, { children: /* @__PURE__ */ jsx(ActionBar.Content, { ref, ...rest, asChild: false, children }) }) });
26
+ }
27
+ );
28
+ var ActionBarCloseButton = forwardRef(function ActionBarCloseTrigger(props, ref) {
29
+ return /* @__PURE__ */ jsx(ActionBar.CloseTrigger, { ...props, asChild: true, ref, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm" }) });
30
+ });
31
+ var Root = ActionBar.Root;
32
+ var SelectionTrigger = ActionBar.SelectionTrigger;
33
+ var Separator = ActionBar.Separator;
34
+ var Content = ActionBarContent;
35
+ var CloseButton2 = ActionBarCloseButton;
36
+
37
+ export {
38
+ action_bar_exports
39
+ };
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import {
3
3
  Spinner
4
- } from "./chunk-32JGENDB.js";
4
+ } from "./chunk-MK3OG2I4.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-RTMS5TJN.js";
@@ -13,6 +13,7 @@ __export(loading_overlay_exports, {
13
13
  Spinner: () => LoadingOverlaySpinner,
14
14
  Text: () => LoadingOverlayText
15
15
  });
16
+ import { forwardRef } from "react";
16
17
  import {
17
18
  Presence,
18
19
  splitPresenceProps
@@ -31,11 +32,13 @@ var {
31
32
 
32
33
  // src/components/loading-overlay/loading-overlay.tsx
33
34
  import { jsx } from "react/jsx-runtime";
34
- var LoadingOverlay = (props) => {
35
- const { children, loading = true, ...rest } = props;
36
- const [presenceProps, rootProps] = splitPresenceProps(rest);
37
- return /* @__PURE__ */ jsx(Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ jsx(chakra.div, { ...rootProps, children }) });
38
- };
35
+ var LoadingOverlay = forwardRef(
36
+ (props, ref) => {
37
+ const { children, loading = true, ...rest } = props;
38
+ const [presenceProps, rootProps] = splitPresenceProps(rest);
39
+ return /* @__PURE__ */ jsx(Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ jsx(chakra.div, { ref, ...rootProps, children }) });
40
+ }
41
+ );
39
42
  var LoadingOverlayRoot = withProvider(
40
43
  LoadingOverlay,
41
44
  "root"
@@ -0,0 +1,12 @@
1
+ 'use client'
2
+
3
+ // src/components/skip-nav-link/index.ts
4
+ import {
5
+ SkipNavLink,
6
+ SkipNavContent
7
+ } from "@chakra-ui/react/skip-nav";
8
+
9
+ export {
10
+ SkipNavLink,
11
+ SkipNavContent
12
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/list/index.ts
4
+ import { List } from "@chakra-ui/react/list";
5
+
6
+ export {
7
+ List
8
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/textarea/index.ts
4
+ import { Textarea } from "@chakra-ui/react/textarea";
5
+
6
+ export {
7
+ Textarea
8
+ };
@@ -6,16 +6,16 @@ import {
6
6
  // src/components/breadcrumb/breadcrumb.tsx
7
7
  var breadcrumb_exports = {};
8
8
  __export(breadcrumb_exports, {
9
- CurrentLink: () => BreadcrumbCurrentLink,
10
- Ellipsis: () => BreadcrumbEllipsis,
11
- Link: () => BreadcrumbLink,
12
- Root: () => BreadcrumbRoot
9
+ CurrentLink: () => CurrentLink,
10
+ Ellipsis: () => Ellipsis,
11
+ Link: () => Link,
12
+ Root: () => Root
13
13
  });
14
14
  import { Children, Fragment, forwardRef, isValidElement } from "react";
15
- import { Breadcrumb } from "@chakra-ui/react";
15
+ import { Breadcrumb } from "@chakra-ui/react/breadcrumb";
16
16
  import { jsx, jsxs } from "react/jsx-runtime";
17
- var BreadcrumbRoot = forwardRef(
18
- function BreadcrumbRoot2(props, ref) {
17
+ var Root = forwardRef(
18
+ function BreadcrumbRoot(props, ref) {
19
19
  const { separator = "/", separatorGap, children, ...rest } = props;
20
20
  const validChildren = Children.toArray(children).filter(isValidElement);
21
21
  return /* @__PURE__ */ jsx(Breadcrumb.Root, { ref, ...rest, children: /* @__PURE__ */ jsx(Breadcrumb.List, { gap: separatorGap, children: validChildren.map((child, index) => {
@@ -27,9 +27,9 @@ var BreadcrumbRoot = forwardRef(
27
27
  }) }) });
28
28
  }
29
29
  );
30
- var BreadcrumbLink = Breadcrumb.Link;
31
- var BreadcrumbCurrentLink = Breadcrumb.CurrentLink;
32
- var BreadcrumbEllipsis = Breadcrumb.Ellipsis;
30
+ var Link = Breadcrumb.Link;
31
+ var CurrentLink = Breadcrumb.CurrentLink;
32
+ var Ellipsis = Breadcrumb.Ellipsis;
33
33
 
34
34
  export {
35
35
  breadcrumb_exports
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/loader/index.ts
4
+ import { Loader } from "@chakra-ui/react/loader";
5
+
6
+ export {
7
+ Loader
8
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/mark/index.ts
4
+ import { Mark } from "@chakra-ui/react/typography";
5
+
6
+ export {
7
+ Mark
8
+ };
@@ -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/dialog/dialog.tsx
10
+ var dialog_exports = {};
11
+ __export(dialog_exports, {
12
+ ActionTrigger: () => ActionTrigger,
13
+ Backdrop: () => Backdrop,
14
+ Body: () => Body,
15
+ CloseButton: () => CloseButton2,
16
+ CloseTrigger: () => CloseTrigger,
17
+ Content: () => Content,
18
+ Context: () => Context,
19
+ Description: () => Description,
20
+ DialogContext: () => DialogContext,
21
+ Footer: () => Footer,
22
+ Header: () => Header,
23
+ Root: () => Root,
24
+ Title: () => Title,
25
+ Trigger: () => Trigger
26
+ });
27
+ import { forwardRef } from "react";
28
+ import { Dialog as ChakraDialog } from "@chakra-ui/react/dialog";
29
+ import { Portal } from "@chakra-ui/react/portal";
30
+ import { DialogContext } from "@ark-ui/react/dialog";
31
+ import { jsx, jsxs } from "react/jsx-runtime";
32
+ var Content = forwardRef(
33
+ function DialogContent(props, ref) {
34
+ const {
35
+ children,
36
+ portalled = true,
37
+ portalRef,
38
+ backdrop = true,
39
+ ...rest
40
+ } = props;
41
+ return /* @__PURE__ */ jsxs(Portal, { disabled: !portalled, container: portalRef, children: [
42
+ backdrop && /* @__PURE__ */ jsx(ChakraDialog.Backdrop, {}),
43
+ /* @__PURE__ */ jsx(ChakraDialog.Positioner, { children: /* @__PURE__ */ jsx(ChakraDialog.Content, { ref, ...rest, asChild: false, children }) })
44
+ ] });
45
+ }
46
+ );
47
+ var CloseButton2 = forwardRef(function DialogCloseTrigger(props, ref) {
48
+ return /* @__PURE__ */ jsx(ChakraDialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children: props.children }) });
49
+ });
50
+ var CloseTrigger = ChakraDialog.CloseTrigger;
51
+ var Root = ChakraDialog.Root;
52
+ var Context = ChakraDialog.Context;
53
+ var Footer = ChakraDialog.Footer;
54
+ var Header = ChakraDialog.Header;
55
+ var Body = ChakraDialog.Body;
56
+ var Backdrop = ChakraDialog.Backdrop;
57
+ var Title = ChakraDialog.Title;
58
+ var Description = ChakraDialog.Description;
59
+ var Trigger = ChakraDialog.Trigger;
60
+ var ActionTrigger = ChakraDialog.ActionTrigger;
61
+
62
+ export {
63
+ dialog_exports
64
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/image/index.ts
4
+ import { Image } from "@chakra-ui/react/image";
5
+
6
+ export {
7
+ Image
8
+ };
@@ -2,7 +2,8 @@
2
2
 
3
3
  // src/components/avatar/avatar.tsx
4
4
  import { forwardRef } from "react";
5
- import { Avatar as ChakraAvatar, Group } from "@chakra-ui/react";
5
+ import { Avatar as ChakraAvatar } from "@chakra-ui/react/avatar";
6
+ import { Group } from "@chakra-ui/react/group";
6
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
8
  var Avatar = forwardRef(
8
9
  function Avatar2(props, ref) {
@@ -0,0 +1,9 @@
1
+ 'use client'
2
+
3
+ // src/components/fieldset/index.ts
4
+ import { Fieldset, useFieldsetContext } from "@chakra-ui/react/fieldset";
5
+
6
+ export {
7
+ Fieldset,
8
+ useFieldsetContext
9
+ };
@@ -0,0 +1,37 @@
1
+ 'use client'
2
+
3
+ // src/components/slider/slider.tsx
4
+ import { forwardRef } from "react";
5
+ import { Slider as ChakraSlider } from "@chakra-ui/react/slider";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ var Slider = forwardRef(
8
+ function Slider2(props, ref) {
9
+ var _a;
10
+ const { marks: marksProp, label, ...rest } = props;
11
+ const value = (_a = props.defaultValue) != null ? _a : props.value;
12
+ const marks = marksProp == null ? void 0 : marksProp.map((mark) => {
13
+ if (typeof mark === "number") return { value: mark, label: void 0 };
14
+ return mark;
15
+ });
16
+ const hasMarkLabel = !!(marks == null ? void 0 : marks.some((mark) => mark.label));
17
+ return /* @__PURE__ */ jsxs(ChakraSlider.Root, { ref, thumbAlignment: "center", ...rest, children: [
18
+ label && /* @__PURE__ */ jsx(ChakraSlider.Label, { fontWeight: "medium", children: label }),
19
+ /* @__PURE__ */ jsxs(ChakraSlider.Control, { mb: hasMarkLabel ? "4" : void 0, children: [
20
+ /* @__PURE__ */ jsx(ChakraSlider.Track, { children: /* @__PURE__ */ jsx(ChakraSlider.Range, {}) }),
21
+ value == null ? void 0 : value.map((_, index) => /* @__PURE__ */ jsx(ChakraSlider.Thumb, { index, children: /* @__PURE__ */ jsx(ChakraSlider.HiddenInput, {}) }, index))
22
+ ] }),
23
+ (marks == null ? void 0 : marks.length) && /* @__PURE__ */ jsx(ChakraSlider.MarkerGroup, { children: marks.map((mark, index) => {
24
+ const value2 = typeof mark === "number" ? mark : mark.value;
25
+ const label2 = typeof mark === "number" ? void 0 : mark.label;
26
+ return /* @__PURE__ */ jsxs(ChakraSlider.Marker, { value: value2, children: [
27
+ /* @__PURE__ */ jsx(ChakraSlider.MarkerIndicator, {}),
28
+ label2
29
+ ] }, index);
30
+ }) })
31
+ ] });
32
+ }
33
+ );
34
+
35
+ export {
36
+ Slider
37
+ };
@@ -0,0 +1,24 @@
1
+ 'use client'
2
+
3
+ // src/components/blockquote/blockquote.tsx
4
+ import * as React from "react";
5
+ import { Blockquote as ChakraBlockquote } from "@chakra-ui/react";
6
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
+ var Blockquote = React.forwardRef(
8
+ function Blockquote2(props, ref) {
9
+ const { children, cite, citeUrl, showDash, icon, ...rest } = props;
10
+ return /* @__PURE__ */ jsxs(ChakraBlockquote.Root, { ref, ...rest, children: [
11
+ icon,
12
+ /* @__PURE__ */ jsx(ChakraBlockquote.Content, { cite: citeUrl, children }),
13
+ cite && /* @__PURE__ */ jsxs(ChakraBlockquote.Caption, { children: [
14
+ showDash ? /* @__PURE__ */ jsx(Fragment, { children: "\u2014" }) : null,
15
+ " ",
16
+ /* @__PURE__ */ jsx("cite", { children: cite })
17
+ ] })
18
+ ] });
19
+ }
20
+ );
21
+
22
+ export {
23
+ Blockquote
24
+ };
@@ -0,0 +1,21 @@
1
+ 'use client'
2
+ import {
3
+ IconButton
4
+ } from "./chunk-OJZPPAT6.js";
5
+ import {
6
+ CloseIcon
7
+ } from "./chunk-4XB7B73X.js";
8
+
9
+ // src/components/close-button/close-button.tsx
10
+ import { forwardRef } from "react";
11
+ import { jsx } from "react/jsx-runtime";
12
+ var CloseButton = forwardRef(
13
+ function CloseButton2(props, ref) {
14
+ var _a;
15
+ return /* @__PURE__ */ jsx(IconButton, { variant: "ghost", "aria-label": "Close", ref, ...props, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx(CloseIcon, {}) });
16
+ }
17
+ );
18
+
19
+ export {
20
+ CloseButton
21
+ };
@@ -0,0 +1,22 @@
1
+ 'use client'
2
+ import {
3
+ ChevronDownIcon
4
+ } from "./chunk-4XB7B73X.js";
5
+
6
+ // src/components/native-select/native-select.tsx
7
+ import * as React from "react";
8
+ import { NativeSelect as Select } from "@chakra-ui/react/native-select";
9
+ import { jsx, jsxs } from "react/jsx-runtime";
10
+ var NativeSelect = React.forwardRef(
11
+ function NativeSelect2(props, ref) {
12
+ const { icon = /* @__PURE__ */ jsx(ChevronDownIcon, {}), placeholder, children, ...rest } = props;
13
+ return /* @__PURE__ */ jsx(Select.Root, { ref, ...rest, children: /* @__PURE__ */ jsxs(Select.Field, { placeholder, children: [
14
+ children,
15
+ /* @__PURE__ */ jsx(Select.Indicator, { children: icon })
16
+ ] }) });
17
+ }
18
+ );
19
+
20
+ export {
21
+ NativeSelect
22
+ };
@@ -1,8 +1,11 @@
1
1
  'use client'
2
+ import {
3
+ InputElement
4
+ } from "./chunk-5MTFSSOH.js";
2
5
 
3
6
  // src/components/input-group/input-group.tsx
4
7
  import { cloneElement, forwardRef, isValidElement } from "react";
5
- import { Group, InputElement } from "@chakra-ui/react";
8
+ import { Group } from "@chakra-ui/react/group";
6
9
  import { jsx, jsxs } from "react/jsx-runtime";
7
10
  var InputGroup = forwardRef(
8
11
  function InputGroup2(props, ref) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  // src/components/radio/radio.tsx
4
4
  import { forwardRef } from "react";
5
- import { RadioGroup as ChakraRadioGroup } from "@chakra-ui/react";
5
+ import { RadioGroup as ChakraRadioGroup } from "@chakra-ui/react/radio-group";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  var Radio = forwardRef(
8
8
  function Radio2(props, ref) {
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/rating-group/index.ts
4
+ import { RatingGroup } from "@chakra-ui/react/rating-group";
5
+
6
+ export {
7
+ RatingGroup
8
+ };
@@ -0,0 +1,46 @@
1
+ 'use client'
2
+ import {
3
+ CloseButton
4
+ } from "./chunk-H7KPEI6P.js";
5
+
6
+ // src/components/alert/alert.tsx
7
+ import { forwardRef } from "react";
8
+ import { Alert as AlertPrimitive } from "@chakra-ui/react/alert";
9
+ import { jsx, jsxs } from "react/jsx-runtime";
10
+ var Alert = forwardRef(
11
+ function Alert2(props, ref) {
12
+ const {
13
+ title,
14
+ children,
15
+ icon,
16
+ closable,
17
+ onClose,
18
+ startElement,
19
+ endElement,
20
+ ...rest
21
+ } = props;
22
+ return /* @__PURE__ */ jsxs(AlertPrimitive.Root, { ref, ...rest, children: [
23
+ startElement || /* @__PURE__ */ jsx(AlertPrimitive.Indicator, { children: icon }),
24
+ children ? /* @__PURE__ */ jsxs(AlertPrimitive.Content, { children: [
25
+ /* @__PURE__ */ jsx(AlertPrimitive.Title, { children: title }),
26
+ /* @__PURE__ */ jsx(AlertPrimitive.Description, { children })
27
+ ] }) : /* @__PURE__ */ jsx(AlertPrimitive.Title, { flex: "1", children: title }),
28
+ endElement,
29
+ closable && /* @__PURE__ */ jsx(
30
+ CloseButton,
31
+ {
32
+ size: "sm",
33
+ pos: "relative",
34
+ top: "-2",
35
+ insetEnd: "-2",
36
+ alignSelf: "flex-start",
37
+ onClick: onClose
38
+ }
39
+ )
40
+ ] });
41
+ }
42
+ );
43
+
44
+ export {
45
+ Alert
46
+ };
@@ -1,8 +1,8 @@
1
1
  'use client'
2
2
 
3
3
  // src/components/switch/switch.tsx
4
- import { Switch as ChakraSwitch } from "@chakra-ui/react";
5
4
  import { forwardRef } from "react";
5
+ import { Switch as ChakraSwitch } from "@chakra-ui/react/switch";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  var Switch = forwardRef(
8
8
  function Switch2(props, ref) {
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+
3
+ // src/components/heading/index.ts
4
+ import { Heading } from "@chakra-ui/react/typography";
5
+
6
+ export {
7
+ Heading
8
+ };
@@ -1,11 +1,11 @@
1
1
  'use client'
2
2
  import {
3
3
  InputGroup
4
- } from "./chunk-PKI6YH2V.js";
4
+ } from "./chunk-HKMYYESV.js";
5
5
 
6
6
  // src/components/number-input/number-input.tsx
7
7
  import { forwardRef } from "react";
8
- import { NumberInput as ChakraNumberInput } from "@chakra-ui/react";
8
+ import { NumberInput as ChakraNumberInput } from "@chakra-ui/react/number-input";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  var NumberInput = forwardRef(
11
11
  function NumberInput2(props, ref) {
@@ -18,7 +18,15 @@ var NumberInput = forwardRef(
18
18
  ...rest
19
19
  } = props;
20
20
  return /* @__PURE__ */ jsxs(ChakraNumberInput.Root, { ref: rootRef, ...rest, children: [
21
- /* @__PURE__ */ jsx(InputGroup, { startElement, endElement, children: /* @__PURE__ */ jsx(ChakraNumberInput.Input, { ref, ...inputProps }) }),
21
+ /* @__PURE__ */ jsx(
22
+ InputGroup,
23
+ {
24
+ startElement,
25
+ endElement,
26
+ width: "full",
27
+ children: /* @__PURE__ */ jsx(ChakraNumberInput.Input, { ref, ...inputProps })
28
+ }
29
+ ),
22
30
  !hideControls && !endElement ? /* @__PURE__ */ jsxs(ChakraNumberInput.Control, { children: [
23
31
  /* @__PURE__ */ jsx(ChakraNumberInput.IncrementTrigger, {}),
24
32
  /* @__PURE__ */ jsx(ChakraNumberInput.DecrementTrigger, {})
@@ -0,0 +1 @@
1
+ 'use client'