@saas-ui/react 3.0.0-alpha.31 → 3.0.0-alpha.32

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 (374) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/chunk-27OMFCPD.js +8 -0
  3. package/dist/{chunk-VZG7EJ64.js → chunk-2B5OZHZY.js} +3 -2
  4. package/dist/{chunk-3JZ42NYM.js → chunk-3DGRWH7C.js} +3 -2
  5. package/dist/chunk-3EV6MKBG.js +60 -0
  6. package/dist/chunk-3RHNNKPC.js +51 -0
  7. package/dist/{chunk-46ISJZBS.js → chunk-4IZGJDYL.js} +1 -1
  8. package/dist/{chunk-4TPVIHNO.js → chunk-4XB7B73X.js} +19 -2
  9. package/dist/chunk-5HVAMQYO.js +8 -0
  10. package/dist/chunk-5YNHX4C7.js +16 -0
  11. package/dist/{chunk-UASXI64E.js → chunk-5ZKEXMBN.js} +4 -2
  12. package/dist/{chunk-RLIAFHVM.js → chunk-77QJSEEA.js} +7 -5
  13. package/dist/chunk-7DF4NQNZ.js +8 -0
  14. package/dist/chunk-7HAGRXKM.js +8 -0
  15. package/dist/{chunk-QSNSWCTM.js → chunk-7MCVXFWM.js} +2 -1
  16. package/dist/chunk-7PWVK3NL.js +8 -0
  17. package/dist/chunk-AY7C4U2O.js +39 -0
  18. package/dist/{chunk-IGT224EZ.js → chunk-BDS3APRG.js} +1 -1
  19. package/dist/chunk-BFO2S4Y5.js +12 -0
  20. package/dist/chunk-C5KFNMWU.js +8 -0
  21. package/dist/{chunk-TT4C5VXB.js → chunk-CRFTMIQA.js} +10 -10
  22. package/dist/chunk-DHFAFRZ4.js +8 -0
  23. package/dist/chunk-EWCBYJA7.js +8 -0
  24. package/dist/{chunk-32DD6PHF.js → chunk-EYOHLXWQ.js} +3 -2
  25. package/dist/chunk-FD2V4Y66.js +8 -0
  26. package/dist/{chunk-JO4WJVYO.js → chunk-FN7TU5F5.js} +2 -1
  27. package/dist/chunk-FPRTN3I7.js +9 -0
  28. package/dist/chunk-GD2247J4.js +37 -0
  29. package/dist/chunk-GSWLAOIM.js +24 -0
  30. package/dist/chunk-H7KPEI6P.js +21 -0
  31. package/dist/chunk-HD7BIWDH.js +22 -0
  32. package/dist/{chunk-PKI6YH2V.js → chunk-HKMYYESV.js} +4 -1
  33. package/dist/{chunk-WYLMBMAH.js → chunk-HKUOHPZ6.js} +1 -1
  34. package/dist/chunk-HQVBJT5Y.js +8 -0
  35. package/dist/chunk-HTQRA26F.js +46 -0
  36. package/dist/{chunk-SA3OGTOO.js → chunk-HTVSG47E.js} +1 -1
  37. package/dist/chunk-HZX4AGO5.js +8 -0
  38. package/dist/{chunk-S5J6REMC.js → chunk-IEWGZ4LU.js} +2 -2
  39. package/dist/{chunk-KE5AC3TZ.js → chunk-JPY2QZLC.js} +3 -2
  40. package/dist/{chunk-SKXSBAOS.js → chunk-KFDVVTMT.js} +2 -1
  41. package/dist/chunk-KRJG7H4W.js +53 -0
  42. package/dist/chunk-M3DJWM6D.js +8 -0
  43. package/dist/{chunk-32JGENDB.js → chunk-MK3OG2I4.js} +1 -1
  44. package/dist/chunk-MZ2RY4NU.js +34 -0
  45. package/dist/chunk-NLMFEUVO.js +41 -0
  46. package/dist/{chunk-I2RXEKTB.js → chunk-NSFGACD7.js} +1 -1
  47. package/dist/{chunk-MS2ELLDY.js → chunk-OJZPPAT6.js} +1 -1
  48. package/dist/chunk-OQU4LWZW.js +8 -0
  49. package/dist/chunk-PEJYADAS.js +8 -0
  50. package/dist/chunk-PIQURQGB.js +8 -0
  51. package/dist/chunk-QLN2CBY6.js +8 -0
  52. package/dist/chunk-R2J5USV6.js +12 -0
  53. package/dist/{chunk-2EUACKRH.js → chunk-RYKJOZ3B.js} +2 -1
  54. package/dist/chunk-SD2NTPHR.js +44 -0
  55. package/dist/{chunk-TZBAM4AD.js → chunk-SXFVA6CX.js} +1 -1
  56. package/dist/{chunk-GRUMUCSL.js → chunk-T2FPZNCP.js} +13 -7
  57. package/dist/{chunk-K2SPPLAY.js → chunk-T7XRS654.js} +8 -7
  58. package/dist/chunk-TEQVVR3W.js +8 -0
  59. package/dist/chunk-TH6YCBEG.js +8 -0
  60. package/dist/{chunk-MLJN6IOJ.js → chunk-TWTXZ7PR.js} +10 -6
  61. package/dist/{chunk-YKSY7UOM.js → chunk-U3EPRSD3.js} +1 -1
  62. package/dist/chunk-UEXUCHDD.js +34 -0
  63. package/dist/chunk-UIP2CHMU.js +8 -0
  64. package/dist/{chunk-KFXNVUEZ.js → chunk-UNF77J24.js} +7 -9
  65. package/dist/{chunk-GWC5GCMW.js → chunk-VJ4UOABT.js} +1 -1
  66. package/dist/{chunk-IEWHAXXU.js → chunk-WJZED26X.js} +1 -1
  67. package/dist/chunk-XW747T2R.js +43 -0
  68. package/dist/chunk-XX2OY7LK.js +10 -0
  69. package/dist/chunk-YLZEO3RK.js +24 -0
  70. package/dist/chunk-YMCOU2N5.js +8 -0
  71. package/dist/{chunk-6ZNR6N2K.js → chunk-YTTZX7ZE.js} +1 -1
  72. package/dist/{chunk-LTVFG6UC.js → chunk-Z37BQ5VU.js} +1 -1
  73. package/dist/{chunk-L356FPLY.js → chunk-Z3SWPGPQ.js} +1 -1
  74. package/dist/{chunk-NSD5HRIP.js → chunk-ZUT5GZTD.js} +1 -1
  75. package/dist/components/accordion/index.cjs +197 -0
  76. package/dist/components/accordion/index.d.cts +29 -0
  77. package/dist/components/accordion/index.d.ts +29 -0
  78. package/dist/components/accordion/index.js +9 -0
  79. package/dist/components/action-bar/index.cjs +217 -0
  80. package/dist/components/action-bar/index.d.cts +33 -0
  81. package/dist/components/action-bar/index.d.ts +33 -0
  82. package/dist/components/action-bar/index.js +13 -0
  83. package/dist/components/alert/index.cjs +227 -0
  84. package/dist/components/alert/index.d.cts +14 -0
  85. package/dist/components/alert/index.d.ts +14 -0
  86. package/dist/components/alert/index.js +13 -0
  87. package/dist/components/app-shell/index.cjs +2 -2
  88. package/dist/components/app-shell/index.d.cts +1 -1
  89. package/dist/components/app-shell/index.d.ts +1 -1
  90. package/dist/components/app-shell/index.js +1 -1
  91. package/dist/components/avatar/index.cjs +7 -6
  92. package/dist/components/avatar/index.d.cts +3 -1
  93. package/dist/components/avatar/index.d.ts +3 -1
  94. package/dist/components/avatar/index.js +1 -1
  95. package/dist/components/badge/index.cjs +5 -3
  96. package/dist/components/badge/index.d.cts +23 -3
  97. package/dist/components/badge/index.d.ts +23 -3
  98. package/dist/components/badge/index.js +5 -3
  99. package/dist/components/blockquote/index.cjs +59 -0
  100. package/dist/components/blockquote/index.d.cts +12 -0
  101. package/dist/components/blockquote/index.d.ts +12 -0
  102. package/dist/components/blockquote/index.js +8 -0
  103. package/dist/components/breadcrumb/index.cjs +13 -13
  104. package/dist/components/breadcrumb/index.d.cts +13 -7
  105. package/dist/components/breadcrumb/index.d.ts +13 -7
  106. package/dist/components/breadcrumb/index.js +1 -1
  107. package/dist/components/button/index.cjs +2 -18
  108. package/dist/components/button/index.d.cts +1 -12
  109. package/dist/components/button/index.d.ts +1 -12
  110. package/dist/components/button/index.js +1 -1
  111. package/dist/components/button-group/index.cjs +31 -0
  112. package/dist/components/button-group/index.d.cts +1 -0
  113. package/dist/components/button-group/index.d.ts +1 -0
  114. package/dist/components/button-group/index.js +8 -0
  115. package/dist/components/card/index.cjs +3 -2
  116. package/dist/components/card/index.d.cts +1 -1
  117. package/dist/components/card/index.d.ts +1 -1
  118. package/dist/components/card/index.js +4 -3
  119. package/dist/components/checkbox/index.cjs +5 -5
  120. package/dist/components/checkbox/index.d.cts +1 -1
  121. package/dist/components/checkbox/index.d.ts +1 -1
  122. package/dist/components/checkbox/index.js +1 -1
  123. package/dist/components/checkbox-card/index.cjs +66 -0
  124. package/dist/components/checkbox-card/index.d.cts +15 -0
  125. package/dist/components/checkbox-card/index.d.ts +15 -0
  126. package/dist/components/checkbox-card/index.js +8 -0
  127. package/dist/components/checkmark/index.cjs +31 -0
  128. package/dist/components/checkmark/index.d.cts +1 -0
  129. package/dist/components/checkmark/index.d.ts +1 -0
  130. package/dist/components/checkmark/index.js +8 -0
  131. package/dist/components/clipboard/index.cjs +227 -0
  132. package/dist/components/clipboard/index.d.cts +28 -0
  133. package/dist/components/clipboard/index.d.ts +28 -0
  134. package/dist/components/clipboard/index.js +13 -0
  135. package/dist/components/close-button/index.cjs +78 -41
  136. package/dist/components/close-button/index.d.cts +3 -2
  137. package/dist/components/close-button/index.d.ts +3 -2
  138. package/dist/components/close-button/index.js +4 -2
  139. package/dist/components/code/index.cjs +31 -0
  140. package/dist/components/code/index.d.cts +1 -0
  141. package/dist/components/code/index.d.ts +1 -0
  142. package/dist/components/code/index.js +8 -0
  143. package/dist/components/collapsible/index.cjs +31 -0
  144. package/dist/components/collapsible/index.d.cts +1 -0
  145. package/dist/components/collapsible/index.d.ts +1 -0
  146. package/dist/components/collapsible/index.js +8 -0
  147. package/dist/components/command/index.cjs +8 -3
  148. package/dist/components/command/index.d.cts +2 -2
  149. package/dist/components/command/index.d.ts +2 -2
  150. package/dist/components/command/index.js +2 -1
  151. package/dist/components/container/index.cjs +31 -0
  152. package/dist/components/container/index.d.cts +1 -0
  153. package/dist/components/container/index.d.ts +1 -0
  154. package/dist/components/container/index.js +8 -0
  155. package/dist/components/dialog/index.cjs +102 -64
  156. package/dist/components/dialog/index.d.cts +1 -1
  157. package/dist/components/dialog/index.d.ts +1 -1
  158. package/dist/components/dialog/index.js +5 -3
  159. package/dist/components/drawer/index.cjs +96 -59
  160. package/dist/components/drawer/index.js +5 -3
  161. package/dist/components/editable/index.cjs +31 -0
  162. package/dist/components/editable/index.d.cts +1 -0
  163. package/dist/components/editable/index.d.ts +1 -0
  164. package/dist/components/editable/index.js +8 -0
  165. package/dist/components/field/index.cjs +35 -0
  166. package/dist/components/field/index.d.cts +1 -0
  167. package/dist/components/field/index.d.ts +1 -0
  168. package/dist/components/field/index.js +12 -0
  169. package/dist/components/fieldset/index.cjs +33 -0
  170. package/dist/components/fieldset/index.d.cts +1 -0
  171. package/dist/components/fieldset/index.d.ts +1 -0
  172. package/dist/components/fieldset/index.js +10 -0
  173. package/dist/components/file-upload/index.cjs +109 -67
  174. package/dist/components/file-upload/index.d.cts +4 -1
  175. package/dist/components/file-upload/index.d.ts +4 -1
  176. package/dist/components/file-upload/index.js +9 -5
  177. package/dist/components/grid-list/index.cjs +2 -2
  178. package/dist/components/grid-list/index.d.cts +2 -2
  179. package/dist/components/grid-list/index.d.ts +2 -2
  180. package/dist/components/grid-list/index.js +1 -1
  181. package/dist/components/heading/index.cjs +31 -0
  182. package/dist/components/heading/index.d.cts +1 -0
  183. package/dist/components/heading/index.d.ts +1 -0
  184. package/dist/components/heading/index.js +8 -0
  185. package/dist/components/hover-card/index.cjs +66 -0
  186. package/dist/components/hover-card/index.d.cts +21 -0
  187. package/dist/components/hover-card/index.d.ts +21 -0
  188. package/dist/components/hover-card/index.js +8 -0
  189. package/dist/components/icon/index.cjs +31 -0
  190. package/dist/components/icon/index.d.cts +1 -0
  191. package/dist/components/icon/index.d.ts +1 -0
  192. package/dist/components/icon/index.js +8 -0
  193. package/dist/components/icon-badge/index.cjs +3 -3
  194. package/dist/components/icon-badge/index.d.cts +1 -1
  195. package/dist/components/icon-badge/index.d.ts +1 -1
  196. package/dist/components/icon-badge/index.js +1 -1
  197. package/dist/components/icon-button/index.cjs +7 -21
  198. package/dist/components/icon-button/index.d.cts +1 -2
  199. package/dist/components/icon-button/index.d.ts +1 -2
  200. package/dist/components/icon-button/index.js +2 -2
  201. package/dist/components/icons/index.cjs +21 -2
  202. package/dist/components/icons/index.d.cts +3 -1
  203. package/dist/components/icons/index.d.ts +3 -1
  204. package/dist/components/icons/index.js +5 -1
  205. package/dist/components/image/index.cjs +31 -0
  206. package/dist/components/image/index.d.cts +1 -0
  207. package/dist/components/image/index.d.ts +1 -0
  208. package/dist/components/image/index.js +8 -0
  209. package/dist/components/info-tip/index.cjs +299 -0
  210. package/dist/components/info-tip/index.d.cts +13 -0
  211. package/dist/components/info-tip/index.d.ts +13 -0
  212. package/dist/components/info-tip/index.js +16 -0
  213. package/dist/components/input-group/index.cjs +9 -4
  214. package/dist/components/input-group/index.d.cts +3 -2
  215. package/dist/components/input-group/index.d.ts +3 -2
  216. package/dist/components/input-group/index.js +2 -1
  217. package/dist/components/kbd/index.cjs +31 -0
  218. package/dist/components/kbd/index.d.cts +1 -0
  219. package/dist/components/kbd/index.d.ts +1 -0
  220. package/dist/components/kbd/index.js +8 -0
  221. package/dist/components/link/index.cjs +2 -2
  222. package/dist/components/link/index.d.cts +2 -2
  223. package/dist/components/link/index.d.ts +2 -2
  224. package/dist/components/link/index.js +1 -1
  225. package/dist/components/list/index.cjs +31 -0
  226. package/dist/components/list/index.d.cts +1 -0
  227. package/dist/components/list/index.d.ts +1 -0
  228. package/dist/components/list/index.js +8 -0
  229. package/dist/components/loader/index.cjs +31 -0
  230. package/dist/components/loader/index.d.cts +1 -0
  231. package/dist/components/loader/index.d.ts +1 -0
  232. package/dist/components/loader/index.js +8 -0
  233. package/dist/components/loading-overlay/index.cjs +8 -8
  234. package/dist/components/loading-overlay/index.d.cts +6 -22
  235. package/dist/components/loading-overlay/index.d.ts +6 -22
  236. package/dist/components/loading-overlay/index.js +2 -2
  237. package/dist/components/mark/index.cjs +31 -0
  238. package/dist/components/mark/index.d.cts +1 -0
  239. package/dist/components/mark/index.d.ts +1 -0
  240. package/dist/components/mark/index.js +8 -0
  241. package/dist/components/menu/index.cjs +88 -85
  242. package/dist/components/menu/index.d.cts +2 -1
  243. package/dist/components/menu/index.d.ts +2 -1
  244. package/dist/components/menu/index.js +3 -3
  245. package/dist/components/native-select/index.cjs +178 -0
  246. package/dist/components/native-select/index.d.cts +10 -0
  247. package/dist/components/native-select/index.d.ts +10 -0
  248. package/dist/components/native-select/index.js +10 -0
  249. package/dist/components/number-input/index.cjs +17 -12
  250. package/dist/components/number-input/index.d.cts +1 -1
  251. package/dist/components/number-input/index.d.ts +1 -1
  252. package/dist/components/number-input/index.js +3 -2
  253. package/dist/components/pagination/index.cjs +92 -54
  254. package/dist/components/pagination/index.d.cts +3 -1
  255. package/dist/components/pagination/index.d.ts +3 -1
  256. package/dist/components/pagination/index.js +4 -2
  257. package/dist/components/password-input/index.cjs +43 -15
  258. package/dist/components/password-input/index.d.cts +4 -2
  259. package/dist/components/password-input/index.d.ts +4 -2
  260. package/dist/components/password-input/index.js +5 -2
  261. package/dist/components/persona/index.cjs +14 -13
  262. package/dist/components/persona/index.d.cts +4 -1
  263. package/dist/components/persona/index.d.ts +4 -1
  264. package/dist/components/persona/index.js +2 -2
  265. package/dist/components/pin-input/index.cjs +5 -4
  266. package/dist/components/pin-input/index.d.cts +1 -1
  267. package/dist/components/pin-input/index.d.ts +1 -1
  268. package/dist/components/pin-input/index.js +1 -1
  269. package/dist/components/popover/index.cjs +94 -56
  270. package/dist/components/popover/index.d.cts +3 -37
  271. package/dist/components/popover/index.d.ts +3 -37
  272. package/dist/components/popover/index.js +5 -3
  273. package/dist/components/progress-circle/index.js +3 -3
  274. package/dist/components/radio/index.cjs +6 -6
  275. package/dist/components/radio/index.d.cts +1 -1
  276. package/dist/components/radio/index.d.ts +1 -1
  277. package/dist/components/radio/index.js +1 -1
  278. package/dist/components/radio-card/index.cjs +75 -0
  279. package/dist/components/radio-card/index.d.cts +31 -0
  280. package/dist/components/radio-card/index.d.ts +31 -0
  281. package/dist/components/radio-card/index.js +8 -0
  282. package/dist/components/rating-group/index.cjs +31 -0
  283. package/dist/components/rating-group/index.d.cts +1 -0
  284. package/dist/components/rating-group/index.d.ts +1 -0
  285. package/dist/components/rating-group/index.js +8 -0
  286. package/dist/components/search-input/index.cjs +31 -16
  287. package/dist/components/search-input/index.js +2 -2
  288. package/dist/components/segmented-control/index.cjs +8 -7
  289. package/dist/components/segmented-control/index.d.cts +1 -1
  290. package/dist/components/segmented-control/index.d.ts +1 -1
  291. package/dist/components/segmented-control/index.js +1 -1
  292. package/dist/components/select/index.cjs +105 -67
  293. package/dist/components/select/index.d.cts +2 -1
  294. package/dist/components/select/index.d.ts +2 -1
  295. package/dist/components/select/index.js +5 -3
  296. package/dist/components/separator/index.cjs +31 -0
  297. package/dist/components/separator/index.d.cts +1 -0
  298. package/dist/components/separator/index.d.ts +1 -0
  299. package/dist/components/separator/index.js +8 -0
  300. package/dist/components/sidebar/index.d.cts +1 -1
  301. package/dist/components/sidebar/index.d.ts +1 -1
  302. package/dist/components/skeleton/index.cjs +61 -0
  303. package/dist/components/skeleton/index.d.cts +17 -0
  304. package/dist/components/skeleton/index.d.ts +17 -0
  305. package/dist/components/skeleton/index.js +12 -0
  306. package/dist/components/skip-nav-link/index.cjs +33 -0
  307. package/dist/components/skip-nav-link/index.d.cts +1 -0
  308. package/dist/components/skip-nav-link/index.d.ts +1 -0
  309. package/dist/components/skip-nav-link/index.js +10 -0
  310. package/dist/components/slider/index.cjs +62 -0
  311. package/dist/components/slider/index.d.cts +13 -0
  312. package/dist/components/slider/index.d.ts +13 -0
  313. package/dist/components/slider/index.js +8 -0
  314. package/dist/components/spinner/index.cjs +2 -2
  315. package/dist/components/spinner/index.d.cts +1 -1
  316. package/dist/components/spinner/index.d.ts +1 -1
  317. package/dist/components/spinner/index.js +1 -1
  318. package/dist/components/stat/index.cjs +83 -0
  319. package/dist/components/stat/index.d.cts +29 -0
  320. package/dist/components/stat/index.d.ts +29 -0
  321. package/dist/components/stat/index.js +8 -0
  322. package/dist/components/status/index.cjs +3 -3
  323. package/dist/components/status/index.d.cts +2 -1
  324. package/dist/components/status/index.d.ts +2 -1
  325. package/dist/components/status/index.js +1 -1
  326. package/dist/components/steps/index.cjs +39 -23
  327. package/dist/components/steps/index.d.cts +1 -1
  328. package/dist/components/steps/index.d.ts +1 -1
  329. package/dist/components/steps/index.js +2 -2
  330. package/dist/components/switch/index.cjs +9 -9
  331. package/dist/components/switch/index.d.cts +1 -1
  332. package/dist/components/switch/index.d.ts +1 -1
  333. package/dist/components/switch/index.js +1 -1
  334. package/dist/components/table/index.cjs +31 -0
  335. package/dist/components/table/index.d.cts +1 -0
  336. package/dist/components/table/index.d.ts +1 -0
  337. package/dist/components/table/index.js +8 -0
  338. package/dist/components/tabs/index.cjs +2 -0
  339. package/dist/components/tabs/index.d.cts +1 -1
  340. package/dist/components/tabs/index.d.ts +1 -1
  341. package/dist/components/tabs/index.js +3 -1
  342. package/dist/components/tag/index.cjs +6 -6
  343. package/dist/components/tag/index.d.cts +1 -1
  344. package/dist/components/tag/index.d.ts +1 -1
  345. package/dist/components/tag/index.js +1 -1
  346. package/dist/components/timeline/index.cjs +31 -0
  347. package/dist/components/timeline/index.d.cts +1 -0
  348. package/dist/components/timeline/index.d.ts +1 -0
  349. package/dist/components/timeline/index.js +8 -0
  350. package/dist/components/toaster/index.cjs +108 -55
  351. package/dist/components/toaster/index.d.cts +1 -1
  352. package/dist/components/toaster/index.d.ts +1 -1
  353. package/dist/components/toaster/index.js +7 -3
  354. package/dist/components/toggle-tip/index.cjs +289 -0
  355. package/dist/components/toggle-tip/index.d.cts +13 -0
  356. package/dist/components/toggle-tip/index.d.ts +13 -0
  357. package/dist/components/toggle-tip/index.js +14 -0
  358. package/dist/components/tooltip/index.cjs +6 -5
  359. package/dist/components/tooltip/index.d.cts +1 -1
  360. package/dist/components/tooltip/index.d.ts +1 -1
  361. package/dist/components/tooltip/index.js +1 -1
  362. package/dist/index-zAqswhEI.d.cts +37 -0
  363. package/dist/index-zAqswhEI.d.ts +37 -0
  364. package/dist/index.cjs +6318 -5690
  365. package/dist/index.d.cts +76 -5
  366. package/dist/index.d.ts +76 -5
  367. package/dist/index.js +5247 -5067
  368. package/dist/loading-overlay-BQ4lOS6T.d.ts +23 -0
  369. package/dist/loading-overlay-afP_W7ru.d.cts +23 -0
  370. package/package.json +2 -2
  371. package/dist/chunk-INV6RT5B.js +0 -8
  372. package/dist/chunk-IVLUAUU5.js +0 -10
  373. package/dist/chunk-NGSHWY7E.js +0 -27
  374. package/dist/chunk-YXGJOOMM.js +0 -19
