@saas-ui/react 3.0.0-next.9 → 3.0.0-rc.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 (636) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -39
  3. package/dist/components/error-boundary/error-boundary.d.ts +28 -0
  4. package/dist/components/error-boundary/error-boundary.js +32 -0
  5. package/dist/components/error-boundary/error-provider.d.ts +11 -0
  6. package/dist/components/error-boundary/error-provider.js +9 -0
  7. package/dist/components/error-boundary/index.d.ts +4 -0
  8. package/dist/components/error-boundary/index.js +2 -0
  9. package/dist/components/grid-list/grid-list.context.d.ts +40 -0
  10. package/dist/components/grid-list/grid-list.context.js +82 -0
  11. package/dist/components/grid-list/grid-list.d.ts +18 -0
  12. package/dist/components/grid-list/grid-list.js +32 -0
  13. package/dist/components/grid-list/index.d.ts +1 -1
  14. package/dist/components/grid-list/index.js +1 -8
  15. package/dist/components/grid-list/namespace.d.ts +2 -0
  16. package/dist/components/grid-list/namespace.js +1 -0
  17. package/dist/components/navbar/index.d.ts +1 -1
  18. package/dist/components/navbar/index.js +1 -9
  19. package/dist/components/navbar/namespace.d.ts +2 -0
  20. package/dist/components/navbar/namespace.js +1 -0
  21. package/dist/components/navbar/navbar.d.ts +43 -0
  22. package/dist/components/navbar/navbar.js +35 -0
  23. package/dist/components/navbar/use-navbar.d.ts +49 -0
  24. package/dist/components/navbar/use-navbar.js +70 -0
  25. package/dist/components/sidebar/index.d.ts +4 -4
  26. package/dist/components/sidebar/index.js +2 -14
  27. package/dist/components/sidebar/namespace.d.ts +5 -0
  28. package/dist/components/sidebar/namespace.js +2 -0
  29. package/dist/components/sidebar/sidebar.context.d.ts +34 -0
  30. package/dist/components/sidebar/sidebar.context.js +75 -0
  31. package/dist/components/sidebar/sidebar.d.ts +47 -0
  32. package/dist/components/sidebar/sidebar.js +106 -0
  33. package/dist/components/sidebar/sidebar.types.d.ts +29 -0
  34. package/dist/components/sidebar/sidebar.types.js +1 -0
  35. package/dist/components/steps/index.d.ts +2 -1
  36. package/dist/components/steps/index.js +1 -10
  37. package/dist/components/steps/use-stepper.d.ts +79 -0
  38. package/dist/components/steps/use-stepper.js +110 -0
  39. package/dist/index.d.ts +9 -253
  40. package/dist/index.js +6 -561
  41. package/dist/system/compose-refs.d.ts +3 -0
  42. package/dist/system/compose-refs.js +13 -0
  43. package/dist/system/index.d.ts +183 -0
  44. package/dist/system/index.js +3 -0
  45. package/dist/utils/assign.d.ts +1 -0
  46. package/dist/utils/assign.js +1 -0
  47. package/dist/utils/call-all.d.ts +1 -0
  48. package/dist/utils/call-all.js +5 -0
  49. package/dist/utils/create-context.d.ts +14 -0
  50. package/dist/utils/create-context.js +21 -0
  51. package/dist/utils/create-props.d.ts +3 -0
  52. package/dist/utils/create-props.js +1 -0
  53. package/dist/utils/cx.d.ts +1 -0
  54. package/dist/utils/cx.js +4 -0
  55. package/dist/utils/data-attr.d.ts +3 -0
  56. package/dist/utils/data-attr.js +1 -0
  57. package/dist/utils/entries.d.ts +5 -0
  58. package/dist/utils/entries.js +8 -0
  59. package/dist/utils/get-child-of-type.d.ts +7 -0
  60. package/dist/utils/get-child-of-type.js +9 -0
  61. package/dist/utils/get-children-of-type.d.ts +7 -0
  62. package/dist/utils/get-children-of-type.js +11 -0
  63. package/dist/utils/get.d.ts +11 -0
  64. package/dist/utils/get.js +36 -0
  65. package/dist/utils/index.d.ts +15 -0
  66. package/dist/utils/index.js +12 -0
  67. package/dist/utils/merge-refs.d.ts +3 -0
  68. package/dist/utils/merge-refs.js +21 -0
  69. package/dist/utils/run-if-fn.d.ts +2 -0
  70. package/dist/utils/run-if-fn.js +5 -0
  71. package/dist/utils/split-props.d.ts +9 -0
  72. package/dist/utils/split-props.js +25 -0
  73. package/package.json +47 -49
  74. package/CHANGELOG.md +0 -4033
  75. package/dist/.tsbuildinfo.json +0 -1
  76. package/dist/_tsup-dts-rollup.d.cts +0 -15192
  77. package/dist/_tsup-dts-rollup.d.ts +0 -15192
  78. package/dist/chunk-27OMFCPD.js +0 -8
  79. package/dist/chunk-2UMNJBGS.js +0 -101
  80. package/dist/chunk-3CKGT42F.js +0 -10
  81. package/dist/chunk-3E6URZ5P.js +0 -23
  82. package/dist/chunk-3EWOE56X.js +0 -46
  83. package/dist/chunk-3RHNNKPC.js +0 -51
  84. package/dist/chunk-46OCNELO.js +0 -10
  85. package/dist/chunk-4N4SHDPB.js +0 -10
  86. package/dist/chunk-52XM5VXJ.js +0 -9
  87. package/dist/chunk-5HVAMQYO.js +0 -8
  88. package/dist/chunk-5YNHX4C7.js +0 -16
  89. package/dist/chunk-5ZKEXMBN.js +0 -36
  90. package/dist/chunk-6WZK2RBQ.js +0 -12
  91. package/dist/chunk-6XSCENTR.js +0 -97
  92. package/dist/chunk-6YZ76Q2W.js +0 -8
  93. package/dist/chunk-7DF4NQNZ.js +0 -8
  94. package/dist/chunk-7HAGRXKM.js +0 -8
  95. package/dist/chunk-7MCVXFWM.js +0 -33
  96. package/dist/chunk-7PWVK3NL.js +0 -8
  97. package/dist/chunk-AA5L5WPD.js +0 -9
  98. package/dist/chunk-BDS3APRG.js +0 -56
  99. package/dist/chunk-BLSGOJQ7.js +0 -18
  100. package/dist/chunk-BSE7ZUP5.js +0 -10
  101. package/dist/chunk-C5KFNMWU.js +0 -8
  102. package/dist/chunk-C5YLE76Q.js +0 -118
  103. package/dist/chunk-CQD32UVJ.js +0 -8
  104. package/dist/chunk-CRFTMIQA.js +0 -36
  105. package/dist/chunk-D72A4SU3.js +0 -24
  106. package/dist/chunk-DEP2DH7P.js +0 -100
  107. package/dist/chunk-DHFAFRZ4.js +0 -8
  108. package/dist/chunk-DJNPK2LM.js +0 -60
  109. package/dist/chunk-EWATHRZA.js +0 -8
  110. package/dist/chunk-EWCBYJA7.js +0 -8
  111. package/dist/chunk-EZZW6JOU.js +0 -10
  112. package/dist/chunk-FD2V4Y66.js +0 -8
  113. package/dist/chunk-FN7TU5F5.js +0 -44
  114. package/dist/chunk-FPRTN3I7.js +0 -9
  115. package/dist/chunk-FVUEAELO.js +0 -64
  116. package/dist/chunk-GDDJYUWM.js +0 -12
  117. package/dist/chunk-GSWLAOIM.js +0 -24
  118. package/dist/chunk-GXOQVOKP.js +0 -67
  119. package/dist/chunk-HHKMVSL4.js +0 -54
  120. package/dist/chunk-HHTTORZ6.js +0 -8
  121. package/dist/chunk-HQVBJT5Y.js +0 -8
  122. package/dist/chunk-HREBIPVW.js +0 -36
  123. package/dist/chunk-HXNGSQQG.js +0 -62
  124. package/dist/chunk-HZX4AGO5.js +0 -8
  125. package/dist/chunk-J5UCKCIO.js +0 -16
  126. package/dist/chunk-JMYI6YXR.js +0 -1
  127. package/dist/chunk-JR5RLXCK.js +0 -8
  128. package/dist/chunk-K3MFCSAW.js +0 -8
  129. package/dist/chunk-KFDVVTMT.js +0 -36
  130. package/dist/chunk-KHCQMSP7.js +0 -36
  131. package/dist/chunk-KRJG7H4W.js +0 -53
  132. package/dist/chunk-KTLWEUNW.js +0 -1
  133. package/dist/chunk-LFOA3DZO.js +0 -12
  134. package/dist/chunk-LGLJ2QUW.js +0 -8
  135. package/dist/chunk-LIOV5MU4.js +0 -20
  136. package/dist/chunk-LU2H6GWC.js +0 -10
  137. package/dist/chunk-M3DJWM6D.js +0 -8
  138. package/dist/chunk-MK3OG2I4.js +0 -19
  139. package/dist/chunk-MZ2RY4NU.js +0 -34
  140. package/dist/chunk-NCNHDETB.js +0 -8
  141. package/dist/chunk-NGGISORT.js +0 -29
  142. package/dist/chunk-NKUBVRXY.js +0 -8896
  143. package/dist/chunk-NLMFEUVO.js +0 -41
  144. package/dist/chunk-NSFGACD7.js +0 -38
  145. package/dist/chunk-OJZPPAT6.js +0 -26
  146. package/dist/chunk-OQU4LWZW.js +0 -8
  147. package/dist/chunk-OWFY465Z.js +0 -45
  148. package/dist/chunk-P3IIT34M.js +0 -60
  149. package/dist/chunk-PEJYADAS.js +0 -8
  150. package/dist/chunk-PEVIP5UT.js +0 -8
  151. package/dist/chunk-PIQURQGB.js +0 -8
  152. package/dist/chunk-PONMXNY4.js +0 -8
  153. package/dist/chunk-PZWP36YA.js +0 -21
  154. package/dist/chunk-QAAKAKP7.js +0 -326
  155. package/dist/chunk-QKDPNO27.js +0 -44
  156. package/dist/chunk-QLN2CBY6.js +0 -8
  157. package/dist/chunk-QNKQFCKJ.js +0 -16
  158. package/dist/chunk-R2J5USV6.js +0 -12
  159. package/dist/chunk-RFBD2ZNL.js +0 -40
  160. package/dist/chunk-RTMS5TJN.js +0 -10
  161. package/dist/chunk-RYKJOZ3B.js +0 -27
  162. package/dist/chunk-SHCKFHIN.js +0 -39
  163. package/dist/chunk-TEQVVR3W.js +0 -8
  164. package/dist/chunk-TGEP2YAT.js +0 -10
  165. package/dist/chunk-TH6YCBEG.js +0 -8
  166. package/dist/chunk-TKJXJEXT.js +0 -22
  167. package/dist/chunk-TXIFPX2A.js +0 -230
  168. package/dist/chunk-TYGGMKHU.js +0 -177
  169. package/dist/chunk-TYMVLD3B.js +0 -14
  170. package/dist/chunk-U23VDAWJ.js +0 -143
  171. package/dist/chunk-U2CWQDXE.js +0 -20
  172. package/dist/chunk-U3EPRSD3.js +0 -20
  173. package/dist/chunk-UAX5344Y.js +0 -10
  174. package/dist/chunk-UEXUCHDD.js +0 -34
  175. package/dist/chunk-UIP2CHMU.js +0 -8
  176. package/dist/chunk-UZUMIWPJ.js +0 -10
  177. package/dist/chunk-VVTDE7NH.js +0 -115
  178. package/dist/chunk-WJZED26X.js +0 -28
  179. package/dist/chunk-XD7U6L2E.js +0 -10
  180. package/dist/chunk-XQTIY2ND.js +0 -71
  181. package/dist/chunk-XRQQE2AC.js +0 -152
  182. package/dist/chunk-XX2OY7LK.js +0 -10
  183. package/dist/chunk-Y2S4O4UY.js +0 -10
  184. package/dist/chunk-YHQ5JGCC.js +0 -1
  185. package/dist/chunk-YMCOU2N5.js +0 -8
  186. package/dist/chunk-YTTZX7ZE.js +0 -45
  187. package/dist/chunk-Z3SWPGPQ.js +0 -20
  188. package/dist/chunk-ZJ2VD224.js +0 -113
  189. package/dist/chunk-ZULBHMWG.js +0 -35
  190. package/dist/chunk-ZUT5GZTD.js +0 -46
  191. package/dist/colors.cjs +0 -351
  192. package/dist/colors.d.cts +0 -1
  193. package/dist/colors.d.ts +0 -1
  194. package/dist/colors.js +0 -8
  195. package/dist/components/accordion/index.cjs +0 -204
  196. package/dist/components/accordion/index.d.cts +0 -1
  197. package/dist/components/accordion/index.d.ts +0 -1
  198. package/dist/components/accordion/index.js +0 -9
  199. package/dist/components/action-bar/index.cjs +0 -223
  200. package/dist/components/action-bar/index.d.cts +0 -1
  201. package/dist/components/action-bar/index.d.ts +0 -1
  202. package/dist/components/action-bar/index.js +0 -13
  203. package/dist/components/alert/index.cjs +0 -233
  204. package/dist/components/alert/index.d.cts +0 -2
  205. package/dist/components/alert/index.d.ts +0 -2
  206. package/dist/components/alert/index.js +0 -13
  207. package/dist/components/app-shell/index.cjs +0 -68
  208. package/dist/components/app-shell/index.d.cts +0 -2
  209. package/dist/components/app-shell/index.d.ts +0 -2
  210. package/dist/components/app-shell/index.js +0 -8
  211. package/dist/components/aspect-ratio/index.cjs +0 -31
  212. package/dist/components/aspect-ratio/index.d.cts +0 -2
  213. package/dist/components/aspect-ratio/index.d.ts +0 -2
  214. package/dist/components/aspect-ratio/index.js +0 -8
  215. package/dist/components/avatar/index.cjs +0 -70
  216. package/dist/components/avatar/index.d.cts +0 -3
  217. package/dist/components/avatar/index.d.ts +0 -3
  218. package/dist/components/avatar/index.js +0 -11
  219. package/dist/components/back-button/index.cjs +0 -227
  220. package/dist/components/back-button/index.d.cts +0 -2
  221. package/dist/components/back-button/index.d.ts +0 -2
  222. package/dist/components/back-button/index.js +0 -11
  223. package/dist/components/badge/index.cjs +0 -33
  224. package/dist/components/badge/index.d.cts +0 -3
  225. package/dist/components/badge/index.d.ts +0 -3
  226. package/dist/components/badge/index.js +0 -10
  227. package/dist/components/bleed/index.cjs +0 -31
  228. package/dist/components/bleed/index.d.cts +0 -2
  229. package/dist/components/bleed/index.d.ts +0 -2
  230. package/dist/components/bleed/index.js +0 -8
  231. package/dist/components/blockquote/index.cjs +0 -59
  232. package/dist/components/blockquote/index.d.cts +0 -2
  233. package/dist/components/blockquote/index.d.ts +0 -2
  234. package/dist/components/blockquote/index.js +0 -8
  235. package/dist/components/box/index.cjs +0 -33
  236. package/dist/components/box/index.d.cts +0 -4
  237. package/dist/components/box/index.d.ts +0 -4
  238. package/dist/components/box/index.js +0 -10
  239. package/dist/components/breadcrumb/index.cjs +0 -58
  240. package/dist/components/breadcrumb/index.d.cts +0 -1
  241. package/dist/components/breadcrumb/index.d.ts +0 -1
  242. package/dist/components/breadcrumb/index.js +0 -8
  243. package/dist/components/button/index.cjs +0 -31
  244. package/dist/components/button/index.d.cts +0 -2
  245. package/dist/components/button/index.d.ts +0 -2
  246. package/dist/components/button/index.js +0 -8
  247. package/dist/components/button-group/index.cjs +0 -31
  248. package/dist/components/button-group/index.d.cts +0 -2
  249. package/dist/components/button-group/index.d.ts +0 -2
  250. package/dist/components/button-group/index.js +0 -8
  251. package/dist/components/card/index.cjs +0 -32
  252. package/dist/components/card/index.d.cts +0 -1
  253. package/dist/components/card/index.d.ts +0 -1
  254. package/dist/components/card/index.js +0 -9
  255. package/dist/components/center/index.cjs +0 -31
  256. package/dist/components/center/index.d.cts +0 -2
  257. package/dist/components/center/index.d.ts +0 -2
  258. package/dist/components/center/index.js +0 -8
  259. package/dist/components/checkbox/index.cjs +0 -45
  260. package/dist/components/checkbox/index.d.cts +0 -2
  261. package/dist/components/checkbox/index.d.ts +0 -2
  262. package/dist/components/checkbox/index.js +0 -8
  263. package/dist/components/checkbox-card/index.cjs +0 -66
  264. package/dist/components/checkbox-card/index.d.cts +0 -2
  265. package/dist/components/checkbox-card/index.d.ts +0 -2
  266. package/dist/components/checkbox-card/index.js +0 -8
  267. package/dist/components/checkmark/index.cjs +0 -31
  268. package/dist/components/checkmark/index.d.cts +0 -2
  269. package/dist/components/checkmark/index.d.ts +0 -2
  270. package/dist/components/checkmark/index.js +0 -8
  271. package/dist/components/client-only/index.cjs +0 -31
  272. package/dist/components/client-only/index.d.cts +0 -2
  273. package/dist/components/client-only/index.d.ts +0 -2
  274. package/dist/components/client-only/index.js +0 -8
  275. package/dist/components/clipboard/index.cjs +0 -234
  276. package/dist/components/clipboard/index.d.cts +0 -1
  277. package/dist/components/clipboard/index.d.ts +0 -1
  278. package/dist/components/clipboard/index.js +0 -13
  279. package/dist/components/close-button/index.cjs +0 -193
  280. package/dist/components/close-button/index.d.cts +0 -2
  281. package/dist/components/close-button/index.d.ts +0 -2
  282. package/dist/components/close-button/index.js +0 -12
  283. package/dist/components/code/index.cjs +0 -31
  284. package/dist/components/code/index.d.cts +0 -2
  285. package/dist/components/code/index.d.ts +0 -2
  286. package/dist/components/code/index.js +0 -8
  287. package/dist/components/collapsible/index.cjs +0 -31
  288. package/dist/components/collapsible/index.d.cts +0 -1
  289. package/dist/components/collapsible/index.d.ts +0 -1
  290. package/dist/components/collapsible/index.js +0 -8
  291. package/dist/components/color-picker/index.cjs +0 -31
  292. package/dist/components/color-picker/index.d.cts +0 -1
  293. package/dist/components/color-picker/index.d.ts +0 -1
  294. package/dist/components/color-picker/index.js +0 -8
  295. package/dist/components/color-swatch/index.cjs +0 -35
  296. package/dist/components/color-swatch/index.d.cts +0 -6
  297. package/dist/components/color-swatch/index.d.ts +0 -6
  298. package/dist/components/color-swatch/index.js +0 -12
  299. package/dist/components/command/index.cjs +0 -61
  300. package/dist/components/command/index.d.cts +0 -1
  301. package/dist/components/command/index.d.ts +0 -1
  302. package/dist/components/command/index.js +0 -9
  303. package/dist/components/container/index.cjs +0 -31
  304. package/dist/components/container/index.d.cts +0 -2
  305. package/dist/components/container/index.d.ts +0 -2
  306. package/dist/components/container/index.js +0 -8
  307. package/dist/components/data-list/index.cjs +0 -33
  308. package/dist/components/data-list/index.d.cts +0 -2
  309. package/dist/components/data-list/index.d.ts +0 -2
  310. package/dist/components/data-list/index.js +0 -10
  311. package/dist/components/dialog/index.cjs +0 -246
  312. package/dist/components/dialog/index.d.cts +0 -1
  313. package/dist/components/dialog/index.d.ts +0 -1
  314. package/dist/components/dialog/index.js +0 -13
  315. package/dist/components/drawer/index.cjs +0 -238
  316. package/dist/components/drawer/index.d.cts +0 -1
  317. package/dist/components/drawer/index.d.ts +0 -1
  318. package/dist/components/drawer/index.js +0 -13
  319. package/dist/components/editable/index.cjs +0 -31
  320. package/dist/components/editable/index.d.cts +0 -1
  321. package/dist/components/editable/index.d.ts +0 -1
  322. package/dist/components/editable/index.js +0 -8
  323. package/dist/components/empty-state/index.cjs +0 -50
  324. package/dist/components/empty-state/index.d.cts +0 -2
  325. package/dist/components/empty-state/index.d.ts +0 -2
  326. package/dist/components/empty-state/index.js +0 -8
  327. package/dist/components/env/index.cjs +0 -33
  328. package/dist/components/env/index.d.cts +0 -5
  329. package/dist/components/env/index.d.ts +0 -5
  330. package/dist/components/env/index.js +0 -10
  331. package/dist/components/field/index.cjs +0 -35
  332. package/dist/components/field/index.d.cts +0 -3
  333. package/dist/components/field/index.d.ts +0 -3
  334. package/dist/components/field/index.js +0 -12
  335. package/dist/components/fieldset/index.cjs +0 -33
  336. package/dist/components/fieldset/index.d.cts +0 -2
  337. package/dist/components/fieldset/index.d.ts +0 -2
  338. package/dist/components/fieldset/index.js +0 -10
  339. package/dist/components/file-upload/index.cjs +0 -302
  340. package/dist/components/file-upload/index.d.cts +0 -2
  341. package/dist/components/file-upload/index.d.ts +0 -2
  342. package/dist/components/file-upload/index.js +0 -14
  343. package/dist/components/flex/index.cjs +0 -31
  344. package/dist/components/flex/index.d.cts +0 -2
  345. package/dist/components/flex/index.d.ts +0 -2
  346. package/dist/components/flex/index.js +0 -10
  347. package/dist/components/float/index.cjs +0 -31
  348. package/dist/components/float/index.d.cts +0 -2
  349. package/dist/components/float/index.d.ts +0 -2
  350. package/dist/components/float/index.js +0 -8
  351. package/dist/components/focus-trap/index.cjs +0 -31
  352. package/dist/components/focus-trap/index.d.cts +0 -2
  353. package/dist/components/focus-trap/index.d.ts +0 -2
  354. package/dist/components/focus-trap/index.js +0 -8
  355. package/dist/components/for/index.cjs +0 -31
  356. package/dist/components/for/index.d.cts +0 -2
  357. package/dist/components/for/index.d.ts +0 -2
  358. package/dist/components/for/index.js +0 -10
  359. package/dist/components/format/index.cjs +0 -33
  360. package/dist/components/format/index.d.cts +0 -4
  361. package/dist/components/format/index.d.ts +0 -4
  362. package/dist/components/format/index.js +0 -10
  363. package/dist/components/grid/index.cjs +0 -31
  364. package/dist/components/grid/index.d.cts +0 -2
  365. package/dist/components/grid/index.d.ts +0 -2
  366. package/dist/components/grid/index.js +0 -8
  367. package/dist/components/grid-list/index.cjs +0 -68
  368. package/dist/components/grid-list/index.d.cts +0 -1
  369. package/dist/components/group/index.cjs +0 -31
  370. package/dist/components/group/index.d.cts +0 -2
  371. package/dist/components/group/index.d.ts +0 -2
  372. package/dist/components/group/index.js +0 -8
  373. package/dist/components/heading/index.cjs +0 -31
  374. package/dist/components/heading/index.d.cts +0 -2
  375. package/dist/components/heading/index.d.ts +0 -2
  376. package/dist/components/heading/index.js +0 -8
  377. package/dist/components/highlight/index.cjs +0 -31
  378. package/dist/components/highlight/index.d.cts +0 -2
  379. package/dist/components/highlight/index.d.ts +0 -2
  380. package/dist/components/highlight/index.js +0 -8
  381. package/dist/components/hover-card/index.cjs +0 -66
  382. package/dist/components/hover-card/index.d.cts +0 -1
  383. package/dist/components/hover-card/index.d.ts +0 -1
  384. package/dist/components/hover-card/index.js +0 -8
  385. package/dist/components/icon/index.cjs +0 -31
  386. package/dist/components/icon/index.d.cts +0 -2
  387. package/dist/components/icon/index.d.ts +0 -2
  388. package/dist/components/icon/index.js +0 -8
  389. package/dist/components/icon-badge/index.cjs +0 -70
  390. package/dist/components/icon-badge/index.d.cts +0 -2
  391. package/dist/components/icon-badge/index.d.ts +0 -2
  392. package/dist/components/icon-badge/index.js +0 -8
  393. package/dist/components/icon-button/index.cjs +0 -53
  394. package/dist/components/icon-button/index.d.cts +0 -2
  395. package/dist/components/icon-button/index.d.ts +0 -2
  396. package/dist/components/icon-button/index.js +0 -9
  397. package/dist/components/icons/index.cjs +0 -193
  398. package/dist/components/icons/index.d.cts +0 -18
  399. package/dist/components/icons/index.d.ts +0 -18
  400. package/dist/components/icons/index.js +0 -43
  401. package/dist/components/image/index.cjs +0 -31
  402. package/dist/components/image/index.d.cts +0 -2
  403. package/dist/components/image/index.d.ts +0 -2
  404. package/dist/components/image/index.js +0 -8
  405. package/dist/components/info-tip/index.cjs +0 -307
  406. package/dist/components/info-tip/index.d.cts +0 -2
  407. package/dist/components/info-tip/index.d.ts +0 -2
  408. package/dist/components/info-tip/index.js +0 -17
  409. package/dist/components/input/index.cjs +0 -39
  410. package/dist/components/input/index.d.cts +0 -9
  411. package/dist/components/input/index.d.ts +0 -9
  412. package/dist/components/input/index.js +0 -16
  413. package/dist/components/kbd/index.cjs +0 -31
  414. package/dist/components/kbd/index.d.cts +0 -2
  415. package/dist/components/kbd/index.d.ts +0 -2
  416. package/dist/components/kbd/index.js +0 -8
  417. package/dist/components/link/index.cjs +0 -71
  418. package/dist/components/link/index.d.cts +0 -2
  419. package/dist/components/link/index.d.ts +0 -2
  420. package/dist/components/link/index.js +0 -9
  421. package/dist/components/list/index.cjs +0 -31
  422. package/dist/components/list/index.d.cts +0 -1
  423. package/dist/components/list/index.d.ts +0 -1
  424. package/dist/components/list/index.js +0 -8
  425. package/dist/components/loader/index.cjs +0 -31
  426. package/dist/components/loader/index.d.cts +0 -1
  427. package/dist/components/loader/index.d.ts +0 -1
  428. package/dist/components/loader/index.js +0 -8
  429. package/dist/components/loading-overlay/index.cjs +0 -87
  430. package/dist/components/loading-overlay/index.d.cts +0 -2
  431. package/dist/components/loading-overlay/index.d.ts +0 -2
  432. package/dist/components/loading-overlay/index.js +0 -11
  433. package/dist/components/locale/index.cjs +0 -33
  434. package/dist/components/locale/index.d.cts +0 -3
  435. package/dist/components/locale/index.d.ts +0 -3
  436. package/dist/components/locale/index.js +0 -12
  437. package/dist/components/mark/index.cjs +0 -31
  438. package/dist/components/mark/index.d.cts +0 -1
  439. package/dist/components/mark/index.d.ts +0 -1
  440. package/dist/components/mark/index.js +0 -8
  441. package/dist/components/menu/index.cjs +0 -249
  442. package/dist/components/menu/index.d.cts +0 -1
  443. package/dist/components/menu/index.d.ts +0 -1
  444. package/dist/components/menu/index.js +0 -11
  445. package/dist/components/native-select/index.cjs +0 -185
  446. package/dist/components/native-select/index.d.cts +0 -2
  447. package/dist/components/native-select/index.d.ts +0 -2
  448. package/dist/components/native-select/index.js +0 -10
  449. package/dist/components/navbar/index.cjs +0 -108
  450. package/dist/components/navbar/index.d.cts +0 -1
  451. package/dist/components/number-input/index.cjs +0 -67
  452. package/dist/components/number-input/index.d.cts +0 -2
  453. package/dist/components/number-input/index.d.ts +0 -2
  454. package/dist/components/number-input/index.js +0 -9
  455. package/dist/components/page/index.cjs +0 -196
  456. package/dist/components/page/index.d.cts +0 -2
  457. package/dist/components/page/index.d.ts +0 -2
  458. package/dist/components/page/index.js +0 -12
  459. package/dist/components/pagination/index.cjs +0 -257
  460. package/dist/components/pagination/index.d.cts +0 -1
  461. package/dist/components/pagination/index.d.ts +0 -1
  462. package/dist/components/pagination/index.js +0 -11
  463. package/dist/components/password-input/index.cjs +0 -284
  464. package/dist/components/password-input/index.d.cts +0 -2
  465. package/dist/components/password-input/index.d.ts +0 -2
  466. package/dist/components/password-input/index.js +0 -11
  467. package/dist/components/persona/index.cjs +0 -247
  468. package/dist/components/persona/index.d.cts +0 -7
  469. package/dist/components/persona/index.d.ts +0 -7
  470. package/dist/components/persona/index.js +0 -13
  471. package/dist/components/pin-input/index.cjs +0 -52
  472. package/dist/components/pin-input/index.d.cts +0 -2
  473. package/dist/components/pin-input/index.d.ts +0 -2
  474. package/dist/components/pin-input/index.js +0 -8
  475. package/dist/components/popover/index.cjs +0 -248
  476. package/dist/components/popover/index.d.cts +0 -1
  477. package/dist/components/popover/index.d.ts +0 -1
  478. package/dist/components/popover/index.js +0 -13
  479. package/dist/components/portal/index.cjs +0 -31
  480. package/dist/components/portal/index.d.cts +0 -2
  481. package/dist/components/portal/index.d.ts +0 -2
  482. package/dist/components/portal/index.js +0 -8
  483. package/dist/components/presence/index.cjs +0 -31
  484. package/dist/components/presence/index.d.cts +0 -2
  485. package/dist/components/presence/index.d.ts +0 -2
  486. package/dist/components/presence/index.js +0 -8
  487. package/dist/components/progress/index.cjs +0 -31
  488. package/dist/components/progress/index.d.cts +0 -1
  489. package/dist/components/progress/index.d.ts +0 -1
  490. package/dist/components/progress/index.js +0 -8
  491. package/dist/components/progress-circle/index.cjs +0 -31
  492. package/dist/components/progress-circle/index.d.cts +0 -1
  493. package/dist/components/progress-circle/index.d.ts +0 -1
  494. package/dist/components/progress-circle/index.js +0 -8
  495. package/dist/components/qr-code/index.cjs +0 -31
  496. package/dist/components/qr-code/index.d.cts +0 -1
  497. package/dist/components/qr-code/index.d.ts +0 -1
  498. package/dist/components/qr-code/index.js +0 -8
  499. package/dist/components/radio/index.cjs +0 -46
  500. package/dist/components/radio/index.d.cts +0 -2
  501. package/dist/components/radio/index.d.ts +0 -2
  502. package/dist/components/radio/index.js +0 -8
  503. package/dist/components/radio-card/index.cjs +0 -75
  504. package/dist/components/radio-card/index.d.cts +0 -1
  505. package/dist/components/radio-card/index.d.ts +0 -1
  506. package/dist/components/radio-card/index.js +0 -8
  507. package/dist/components/radio-group/index.cjs +0 -31
  508. package/dist/components/radio-group/index.d.cts +0 -1
  509. package/dist/components/radio-group/index.d.ts +0 -1
  510. package/dist/components/radio-group/index.js +0 -8
  511. package/dist/components/radiomark/index.cjs +0 -31
  512. package/dist/components/radiomark/index.d.cts +0 -2
  513. package/dist/components/radiomark/index.d.ts +0 -2
  514. package/dist/components/radiomark/index.js +0 -10
  515. package/dist/components/rating-group/index.cjs +0 -31
  516. package/dist/components/rating-group/index.d.cts +0 -1
  517. package/dist/components/rating-group/index.d.ts +0 -1
  518. package/dist/components/rating-group/index.js +0 -8
  519. package/dist/components/search-input/index.cjs +0 -273
  520. package/dist/components/search-input/index.d.cts +0 -2
  521. package/dist/components/search-input/index.d.ts +0 -2
  522. package/dist/components/search-input/index.js +0 -10
  523. package/dist/components/segmented-control/index.cjs +0 -61
  524. package/dist/components/segmented-control/index.d.cts +0 -2
  525. package/dist/components/segmented-control/index.d.ts +0 -2
  526. package/dist/components/segmented-control/index.js +0 -8
  527. package/dist/components/select/index.cjs +0 -285
  528. package/dist/components/select/index.d.cts +0 -1
  529. package/dist/components/select/index.d.ts +0 -1
  530. package/dist/components/select/index.js +0 -13
  531. package/dist/components/separator/index.cjs +0 -31
  532. package/dist/components/separator/index.d.cts +0 -2
  533. package/dist/components/separator/index.d.ts +0 -2
  534. package/dist/components/separator/index.js +0 -8
  535. package/dist/components/show/index.cjs +0 -31
  536. package/dist/components/show/index.d.cts +0 -2
  537. package/dist/components/show/index.d.ts +0 -2
  538. package/dist/components/show/index.js +0 -8
  539. package/dist/components/sidebar/index.cjs +0 -168
  540. package/dist/components/sidebar/index.d.cts +0 -4
  541. package/dist/components/skeleton/index.cjs +0 -61
  542. package/dist/components/skeleton/index.d.cts +0 -6
  543. package/dist/components/skeleton/index.d.ts +0 -6
  544. package/dist/components/skeleton/index.js +0 -12
  545. package/dist/components/skip-nav/index.cjs +0 -33
  546. package/dist/components/skip-nav/index.d.cts +0 -4
  547. package/dist/components/skip-nav/index.d.ts +0 -4
  548. package/dist/components/skip-nav/index.js +0 -10
  549. package/dist/components/skip-nav-link/index.cjs +0 -33
  550. package/dist/components/skip-nav-link/index.d.cts +0 -4
  551. package/dist/components/skip-nav-link/index.d.ts +0 -4
  552. package/dist/components/skip-nav-link/index.js +0 -12
  553. package/dist/components/slider/index.cjs +0 -61
  554. package/dist/components/slider/index.d.cts +0 -2
  555. package/dist/components/slider/index.d.ts +0 -2
  556. package/dist/components/slider/index.js +0 -8
  557. package/dist/components/spacer/index.cjs +0 -31
  558. package/dist/components/spacer/index.d.cts +0 -2
  559. package/dist/components/spacer/index.d.ts +0 -2
  560. package/dist/components/spacer/index.js +0 -8
  561. package/dist/components/spinner/index.cjs +0 -44
  562. package/dist/components/spinner/index.d.cts +0 -2
  563. package/dist/components/spinner/index.d.ts +0 -2
  564. package/dist/components/spinner/index.js +0 -8
  565. package/dist/components/stack/index.cjs +0 -37
  566. package/dist/components/stack/index.d.cts +0 -6
  567. package/dist/components/stack/index.d.ts +0 -6
  568. package/dist/components/stack/index.js +0 -14
  569. package/dist/components/stat/index.cjs +0 -83
  570. package/dist/components/stat/index.d.cts +0 -1
  571. package/dist/components/stat/index.d.ts +0 -1
  572. package/dist/components/stat/index.js +0 -8
  573. package/dist/components/status/index.cjs +0 -45
  574. package/dist/components/status/index.d.cts +0 -2
  575. package/dist/components/status/index.d.ts +0 -2
  576. package/dist/components/status/index.js +0 -8
  577. package/dist/components/steps/index.cjs +0 -221
  578. package/dist/components/steps/index.d.cts +0 -1
  579. package/dist/components/switch/index.cjs +0 -48
  580. package/dist/components/switch/index.d.cts +0 -2
  581. package/dist/components/switch/index.d.ts +0 -2
  582. package/dist/components/switch/index.js +0 -8
  583. package/dist/components/table/index.cjs +0 -31
  584. package/dist/components/table/index.d.cts +0 -1
  585. package/dist/components/table/index.d.ts +0 -1
  586. package/dist/components/table/index.js +0 -8
  587. package/dist/components/tabs/index.cjs +0 -37
  588. package/dist/components/tabs/index.d.cts +0 -4
  589. package/dist/components/tabs/index.d.ts +0 -4
  590. package/dist/components/tabs/index.js +0 -14
  591. package/dist/components/tag/index.cjs +0 -53
  592. package/dist/components/tag/index.d.cts +0 -2
  593. package/dist/components/tag/index.d.ts +0 -2
  594. package/dist/components/tag/index.js +0 -8
  595. package/dist/components/textarea/index.cjs +0 -31
  596. package/dist/components/textarea/index.d.cts +0 -2
  597. package/dist/components/textarea/index.d.ts +0 -2
  598. package/dist/components/textarea/index.js +0 -8
  599. package/dist/components/timeline/index.cjs +0 -31
  600. package/dist/components/timeline/index.d.cts +0 -1
  601. package/dist/components/timeline/index.d.ts +0 -1
  602. package/dist/components/timeline/index.js +0 -8
  603. package/dist/components/toaster/index.cjs +0 -262
  604. package/dist/components/toaster/index.d.cts +0 -3
  605. package/dist/components/toaster/index.d.ts +0 -3
  606. package/dist/components/toaster/index.js +0 -16
  607. package/dist/components/toggle/index.cjs +0 -31
  608. package/dist/components/toggle/index.d.cts +0 -1
  609. package/dist/components/toggle/index.d.ts +0 -1
  610. package/dist/components/toggle/index.js +0 -8
  611. package/dist/components/toggle-tip/index.cjs +0 -297
  612. package/dist/components/toggle-tip/index.d.cts +0 -2
  613. package/dist/components/toggle-tip/index.d.ts +0 -2
  614. package/dist/components/toggle-tip/index.js +0 -15
  615. package/dist/components/tooltip/index.cjs +0 -58
  616. package/dist/components/tooltip/index.d.cts +0 -2
  617. package/dist/components/tooltip/index.d.ts +0 -2
  618. package/dist/components/tooltip/index.js +0 -8
  619. package/dist/components/typography/index.cjs +0 -37
  620. package/dist/components/typography/index.d.cts +0 -8
  621. package/dist/components/typography/index.d.ts +0 -8
  622. package/dist/components/typography/index.js +0 -14
  623. package/dist/components/visually-hidden/index.cjs +0 -31
  624. package/dist/components/visually-hidden/index.d.cts +0 -1
  625. package/dist/components/visually-hidden/index.d.ts +0 -1
  626. package/dist/components/visually-hidden/index.js +0 -8
  627. package/dist/components/wrap/index.cjs +0 -31
  628. package/dist/components/wrap/index.d.cts +0 -2
  629. package/dist/components/wrap/index.d.ts +0 -2
  630. package/dist/components/wrap/index.js +0 -8
  631. package/dist/index.cjs +0 -12240
  632. package/dist/index.d.cts +0 -253
  633. package/dist/preset.cjs +0 -9233
  634. package/dist/preset.d.cts +0 -3
  635. package/dist/preset.d.ts +0 -3
  636. package/dist/preset.js +0 -12
