@saas-ui/react 3.0.0-next.0 → 3.0.0-next.2

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 (602) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{components/accordion → accordion}/index.cjs +7 -0
  3. package/dist/{chunk-SD2NTPHR.js → accordion/index.js} +3 -4
  4. package/dist/{components/action-bar → action-bar}/index.cjs +7 -0
  5. package/dist/{chunk-AY7C4U2O.js → action-bar/index.js} +4 -4
  6. package/dist/{components/alert → alert}/index.cjs +7 -0
  7. package/dist/{chunk-HTQRA26F.js → alert/index.js} +3 -2
  8. package/dist/{chunk-YTTZX7ZE.js → app-shell/index.js} +1 -1
  9. package/dist/aspect-ratio/index.cjs +31 -0
  10. package/dist/aspect-ratio/index.d.cts +1 -0
  11. package/dist/aspect-ratio/index.d.ts +1 -0
  12. package/dist/aspect-ratio/index.js +10 -0
  13. package/dist/{chunk-FN7TU5F5.js → avatar/index.js} +0 -1
  14. package/dist/back-button/index.cjs +227 -0
  15. package/dist/back-button/index.d.cts +11 -0
  16. package/dist/back-button/index.d.ts +11 -0
  17. package/dist/back-button/index.js +191 -0
  18. package/dist/badge/index.d.cts +1 -0
  19. package/dist/badge/index.d.ts +1 -0
  20. package/dist/{chunk-R2J5USV6.js → badge/index.js} +0 -1
  21. package/dist/bleed/index.cjs +31 -0
  22. package/dist/bleed/index.d.cts +2 -0
  23. package/dist/bleed/index.d.ts +2 -0
  24. package/dist/bleed/index.js +9 -0
  25. package/dist/{chunk-GSWLAOIM.js → blockquote/index.js} +0 -1
  26. package/dist/box/index.cjs +31 -0
  27. package/dist/box/index.d.cts +3 -0
  28. package/dist/box/index.d.ts +3 -0
  29. package/dist/box/index.js +10 -0
  30. package/dist/{chunk-CRFTMIQA.js → breadcrumb/index.js} +2 -3
  31. package/dist/{chunk-5HVAMQYO.js → button/index.js} +1 -1
  32. package/dist/{chunk-7PWVK3NL.js → button-group/index.js} +1 -1
  33. package/dist/{chunk-7DF4NQNZ.js → card/index.js} +2 -1
  34. package/dist/center/index.cjs +31 -0
  35. package/dist/center/index.d.cts +3 -0
  36. package/dist/center/index.d.ts +3 -0
  37. package/dist/center/index.js +9 -0
  38. package/dist/{chunk-Z3SWPGPQ.js → checkbox/index.js} +0 -1
  39. package/dist/{chunk-NLMFEUVO.js → checkbox-card/index.js} +0 -1
  40. package/dist/{chunk-UIP2CHMU.js → checkmark/index.js} +0 -1
  41. package/dist/chunk-2Q6YNPRO.js +151 -0
  42. package/dist/chunk-4F7N63LO.js +43 -0
  43. package/dist/{chunk-OJZPPAT6.js → chunk-A4CVFWTP.js} +4 -3
  44. package/dist/{chunk-4XB7B73X.js → chunk-AX3QDODM.js} +9 -16
  45. package/dist/chunk-BFWNUE2X.js +15 -0
  46. package/dist/chunk-EZNMWDPR.js +28 -0
  47. package/dist/chunk-GMRF4UIJ.js +159 -0
  48. package/dist/chunk-HBX3KIPQ.js +135 -0
  49. package/dist/{chunk-3MO37LYW.js → chunk-KNFGYOLD.js} +6 -0
  50. package/dist/chunk-M5ROLN3M.js +8903 -0
  51. package/dist/chunk-V5WPZT25.js +135 -0
  52. package/dist/client-only/index.cjs +31 -0
  53. package/dist/client-only/index.d.cts +1 -0
  54. package/dist/client-only/index.d.ts +1 -0
  55. package/dist/client-only/index.js +9 -0
  56. package/dist/{components/clipboard → clipboard}/index.cjs +7 -0
  57. package/dist/clipboard/index.d.cts +28 -0
  58. package/dist/clipboard/index.d.ts +28 -0
  59. package/dist/{chunk-3EV6MKBG.js → clipboard/index.js} +17 -14
  60. package/dist/{components/close-button → close-button}/index.cjs +7 -0
  61. package/dist/close-button/index.d.cts +9 -0
  62. package/dist/close-button/index.d.ts +9 -0
  63. package/dist/{chunk-H7KPEI6P.js → close-button/index.js} +3 -5
  64. package/dist/code/index.d.cts +3 -0
  65. package/dist/code/index.d.ts +3 -0
  66. package/dist/{chunk-YMCOU2N5.js → code/index.js} +1 -1
  67. package/dist/{chunk-PEJYADAS.js → collapsible/index.js} +1 -1
  68. package/dist/color-picker/index.cjs +31 -0
  69. package/dist/color-picker/index.d.cts +1 -0
  70. package/dist/color-picker/index.d.ts +1 -0
  71. package/dist/color-picker/index.js +8 -0
  72. package/dist/color-swatch/index.cjs +35 -0
  73. package/dist/color-swatch/index.d.cts +3 -0
  74. package/dist/color-swatch/index.d.ts +3 -0
  75. package/dist/color-swatch/index.js +14 -0
  76. package/dist/{components/command → command}/index.d.cts +5 -1
  77. package/dist/{components/command → command}/index.d.ts +5 -1
  78. package/dist/{chunk-5ZKEXMBN.js → command/index.js} +6 -4
  79. package/dist/{chunk-PIQURQGB.js → container/index.js} +1 -1
  80. package/dist/{chunk-52XM5VXJ.js → data-list/index.js} +1 -1
  81. package/dist/{components/dialog → dialog}/index.cjs +7 -0
  82. package/dist/dialog/index.js +226 -0
  83. package/dist/{components/drawer → drawer}/index.cjs +7 -0
  84. package/dist/drawer/index.js +216 -0
  85. package/dist/editable/index.d.cts +3 -0
  86. package/dist/editable/index.d.ts +3 -0
  87. package/dist/{chunk-TEQVVR3W.js → editable/index.js} +1 -1
  88. package/dist/{chunk-NGGISORT.js → empty-state/index.js} +1 -1
  89. package/dist/env/index.cjs +33 -0
  90. package/dist/env/index.d.cts +1 -0
  91. package/dist/env/index.d.ts +1 -0
  92. package/dist/env/index.js +12 -0
  93. package/dist/{chunk-XX2OY7LK.js → field/index.js} +1 -1
  94. package/dist/fieldset/index.d.cts +4 -0
  95. package/dist/fieldset/index.d.ts +4 -0
  96. package/dist/{chunk-FPRTN3I7.js → fieldset/index.js} +1 -1
  97. package/dist/{components/file-upload → file-upload}/index.cjs +7 -0
  98. package/dist/{components/file-upload → file-upload}/index.d.cts +10 -10
  99. package/dist/{components/file-upload → file-upload}/index.d.ts +10 -10
  100. package/dist/file-upload/index.js +272 -0
  101. package/dist/flex/index.cjs +31 -0
  102. package/dist/flex/index.d.cts +1 -0
  103. package/dist/flex/index.d.ts +1 -0
  104. package/dist/flex/index.js +10 -0
  105. package/dist/float/index.cjs +31 -0
  106. package/dist/float/index.d.cts +1 -0
  107. package/dist/float/index.d.ts +1 -0
  108. package/dist/float/index.js +10 -0
  109. package/dist/focus-trap/index.cjs +31 -0
  110. package/dist/focus-trap/index.d.cts +1 -0
  111. package/dist/focus-trap/index.d.ts +1 -0
  112. package/dist/focus-trap/index.js +8 -0
  113. package/dist/for/index.cjs +31 -0
  114. package/dist/for/index.d.cts +4 -0
  115. package/dist/for/index.d.ts +4 -0
  116. package/dist/for/index.js +10 -0
  117. package/dist/format/index.cjs +33 -0
  118. package/dist/format/index.d.cts +1 -0
  119. package/dist/format/index.d.ts +1 -0
  120. package/dist/format/index.js +12 -0
  121. package/dist/grid/index.cjs +31 -0
  122. package/dist/grid/index.d.cts +1 -0
  123. package/dist/grid/index.d.ts +1 -0
  124. package/dist/grid/index.js +10 -0
  125. package/dist/{components/grid-list → grid-list}/index.d.cts +6 -2
  126. package/dist/{components/grid-list → grid-list}/index.d.ts +6 -2
  127. package/dist/{chunk-ZUT5GZTD.js → grid-list/index.js} +2 -3
  128. package/dist/group/index.cjs +31 -0
  129. package/dist/group/index.d.cts +1 -0
  130. package/dist/group/index.d.ts +1 -0
  131. package/dist/group/index.js +10 -0
  132. package/dist/{components/heading → heading}/index.d.cts +2 -0
  133. package/dist/{components/heading → heading}/index.d.ts +2 -0
  134. package/dist/{chunk-HZX4AGO5.js → heading/index.js} +1 -1
  135. package/dist/highlight/index.cjs +31 -0
  136. package/dist/highlight/index.d.cts +1 -0
  137. package/dist/highlight/index.d.ts +1 -0
  138. package/dist/highlight/index.js +10 -0
  139. package/dist/{components/hover-card → hover-card}/index.d.cts +6 -6
  140. package/dist/{components/hover-card → hover-card}/index.d.ts +6 -6
  141. package/dist/{chunk-MZ2RY4NU.js → hover-card/index.js} +2 -3
  142. package/dist/{chunk-M3DJWM6D.js → icon/index.js} +1 -1
  143. package/dist/{components/icon-badge → icon-badge}/index.d.cts +3 -3
  144. package/dist/{components/icon-badge → icon-badge}/index.d.ts +3 -3
  145. package/dist/{chunk-NSFGACD7.js → icon-badge/index.js} +1 -1
  146. package/dist/icon-button/index.js +8 -0
  147. package/dist/icon-button-CR4hDxYi.d.cts +6 -0
  148. package/dist/icon-button-CR4hDxYi.d.ts +6 -0
  149. package/dist/{components/icons → icons}/index.cjs +9 -0
  150. package/dist/icons/index.d.cts +23 -0
  151. package/dist/icons/index.d.ts +23 -0
  152. package/dist/{components/icons → icons}/index.js +4 -3
  153. package/dist/{components/image → image}/index.d.cts +1 -0
  154. package/dist/{components/image → image}/index.d.ts +1 -0
  155. package/dist/{chunk-FD2V4Y66.js → image/index.js} +1 -1
  156. package/dist/index.cjs +721 -477
  157. package/dist/index.d.cts +1454 -99
  158. package/dist/index.d.ts +1454 -99
  159. package/dist/index.js +2727 -9084
  160. package/dist/{components/info-tip → info-tip}/index.cjs +7 -0
  161. package/dist/info-tip/index.d.cts +38 -0
  162. package/dist/info-tip/index.d.ts +38 -0
  163. package/dist/info-tip/index.js +128 -0
  164. package/dist/{components/input → input}/index.cjs +2 -0
  165. package/dist/input/index.d.cts +1 -0
  166. package/dist/input/index.d.ts +1 -0
  167. package/dist/{chunk-5MTFSSOH.js → input/index.js} +4 -2
  168. package/dist/kbd/index.d.cts +3 -0
  169. package/dist/kbd/index.d.ts +3 -0
  170. package/dist/{chunk-OQU4LWZW.js → kbd/index.js} +1 -1
  171. package/dist/{components/link → link}/index.d.cts +2 -2
  172. package/dist/{components/link → link}/index.d.ts +2 -2
  173. package/dist/{chunk-O2WVT2BP.js → link/index.js} +15 -14
  174. package/dist/{chunk-C5KFNMWU.js → list/index.js} +1 -1
  175. package/dist/{chunk-DHFAFRZ4.js → loader/index.js} +1 -1
  176. package/dist/loading-overlay/index.d.cts +31 -0
  177. package/dist/loading-overlay/index.d.ts +31 -0
  178. package/dist/{chunk-BDS3APRG.js → loading-overlay/index.js} +21 -11
  179. package/dist/locale/index.cjs +33 -0
  180. package/dist/locale/index.d.cts +1 -0
  181. package/dist/locale/index.d.ts +1 -0
  182. package/dist/locale/index.js +12 -0
  183. package/dist/{components/mark → mark}/index.d.cts +1 -0
  184. package/dist/{components/mark → mark}/index.d.ts +1 -0
  185. package/dist/{chunk-EWCBYJA7.js → mark/index.js} +1 -1
  186. package/dist/{components/menu → menu}/index.cjs +7 -0
  187. package/dist/{chunk-UNF77J24.js → menu/index.js} +8 -7
  188. package/dist/{components/native-select → native-select}/index.cjs +7 -0
  189. package/dist/{chunk-HD7BIWDH.js → native-select/index.js} +2 -2
  190. package/dist/navbar/index.d.cts +21 -0
  191. package/dist/navbar/index.d.ts +21 -0
  192. package/dist/{chunk-Q6SNJJO2.js → navbar/index.js} +23 -8
  193. package/dist/number-input/index.cjs +67 -0
  194. package/dist/{components/number-input → number-input}/index.d.cts +2 -2
  195. package/dist/{components/number-input → number-input}/index.d.ts +2 -2
  196. package/dist/{chunk-IEWGZ4LU.js → number-input/index.js} +2 -2
  197. package/dist/page/index.cjs +196 -0
  198. package/dist/page/index.d.cts +50 -0
  199. package/dist/page/index.d.ts +50 -0
  200. package/dist/page/index.js +167 -0
  201. package/dist/{components/pagination → pagination}/index.cjs +7 -0
  202. package/dist/{components/pagination → pagination}/index.d.cts +10 -10
  203. package/dist/{components/pagination → pagination}/index.d.ts +10 -10
  204. package/dist/pagination/index.js +223 -0
  205. package/dist/{components/password-input → password-input}/index.cjs +14 -42
  206. package/dist/{components/password-input → password-input}/index.d.cts +3 -5
  207. package/dist/{components/password-input → password-input}/index.d.ts +3 -5
  208. package/dist/{chunk-T7XRS654.js → password-input/index.js} +4 -6
  209. package/dist/{components/persona → persona}/index.cjs +3 -3
  210. package/dist/{components/persona → persona}/index.d.cts +32 -24
  211. package/dist/{components/persona → persona}/index.d.ts +32 -24
  212. package/dist/{chunk-VJ4UOABT.js → persona/index.js} +59 -24
  213. package/dist/{components/pin-input → pin-input}/index.d.cts +2 -2
  214. package/dist/{components/pin-input → pin-input}/index.d.ts +2 -2
  215. package/dist/{chunk-RYKJOZ3B.js → pin-input/index.js} +1 -1
  216. package/dist/{components/popover → popover}/index.cjs +7 -0
  217. package/dist/popover/index.d.cts +37 -0
  218. package/dist/popover/index.d.ts +37 -0
  219. package/dist/popover/index.js +226 -0
  220. package/dist/portal/index.cjs +31 -0
  221. package/dist/portal/index.d.cts +3 -0
  222. package/dist/portal/index.d.ts +3 -0
  223. package/dist/portal/index.js +10 -0
  224. package/dist/presence/index.cjs +31 -0
  225. package/dist/presence/index.d.cts +1 -0
  226. package/dist/presence/index.d.ts +1 -0
  227. package/dist/presence/index.js +8 -0
  228. package/dist/preset.cjs +9240 -0
  229. package/dist/preset.d.cts +6 -0
  230. package/dist/preset.d.ts +6 -0
  231. package/dist/preset.js +11 -0
  232. package/dist/{chunk-6YZ76Q2W.js → progress/index.js} +1 -1
  233. package/dist/{chunk-7HAGRXKM.js → progress-circle/index.js} +1 -1
  234. package/dist/qr-code/index.cjs +31 -0
  235. package/dist/qr-code/index.d.cts +3 -0
  236. package/dist/qr-code/index.d.ts +3 -0
  237. package/dist/qr-code/index.js +8 -0
  238. package/dist/{components/radio → radio}/index.cjs +2 -4
  239. package/dist/radio/index.d.cts +10 -0
  240. package/dist/radio/index.d.ts +10 -0
  241. package/dist/{chunk-HKUOHPZ6.js → radio/index.js} +2 -3
  242. package/dist/{chunk-KRJG7H4W.js → radio-card/index.js} +2 -3
  243. package/dist/radio-group/index.cjs +31 -0
  244. package/dist/radio-group/index.d.cts +1 -0
  245. package/dist/radio-group/index.d.ts +1 -0
  246. package/dist/radio-group/index.js +8 -0
  247. package/dist/radiomark/index.cjs +31 -0
  248. package/dist/radiomark/index.d.cts +2 -0
  249. package/dist/radiomark/index.d.ts +2 -0
  250. package/dist/radiomark/index.js +10 -0
  251. package/dist/{chunk-HQVBJT5Y.js → rating-group/index.js} +1 -1
  252. package/dist/{components/search-input → search-input}/index.cjs +7 -0
  253. package/dist/{chunk-4IZGJDYL.js → search-input/index.js} +2 -2
  254. package/dist/{chunk-KFDVVTMT.js → segmented-control/index.js} +1 -1
  255. package/dist/{components/select → select}/index.cjs +7 -0
  256. package/dist/select/index.js +137 -0
  257. package/dist/{components/separator → separator}/index.d.cts +2 -0
  258. package/dist/{components/separator → separator}/index.d.ts +2 -0
  259. package/dist/{chunk-27OMFCPD.js → separator/index.js} +1 -1
  260. package/dist/show/index.cjs +31 -0
  261. package/dist/show/index.d.cts +1 -0
  262. package/dist/show/index.d.ts +1 -0
  263. package/dist/show/index.js +10 -0
  264. package/dist/sidebar/index.d.cts +90 -0
  265. package/dist/sidebar/index.d.ts +90 -0
  266. package/dist/{chunk-U23VDAWJ.js → sidebar/index.js} +4 -5
  267. package/dist/{components/skeleton → skeleton}/index.d.cts +3 -3
  268. package/dist/{components/skeleton → skeleton}/index.d.ts +3 -3
  269. package/dist/{chunk-UEXUCHDD.js → skeleton/index.js} +3 -3
  270. package/dist/skip-nav/index.cjs +33 -0
  271. package/dist/skip-nav/index.js +12 -0
  272. package/dist/skip-nav-link/index.d.cts +3 -0
  273. package/dist/skip-nav-link/index.d.ts +3 -0
  274. package/dist/{chunk-BFO2S4Y5.js → skip-nav-link/index.js} +2 -3
  275. package/dist/{chunk-GD2247J4.js → slider/index.js} +0 -1
  276. package/dist/spacer/index.cjs +31 -0
  277. package/dist/spacer/index.d.cts +1 -0
  278. package/dist/spacer/index.d.ts +1 -0
  279. package/dist/spacer/index.js +9 -0
  280. package/dist/{chunk-MK3OG2I4.js → spinner/index.js} +0 -1
  281. package/dist/stack/index.cjs +31 -0
  282. package/dist/stack/index.d.cts +1 -0
  283. package/dist/stack/index.d.ts +1 -0
  284. package/dist/stack/index.js +9 -0
  285. package/dist/{components/stat → stat}/index.d.cts +8 -8
  286. package/dist/{components/stat → stat}/index.d.ts +8 -8
  287. package/dist/{chunk-3RHNNKPC.js → stat/index.js} +2 -3
  288. package/dist/{components/status → status}/index.d.cts +2 -2
  289. package/dist/{components/status → status}/index.d.ts +2 -2
  290. package/dist/{chunk-U3EPRSD3.js → status/index.js} +1 -1
  291. package/dist/{components/steps → steps}/index.cjs +7 -0
  292. package/dist/{components/steps → steps}/index.d.cts +5 -5
  293. package/dist/{components/steps → steps}/index.d.ts +5 -5
  294. package/dist/steps/index.js +198 -0
  295. package/dist/{components/switch → switch}/index.d.cts +2 -2
  296. package/dist/{components/switch → switch}/index.d.ts +2 -2
  297. package/dist/{chunk-HTVSG47E.js → switch/index.js} +1 -1
  298. package/dist/{chunk-TH6YCBEG.js → table/index.js} +1 -1
  299. package/dist/{components/tabs → tabs}/index.d.cts +2 -0
  300. package/dist/{components/tabs → tabs}/index.d.ts +2 -0
  301. package/dist/{chunk-5YNHX4C7.js → tabs/index.js} +2 -3
  302. package/dist/{chunk-WJZED26X.js → tag/index.js} +0 -1
  303. package/dist/{chunk-CQD32UVJ.js → textarea/index.js} +0 -1
  304. package/dist/theme/tokens/colors.js +1 -2
  305. package/dist/{chunk-QLN2CBY6.js → timeline/index.js} +0 -1
  306. package/dist/{components/toaster → toaster}/index.cjs +7 -0
  307. package/dist/toaster/index.d.cts +235 -0
  308. package/dist/toaster/index.d.ts +235 -0
  309. package/dist/toaster/index.js +241 -0
  310. package/dist/toggle/index.cjs +31 -0
  311. package/dist/toggle/index.d.cts +3 -0
  312. package/dist/toggle/index.d.ts +3 -0
  313. package/dist/toggle/index.js +8 -0
  314. package/dist/{components/toggle-tip → toggle-tip}/index.cjs +7 -0
  315. package/dist/toggle-tip/index.d.cts +32 -0
  316. package/dist/toggle-tip/index.d.ts +32 -0
  317. package/dist/toggle-tip/index.js +263 -0
  318. package/dist/{components/tooltip → tooltip}/index.d.cts +2 -2
  319. package/dist/{components/tooltip → tooltip}/index.d.ts +2 -2
  320. package/dist/{chunk-7MCVXFWM.js → tooltip/index.js} +1 -1
  321. package/dist/typography/index.cjs +37 -0
  322. package/dist/typography/index.d.cts +1 -0
  323. package/dist/typography/index.d.ts +1 -0
  324. package/dist/typography/index.js +16 -0
  325. package/dist/visually-hidden/index.cjs +31 -0
  326. package/dist/visually-hidden/index.d.cts +1 -0
  327. package/dist/visually-hidden/index.d.ts +1 -0
  328. package/dist/visually-hidden/index.js +8 -0
  329. package/package.json +10 -4
  330. package/dist/chunk-2B5OZHZY.js +0 -71
  331. package/dist/chunk-3DGRWH7C.js +0 -101
  332. package/dist/chunk-77QJSEEA.js +0 -68
  333. package/dist/chunk-EYOHLXWQ.js +0 -64
  334. package/dist/chunk-HKMYYESV.js +0 -34
  335. package/dist/chunk-JMYI6YXR.js +0 -1
  336. package/dist/chunk-JPY2QZLC.js +0 -64
  337. package/dist/chunk-KTLWEUNW.js +0 -1
  338. package/dist/chunk-SXFVA6CX.js +0 -20
  339. package/dist/chunk-T2FPZNCP.js +0 -115
  340. package/dist/chunk-TWTXZ7PR.js +0 -100
  341. package/dist/chunk-XW747T2R.js +0 -43
  342. package/dist/chunk-YHQ5JGCC.js +0 -1
  343. package/dist/chunk-YLZEO3RK.js +0 -24
  344. package/dist/chunk-Z37BQ5VU.js +0 -54
  345. package/dist/components/accordion/index.js +0 -9
  346. package/dist/components/action-bar/index.js +0 -13
  347. package/dist/components/alert/index.js +0 -13
  348. package/dist/components/app-shell/index.js +0 -8
  349. package/dist/components/avatar/index.js +0 -11
  350. package/dist/components/badge/index.d.cts +0 -27
  351. package/dist/components/badge/index.d.ts +0 -27
  352. package/dist/components/badge/index.js +0 -10
  353. package/dist/components/blockquote/index.js +0 -8
  354. package/dist/components/breadcrumb/index.js +0 -8
  355. package/dist/components/button/index.js +0 -8
  356. package/dist/components/button-group/index.js +0 -8
  357. package/dist/components/card/index.js +0 -9
  358. package/dist/components/checkbox/index.js +0 -8
  359. package/dist/components/checkbox-card/index.js +0 -8
  360. package/dist/components/checkmark/index.js +0 -8
  361. package/dist/components/clipboard/index.d.cts +0 -28
  362. package/dist/components/clipboard/index.d.ts +0 -28
  363. package/dist/components/clipboard/index.js +0 -13
  364. package/dist/components/close-button/index.d.cts +0 -9
  365. package/dist/components/close-button/index.d.ts +0 -9
  366. package/dist/components/close-button/index.js +0 -12
  367. package/dist/components/code/index.d.cts +0 -1
  368. package/dist/components/code/index.d.ts +0 -1
  369. package/dist/components/code/index.js +0 -8
  370. package/dist/components/collapsible/index.js +0 -8
  371. package/dist/components/command/index.js +0 -9
  372. package/dist/components/container/index.js +0 -8
  373. package/dist/components/data-list/index.js +0 -10
  374. package/dist/components/dialog/index.js +0 -13
  375. package/dist/components/drawer/index.js +0 -13
  376. package/dist/components/editable/index.d.cts +0 -1
  377. package/dist/components/editable/index.d.ts +0 -1
  378. package/dist/components/editable/index.js +0 -8
  379. package/dist/components/empty-state/index.js +0 -8
  380. package/dist/components/field/index.js +0 -12
  381. package/dist/components/fieldset/index.d.cts +0 -1
  382. package/dist/components/fieldset/index.d.ts +0 -1
  383. package/dist/components/fieldset/index.js +0 -10
  384. package/dist/components/file-upload/index.js +0 -14
  385. package/dist/components/grid-list/index.js +0 -8
  386. package/dist/components/heading/index.js +0 -8
  387. package/dist/components/hover-card/index.js +0 -8
  388. package/dist/components/icon/index.js +0 -8
  389. package/dist/components/icon-badge/index.js +0 -8
  390. package/dist/components/icon-button/index.js +0 -9
  391. package/dist/components/icons/index.d.cts +0 -22
  392. package/dist/components/icons/index.d.ts +0 -22
  393. package/dist/components/image/index.js +0 -8
  394. package/dist/components/info-tip/index.d.cts +0 -13
  395. package/dist/components/info-tip/index.d.ts +0 -13
  396. package/dist/components/info-tip/index.js +0 -16
  397. package/dist/components/input/index.d.cts +0 -1
  398. package/dist/components/input/index.d.ts +0 -1
  399. package/dist/components/input/index.js +0 -14
  400. package/dist/components/input-group/index.cjs +0 -61
  401. package/dist/components/input-group/index.d.cts +0 -14
  402. package/dist/components/input-group/index.d.ts +0 -14
  403. package/dist/components/input-group/index.js +0 -9
  404. package/dist/components/kbd/index.d.cts +0 -1
  405. package/dist/components/kbd/index.d.ts +0 -1
  406. package/dist/components/kbd/index.js +0 -8
  407. package/dist/components/link/index.js +0 -9
  408. package/dist/components/list/index.js +0 -8
  409. package/dist/components/loader/index.js +0 -8
  410. package/dist/components/loading-overlay/index.d.cts +0 -10
  411. package/dist/components/loading-overlay/index.d.ts +0 -10
  412. package/dist/components/loading-overlay/index.js +0 -11
  413. package/dist/components/mark/index.js +0 -8
  414. package/dist/components/menu/index.js +0 -11
  415. package/dist/components/native-select/index.js +0 -10
  416. package/dist/components/navbar/index.d.cts +0 -21
  417. package/dist/components/navbar/index.d.ts +0 -21
  418. package/dist/components/navbar/index.js +0 -9
  419. package/dist/components/number-input/index.cjs +0 -95
  420. package/dist/components/number-input/index.js +0 -10
  421. package/dist/components/pagination/index.js +0 -11
  422. package/dist/components/password-input/index.js +0 -12
  423. package/dist/components/persona/index.js +0 -13
  424. package/dist/components/pin-input/index.js +0 -8
  425. package/dist/components/popover/index.d.cts +0 -3
  426. package/dist/components/popover/index.d.ts +0 -3
  427. package/dist/components/popover/index.js +0 -13
  428. package/dist/components/progress/index.js +0 -8
  429. package/dist/components/progress-circle/index.js +0 -8
  430. package/dist/components/radio/index.d.cts +0 -12
  431. package/dist/components/radio/index.d.ts +0 -12
  432. package/dist/components/radio/index.js +0 -10
  433. package/dist/components/radio-card/index.js +0 -8
  434. package/dist/components/rating-group/index.js +0 -8
  435. package/dist/components/search-input/index.js +0 -10
  436. package/dist/components/segmented-control/index.js +0 -8
  437. package/dist/components/select/index.js +0 -13
  438. package/dist/components/separator/index.js +0 -8
  439. package/dist/components/sidebar/index.d.cts +0 -90
  440. package/dist/components/sidebar/index.d.ts +0 -90
  441. package/dist/components/sidebar/index.js +0 -14
  442. package/dist/components/skeleton/index.js +0 -12
  443. package/dist/components/skip-nav-link/index.js +0 -10
  444. package/dist/components/slider/index.js +0 -8
  445. package/dist/components/spinner/index.js +0 -8
  446. package/dist/components/stat/index.js +0 -8
  447. package/dist/components/status/index.js +0 -8
  448. package/dist/components/steps/index.js +0 -10
  449. package/dist/components/switch/index.js +0 -8
  450. package/dist/components/table/index.js +0 -8
  451. package/dist/components/tabs/index.js +0 -14
  452. package/dist/components/tag/index.js +0 -8
  453. package/dist/components/textarea/index.js +0 -8
  454. package/dist/components/timeline/index.js +0 -8
  455. package/dist/components/toaster/index.d.cts +0 -11
  456. package/dist/components/toaster/index.d.ts +0 -11
  457. package/dist/components/toaster/index.js +0 -16
  458. package/dist/components/toggle-tip/index.d.cts +0 -13
  459. package/dist/components/toggle-tip/index.d.ts +0 -13
  460. package/dist/components/toggle-tip/index.js +0 -14
  461. package/dist/components/tooltip/index.js +0 -8
  462. package/dist/index-zAqswhEI.d.cts +0 -37
  463. package/dist/index-zAqswhEI.d.ts +0 -37
  464. package/dist/loading-overlay-BQ4lOS6T.d.ts +0 -23
  465. package/dist/loading-overlay-afP_W7ru.d.cts +0 -23
  466. package/dist/types-DnFoUudY.d.cts +0 -10
  467. package/dist/types-DnFoUudY.d.ts +0 -10
  468. /package/dist/{components/accordion → accordion}/index.d.cts +0 -0
  469. /package/dist/{components/accordion → accordion}/index.d.ts +0 -0
  470. /package/dist/{components/action-bar → action-bar}/index.d.cts +0 -0
  471. /package/dist/{components/action-bar → action-bar}/index.d.ts +0 -0
  472. /package/dist/{components/alert → alert}/index.d.cts +0 -0
  473. /package/dist/{components/alert → alert}/index.d.ts +0 -0
  474. /package/dist/{components/app-shell → app-shell}/index.cjs +0 -0
  475. /package/dist/{components/app-shell → app-shell}/index.d.cts +0 -0
  476. /package/dist/{components/app-shell → app-shell}/index.d.ts +0 -0
  477. /package/dist/{components/avatar → avatar}/index.cjs +0 -0
  478. /package/dist/{components/avatar → avatar}/index.d.cts +0 -0
  479. /package/dist/{components/avatar → avatar}/index.d.ts +0 -0
  480. /package/dist/{components/badge → badge}/index.cjs +0 -0
  481. /package/dist/{components/blockquote → blockquote}/index.cjs +0 -0
  482. /package/dist/{components/blockquote → blockquote}/index.d.cts +0 -0
  483. /package/dist/{components/blockquote → blockquote}/index.d.ts +0 -0
  484. /package/dist/{components/breadcrumb → breadcrumb}/index.cjs +0 -0
  485. /package/dist/{components/breadcrumb → breadcrumb}/index.d.cts +0 -0
  486. /package/dist/{components/breadcrumb → breadcrumb}/index.d.ts +0 -0
  487. /package/dist/{components/button → button}/index.cjs +0 -0
  488. /package/dist/{components/button → button}/index.d.cts +0 -0
  489. /package/dist/{components/button → button}/index.d.ts +0 -0
  490. /package/dist/{components/button-group → button-group}/index.cjs +0 -0
  491. /package/dist/{components/button-group → button-group}/index.d.cts +0 -0
  492. /package/dist/{components/button-group → button-group}/index.d.ts +0 -0
  493. /package/dist/{components/card → card}/index.cjs +0 -0
  494. /package/dist/{components/card → card}/index.d.cts +0 -0
  495. /package/dist/{components/card → card}/index.d.ts +0 -0
  496. /package/dist/{components/checkbox → checkbox}/index.cjs +0 -0
  497. /package/dist/{components/checkbox → checkbox}/index.d.cts +0 -0
  498. /package/dist/{components/checkbox → checkbox}/index.d.ts +0 -0
  499. /package/dist/{components/checkbox-card → checkbox-card}/index.cjs +0 -0
  500. /package/dist/{components/checkbox-card → checkbox-card}/index.d.cts +0 -0
  501. /package/dist/{components/checkbox-card → checkbox-card}/index.d.ts +0 -0
  502. /package/dist/{components/checkmark → checkmark}/index.cjs +0 -0
  503. /package/dist/{components/checkmark → checkmark}/index.d.cts +0 -0
  504. /package/dist/{components/checkmark → checkmark}/index.d.ts +0 -0
  505. /package/dist/{components/code → code}/index.cjs +0 -0
  506. /package/dist/{components/collapsible → collapsible}/index.cjs +0 -0
  507. /package/dist/{components/collapsible → collapsible}/index.d.cts +0 -0
  508. /package/dist/{components/collapsible → collapsible}/index.d.ts +0 -0
  509. /package/dist/{components/command → command}/index.cjs +0 -0
  510. /package/dist/{components/container → container}/index.cjs +0 -0
  511. /package/dist/{components/container → container}/index.d.cts +0 -0
  512. /package/dist/{components/container → container}/index.d.ts +0 -0
  513. /package/dist/{components/data-list → data-list}/index.cjs +0 -0
  514. /package/dist/{components/data-list → data-list}/index.d.cts +0 -0
  515. /package/dist/{components/data-list → data-list}/index.d.ts +0 -0
  516. /package/dist/{components/dialog → dialog}/index.d.cts +0 -0
  517. /package/dist/{components/dialog → dialog}/index.d.ts +0 -0
  518. /package/dist/{components/drawer → drawer}/index.d.cts +0 -0
  519. /package/dist/{components/drawer → drawer}/index.d.ts +0 -0
  520. /package/dist/{components/editable → editable}/index.cjs +0 -0
  521. /package/dist/{components/empty-state → empty-state}/index.cjs +0 -0
  522. /package/dist/{components/empty-state → empty-state}/index.d.cts +0 -0
  523. /package/dist/{components/empty-state → empty-state}/index.d.ts +0 -0
  524. /package/dist/{components/field → field}/index.cjs +0 -0
  525. /package/dist/{components/field → field}/index.d.cts +0 -0
  526. /package/dist/{components/field → field}/index.d.ts +0 -0
  527. /package/dist/{components/fieldset → fieldset}/index.cjs +0 -0
  528. /package/dist/{components/grid-list → grid-list}/index.cjs +0 -0
  529. /package/dist/{components/heading → heading}/index.cjs +0 -0
  530. /package/dist/{components/hover-card → hover-card}/index.cjs +0 -0
  531. /package/dist/{components/icon → icon}/index.cjs +0 -0
  532. /package/dist/{components/icon → icon}/index.d.cts +0 -0
  533. /package/dist/{components/icon → icon}/index.d.ts +0 -0
  534. /package/dist/{components/icon-badge → icon-badge}/index.cjs +0 -0
  535. /package/dist/{components/icon-button → icon-button}/index.cjs +0 -0
  536. /package/dist/{components/icon-button → icon-button}/index.d.cts +0 -0
  537. /package/dist/{components/icon-button → icon-button}/index.d.ts +0 -0
  538. /package/dist/{components/image → image}/index.cjs +0 -0
  539. /package/dist/{components/kbd → kbd}/index.cjs +0 -0
  540. /package/dist/{components/link → link}/index.cjs +0 -0
  541. /package/dist/{components/list → list}/index.cjs +0 -0
  542. /package/dist/{components/list → list}/index.d.cts +0 -0
  543. /package/dist/{components/list → list}/index.d.ts +0 -0
  544. /package/dist/{components/loader → loader}/index.cjs +0 -0
  545. /package/dist/{components/loader → loader}/index.d.cts +0 -0
  546. /package/dist/{components/loader → loader}/index.d.ts +0 -0
  547. /package/dist/{components/loading-overlay → loading-overlay}/index.cjs +0 -0
  548. /package/dist/{components/mark → mark}/index.cjs +0 -0
  549. /package/dist/{components/menu → menu}/index.d.cts +0 -0
  550. /package/dist/{components/menu → menu}/index.d.ts +0 -0
  551. /package/dist/{components/native-select → native-select}/index.d.cts +0 -0
  552. /package/dist/{components/native-select → native-select}/index.d.ts +0 -0
  553. /package/dist/{components/navbar → navbar}/index.cjs +0 -0
  554. /package/dist/{components/pin-input → pin-input}/index.cjs +0 -0
  555. /package/dist/{components/progress → progress}/index.cjs +0 -0
  556. /package/dist/{components/progress → progress}/index.d.cts +0 -0
  557. /package/dist/{components/progress → progress}/index.d.ts +0 -0
  558. /package/dist/{components/progress-circle → progress-circle}/index.cjs +0 -0
  559. /package/dist/{components/progress-circle → progress-circle}/index.d.cts +0 -0
  560. /package/dist/{components/progress-circle → progress-circle}/index.d.ts +0 -0
  561. /package/dist/{components/radio-card → radio-card}/index.cjs +0 -0
  562. /package/dist/{components/radio-card → radio-card}/index.d.cts +0 -0
  563. /package/dist/{components/radio-card → radio-card}/index.d.ts +0 -0
  564. /package/dist/{components/rating-group → rating-group}/index.cjs +0 -0
  565. /package/dist/{components/rating-group → rating-group}/index.d.cts +0 -0
  566. /package/dist/{components/rating-group → rating-group}/index.d.ts +0 -0
  567. /package/dist/{components/search-input → search-input}/index.d.cts +0 -0
  568. /package/dist/{components/search-input → search-input}/index.d.ts +0 -0
  569. /package/dist/{components/segmented-control → segmented-control}/index.cjs +0 -0
  570. /package/dist/{components/segmented-control → segmented-control}/index.d.cts +0 -0
  571. /package/dist/{components/segmented-control → segmented-control}/index.d.ts +0 -0
  572. /package/dist/{components/select → select}/index.d.cts +0 -0
  573. /package/dist/{components/select → select}/index.d.ts +0 -0
  574. /package/dist/{components/separator → separator}/index.cjs +0 -0
  575. /package/dist/{components/sidebar → sidebar}/index.cjs +0 -0
  576. /package/dist/{components/skeleton → skeleton}/index.cjs +0 -0
  577. /package/dist/{components/skip-nav-link → skip-nav}/index.d.cts +0 -0
  578. /package/dist/{components/skip-nav-link → skip-nav}/index.d.ts +0 -0
  579. /package/dist/{components/skip-nav-link → skip-nav-link}/index.cjs +0 -0
  580. /package/dist/{components/slider → slider}/index.cjs +0 -0
  581. /package/dist/{components/slider → slider}/index.d.cts +0 -0
  582. /package/dist/{components/slider → slider}/index.d.ts +0 -0
  583. /package/dist/{components/spinner → spinner}/index.cjs +0 -0
  584. /package/dist/{components/spinner → spinner}/index.d.cts +0 -0
  585. /package/dist/{components/spinner → spinner}/index.d.ts +0 -0
  586. /package/dist/{components/stat → stat}/index.cjs +0 -0
  587. /package/dist/{components/status → status}/index.cjs +0 -0
  588. /package/dist/{components/switch → switch}/index.cjs +0 -0
  589. /package/dist/{components/table → table}/index.cjs +0 -0
  590. /package/dist/{components/table → table}/index.d.cts +0 -0
  591. /package/dist/{components/table → table}/index.d.ts +0 -0
  592. /package/dist/{components/tabs → tabs}/index.cjs +0 -0
  593. /package/dist/{components/tag → tag}/index.cjs +0 -0
  594. /package/dist/{components/tag → tag}/index.d.cts +0 -0
  595. /package/dist/{components/tag → tag}/index.d.ts +0 -0
  596. /package/dist/{components/textarea → textarea}/index.cjs +0 -0
  597. /package/dist/{components/textarea → textarea}/index.d.cts +0 -0
  598. /package/dist/{components/textarea → textarea}/index.d.ts +0 -0
  599. /package/dist/{components/timeline → timeline}/index.cjs +0 -0
  600. /package/dist/{components/timeline → timeline}/index.d.cts +0 -0
  601. /package/dist/{components/timeline → timeline}/index.d.ts +0 -0
  602. /package/dist/{components/tooltip → tooltip}/index.cjs +0 -0
