@saas-ui/react 3.0.0-next.2 → 3.0.0-next.3
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.
- package/CHANGELOG.md +8 -0
- package/dist/.tsbuildinfo.json +1 -0
- package/dist/_tsup-dts-rollup.d.cts +15086 -0
- package/dist/_tsup-dts-rollup.d.ts +15086 -0
- package/dist/chunk-27OMFCPD.js +8 -0
- package/dist/chunk-2YXHXL6J.js +10 -0
- package/dist/chunk-3CKGT42F.js +10 -0
- package/dist/chunk-3E6URZ5P.js +23 -0
- package/dist/chunk-3RHNNKPC.js +51 -0
- package/dist/chunk-46OCNELO.js +10 -0
- package/dist/chunk-4H66FBQW.js +46 -0
- package/dist/chunk-4N4SHDPB.js +10 -0
- package/dist/chunk-52XM5VXJ.js +9 -0
- package/dist/chunk-5HVAMQYO.js +8 -0
- package/dist/chunk-5OUNZEYB.js +22 -0
- package/dist/chunk-5RWFHB7W.js +67 -0
- package/dist/chunk-5YNHX4C7.js +16 -0
- package/dist/chunk-5ZKEXMBN.js +36 -0
- package/dist/chunk-6WZK2RBQ.js +12 -0
- package/dist/chunk-6YZ76Q2W.js +8 -0
- package/dist/chunk-7DF4NQNZ.js +8 -0
- package/dist/chunk-7HAGRXKM.js +8 -0
- package/dist/chunk-7MCVXFWM.js +33 -0
- package/dist/chunk-7PWVK3NL.js +8 -0
- package/dist/chunk-AHG5XKEK.js +24 -0
- package/dist/chunk-BDS3APRG.js +56 -0
- package/dist/chunk-BLSGOJQ7.js +18 -0
- package/dist/chunk-BSE7ZUP5.js +10 -0
- package/dist/chunk-BVISYY3B.js +101 -0
- package/dist/chunk-C5KFNMWU.js +8 -0
- package/dist/chunk-CBX6MYVA.js +10 -0
- package/dist/chunk-CQD32UVJ.js +8 -0
- package/dist/chunk-CRFTMIQA.js +36 -0
- package/dist/chunk-DHFAFRZ4.js +8 -0
- package/dist/chunk-DJNPK2LM.js +60 -0
- package/dist/chunk-EJOXGWHK.js +115 -0
- package/dist/chunk-EWATHRZA.js +8 -0
- package/dist/chunk-EWCBYJA7.js +8 -0
- package/dist/chunk-EZZW6JOU.js +10 -0
- package/dist/chunk-FD2V4Y66.js +8 -0
- package/dist/chunk-FN7TU5F5.js +44 -0
- package/dist/chunk-FPRTN3I7.js +9 -0
- package/dist/chunk-GDDJYUWM.js +12 -0
- package/dist/chunk-GSWLAOIM.js +24 -0
- package/dist/chunk-HHTTORZ6.js +8 -0
- package/dist/chunk-HHUVJRPT.js +62 -0
- package/dist/chunk-HJX66GFT.js +118 -0
- package/dist/chunk-HQVBJT5Y.js +8 -0
- package/dist/chunk-HREBIPVW.js +36 -0
- package/dist/chunk-HRFQMDUK.js +71 -0
- package/dist/chunk-HZX4AGO5.js +8 -0
- package/dist/chunk-I2J6U5Z4.js +71 -0
- package/dist/chunk-J5UCKCIO.js +16 -0
- package/dist/chunk-JL4MHGRE.js +43 -0
- package/dist/chunk-JMYI6YXR.js +1 -0
- package/dist/chunk-JR5RLXCK.js +8 -0
- package/dist/chunk-K3MFCSAW.js +8 -0
- package/dist/chunk-K7BMQECB.js +39 -0
- package/dist/chunk-KB6NR2HZ.js +44 -0
- package/dist/chunk-KFDVVTMT.js +36 -0
- package/dist/chunk-KH7E5C3C.js +54 -0
- package/dist/chunk-KRJG7H4W.js +53 -0
- package/dist/chunk-KTLWEUNW.js +1 -0
- package/dist/chunk-L4JB7UFV.js +97 -0
- package/dist/chunk-LFOA3DZO.js +12 -0
- package/dist/chunk-LGLJ2QUW.js +8 -0
- package/dist/chunk-LIOV5MU4.js +20 -0
- package/dist/chunk-LKPWSC6O.js +36 -0
- package/dist/chunk-LU2H6GWC.js +10 -0
- package/dist/chunk-M3DJWM6D.js +8 -0
- package/dist/chunk-MK3OG2I4.js +19 -0
- package/dist/chunk-MZ2RY4NU.js +34 -0
- package/dist/chunk-NCNHDETB.js +8 -0
- package/dist/chunk-NGGISORT.js +29 -0
- package/dist/chunk-NKUBVRXY.js +8896 -0
- package/dist/chunk-NLMFEUVO.js +41 -0
- package/dist/chunk-NSFGACD7.js +38 -0
- package/dist/chunk-OJZPPAT6.js +26 -0
- package/dist/chunk-OQU4LWZW.js +8 -0
- package/dist/chunk-PEJYADAS.js +8 -0
- package/dist/chunk-PEVIP5UT.js +8 -0
- package/dist/chunk-PIQURQGB.js +8 -0
- package/dist/chunk-PONMXNY4.js +8 -0
- package/dist/chunk-PZWP36YA.js +21 -0
- package/dist/chunk-QAAKAKP7.js +326 -0
- package/dist/chunk-QLN2CBY6.js +8 -0
- package/dist/chunk-R2J5USV6.js +12 -0
- package/dist/chunk-RFBD2ZNL.js +40 -0
- package/dist/chunk-RYKJOZ3B.js +27 -0
- package/dist/chunk-TEQVVR3W.js +8 -0
- package/dist/chunk-TGEP2YAT.js +10 -0
- package/dist/chunk-TH6YCBEG.js +8 -0
- package/dist/chunk-TXIFPX2A.js +230 -0
- package/dist/chunk-TYGGMKHU.js +177 -0
- package/dist/chunk-TYMVLD3B.js +14 -0
- package/dist/chunk-U23VDAWJ.js +143 -0
- package/dist/chunk-U3EPRSD3.js +20 -0
- package/dist/chunk-UAX5344Y.js +10 -0
- package/dist/chunk-UEXUCHDD.js +34 -0
- package/dist/chunk-UIP2CHMU.js +8 -0
- package/dist/chunk-UZUMIWPJ.js +10 -0
- package/dist/chunk-WJZED26X.js +28 -0
- package/dist/chunk-WZUKOJGI.js +20 -0
- package/dist/chunk-XD7U6L2E.js +10 -0
- package/dist/chunk-XX2OY7LK.js +10 -0
- package/dist/chunk-Y2S4O4UY.js +10 -0
- package/dist/chunk-YHQ5JGCC.js +1 -0
- package/dist/chunk-YMCOU2N5.js +8 -0
- package/dist/chunk-YTTZX7ZE.js +45 -0
- package/dist/chunk-YX44E5NF.js +60 -0
- package/dist/chunk-Z3SWPGPQ.js +20 -0
- package/dist/chunk-ZJ2VD224.js +113 -0
- package/dist/chunk-ZNQNBTWF.js +100 -0
- package/dist/chunk-ZULBHMWG.js +35 -0
- package/dist/chunk-ZUT5GZTD.js +46 -0
- package/dist/colors.cjs +351 -0
- package/dist/colors.d.cts +1 -0
- package/dist/colors.d.ts +1 -0
- package/dist/colors.js +8 -0
- package/dist/components/accordion/index.d.cts +1 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +9 -0
- package/dist/components/action-bar/index.cjs +223 -0
- package/dist/components/action-bar/index.d.cts +1 -0
- package/dist/components/action-bar/index.d.ts +1 -0
- package/dist/components/action-bar/index.js +13 -0
- package/dist/components/alert/index.cjs +233 -0
- package/dist/components/alert/index.d.cts +2 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.js +13 -0
- package/dist/components/app-shell/index.d.cts +2 -0
- package/dist/components/app-shell/index.d.ts +2 -0
- package/dist/components/app-shell/index.js +8 -0
- package/dist/components/aspect-ratio/index.d.cts +2 -0
- package/dist/components/aspect-ratio/index.d.ts +2 -0
- package/dist/components/aspect-ratio/index.js +8 -0
- package/dist/components/avatar/index.d.cts +3 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar/index.js +11 -0
- package/dist/components/back-button/index.cjs +227 -0
- package/dist/components/back-button/index.d.cts +2 -0
- package/dist/components/back-button/index.d.ts +2 -0
- package/dist/components/back-button/index.js +11 -0
- package/dist/components/badge/index.d.cts +3 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/badge/index.js +10 -0
- package/dist/components/bleed/index.d.cts +2 -0
- package/dist/components/bleed/index.d.ts +2 -0
- package/dist/components/bleed/index.js +8 -0
- package/dist/components/blockquote/index.d.cts +2 -0
- package/dist/components/blockquote/index.d.ts +2 -0
- package/dist/components/blockquote/index.js +8 -0
- package/dist/components/box/index.d.cts +2 -0
- package/dist/components/box/index.d.ts +2 -0
- package/dist/components/box/index.js +8 -0
- package/dist/components/breadcrumb/index.d.cts +1 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb/index.js +8 -0
- package/dist/components/button/index.d.cts +2 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.js +8 -0
- package/dist/components/button-group/index.d.cts +2 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-group/index.js +8 -0
- package/dist/components/card/index.d.cts +1 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +9 -0
- package/dist/components/center/index.d.cts +2 -0
- package/dist/components/center/index.d.ts +2 -0
- package/dist/components/center/index.js +8 -0
- package/dist/components/checkbox/index.d.cts +2 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.js +8 -0
- package/dist/components/checkbox-card/index.d.cts +2 -0
- package/dist/components/checkbox-card/index.d.ts +2 -0
- package/dist/components/checkbox-card/index.js +8 -0
- package/dist/components/checkmark/index.d.cts +2 -0
- package/dist/components/checkmark/index.d.ts +2 -0
- package/dist/components/checkmark/index.js +8 -0
- package/dist/components/client-only/index.d.cts +2 -0
- package/dist/components/client-only/index.d.ts +2 -0
- package/dist/components/client-only/index.js +8 -0
- package/dist/components/clipboard/index.d.cts +1 -0
- package/dist/components/clipboard/index.d.ts +1 -0
- package/dist/components/clipboard/index.js +13 -0
- package/dist/components/close-button/index.cjs +193 -0
- package/dist/components/close-button/index.d.cts +2 -0
- package/dist/components/close-button/index.d.ts +2 -0
- package/dist/components/close-button/index.js +12 -0
- package/dist/components/code/index.d.cts +2 -0
- package/dist/components/code/index.d.ts +2 -0
- package/dist/components/code/index.js +8 -0
- package/dist/components/collapsible/index.d.cts +1 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +8 -0
- package/dist/components/color-picker/index.d.cts +1 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/color-picker/index.js +8 -0
- package/dist/components/color-swatch/index.d.cts +6 -0
- package/dist/components/color-swatch/index.d.ts +6 -0
- package/dist/components/color-swatch/index.js +12 -0
- package/dist/components/command/index.d.cts +1 -0
- package/dist/components/command/index.d.ts +1 -0
- package/dist/components/command/index.js +9 -0
- package/dist/components/container/index.d.cts +2 -0
- package/dist/components/container/index.d.ts +2 -0
- package/dist/components/container/index.js +8 -0
- package/dist/components/data-list/index.d.cts +2 -0
- package/dist/components/data-list/index.d.ts +2 -0
- package/dist/components/data-list/index.js +10 -0
- package/dist/components/dialog/index.cjs +246 -0
- package/dist/components/dialog/index.d.cts +1 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dialog/index.js +13 -0
- package/dist/components/drawer/index.cjs +238 -0
- package/dist/components/drawer/index.d.cts +1 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +13 -0
- package/dist/components/editable/index.d.cts +1 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +8 -0
- package/dist/components/empty-state/index.d.cts +2 -0
- package/dist/components/empty-state/index.d.ts +2 -0
- package/dist/components/empty-state/index.js +8 -0
- package/dist/components/env/index.d.cts +5 -0
- package/dist/components/env/index.d.ts +5 -0
- package/dist/components/env/index.js +10 -0
- package/dist/components/field/index.d.cts +3 -0
- package/dist/components/field/index.d.ts +3 -0
- package/dist/components/field/index.js +12 -0
- package/dist/components/fieldset/index.d.cts +2 -0
- package/dist/components/fieldset/index.d.ts +2 -0
- package/dist/components/fieldset/index.js +10 -0
- package/dist/components/file-upload/index.cjs +302 -0
- package/dist/components/file-upload/index.d.cts +2 -0
- package/dist/components/file-upload/index.d.ts +2 -0
- package/dist/components/file-upload/index.js +14 -0
- package/dist/components/flex/index.d.cts +2 -0
- package/dist/components/flex/index.d.ts +2 -0
- package/dist/components/flex/index.js +10 -0
- package/dist/components/float/index.d.cts +2 -0
- package/dist/components/float/index.d.ts +2 -0
- package/dist/components/float/index.js +8 -0
- package/dist/components/focus-trap/index.d.cts +2 -0
- package/dist/components/focus-trap/index.d.ts +2 -0
- package/dist/components/focus-trap/index.js +8 -0
- package/dist/components/for/index.d.cts +2 -0
- package/dist/components/for/index.d.ts +2 -0
- package/dist/components/for/index.js +10 -0
- package/dist/components/format/index.d.cts +4 -0
- package/dist/components/format/index.d.ts +4 -0
- package/dist/components/format/index.js +10 -0
- package/dist/components/grid/index.d.cts +2 -0
- package/dist/components/grid/index.d.ts +2 -0
- package/dist/components/grid/index.js +8 -0
- package/dist/components/grid-list/index.d.cts +1 -0
- package/dist/components/grid-list/index.d.ts +1 -0
- package/dist/components/grid-list/index.js +8 -0
- package/dist/components/group/index.d.cts +2 -0
- package/dist/components/group/index.d.ts +2 -0
- package/dist/components/group/index.js +8 -0
- package/dist/components/heading/index.d.cts +2 -0
- package/dist/components/heading/index.d.ts +2 -0
- package/dist/components/heading/index.js +8 -0
- package/dist/components/highlight/index.d.cts +2 -0
- package/dist/components/highlight/index.d.ts +2 -0
- package/dist/components/highlight/index.js +8 -0
- package/dist/components/hover-card/index.d.cts +1 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/hover-card/index.js +8 -0
- package/dist/components/icon/index.d.cts +2 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/icon/index.js +8 -0
- package/dist/components/icon-badge/index.d.cts +2 -0
- package/dist/components/icon-badge/index.d.ts +2 -0
- package/dist/components/icon-badge/index.js +8 -0
- package/dist/components/icon-button/index.d.cts +2 -0
- package/dist/components/icon-button/index.d.ts +2 -0
- package/dist/components/icon-button/index.js +9 -0
- package/dist/components/icons/index.d.cts +18 -0
- package/dist/components/icons/index.d.ts +18 -0
- package/dist/components/icons/index.js +43 -0
- package/dist/components/image/index.d.cts +2 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/image/index.js +8 -0
- package/dist/components/info-tip/index.cjs +312 -0
- package/dist/components/info-tip/index.d.cts +2 -0
- package/dist/components/info-tip/index.d.ts +2 -0
- package/dist/components/info-tip/index.js +16 -0
- package/dist/components/input/index.d.cts +9 -0
- package/dist/components/input/index.d.ts +9 -0
- package/dist/components/input/index.js +16 -0
- package/dist/components/kbd/index.d.cts +2 -0
- package/dist/components/kbd/index.d.ts +2 -0
- package/dist/components/kbd/index.js +8 -0
- package/dist/components/link/index.cjs +71 -0
- package/dist/components/link/index.d.cts +2 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.js +9 -0
- package/dist/components/list/index.d.cts +1 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +8 -0
- package/dist/components/loader/index.d.cts +1 -0
- package/dist/components/loader/index.d.ts +1 -0
- package/dist/components/loader/index.js +8 -0
- package/dist/components/loading-overlay/index.d.cts +2 -0
- package/dist/components/loading-overlay/index.d.ts +2 -0
- package/dist/components/loading-overlay/index.js +11 -0
- package/dist/components/locale/index.d.cts +3 -0
- package/dist/components/locale/index.d.ts +3 -0
- package/dist/components/locale/index.js +12 -0
- package/dist/components/mark/index.d.cts +1 -0
- package/dist/components/mark/index.d.ts +1 -0
- package/dist/components/mark/index.js +8 -0
- package/dist/components/menu/index.d.cts +1 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.js +11 -0
- package/dist/components/native-select/index.d.cts +2 -0
- package/dist/components/native-select/index.d.ts +2 -0
- package/dist/components/native-select/index.js +10 -0
- package/dist/components/navbar/index.cjs +108 -0
- package/dist/components/navbar/index.d.cts +1 -0
- package/dist/components/navbar/index.d.ts +1 -0
- package/dist/components/navbar/index.js +9 -0
- package/dist/components/number-input/index.d.cts +2 -0
- package/dist/components/number-input/index.d.ts +2 -0
- package/dist/components/number-input/index.js +9 -0
- package/dist/components/page/index.d.cts +2 -0
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/index.js +12 -0
- package/dist/components/pagination/index.cjs +257 -0
- package/dist/components/pagination/index.d.cts +1 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +11 -0
- package/dist/components/password-input/index.d.cts +2 -0
- package/dist/components/password-input/index.d.ts +2 -0
- package/dist/components/password-input/index.js +11 -0
- package/dist/components/persona/index.cjs +247 -0
- package/dist/components/persona/index.d.cts +7 -0
- package/dist/components/persona/index.d.ts +7 -0
- package/dist/components/persona/index.js +13 -0
- package/dist/components/pin-input/index.d.cts +2 -0
- package/dist/components/pin-input/index.d.ts +2 -0
- package/dist/components/pin-input/index.js +8 -0
- package/dist/components/popover/index.cjs +255 -0
- package/dist/components/popover/index.d.cts +1 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +13 -0
- package/dist/components/portal/index.d.cts +2 -0
- package/dist/components/portal/index.d.ts +2 -0
- package/dist/components/portal/index.js +8 -0
- package/dist/components/presence/index.d.cts +2 -0
- package/dist/components/presence/index.d.ts +2 -0
- package/dist/components/presence/index.js +8 -0
- package/dist/components/progress/index.d.cts +1 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/index.js +8 -0
- package/dist/components/progress-circle/index.d.cts +1 -0
- package/dist/components/progress-circle/index.d.ts +1 -0
- package/dist/components/progress-circle/index.js +8 -0
- package/dist/components/qr-code/index.d.cts +1 -0
- package/dist/components/qr-code/index.d.ts +1 -0
- package/dist/components/qr-code/index.js +8 -0
- package/dist/components/radio/index.d.cts +2 -0
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/index.js +8 -0
- package/dist/components/radio-card/index.d.cts +1 -0
- package/dist/components/radio-card/index.d.ts +1 -0
- package/dist/components/radio-card/index.js +8 -0
- package/dist/components/radio-group/index.d.cts +1 -0
- package/dist/components/radio-group/index.d.ts +1 -0
- package/dist/components/radio-group/index.js +8 -0
- package/dist/components/radiomark/index.d.cts +2 -0
- package/dist/components/radiomark/index.d.ts +2 -0
- package/dist/components/radiomark/index.js +10 -0
- package/dist/components/rating-group/index.d.cts +1 -0
- package/dist/components/rating-group/index.d.ts +1 -0
- package/dist/components/rating-group/index.js +8 -0
- package/dist/components/search-input/index.cjs +273 -0
- package/dist/components/search-input/index.d.cts +2 -0
- package/dist/components/search-input/index.d.ts +2 -0
- package/dist/components/search-input/index.js +10 -0
- package/dist/components/segmented-control/index.d.cts +2 -0
- package/dist/components/segmented-control/index.d.ts +2 -0
- package/dist/components/segmented-control/index.js +8 -0
- package/dist/components/select/index.cjs +285 -0
- package/dist/components/select/index.d.cts +1 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +13 -0
- package/dist/components/separator/index.d.cts +2 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/index.js +8 -0
- package/dist/components/show/index.d.cts +2 -0
- package/dist/components/show/index.d.ts +2 -0
- package/dist/components/show/index.js +8 -0
- package/dist/components/sidebar/index.d.cts +4 -0
- package/dist/components/sidebar/index.d.ts +4 -0
- package/dist/components/sidebar/index.js +14 -0
- package/dist/components/skeleton/index.d.cts +6 -0
- package/dist/components/skeleton/index.d.ts +6 -0
- package/dist/components/skeleton/index.js +12 -0
- package/dist/components/skip-nav/index.d.cts +4 -0
- package/dist/components/skip-nav/index.d.ts +4 -0
- package/dist/components/skip-nav/index.js +10 -0
- package/dist/components/skip-nav-link/index.d.cts +4 -0
- package/dist/components/skip-nav-link/index.d.ts +4 -0
- package/dist/components/skip-nav-link/index.js +12 -0
- package/dist/components/slider/index.cjs +61 -0
- package/dist/components/slider/index.d.cts +2 -0
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/index.js +8 -0
- package/dist/components/spacer/index.d.cts +2 -0
- package/dist/components/spacer/index.d.ts +2 -0
- package/dist/components/spacer/index.js +8 -0
- package/dist/components/spinner/index.d.cts +2 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/index.js +8 -0
- package/dist/components/stack/index.d.cts +2 -0
- package/dist/components/stack/index.d.ts +2 -0
- package/dist/components/stack/index.js +8 -0
- package/dist/components/stat/index.d.cts +1 -0
- package/dist/components/stat/index.d.ts +1 -0
- package/dist/components/stat/index.js +8 -0
- package/dist/components/status/index.d.cts +2 -0
- package/dist/components/status/index.d.ts +2 -0
- package/dist/components/status/index.js +8 -0
- package/dist/components/steps/index.d.cts +1 -0
- package/dist/components/steps/index.d.ts +1 -0
- package/dist/components/steps/index.js +10 -0
- package/dist/components/switch/index.cjs +48 -0
- package/dist/components/switch/index.d.cts +2 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.js +8 -0
- package/dist/components/table/index.d.cts +1 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +8 -0
- package/dist/components/tabs/index.d.cts +4 -0
- package/dist/components/tabs/index.d.ts +4 -0
- package/dist/components/tabs/index.js +14 -0
- package/dist/components/tag/index.d.cts +2 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/index.js +8 -0
- package/dist/components/textarea/index.d.cts +2 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/index.js +8 -0
- package/dist/components/timeline/index.d.cts +1 -0
- package/dist/components/timeline/index.d.ts +1 -0
- package/dist/components/timeline/index.js +8 -0
- package/dist/components/toaster/index.cjs +262 -0
- package/dist/components/toaster/index.d.cts +3 -0
- package/dist/components/toaster/index.d.ts +3 -0
- package/dist/components/toaster/index.js +16 -0
- package/dist/components/toggle/index.d.cts +1 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/index.js +8 -0
- package/dist/components/toggle-tip/index.cjs +302 -0
- package/dist/components/toggle-tip/index.d.cts +2 -0
- package/dist/components/toggle-tip/index.d.ts +2 -0
- package/dist/components/toggle-tip/index.js +14 -0
- package/dist/components/tooltip/index.d.cts +2 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.js +8 -0
- package/dist/components/typography/index.d.cts +8 -0
- package/dist/components/typography/index.d.ts +8 -0
- package/dist/components/typography/index.js +14 -0
- package/dist/components/visually-hidden/index.d.cts +1 -0
- package/dist/components/visually-hidden/index.d.ts +1 -0
- package/dist/components/visually-hidden/index.js +8 -0
- package/dist/components/wrap/index.cjs +31 -0
- package/dist/components/wrap/index.d.cts +2 -0
- package/dist/components/wrap/index.d.ts +2 -0
- package/dist/components/wrap/index.js +8 -0
- package/dist/index.cjs +208 -220
- package/dist/index.d.cts +209 -1500
- package/dist/index.d.ts +209 -1500
- package/dist/index.js +341 -2762
- package/dist/preset.cjs +38 -45
- package/dist/preset.d.cts +3 -6
- package/dist/preset.d.ts +3 -6
- package/dist/preset.js +3 -2
- package/package.json +19 -11
- package/dist/accordion/index.d.cts +0 -29
- package/dist/accordion/index.d.ts +0 -29
- package/dist/accordion/index.js +0 -43
- package/dist/action-bar/index.cjs +0 -224
- package/dist/action-bar/index.d.cts +0 -33
- package/dist/action-bar/index.d.ts +0 -33
- package/dist/action-bar/index.js +0 -39
- package/dist/alert/index.cjs +0 -234
- package/dist/alert/index.d.cts +0 -14
- package/dist/alert/index.d.ts +0 -14
- package/dist/alert/index.js +0 -47
- package/dist/app-shell/index.d.cts +0 -30
- package/dist/app-shell/index.d.ts +0 -30
- package/dist/app-shell/index.js +0 -45
- package/dist/aspect-ratio/index.d.cts +0 -1
- package/dist/aspect-ratio/index.d.ts +0 -1
- package/dist/aspect-ratio/index.js +0 -10
- package/dist/avatar/index.d.cts +0 -20
- package/dist/avatar/index.d.ts +0 -20
- package/dist/avatar/index.js +0 -43
- package/dist/back-button/index.cjs +0 -227
- package/dist/back-button/index.d.cts +0 -11
- package/dist/back-button/index.d.ts +0 -11
- package/dist/back-button/index.js +0 -191
- package/dist/badge/index.d.cts +0 -1
- package/dist/badge/index.d.ts +0 -1
- package/dist/badge/index.js +0 -11
- package/dist/bleed/index.d.cts +0 -2
- package/dist/bleed/index.d.ts +0 -2
- package/dist/bleed/index.js +0 -9
- package/dist/blockquote/index.d.cts +0 -12
- package/dist/blockquote/index.d.ts +0 -12
- package/dist/blockquote/index.js +0 -23
- package/dist/box/index.d.cts +0 -3
- package/dist/box/index.d.ts +0 -3
- package/dist/box/index.js +0 -10
- package/dist/breadcrumb/index.d.cts +0 -23
- package/dist/breadcrumb/index.d.ts +0 -23
- package/dist/breadcrumb/index.js +0 -35
- package/dist/button/index.d.cts +0 -1
- package/dist/button/index.d.ts +0 -1
- package/dist/button/index.js +0 -8
- package/dist/button-group/index.d.cts +0 -1
- package/dist/button-group/index.d.ts +0 -1
- package/dist/button-group/index.js +0 -8
- package/dist/card/index.d.cts +0 -1
- package/dist/card/index.d.ts +0 -1
- package/dist/card/index.js +0 -9
- package/dist/center/index.d.cts +0 -3
- package/dist/center/index.d.ts +0 -3
- package/dist/center/index.js +0 -9
- package/dist/checkbox/index.d.cts +0 -11
- package/dist/checkbox/index.d.ts +0 -11
- package/dist/checkbox/index.js +0 -19
- package/dist/checkbox-card/index.d.cts +0 -15
- package/dist/checkbox-card/index.d.ts +0 -15
- package/dist/checkbox-card/index.js +0 -40
- package/dist/checkmark/index.d.cts +0 -1
- package/dist/checkmark/index.d.ts +0 -1
- package/dist/checkmark/index.js +0 -7
- package/dist/chunk-4F7N63LO.js +0 -43
- package/dist/chunk-A4CVFWTP.js +0 -27
- package/dist/chunk-AX3QDODM.js +0 -136
- package/dist/chunk-BFWNUE2X.js +0 -15
- package/dist/chunk-EZNMWDPR.js +0 -28
- package/dist/chunk-GMRF4UIJ.js +0 -159
- package/dist/chunk-HBX3KIPQ.js +0 -135
- package/dist/chunk-KNFGYOLD.js +0 -332
- package/dist/chunk-M5ROLN3M.js +0 -8903
- package/dist/chunk-V5WPZT25.js +0 -135
- package/dist/client-only/index.d.cts +0 -1
- package/dist/client-only/index.d.ts +0 -1
- package/dist/client-only/index.js +0 -9
- package/dist/clipboard/index.d.cts +0 -28
- package/dist/clipboard/index.d.ts +0 -28
- package/dist/clipboard/index.js +0 -63
- package/dist/close-button/index.cjs +0 -194
- package/dist/close-button/index.d.cts +0 -9
- package/dist/close-button/index.d.ts +0 -9
- package/dist/close-button/index.js +0 -19
- package/dist/code/index.d.cts +0 -3
- package/dist/code/index.d.ts +0 -3
- package/dist/code/index.js +0 -8
- package/dist/collapsible/index.d.cts +0 -1
- package/dist/collapsible/index.d.ts +0 -1
- package/dist/collapsible/index.js +0 -8
- package/dist/color-picker/index.d.cts +0 -1
- package/dist/color-picker/index.d.ts +0 -1
- package/dist/color-picker/index.js +0 -8
- package/dist/color-swatch/index.d.cts +0 -3
- package/dist/color-swatch/index.d.ts +0 -3
- package/dist/color-swatch/index.js +0 -14
- package/dist/command/index.d.cts +0 -36
- package/dist/command/index.d.ts +0 -36
- package/dist/command/index.js +0 -38
- package/dist/container/index.d.cts +0 -1
- package/dist/container/index.d.ts +0 -1
- package/dist/container/index.js +0 -8
- package/dist/data-list/index.d.cts +0 -1
- package/dist/data-list/index.d.ts +0 -1
- package/dist/data-list/index.js +0 -9
- package/dist/dialog/index.cjs +0 -249
- package/dist/dialog/index.d.cts +0 -46
- package/dist/dialog/index.d.ts +0 -46
- package/dist/dialog/index.js +0 -226
- package/dist/drawer/index.cjs +0 -239
- package/dist/drawer/index.d.cts +0 -44
- package/dist/drawer/index.d.ts +0 -44
- package/dist/drawer/index.js +0 -216
- package/dist/editable/index.d.cts +0 -3
- package/dist/editable/index.d.ts +0 -3
- package/dist/editable/index.js +0 -8
- package/dist/empty-state/index.d.cts +0 -11
- package/dist/empty-state/index.d.ts +0 -11
- package/dist/empty-state/index.js +0 -29
- package/dist/env/index.d.cts +0 -1
- package/dist/env/index.d.ts +0 -1
- package/dist/env/index.js +0 -12
- package/dist/field/index.d.cts +0 -1
- package/dist/field/index.d.ts +0 -1
- package/dist/field/index.js +0 -10
- package/dist/fieldset/index.d.cts +0 -4
- package/dist/fieldset/index.d.ts +0 -4
- package/dist/fieldset/index.js +0 -9
- package/dist/file-upload/index.cjs +0 -303
- package/dist/file-upload/index.d.cts +0 -46
- package/dist/file-upload/index.d.ts +0 -46
- package/dist/file-upload/index.js +0 -272
- package/dist/flex/index.d.cts +0 -1
- package/dist/flex/index.d.ts +0 -1
- package/dist/flex/index.js +0 -10
- package/dist/float/index.d.cts +0 -1
- package/dist/float/index.d.ts +0 -1
- package/dist/float/index.js +0 -10
- package/dist/focus-trap/index.d.cts +0 -1
- package/dist/focus-trap/index.d.ts +0 -1
- package/dist/focus-trap/index.js +0 -8
- package/dist/for/index.d.cts +0 -4
- package/dist/for/index.d.ts +0 -4
- package/dist/for/index.js +0 -10
- package/dist/format/index.d.cts +0 -1
- package/dist/format/index.d.ts +0 -1
- package/dist/format/index.js +0 -12
- package/dist/grid/index.d.cts +0 -1
- package/dist/grid/index.d.ts +0 -1
- package/dist/grid/index.js +0 -10
- package/dist/grid-list/index.d.cts +0 -88
- package/dist/grid-list/index.d.ts +0 -88
- package/dist/grid-list/index.js +0 -45
- package/dist/group/index.d.cts +0 -1
- package/dist/group/index.d.ts +0 -1
- package/dist/group/index.js +0 -10
- package/dist/heading/index.d.cts +0 -3
- package/dist/heading/index.d.ts +0 -3
- package/dist/heading/index.js +0 -8
- package/dist/highlight/index.d.cts +0 -1
- package/dist/highlight/index.d.ts +0 -1
- package/dist/highlight/index.js +0 -10
- package/dist/hover-card/index.d.cts +0 -21
- package/dist/hover-card/index.d.ts +0 -21
- package/dist/hover-card/index.js +0 -33
- package/dist/icon/index.d.cts +0 -1
- package/dist/icon/index.d.ts +0 -1
- package/dist/icon/index.js +0 -8
- package/dist/icon-badge/index.d.cts +0 -16
- package/dist/icon-badge/index.d.ts +0 -16
- package/dist/icon-badge/index.js +0 -38
- package/dist/icon-button/index.d.cts +0 -8
- package/dist/icon-button/index.d.ts +0 -8
- package/dist/icon-button/index.js +0 -8
- package/dist/icon-button-CR4hDxYi.d.cts +0 -6
- package/dist/icon-button-CR4hDxYi.d.ts +0 -6
- package/dist/icons/index.d.cts +0 -23
- package/dist/icons/index.d.ts +0 -23
- package/dist/icons/index.js +0 -42
- package/dist/image/index.d.cts +0 -2
- package/dist/image/index.d.ts +0 -2
- package/dist/image/index.js +0 -8
- package/dist/info-tip/index.cjs +0 -306
- package/dist/info-tip/index.d.cts +0 -38
- package/dist/info-tip/index.d.ts +0 -38
- package/dist/info-tip/index.js +0 -128
- package/dist/input/index.d.cts +0 -1
- package/dist/input/index.d.ts +0 -1
- package/dist/input/index.js +0 -18
- package/dist/kbd/index.d.cts +0 -3
- package/dist/kbd/index.d.ts +0 -3
- package/dist/kbd/index.js +0 -8
- package/dist/link/index.cjs +0 -71
- package/dist/link/index.d.cts +0 -13
- package/dist/link/index.d.ts +0 -13
- package/dist/link/index.js +0 -36
- package/dist/list/index.d.cts +0 -1
- package/dist/list/index.d.ts +0 -1
- package/dist/list/index.js +0 -8
- package/dist/loader/index.d.cts +0 -1
- package/dist/loader/index.d.ts +0 -1
- package/dist/loader/index.js +0 -8
- package/dist/loading-overlay/index.d.cts +0 -31
- package/dist/loading-overlay/index.d.ts +0 -31
- package/dist/loading-overlay/index.js +0 -66
- package/dist/locale/index.d.cts +0 -1
- package/dist/locale/index.d.ts +0 -1
- package/dist/locale/index.js +0 -12
- package/dist/mark/index.d.cts +0 -2
- package/dist/mark/index.d.ts +0 -2
- package/dist/mark/index.js +0 -8
- package/dist/menu/index.d.cts +0 -40
- package/dist/menu/index.d.ts +0 -40
- package/dist/menu/index.js +0 -101
- package/dist/native-select/index.d.cts +0 -10
- package/dist/native-select/index.d.ts +0 -10
- package/dist/native-select/index.js +0 -22
- package/dist/navbar/index.cjs +0 -111
- package/dist/navbar/index.d.cts +0 -21
- package/dist/navbar/index.d.ts +0 -21
- package/dist/navbar/index.js +0 -78
- package/dist/number-input/index.d.cts +0 -13
- package/dist/number-input/index.d.ts +0 -13
- package/dist/number-input/index.js +0 -40
- package/dist/page/index.d.cts +0 -50
- package/dist/page/index.d.ts +0 -50
- package/dist/page/index.js +0 -167
- package/dist/pagination/index.cjs +0 -260
- package/dist/pagination/index.d.cts +0 -43
- package/dist/pagination/index.d.ts +0 -43
- package/dist/pagination/index.js +0 -223
- package/dist/password-input/index.d.cts +0 -18
- package/dist/password-input/index.d.ts +0 -18
- package/dist/password-input/index.js +0 -230
- package/dist/persona/index.cjs +0 -247
- package/dist/persona/index.d.cts +0 -230
- package/dist/persona/index.d.ts +0 -230
- package/dist/persona/index.js +0 -212
- package/dist/pin-input/index.d.cts +0 -12
- package/dist/pin-input/index.d.ts +0 -12
- package/dist/pin-input/index.js +0 -27
- package/dist/popover/index.cjs +0 -259
- package/dist/popover/index.d.cts +0 -37
- package/dist/popover/index.d.ts +0 -37
- package/dist/popover/index.js +0 -226
- package/dist/portal/index.d.cts +0 -3
- package/dist/portal/index.d.ts +0 -3
- package/dist/portal/index.js +0 -10
- package/dist/presence/index.d.cts +0 -1
- package/dist/presence/index.d.ts +0 -1
- package/dist/presence/index.js +0 -8
- package/dist/progress/index.d.cts +0 -1
- package/dist/progress/index.d.ts +0 -1
- package/dist/progress/index.js +0 -8
- package/dist/progress-circle/index.d.cts +0 -1
- package/dist/progress-circle/index.d.ts +0 -1
- package/dist/progress-circle/index.js +0 -8
- package/dist/qr-code/index.d.cts +0 -3
- package/dist/qr-code/index.d.ts +0 -3
- package/dist/qr-code/index.js +0 -8
- package/dist/radio/index.d.cts +0 -10
- package/dist/radio/index.d.ts +0 -10
- package/dist/radio/index.js +0 -21
- package/dist/radio-card/index.d.cts +0 -31
- package/dist/radio-card/index.d.ts +0 -31
- package/dist/radio-card/index.js +0 -52
- package/dist/radio-group/index.d.cts +0 -1
- package/dist/radio-group/index.d.ts +0 -1
- package/dist/radio-group/index.js +0 -8
- package/dist/radiomark/index.d.cts +0 -2
- package/dist/radiomark/index.d.ts +0 -2
- package/dist/radiomark/index.js +0 -10
- package/dist/rating-group/index.d.cts +0 -1
- package/dist/rating-group/index.d.ts +0 -1
- package/dist/rating-group/index.js +0 -8
- package/dist/search-input/index.cjs +0 -274
- package/dist/search-input/index.d.cts +0 -15
- package/dist/search-input/index.d.ts +0 -15
- package/dist/search-input/index.js +0 -119
- package/dist/segmented-control/index.d.cts +0 -14
- package/dist/segmented-control/index.d.ts +0 -14
- package/dist/segmented-control/index.js +0 -36
- package/dist/select/index.cjs +0 -286
- package/dist/select/index.d.cts +0 -33
- package/dist/select/index.d.ts +0 -33
- package/dist/select/index.js +0 -137
- package/dist/separator/index.d.cts +0 -3
- package/dist/separator/index.d.ts +0 -3
- package/dist/separator/index.js +0 -8
- package/dist/show/index.d.cts +0 -1
- package/dist/show/index.d.ts +0 -1
- package/dist/show/index.js +0 -10
- package/dist/sidebar/index.d.cts +0 -90
- package/dist/sidebar/index.d.ts +0 -90
- package/dist/sidebar/index.js +0 -142
- package/dist/skeleton/index.d.cts +0 -17
- package/dist/skeleton/index.d.ts +0 -17
- package/dist/skeleton/index.js +0 -34
- package/dist/skip-nav/index.d.cts +0 -1
- package/dist/skip-nav/index.d.ts +0 -1
- package/dist/skip-nav/index.js +0 -12
- package/dist/skip-nav-link/index.d.cts +0 -3
- package/dist/skip-nav-link/index.d.ts +0 -3
- package/dist/skip-nav-link/index.js +0 -11
- package/dist/slider/index.cjs +0 -62
- package/dist/slider/index.d.cts +0 -13
- package/dist/slider/index.d.ts +0 -13
- package/dist/slider/index.js +0 -36
- package/dist/spacer/index.d.cts +0 -1
- package/dist/spacer/index.d.ts +0 -1
- package/dist/spacer/index.js +0 -9
- package/dist/spinner/index.d.cts +0 -10
- package/dist/spinner/index.d.ts +0 -10
- package/dist/spinner/index.js +0 -18
- package/dist/stack/index.d.cts +0 -1
- package/dist/stack/index.d.ts +0 -1
- package/dist/stack/index.js +0 -9
- package/dist/stat/index.d.cts +0 -29
- package/dist/stat/index.d.ts +0 -29
- package/dist/stat/index.js +0 -50
- package/dist/status/index.d.cts +0 -18
- package/dist/status/index.d.ts +0 -18
- package/dist/status/index.js +0 -20
- package/dist/steps/index.d.cts +0 -31
- package/dist/steps/index.d.ts +0 -31
- package/dist/steps/index.js +0 -198
- package/dist/switch/index.cjs +0 -48
- package/dist/switch/index.d.cts +0 -18
- package/dist/switch/index.d.ts +0 -18
- package/dist/switch/index.js +0 -23
- package/dist/table/index.d.cts +0 -1
- package/dist/table/index.d.ts +0 -1
- package/dist/table/index.js +0 -8
- package/dist/tabs/index.d.cts +0 -3
- package/dist/tabs/index.d.ts +0 -3
- package/dist/tabs/index.js +0 -15
- package/dist/tag/index.d.cts +0 -12
- package/dist/tag/index.d.ts +0 -12
- package/dist/tag/index.js +0 -27
- package/dist/textarea/index.d.cts +0 -1
- package/dist/textarea/index.d.ts +0 -1
- package/dist/textarea/index.js +0 -7
- package/dist/theme/tokens/colors.cjs +0 -349
- package/dist/theme/tokens/colors.d.cts +0 -856
- package/dist/theme/tokens/colors.d.ts +0 -856
- package/dist/theme/tokens/colors.js +0 -7
- package/dist/timeline/index.d.cts +0 -1
- package/dist/timeline/index.d.ts +0 -1
- package/dist/timeline/index.js +0 -7
- package/dist/toaster/index.cjs +0 -264
- package/dist/toaster/index.d.cts +0 -235
- package/dist/toaster/index.d.ts +0 -235
- package/dist/toaster/index.js +0 -241
- package/dist/toggle/index.d.cts +0 -3
- package/dist/toggle/index.d.ts +0 -3
- package/dist/toggle/index.js +0 -8
- package/dist/toggle-tip/index.cjs +0 -296
- package/dist/toggle-tip/index.d.cts +0 -32
- package/dist/toggle-tip/index.d.ts +0 -32
- package/dist/toggle-tip/index.js +0 -263
- package/dist/tooltip/index.d.cts +0 -14
- package/dist/tooltip/index.d.ts +0 -14
- package/dist/tooltip/index.js +0 -33
- package/dist/typography/index.d.cts +0 -1
- package/dist/typography/index.d.ts +0 -1
- package/dist/typography/index.js +0 -16
- package/dist/visually-hidden/index.d.cts +0 -1
- package/dist/visually-hidden/index.d.ts +0 -1
- package/dist/visually-hidden/index.js +0 -8
- /package/dist/{chunk-2Q6YNPRO.js → chunk-OME35FUG.js} +0 -0
- /package/dist/{accordion → components/accordion}/index.cjs +0 -0
- /package/dist/{app-shell → components/app-shell}/index.cjs +0 -0
- /package/dist/{aspect-ratio → components/aspect-ratio}/index.cjs +0 -0
- /package/dist/{avatar → components/avatar}/index.cjs +0 -0
- /package/dist/{badge → components/badge}/index.cjs +0 -0
- /package/dist/{bleed → components/bleed}/index.cjs +0 -0
- /package/dist/{blockquote → components/blockquote}/index.cjs +0 -0
- /package/dist/{box → components/box}/index.cjs +0 -0
- /package/dist/{breadcrumb → components/breadcrumb}/index.cjs +0 -0
- /package/dist/{button → components/button}/index.cjs +0 -0
- /package/dist/{button-group → components/button-group}/index.cjs +0 -0
- /package/dist/{card → components/card}/index.cjs +0 -0
- /package/dist/{center → components/center}/index.cjs +0 -0
- /package/dist/{checkbox → components/checkbox}/index.cjs +0 -0
- /package/dist/{checkbox-card → components/checkbox-card}/index.cjs +0 -0
- /package/dist/{checkmark → components/checkmark}/index.cjs +0 -0
- /package/dist/{client-only → components/client-only}/index.cjs +0 -0
- /package/dist/{clipboard → components/clipboard}/index.cjs +0 -0
- /package/dist/{code → components/code}/index.cjs +0 -0
- /package/dist/{collapsible → components/collapsible}/index.cjs +0 -0
- /package/dist/{color-picker → components/color-picker}/index.cjs +0 -0
- /package/dist/{color-swatch → components/color-swatch}/index.cjs +0 -0
- /package/dist/{command → components/command}/index.cjs +0 -0
- /package/dist/{container → components/container}/index.cjs +0 -0
- /package/dist/{data-list → components/data-list}/index.cjs +0 -0
- /package/dist/{editable → components/editable}/index.cjs +0 -0
- /package/dist/{empty-state → components/empty-state}/index.cjs +0 -0
- /package/dist/{env → components/env}/index.cjs +0 -0
- /package/dist/{field → components/field}/index.cjs +0 -0
- /package/dist/{fieldset → components/fieldset}/index.cjs +0 -0
- /package/dist/{flex → components/flex}/index.cjs +0 -0
- /package/dist/{float → components/float}/index.cjs +0 -0
- /package/dist/{focus-trap → components/focus-trap}/index.cjs +0 -0
- /package/dist/{for → components/for}/index.cjs +0 -0
- /package/dist/{format → components/format}/index.cjs +0 -0
- /package/dist/{grid → components/grid}/index.cjs +0 -0
- /package/dist/{grid-list → components/grid-list}/index.cjs +0 -0
- /package/dist/{group → components/group}/index.cjs +0 -0
- /package/dist/{heading → components/heading}/index.cjs +0 -0
- /package/dist/{highlight → components/highlight}/index.cjs +0 -0
- /package/dist/{hover-card → components/hover-card}/index.cjs +0 -0
- /package/dist/{icon → components/icon}/index.cjs +0 -0
- /package/dist/{icon-badge → components/icon-badge}/index.cjs +0 -0
- /package/dist/{icon-button → components/icon-button}/index.cjs +0 -0
- /package/dist/{icons → components/icons}/index.cjs +0 -0
- /package/dist/{image → components/image}/index.cjs +0 -0
- /package/dist/{input → components/input}/index.cjs +0 -0
- /package/dist/{kbd → components/kbd}/index.cjs +0 -0
- /package/dist/{list → components/list}/index.cjs +0 -0
- /package/dist/{loader → components/loader}/index.cjs +0 -0
- /package/dist/{loading-overlay → components/loading-overlay}/index.cjs +0 -0
- /package/dist/{locale → components/locale}/index.cjs +0 -0
- /package/dist/{mark → components/mark}/index.cjs +0 -0
- /package/dist/{menu → components/menu}/index.cjs +0 -0
- /package/dist/{native-select → components/native-select}/index.cjs +0 -0
- /package/dist/{number-input → components/number-input}/index.cjs +0 -0
- /package/dist/{page → components/page}/index.cjs +0 -0
- /package/dist/{password-input → components/password-input}/index.cjs +0 -0
- /package/dist/{pin-input → components/pin-input}/index.cjs +0 -0
- /package/dist/{portal → components/portal}/index.cjs +0 -0
- /package/dist/{presence → components/presence}/index.cjs +0 -0
- /package/dist/{progress → components/progress}/index.cjs +0 -0
- /package/dist/{progress-circle → components/progress-circle}/index.cjs +0 -0
- /package/dist/{qr-code → components/qr-code}/index.cjs +0 -0
- /package/dist/{radio → components/radio}/index.cjs +0 -0
- /package/dist/{radio-card → components/radio-card}/index.cjs +0 -0
- /package/dist/{radio-group → components/radio-group}/index.cjs +0 -0
- /package/dist/{radiomark → components/radiomark}/index.cjs +0 -0
- /package/dist/{rating-group → components/rating-group}/index.cjs +0 -0
- /package/dist/{segmented-control → components/segmented-control}/index.cjs +0 -0
- /package/dist/{separator → components/separator}/index.cjs +0 -0
- /package/dist/{show → components/show}/index.cjs +0 -0
- /package/dist/{sidebar → components/sidebar}/index.cjs +0 -0
- /package/dist/{skeleton → components/skeleton}/index.cjs +0 -0
- /package/dist/{skip-nav → components/skip-nav}/index.cjs +0 -0
- /package/dist/{skip-nav-link → components/skip-nav-link}/index.cjs +0 -0
- /package/dist/{spacer → components/spacer}/index.cjs +0 -0
- /package/dist/{spinner → components/spinner}/index.cjs +0 -0
- /package/dist/{stack → components/stack}/index.cjs +0 -0
- /package/dist/{stat → components/stat}/index.cjs +0 -0
- /package/dist/{status → components/status}/index.cjs +0 -0
- /package/dist/{steps → components/steps}/index.cjs +0 -0
- /package/dist/{table → components/table}/index.cjs +0 -0
- /package/dist/{tabs → components/tabs}/index.cjs +0 -0
- /package/dist/{tag → components/tag}/index.cjs +0 -0
- /package/dist/{textarea → components/textarea}/index.cjs +0 -0
- /package/dist/{timeline → components/timeline}/index.cjs +0 -0
- /package/dist/{toggle → components/toggle}/index.cjs +0 -0
- /package/dist/{tooltip → components/tooltip}/index.cjs +0 -0
- /package/dist/{typography → components/typography}/index.cjs +0 -0
- /package/dist/{visually-hidden → components/visually-hidden}/index.cjs +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
'use client'
|
2
|
+
|
3
|
+
// src/components/switch/switch.tsx
|
4
|
+
import { forwardRef } from "react";
|
5
|
+
import { Switch as ChakraSwitch } from "@chakra-ui/react/switch";
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
7
|
+
var Switch = forwardRef(
|
8
|
+
function Switch2(props, ref) {
|
9
|
+
const { inputProps, children, rootRef, trackLabel, thumbLabel, ...rest } = props;
|
10
|
+
return /* @__PURE__ */ jsxs(ChakraSwitch.Root, { ref: rootRef, ...rest, children: [
|
11
|
+
/* @__PURE__ */ jsx(ChakraSwitch.HiddenInput, { ref, ...inputProps }),
|
12
|
+
/* @__PURE__ */ jsxs(ChakraSwitch.Control, { children: [
|
13
|
+
/* @__PURE__ */ jsx(ChakraSwitch.Thumb, { children: thumbLabel && /* @__PURE__ */ jsx(ChakraSwitch.ThumbIndicator, { fallback: thumbLabel?.off, children: thumbLabel?.on }) }),
|
14
|
+
trackLabel && /* @__PURE__ */ jsx(ChakraSwitch.Indicator, { fallback: trackLabel.off, children: trackLabel.on })
|
15
|
+
] }),
|
16
|
+
children != null && /* @__PURE__ */ jsx(ChakraSwitch.Label, { children })
|
17
|
+
] });
|
18
|
+
}
|
19
|
+
);
|
20
|
+
|
21
|
+
export {
|
22
|
+
Switch
|
23
|
+
};
|
@@ -0,0 +1,51 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
__export
|
4
|
+
} from "./chunk-RTMS5TJN.js";
|
5
|
+
|
6
|
+
// src/components/stat/stat.tsx
|
7
|
+
var stat_exports = {};
|
8
|
+
__export(stat_exports, {
|
9
|
+
DownTrend: () => StatDownTrend,
|
10
|
+
HelpText: () => HelpText,
|
11
|
+
Label: () => Label,
|
12
|
+
Root: () => Root,
|
13
|
+
UpTrend: () => StatUpTrend,
|
14
|
+
ValueText: () => StatValueText,
|
15
|
+
ValueUnit: () => ValueUnit
|
16
|
+
});
|
17
|
+
import * as React from "react";
|
18
|
+
import { Badge } from "@chakra-ui/react/badge";
|
19
|
+
import { FormatNumber } from "@chakra-ui/react/format";
|
20
|
+
import { Stat as ChakraStat } from "@chakra-ui/react/stat";
|
21
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
22
|
+
var StatValueText = React.forwardRef(
|
23
|
+
function StatValueText2(props, ref) {
|
24
|
+
const { value, formatOptions, children, ...rest } = props;
|
25
|
+
return /* @__PURE__ */ jsx(ChakraStat.ValueText, { ...rest, ref, children: children || value != null && /* @__PURE__ */ jsx(FormatNumber, { value, ...formatOptions }) });
|
26
|
+
}
|
27
|
+
);
|
28
|
+
var StatUpTrend = React.forwardRef(
|
29
|
+
function StatUpTrend2(props, ref) {
|
30
|
+
return /* @__PURE__ */ jsxs(Badge, { colorPalette: "green", gap: "0", ...props, ref, children: [
|
31
|
+
/* @__PURE__ */ jsx(ChakraStat.UpIndicator, {}),
|
32
|
+
props.children
|
33
|
+
] });
|
34
|
+
}
|
35
|
+
);
|
36
|
+
var StatDownTrend = React.forwardRef(
|
37
|
+
function StatDownTrend2(props, ref) {
|
38
|
+
return /* @__PURE__ */ jsxs(Badge, { colorPalette: "red", gap: "0", ...props, ref, children: [
|
39
|
+
/* @__PURE__ */ jsx(ChakraStat.DownIndicator, {}),
|
40
|
+
props.children
|
41
|
+
] });
|
42
|
+
}
|
43
|
+
);
|
44
|
+
var Root = ChakraStat.Root;
|
45
|
+
var Label = ChakraStat.Label;
|
46
|
+
var HelpText = ChakraStat.HelpText;
|
47
|
+
var ValueUnit = ChakraStat.ValueUnit;
|
48
|
+
|
49
|
+
export {
|
50
|
+
stat_exports
|
51
|
+
};
|
@@ -0,0 +1,46 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
CloseButton
|
4
|
+
} from "./chunk-WZUKOJGI.js";
|
5
|
+
|
6
|
+
// src/components/alert/alert.tsx
|
7
|
+
import { forwardRef } from "react";
|
8
|
+
import { Alert as AlertPrimitive } from "@chakra-ui/react/alert";
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
10
|
+
var Alert = forwardRef(
|
11
|
+
function Alert2(props, ref) {
|
12
|
+
const {
|
13
|
+
title,
|
14
|
+
children,
|
15
|
+
icon,
|
16
|
+
closable,
|
17
|
+
onClose,
|
18
|
+
startElement,
|
19
|
+
endElement,
|
20
|
+
...rest
|
21
|
+
} = props;
|
22
|
+
return /* @__PURE__ */ jsxs(AlertPrimitive.Root, { ref, ...rest, children: [
|
23
|
+
startElement || /* @__PURE__ */ jsx(AlertPrimitive.Indicator, { children: icon }),
|
24
|
+
children ? /* @__PURE__ */ jsxs(AlertPrimitive.Content, { children: [
|
25
|
+
/* @__PURE__ */ jsx(AlertPrimitive.Title, { children: title }),
|
26
|
+
/* @__PURE__ */ jsx(AlertPrimitive.Description, { children })
|
27
|
+
] }) : /* @__PURE__ */ jsx(AlertPrimitive.Title, { flex: "1", children: title }),
|
28
|
+
endElement,
|
29
|
+
closable && /* @__PURE__ */ jsx(
|
30
|
+
CloseButton,
|
31
|
+
{
|
32
|
+
size: "sm",
|
33
|
+
pos: "relative",
|
34
|
+
top: "-2",
|
35
|
+
insetEnd: "-2",
|
36
|
+
alignSelf: "flex-start",
|
37
|
+
onClick: onClose
|
38
|
+
}
|
39
|
+
)
|
40
|
+
] });
|
41
|
+
}
|
42
|
+
);
|
43
|
+
|
44
|
+
export {
|
45
|
+
Alert
|
46
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
ChevronDownIcon
|
4
|
+
} from "./chunk-OME35FUG.js";
|
5
|
+
|
6
|
+
// src/components/native-select/native-select.tsx
|
7
|
+
import * as React from "react";
|
8
|
+
import { NativeSelect as Select } from "@chakra-ui/react/native-select";
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
10
|
+
var NativeSelect = React.forwardRef(
|
11
|
+
function NativeSelect2(props, ref) {
|
12
|
+
const { icon = /* @__PURE__ */ jsx(ChevronDownIcon, {}), placeholder, children, ...rest } = props;
|
13
|
+
return /* @__PURE__ */ jsx(Select.Root, { ref, ...rest, children: /* @__PURE__ */ jsxs(Select.Field, { placeholder, children: [
|
14
|
+
children,
|
15
|
+
/* @__PURE__ */ jsx(Select.Indicator, { children: icon })
|
16
|
+
] }) });
|
17
|
+
}
|
18
|
+
);
|
19
|
+
|
20
|
+
export {
|
21
|
+
NativeSelect
|
22
|
+
};
|
@@ -0,0 +1,67 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
Spinner
|
4
|
+
} from "./chunk-MK3OG2I4.js";
|
5
|
+
import {
|
6
|
+
CloseButton
|
7
|
+
} from "./chunk-WZUKOJGI.js";
|
8
|
+
|
9
|
+
// src/components/toaster/toaster.tsx
|
10
|
+
import { useCallback, useMemo, useState } from "react";
|
11
|
+
import { Portal } from "@chakra-ui/react/portal";
|
12
|
+
import { Stack } from "@chakra-ui/react/stack";
|
13
|
+
import {
|
14
|
+
Toaster as ChakraToaster,
|
15
|
+
Toast,
|
16
|
+
createToaster
|
17
|
+
} from "@chakra-ui/react/toast";
|
18
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
19
|
+
var defaultOptions = {
|
20
|
+
placement: "bottom-end",
|
21
|
+
pauseOnPageIdle: true
|
22
|
+
};
|
23
|
+
var toast = createToaster(defaultOptions);
|
24
|
+
var Toaster = (props) => {
|
25
|
+
const { closable: defaultClosable = true, ...options } = props || {};
|
26
|
+
const toaster = useMemo(() => {
|
27
|
+
toast = createToaster({
|
28
|
+
...defaultOptions,
|
29
|
+
...options
|
30
|
+
});
|
31
|
+
return toast;
|
32
|
+
}, [options]);
|
33
|
+
return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(ChakraToaster, { toaster, insetInline: { mdDown: "4" }, children: (toast2) => {
|
34
|
+
const closable = toast2.meta?.closable === false ? false : defaultClosable && toast2.type !== "loading";
|
35
|
+
return /* @__PURE__ */ jsxs(ToastRoot, { children: [
|
36
|
+
toast2.type === "loading" ? /* @__PURE__ */ jsx(Spinner, { size: "sm", color: "colorPalette.solid", mt: "0.5" }) : /* @__PURE__ */ jsx(Toast.Indicator, {}),
|
37
|
+
/* @__PURE__ */ jsxs(Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
|
38
|
+
toast2.title && /* @__PURE__ */ jsx(Toast.Title, { children: toast2.title }),
|
39
|
+
toast2.description && /* @__PURE__ */ jsx(Toast.Description, { children: toast2.description }),
|
40
|
+
toast2.action && /* @__PURE__ */ jsx(Toast.ActionTrigger, { children: toast2.action.label })
|
41
|
+
] }),
|
42
|
+
closable !== false && /* @__PURE__ */ jsx(Toast.CloseTrigger, { children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) })
|
43
|
+
] });
|
44
|
+
} }) });
|
45
|
+
};
|
46
|
+
function ToastRoot(props) {
|
47
|
+
const [rect, setRect] = useState();
|
48
|
+
const rectCallbackRef = useCallback((el) => {
|
49
|
+
setRect(el?.getBoundingClientRect());
|
50
|
+
}, []);
|
51
|
+
return /* @__PURE__ */ jsx(
|
52
|
+
Toast.Root,
|
53
|
+
{
|
54
|
+
ref: rectCallbackRef,
|
55
|
+
width: { md: "sm" },
|
56
|
+
css: {
|
57
|
+
"--toast-height": `${rect?.height}px`
|
58
|
+
},
|
59
|
+
children: props.children
|
60
|
+
}
|
61
|
+
);
|
62
|
+
}
|
63
|
+
|
64
|
+
export {
|
65
|
+
toast,
|
66
|
+
Toaster
|
67
|
+
};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
Kbd
|
4
|
+
} from "./chunk-OQU4LWZW.js";
|
5
|
+
|
6
|
+
// src/components/command/command.tsx
|
7
|
+
import {
|
8
|
+
createRecipeContext
|
9
|
+
} from "@chakra-ui/react/styled-system";
|
10
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
11
|
+
var { withContext } = createRecipeContext({
|
12
|
+
key: "suiCommand"
|
13
|
+
});
|
14
|
+
var Command = (props) => {
|
15
|
+
const { children, modifiers, ...rest } = props;
|
16
|
+
if (typeof children !== "string") {
|
17
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
18
|
+
}
|
19
|
+
const keys = children.split(/\s|\+/);
|
20
|
+
return /* @__PURE__ */ jsx(StyledCommand, { ...rest, children: keys.map((key) => /* @__PURE__ */ jsx(Key, { modifiers, size: props.size, children: key }, key)) });
|
21
|
+
};
|
22
|
+
var StyledCommand = withContext("span");
|
23
|
+
var Key = (props) => {
|
24
|
+
const { modifiers = ["then", "or", "+"], children, ...rest } = props;
|
25
|
+
if (typeof children !== "string") {
|
26
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
27
|
+
}
|
28
|
+
if (modifiers.includes(children)) {
|
29
|
+
return /* @__PURE__ */ jsx("span", { children });
|
30
|
+
}
|
31
|
+
return /* @__PURE__ */ jsx(Kbd, { ...rest, children });
|
32
|
+
};
|
33
|
+
|
34
|
+
export {
|
35
|
+
Command
|
36
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
'use client'
|
2
|
+
|
3
|
+
// src/components/tooltip/tooltip.tsx
|
4
|
+
import { forwardRef } from "react";
|
5
|
+
import { Portal } from "@chakra-ui/react/portal";
|
6
|
+
import { Tooltip as ChakraTooltip } from "@chakra-ui/react/tooltip";
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
8
|
+
var Tooltip = forwardRef(
|
9
|
+
function Tooltip2(props, ref) {
|
10
|
+
const {
|
11
|
+
showArrow,
|
12
|
+
children,
|
13
|
+
disabled,
|
14
|
+
portalled,
|
15
|
+
content,
|
16
|
+
contentProps,
|
17
|
+
portalRef,
|
18
|
+
...rest
|
19
|
+
} = props;
|
20
|
+
if (disabled) return children;
|
21
|
+
return /* @__PURE__ */ jsxs(ChakraTooltip.Root, { ...rest, children: [
|
22
|
+
/* @__PURE__ */ jsx(ChakraTooltip.Trigger, { asChild: true, children }),
|
23
|
+
/* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(ChakraTooltip.Positioner, { children: /* @__PURE__ */ jsxs(ChakraTooltip.Content, { ref, ...contentProps, children: [
|
24
|
+
showArrow && /* @__PURE__ */ jsx(ChakraTooltip.Arrow, { children: /* @__PURE__ */ jsx(ChakraTooltip.ArrowTip, {}) }),
|
25
|
+
content
|
26
|
+
] }) }) })
|
27
|
+
] });
|
28
|
+
}
|
29
|
+
);
|
30
|
+
|
31
|
+
export {
|
32
|
+
Tooltip
|
33
|
+
};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
ToggleTip
|
4
|
+
} from "./chunk-JL4MHGRE.js";
|
5
|
+
import {
|
6
|
+
IconButton
|
7
|
+
} from "./chunk-OJZPPAT6.js";
|
8
|
+
import {
|
9
|
+
InfoIcon
|
10
|
+
} from "./chunk-OME35FUG.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 ?? /* @__PURE__ */ jsx(InfoIcon, {}) }) });
|
19
|
+
}
|
20
|
+
);
|
21
|
+
|
22
|
+
export {
|
23
|
+
InfoTip
|
24
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
Spinner
|
4
|
+
} from "./chunk-MK3OG2I4.js";
|
5
|
+
import {
|
6
|
+
__export
|
7
|
+
} from "./chunk-RTMS5TJN.js";
|
8
|
+
|
9
|
+
// src/components/loading-overlay/loading-overlay.tsx
|
10
|
+
var loading_overlay_exports = {};
|
11
|
+
__export(loading_overlay_exports, {
|
12
|
+
Root: () => LoadingOverlayRoot,
|
13
|
+
Spinner: () => LoadingOverlaySpinner,
|
14
|
+
Text: () => LoadingOverlayText
|
15
|
+
});
|
16
|
+
import { forwardRef } from "react";
|
17
|
+
import {
|
18
|
+
Presence,
|
19
|
+
splitPresenceProps
|
20
|
+
} from "@ark-ui/react/presence";
|
21
|
+
import { chakra } from "@chakra-ui/react";
|
22
|
+
|
23
|
+
// src/components/loading-overlay/loading-overlay.context.ts
|
24
|
+
import { createSlotRecipeContext } from "@chakra-ui/react";
|
25
|
+
var {
|
26
|
+
useStyles: useLoadingOverlayStyles,
|
27
|
+
withContext,
|
28
|
+
withProvider
|
29
|
+
} = createSlotRecipeContext({
|
30
|
+
key: "suiLoadingOverlay"
|
31
|
+
});
|
32
|
+
|
33
|
+
// src/components/loading-overlay/loading-overlay.tsx
|
34
|
+
import { jsx } from "react/jsx-runtime";
|
35
|
+
var LoadingOverlay = forwardRef(
|
36
|
+
(props, ref) => {
|
37
|
+
const { children, loading = true, ...rest } = props;
|
38
|
+
const [presenceProps, rootProps] = splitPresenceProps(rest);
|
39
|
+
return /* @__PURE__ */ jsx(Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ jsx(chakra.div, { ref, ...rootProps, children }) });
|
40
|
+
}
|
41
|
+
);
|
42
|
+
var LoadingOverlayRoot = withProvider(
|
43
|
+
LoadingOverlay,
|
44
|
+
"root"
|
45
|
+
);
|
46
|
+
LoadingOverlayRoot.displayName = "LoadingOverlay";
|
47
|
+
var LoadingOverlaySpinner = Spinner;
|
48
|
+
var LoadingOverlayText = withContext(
|
49
|
+
"p",
|
50
|
+
"text"
|
51
|
+
);
|
52
|
+
|
53
|
+
export {
|
54
|
+
useLoadingOverlayStyles,
|
55
|
+
loading_overlay_exports
|
56
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
'use client'
|
2
|
+
|
3
|
+
// src/components/input/index.ts
|
4
|
+
import {
|
5
|
+
Input,
|
6
|
+
InputAddon,
|
7
|
+
InputElement,
|
8
|
+
InputPropsProvider,
|
9
|
+
InputGroup
|
10
|
+
} from "@chakra-ui/react/input";
|
11
|
+
|
12
|
+
export {
|
13
|
+
Input,
|
14
|
+
InputAddon,
|
15
|
+
InputElement,
|
16
|
+
InputPropsProvider,
|
17
|
+
InputGroup
|
18
|
+
};
|
@@ -0,0 +1,101 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
CloseButton
|
4
|
+
} from "./chunk-WZUKOJGI.js";
|
5
|
+
import {
|
6
|
+
__export
|
7
|
+
} from "./chunk-RTMS5TJN.js";
|
8
|
+
|
9
|
+
// src/components/select/namespace.ts
|
10
|
+
var namespace_exports = {};
|
11
|
+
__export(namespace_exports, {
|
12
|
+
Content: () => SelectContent,
|
13
|
+
Item: () => SelectItem,
|
14
|
+
ItemGroup: () => SelectItemGroup,
|
15
|
+
ItemText: () => SelectItemText,
|
16
|
+
Label: () => SelectLabel,
|
17
|
+
Root: () => SelectRoot,
|
18
|
+
Trigger: () => SelectTrigger,
|
19
|
+
ValueText: () => SelectValueText
|
20
|
+
});
|
21
|
+
|
22
|
+
// src/components/select/select.tsx
|
23
|
+
import { forwardRef } from "react";
|
24
|
+
import { Portal } from "@chakra-ui/react/portal";
|
25
|
+
import { Select as SelectPrimitive } from "@chakra-ui/react/select";
|
26
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
27
|
+
var SelectTrigger = forwardRef(
|
28
|
+
function SelectTrigger2(props, ref) {
|
29
|
+
const { children, clearable, ...rest } = props;
|
30
|
+
return /* @__PURE__ */ jsxs(SelectPrimitive.Control, { ...rest, children: [
|
31
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Trigger, { ref, children }),
|
32
|
+
/* @__PURE__ */ jsxs(SelectPrimitive.IndicatorGroup, { children: [
|
33
|
+
clearable && /* @__PURE__ */ jsx(SelectClearTrigger, {}),
|
34
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Indicator, {})
|
35
|
+
] })
|
36
|
+
] });
|
37
|
+
}
|
38
|
+
);
|
39
|
+
var SelectClearTrigger = forwardRef(function SelectClearTrigger2(props, ref) {
|
40
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ jsx(
|
41
|
+
CloseButton,
|
42
|
+
{
|
43
|
+
size: "xs",
|
44
|
+
variant: "plain",
|
45
|
+
focusVisibleRing: "inside",
|
46
|
+
focusRingWidth: "2px",
|
47
|
+
pointerEvents: "auto"
|
48
|
+
}
|
49
|
+
) });
|
50
|
+
});
|
51
|
+
var SelectContent = forwardRef(
|
52
|
+
function SelectContent2(props, ref) {
|
53
|
+
const { portalled = true, portalRef, ...rest } = props;
|
54
|
+
return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(SelectPrimitive.Positioner, { children: /* @__PURE__ */ jsx(SelectPrimitive.Content, { ...rest, ref }) }) });
|
55
|
+
}
|
56
|
+
);
|
57
|
+
var SelectItem = forwardRef(
|
58
|
+
function SelectItem2(props, ref) {
|
59
|
+
const { item, children, ...rest } = props;
|
60
|
+
return /* @__PURE__ */ jsxs(SelectPrimitive.Item, { item, ...rest, ref, children: [
|
61
|
+
children,
|
62
|
+
/* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, {})
|
63
|
+
] }, item.value);
|
64
|
+
}
|
65
|
+
);
|
66
|
+
var SelectValueText = forwardRef(function SelectValueText2(props, ref) {
|
67
|
+
const { children, ...rest } = props;
|
68
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.ValueText, { ...rest, ref, children: /* @__PURE__ */ jsx(SelectPrimitive.Context, { children: (select) => {
|
69
|
+
const items = select.selectedItems;
|
70
|
+
if (items.length === 0) return props.placeholder;
|
71
|
+
if (children) return children(items);
|
72
|
+
if (items.length === 1)
|
73
|
+
return select.collection.stringifyItem(items[0]);
|
74
|
+
return `${items.length} selected`;
|
75
|
+
} }) });
|
76
|
+
});
|
77
|
+
var SelectRoot = forwardRef(function SelectRoot2(props, ref) {
|
78
|
+
return /* @__PURE__ */ jsx(
|
79
|
+
SelectPrimitive.Root,
|
80
|
+
{
|
81
|
+
...props,
|
82
|
+
ref,
|
83
|
+
positioning: { sameWidth: true, ...props.positioning }
|
84
|
+
}
|
85
|
+
);
|
86
|
+
});
|
87
|
+
var SelectItemGroup = forwardRef(
|
88
|
+
function SelectItemGroup2(props, ref) {
|
89
|
+
const { children, label, ...rest } = props;
|
90
|
+
return /* @__PURE__ */ jsxs(SelectPrimitive.ItemGroup, { ...rest, ref, children: [
|
91
|
+
/* @__PURE__ */ jsx(SelectPrimitive.ItemGroupLabel, { children: label }),
|
92
|
+
children
|
93
|
+
] });
|
94
|
+
}
|
95
|
+
);
|
96
|
+
var SelectLabel = SelectPrimitive.Label;
|
97
|
+
var SelectItemText = SelectPrimitive.ItemText;
|
98
|
+
|
99
|
+
export {
|
100
|
+
namespace_exports
|
101
|
+
};
|