@@ -1,257 +0,0 @@
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
- var ArrowLeftIcon = createIcon({
190
- displayName: "ArrowLeftIcon",
191
- path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
192
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "19", y1: "12", x2: "5", y2: "12" }),
193
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "12 19 5 12 12 5" })
194
- ] })
195
- });
196
-
197
- // src/components/pagination/pagination.tsx
198
- var import_jsx_runtime3 = require("react/jsx-runtime");
199
- var [RootPropsProvider, useRootProps] = (0, import_utils.createContext)({
200
- name: "RootPropsProvider"
201
- });
202
- var variantMap = {
203
- outline: { default: "ghost", ellipsis: "plain", current: "outline" },
204
- solid: { default: "outline", ellipsis: "outline", current: "solid" },
205
- subtle: { default: "ghost", ellipsis: "plain", current: "subtle" }
206
- };
207
- var Root = (0, import_react2.forwardRef)(
208
- function PaginationRoot(props, ref) {
209
- const { size = "sm", variant = "outline", ...rest } = props;
210
- 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 }) });
211
- }
212
- );
213
- var Ellipsis = (0, import_react2.forwardRef)(function PaginationEllipsis(props, ref) {
214
- const { size, variantMap: variantMap2 } = useRootProps();
215
- 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: props.children ?? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(EllipsisIcon, {}) }) });
216
- });
217
- var Item = (0, import_react2.forwardRef)(
218
- function PaginationItem(props, ref) {
219
- const { page } = (0, import_pagination.usePaginationContext)();
220
- const { size, variantMap: variantMap2 } = useRootProps();
221
- const current = page === props.value;
222
- const variant = current ? variantMap2.current : variantMap2.default;
223
- 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 }) });
224
- }
225
- );
226
- var PrevButton = (0, import_react2.forwardRef)(function PaginationPrevTrigger(props, ref) {
227
- const { size, variantMap: variantMap2 } = useRootProps();
228
- 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: props.children ?? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ChevronLeftIcon, {}) }) });
229
- });
230
- var NextButton = (0, import_react2.forwardRef)(function PaginationNextTrigger(props, ref) {
231
- const { size, variantMap: variantMap2 } = useRootProps();
232
- 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: props.children ?? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ChevronRightIcon, {}) }) });
233
- });
234
- var Items = (props) => {
235
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_pagination.Pagination.Context, { children: ({ pages }) => pages.map((page, index) => {
236
- 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);
237
- }) });
238
- };
239
- var PageText = (0, import_react2.forwardRef)(
240
- function PaginationPageText(props, ref) {
241
- const { format = "compact", ...rest } = props;
242
- const { page, pages, pageRange, count } = (0, import_pagination.usePaginationContext)();
243
- const content = (0, import_react2.useMemo)(() => {
244
- if (format === "short") return `${page} / ${pages.length}`;
245
- if (format === "compact") return `${page} of ${pages.length}`;
246
- return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
247
- }, [format, page, pages.length, pageRange, count]);
248
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_typography.Text, { fontWeight: "medium", ref, ...rest, children: content });
249
- }
250
- );
251
- var PrevTrigger = import_pagination.Pagination.PrevTrigger;
252
- var NextTrigger = import_pagination.Pagination.NextTrigger;
253
- var Context = import_pagination.Pagination.Context;
254
- // Annotate the CommonJS export names for ESM import in node:
255
- 0 && (module.exports = {
256
- Pagination
257
- });
@@ -1 +0,0 @@
1
- export { Pagination_alias_1 as Pagination } from '../../_tsup-dts-rollup.cjs';
@@ -1 +0,0 @@
1
- export { Pagination_alias_1 as Pagination } from '../../_tsup-dts-rollup.js';
@@ -1,11 +0,0 @@
1
- 'use client'
2
- import {
3
- pagination_exports
4
- } from "../../chunk-6XSCENTR.js";
5
- import "../../chunk-OJZPPAT6.js";
6
- import "../../chunk-5HVAMQYO.js";
7
- import "../../chunk-XRQQE2AC.js";
8
- import "../../chunk-RTMS5TJN.js";
9
- export {
10
- pagination_exports as Pagination
11
- };
@@ -1,284 +0,0 @@
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/password-input/index.ts
32
- var password_input_exports = {};
33
- __export(password_input_exports, {
34
- PasswordInput: () => PasswordInput
35
- });
36
- module.exports = __toCommonJS(password_input_exports);
37
-
38
- // src/components/password-input/password-input.tsx
39
- var import_react4 = require("react");
40
- var import_react5 = require("@chakra-ui/react");
41
-
42
- // ../../node_modules/react-icons/lib/iconBase.mjs
43
- var import_react2 = __toESM(require("react"), 1);
44
-
45
- // ../../node_modules/react-icons/lib/iconContext.mjs
46
- var import_react = __toESM(require("react"), 1);
47
- var DefaultContext = {
48
- color: void 0,
49
- size: void 0,
50
- className: void 0,
51
- style: void 0,
52
- attr: void 0
53
- };
54
- var IconContext = import_react.default.createContext && /* @__PURE__ */ import_react.default.createContext(DefaultContext);
55
-
56
- // ../../node_modules/react-icons/lib/iconBase.mjs
57
- var _excluded = ["attr", "size", "title"];
58
- function _objectWithoutProperties(source, excluded) {
59
- if (source == null) return {};
60
- var target = _objectWithoutPropertiesLoose(source, excluded);
61
- var key, i;
62
- if (Object.getOwnPropertySymbols) {
63
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
64
- for (i = 0; i < sourceSymbolKeys.length; i++) {
65
- key = sourceSymbolKeys[i];
66
- if (excluded.indexOf(key) >= 0) continue;
67
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
68
- target[key] = source[key];
69
- }
70
- }
71
- return target;
72
- }
73
- function _objectWithoutPropertiesLoose(source, excluded) {
74
- if (source == null) return {};
75
- var target = {};
76
- for (var key in source) {
77
- if (Object.prototype.hasOwnProperty.call(source, key)) {
78
- if (excluded.indexOf(key) >= 0) continue;
79
- target[key] = source[key];
80
- }
81
- }
82
- return target;
83
- }
84
- function _extends() {
85
- _extends = Object.assign ? Object.assign.bind() : function(target) {
86
- for (var i = 1; i < arguments.length; i++) {
87
- var source = arguments[i];
88
- for (var key in source) {
89
- if (Object.prototype.hasOwnProperty.call(source, key)) {
90
- target[key] = source[key];
91
- }
92
- }
93
- }
94
- return target;
95
- };
96
- return _extends.apply(this, arguments);
97
- }
98
- function ownKeys(e, r) {
99
- var t = Object.keys(e);
100
- if (Object.getOwnPropertySymbols) {
101
- var o = Object.getOwnPropertySymbols(e);
102
- r && (o = o.filter(function(r2) {
103
- return Object.getOwnPropertyDescriptor(e, r2).enumerable;
104
- })), t.push.apply(t, o);
105
- }
106
- return t;
107
- }
108
- function _objectSpread(e) {
109
- for (var r = 1; r < arguments.length; r++) {
110
- var t = null != arguments[r] ? arguments[r] : {};
111
- r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
112
- _defineProperty(e, r2, t[r2]);
113
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
114
- Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
115
- });
116
- }
117
- return e;
118
- }
119
- function _defineProperty(obj, key, value) {
120
- key = _toPropertyKey(key);
121
- if (key in obj) {
122
- Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
123
- } else {
124
- obj[key] = value;
125
- }
126
- return obj;
127
- }
128
- function _toPropertyKey(t) {
129
- var i = _toPrimitive(t, "string");
130
- return "symbol" == typeof i ? i : i + "";
131
- }
132
- function _toPrimitive(t, r) {
133
- if ("object" != typeof t || !t) return t;
134
- var e = t[Symbol.toPrimitive];
135
- if (void 0 !== e) {
136
- var i = e.call(t, r || "default");
137
- if ("object" != typeof i) return i;
138
- throw new TypeError("@@toPrimitive must return a primitive value.");
139
- }
140
- return ("string" === r ? String : Number)(t);
141
- }
142
- function Tree2Element(tree) {
143
- return tree && tree.map((node, i) => /* @__PURE__ */ import_react2.default.createElement(node.tag, _objectSpread({
144
- key: i
145
- }, node.attr), Tree2Element(node.child)));
146
- }
147
- function GenIcon(data) {
148
- return (props) => /* @__PURE__ */ import_react2.default.createElement(IconBase, _extends({
149
- attr: _objectSpread({}, data.attr)
150
- }, props), Tree2Element(data.child));
151
- }
152
- function IconBase(props) {
153
- var elem = (conf) => {
154
- var {
155
- attr,
156
- size,
157
- title
158
- } = props, svgProps = _objectWithoutProperties(props, _excluded);
159
- var computedSize = size || conf.size || "1em";
160
- var className;
161
- if (conf.className) className = conf.className;
162
- if (props.className) className = (className ? className + " " : "") + props.className;
163
- return /* @__PURE__ */ import_react2.default.createElement("svg", _extends({
164
- stroke: "currentColor",
165
- fill: "currentColor",
166
- strokeWidth: "0"
167
- }, conf.attr, attr, svgProps, {
168
- className,
169
- style: _objectSpread(_objectSpread({
170
- color: props.color || conf.color
171
- }, conf.style), props.style),
172
- height: computedSize,
173
- width: computedSize,
174
- xmlns: "http://www.w3.org/2000/svg"
175
- }), title && /* @__PURE__ */ import_react2.default.createElement("title", null, title), props.children);
176
- };
177
- return IconContext !== void 0 ? /* @__PURE__ */ import_react2.default.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
178
- }
179
-
180
- // ../../node_modules/react-icons/lu/index.mjs
181
- function LuEyeOff(props) {
182
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
183
- }
184
- function LuEye(props) {
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
- }
187
-
188
- // src/components/icon-button/icon-button.tsx
189
- var import_react3 = require("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
195
- var import_jsx_runtime = require("react/jsx-runtime");
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/index.ts
212
- var import_input = require("@chakra-ui/react/input");
213
-
214
- // src/components/password-input/password-input.tsx
215
- var import_jsx_runtime2 = require("react/jsx-runtime");
216
- var PasswordInput = (0, import_react4.forwardRef)(
217
- function PasswordInput2(props, ref) {
218
- const {
219
- rootProps,
220
- defaultVisible,
221
- visible: visibleProp,
222
- onVisibleChange,
223
- visibilityIcon = { on: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEye, {}), off: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEyeOff, {}) },
224
- ...rest
225
- } = props;
226
- const [visible, setVisible] = (0, import_react5.useControllableState)({
227
- value: visibleProp,
228
- defaultValue: defaultVisible || false,
229
- onChange: onVisibleChange
230
- });
231
- const inputRef = (0, import_react4.useRef)(null);
232
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
233
- import_input.InputGroup,
234
- {
235
- width: "full",
236
- endElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
237
- VisibilityTrigger,
238
- {
239
- disabled: rest.disabled,
240
- onPointerDown: (e) => {
241
- if (rest.disabled) return;
242
- if (e.button !== 0) return;
243
- e.preventDefault();
244
- setVisible(!visible);
245
- },
246
- children: visible ? visibilityIcon.off : visibilityIcon.on
247
- }
248
- ),
249
- ...rootProps,
250
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
251
- import_input.Input,
252
- {
253
- ...rest,
254
- ref: (0, import_react5.mergeRefs)(ref, inputRef),
255
- type: visible ? "text" : "password"
256
- }
257
- )
258
- }
259
- );
260
- }
261
- );
262
- var VisibilityTrigger = (0, import_react4.forwardRef)(
263
- function VisibilityTrigger2(props, ref) {
264
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
265
- IconButton,
266
- {
267
- tabIndex: -1,
268
- ref,
269
- me: "-2",
270
- aspectRatio: "square",
271
- size: "sm",
272
- variant: "ghost",
273
- colorPalette: "gray",
274
- height: "calc(100% - {spacing.2})",
275
- "aria-label": "Toggle password visibility",
276
- ...props
277
- }
278
- );
279
- }
280
- );
281
- // Annotate the CommonJS export names for ESM import in node:
282
- 0 && (module.exports = {
283
- PasswordInput
284
- });
@@ -1,2 +0,0 @@
1
- export { PasswordInput_alias_1 as PasswordInput } from '../../_tsup-dts-rollup.cjs';
2
- export { PasswordInputProps_alias_1 as PasswordInputProps } from '../../_tsup-dts-rollup.cjs';
@@ -1,2 +0,0 @@
1
- export { PasswordInput_alias_1 as PasswordInput } from '../../_tsup-dts-rollup.js';
2
- export { PasswordInputProps_alias_1 as PasswordInputProps } from '../../_tsup-dts-rollup.js';
@@ -1,11 +0,0 @@
1
- 'use client'
2
- import {
3
- PasswordInput
4
- } from "../../chunk-TXIFPX2A.js";
5
- import "../../chunk-BLSGOJQ7.js";
6
- import "../../chunk-OJZPPAT6.js";
7
- import "../../chunk-5HVAMQYO.js";
8
- import "../../chunk-RTMS5TJN.js";
9
- export {
10
- PasswordInput
11
- };