@@ -40,12 +40,35 @@ __export(pagination_exports, {
40
40
  Root: () => Root
41
41
  });
42
42
  var import_react2 = require("react");
43
- var import_react3 = require("@chakra-ui/react");
43
+ var import_pagination = require("@chakra-ui/react/pagination");
44
+ var import_typography = require("@chakra-ui/react/typography");
45
+ var import_utils = require("@saas-ui/core/utils");
46
+
47
+ // src/components/button/index.ts
48
+ var import_button = require("@chakra-ui/react/button");
49
+
50
+ // src/components/icon-button/icon-button.tsx
51
+ var import_react = require("react");
52
+ var import_jsx_runtime = require("react/jsx-runtime");
53
+ var IconButton = (0, import_react.forwardRef)(
54
+ function IconButton2(props, ref) {
55
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
56
+ import_button.Button,
57
+ {
58
+ px: "0",
59
+ py: "0",
60
+ _icon: { fontSize: "1.2em" },
61
+ ref,
62
+ ...props
63
+ }
64
+ );
65
+ }
66
+ );
44
67
 
45
68
  // src/components/icons/create-icon.tsx
46
- var import_react = require("@chakra-ui/react");
69
+ var import_icon = require("@chakra-ui/react/icon");
47
70
  var createIcon = (props) => {
48
- return (0, import_react.createIcon)({
71
+ return (0, import_icon.createIcon)({
49
72
  viewBox: "0 0 24 24",
50
73
  defaultProps: {
51
74
  fill: "none",
@@ -59,99 +82,114 @@ var createIcon = (props) => {
59
82
  };
60
83
 
61
84
  // src/components/icons/icons.tsx
62
- var import_jsx_runtime = require("react/jsx-runtime");
85
+ var import_jsx_runtime2 = require("react/jsx-runtime");
63
86
  var ChevronUpIcon = createIcon({
64
87
  displayName: "ChevronUpIcon",
65
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "18 15 12 9 6 15" })
88
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "18 15 12 9 6 15" })
66
89
  });
67
90
  var ChevronDownIcon = createIcon({
68
91
  displayName: "ChevronDownIcon",
69
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "6 9 12 15 18 9" })
92
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "6 9 12 15 18 9" })
70
93
  });