@@ -1,115 +0,0 @@
1
- 'use client'
2
- import {
3
- CloseButton
4
- } from "./chunk-H7KPEI6P.js";
5
- import {
6
- Button
7
- } from "./chunk-5HVAMQYO.js";
8
- import {
9
- __export
10
- } from "./chunk-RTMS5TJN.js";
11
-
12
- // src/components/file-upload/file-upload.tsx
13
- var file_upload_exports = {};
14
- __export(file_upload_exports, {
15
- ClearTrigger: () => ClearTrigger,
16
- Dropzone: () => Dropzone,
17
- Input: () => Input,
18
- Label: () => Label,
19
- List: () => List,
20
- Root: () => Root,
21
- Trigger: () => Trigger
22
- });
23
- import * as React from "react";
24
- import { Span } from "@chakra-ui/react";
25
- import {
26
- FileUpload as ChakraFileUpload,
27
- useFileUploadContext
28
- } from "@chakra-ui/react/file-upload";
29
- import { useRecipe } from "@chakra-ui/react/styled-system";
30
- import { jsx, jsxs } from "react/jsx-runtime";
31
- var Root = React.forwardRef(
32
- function FileUploadRoot(props, ref) {
33
- const { children, inputProps, ...rest } = props;
34
- return /* @__PURE__ */ jsxs(ChakraFileUpload.Root, { ...rest, children: [
35
- /* @__PURE__ */ jsx(ChakraFileUpload.HiddenInput, { ref, ...inputProps }),
36
- children
37
- ] });
38
- }
39
- );
40
- var Dropzone = React.forwardRef(
41
- function FileUploadDropzone(props, ref) {
42
- const { children, ...rest } = props;
43
- return /* @__PURE__ */ jsx(ChakraFileUpload.Dropzone, { ref, ...rest, children: /* @__PURE__ */ jsx(ChakraFileUpload.DropzoneContent, { children }) });
44
- }
45
- );
46
- var Item = React.forwardRef(
47
- function FileUploadItem(props, ref) {
48
- const { file, showSize, icon, clearable } = props;
49
- return /* @__PURE__ */ jsxs(ChakraFileUpload.Item, { file, ref, children: [
50
- /* @__PURE__ */ jsx(ChakraFileUpload.ItemPreview, { children: icon }),
51
- showSize ? /* @__PURE__ */ jsxs(ChakraFileUpload.ItemContent, { children: [
52
- /* @__PURE__ */ jsx(ChakraFileUpload.ItemName, {}),
53
- /* @__PURE__ */ jsx(ChakraFileUpload.ItemSizeText, {})
54
- ] }) : /* @__PURE__ */ jsx(ChakraFileUpload.ItemName, { flex: "1" }),
55
- clearable && /* @__PURE__ */ jsx(ChakraFileUpload.ItemDeleteTrigger, { asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) })
56
- ] });
57
- }
58
- );
59
- var List = React.forwardRef(
60
- function FileUploadList(props, ref) {
61
- const { showSize, clearable, files, ...rest } = props;
62
- const fileUpload = useFileUploadContext();
63
- const acceptedFiles = files != null ? files : fileUpload.acceptedFiles;
64
- if (acceptedFiles.length === 0) return null;
65
- return /* @__PURE__ */ jsx(ChakraFileUpload.ItemGroup, { ref, ...rest, children: acceptedFiles.map((file) => /* @__PURE__ */ jsx(
66
- Item,
67
- {
68
- file,
69
- showSize,
70
- clearable
71
- },
72
- file.name
73
- )) });
74
- }
75
- );
76
- var Input = React.forwardRef(
77
- function FileInput(props, ref) {
78
- const inputRecipe = useRecipe({ key: "input" });
79
- const [recipeProps, restProps] = inputRecipe.splitVariantProps(props);
80
- const { placeholder = "Select file(s)", ...rest } = restProps;
81
- return /* @__PURE__ */ jsx(ChakraFileUpload.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(
82
- Button,
83
- {
84
- unstyled: true,
85
- py: "0",
86
- ref,
87
- ...rest,
88
- css: [inputRecipe(recipeProps), props.css],
89
- children: /* @__PURE__ */ jsx(ChakraFileUpload.Context, { children: ({ acceptedFiles }) => {
90
- if (acceptedFiles.length === 1) {
91
- return /* @__PURE__ */ jsx("span", { children: acceptedFiles[0].name });
92
- }
93
- if (acceptedFiles.length > 1) {
94
- return /* @__PURE__ */ jsxs("span", { children: [
95
- acceptedFiles.length,
96
- " files"
97
- ] });
98
- }
99
- return /* @__PURE__ */ jsx(Span, { color: "fg.subtle", children: placeholder });
100
- } })
101
- }
102
- ) });
103
- }
104
- );
105
- var Label = ChakraFileUpload.Label;
106
- var ClearTrigger = ChakraFileUpload.ClearTrigger;
107
- var Trigger = ChakraFileUpload.Trigger;
108
-
109
- // src/components/file-upload/index.ts
110
- import { useFileUploadContext as useFileUploadContext2 } from "@chakra-ui/react/file-upload";
111
-
112
- export {
113
- file_upload_exports,
114
- useFileUploadContext2 as useFileUploadContext
115
- };
@@ -1,100 +0,0 @@
1
- 'use client'
2
- import {
3
- IconButton
4
- } from "./chunk-OJZPPAT6.js";
5
- import {
6
- Button
7
- } from "./chunk-5HVAMQYO.js";
8
- import {
9
- ChevronLeftIcon,
10
- ChevronRightIcon,
11
- EllipsisIcon
12
- } from "./chunk-4XB7B73X.js";
13
- import {
14
- __export
15
- } from "./chunk-RTMS5TJN.js";
16
-
17
- // src/components/pagination/pagination.tsx
18
- var pagination_exports = {};
19
- __export(pagination_exports, {
20
- Context: () => Context,
21
- Ellipsis: () => Ellipsis,
22
- Item: () => Item,
23
- Items: () => Items,
24
- NextButton: () => NextButton,
25
- NextTrigger: () => NextTrigger,
26
- PageText: () => PageText,
27
- PrevButton: () => PrevButton,
28
- PrevTrigger: () => PrevTrigger,
29
- Root: () => Root
30
- });
31
- import { forwardRef, useMemo } from "react";
32
- import {
33
- Pagination as ChakraPagination,
34
- usePaginationContext
35
- } from "@chakra-ui/react/pagination";
36
- import { Text } from "@chakra-ui/react/typography";
37
- import { createContext } from "@saas-ui/core/utils";
38
- import { jsx } from "react/jsx-runtime";
39
- var [RootPropsProvider, useRootProps] = createContext({
40
- name: "RootPropsProvider"
41
- });
42
- var variantMap = {
43
- outline: { default: "ghost", ellipsis: "plain", current: "outline" },
44
- solid: { default: "outline", ellipsis: "outline", current: "solid" },
45
- subtle: { default: "ghost", ellipsis: "plain", current: "subtle" }
46
- };
47
- var Root = forwardRef(
48
- function PaginationRoot(props, ref) {
49
- const { size = "sm", variant = "outline", ...rest } = props;
50
- return /* @__PURE__ */ jsx(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: /* @__PURE__ */ jsx(ChakraPagination.Root, { ref, type: "button", ...rest }) });
51
- }
52
- );
53
- var Ellipsis = forwardRef(function PaginationEllipsis(props, ref) {
54
- var _a;
55
- const { size, variantMap: variantMap2 } = useRootProps();
56
- return /* @__PURE__ */ jsx(ChakraPagination.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ jsx(Button, { as: "span", variant: variantMap2.ellipsis, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx(EllipsisIcon, {}) }) });
57
- });
58
- var Item = forwardRef(
59
- function PaginationItem(props, ref) {
60
- const { page } = usePaginationContext();
61
- const { size, variantMap: variantMap2 } = useRootProps();
62
- const current = page === props.value;
63
- const variant = current ? variantMap2.current : variantMap2.default;
64
- return /* @__PURE__ */ jsx(ChakraPagination.Item, { ref, ...props, asChild: true, children: /* @__PURE__ */ jsx(Button, { variant, size, children: props.value }) });
65
- }
66
- );
67
- var PrevButton = forwardRef(function PaginationPrevTrigger(props, ref) {
68
- var _a;
69
- const { size, variantMap: variantMap2 } = useRootProps();
70
- return /* @__PURE__ */ jsx(ChakraPagination.PrevTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx(ChevronLeftIcon, {}) }) });
71
- });
72
- var NextButton = forwardRef(function PaginationNextTrigger(props, ref) {
73
- var _a;
74
- const { size, variantMap: variantMap2 } = useRootProps();
75
- return /* @__PURE__ */ jsx(ChakraPagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx(ChevronRightIcon, {}) }) });
76
- });
77
- var Items = (props) => {
78
- return /* @__PURE__ */ jsx(ChakraPagination.Context, { children: ({ pages }) => pages.map((page, index) => {
79
- return page.type === "ellipsis" ? /* @__PURE__ */ jsx(Ellipsis, { index, ...props }, index) : /* @__PURE__ */ jsx(Item, { type: "page", value: page.value, ...props }, index);
80
- }) });
81
- };
82
- var PageText = forwardRef(
83
- function PaginationPageText(props, ref) {
84
- const { format = "compact", ...rest } = props;
85
- const { page, pages, pageRange, count } = usePaginationContext();
86
- const content = useMemo(() => {
87
- if (format === "short") return `${page} / ${pages.length}`;
88
- if (format === "compact") return `${page} of ${pages.length}`;
89
- return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
90
- }, [format, page, pages.length, pageRange, count]);
91
- return /* @__PURE__ */ jsx(Text, { fontWeight: "medium", ref, ...rest, children: content });
92
- }
93
- );
94
- var PrevTrigger = ChakraPagination.PrevTrigger;
95
- var NextTrigger = ChakraPagination.NextTrigger;
96
- var Context = ChakraPagination.Context;
97
-
98
- export {
99
- pagination_exports
100
- };
@@ -1,43 +0,0 @@
1
- 'use client'
2
- import {
3
- popover_exports
4
- } from "./chunk-JPY2QZLC.js";
5
-
6
- // src/components/toggle-tip/toggle-tip.tsx
7
- import * as React from "react";
8
- import { jsx, jsxs } from "react/jsx-runtime";
9
- var ToggleTip = React.forwardRef(
10
- function ToggleTip2(props, ref) {
11
- const {
12
- showArrow,
13
- children,
14
- portalled = true,
15
- content,
16
- portalRef,
17
- ...rest
18
- } = props;
19
- return /* @__PURE__ */ jsxs(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
20
- /* @__PURE__ */ jsx(popover_exports.Trigger, { asChild: true, children }),
21
- /* @__PURE__ */ jsxs(
22
- popover_exports.Content,
23
- {
24
- width: "auto",
25
- px: "2",
26
- py: "1",
27
- textStyle: "xs",
28
- rounded: "sm",
29
- portalled,
30
- ref,
31
- children: [
32
- showArrow && /* @__PURE__ */ jsx(popover_exports.Arrow, {}),
33
- content
34
- ]
35
- }
36
- )
37
- ] });
38
- }
39
- );
40
-
41
- export {
42
- ToggleTip
43
- };
@@ -1 +0,0 @@
1
- 'use client'
@@ -1,24 +0,0 @@
1
- 'use client'
2
- import {
3
- ToggleTip
4
- } from "./chunk-XW747T2R.js";
5
- import {
6
- IconButton
7
- } from "./chunk-OJZPPAT6.js";
8
- import {
9
- InfoIcon
10
- } from "./chunk-4XB7B73X.js";
11
-
12
- // src/components/info-tip/info-tip.tsx
13
- import * as React from "react";
14
- import { jsx } from "react/jsx-runtime";
15
- var InfoTip = React.forwardRef(
16
- function InfoTip2(props, ref) {
17
- const { children, icon, "aria-label": ariaLabel = "Info", ...rest } = props;
18
- return /* @__PURE__ */ jsx(ToggleTip, { content: children, ...rest, ref, children: /* @__PURE__ */ jsx(IconButton, { variant: "ghost", "aria-label": ariaLabel, size: "2xs", children: icon != null ? icon : /* @__PURE__ */ jsx(InfoIcon, {}) }) });
19
- }
20
- );
21
-
22
- export {
23
- InfoTip
24
- };
@@ -1,54 +0,0 @@
1
- 'use client'
2
- import {
3
- CloseButton
4
- } from "./chunk-H7KPEI6P.js";
5
- import {
6
- __export
7
- } from "./chunk-RTMS5TJN.js";
8
-
9
- // src/components/drawer/drawer.tsx
10
- var drawer_exports = {};
11
- __export(drawer_exports, {
12
- ActionTrigger: () => ActionTrigger,
13
- Backdrop: () => Backdrop,
14
- Body: () => Body,
15
- CloseButton: () => CloseButton2,
16
- CloseTrigger: () => CloseTrigger,
17
- Content: () => Content,
18
- Context: () => Context,
19
- Description: () => Description,
20
- Footer: () => Footer,
21
- Header: () => Header,
22
- Root: () => Root,
23
- Title: () => Title,
24
- Trigger: () => Trigger
25
- });
26
- import { forwardRef } from "react";
27
- import { DialogContext } from "@ark-ui/react/dialog";
28
- import { Drawer as ChakraDrawer, Portal } from "@chakra-ui/react";
29
- import { jsx } from "react/jsx-runtime";
30
- var Content = forwardRef(
31
- function DrawerContent(props, ref) {
32
- const { children, portalled = true, portalRef, offset, ...rest } = props;
33
- return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(ChakraDrawer.Positioner, { padding: offset, children: /* @__PURE__ */ jsx(ChakraDrawer.Content, { ref, ...rest, asChild: false, children }) }) });
34
- }
35
- );
36
- var CloseButton2 = forwardRef(function DrawerCloseTrigger(props, ref) {
37
- const { children, ...rest } = props;
38
- return /* @__PURE__ */ jsx(ChakraDrawer.CloseTrigger, { ...rest, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children }) });
39
- });
40
- var CloseTrigger = ChakraDrawer.CloseTrigger;
41
- var Trigger = ChakraDrawer.Trigger;
42
- var Root = ChakraDrawer.Root;
43
- var Footer = ChakraDrawer.Footer;
44
- var Header = ChakraDrawer.Header;
45
- var Body = ChakraDrawer.Body;
46
- var Backdrop = ChakraDrawer.Backdrop;
47
- var Description = ChakraDrawer.Description;
48
- var Title = ChakraDrawer.Title;
49
- var ActionTrigger = ChakraDrawer.ActionTrigger;
50
- var Context = DialogContext;
51
-
52
- export {
53
- drawer_exports
54
- };
@@ -1,9 +0,0 @@
1
- 'use client'
2
- import {
3
- accordion_exports
4
- } from "../../chunk-SD2NTPHR.js";
5
- import "../../chunk-4XB7B73X.js";
6
- import "../../chunk-RTMS5TJN.js";
7
- export {
8
- accordion_exports as Accordion
9
- };
@@ -1,13 +0,0 @@
1
- 'use client'
2
- import {
3
- action_bar_exports
4
- } from "../../chunk-AY7C4U2O.js";
5
- import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-H7KPEI6P.js";
7
- import "../../chunk-OJZPPAT6.js";
8
- import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-4XB7B73X.js";
10
- import "../../chunk-RTMS5TJN.js";
11
- export {
12
- action_bar_exports as ActionBar
13
- };
@@ -1,13 +0,0 @@
1
- 'use client'
2
- import {
3
- Alert
4
- } from "../../chunk-HTQRA26F.js";
5
- import "../../chunk-JMYI6YXR.js";
6
- import "../../chunk-H7KPEI6P.js";
7
- import "../../chunk-OJZPPAT6.js";
8
- import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-4XB7B73X.js";
10
- import "../../chunk-RTMS5TJN.js";
11
- export {
12
- Alert
13
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- AppShell
4
- } from "../../chunk-YTTZX7ZE.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- AppShell
8
- };
@@ -1,11 +0,0 @@
1
- 'use client'
2
- import "../../chunk-YHQ5JGCC.js";
3
- import {
4
- Avatar,
5
- AvatarGroup
6
- } from "../../chunk-FN7TU5F5.js";
7
- import "../../chunk-RTMS5TJN.js";
8
- export {
9
- Avatar,
10
- AvatarGroup
11
- };
@@ -1,27 +0,0 @@
1
- export { Badge, BadgeProps, BadgePropsProvider } from '@chakra-ui/react/badge';
2
- import '@chakra-ui/react/button';
3
- import '@chakra-ui/react/card';
4
- import '@chakra-ui/react/checkmark';
5
- import '@chakra-ui/react/input';
6
- import '@chakra-ui/react/container';
7
- import '@chakra-ui/react/code';
8
- import '@chakra-ui/react/collapsible';
9
- import '@chakra-ui/react/data-list';
10
- import '@chakra-ui/react/editable';
11
- import '@chakra-ui/react/field';
12
- import '@chakra-ui/react/fieldset';
13
- import '@chakra-ui/react/typography';
14
- import '@chakra-ui/react/icon';
15
- import '@chakra-ui/react/image';
16
- import '@chakra-ui/react/kbd';
17
- import '@chakra-ui/react/loader';
18
- import '@chakra-ui/react/list';
19
- import '@chakra-ui/react/progress';
20
- import '@chakra-ui/react/progress-circle';
21
- import '@chakra-ui/react/rating-group';
22
- import '@chakra-ui/react/separator';
23
- import '@chakra-ui/react/skip-nav';
24
- import '@chakra-ui/react/table';
25
- import '@chakra-ui/react/tabs';
26
- import '@chakra-ui/react/timeline';
27
- import '@chakra-ui/react/textarea';
@@ -1,27 +0,0 @@
1
- export { Badge, BadgeProps, BadgePropsProvider } from '@chakra-ui/react/badge';
2
- import '@chakra-ui/react/button';
3
- import '@chakra-ui/react/card';
4
- import '@chakra-ui/react/checkmark';
5
- import '@chakra-ui/react/input';
6
- import '@chakra-ui/react/container';
7
- import '@chakra-ui/react/code';
8
- import '@chakra-ui/react/collapsible';
9
- import '@chakra-ui/react/data-list';
10
- import '@chakra-ui/react/editable';
11
- import '@chakra-ui/react/field';
12
- import '@chakra-ui/react/fieldset';
13
- import '@chakra-ui/react/typography';
14
- import '@chakra-ui/react/icon';
15
- import '@chakra-ui/react/image';
16
- import '@chakra-ui/react/kbd';
17
- import '@chakra-ui/react/loader';
18
- import '@chakra-ui/react/list';
19
- import '@chakra-ui/react/progress';
20
- import '@chakra-ui/react/progress-circle';
21
- import '@chakra-ui/react/rating-group';
22
- import '@chakra-ui/react/separator';
23
- import '@chakra-ui/react/skip-nav';
24
- import '@chakra-ui/react/table';
25
- import '@chakra-ui/react/tabs';
26
- import '@chakra-ui/react/timeline';
27
- import '@chakra-ui/react/textarea';
@@ -1,10 +0,0 @@
1
- 'use client'
2
- import {
3
- Badge,
4
- BadgePropsProvider
5
- } from "../../chunk-R2J5USV6.js";
6
- import "../../chunk-RTMS5TJN.js";
7
- export {
8
- Badge,
9
- BadgePropsProvider
10
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- Blockquote
4
- } from "../../chunk-GSWLAOIM.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- Blockquote
8
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- breadcrumb_exports
4
- } from "../../chunk-CRFTMIQA.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- breadcrumb_exports as Breadcrumb
8
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- Button
4
- } from "../../chunk-5HVAMQYO.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- Button
8
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- ButtonGroup
4
- } from "../../chunk-7PWVK3NL.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- ButtonGroup
8
- };
@@ -1,9 +0,0 @@
1
- 'use client'
2
- "use client";
3
- import {
4
- Card
5
- } from "../../chunk-7DF4NQNZ.js";
6
- import "../../chunk-RTMS5TJN.js";
7
- export {
8
- Card
9
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- Checkbox
4
- } from "../../chunk-Z3SWPGPQ.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- Checkbox
8
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- CheckboxCard
4
- } from "../../chunk-NLMFEUVO.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- CheckboxCard
8
- };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- import {
3
- Checkmark
4
- } from "../../chunk-UIP2CHMU.js";
5
- import "../../chunk-RTMS5TJN.js";
6
- export {
7
- Checkmark
8
- };
@@ -1,28 +0,0 @@
1
- import * as react from 'react';
2
- import { Clipboard } from '@chakra-ui/react/clipboard';
3
- import { ButtonProps } from '@chakra-ui/react/button';
4
- import { IconButtonProps } from '../icon-button/index.cjs';
5
- import { InputProps } from '@chakra-ui/react/input';
6
-
7
- interface ClipboardButtonProps extends ButtonProps {
8
- icon?: react.ReactNode;
9
- copiedIcon?: react.ReactNode;
10
- copied?: string;
11
- }
12
- declare const ClipboardButton: react.ForwardRefExoticComponent<ClipboardButtonProps & react.RefAttributes<HTMLButtonElement>>;
13
- interface ClipboardIconButtonProps extends IconButtonProps {
14
- icon?: react.ReactNode;
15
- copiedIcon?: react.ReactNode;
16
- }
17
- declare const ClipboardIconButton: react.ForwardRefExoticComponent<ClipboardIconButtonProps & react.RefAttributes<HTMLButtonElement>>;
18
- declare const ClipboardInput: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
19
- declare const ClipboardRoot: react.ForwardRefExoticComponent<Clipboard.RootProps & react.RefAttributes<HTMLDivElement>>;
20
- declare const ClipboardLabel: react.ForwardRefExoticComponent<Clipboard.LabelProps & react.RefAttributes<HTMLLabelElement>>;
21
-
22
- type ClipboardRootProps = Clipboard.RootProps;
23
-
24
- declare namespace clipboard {
25
- export { ClipboardButton as Button, ClipboardIconButton as IconButton, ClipboardInput as Input, ClipboardLabel as Label, ClipboardRoot as Root, type ClipboardRootProps as RootProps };
26
- }
27
-
28
- export { clipboard as Clipboard };
@@ -1,28 +0,0 @@
1
- import * as react from 'react';
2
- import { Clipboard } from '@chakra-ui/react/clipboard';
3
- import { ButtonProps } from '@chakra-ui/react/button';
4
- import { IconButtonProps } from '../icon-button/index.js';
5
- import { InputProps } from '@chakra-ui/react/input';
6
-
7
- interface ClipboardButtonProps extends ButtonProps {
8
- icon?: react.ReactNode;
9
- copiedIcon?: react.ReactNode;
10
- copied?: string;
11
- }
12
- declare const ClipboardButton: react.ForwardRefExoticComponent<ClipboardButtonProps & react.RefAttributes<HTMLButtonElement>>;
13
- interface ClipboardIconButtonProps extends IconButtonProps {
14
- icon?: react.ReactNode;
15
- copiedIcon?: react.ReactNode;
16
- }
17
- declare const ClipboardIconButton: react.ForwardRefExoticComponent<ClipboardIconButtonProps & react.RefAttributes<HTMLButtonElement>>;
18
- declare const ClipboardInput: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
19
- declare const ClipboardRoot: react.ForwardRefExoticComponent<Clipboard.RootProps & react.RefAttributes<HTMLDivElement>>;
20
- declare const ClipboardLabel: react.ForwardRefExoticComponent<Clipboard.LabelProps & react.RefAttributes<HTMLLabelElement>>;
21
-
22
- type ClipboardRootProps = Clipboard.RootProps;
23
-
24
- declare namespace clipboard {
25
- export { ClipboardButton as Button, ClipboardIconButton as IconButton, ClipboardInput as Input, ClipboardLabel as Label, ClipboardRoot as Root, type ClipboardRootProps as RootProps };
26
- }
27
-
28
- export { clipboard as Clipboard };
@@ -1,13 +0,0 @@
1
- 'use client'
2
- import {
3
- clipboard_exports
4
- } from "../../chunk-3EV6MKBG.js";
5
- import "../../chunk-KTLWEUNW.js";
6
- import "../../chunk-5MTFSSOH.js";
7
- import "../../chunk-OJZPPAT6.js";
8
- import "../../chunk-5HVAMQYO.js";
9
- import "../../chunk-4XB7B73X.js";
10
- import "../../chunk-RTMS5TJN.js";
11
- export {
12
- clipboard_exports as Clipboard
13
- };
@@ -1,9 +0,0 @@
1
- import * as react from 'react';
2
- import { IconButtonProps } from '../icon-button/index.cjs';
3
- import '@chakra-ui/react/button';
4
-
5
- interface CloseButtonProps extends IconButtonProps {
6
- }
7
- declare const CloseButton: react.ForwardRefExoticComponent<CloseButtonProps & react.RefAttributes<HTMLButtonElement>>;
8
-
9
- export { CloseButton, type CloseButtonProps };
@@ -1,9 +0,0 @@
1
- import * as react from 'react';
2
- import { IconButtonProps } from '../icon-button/index.js';
3
- import '@chakra-ui/react/button';
4
-
5
- interface CloseButtonProps extends IconButtonProps {
6
- }
7
- declare const CloseButton: react.ForwardRefExoticComponent<CloseButtonProps & react.RefAttributes<HTMLButtonElement>>;
8
-
9
- export { CloseButton, type CloseButtonProps };
@@ -1,12 +0,0 @@
1
- 'use client'
2
- import "../../chunk-JMYI6YXR.js";
3
- import {
4
- CloseButton
5
- } from "../../chunk-H7KPEI6P.js";
6
- import "../../chunk-OJZPPAT6.js";
7
- import "../../chunk-5HVAMQYO.js";
8
- import "../../chunk-4XB7B73X.js";
9
- import "../../chunk-RTMS5TJN.js";
10
- export {
11
- CloseButton
12
- };
@@ -1 +0,0 @@
1
- export { Code, CodeProps } from '@chakra-ui/react/code';