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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/CHANGELOG.md +215 -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,178 @@
1
+ 'use client'
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // src/components/native-select/index.ts
32
+ var native_select_exports = {};
33
+ __export(native_select_exports, {
34
+ NativeSelect: () => NativeSelect
35
+ });
36
+ module.exports = __toCommonJS(native_select_exports);
37
+
38
+ // src/components/native-select/native-select.tsx
39
+ var React = __toESM(require("react"), 1);
40
+ var import_native_select = require("@chakra-ui/react/native-select");
41
+
42
+ // src/components/icons/create-icon.tsx
43
+ var import_icon = require("@chakra-ui/react/icon");
44
+ var createIcon = (props) => {
45
+ return (0, import_icon.createIcon)({
46
+ viewBox: "0 0 24 24",
47
+ defaultProps: {
48
+ fill: "none",
49
+ stroke: "currentColor",
50
+ strokeWidth: "2",
51
+ strokeLinecap: "round",
52
+ strokeLinejoin: "round"
53
+ },
54
+ ...props
55
+ });
56
+ };
57
+
58
+ // src/components/icons/icons.tsx
59
+ var import_jsx_runtime = require("react/jsx-runtime");
60
+ var ChevronUpIcon = createIcon({
61
+ displayName: "ChevronUpIcon",
62
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "18 15 12 9 6 15" })
63
+ });
64
+ var ChevronDownIcon = createIcon({
65
+ displayName: "ChevronDownIcon",
66
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "6 9 12 15 18 9" })
67
+ });
68
+ var ChevronLeftIcon = createIcon({
69
+ displayName: "ChevronLeftIcon",
70
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "15 18 9 12 15 6" })
71
+ });
72
+ var ChevronRightIcon = createIcon({
73
+ displayName: "ChevronRightIcon",
74
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "9 18 15 12 9 6" })
75
+ });
76
+ var HamburgerIcon = createIcon({
77
+ displayName: "ChevronDownIcon",
78
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { fill: "none", children: [
79
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
80
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
81
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
82
+ ] })
83
+ });
84
+ var CloseIcon = createIcon({
85
+ displayName: "CloseIcon",
86
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
87
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
88
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
89
+ ] })
90
+ });
91
+ var FilterIcon = createIcon({
92
+ displayName: "FilterIcon",
93
+ 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" })
94
+ });
95
+ var CalendarIcon = createIcon({
96
+ displayName: "CalendarIcon",
97
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
98
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
99
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
100
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
101
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
102
+ ] })
103
+ });
104
+ var PlusIcon = createIcon({
105
+ displayName: "PlusIcon",
106
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
107
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
108
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
109
+ ] })
110
+ });
111
+ var MinusIcon = createIcon({
112
+ displayName: "MinusIcon",
113
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
114
+ });
115
+ var ViewOffIcon = createIcon({
116
+ displayName: "ViewOffIcon",
117
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
118
+ /* @__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" }),
119
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
120
+ ] })
121
+ });
122
+ var ViewIcon = createIcon({
123
+ displayName: "ViewOffIcon",
124
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
125
+ /* @__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" }),
126
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "3" })
127
+ ] })
128
+ });
129
+ var SearchIcon = createIcon({
130
+ displayName: "SearchIcon",
131
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
132
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
133
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
134
+ ] })
135
+ });
136
+ var CheckIcon = createIcon({
137
+ displayName: "CheckIcon",
138
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
139
+ });
140
+ var EllipsisIcon = createIcon({
141
+ displayName: "EllipsisIcon",
142
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
143
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
144
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
145
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
146
+ ] })
147
+ });
148
+ var CopyIcon = createIcon({
149
+ displayName: "CopyIcon",
150
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
151
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
152
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
153
+ ] })
154
+ });
155
+ var InfoIcon = createIcon({
156
+ displayName: "InfoIcon",
157
+ path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
158
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
159
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
160
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
161
+ ] })
162
+ });
163
+
164
+ // src/components/native-select/native-select.tsx
165
+ var import_jsx_runtime2 = require("react/jsx-runtime");
166
+ var NativeSelect = React.forwardRef(
167
+ function NativeSelect2(props, ref) {
168
+ const { icon = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ChevronDownIcon, {}), placeholder, children, ...rest } = props;
169
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_native_select.NativeSelect.Root, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_native_select.NativeSelect.Field, { placeholder, children: [
170
+ children,
171
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_native_select.NativeSelect.Indicator, { children: icon })
172
+ ] }) });
173
+ }
174
+ );
175
+ // Annotate the CommonJS export names for ESM import in node:
176
+ 0 && (module.exports = {
177
+ NativeSelect
178
+ });
@@ -0,0 +1,10 @@
1
+ import * as react from 'react';
2
+ import { NativeSelect as NativeSelect$1 } from '@chakra-ui/react/native-select';
3
+
4
+ interface NativeSelectProps extends NativeSelect$1.RootProps {
5
+ icon?: react.ReactNode;
6
+ placeholder?: string;
7
+ }
8
+ declare const NativeSelect: react.ForwardRefExoticComponent<NativeSelectProps & react.RefAttributes<HTMLDivElement>>;
9
+
10
+ export { NativeSelect, type NativeSelectProps };
@@ -0,0 +1,10 @@
1
+ import * as react from 'react';
2
+ import { NativeSelect as NativeSelect$1 } from '@chakra-ui/react/native-select';
3
+
4
+ interface NativeSelectProps extends NativeSelect$1.RootProps {
5
+ icon?: react.ReactNode;
6
+ placeholder?: string;
7
+ }
8
+ declare const NativeSelect: react.ForwardRefExoticComponent<NativeSelectProps & react.RefAttributes<HTMLDivElement>>;
9
+
10
+ export { NativeSelect, type NativeSelectProps };
@@ -0,0 +1,10 @@
1
+ 'use client'
2
+ import {
3
+ NativeSelect
4
+ } from "../../chunk-HD7BIWDH.js";
5
+ import "../../chunk-KTLWEUNW.js";
6
+ import "../../chunk-4XB7B73X.js";
7
+ import "../../chunk-RTMS5TJN.js";
8
+ export {
9
+ NativeSelect
10
+ };
@@ -26,12 +26,17 @@ __export(number_input_exports, {
26
26
  module.exports = __toCommonJS(number_input_exports);
27
27
 
28
28
  // src/components/number-input/number-input.tsx
29
- var import_react3 = require("react");
30
- var import_react4 = require("@chakra-ui/react");
29
+ var import_react2 = require("react");
30
+ var import_number_input = require("@chakra-ui/react/number-input");
31
31
 
32
32
  // src/components/input-group/input-group.tsx
33
33
  var import_react = require("react");
34
- var import_react2 = require("@chakra-ui/react");
34
+ var import_group = require("@chakra-ui/react/group");
35
+
36
+ // src/components/input/index.ts
37
+ var import_input = require("@chakra-ui/react/input");
38
+
39
+ // src/components/input-group/input-group.tsx
35
40
  var import_jsx_runtime = require("react/jsx-runtime");
36
41
  var InputGroup = (0, import_react.forwardRef)(
37
42
  function InputGroup2(props, ref) {
@@ -43,21 +48,21 @@ var InputGroup = (0, import_react.forwardRef)(
43
48
  children,
44
49
  ...rest
45
50
  } = props;
46
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react2.Group, { ref, display: "flex", ...rest, children: [
47
- startElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
51
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_group.Group, { ref, display: "flex", ...rest, children: [
52
+ startElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_input.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
48
53
  (0, import_react.isValidElement)(children) && (0, import_react.cloneElement)(children, {
49
54
  ...startElement && { ps: "calc(var(--input-height) - 6px)" },
50
55
  ...endElement && { pe: "calc(var(--input-height) - 6px)" },
51
56
  ...children.props
52
57
  }),
53
- endElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.InputElement, { placement: "end", ...endElementProps, children: endElement })
58
+ endElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_input.InputElement, { placement: "end", ...endElementProps, children: endElement })
54
59
  ] });
55
60
  }
56
61
  );
57
62
 
58
63
  // src/components/number-input/number-input.tsx
59
64
  var import_jsx_runtime2 = require("react/jsx-runtime");
60
- var NumberInput = (0, import_react3.forwardRef)(
65
+ var NumberInput = (0, import_react2.forwardRef)(
61
66
  function NumberInput2(props, ref) {
62
67
  const {
63
68
  hideControls,
@@ -67,11 +72,19 @@ var NumberInput = (0, import_react3.forwardRef)(
67
72
  rootRef,
68
73
  ...rest
69
74
  } = props;
70
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react4.NumberInput.Root, { ref: rootRef, ...rest, children: [
71
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(InputGroup, { startElement, endElement, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react4.NumberInput.Input, { ref, ...inputProps }) }),
72
- !hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react4.NumberInput.Control, { children: [
73
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react4.NumberInput.IncrementTrigger, {}),
74
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react4.NumberInput.DecrementTrigger, {})
75
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_number_input.NumberInput.Root, { ref: rootRef, ...rest, children: [
76
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
77
+ InputGroup,
78
+ {
79
+ startElement,
80
+ endElement,
81
+ width: "full",
82
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_number_input.NumberInput.Input, { ref, ...inputProps })
83
+ }
84
+ ),
85
+ !hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_number_input.NumberInput.Control, { children: [
86
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_number_input.NumberInput.IncrementTrigger, {}),
87
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_number_input.NumberInput.DecrementTrigger, {})
75
88
  ] }) : null
76
89
  ] });
77
90
  }
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { NumberInput as NumberInput$1 } from '@chakra-ui/react';
2
+ import { NumberInput as NumberInput$1 } from '@chakra-ui/react/number-input';
3
3
 
4
4
  interface NumberInputProps extends Omit<NumberInput$1.RootProps, 'children'> {
5
5
  rootRef?: React.Ref<HTMLDivElement>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { NumberInput as NumberInput$1 } from '@chakra-ui/react';
2
+ import { NumberInput as NumberInput$1 } from '@chakra-ui/react/number-input';
3
3
 
4
4
  interface NumberInputProps extends Omit<NumberInput$1.RootProps, 'children'> {
5
5
  rootRef?: React.Ref<HTMLDivElement>;
@@ -1,8 +1,9 @@
1
1
  'use client'
2
2
  import {
3
3
  NumberInput
4
- } from "../../chunk-ULAJ3JEO.js";
5
- import "../../chunk-PKI6YH2V.js";
4
+ } from "../../chunk-IEWGZ4LU.js";
5
+ import "../../chunk-HKMYYESV.js";
6
+ import "../../chunk-5MTFSSOH.js";
6
7
  import "../../chunk-RTMS5TJN.js";
7
8
  export {
8
9
  NumberInput
@@ -0,0 +1,253 @@
1
+ 'use client'
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/components/pagination/index.ts
22
+ var pagination_exports2 = {};
23
+ __export(pagination_exports2, {
24
+ Pagination: () => pagination_exports
25
+ });
26
+ module.exports = __toCommonJS(pagination_exports2);
27
+
28
+ // src/components/pagination/pagination.tsx
29
+ var pagination_exports = {};
30
+ __export(pagination_exports, {
31
+ Context: () => Context,
32
+ Ellipsis: () => Ellipsis,
33
+ Item: () => Item,
34
+ Items: () => Items,
35
+ NextButton: () => NextButton,
36
+ NextTrigger: () => NextTrigger,
37
+ PageText: () => PageText,
38
+ PrevButton: () => PrevButton,
39
+ PrevTrigger: () => PrevTrigger,
40
+ Root: () => Root
41
+ });
42
+ var import_react2 = require("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
+ );
67
+
68
+ // src/components/icons/create-icon.tsx
69
+ var import_icon = require("@chakra-ui/react/icon");
70
+ var createIcon = (props) => {
71
+ return (0, import_icon.createIcon)({
72
+ viewBox: "0 0 24 24",
73
+ defaultProps: {
74
+ fill: "none",
75
+ stroke: "currentColor",
76
+ strokeWidth: "2",
77
+ strokeLinecap: "round",
78
+ strokeLinejoin: "round"
79
+ },
80
+ ...props
81
+ });
82
+ };
83
+
84
+ // src/components/icons/icons.tsx
85
+ var import_jsx_runtime2 = require("react/jsx-runtime");
86
+ var ChevronUpIcon = createIcon({
87
+ displayName: "ChevronUpIcon",
88
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "18 15 12 9 6 15" })
89
+ });
90
+ var ChevronDownIcon = createIcon({
91
+ displayName: "ChevronDownIcon",
92
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "6 9 12 15 18 9" })
93
+ });
94
+ var ChevronLeftIcon = createIcon({
95
+ displayName: "ChevronLeftIcon",
96
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "15 18 9 12 15 6" })
97
+ });
98
+ var ChevronRightIcon = createIcon({
99
+ displayName: "ChevronRightIcon",
100
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "9 18 15 12 9 6" })
101
+ });
102
+ var HamburgerIcon = createIcon({
103
+ displayName: "ChevronDownIcon",
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" })
108
+ ] })
109
+ });
110
+ var CloseIcon = createIcon({
111
+ displayName: "CloseIcon",
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" })
115
+ ] })
116
+ });
117
+ var FilterIcon = createIcon({
118
+ displayName: "FilterIcon",
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" })
120
+ });
121
+ var CalendarIcon = createIcon({
122
+ displayName: "CalendarIcon",
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" })
128
+ ] })
129
+ });
130
+ var PlusIcon = createIcon({
131
+ displayName: "PlusIcon",
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" })
135
+ ] })
136
+ });
137
+ var MinusIcon = createIcon({
138
+ displayName: "MinusIcon",
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" }) })
140
+ });
141
+ var ViewOffIcon = createIcon({
142
+ displayName: "ViewOffIcon",
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" })
146
+ ] })
147
+ });
148
+ var ViewIcon = createIcon({
149
+ displayName: "ViewOffIcon",
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" })
153
+ ] })
154
+ });
155
+ var SearchIcon = createIcon({
156
+ displayName: "SearchIcon",
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" })
160
+ ] })
161
+ });
162
+ var CheckIcon = createIcon({
163
+ displayName: "CheckIcon",
164
+ path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
165
+ });
166
+ var EllipsisIcon = createIcon({
167
+ displayName: "EllipsisIcon",
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" })
187
+ ] })
188
+ });
189
+
190
+ // src/components/pagination/pagination.tsx
191
+ var import_jsx_runtime3 = require("react/jsx-runtime");
192
+ var [RootPropsProvider, useRootProps] = (0, import_utils.createContext)({
193
+ name: "RootPropsProvider"
194
+ });
195
+ var variantMap = {
196
+ outline: { default: "ghost", ellipsis: "plain", current: "outline" },
197
+ solid: { default: "outline", ellipsis: "outline", current: "solid" },
198
+ subtle: { default: "ghost", ellipsis: "plain", current: "subtle" }
199
+ };
200
+ var Root = (0, import_react2.forwardRef)(
201
+ function PaginationRoot(props, ref) {
202
+ const { size = "sm", variant = "outline", ...rest } = props;
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 }) });
204
+ }
205
+ );
206
+ var Ellipsis = (0, import_react2.forwardRef)(function PaginationEllipsis(props, ref) {
207
+ var _a;
208
+ const { size, variantMap: variantMap2 } = useRootProps();
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, {}) }) });
210
+ });
211
+ var Item = (0, import_react2.forwardRef)(
212
+ function PaginationItem(props, ref) {
213
+ const { page } = (0, import_pagination.usePaginationContext)();
214
+ const { size, variantMap: variantMap2 } = useRootProps();
215
+ const current = page === props.value;
216
+ const variant = current ? variantMap2.current : variantMap2.default;
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 }) });
218
+ }
219
+ );
220
+ var PrevButton = (0, import_react2.forwardRef)(function PaginationPrevTrigger(props, ref) {
221
+ var _a;
222
+ const { size, variantMap: variantMap2 } = useRootProps();
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, {}) }) });
224
+ });
225
+ var NextButton = (0, import_react2.forwardRef)(function PaginationNextTrigger(props, ref) {
226
+ var _a;
227
+ const { size, variantMap: variantMap2 } = useRootProps();
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, {}) }) });
229
+ });
230
+ var Items = (props) => {
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);
233
+ }) });
234
+ };
235
+ var PageText = (0, import_react2.forwardRef)(
236
+ function PaginationPageText(props, ref) {
237
+ const { format = "compact", ...rest } = props;
238
+ const { page, pages, pageRange, count } = (0, import_pagination.usePaginationContext)();
239
+ const content = (0, import_react2.useMemo)(() => {
240
+ if (format === "short") return `${page} / ${pages.length}`;
241
+ if (format === "compact") return `${page} of ${pages.length}`;
242
+ return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
243
+ }, [format, page, pages.length, pageRange, count]);
244
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_typography.Text, { fontWeight: "medium", ref, ...rest, children: content });
245
+ }
246
+ );
247
+ var PrevTrigger = import_pagination.Pagination.PrevTrigger;
248
+ var NextTrigger = import_pagination.Pagination.NextTrigger;
249
+ var Context = import_pagination.Pagination.Context;
250
+ // Annotate the CommonJS export names for ESM import in node:
251
+ 0 && (module.exports = {
252
+ Pagination
253
+ });
@@ -0,0 +1,43 @@
1
+ import * as _ark_ui_react from '@ark-ui/react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import * as react from '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';
7
+
8
+ type PaginationVariant = 'outline' | 'solid' | 'subtle';
9
+ interface RootProps extends Omit<Pagination.RootProps, 'type'> {
10
+ size?: ButtonProps['size'];
11
+ variant?: PaginationVariant;
12
+ }
13
+ declare const Root: react.ForwardRefExoticComponent<RootProps & react.RefAttributes<HTMLDivElement>>;
14
+ declare const Ellipsis: react.ForwardRefExoticComponent<Pagination.EllipsisProps & react.RefAttributes<HTMLDivElement>>;
15
+ declare const Item: react.ForwardRefExoticComponent<Pagination.ItemProps & react.RefAttributes<HTMLButtonElement>>;
16
+ declare const PrevButton: react.ForwardRefExoticComponent<Pagination.PrevTriggerProps & react.RefAttributes<HTMLButtonElement>>;
17
+ declare const NextButton: react.ForwardRefExoticComponent<Pagination.NextTriggerProps & react.RefAttributes<HTMLButtonElement>>;
18
+ declare const Items: (props: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime.JSX.Element;
19
+ interface PageTextProps extends TextProps {
20
+ format?: 'short' | 'compact' | 'long';
21
+ }
22
+ declare const PageText: react.ForwardRefExoticComponent<PageTextProps & react.RefAttributes<HTMLParagraphElement>>;
23
+ declare const PrevTrigger: react.ForwardRefExoticComponent<Pagination.PrevTriggerProps & react.RefAttributes<HTMLButtonElement>>;
24
+ declare const NextTrigger: react.ForwardRefExoticComponent<Pagination.NextTriggerProps & react.RefAttributes<HTMLButtonElement>>;
25
+ declare const Context: (props: _ark_ui_react.PaginationContextProps) => react.ReactNode;
26
+
27
+ declare const pagination_Context: typeof Context;
28
+ declare const pagination_Ellipsis: typeof Ellipsis;
29
+ declare const pagination_Item: typeof Item;
30
+ declare const pagination_Items: typeof Items;
31
+ declare const pagination_NextButton: typeof NextButton;
32
+ declare const pagination_NextTrigger: typeof NextTrigger;
33
+ declare const pagination_PageText: typeof PageText;
34
+ type pagination_PageTextProps = PageTextProps;
35
+ declare const pagination_PrevButton: typeof PrevButton;
36
+ declare const pagination_PrevTrigger: typeof PrevTrigger;
37
+ declare const pagination_Root: typeof Root;
38
+ type pagination_RootProps = RootProps;
39
+ declare namespace pagination {
40
+ export { pagination_Context as Context, pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, type pagination_PageTextProps as PageTextProps, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
41
+ }
42
+
43
+ export { pagination as Pagination };