71
94
  var ChevronLeftIcon = createIcon({
72
95
  displayName: "ChevronLeftIcon",
73
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "15 18 9 12 15 6" })
96
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "15 18 9 12 15 6" })
74
97
  });
75
98
  var ChevronRightIcon = createIcon({
76
99
  displayName: "ChevronRightIcon",
77
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "9 18 15 12 9 6" })
100
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "9 18 15 12 9 6" })
78
101
  });
79
102
  var HamburgerIcon = createIcon({
80
103
  displayName: "ChevronDownIcon",
81
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { fill: "none", children: [
82
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
83
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
84
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
104
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { fill: "none", children: [
105
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
106
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
107
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
85
108
  ] })
86
109
  });
87
110
  var CloseIcon = createIcon({
88
111
  displayName: "CloseIcon",
89
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
90
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
91
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
112
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
113
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
114
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
92
115
  ] })
93
116
  });
94
117
  var FilterIcon = createIcon({
95
118
  displayName: "FilterIcon",
96
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
119
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
97
120
  });
98
121
  var CalendarIcon = createIcon({
99
122
  displayName: "CalendarIcon",
100
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
101
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
102
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
103
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
104
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
123
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
124
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
125
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
126
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
127
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
105
128
  ] })
106
129
  });
107
130
  var PlusIcon = createIcon({
108
131
  displayName: "PlusIcon",
109
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
110
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
111
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
132
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
133
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
134
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
112
135
  ] })
113
136
  });
114
137
  var MinusIcon = createIcon({
115
138
  displayName: "MinusIcon",
116
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
139
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
117
140
  });
118
141
  var ViewOffIcon = createIcon({
119
142
  displayName: "ViewOffIcon",
120
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
121
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
122
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
143
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
144
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
145
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
123
146
  ] })
124
147
  });
125
148
  var ViewIcon = createIcon({
126
149
  displayName: "ViewOffIcon",
127
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
128
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
129
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "3" })
150
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
151
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
152
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "3" })
130
153
  ] })
131
154
  });
132
155
  var SearchIcon = createIcon({
133
156
  displayName: "SearchIcon",
134
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
135
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
136
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
157
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
158
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
159
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
137
160
  ] })
138
161
  });
139
162
  var CheckIcon = createIcon({
140
163
  displayName: "CheckIcon",
141
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
164
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
142
165
  });
143
166
  var EllipsisIcon = createIcon({
144
167
  displayName: "EllipsisIcon",
145
- path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
146
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
147
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
148
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
168
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
169
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
170
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
171
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "5", cy: "12", r: "1" })
172
+ ] })
173
+ });
174
+ var CopyIcon = createIcon({
175
+ displayName: "CopyIcon",
176
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
177
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
178
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
179
+ ] })
180
+ });
181
+ var InfoIcon = createIcon({
182
+ displayName: "InfoIcon",
183
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
184
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
185
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 16v-4" }),
186
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 8h.01" })
149
187
  ] })
150
188
  });
151
189
 
152
190
  // src/components/pagination/pagination.tsx
153
- var import_jsx_runtime2 = require("react/jsx-runtime");
154
- var [RootPropsProvider, useRootProps] = (0, import_react3.createContext)({
191
+ var import_jsx_runtime3 = require("react/jsx-runtime");
192
+ var [RootPropsProvider, useRootProps] = (0, import_utils.createContext)({
155
193
  name: "RootPropsProvider"
156
194
  });
157
195
  var variantMap = {
@@ -162,53 +200,53 @@ var variantMap = {
162
200
  var Root = (0, import_react2.forwardRef)(
163
201
  function PaginationRoot(props, ref) {
164
202
  const { size = "sm", variant = "outline", ...rest } = props;
165
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Pagination.Root, { ref, type: "button", ...rest }) });
203
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_pagination.Pagination.Root, { ref, type: "button", ...rest }) });
166
204
  }
167
205
  );
168
206
  var Ellipsis = (0, import_react2.forwardRef)(function PaginationEllipsis(props, ref) {
169
207
  var _a;
170
208
  const { size, variantMap: variantMap2 } = useRootProps();
171
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Pagination.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Button, { as: "span", variant: variantMap2.ellipsis, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(EllipsisIcon, {}) }) });
209
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_pagination.Pagination.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_button.Button, { as: "span", variant: variantMap2.ellipsis, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(EllipsisIcon, {}) }) });
172
210
  });
173
211
  var Item = (0, import_react2.forwardRef)(
174
212
  function PaginationItem(props, ref) {
175
- const { page } = (0, import_react3.usePaginationContext)();
213
+ const { page } = (0, import_pagination.usePaginationContext)();
176
214
  const { size, variantMap: variantMap2 } = useRootProps();
177
215
  const current = page === props.value;
178
216
  const variant = current ? variantMap2.current : variantMap2.default;
179
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Pagination.Item, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Button, { variant, size, children: props.value }) });
217
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_pagination.Pagination.Item, { ref, ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_button.Button, { variant, size, children: props.value }) });
180
218
  }
181
219
  );
182
220
  var PrevButton = (0, import_react2.forwardRef)(function PaginationPrevTrigger(props, ref) {
183
221
  var _a;
184
222
  const { size, variantMap: variantMap2 } = useRootProps();
185
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Pagination.PrevTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ChevronLeftIcon, {}) }) });
223
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_pagination.Pagination.PrevTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ChevronLeftIcon, {}) }) });
186
224
  });
187
225
  var NextButton = (0, import_react2.forwardRef)(function PaginationNextTrigger(props, ref) {
188
226
  var _a;
189
227
  const { size, variantMap: variantMap2 } = useRootProps();
190
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Pagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ChevronRightIcon, {}) }) });
228
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_pagination.Pagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ChevronRightIcon, {}) }) });
191
229
  });
192
230
  var Items = (props) => {
193
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Pagination.Context, { children: ({ pages }) => pages.map((page, index) => {
194
- return page.type === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Ellipsis, { index, ...props }, index) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Item, { type: "page", value: page.value, ...props }, index);
231
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_pagination.Pagination.Context, { children: ({ pages }) => pages.map((page, index) => {
232
+ return page.type === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Ellipsis, { index, ...props }, index) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Item, { type: "page", value: page.value, ...props }, index);
195
233
  }) });
196
234
  };
197
235
  var PageText = (0, import_react2.forwardRef)(
198
236
  function PaginationPageText(props, ref) {
199
237
  const { format = "compact", ...rest } = props;
200
- const { page, pages, pageRange, count } = (0, import_react3.usePaginationContext)();
238
+ const { page, pages, pageRange, count } = (0, import_pagination.usePaginationContext)();
201
239
  const content = (0, import_react2.useMemo)(() => {
202
240
  if (format === "short") return `${page} / ${pages.length}`;
203
241
  if (format === "compact") return `${page} of ${pages.length}`;
204
242
  return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
205
243
  }, [format, page, pages.length, pageRange, count]);
206
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Text, { fontWeight: "medium", ref, ...rest, children: content });
244
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_typography.Text, { fontWeight: "medium", ref, ...rest, children: content });
207
245
  }
208
246
  );
209
- var PrevTrigger = import_react3.Pagination.PrevTrigger;
210
- var NextTrigger = import_react3.Pagination.NextTrigger;
211
- var Context = import_react3.Pagination.Context;
247
+ var PrevTrigger = import_pagination.Pagination.PrevTrigger;
248
+ var NextTrigger = import_pagination.Pagination.NextTrigger;
249
+ var Context = import_pagination.Pagination.Context;
212
250
  // Annotate the CommonJS export names for ESM import in node:
213
251
  0 && (module.exports = {
214
252
  Pagination
@@ -1,7 +1,9 @@
1
1
  import * as _ark_ui_react from '@ark-ui/react';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as react from 'react';
4
- import { Pagination, ButtonProps, TextProps } from '@chakra-ui/react';
4
+ import { Pagination } from '@chakra-ui/react/pagination';
5
+ import { TextProps } from '@chakra-ui/react/typography';
6
+ import { ButtonProps } from '@chakra-ui/react/button';
5
7
 
6
8
  type PaginationVariant = 'outline' | 'solid' | 'subtle';
7
9
  interface RootProps extends Omit<Pagination.RootProps, 'type'> {
@@ -1,7 +1,9 @@
1
1
  import * as _ark_ui_react from '@ark-ui/react';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as react from 'react';
4
- import { Pagination, ButtonProps, TextProps } from '@chakra-ui/react';
4
+ import { Pagination } from '@chakra-ui/react/pagination';
5
+ import { TextProps } from '@chakra-ui/react/typography';
6
+ import { ButtonProps } from '@chakra-ui/react/button';
5
7
 
6
8
  type PaginationVariant = 'outline' | 'solid' | 'subtle';
7
9
  interface RootProps extends Omit<Pagination.RootProps, 'type'> {
@@ -1,8 +1,10 @@
1
1
  'use client'
2
2
  import {
3
3
  pagination_exports
4
- } from "../../chunk-MLJN6IOJ.js";
5
- import "../../chunk-4TPVIHNO.js";
4
+ } from "../../chunk-TWTXZ7PR.js";
5
+ import "../../chunk-OJZPPAT6.js";
6
+ import "../../chunk-5HVAMQYO.js";
7
+ import "../../chunk-4XB7B73X.js";
6
8
  import "../../chunk-RTMS5TJN.js";
7
9
  export {
8
10
  pagination_exports as Pagination
@@ -185,11 +185,39 @@ function LuEye(props) {
185
185
  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);
186
186
  }
187
187
 
188
- // src/components/input-group/input-group.tsx
188
+ // src/components/icon-button/icon-button.tsx
189
189
  var import_react3 = require("react");
190
- var import_react4 = require("@chakra-ui/react");
190
+
191
+ // src/components/button/index.ts
192
+ var import_button = require("@chakra-ui/react/button");
193
+
194
+ // src/components/icon-button/icon-button.tsx
191
195
  var import_jsx_runtime = require("react/jsx-runtime");
192
- var InputGroup = (0, import_react3.forwardRef)(
196
+ var IconButton = (0, import_react3.forwardRef)(
197
+ function IconButton2(props, ref) {
198
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
199
+ import_button.Button,
200
+ {
201
+ px: "0",
202
+ py: "0",
203
+ _icon: { fontSize: "1.2em" },
204
+ ref,
205
+ ...props
206
+ }
207
+ );
208
+ }
209
+ );
210
+
211
+ // src/components/input-group/input-group.tsx
212
+ var import_react4 = require("react");
213
+ var import_group = require("@chakra-ui/react/group");
214
+
215
+ // src/components/input/index.ts
216
+ var import_input = require("@chakra-ui/react/input");
217
+
218
+ // src/components/input-group/input-group.tsx
219
+ var import_jsx_runtime2 = require("react/jsx-runtime");
220
+ var InputGroup = (0, import_react4.forwardRef)(
193
221
  function InputGroup2(props, ref) {
194
222
  const {
195
223
  startElement,
@@ -199,20 +227,20 @@ var InputGroup = (0, import_react3.forwardRef)(
199
227
  children,
200
228
  ...rest
201
229
  } = props;
202
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react4.Group, { ref, display: "flex", ...rest, children: [
203
- startElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react4.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
204
- (0, import_react3.isValidElement)(children) && (0, import_react3.cloneElement)(children, {
230
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_group.Group, { ref, display: "flex", ...rest, children: [
231
+ startElement && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_input.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
232
+ (0, import_react4.isValidElement)(children) && (0, import_react4.cloneElement)(children, {
205
233
  ...startElement && { ps: "calc(var(--input-height) - 6px)" },
206
234
  ...endElement && { pe: "calc(var(--input-height) - 6px)" },
207
235
  ...children.props
208
236
  }),
209
- endElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react4.InputElement, { placement: "end", ...endElementProps, children: endElement })
237
+ endElement && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_input.InputElement, { placement: "end", ...endElementProps, children: endElement })
210
238
  ] });
211
239
  }
212
240
  );
213
241
 
214
242
  // src/components/password-input/password-input.tsx
215
- var import_jsx_runtime2 = require("react/jsx-runtime");
243
+ var import_jsx_runtime3 = require("react/jsx-runtime");
216
244
  var PasswordInput = (0, import_react5.forwardRef)(
217
245
  function PasswordInput2(props, ref) {
218
246
  const {
@@ -220,7 +248,7 @@ var PasswordInput = (0, import_react5.forwardRef)(
220
248
  defaultVisible,
221
249
  visible: visibleProp,
222
250
  onVisibleChange,
223
- visibilityIcon = { on: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEye, {}), off: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEyeOff, {}) },
251
+ visibilityIcon = { on: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LuEye, {}), off: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LuEyeOff, {}) },
224
252
  ...rest
225
253
  } = props;
226
254
  const [visible, setVisible] = (0, import_react6.useControllableState)({
@@ -229,11 +257,11 @@ var PasswordInput = (0, import_react5.forwardRef)(
229
257
  onChange: onVisibleChange
230
258
  });
231
259
  const inputRef = (0, import_react5.useRef)(null);
232
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
260
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
233
261
  InputGroup,
234
262
  {
235
263
  width: "full",
236
- endElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
264
+ endElement: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
237
265
  VisibilityTrigger,
238
266
  {
239
267
  disabled: rest.disabled,
@@ -247,8 +275,8 @@ var PasswordInput = (0, import_react5.forwardRef)(
247
275
  }
248
276
  ),
249
277
  ...rootProps,
250
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
251
- import_react6.Input,
278
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
279
+ import_input.Input,
252
280
  {
253
281
  ...rest,
254
282
  ref: (0, import_react6.mergeRefs)(ref, inputRef),
@@ -261,8 +289,8 @@ var PasswordInput = (0, import_react5.forwardRef)(
261
289
  );
262
290
  var VisibilityTrigger = (0, import_react5.forwardRef)(
263
291
  function VisibilityTrigger2(props, ref) {
264
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
265
- import_react6.IconButton,
292
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
293
+ IconButton,
266
294
  {
267
295
  tabIndex: -1,
268
296
  ref,
@@ -1,8 +1,10 @@
1
1
  import * as react from 'react';
2
- import { InputProps, GroupProps } from '@chakra-ui/react';
2
+ import { InputGroupProps } from '../input-group/index.cjs';
3
+ import { InputProps } from '@chakra-ui/react/input';
4
+ import '@chakra-ui/react/group';
3
5
 
4
6
  interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
5
- rootProps?: GroupProps;
7
+ rootProps?: InputGroupProps;
6
8
  }
7
9
  declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
8
10
  interface PasswordVisibilityProps {
@@ -1,8 +1,10 @@
1
1
  import * as react from 'react';
2
- import { InputProps, GroupProps } from '@chakra-ui/react';
2
+ import { InputGroupProps } from '../input-group/index.js';
3
+ import { InputProps } from '@chakra-ui/react/input';
4
+ import '@chakra-ui/react/group';
3
5
 
4
6
  interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
5
- rootProps?: GroupProps;
7
+ rootProps?: InputGroupProps;
6
8
  }
7
9
  declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
8
10
  interface PasswordVisibilityProps {
@@ -1,8 +1,11 @@
1
1
  'use client'
2
2
  import {
3
3
  PasswordInput
4
- } from "../../chunk-K2SPPLAY.js";
5
- import "../../chunk-PKI6YH2V.js";
4
+ } from "../../chunk-T7XRS654.js";
5
+ import "../../chunk-HKMYYESV.js";
6
+ import "../../chunk-5MTFSSOH.js";
7
+ import "../../chunk-OJZPPAT6.js";
8
+ import "../../chunk-5HVAMQYO.js";
6
9
  import "../../chunk-RTMS5TJN.js";
7
10
  export {
8
11
  PasswordInput
@@ -41,20 +41,21 @@ module.exports = __toCommonJS(persona_exports);
41
41
  var React2 = __toESM(require("react"), 1);
42
42
 
43
43
  // src/components/persona/persona-primitive.tsx
44
- var import_react4 = require("react");
45
- var import_react5 = require("@chakra-ui/react");
44
+ var import_react3 = require("react");
45
+ var import_react4 = require("@chakra-ui/react");
46
46
  var import_utils = require("@saas-ui/core/utils");
47
47
 
48
48
  // src/components/avatar/avatar.tsx
49
49
  var import_react = require("react");
50
- var import_react2 = require("@chakra-ui/react");
50
+ var import_avatar = require("@chakra-ui/react/avatar");
51
+ var import_group = require("@chakra-ui/react/group");
51
52
  var import_jsx_runtime = require("react/jsx-runtime");
52
53
  var Avatar = (0, import_react.forwardRef)(
53
54
  function Avatar2(props, ref) {
54
55
  const { name, src, srcSet, loading, icon, fallback, children, ...rest } = props;
55
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react2.Avatar.Root, { ref, ...rest, children: [
56
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_avatar.Avatar.Root, { ref, ...rest, children: [
56
57
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AvatarFallback, { name, icon, children: fallback }),
57
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Avatar.Image, { src, srcSet, loading }),
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_avatar.Avatar.Image, { src, srcSet, loading }),
58
59
  children
59
60
  ] });
60
61
  }
@@ -62,10 +63,10 @@ var Avatar = (0, import_react.forwardRef)(
62
63
  var AvatarFallback = (0, import_react.forwardRef)(
63
64
  function AvatarFallback2(props, ref) {
64
65
  const { name, icon, children, ...rest } = props;
65
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react2.Avatar.Fallback, { ref, ...rest, children: [
66
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_avatar.Avatar.Fallback, { ref, ...rest, children: [
66
67
  children,
67
68
  name != null && children == null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: getInitials(name) }),
68
- name == null && children == null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Avatar.Icon, { asChild: !!icon, children: icon })
69
+ name == null && children == null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_avatar.Avatar.Icon, { asChild: !!icon, children: icon })
69
70
  ] });
70
71
  }
71
72
  );
@@ -78,27 +79,27 @@ function getInitials(name) {
78
79
  var AvatarGroup = (0, import_react.forwardRef)(
79
80
  function AvatarGroup2(props, ref) {
80
81
  const { size, variant, borderless, ...rest } = props;
81
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Avatar.PropsProvider, { value: { size, variant, borderless }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Group, { gap: "0", spaceX: "-3", ref, ...rest }) });
82
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_avatar.Avatar.PropsProvider, { value: { size, variant, borderless }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_group.Group, { gap: "0", spaceX: "-3", ref, ...rest }) });
82
83
  }
83
84
  );
84
85
 
85
86
  // src/components/persona/persona.context.ts
86
- var import_react3 = require("@chakra-ui/react");
87
+ var import_react2 = require("@chakra-ui/react");
87
88
  var {
88
89
  useStyles: usePersonaStyles,
89
90
  withProvider,
90
91
  withContext
91
- } = (0, import_react3.createSlotRecipeContext)({
92
+ } = (0, import_react2.createSlotRecipeContext)({
92
93
  key: "suiPersona"
93
94
  });
94
95
 
95
96
  // src/components/persona/persona-primitive.tsx
96
97
  var import_jsx_runtime2 = require("react/jsx-runtime");
97
98
  var PersonaRoot = withProvider(
98
- (0, import_react4.forwardRef)((props, ref) => {
99
+ (0, import_react3.forwardRef)((props, ref) => {
99
100
  const { outOfOffice, presence, ...rest } = props;
100
101
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
101
- import_react5.chakra.div,
102
+ import_react4.chakra.div,
102
103
  {
103
104
  ref,
104
105
  ...rest,
@@ -115,7 +116,7 @@ var PersonaRoot = withProvider(
115
116
  }),
116
117
  "root"
117
118
  );
118
- var PersonaAvatar = (0, import_react4.forwardRef)(
119
+ var PersonaAvatar = (0, import_react3.forwardRef)(
119
120
  (props, ref) => {
120
121
  const {
121
122
  name,
@@ -1,8 +1,11 @@
1
1
  import * as react from 'react';
2
2
  import react__default from 'react';
3
3
  import * as _chakra_ui_react from '@chakra-ui/react';
4
- import { RecipeVariantProps, HTMLChakraProps, SlotRecipeProps, ImageProps } from '@chakra-ui/react';
4
+ import { HTMLChakraProps, SlotRecipeProps, ImageProps } from '@chakra-ui/react';
5
5
  import { AvatarProps } from '../avatar/index.cjs';
6
+ import { RecipeVariantProps } from '@chakra-ui/react/styled-system';
7
+ import '@chakra-ui/react/avatar';
8
+ import '@chakra-ui/react/group';
6
9
 
7
10
  declare const personaSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"presence" | "root" | "label" | "avatar" | "details" | "secondaryLabel" | "tertiaryLabel", {
8
11
  size: {
@@ -1,8 +1,11 @@
1
1
  import * as react from 'react';
2
2
  import react__default from 'react';
3
3
  import * as _chakra_ui_react from '@chakra-ui/react';
4
- import { RecipeVariantProps, HTMLChakraProps, SlotRecipeProps, ImageProps } from '@chakra-ui/react';
4
+ import { HTMLChakraProps, SlotRecipeProps, ImageProps } from '@chakra-ui/react';
5
5
  import { AvatarProps } from '../avatar/index.js';
6
+ import { RecipeVariantProps } from '@chakra-ui/react/styled-system';
7
+ import '@chakra-ui/react/avatar';
8
+ import '@chakra-ui/react/group';
6
9
 
7
10
  declare const personaSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"presence" | "root" | "label" | "avatar" | "details" | "secondaryLabel" | "tertiaryLabel", {
8
11
  size: {
@@ -3,8 +3,8 @@ import {
3
3
  Persona,
4
4
  PersonaAvatar,
5
5
  defaultPresenceOptions
6
- } from "../../chunk-GWC5GCMW.js";
7
- import "../../chunk-JO4WJVYO.js";
6
+ } from "../../chunk-VJ4UOABT.js";
7
+ import "../../chunk-FN7TU5F5.js";
8
8
  import "../../chunk-RTMS5TJN.js";
9
9
  export {
10
10
  Persona,
@@ -27,7 +27,8 @@ module.exports = __toCommonJS(pin_input_exports);
27
27
 
28
28
  // src/components/pin-input/pin-input.tsx
29
29
  var import_react = require("react");
30
- var import_react2 = require("@chakra-ui/react");
30
+ var import_group = require("@chakra-ui/react/group");
31
+ var import_pin_input = require("@chakra-ui/react/pin-input");
31
32
  var import_jsx_runtime = require("react/jsx-runtime");
32
33
  var PinInput = (0, import_react.forwardRef)(
33
34
  function PinInput2(props, ref) {
@@ -39,9 +40,9 @@ var PinInput = (0, import_react.forwardRef)(
39
40
  gap = attached ? 0 : 2,
40
41
  ...rest
41
42
  } = props;
42
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react2.PinInput.Root, { ref: rootRef, ...rest, children: [
43
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.PinInput.HiddenInput, { ref, ...inputProps }),
44
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.PinInput.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Group, { attached, gap, children: Array.from({ length: pinLength }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.PinInput.Input, { index }, index)) }) })
43
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_pin_input.PinInput.Root, { ref: rootRef, ...rest, children: [
44
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_pin_input.PinInput.HiddenInput, { ref, ...inputProps }),
45
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_pin_input.PinInput.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_group.Group, { attached, gap, children: Array.from({ length: pinLength }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_pin_input.PinInput.Input, { index }, index)) }) })
45
46
  ] });
46
47
  }
47
48
  );
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { PinInput as PinInput$1 } from '@chakra-ui/react';
2
+ import { PinInput as PinInput$1 } from '@chakra-ui/react/pin-input';
3
3
 
4
4
  interface PinInputProps extends PinInput$1.RootProps {
5
5
  rootRef?: React.Ref<HTMLDivElement>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { PinInput as PinInput$1 } from '@chakra-ui/react';
2
+ import { PinInput as PinInput$1 } from '@chakra-ui/react/pin-input';
3
3
 
4
4
  interface PinInputProps extends PinInput$1.RootProps {
5
5
  rootRef?: React.Ref<HTMLDivElement>;