@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
package/dist/index.js
CHANGED
@@ -1,2785 +1,364 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
Em,
|
3
|
+
Strong,
|
4
|
+
Text
|
5
|
+
} from "./chunk-J5UCKCIO.js";
|
5
6
|
import {
|
6
|
-
|
7
|
-
} from "./chunk-
|
8
|
-
|
9
|
-
// src/index.ts
|
10
|
-
import { createSystem } from "@chakra-ui/react";
|
11
|
-
|
12
|
-
// src/provider/sui-provider.tsx
|
13
|
-
import * as React from "react";
|
14
|
-
import { ChakraProvider } from "@chakra-ui/react";
|
15
|
-
import { jsx } from "react/jsx-runtime";
|
16
|
-
var SuiContext = React.createContext({});
|
17
|
-
function SuiProvider(props) {
|
18
|
-
const { linkComponent, onError, children, ...rest } = props;
|
19
|
-
const context = React.useMemo(
|
20
|
-
() => ({
|
21
|
-
linkComponent
|
22
|
-
}),
|
23
|
-
[]
|
24
|
-
);
|
25
|
-
return /* @__PURE__ */ jsx(SuiContext.Provider, { value: context, children: /* @__PURE__ */ jsx(ChakraProvider, { ...rest, children }) });
|
26
|
-
}
|
27
|
-
var useSui = () => React.useContext(SuiContext);
|
28
|
-
|
29
|
-
// src/provider/use-link.tsx
|
30
|
-
import { chakra } from "@chakra-ui/react";
|
31
|
-
function useLink() {
|
32
|
-
const context = useSui();
|
33
|
-
if (context == null ? void 0 : context.linkComponent) {
|
34
|
-
return context.linkComponent;
|
35
|
-
}
|
36
|
-
return chakra.a;
|
37
|
-
}
|
38
|
-
|
39
|
-
// src/components/accordion/accordion.tsx
|
40
|
-
var accordion_exports = {};
|
41
|
-
__export(accordion_exports, {
|
42
|
-
Item: () => Item,
|
43
|
-
ItemContent: () => ItemContent,
|
44
|
-
ItemTrigger: () => ItemTrigger,
|
45
|
-
Root: () => Root
|
46
|
-
});
|
47
|
-
import * as React2 from "react";
|
48
|
-
import { Accordion } from "@chakra-ui/react/accordion";
|
49
|
-
|
50
|
-
// src/components/icons/create-icon.tsx
|
51
|
-
import { createIcon as _createIcon } from "@chakra-ui/react/icon";
|
52
|
-
var createIcon = (props) => {
|
53
|
-
return _createIcon({
|
54
|
-
viewBox: "0 0 24 24",
|
55
|
-
defaultProps: {
|
56
|
-
fill: "none",
|
57
|
-
stroke: "currentColor",
|
58
|
-
strokeWidth: "2",
|
59
|
-
strokeLinecap: "round",
|
60
|
-
strokeLinejoin: "round"
|
61
|
-
},
|
62
|
-
...props
|
63
|
-
});
|
64
|
-
};
|
65
|
-
|
66
|
-
// src/components/icons/icons.tsx
|
67
|
-
import { Fragment, jsx as jsx2, jsxs } from "react/jsx-runtime";
|
68
|
-
var ChevronUpIcon = createIcon({
|
69
|
-
displayName: "ChevronUpIcon",
|
70
|
-
path: /* @__PURE__ */ jsx2("polyline", { points: "18 15 12 9 6 15" })
|
71
|
-
});
|
72
|
-
var ChevronDownIcon = createIcon({
|
73
|
-
displayName: "ChevronDownIcon",
|
74
|
-
path: /* @__PURE__ */ jsx2("polyline", { points: "6 9 12 15 18 9" })
|
75
|
-
});
|
76
|
-
var ChevronLeftIcon = createIcon({
|
77
|
-
displayName: "ChevronLeftIcon",
|
78
|
-
path: /* @__PURE__ */ jsx2("polyline", { points: "15 18 9 12 15 6" })
|
79
|
-
});
|
80
|
-
var ChevronRightIcon = createIcon({
|
81
|
-
displayName: "ChevronRightIcon",
|
82
|
-
path: /* @__PURE__ */ jsx2("polyline", { points: "9 18 15 12 9 6" })
|
83
|
-
});
|
84
|
-
var HamburgerIcon = createIcon({
|
85
|
-
displayName: "ChevronDownIcon",
|
86
|
-
path: /* @__PURE__ */ jsxs("g", { fill: "none", children: [
|
87
|
-
/* @__PURE__ */ jsx2("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
88
|
-
/* @__PURE__ */ jsx2("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
89
|
-
/* @__PURE__ */ jsx2("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
90
|
-
] })
|
91
|
-
});
|
92
|
-
var CloseIcon = createIcon({
|
93
|
-
displayName: "CloseIcon",
|
94
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
95
|
-
/* @__PURE__ */ jsx2("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
96
|
-
/* @__PURE__ */ jsx2("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
97
|
-
] })
|
98
|
-
});
|
99
|
-
var FilterIcon = createIcon({
|
100
|
-
displayName: "FilterIcon",
|
101
|
-
path: /* @__PURE__ */ jsx2("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
|
102
|
-
});
|
103
|
-
var CalendarIcon = createIcon({
|
104
|
-
displayName: "CalendarIcon",
|
105
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
106
|
-
/* @__PURE__ */ jsx2("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
107
|
-
/* @__PURE__ */ jsx2("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
108
|
-
/* @__PURE__ */ jsx2("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
109
|
-
/* @__PURE__ */ jsx2("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
110
|
-
] })
|
111
|
-
});
|
112
|
-
var PlusIcon = createIcon({
|
113
|
-
displayName: "PlusIcon",
|
114
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
115
|
-
/* @__PURE__ */ jsx2("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
116
|
-
/* @__PURE__ */ jsx2("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
117
|
-
] })
|
118
|
-
});
|
119
|
-
var MinusIcon = createIcon({
|
120
|
-
displayName: "MinusIcon",
|
121
|
-
path: /* @__PURE__ */ jsx2("g", { children: /* @__PURE__ */ jsx2("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
122
|
-
});
|
123
|
-
var ViewOffIcon = createIcon({
|
124
|
-
displayName: "ViewOffIcon",
|
125
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
126
|
-
/* @__PURE__ */ jsx2("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
|
127
|
-
/* @__PURE__ */ jsx2("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
128
|
-
] })
|
129
|
-
});
|
130
|
-
var ViewIcon = createIcon({
|
131
|
-
displayName: "ViewOffIcon",
|
132
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
133
|
-
/* @__PURE__ */ jsx2("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
134
|
-
/* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "3" })
|
135
|
-
] })
|
136
|
-
});
|
137
|
-
var SearchIcon = createIcon({
|
138
|
-
displayName: "SearchIcon",
|
139
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
140
|
-
/* @__PURE__ */ jsx2("circle", { cx: "11", cy: "11", r: "8" }),
|
141
|
-
/* @__PURE__ */ jsx2("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
142
|
-
] })
|
143
|
-
});
|
144
|
-
var CheckIcon = createIcon({
|
145
|
-
displayName: "CheckIcon",
|
146
|
-
path: /* @__PURE__ */ jsx2("g", { children: /* @__PURE__ */ jsx2("polyline", { points: "20 6 9 17 4 12" }) })
|
147
|
-
});
|
148
|
-
var EllipsisIcon = createIcon({
|
149
|
-
displayName: "EllipsisIcon",
|
150
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
151
|
-
/* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "1" }),
|
152
|
-
/* @__PURE__ */ jsx2("circle", { cx: "19", cy: "12", r: "1" }),
|
153
|
-
/* @__PURE__ */ jsx2("circle", { cx: "5", cy: "12", r: "1" })
|
154
|
-
] })
|
155
|
-
});
|
156
|
-
var CopyIcon = createIcon({
|
157
|
-
displayName: "CopyIcon",
|
158
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
159
|
-
/* @__PURE__ */ jsx2("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
160
|
-
/* @__PURE__ */ jsx2("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
161
|
-
] })
|
162
|
-
});
|
163
|
-
var InfoIcon = createIcon({
|
164
|
-
displayName: "InfoIcon",
|
165
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
166
|
-
/* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "10" }),
|
167
|
-
/* @__PURE__ */ jsx2("path", { d: "M12 16v-4" }),
|
168
|
-
/* @__PURE__ */ jsx2("path", { d: "M12 8h.01" })
|
169
|
-
] })
|
170
|
-
});
|
171
|
-
var ArrowLeftIcon = createIcon({
|
172
|
-
displayName: "ArrowLeftIcon",
|
173
|
-
path: /* @__PURE__ */ jsxs(Fragment, { children: [
|
174
|
-
/* @__PURE__ */ jsx2("line", { x1: "19", y1: "12", x2: "5", y2: "12" }),
|
175
|
-
/* @__PURE__ */ jsx2("polyline", { points: "12 19 5 12 12 5" })
|
176
|
-
] })
|
177
|
-
});
|
178
|
-
|
179
|
-
// src/components/accordion/accordion.tsx
|
180
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
181
|
-
var ItemTrigger = React2.forwardRef(function AccordionItemTrigger(props, ref) {
|
182
|
-
const {
|
183
|
-
children,
|
184
|
-
indicatorPlacement = "end",
|
185
|
-
indicatorIcon = /* @__PURE__ */ jsx3(ChevronRightIcon, {}),
|
186
|
-
...rest
|
187
|
-
} = props;
|
188
|
-
const indicator = /* @__PURE__ */ jsx3(Accordion.ItemIndicator, { children: indicatorIcon });
|
189
|
-
return /* @__PURE__ */ jsxs2(Accordion.ItemTrigger, { ...rest, ref, children: [
|
190
|
-
indicatorPlacement === "start" && indicator,
|
191
|
-
children,
|
192
|
-
indicatorPlacement === "end" && indicator
|
193
|
-
] });
|
194
|
-
});
|
195
|
-
var ItemContent = React2.forwardRef(
|
196
|
-
function AccordionItemContent(props, ref) {
|
197
|
-
return /* @__PURE__ */ jsx3(Accordion.ItemContent, { children: /* @__PURE__ */ jsx3(Accordion.ItemBody, { ...props, ref }) });
|
198
|
-
}
|
199
|
-
);
|
200
|
-
var Root = Accordion.Root;
|
201
|
-
var Item = Accordion.Item;
|
202
|
-
|
203
|
-
// src/components/action-bar/action-bar.tsx
|
204
|
-
var action_bar_exports = {};
|
205
|
-
__export(action_bar_exports, {
|
206
|
-
CloseButton: () => CloseButton3,
|
207
|
-
Content: () => Content,
|
208
|
-
Root: () => Root2,
|
209
|
-
SelectionTrigger: () => SelectionTrigger,
|
210
|
-
Separator: () => Separator
|
211
|
-
});
|
212
|
-
import { forwardRef as forwardRef4 } from "react";
|
213
|
-
import { ActionBar } from "@chakra-ui/react/action-bar";
|
214
|
-
import { Portal } from "@chakra-ui/react/portal";
|
215
|
-
|
216
|
-
// src/components/close-button/close-button.tsx
|
217
|
-
import { forwardRef as forwardRef3 } from "react";
|
218
|
-
|
219
|
-
// src/components/icon-button/icon-button.tsx
|
220
|
-
import { forwardRef as forwardRef2 } from "react";
|
221
|
-
|
222
|
-
// src/components/button/index.ts
|
223
|
-
import { Button } from "@chakra-ui/react/button";
|
224
|
-
|
225
|
-
// src/components/icon-button/icon-button.tsx
|
226
|
-
import { jsx as jsx4 } from "react/jsx-runtime";
|
227
|
-
var IconButton = forwardRef2(
|
228
|
-
function IconButton2(props, ref) {
|
229
|
-
return /* @__PURE__ */ jsx4(
|
230
|
-
Button,
|
231
|
-
{
|
232
|
-
px: "0",
|
233
|
-
py: "0",
|
234
|
-
_icon: { fontSize: "1.2em" },
|
235
|
-
ref,
|
236
|
-
...props
|
237
|
-
}
|
238
|
-
);
|
239
|
-
}
|
240
|
-
);
|
241
|
-
|
242
|
-
// src/components/close-button/close-button.tsx
|
243
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
244
|
-
var CloseButton = forwardRef3(
|
245
|
-
function CloseButton2(props, ref) {
|
246
|
-
var _a;
|
247
|
-
return /* @__PURE__ */ jsx5(IconButton, { variant: "ghost", "aria-label": "Close", ref, ...props, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx5(CloseIcon, {}) });
|
248
|
-
}
|
249
|
-
);
|
250
|
-
|
251
|
-
// src/components/action-bar/action-bar.tsx
|
252
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
253
|
-
var ActionBarContent = forwardRef4(
|
254
|
-
function ActionBarContent2(props, ref) {
|
255
|
-
const { children, portalled = true, portalRef, ...rest } = props;
|
256
|
-
return /* @__PURE__ */ jsx6(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx6(ActionBar.Positioner, { children: /* @__PURE__ */ jsx6(ActionBar.Content, { ref, ...rest, asChild: false, children }) }) });
|
257
|
-
}
|
258
|
-
);
|
259
|
-
var ActionBarCloseButton = forwardRef4(function ActionBarCloseTrigger(props, ref) {
|
260
|
-
return /* @__PURE__ */ jsx6(ActionBar.CloseTrigger, { ...props, asChild: true, ref, children: /* @__PURE__ */ jsx6(CloseButton, { size: "sm" }) });
|
261
|
-
});
|
262
|
-
var Root2 = ActionBar.Root;
|
263
|
-
var SelectionTrigger = ActionBar.SelectionTrigger;
|
264
|
-
var Separator = ActionBar.Separator;
|
265
|
-
var Content = ActionBarContent;
|
266
|
-
var CloseButton3 = ActionBarCloseButton;
|
267
|
-
|
268
|
-
// src/components/alert/alert.tsx
|
269
|
-
import { forwardRef as forwardRef5 } from "react";
|
270
|
-
import { Alert as AlertPrimitive } from "@chakra-ui/react/alert";
|
271
|
-
import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
272
|
-
var Alert = forwardRef5(
|
273
|
-
function Alert2(props, ref) {
|
274
|
-
const {
|
275
|
-
title,
|
276
|
-
children,
|
277
|
-
icon,
|
278
|
-
closable,
|
279
|
-
onClose,
|
280
|
-
startElement,
|
281
|
-
endElement,
|
282
|
-
...rest
|
283
|
-
} = props;
|
284
|
-
return /* @__PURE__ */ jsxs3(AlertPrimitive.Root, { ref, ...rest, children: [
|
285
|
-
startElement || /* @__PURE__ */ jsx7(AlertPrimitive.Indicator, { children: icon }),
|
286
|
-
children ? /* @__PURE__ */ jsxs3(AlertPrimitive.Content, { children: [
|
287
|
-
/* @__PURE__ */ jsx7(AlertPrimitive.Title, { children: title }),
|
288
|
-
/* @__PURE__ */ jsx7(AlertPrimitive.Description, { children })
|
289
|
-
] }) : /* @__PURE__ */ jsx7(AlertPrimitive.Title, { flex: "1", children: title }),
|
290
|
-
endElement,
|
291
|
-
closable && /* @__PURE__ */ jsx7(
|
292
|
-
CloseButton,
|
293
|
-
{
|
294
|
-
size: "sm",
|
295
|
-
pos: "relative",
|
296
|
-
top: "-2",
|
297
|
-
insetEnd: "-2",
|
298
|
-
alignSelf: "flex-start",
|
299
|
-
onClick: onClose
|
300
|
-
}
|
301
|
-
)
|
302
|
-
] });
|
303
|
-
}
|
304
|
-
);
|
305
|
-
|
306
|
-
// src/components/app-shell/app-shell.tsx
|
307
|
-
import { forwardRef as forwardRef6 } from "react";
|
308
|
-
import {
|
309
|
-
createSlotRecipeContext
|
310
|
-
} from "@chakra-ui/react/styled-system";
|
311
|
-
import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
312
|
-
var {
|
313
|
-
withProvider,
|
314
|
-
withContext,
|
315
|
-
useStyles: useAppShellStyles
|
316
|
-
} = createSlotRecipeContext({
|
317
|
-
key: "suiAppShell"
|
318
|
-
});
|
319
|
-
var AppShellRoot = withProvider(
|
320
|
-
"div",
|
321
|
-
"root",
|
322
|
-
{ forwardAsChild: true }
|
323
|
-
);
|
324
|
-
var AppShellContent = withContext("div", "content", { forwardAsChild: true });
|
325
|
-
var AppShellMain = withContext(
|
326
|
-
"div",
|
327
|
-
"main",
|
328
|
-
{ forwardAsChild: true }
|
329
|
-
);
|
330
|
-
var AppShell = forwardRef6(
|
331
|
-
(props, ref) => {
|
332
|
-
const { header, sidebar, aside, footer, children, ...rootProps } = props;
|
333
|
-
return /* @__PURE__ */ jsxs4(AppShellRoot, { ref, ...rootProps, children: [
|
334
|
-
header,
|
335
|
-
/* @__PURE__ */ jsxs4(AppShellContent, { children: [
|
336
|
-
sidebar,
|
337
|
-
/* @__PURE__ */ jsx8(AppShellMain, { children }),
|
338
|
-
aside
|
339
|
-
] }),
|
340
|
-
footer
|
341
|
-
] });
|
342
|
-
}
|
343
|
-
);
|
344
|
-
AppShell.displayName = "AppShell";
|
345
|
-
|
346
|
-
// src/components/avatar/avatar.tsx
|
347
|
-
import { forwardRef as forwardRef7 } from "react";
|
348
|
-
import { Avatar as ChakraAvatar } from "@chakra-ui/react/avatar";
|
349
|
-
import { Group } from "@chakra-ui/react/group";
|
350
|
-
import { Fragment as Fragment2, jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
|
351
|
-
var Avatar = forwardRef7(
|
352
|
-
function Avatar2(props, ref) {
|
353
|
-
const { name, src, srcSet, loading, icon, fallback, children, ...rest } = props;
|
354
|
-
return /* @__PURE__ */ jsxs5(ChakraAvatar.Root, { ref, ...rest, children: [
|
355
|
-
/* @__PURE__ */ jsx9(AvatarFallback, { name, icon, children: fallback }),
|
356
|
-
/* @__PURE__ */ jsx9(ChakraAvatar.Image, { src, srcSet, loading }),
|
357
|
-
children
|
358
|
-
] });
|
359
|
-
}
|
360
|
-
);
|
361
|
-
var AvatarFallback = forwardRef7(
|
362
|
-
function AvatarFallback2(props, ref) {
|
363
|
-
const { name, icon, children, ...rest } = props;
|
364
|
-
return /* @__PURE__ */ jsxs5(ChakraAvatar.Fallback, { ref, ...rest, children: [
|
365
|
-
children,
|
366
|
-
name != null && children == null && /* @__PURE__ */ jsx9(Fragment2, { children: getInitials(name) }),
|
367
|
-
name == null && children == null && /* @__PURE__ */ jsx9(ChakraAvatar.Icon, { asChild: !!icon, children: icon })
|
368
|
-
] });
|
369
|
-
}
|
370
|
-
);
|
371
|
-
function getInitials(name) {
|
372
|
-
const names = name.trim().split(" ");
|
373
|
-
const firstName = names[0] != null ? names[0] : "";
|
374
|
-
const lastName = names.length > 1 ? names[names.length - 1] : "";
|
375
|
-
return firstName && lastName ? `${firstName.charAt(0)}${lastName.charAt(0)}` : firstName.charAt(0);
|
376
|
-
}
|
377
|
-
var AvatarGroup = forwardRef7(
|
378
|
-
function AvatarGroup2(props, ref) {
|
379
|
-
const { size, variant, borderless, ...rest } = props;
|
380
|
-
return /* @__PURE__ */ jsx9(ChakraAvatar.PropsProvider, { value: { size, variant, borderless }, children: /* @__PURE__ */ jsx9(Group, { gap: "0", spaceX: "-3", ref, ...rest }) });
|
381
|
-
}
|
382
|
-
);
|
383
|
-
|
384
|
-
// src/components/badge/index.ts
|
7
|
+
Wrap
|
8
|
+
} from "./chunk-LGLJ2QUW.js";
|
385
9
|
import {
|
386
|
-
|
387
|
-
|
388
|
-
} from "@chakra-ui/react/badge";
|
389
|
-
|
390
|
-
// src/components/back-button/back-button.tsx
|
391
|
-
import { forwardRef as forwardRef8 } from "react";
|
392
|
-
import { IconButton as IconButton3 } from "@chakra-ui/react";
|
393
|
-
|
394
|
-
// src/components/link/link.tsx
|
395
|
-
import React3 from "react";
|
396
|
-
import { Link as ChakraLink } from "@chakra-ui/react/link";
|
397
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
398
|
-
var Link = React3.forwardRef(
|
399
|
-
(props, ref) => {
|
400
|
-
const LinkComponent = useLink();
|
401
|
-
return /* @__PURE__ */ jsx10(ChakraLink, { asChild: true, children: /* @__PURE__ */ jsx10(LinkComponent, { ref, ...props }) });
|
402
|
-
}
|
403
|
-
);
|
404
|
-
Link.displayName = "Link";
|
405
|
-
|
406
|
-
// src/components/back-button/back-button.tsx
|
407
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
408
|
-
var BackButton = forwardRef8(
|
409
|
-
(props, ref) => {
|
410
|
-
const { href, variant = "ghost", mr = 2, children, ...rest } = props;
|
411
|
-
let content = children || /* @__PURE__ */ jsx11(ArrowLeftIcon, {});
|
412
|
-
if (href) {
|
413
|
-
content = /* @__PURE__ */ jsx11(Link, { href, children: content });
|
414
|
-
}
|
415
|
-
return /* @__PURE__ */ jsx11(
|
416
|
-
IconButton3,
|
417
|
-
{
|
418
|
-
ref,
|
419
|
-
"aria-label": "Go back",
|
420
|
-
variant,
|
421
|
-
mr,
|
422
|
-
...rest,
|
423
|
-
children: content
|
424
|
-
}
|
425
|
-
);
|
426
|
-
}
|
427
|
-
);
|
428
|
-
|
429
|
-
// src/components/blockquote/blockquote.tsx
|
430
|
-
import * as React4 from "react";
|
431
|
-
import { Blockquote as ChakraBlockquote } from "@chakra-ui/react";
|
432
|
-
import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
|
433
|
-
var Blockquote = React4.forwardRef(
|
434
|
-
function Blockquote2(props, ref) {
|
435
|
-
const { children, cite, citeUrl, showDash, icon, ...rest } = props;
|
436
|
-
return /* @__PURE__ */ jsxs6(ChakraBlockquote.Root, { ref, ...rest, children: [
|
437
|
-
icon,
|
438
|
-
/* @__PURE__ */ jsx12(ChakraBlockquote.Content, { cite: citeUrl, children }),
|
439
|
-
cite && /* @__PURE__ */ jsxs6(ChakraBlockquote.Caption, { children: [
|
440
|
-
showDash ? /* @__PURE__ */ jsx12(Fragment3, { children: "\u2014" }) : null,
|
441
|
-
" ",
|
442
|
-
/* @__PURE__ */ jsx12("cite", { children: cite })
|
443
|
-
] })
|
444
|
-
] });
|
445
|
-
}
|
446
|
-
);
|
447
|
-
|
448
|
-
// src/components/breadcrumb/breadcrumb.tsx
|
449
|
-
var breadcrumb_exports = {};
|
450
|
-
__export(breadcrumb_exports, {
|
451
|
-
CurrentLink: () => CurrentLink,
|
452
|
-
Ellipsis: () => Ellipsis,
|
453
|
-
Link: () => Link2,
|
454
|
-
Root: () => Root3
|
455
|
-
});
|
456
|
-
import { Children, Fragment as Fragment4, forwardRef as forwardRef10, isValidElement } from "react";
|
457
|
-
import { Breadcrumb } from "@chakra-ui/react/breadcrumb";
|
458
|
-
import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
|
459
|
-
var Root3 = forwardRef10(
|
460
|
-
function BreadcrumbRoot(props, ref) {
|
461
|
-
const { separator = "/", separatorGap, children, ...rest } = props;
|
462
|
-
const validChildren = Children.toArray(children).filter(isValidElement);
|
463
|
-
return /* @__PURE__ */ jsx13(Breadcrumb.Root, { ref, ...rest, children: /* @__PURE__ */ jsx13(Breadcrumb.List, { gap: separatorGap, children: validChildren.map((child, index) => {
|
464
|
-
const last = index === validChildren.length - 1;
|
465
|
-
return /* @__PURE__ */ jsxs7(Fragment4, { children: [
|
466
|
-
/* @__PURE__ */ jsx13(Breadcrumb.Item, { children: child }),
|
467
|
-
!last && /* @__PURE__ */ jsx13(Breadcrumb.Separator, { children: separator })
|
468
|
-
] }, index);
|
469
|
-
}) }) });
|
470
|
-
}
|
471
|
-
);
|
472
|
-
var Link2 = Breadcrumb.Link;
|
473
|
-
var CurrentLink = Breadcrumb.CurrentLink;
|
474
|
-
var Ellipsis = Breadcrumb.Ellipsis;
|
475
|
-
|
476
|
-
// src/components/button-group/index.ts
|
477
|
-
import { ButtonGroup } from "@chakra-ui/react/button";
|
478
|
-
|
479
|
-
// src/components/card/index.ts
|
480
|
-
import { Card } from "@chakra-ui/react/card";
|
481
|
-
|
482
|
-
// src/components/checkbox/checkbox.tsx
|
483
|
-
import { forwardRef as forwardRef11 } from "react";
|
484
|
-
import { Checkbox as ChakraCheckbox } from "@chakra-ui/react/checkbox";
|
485
|
-
import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
|
486
|
-
var Checkbox = forwardRef11(
|
487
|
-
function Checkbox2(props, ref) {
|
488
|
-
const { icon, children, inputProps, rootRef, ...rest } = props;
|
489
|
-
return /* @__PURE__ */ jsxs8(ChakraCheckbox.Root, { ref: rootRef, ...rest, children: [
|
490
|
-
/* @__PURE__ */ jsx14(ChakraCheckbox.HiddenInput, { ref, ...inputProps }),
|
491
|
-
/* @__PURE__ */ jsx14(ChakraCheckbox.Control, { children: icon || /* @__PURE__ */ jsx14(ChakraCheckbox.Indicator, {}) }),
|
492
|
-
children != null && /* @__PURE__ */ jsx14(ChakraCheckbox.Label, { children })
|
493
|
-
] });
|
494
|
-
}
|
495
|
-
);
|
496
|
-
|
497
|
-
// src/components/checkmark/index.ts
|
498
|
-
import { Checkmark } from "@chakra-ui/react/checkmark";
|
499
|
-
|
500
|
-
// src/components/checkbox-card/checkbox-card.tsx
|
501
|
-
import { Fragment as Fragment5, forwardRef as forwardRef12 } from "react";
|
502
|
-
import { CheckboxCard as ChakraCheckboxCard } from "@chakra-ui/react/checkbox-card";
|
503
|
-
import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
|
504
|
-
var CheckboxCard = forwardRef12(
|
505
|
-
function CheckboxCard2(props, ref) {
|
506
|
-
const {
|
507
|
-
inputProps,
|
508
|
-
label,
|
509
|
-
description,
|
510
|
-
icon,
|
511
|
-
addon,
|
512
|
-
indicator = /* @__PURE__ */ jsx15(ChakraCheckboxCard.Indicator, {}),
|
513
|
-
indicatorPlacement = "end",
|
514
|
-
...rest
|
515
|
-
} = props;
|
516
|
-
const hasContent = label || description || icon;
|
517
|
-
const ContentWrapper = indicator ? ChakraCheckboxCard.Content : Fragment5;
|
518
|
-
return /* @__PURE__ */ jsxs9(ChakraCheckboxCard.Root, { ...rest, children: [
|
519
|
-
/* @__PURE__ */ jsx15(ChakraCheckboxCard.HiddenInput, { ref, ...inputProps }),
|
520
|
-
/* @__PURE__ */ jsxs9(ChakraCheckboxCard.Control, { children: [
|
521
|
-
indicatorPlacement === "start" && indicator,
|
522
|
-
hasContent && /* @__PURE__ */ jsxs9(ContentWrapper, { children: [
|
523
|
-
icon,
|
524
|
-
label && /* @__PURE__ */ jsx15(ChakraCheckboxCard.Label, { children: label }),
|
525
|
-
description && /* @__PURE__ */ jsx15(ChakraCheckboxCard.Description, { children: description }),
|
526
|
-
indicatorPlacement === "inside" && indicator
|
527
|
-
] }),
|
528
|
-
indicatorPlacement === "end" && indicator
|
529
|
-
] }),
|
530
|
-
addon && /* @__PURE__ */ jsx15(ChakraCheckboxCard.Addon, { children: addon })
|
531
|
-
] });
|
532
|
-
}
|
533
|
-
);
|
534
|
-
var CheckboxCardIndicator = ChakraCheckboxCard.Indicator;
|
535
|
-
|
536
|
-
// src/components/clipboard/clipboard.tsx
|
537
|
-
var clipboard_exports = {};
|
538
|
-
__export(clipboard_exports, {
|
539
|
-
Button: () => ClipboardButton,
|
540
|
-
IconButton: () => ClipboardIconButton,
|
541
|
-
Input: () => ClipboardInput,
|
542
|
-
Label: () => ClipboardLabel,
|
543
|
-
Root: () => ClipboardRoot
|
544
|
-
});
|
545
|
-
import * as React5 from "react";
|
546
|
-
import { Clipboard as ChakraClipboard } from "@chakra-ui/react/clipboard";
|
547
|
-
|
548
|
-
// src/components/input/index.ts
|
10
|
+
Tag
|
11
|
+
} from "./chunk-WJZED26X.js";
|
549
12
|
import {
|
550
|
-
|
551
|
-
|
552
|
-
InputElement,
|
553
|
-
InputPropsProvider,
|
554
|
-
InputGroup
|
555
|
-
} from "@chakra-ui/react/input";
|
556
|
-
|
557
|
-
// src/components/clipboard/clipboard.tsx
|
558
|
-
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
559
|
-
var ClipboardIcon = React5.forwardRef(function ClipboardIndicator(props, ref) {
|
560
|
-
const { children = /* @__PURE__ */ jsx16(CopyIcon, {}), copied = /* @__PURE__ */ jsx16(CheckIcon, {}), ...rest } = props;
|
561
|
-
return /* @__PURE__ */ jsx16(ChakraClipboard.Indicator, { copied, ...rest, ref, children });
|
562
|
-
});
|
563
|
-
var ClipboardCopyText = React5.forwardRef(function ClipboardCopyText2(props, ref) {
|
564
|
-
const { children = "Copy", copied = "Copied", ...rest } = props;
|
565
|
-
return /* @__PURE__ */ jsx16(ChakraClipboard.Indicator, { copied, ...rest, ref, children });
|
566
|
-
});
|
567
|
-
var ClipboardButton = React5.forwardRef(function ClipboardButton2(props, ref) {
|
568
|
-
const { icon, copiedIcon, copied, children, ...rest } = props;
|
569
|
-
return /* @__PURE__ */ jsx16(ChakraClipboard.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs10(Button, { ref, ...rest, children: [
|
570
|
-
/* @__PURE__ */ jsx16(ClipboardIcon, { copied: copiedIcon, children: icon }),
|
571
|
-
/* @__PURE__ */ jsx16(ClipboardCopyText, { copied, children })
|
572
|
-
] }) });
|
573
|
-
});
|
574
|
-
var ClipboardIconButton = React5.forwardRef(function ClipboardIconButton2(props, ref) {
|
575
|
-
const { icon, copiedIcon, ...rest } = props;
|
576
|
-
return /* @__PURE__ */ jsx16(ChakraClipboard.Trigger, { asChild: true, children: /* @__PURE__ */ jsx16(IconButton, { ref, size: "xs", ...rest, children: /* @__PURE__ */ jsx16(ClipboardIcon, { copied: copiedIcon, children: icon }) }) });
|
577
|
-
});
|
578
|
-
var ClipboardInput = React5.forwardRef(
|
579
|
-
function ClipboardInputElement(props, ref) {
|
580
|
-
return /* @__PURE__ */ jsx16(ChakraClipboard.Input, { asChild: true, children: /* @__PURE__ */ jsx16(Input, { ref, ...props }) });
|
581
|
-
}
|
582
|
-
);
|
583
|
-
var ClipboardRoot = ChakraClipboard.Root;
|
584
|
-
var ClipboardLabel = ChakraClipboard.Label;
|
585
|
-
|
586
|
-
// src/components/container/index.ts
|
587
|
-
import { Container } from "@chakra-ui/react/container";
|
588
|
-
|
589
|
-
// src/components/code/index.ts
|
590
|
-
import { Code } from "@chakra-ui/react/code";
|
591
|
-
|
592
|
-
// src/components/collapsible/index.ts
|
593
|
-
import { Collapsible } from "@chakra-ui/react/collapsible";
|
594
|
-
|
595
|
-
// src/components/command/command.tsx
|
13
|
+
Table
|
14
|
+
} from "./chunk-TH6YCBEG.js";
|
596
15
|
import {
|
597
|
-
|
598
|
-
} from "
|
599
|
-
|
600
|
-
// src/components/kbd/index.ts
|
601
|
-
import { Kbd } from "@chakra-ui/react/kbd";
|
602
|
-
|
603
|
-
// src/components/command/command.tsx
|
604
|
-
import { Fragment as Fragment6, jsx as jsx17 } from "react/jsx-runtime";
|
605
|
-
var { withContext: withContext2 } = createRecipeContext({
|
606
|
-
key: "suiCommand"
|
607
|
-
});
|
608
|
-
var Command = (props) => {
|
609
|
-
const { children, modifiers, ...rest } = props;
|
610
|
-
if (typeof children !== "string") {
|
611
|
-
return /* @__PURE__ */ jsx17(Fragment6, { children });
|
612
|
-
}
|
613
|
-
const keys = children.split(/\s|\+/);
|
614
|
-
return /* @__PURE__ */ jsx17(StyledCommand, { ...rest, children: keys.map((key) => /* @__PURE__ */ jsx17(Key, { modifiers, size: props.size, children: key }, key)) });
|
615
|
-
};
|
616
|
-
var StyledCommand = withContext2("span");
|
617
|
-
var Key = (props) => {
|
618
|
-
const { modifiers = ["then", "or", "+"], children, ...rest } = props;
|
619
|
-
if (typeof children !== "string") {
|
620
|
-
return /* @__PURE__ */ jsx17(Fragment6, { children });
|
621
|
-
}
|
622
|
-
if (modifiers.includes(children)) {
|
623
|
-
return /* @__PURE__ */ jsx17("span", { children });
|
624
|
-
}
|
625
|
-
return /* @__PURE__ */ jsx17(Kbd, { ...rest, children });
|
626
|
-
};
|
627
|
-
|
628
|
-
// src/components/data-list/index.ts
|
629
|
-
import { DataList, useDataListStyles } from "@chakra-ui/react/data-list";
|
630
|
-
|
631
|
-
// src/components/dialog/dialog.tsx
|
632
|
-
var dialog_exports = {};
|
633
|
-
__export(dialog_exports, {
|
634
|
-
ActionTrigger: () => ActionTrigger,
|
635
|
-
Backdrop: () => Backdrop,
|
636
|
-
Body: () => Body,
|
637
|
-
CloseButton: () => CloseButton4,
|
638
|
-
CloseTrigger: () => CloseTrigger,
|
639
|
-
Content: () => Content2,
|
640
|
-
Context: () => Context,
|
641
|
-
Description: () => Description,
|
642
|
-
DialogContext: () => DialogContext,
|
643
|
-
Footer: () => Footer,
|
644
|
-
Header: () => Header,
|
645
|
-
Root: () => Root4,
|
646
|
-
Title: () => Title,
|
647
|
-
Trigger: () => Trigger
|
648
|
-
});
|
649
|
-
import { forwardRef as forwardRef14 } from "react";
|
650
|
-
import { Dialog as ChakraDialog } from "@chakra-ui/react/dialog";
|
651
|
-
import { Portal as Portal2 } from "@chakra-ui/react/portal";
|
652
|
-
import { DialogContext } from "@ark-ui/react/dialog";
|
653
|
-
import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
|
654
|
-
var Content2 = forwardRef14(
|
655
|
-
function DialogContent(props, ref) {
|
656
|
-
const {
|
657
|
-
children,
|
658
|
-
portalled = true,
|
659
|
-
portalRef,
|
660
|
-
backdrop = true,
|
661
|
-
...rest
|
662
|
-
} = props;
|
663
|
-
return /* @__PURE__ */ jsxs11(Portal2, { disabled: !portalled, container: portalRef, children: [
|
664
|
-
backdrop && /* @__PURE__ */ jsx18(ChakraDialog.Backdrop, {}),
|
665
|
-
/* @__PURE__ */ jsx18(ChakraDialog.Positioner, { children: /* @__PURE__ */ jsx18(ChakraDialog.Content, { ref, ...rest, asChild: false, children }) })
|
666
|
-
] });
|
667
|
-
}
|
668
|
-
);
|
669
|
-
var CloseButton4 = forwardRef14(function DialogCloseTrigger(props, ref) {
|
670
|
-
return /* @__PURE__ */ jsx18(ChakraDialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ jsx18(CloseButton, { size: "sm", ref, children: props.children }) });
|
671
|
-
});
|
672
|
-
var CloseTrigger = ChakraDialog.CloseTrigger;
|
673
|
-
var Root4 = ChakraDialog.Root;
|
674
|
-
var Context = ChakraDialog.Context;
|
675
|
-
var Footer = ChakraDialog.Footer;
|
676
|
-
var Header = ChakraDialog.Header;
|
677
|
-
var Body = ChakraDialog.Body;
|
678
|
-
var Backdrop = ChakraDialog.Backdrop;
|
679
|
-
var Title = ChakraDialog.Title;
|
680
|
-
var Description = ChakraDialog.Description;
|
681
|
-
var Trigger = ChakraDialog.Trigger;
|
682
|
-
var ActionTrigger = ChakraDialog.ActionTrigger;
|
683
|
-
|
684
|
-
// src/components/drawer/drawer.tsx
|
685
|
-
var drawer_exports = {};
|
686
|
-
__export(drawer_exports, {
|
687
|
-
ActionTrigger: () => ActionTrigger2,
|
688
|
-
Backdrop: () => Backdrop2,
|
689
|
-
Body: () => Body2,
|
690
|
-
CloseButton: () => CloseButton5,
|
691
|
-
CloseTrigger: () => CloseTrigger2,
|
692
|
-
Content: () => Content3,
|
693
|
-
Context: () => Context2,
|
694
|
-
Description: () => Description2,
|
695
|
-
Footer: () => Footer2,
|
696
|
-
Header: () => Header2,
|
697
|
-
Root: () => Root5,
|
698
|
-
Title: () => Title2,
|
699
|
-
Trigger: () => Trigger2
|
700
|
-
});
|
701
|
-
import { forwardRef as forwardRef15 } from "react";
|
702
|
-
import { DialogContext as DialogContext2 } from "@ark-ui/react/dialog";
|
703
|
-
import { Drawer as ChakraDrawer, Portal as Portal3 } from "@chakra-ui/react";
|
704
|
-
import { jsx as jsx19 } from "react/jsx-runtime";
|
705
|
-
var Content3 = forwardRef15(
|
706
|
-
function DrawerContent(props, ref) {
|
707
|
-
const { children, portalled = true, portalRef, offset, ...rest } = props;
|
708
|
-
return /* @__PURE__ */ jsx19(Portal3, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx19(ChakraDrawer.Positioner, { padding: offset, children: /* @__PURE__ */ jsx19(ChakraDrawer.Content, { ref, ...rest, asChild: false, children }) }) });
|
709
|
-
}
|
710
|
-
);
|
711
|
-
var CloseButton5 = forwardRef15(function DrawerCloseTrigger(props, ref) {
|
712
|
-
const { children, ...rest } = props;
|
713
|
-
return /* @__PURE__ */ jsx19(ChakraDrawer.CloseTrigger, { ...rest, asChild: true, children: /* @__PURE__ */ jsx19(CloseButton, { size: "sm", ref, children }) });
|
714
|
-
});
|
715
|
-
var CloseTrigger2 = ChakraDrawer.CloseTrigger;
|
716
|
-
var Trigger2 = ChakraDrawer.Trigger;
|
717
|
-
var Root5 = ChakraDrawer.Root;
|
718
|
-
var Footer2 = ChakraDrawer.Footer;
|
719
|
-
var Header2 = ChakraDrawer.Header;
|
720
|
-
var Body2 = ChakraDrawer.Body;
|
721
|
-
var Backdrop2 = ChakraDrawer.Backdrop;
|
722
|
-
var Description2 = ChakraDrawer.Description;
|
723
|
-
var Title2 = ChakraDrawer.Title;
|
724
|
-
var ActionTrigger2 = ChakraDrawer.ActionTrigger;
|
725
|
-
var Context2 = DialogContext2;
|
726
|
-
|
727
|
-
// src/components/editable/index.ts
|
728
|
-
import { Editable } from "@chakra-ui/react/editable";
|
729
|
-
|
730
|
-
// src/components/empty-state/empty-state.tsx
|
731
|
-
import { forwardRef as forwardRef16 } from "react";
|
16
|
+
Timeline
|
17
|
+
} from "./chunk-QLN2CBY6.js";
|
732
18
|
import {
|
733
|
-
|
734
|
-
|
735
|
-
useEmptyStateStyles
|
736
|
-
} from "@chakra-ui/react";
|
737
|
-
import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
|
738
|
-
var EmptyStateActions = (props) => {
|
739
|
-
const { actions } = useEmptyStateStyles();
|
740
|
-
return /* @__PURE__ */ jsx20(Box, { ...props, css: [actions, props.css] });
|
741
|
-
};
|
742
|
-
var EmptyState = forwardRef16(
|
743
|
-
function EmptyState2(props, ref) {
|
744
|
-
const { title, description, icon, children, ...rest } = props;
|
745
|
-
return /* @__PURE__ */ jsx20(ChakraEmptyState.Root, { ref, ...rest, children: /* @__PURE__ */ jsxs12(ChakraEmptyState.Content, { children: [
|
746
|
-
icon && /* @__PURE__ */ jsx20(ChakraEmptyState.Indicator, { children: icon }),
|
747
|
-
/* @__PURE__ */ jsx20(ChakraEmptyState.Title, { children: title }),
|
748
|
-
description ? /* @__PURE__ */ jsx20(ChakraEmptyState.Description, { children: description }) : null,
|
749
|
-
/* @__PURE__ */ jsx20(EmptyStateActions, { children })
|
750
|
-
] }) });
|
751
|
-
}
|
752
|
-
);
|
753
|
-
|
754
|
-
// src/components/file-upload/file-upload.tsx
|
755
|
-
var file_upload_exports = {};
|
756
|
-
__export(file_upload_exports, {
|
757
|
-
ClearTrigger: () => ClearTrigger,
|
758
|
-
Dropzone: () => Dropzone,
|
759
|
-
Input: () => Input2,
|
760
|
-
Label: () => Label,
|
761
|
-
List: () => List,
|
762
|
-
Root: () => Root6,
|
763
|
-
Trigger: () => Trigger3
|
764
|
-
});
|
765
|
-
import * as React6 from "react";
|
766
|
-
import { Span } from "@chakra-ui/react";
|
767
|
-
import {
|
768
|
-
FileUpload as ChakraFileUpload,
|
769
|
-
useFileUploadContext
|
770
|
-
} from "@chakra-ui/react/file-upload";
|
771
|
-
import { useRecipe } from "@chakra-ui/react/styled-system";
|
772
|
-
import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
|
773
|
-
var Root6 = React6.forwardRef(
|
774
|
-
function FileUploadRoot(props, ref) {
|
775
|
-
const { children, inputProps, ...rest } = props;
|
776
|
-
return /* @__PURE__ */ jsxs13(ChakraFileUpload.Root, { ...rest, children: [
|
777
|
-
/* @__PURE__ */ jsx21(ChakraFileUpload.HiddenInput, { ref, ...inputProps }),
|
778
|
-
children
|
779
|
-
] });
|
780
|
-
}
|
781
|
-
);
|
782
|
-
var Dropzone = React6.forwardRef(
|
783
|
-
function FileUploadDropzone(props, ref) {
|
784
|
-
const { children, ...rest } = props;
|
785
|
-
return /* @__PURE__ */ jsx21(ChakraFileUpload.Dropzone, { ref, ...rest, children: /* @__PURE__ */ jsx21(ChakraFileUpload.DropzoneContent, { children }) });
|
786
|
-
}
|
787
|
-
);
|
788
|
-
var Item2 = React6.forwardRef(
|
789
|
-
function FileUploadItem(props, ref) {
|
790
|
-
const { file, showSize, icon, clearable } = props;
|
791
|
-
return /* @__PURE__ */ jsxs13(ChakraFileUpload.Item, { file, ref, children: [
|
792
|
-
/* @__PURE__ */ jsx21(ChakraFileUpload.ItemPreview, { children: icon }),
|
793
|
-
showSize ? /* @__PURE__ */ jsxs13(ChakraFileUpload.ItemContent, { children: [
|
794
|
-
/* @__PURE__ */ jsx21(ChakraFileUpload.ItemName, {}),
|
795
|
-
/* @__PURE__ */ jsx21(ChakraFileUpload.ItemSizeText, {})
|
796
|
-
] }) : /* @__PURE__ */ jsx21(ChakraFileUpload.ItemName, { flex: "1" }),
|
797
|
-
clearable && /* @__PURE__ */ jsx21(ChakraFileUpload.ItemDeleteTrigger, { asChild: true, children: /* @__PURE__ */ jsx21(CloseButton, { size: "xs" }) })
|
798
|
-
] });
|
799
|
-
}
|
800
|
-
);
|
801
|
-
var List = React6.forwardRef(
|
802
|
-
function FileUploadList(props, ref) {
|
803
|
-
const { showSize, clearable, files, ...rest } = props;
|
804
|
-
const fileUpload = useFileUploadContext();
|
805
|
-
const acceptedFiles = files != null ? files : fileUpload.acceptedFiles;
|
806
|
-
if (acceptedFiles.length === 0) return null;
|
807
|
-
return /* @__PURE__ */ jsx21(ChakraFileUpload.ItemGroup, { ref, ...rest, children: acceptedFiles.map((file) => /* @__PURE__ */ jsx21(
|
808
|
-
Item2,
|
809
|
-
{
|
810
|
-
file,
|
811
|
-
showSize,
|
812
|
-
clearable
|
813
|
-
},
|
814
|
-
file.name
|
815
|
-
)) });
|
816
|
-
}
|
817
|
-
);
|
818
|
-
var Input2 = React6.forwardRef(
|
819
|
-
function FileInput(props, ref) {
|
820
|
-
const inputRecipe = useRecipe({ key: "input" });
|
821
|
-
const [recipeProps, restProps] = inputRecipe.splitVariantProps(props);
|
822
|
-
const { placeholder = "Select file(s)", ...rest } = restProps;
|
823
|
-
return /* @__PURE__ */ jsx21(ChakraFileUpload.Trigger, { asChild: true, children: /* @__PURE__ */ jsx21(
|
824
|
-
Button,
|
825
|
-
{
|
826
|
-
unstyled: true,
|
827
|
-
py: "0",
|
828
|
-
ref,
|
829
|
-
...rest,
|
830
|
-
css: [inputRecipe(recipeProps), props.css],
|
831
|
-
children: /* @__PURE__ */ jsx21(ChakraFileUpload.Context, { children: ({ acceptedFiles }) => {
|
832
|
-
if (acceptedFiles.length === 1) {
|
833
|
-
return /* @__PURE__ */ jsx21("span", { children: acceptedFiles[0].name });
|
834
|
-
}
|
835
|
-
if (acceptedFiles.length > 1) {
|
836
|
-
return /* @__PURE__ */ jsxs13("span", { children: [
|
837
|
-
acceptedFiles.length,
|
838
|
-
" files"
|
839
|
-
] });
|
840
|
-
}
|
841
|
-
return /* @__PURE__ */ jsx21(Span, { color: "fg.subtle", children: placeholder });
|
842
|
-
} })
|
843
|
-
}
|
844
|
-
) });
|
845
|
-
}
|
846
|
-
);
|
847
|
-
var Label = ChakraFileUpload.Label;
|
848
|
-
var ClearTrigger = ChakraFileUpload.ClearTrigger;
|
849
|
-
var Trigger3 = ChakraFileUpload.Trigger;
|
850
|
-
|
851
|
-
// src/components/file-upload/index.ts
|
852
|
-
import { useFileUploadContext as useFileUploadContext2 } from "@chakra-ui/react/file-upload";
|
853
|
-
|
854
|
-
// src/components/field/index.ts
|
855
|
-
import { Field, useFieldContext, useFieldStyles } from "@chakra-ui/react/field";
|
856
|
-
|
857
|
-
// src/components/fieldset/index.ts
|
858
|
-
import { Fieldset, useFieldsetContext } from "@chakra-ui/react/fieldset";
|
859
|
-
|
860
|
-
// src/components/grid-list/grid-list.tsx
|
861
|
-
var grid_list_exports = {};
|
862
|
-
__export(grid_list_exports, {
|
863
|
-
Cell: () => GridListCell,
|
864
|
-
Header: () => GridListHeader,
|
865
|
-
Item: () => GridListItem,
|
866
|
-
Root: () => GridListRoot
|
867
|
-
});
|
868
|
-
import { GridList } from "@saas-ui/core/grid-list";
|
869
|
-
|
870
|
-
// src/components/grid-list/grid-list.context.ts
|
871
|
-
import { createSlotRecipeContext as createSlotRecipeContext2 } from "@chakra-ui/react/styled-system";
|
872
|
-
var {
|
873
|
-
withProvider: withProvider2,
|
874
|
-
withContext: withContext3,
|
875
|
-
useStyles: useGridListStyles
|
876
|
-
} = createSlotRecipeContext2({
|
877
|
-
key: "suiGridList"
|
878
|
-
});
|
879
|
-
|
880
|
-
// src/components/grid-list/grid-list.tsx
|
881
|
-
var GridListRoot = withProvider2(
|
882
|
-
GridList.Root,
|
883
|
-
"root"
|
884
|
-
);
|
885
|
-
var GridListItem = withContext3(
|
886
|
-
GridList.Item,
|
887
|
-
"item"
|
888
|
-
);
|
889
|
-
var GridListHeader = withContext3(
|
890
|
-
GridList.Header,
|
891
|
-
"header"
|
892
|
-
);
|
893
|
-
var GridListCell = withContext3(
|
894
|
-
GridList.Cell,
|
895
|
-
"cell"
|
896
|
-
);
|
897
|
-
|
898
|
-
// src/components/heading/index.ts
|
899
|
-
import { Heading } from "@chakra-ui/react/typography";
|
900
|
-
|
901
|
-
// src/components/hover-card/hover-card.tsx
|
902
|
-
var hover_card_exports = {};
|
903
|
-
__export(hover_card_exports, {
|
904
|
-
Arrow: () => Arrow,
|
905
|
-
Content: () => Content4,
|
906
|
-
Root: () => Root7,
|
907
|
-
Trigger: () => Trigger4
|
908
|
-
});
|
909
|
-
import * as React7 from "react";
|
910
|
-
import { HoverCard } from "@chakra-ui/react/hover-card";
|
911
|
-
import { Portal as Portal4 } from "@chakra-ui/react/portal";
|
912
|
-
import { jsx as jsx22 } from "react/jsx-runtime";
|
913
|
-
var Content4 = React7.forwardRef(
|
914
|
-
function HoverCardContent(props, ref) {
|
915
|
-
const { portalled = true, portalRef, ...rest } = props;
|
916
|
-
return /* @__PURE__ */ jsx22(Portal4, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx22(HoverCard.Positioner, { children: /* @__PURE__ */ jsx22(HoverCard.Content, { ref, ...rest }) }) });
|
917
|
-
}
|
918
|
-
);
|
919
|
-
var Arrow = React7.forwardRef(
|
920
|
-
function HoverCardArrow(props, ref) {
|
921
|
-
return /* @__PURE__ */ jsx22(HoverCard.Arrow, { ref, ...props, children: /* @__PURE__ */ jsx22(HoverCard.ArrowTip, {}) });
|
922
|
-
}
|
923
|
-
);
|
924
|
-
var Root7 = HoverCard.Root;
|
925
|
-
var Trigger4 = HoverCard.Trigger;
|
926
|
-
|
927
|
-
// src/components/icon/index.ts
|
928
|
-
import { Icon } from "@chakra-ui/react/icon";
|
929
|
-
|
930
|
-
// src/components/icon-badge/icon-badge.tsx
|
931
|
-
import * as React8 from "react";
|
932
|
-
import { cloneElement, isValidElement as isValidElement2 } from "react";
|
933
|
-
import {
|
934
|
-
chakra as chakra2,
|
935
|
-
useRecipe as useRecipe2
|
936
|
-
} from "@chakra-ui/react/styled-system";
|
937
|
-
import { cx } from "@saas-ui/core/utils";
|
938
|
-
import { jsx as jsx23 } from "react/jsx-runtime";
|
939
|
-
var IconBadge = React8.forwardRef(
|
940
|
-
(props, ref) => {
|
941
|
-
const { icon, children, ...rest } = props;
|
942
|
-
const recipe = useRecipe2({ key: "suiIconBadge", recipe: props.recipe });
|
943
|
-
const [variantProps, localProps] = recipe.splitVariantProps(rest);
|
944
|
-
const styles = recipe(variantProps);
|
945
|
-
const element = icon || children;
|
946
|
-
const _children = isValidElement2(element) ? cloneElement(element, {
|
947
|
-
"aria-hidden": true,
|
948
|
-
focusable: false
|
949
|
-
}) : null;
|
950
|
-
return /* @__PURE__ */ jsx23(
|
951
|
-
chakra2.div,
|
952
|
-
{
|
953
|
-
ref,
|
954
|
-
...localProps,
|
955
|
-
css: [styles, props.css],
|
956
|
-
className: cx(recipe.className, props.className),
|
957
|
-
children: _children
|
958
|
-
}
|
959
|
-
);
|
960
|
-
}
|
961
|
-
);
|
962
|
-
|
963
|
-
// src/components/image/index.ts
|
964
|
-
import { Image } from "@chakra-ui/react/image";
|
965
|
-
|
966
|
-
// src/components/info-tip/info-tip.tsx
|
967
|
-
import * as React11 from "react";
|
968
|
-
|
969
|
-
// src/components/toggle-tip/toggle-tip.tsx
|
970
|
-
import * as React10 from "react";
|
971
|
-
|
972
|
-
// src/components/popover/popover.tsx
|
973
|
-
var popover_exports = {};
|
974
|
-
__export(popover_exports, {
|
975
|
-
Arrow: () => Arrow2,
|
976
|
-
Body: () => Body3,
|
977
|
-
CloseButton: () => CloseButton6,
|
978
|
-
CloseTrigger: () => CloseTrigger3,
|
979
|
-
Content: () => Content5,
|
980
|
-
Description: () => Description3,
|
981
|
-
Footer: () => Footer3,
|
982
|
-
Header: () => Header3,
|
983
|
-
Root: () => Root8,
|
984
|
-
Title: () => Title3,
|
985
|
-
Trigger: () => Trigger5
|
986
|
-
});
|
987
|
-
import * as React9 from "react";
|
988
|
-
import { Popover as ChakraPopover } from "@chakra-ui/react/popover";
|
989
|
-
import { Portal as Portal5 } from "@chakra-ui/react/portal";
|
990
|
-
import { jsx as jsx24 } from "react/jsx-runtime";
|
991
|
-
var Content5 = React9.forwardRef(
|
992
|
-
function PopoverContent(props, ref) {
|
993
|
-
const { portalled = true, portalRef, ...rest } = props;
|
994
|
-
return /* @__PURE__ */ jsx24(Portal5, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx24(ChakraPopover.Positioner, { children: /* @__PURE__ */ jsx24(ChakraPopover.Content, { ref, ...rest }) }) });
|
995
|
-
}
|
996
|
-
);
|
997
|
-
var Arrow2 = React9.forwardRef(
|
998
|
-
function PopoverArrow(props, ref) {
|
999
|
-
return /* @__PURE__ */ jsx24(ChakraPopover.Arrow, { ...props, ref, children: /* @__PURE__ */ jsx24(ChakraPopover.ArrowTip, {}) });
|
1000
|
-
}
|
1001
|
-
);
|
1002
|
-
var CloseButton6 = React9.forwardRef(function PopoverCloseTrigger(props, ref) {
|
1003
|
-
return /* @__PURE__ */ jsx24(
|
1004
|
-
ChakraPopover.CloseTrigger,
|
1005
|
-
{
|
1006
|
-
position: "absolute",
|
1007
|
-
top: "1",
|
1008
|
-
insetEnd: "1",
|
1009
|
-
...props,
|
1010
|
-
asChild: true,
|
1011
|
-
ref,
|
1012
|
-
children: /* @__PURE__ */ jsx24(CloseButton, { size: "sm" })
|
1013
|
-
}
|
1014
|
-
);
|
1015
|
-
});
|
1016
|
-
var CloseTrigger3 = ChakraPopover.CloseTrigger;
|
1017
|
-
var Title3 = ChakraPopover.Title;
|
1018
|
-
var Description3 = ChakraPopover.Description;
|
1019
|
-
var Footer3 = ChakraPopover.Footer;
|
1020
|
-
var Header3 = ChakraPopover.Header;
|
1021
|
-
var Root8 = ChakraPopover.Root;
|
1022
|
-
var Body3 = ChakraPopover.Body;
|
1023
|
-
var Trigger5 = ChakraPopover.Trigger;
|
1024
|
-
|
1025
|
-
// src/components/toggle-tip/toggle-tip.tsx
|
1026
|
-
import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
|
1027
|
-
var ToggleTip = React10.forwardRef(
|
1028
|
-
function ToggleTip2(props, ref) {
|
1029
|
-
const {
|
1030
|
-
showArrow,
|
1031
|
-
children,
|
1032
|
-
portalled = true,
|
1033
|
-
content,
|
1034
|
-
portalRef,
|
1035
|
-
...rest
|
1036
|
-
} = props;
|
1037
|
-
return /* @__PURE__ */ jsxs14(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
|
1038
|
-
/* @__PURE__ */ jsx25(popover_exports.Trigger, { asChild: true, children }),
|
1039
|
-
/* @__PURE__ */ jsxs14(
|
1040
|
-
popover_exports.Content,
|
1041
|
-
{
|
1042
|
-
width: "auto",
|
1043
|
-
px: "2",
|
1044
|
-
py: "1",
|
1045
|
-
textStyle: "xs",
|
1046
|
-
rounded: "sm",
|
1047
|
-
portalled,
|
1048
|
-
ref,
|
1049
|
-
children: [
|
1050
|
-
showArrow && /* @__PURE__ */ jsx25(popover_exports.Arrow, {}),
|
1051
|
-
content
|
1052
|
-
]
|
1053
|
-
}
|
1054
|
-
)
|
1055
|
-
] });
|
1056
|
-
}
|
1057
|
-
);
|
1058
|
-
|
1059
|
-
// src/components/info-tip/info-tip.tsx
|
1060
|
-
import { jsx as jsx26 } from "react/jsx-runtime";
|
1061
|
-
var InfoTip = React11.forwardRef(
|
1062
|
-
function InfoTip2(props, ref) {
|
1063
|
-
const { children, icon, "aria-label": ariaLabel = "Info", ...rest } = props;
|
1064
|
-
return /* @__PURE__ */ jsx26(ToggleTip, { content: children, ...rest, ref, children: /* @__PURE__ */ jsx26(IconButton, { variant: "ghost", "aria-label": ariaLabel, size: "2xs", children: icon != null ? icon : /* @__PURE__ */ jsx26(InfoIcon, {}) }) });
|
1065
|
-
}
|
1066
|
-
);
|
1067
|
-
|
1068
|
-
// src/components/loader/index.ts
|
1069
|
-
import { Loader } from "@chakra-ui/react/loader";
|
1070
|
-
|
1071
|
-
// src/components/list/index.ts
|
1072
|
-
import { List as List2 } from "@chakra-ui/react/list";
|
1073
|
-
|
1074
|
-
// src/components/loading-overlay/loading-overlay.tsx
|
1075
|
-
var loading_overlay_exports = {};
|
1076
|
-
__export(loading_overlay_exports, {
|
1077
|
-
Root: () => LoadingOverlayRoot,
|
1078
|
-
Spinner: () => LoadingOverlaySpinner,
|
1079
|
-
Text: () => LoadingOverlayText
|
1080
|
-
});
|
1081
|
-
import { forwardRef as forwardRef24 } from "react";
|
19
|
+
Toggle
|
20
|
+
} from "./chunk-PEVIP5UT.js";
|
1082
21
|
import {
|
1083
|
-
|
1084
|
-
|
1085
|
-
} from "
|
1086
|
-
import { chakra as chakra3 } from "@chakra-ui/react";
|
1087
|
-
|
1088
|
-
// src/components/spinner/spinner.tsx
|
1089
|
-
import { forwardRef as forwardRef23 } from "react";
|
1090
|
-
import { Spinner as ChakraSpinner } from "@chakra-ui/react/spinner";
|
1091
|
-
import { Fragment as Fragment7, jsx as jsx27 } from "react/jsx-runtime";
|
1092
|
-
var Spinner = forwardRef23(
|
1093
|
-
function Spinner2(props, ref) {
|
1094
|
-
const { loading, children, ...rest } = props;
|
1095
|
-
if (loading === false) {
|
1096
|
-
return /* @__PURE__ */ jsx27(Fragment7, { children });
|
1097
|
-
}
|
1098
|
-
return /* @__PURE__ */ jsx27(ChakraSpinner, { ref, ...rest });
|
1099
|
-
}
|
1100
|
-
);
|
1101
|
-
|
1102
|
-
// src/components/loading-overlay/loading-overlay.context.ts
|
1103
|
-
import { createSlotRecipeContext as createSlotRecipeContext3 } from "@chakra-ui/react";
|
1104
|
-
var {
|
1105
|
-
useStyles: useLoadingOverlayStyles,
|
1106
|
-
withContext: withContext4,
|
1107
|
-
withProvider: withProvider3
|
1108
|
-
} = createSlotRecipeContext3({
|
1109
|
-
key: "suiLoadingOverlay"
|
1110
|
-
});
|
1111
|
-
|
1112
|
-
// src/components/loading-overlay/loading-overlay.tsx
|
1113
|
-
import { jsx as jsx28 } from "react/jsx-runtime";
|
1114
|
-
var LoadingOverlay = forwardRef24(
|
1115
|
-
(props, ref) => {
|
1116
|
-
const { children, loading = true, ...rest } = props;
|
1117
|
-
const [presenceProps, rootProps] = splitPresenceProps(rest);
|
1118
|
-
return /* @__PURE__ */ jsx28(Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ jsx28(chakra3.div, { ref, ...rootProps, children }) });
|
1119
|
-
}
|
1120
|
-
);
|
1121
|
-
var LoadingOverlayRoot = withProvider3(
|
1122
|
-
LoadingOverlay,
|
1123
|
-
"root"
|
1124
|
-
);
|
1125
|
-
LoadingOverlayRoot.displayName = "LoadingOverlay";
|
1126
|
-
var LoadingOverlaySpinner = Spinner;
|
1127
|
-
var LoadingOverlayText = withContext4(
|
1128
|
-
"p",
|
1129
|
-
"text"
|
1130
|
-
);
|
1131
|
-
|
1132
|
-
// src/components/mark/index.ts
|
1133
|
-
import { Mark } from "@chakra-ui/react/typography";
|
1134
|
-
|
1135
|
-
// src/components/navbar/navbar.tsx
|
1136
|
-
var navbar_exports = {};
|
1137
|
-
__export(navbar_exports, {
|
1138
|
-
Brand: () => NavbarBrand,
|
1139
|
-
Content: () => NavbarContent,
|
1140
|
-
Item: () => NavbarItem,
|
1141
|
-
Link: () => NavbarLink,
|
1142
|
-
Root: () => NavbarRoot
|
1143
|
-
});
|
1144
|
-
import { forwardRef as forwardRef25 } from "react";
|
1145
|
-
import { Navbar } from "@saas-ui/core/navbar";
|
1146
|
-
|
1147
|
-
// src/components/navbar/navbar.context.ts
|
1148
|
-
import { createSlotRecipeContext as createSlotRecipeContext4 } from "@chakra-ui/react";
|
1149
|
-
var {
|
1150
|
-
withProvider: withProvider4,
|
1151
|
-
withContext: withContext5,
|
1152
|
-
useStyles: useNavbarStyles
|
1153
|
-
} = createSlotRecipeContext4({
|
1154
|
-
key: "suiNavbar"
|
1155
|
-
});
|
1156
|
-
|
1157
|
-
// src/components/navbar/navbar.tsx
|
1158
|
-
import { jsx as jsx29 } from "react/jsx-runtime";
|
1159
|
-
var NavbarRoot = withProvider4(
|
1160
|
-
Navbar.Root,
|
1161
|
-
"root"
|
1162
|
-
);
|
1163
|
-
var NavbarBrand = withContext5(
|
1164
|
-
Navbar.Brand,
|
1165
|
-
"brand"
|
1166
|
-
);
|
1167
|
-
var NavbarContent = withContext5(
|
1168
|
-
Navbar.Content,
|
1169
|
-
"content"
|
1170
|
-
);
|
1171
|
-
var NavbarItem = withContext5(
|
1172
|
-
Navbar.Item,
|
1173
|
-
"item"
|
1174
|
-
);
|
1175
|
-
var NavbarLink = withContext5(
|
1176
|
-
forwardRef25((props, ref) => {
|
1177
|
-
const Link3 = useLink();
|
1178
|
-
const { active, ...rest } = props;
|
1179
|
-
return /* @__PURE__ */ jsx29(Navbar.Link, { asChild: true, ...rest, ref, children: /* @__PURE__ */ jsx29(Link3, { "data-active": active ? "" : void 0, ...props }) });
|
1180
|
-
}),
|
1181
|
-
"link",
|
1182
|
-
{
|
1183
|
-
forwardAsChild: true
|
1184
|
-
}
|
1185
|
-
);
|
1186
|
-
|
1187
|
-
// src/components/native-select/native-select.tsx
|
1188
|
-
import * as React13 from "react";
|
1189
|
-
import { NativeSelect as Select } from "@chakra-ui/react/native-select";
|
1190
|
-
import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
|
1191
|
-
var NativeSelect = React13.forwardRef(
|
1192
|
-
function NativeSelect2(props, ref) {
|
1193
|
-
const { icon = /* @__PURE__ */ jsx30(ChevronDownIcon, {}), placeholder, children, ...rest } = props;
|
1194
|
-
return /* @__PURE__ */ jsx30(Select.Root, { ref, ...rest, children: /* @__PURE__ */ jsxs15(Select.Field, { placeholder, children: [
|
1195
|
-
children,
|
1196
|
-
/* @__PURE__ */ jsx30(Select.Indicator, { children: icon })
|
1197
|
-
] }) });
|
1198
|
-
}
|
1199
|
-
);
|
1200
|
-
|
1201
|
-
// src/components/number-input/number-input.tsx
|
1202
|
-
import { forwardRef as forwardRef27 } from "react";
|
1203
|
-
import { NumberInput as ChakraNumberInput } from "@chakra-ui/react/number-input";
|
1204
|
-
import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
|
1205
|
-
var NumberInput = forwardRef27(
|
1206
|
-
function NumberInput2(props, ref) {
|
1207
|
-
const {
|
1208
|
-
hideControls,
|
1209
|
-
startElement,
|
1210
|
-
endElement,
|
1211
|
-
inputProps,
|
1212
|
-
rootRef,
|
1213
|
-
...rest
|
1214
|
-
} = props;
|
1215
|
-
return /* @__PURE__ */ jsxs16(ChakraNumberInput.Root, { ref: rootRef, ...rest, children: [
|
1216
|
-
/* @__PURE__ */ jsx31(
|
1217
|
-
InputGroup,
|
1218
|
-
{
|
1219
|
-
startElement,
|
1220
|
-
endElement,
|
1221
|
-
width: "full",
|
1222
|
-
children: /* @__PURE__ */ jsx31(ChakraNumberInput.Input, { ref, ...inputProps })
|
1223
|
-
}
|
1224
|
-
),
|
1225
|
-
!hideControls && !endElement ? /* @__PURE__ */ jsxs16(ChakraNumberInput.Control, { children: [
|
1226
|
-
/* @__PURE__ */ jsx31(ChakraNumberInput.IncrementTrigger, {}),
|
1227
|
-
/* @__PURE__ */ jsx31(ChakraNumberInput.DecrementTrigger, {})
|
1228
|
-
] }) : null
|
1229
|
-
] });
|
1230
|
-
}
|
1231
|
-
);
|
1232
|
-
|
1233
|
-
// src/components/menu/menu.tsx
|
1234
|
-
var menu_exports = {};
|
1235
|
-
__export(menu_exports, {
|
1236
|
-
Arrow: () => MenuArrow,
|
1237
|
-
Button: () => MenuButton,
|
1238
|
-
CheckboxItem: () => MenuCheckboxItem,
|
1239
|
-
Content: () => MenuContent,
|
1240
|
-
Context: () => MenuContext,
|
1241
|
-
ContextTrigger: () => MenuContextTrigger,
|
1242
|
-
Item: () => MenuItem,
|
1243
|
-
ItemCommand: () => MenuItemCommand,
|
1244
|
-
ItemGroup: () => MenuItemGroup,
|
1245
|
-
ItemText: () => MenuItemText,
|
1246
|
-
RadioItem: () => MenuRadioItem,
|
1247
|
-
RadioItemGroup: () => MenuRadioItemGroup,
|
1248
|
-
Root: () => MenuRoot,
|
1249
|
-
Separator: () => MenuSeparator,
|
1250
|
-
Trigger: () => MenuTrigger,
|
1251
|
-
TriggerItem: () => MenuTriggerItem
|
1252
|
-
});
|
1253
|
-
import { forwardRef as forwardRef28 } from "react";
|
1254
|
-
import { AbsoluteCenter } from "@chakra-ui/react/center";
|
1255
|
-
import { Menu as ChakraMenu } from "@chakra-ui/react/menu";
|
1256
|
-
import { Portal as Portal6 } from "@chakra-ui/react/portal";
|
1257
|
-
import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
|
1258
|
-
var MenuContent = forwardRef28(
|
1259
|
-
function MenuContent2(props, ref) {
|
1260
|
-
const { portalled = true, portalRef, ...rest } = props;
|
1261
|
-
return /* @__PURE__ */ jsx32(Portal6, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx32(ChakraMenu.Positioner, { children: /* @__PURE__ */ jsx32(ChakraMenu.Content, { ref, ...rest }) }) });
|
1262
|
-
}
|
1263
|
-
);
|
1264
|
-
var MenuArrow = forwardRef28(
|
1265
|
-
function MenuArrow2(props, ref) {
|
1266
|
-
return /* @__PURE__ */ jsx32(ChakraMenu.Arrow, { ref, ...props, children: /* @__PURE__ */ jsx32(ChakraMenu.ArrowTip, {}) });
|
1267
|
-
}
|
1268
|
-
);
|
1269
|
-
var MenuCheckboxItem = forwardRef28(function MenuCheckboxItem2(props, ref) {
|
1270
|
-
return /* @__PURE__ */ jsxs17(ChakraMenu.CheckboxItem, { ref, ...props, children: [
|
1271
|
-
/* @__PURE__ */ jsx32(ChakraMenu.ItemIndicator, { hidden: false, children: /* @__PURE__ */ jsx32(CheckIcon, {}) }),
|
1272
|
-
props.children
|
1273
|
-
] });
|
1274
|
-
});
|
1275
|
-
var MenuRadioItem = forwardRef28(
|
1276
|
-
function MenuRadioItem2(props, ref) {
|
1277
|
-
const { children, ...rest } = props;
|
1278
|
-
return /* @__PURE__ */ jsxs17(ChakraMenu.RadioItem, { ps: "8", ref, ...rest, children: [
|
1279
|
-
/* @__PURE__ */ jsx32(AbsoluteCenter, { axis: "horizontal", left: "4", asChild: true, children: /* @__PURE__ */ jsx32(ChakraMenu.ItemIndicator, { children: /* @__PURE__ */ jsx32(CheckIcon, {}) }) }),
|
1280
|
-
/* @__PURE__ */ jsx32(ChakraMenu.ItemText, { children })
|
1281
|
-
] });
|
1282
|
-
}
|
1283
|
-
);
|
1284
|
-
var MenuItemGroup = forwardRef28(
|
1285
|
-
function MenuItemGroup2(props, ref) {
|
1286
|
-
const { title, children, ...rest } = props;
|
1287
|
-
return /* @__PURE__ */ jsxs17(ChakraMenu.ItemGroup, { ref, ...rest, children: [
|
1288
|
-
title && /* @__PURE__ */ jsx32(ChakraMenu.ItemGroupLabel, { userSelect: "none", children: title }),
|
1289
|
-
children
|
1290
|
-
] });
|
1291
|
-
}
|
1292
|
-
);
|
1293
|
-
var MenuTriggerItem = forwardRef28(
|
1294
|
-
function MenuTriggerItem2(props, ref) {
|
1295
|
-
const { startIcon, children, ...rest } = props;
|
1296
|
-
return /* @__PURE__ */ jsxs17(ChakraMenu.TriggerItem, { ref, ...rest, children: [
|
1297
|
-
startIcon,
|
1298
|
-
children,
|
1299
|
-
/* @__PURE__ */ jsx32(ChevronRightIcon, {})
|
1300
|
-
] });
|
1301
|
-
}
|
1302
|
-
);
|
1303
|
-
var MenuButton = forwardRef28(
|
1304
|
-
function MenuButton2(props, ref) {
|
1305
|
-
return /* @__PURE__ */ jsx32(MenuTrigger, { ref, asChild: true, children: /* @__PURE__ */ jsx32(Button, { ...props }) });
|
1306
|
-
}
|
1307
|
-
);
|
1308
|
-
var MenuRadioItemGroup = ChakraMenu.RadioItemGroup;
|
1309
|
-
var MenuContextTrigger = ChakraMenu.ContextTrigger;
|
1310
|
-
var MenuRoot = ChakraMenu.Root;
|
1311
|
-
var MenuSeparator = ChakraMenu.Separator;
|
1312
|
-
var MenuContext = ChakraMenu.Context;
|
1313
|
-
var MenuItem = ChakraMenu.Item;
|
1314
|
-
var MenuItemText = ChakraMenu.ItemText;
|
1315
|
-
var MenuItemCommand = ChakraMenu.ItemCommand;
|
1316
|
-
var MenuTrigger = ChakraMenu.Trigger;
|
1317
|
-
|
1318
|
-
// src/components/page/page.tsx
|
1319
|
-
var page_exports = {};
|
1320
|
-
__export(page_exports, {
|
1321
|
-
Body: () => PageBody,
|
1322
|
-
Description: () => PageDescription,
|
1323
|
-
Header: () => PageHeader,
|
1324
|
-
HeaderSection: () => PageHeaderSection,
|
1325
|
-
Root: () => PageRoot,
|
1326
|
-
Title: () => PageTitle
|
1327
|
-
});
|
1328
|
-
import React14, { forwardRef as forwardRef29 } from "react";
|
1329
|
-
import {
|
1330
|
-
chakra as chakra4
|
1331
|
-
} from "@chakra-ui/react";
|
1332
|
-
|
1333
|
-
// src/components/page/page.context.ts
|
1334
|
-
import { createContext as createContext2, createSlotRecipeContext as createSlotRecipeContext5 } from "@chakra-ui/react";
|
1335
|
-
var {
|
1336
|
-
withProvider: withProvider5,
|
1337
|
-
withContext: withContext6,
|
1338
|
-
useStyles: usePageStyles,
|
1339
|
-
useClassNames
|
1340
|
-
} = createSlotRecipeContext5({
|
1341
|
-
key: "suiPage"
|
1342
|
-
});
|
1343
|
-
var [PageProvider, usePageContext] = createContext2();
|
1344
|
-
|
1345
|
-
// src/components/page/page.tsx
|
1346
|
-
import { jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
|
1347
|
-
var PageRoot = withProvider5(
|
1348
|
-
forwardRef29(function PageRoot2(props, ref) {
|
1349
|
-
const { loading, skeleton, children, ...containerProps } = props;
|
1350
|
-
const context = {
|
1351
|
-
loading,
|
1352
|
-
skeleton
|
1353
|
-
};
|
1354
|
-
return /* @__PURE__ */ jsx33(PageProvider, { value: context, children: /* @__PURE__ */ jsx33(chakra4.main, { ref, ...containerProps, children }) });
|
1355
|
-
}),
|
1356
|
-
"root"
|
1357
|
-
);
|
1358
|
-
var PageHeader = withContext6(
|
1359
|
-
forwardRef29(function PageHeader2(props, ref) {
|
1360
|
-
const { nav, title, description, actions, footer, css, ...rest } = props;
|
1361
|
-
const styles = usePageStyles();
|
1362
|
-
const classNames = useClassNames();
|
1363
|
-
let heading;
|
1364
|
-
if (title || description) {
|
1365
|
-
heading = /* @__PURE__ */ jsxs18(
|
1366
|
-
chakra4.div,
|
1367
|
-
{
|
1368
|
-
gridArea: "heading",
|
1369
|
-
className: classNames.heading,
|
1370
|
-
css: styles.heading,
|
1371
|
-
children: [
|
1372
|
-
typeof title === "string" ? /* @__PURE__ */ jsx33(PageTitle, { children: title }) : title,
|
1373
|
-
typeof description === "string" ? /* @__PURE__ */ jsx33(PageDescription, { children: description }) : description
|
1374
|
-
]
|
1375
|
-
}
|
1376
|
-
);
|
1377
|
-
}
|
1378
|
-
return /* @__PURE__ */ jsxs18(chakra4.header, { ref, css, ...rest, className: props.className, children: [
|
1379
|
-
React14.isValidElement(nav) ? React14.cloneElement(nav, {
|
1380
|
-
gridArea: "nav"
|
1381
|
-
}) : null,
|
1382
|
-
heading,
|
1383
|
-
React14.isValidElement(actions) ? React14.cloneElement(actions, {
|
1384
|
-
gridArea: "actions"
|
1385
|
-
}) : null,
|
1386
|
-
React14.isValidElement(footer) ? React14.cloneElement(footer, {
|
1387
|
-
gridArea: "footer"
|
1388
|
-
}) : null
|
1389
|
-
] });
|
1390
|
-
}),
|
1391
|
-
"header"
|
1392
|
-
);
|
1393
|
-
var PageHeaderSection = withContext6(
|
1394
|
-
"div",
|
1395
|
-
"section"
|
1396
|
-
);
|
1397
|
-
var PageTitle = withContext6(
|
1398
|
-
"h2",
|
1399
|
-
"title"
|
1400
|
-
);
|
1401
|
-
var PageDescription = withContext6(
|
1402
|
-
"div",
|
1403
|
-
"description"
|
1404
|
-
);
|
1405
|
-
var PageBody = withContext6(
|
1406
|
-
forwardRef29((props, ref) => {
|
1407
|
-
const { children, ...rest } = props;
|
1408
|
-
const { loading, skeleton } = usePageContext();
|
1409
|
-
let content = children;
|
1410
|
-
if (loading) {
|
1411
|
-
content = skeleton || /* @__PURE__ */ jsx33(loading_overlay_exports.Root, { children: /* @__PURE__ */ jsx33(loading_overlay_exports.Spinner, {}) });
|
1412
|
-
}
|
1413
|
-
return /* @__PURE__ */ jsx33(chakra4.div, { ref, ...rest, children: content });
|
1414
|
-
}),
|
1415
|
-
"body"
|
1416
|
-
);
|
1417
|
-
PageBody.displayName = "PageBody";
|
1418
|
-
|
1419
|
-
// src/components/pagination/pagination.tsx
|
1420
|
-
var pagination_exports = {};
|
1421
|
-
__export(pagination_exports, {
|
1422
|
-
Context: () => Context3,
|
1423
|
-
Ellipsis: () => Ellipsis2,
|
1424
|
-
Item: () => Item3,
|
1425
|
-
Items: () => Items,
|
1426
|
-
NextButton: () => NextButton,
|
1427
|
-
NextTrigger: () => NextTrigger,
|
1428
|
-
PageText: () => PageText,
|
1429
|
-
PrevButton: () => PrevButton,
|
1430
|
-
PrevTrigger: () => PrevTrigger,
|
1431
|
-
Root: () => Root9
|
1432
|
-
});
|
1433
|
-
import { forwardRef as forwardRef30, useMemo as useMemo2 } from "react";
|
1434
|
-
import {
|
1435
|
-
Pagination as ChakraPagination,
|
1436
|
-
usePaginationContext
|
1437
|
-
} from "@chakra-ui/react/pagination";
|
1438
|
-
import { Text } from "@chakra-ui/react/typography";
|
1439
|
-
import { createContext as createContext3 } from "@saas-ui/core/utils";
|
1440
|
-
import { jsx as jsx34 } from "react/jsx-runtime";
|
1441
|
-
var [RootPropsProvider, useRootProps] = createContext3({
|
1442
|
-
name: "RootPropsProvider"
|
1443
|
-
});
|
1444
|
-
var variantMap = {
|
1445
|
-
outline: { default: "ghost", ellipsis: "plain", current: "outline" },
|
1446
|
-
solid: { default: "outline", ellipsis: "outline", current: "solid" },
|
1447
|
-
subtle: { default: "ghost", ellipsis: "plain", current: "subtle" }
|
1448
|
-
};
|
1449
|
-
var Root9 = forwardRef30(
|
1450
|
-
function PaginationRoot(props, ref) {
|
1451
|
-
const { size = "sm", variant = "outline", ...rest } = props;
|
1452
|
-
return /* @__PURE__ */ jsx34(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: /* @__PURE__ */ jsx34(ChakraPagination.Root, { ref, type: "button", ...rest }) });
|
1453
|
-
}
|
1454
|
-
);
|
1455
|
-
var Ellipsis2 = forwardRef30(function PaginationEllipsis(props, ref) {
|
1456
|
-
var _a;
|
1457
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
1458
|
-
return /* @__PURE__ */ jsx34(ChakraPagination.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ jsx34(Button, { as: "span", variant: variantMap2.ellipsis, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx34(EllipsisIcon, {}) }) });
|
1459
|
-
});
|
1460
|
-
var Item3 = forwardRef30(
|
1461
|
-
function PaginationItem(props, ref) {
|
1462
|
-
const { page } = usePaginationContext();
|
1463
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
1464
|
-
const current = page === props.value;
|
1465
|
-
const variant = current ? variantMap2.current : variantMap2.default;
|
1466
|
-
return /* @__PURE__ */ jsx34(ChakraPagination.Item, { ref, ...props, asChild: true, children: /* @__PURE__ */ jsx34(Button, { variant, size, children: props.value }) });
|
1467
|
-
}
|
1468
|
-
);
|
1469
|
-
var PrevButton = forwardRef30(function PaginationPrevTrigger(props, ref) {
|
1470
|
-
var _a;
|
1471
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
1472
|
-
return /* @__PURE__ */ jsx34(ChakraPagination.PrevTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx34(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx34(ChevronLeftIcon, {}) }) });
|
1473
|
-
});
|
1474
|
-
var NextButton = forwardRef30(function PaginationNextTrigger(props, ref) {
|
1475
|
-
var _a;
|
1476
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
1477
|
-
return /* @__PURE__ */ jsx34(ChakraPagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx34(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx34(ChevronRightIcon, {}) }) });
|
1478
|
-
});
|
1479
|
-
var Items = (props) => {
|
1480
|
-
return /* @__PURE__ */ jsx34(ChakraPagination.Context, { children: ({ pages }) => pages.map((page, index) => {
|
1481
|
-
return page.type === "ellipsis" ? /* @__PURE__ */ jsx34(Ellipsis2, { index, ...props }, index) : /* @__PURE__ */ jsx34(Item3, { type: "page", value: page.value, ...props }, index);
|
1482
|
-
}) });
|
1483
|
-
};
|
1484
|
-
var PageText = forwardRef30(
|
1485
|
-
function PaginationPageText(props, ref) {
|
1486
|
-
const { format = "compact", ...rest } = props;
|
1487
|
-
const { page, pages, pageRange, count } = usePaginationContext();
|
1488
|
-
const content = useMemo2(() => {
|
1489
|
-
if (format === "short") return `${page} / ${pages.length}`;
|
1490
|
-
if (format === "compact") return `${page} of ${pages.length}`;
|
1491
|
-
return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
|
1492
|
-
}, [format, page, pages.length, pageRange, count]);
|
1493
|
-
return /* @__PURE__ */ jsx34(Text, { fontWeight: "medium", ref, ...rest, children: content });
|
1494
|
-
}
|
1495
|
-
);
|
1496
|
-
var PrevTrigger = ChakraPagination.PrevTrigger;
|
1497
|
-
var NextTrigger = ChakraPagination.NextTrigger;
|
1498
|
-
var Context3 = ChakraPagination.Context;
|
1499
|
-
|
1500
|
-
// src/components/password-input/password-input.tsx
|
1501
|
-
import { forwardRef as forwardRef31, useRef } from "react";
|
1502
|
-
import { mergeRefs, useControllableState } from "@chakra-ui/react";
|
1503
|
-
|
1504
|
-
// ../../node_modules/react-icons/lib/iconBase.mjs
|
1505
|
-
import React16 from "react";
|
1506
|
-
|
1507
|
-
// ../../node_modules/react-icons/lib/iconContext.mjs
|
1508
|
-
import React15 from "react";
|
1509
|
-
var DefaultContext = {
|
1510
|
-
color: void 0,
|
1511
|
-
size: void 0,
|
1512
|
-
className: void 0,
|
1513
|
-
style: void 0,
|
1514
|
-
attr: void 0
|
1515
|
-
};
|
1516
|
-
var IconContext = React15.createContext && /* @__PURE__ */ React15.createContext(DefaultContext);
|
1517
|
-
|
1518
|
-
// ../../node_modules/react-icons/lib/iconBase.mjs
|
1519
|
-
var _excluded = ["attr", "size", "title"];
|
1520
|
-
function _objectWithoutProperties(source, excluded) {
|
1521
|
-
if (source == null) return {};
|
1522
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
1523
|
-
var key, i;
|
1524
|
-
if (Object.getOwnPropertySymbols) {
|
1525
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
1526
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
1527
|
-
key = sourceSymbolKeys[i];
|
1528
|
-
if (excluded.indexOf(key) >= 0) continue;
|
1529
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
1530
|
-
target[key] = source[key];
|
1531
|
-
}
|
1532
|
-
}
|
1533
|
-
return target;
|
1534
|
-
}
|
1535
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
1536
|
-
if (source == null) return {};
|
1537
|
-
var target = {};
|
1538
|
-
for (var key in source) {
|
1539
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
1540
|
-
if (excluded.indexOf(key) >= 0) continue;
|
1541
|
-
target[key] = source[key];
|
1542
|
-
}
|
1543
|
-
}
|
1544
|
-
return target;
|
1545
|
-
}
|
1546
|
-
function _extends() {
|
1547
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
1548
|
-
for (var i = 1; i < arguments.length; i++) {
|
1549
|
-
var source = arguments[i];
|
1550
|
-
for (var key in source) {
|
1551
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
1552
|
-
target[key] = source[key];
|
1553
|
-
}
|
1554
|
-
}
|
1555
|
-
}
|
1556
|
-
return target;
|
1557
|
-
};
|
1558
|
-
return _extends.apply(this, arguments);
|
1559
|
-
}
|
1560
|
-
function ownKeys(e, r) {
|
1561
|
-
var t = Object.keys(e);
|
1562
|
-
if (Object.getOwnPropertySymbols) {
|
1563
|
-
var o = Object.getOwnPropertySymbols(e);
|
1564
|
-
r && (o = o.filter(function(r2) {
|
1565
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
1566
|
-
})), t.push.apply(t, o);
|
1567
|
-
}
|
1568
|
-
return t;
|
1569
|
-
}
|
1570
|
-
function _objectSpread(e) {
|
1571
|
-
for (var r = 1; r < arguments.length; r++) {
|
1572
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
1573
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
1574
|
-
_defineProperty(e, r2, t[r2]);
|
1575
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
1576
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
1577
|
-
});
|
1578
|
-
}
|
1579
|
-
return e;
|
1580
|
-
}
|
1581
|
-
function _defineProperty(obj, key, value) {
|
1582
|
-
key = _toPropertyKey(key);
|
1583
|
-
if (key in obj) {
|
1584
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
1585
|
-
} else {
|
1586
|
-
obj[key] = value;
|
1587
|
-
}
|
1588
|
-
return obj;
|
1589
|
-
}
|
1590
|
-
function _toPropertyKey(t) {
|
1591
|
-
var i = _toPrimitive(t, "string");
|
1592
|
-
return "symbol" == typeof i ? i : i + "";
|
1593
|
-
}
|
1594
|
-
function _toPrimitive(t, r) {
|
1595
|
-
if ("object" != typeof t || !t) return t;
|
1596
|
-
var e = t[Symbol.toPrimitive];
|
1597
|
-
if (void 0 !== e) {
|
1598
|
-
var i = e.call(t, r || "default");
|
1599
|
-
if ("object" != typeof i) return i;
|
1600
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1601
|
-
}
|
1602
|
-
return ("string" === r ? String : Number)(t);
|
1603
|
-
}
|
1604
|
-
function Tree2Element(tree) {
|
1605
|
-
return tree && tree.map((node, i) => /* @__PURE__ */ React16.createElement(node.tag, _objectSpread({
|
1606
|
-
key: i
|
1607
|
-
}, node.attr), Tree2Element(node.child)));
|
1608
|
-
}
|
1609
|
-
function GenIcon(data) {
|
1610
|
-
return (props) => /* @__PURE__ */ React16.createElement(IconBase, _extends({
|
1611
|
-
attr: _objectSpread({}, data.attr)
|
1612
|
-
}, props), Tree2Element(data.child));
|
1613
|
-
}
|
1614
|
-
function IconBase(props) {
|
1615
|
-
var elem = (conf) => {
|
1616
|
-
var {
|
1617
|
-
attr,
|
1618
|
-
size,
|
1619
|
-
title
|
1620
|
-
} = props, svgProps = _objectWithoutProperties(props, _excluded);
|
1621
|
-
var computedSize = size || conf.size || "1em";
|
1622
|
-
var className;
|
1623
|
-
if (conf.className) className = conf.className;
|
1624
|
-
if (props.className) className = (className ? className + " " : "") + props.className;
|
1625
|
-
return /* @__PURE__ */ React16.createElement("svg", _extends({
|
1626
|
-
stroke: "currentColor",
|
1627
|
-
fill: "currentColor",
|
1628
|
-
strokeWidth: "0"
|
1629
|
-
}, conf.attr, attr, svgProps, {
|
1630
|
-
className,
|
1631
|
-
style: _objectSpread(_objectSpread({
|
1632
|
-
color: props.color || conf.color
|
1633
|
-
}, conf.style), props.style),
|
1634
|
-
height: computedSize,
|
1635
|
-
width: computedSize,
|
1636
|
-
xmlns: "http://www.w3.org/2000/svg"
|
1637
|
-
}), title && /* @__PURE__ */ React16.createElement("title", null, title), props.children);
|
1638
|
-
};
|
1639
|
-
return IconContext !== void 0 ? /* @__PURE__ */ React16.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
|
1640
|
-
}
|
1641
|
-
|
1642
|
-
// ../../node_modules/react-icons/lu/index.mjs
|
1643
|
-
function LuEyeOff(props) {
|
1644
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
|
1645
|
-
}
|
1646
|
-
function LuEye(props) {
|
1647
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
|
1648
|
-
}
|
1649
|
-
|
1650
|
-
// src/components/password-input/password-input.tsx
|
1651
|
-
import { jsx as jsx35 } from "react/jsx-runtime";
|
1652
|
-
var PasswordInput = forwardRef31(
|
1653
|
-
function PasswordInput2(props, ref) {
|
1654
|
-
const {
|
1655
|
-
rootProps,
|
1656
|
-
defaultVisible,
|
1657
|
-
visible: visibleProp,
|
1658
|
-
onVisibleChange,
|
1659
|
-
visibilityIcon = { on: /* @__PURE__ */ jsx35(LuEye, {}), off: /* @__PURE__ */ jsx35(LuEyeOff, {}) },
|
1660
|
-
...rest
|
1661
|
-
} = props;
|
1662
|
-
const [visible, setVisible] = useControllableState({
|
1663
|
-
value: visibleProp,
|
1664
|
-
defaultValue: defaultVisible || false,
|
1665
|
-
onChange: onVisibleChange
|
1666
|
-
});
|
1667
|
-
const inputRef = useRef(null);
|
1668
|
-
return /* @__PURE__ */ jsx35(
|
1669
|
-
InputGroup,
|
1670
|
-
{
|
1671
|
-
width: "full",
|
1672
|
-
endElement: /* @__PURE__ */ jsx35(
|
1673
|
-
VisibilityTrigger,
|
1674
|
-
{
|
1675
|
-
disabled: rest.disabled,
|
1676
|
-
onPointerDown: (e) => {
|
1677
|
-
if (rest.disabled) return;
|
1678
|
-
if (e.button !== 0) return;
|
1679
|
-
e.preventDefault();
|
1680
|
-
setVisible(!visible);
|
1681
|
-
},
|
1682
|
-
children: visible ? visibilityIcon.off : visibilityIcon.on
|
1683
|
-
}
|
1684
|
-
),
|
1685
|
-
...rootProps,
|
1686
|
-
children: /* @__PURE__ */ jsx35(
|
1687
|
-
Input,
|
1688
|
-
{
|
1689
|
-
...rest,
|
1690
|
-
ref: mergeRefs(ref, inputRef),
|
1691
|
-
type: visible ? "text" : "password"
|
1692
|
-
}
|
1693
|
-
)
|
1694
|
-
}
|
1695
|
-
);
|
1696
|
-
}
|
1697
|
-
);
|
1698
|
-
var VisibilityTrigger = forwardRef31(
|
1699
|
-
function VisibilityTrigger2(props, ref) {
|
1700
|
-
return /* @__PURE__ */ jsx35(
|
1701
|
-
IconButton,
|
1702
|
-
{
|
1703
|
-
tabIndex: -1,
|
1704
|
-
ref,
|
1705
|
-
me: "-2",
|
1706
|
-
aspectRatio: "square",
|
1707
|
-
size: "sm",
|
1708
|
-
variant: "ghost",
|
1709
|
-
colorPalette: "gray",
|
1710
|
-
height: "calc(100% - {spacing.2})",
|
1711
|
-
"aria-label": "Toggle password visibility",
|
1712
|
-
...props
|
1713
|
-
}
|
1714
|
-
);
|
1715
|
-
}
|
1716
|
-
);
|
1717
|
-
|
1718
|
-
// src/components/persona/persona.tsx
|
1719
|
-
import * as React18 from "react";
|
1720
|
-
|
1721
|
-
// src/components/persona/persona-primitive.tsx
|
1722
|
-
import { forwardRef as forwardRef32 } from "react";
|
22
|
+
Toaster,
|
23
|
+
toast
|
24
|
+
} from "./chunk-5RWFHB7W.js";
|
1723
25
|
import {
|
1724
|
-
|
1725
|
-
} from "
|
1726
|
-
import { dataAttr } from "@saas-ui/core/utils";
|
1727
|
-
|
1728
|
-
// src/components/persona/persona.context.ts
|
1729
|
-
import { createSlotRecipeContext as createSlotRecipeContext6 } from "@chakra-ui/react";
|
1730
|
-
var {
|
1731
|
-
useStyles: usePersonaStyles,
|
1732
|
-
withProvider: withProvider6,
|
1733
|
-
withContext: withContext7
|
1734
|
-
} = createSlotRecipeContext6({
|
1735
|
-
key: "suiPersona"
|
1736
|
-
});
|
1737
|
-
|
1738
|
-
// src/components/persona/persona-primitive.tsx
|
1739
|
-
import { jsx as jsx36 } from "react/jsx-runtime";
|
1740
|
-
var PersonaRoot = withProvider6(
|
1741
|
-
forwardRef32((props, ref) => {
|
1742
|
-
const { outOfOffice, presence, ...rest } = props;
|
1743
|
-
return /* @__PURE__ */ jsx36(
|
1744
|
-
chakra5.div,
|
1745
|
-
{
|
1746
|
-
ref,
|
1747
|
-
...rest,
|
1748
|
-
"data-out-of-office": dataAttr(outOfOffice),
|
1749
|
-
"data-presence": presence,
|
1750
|
-
css: [
|
1751
|
-
presence ? {
|
1752
|
-
"--persona-presence": `colors.presence.${presence}`
|
1753
|
-
} : void 0,
|
1754
|
-
rest.css
|
1755
|
-
]
|
1756
|
-
}
|
1757
|
-
);
|
1758
|
-
}),
|
1759
|
-
"root"
|
1760
|
-
);
|
1761
|
-
var PersonaAvatar = forwardRef32(
|
1762
|
-
(props, ref) => {
|
1763
|
-
const {
|
1764
|
-
name,
|
1765
|
-
getInitials: getInitials2 = (name2) => name2 == null ? void 0 : name2[0],
|
1766
|
-
icon,
|
1767
|
-
loading,
|
1768
|
-
onError,
|
1769
|
-
src,
|
1770
|
-
srcSet,
|
1771
|
-
children,
|
1772
|
-
...rest
|
1773
|
-
} = props;
|
1774
|
-
return /* @__PURE__ */ jsx36(Avatar, { ref, ...rest, children });
|
1775
|
-
}
|
1776
|
-
);
|
1777
|
-
var PersonaPresenceBadge = withContext7("span", "presence");
|
1778
|
-
var PersonaDetails = withContext7(
|
1779
|
-
"div",
|
1780
|
-
"details"
|
1781
|
-
);
|
1782
|
-
var PersonaLabel = withContext7(
|
1783
|
-
"span",
|
1784
|
-
"label"
|
1785
|
-
);
|
1786
|
-
PersonaLabel.displayName = "PersonaLabel";
|
1787
|
-
var PersonaSecondaryLabel = withContext7(
|
1788
|
-
"span",
|
1789
|
-
"secondaryLabel"
|
1790
|
-
);
|
1791
|
-
var PersonaTertiaryLabel = withContext7(
|
1792
|
-
"span",
|
1793
|
-
"tertiaryLabel"
|
1794
|
-
);
|
1795
|
-
|
1796
|
-
// src/components/persona/persona.tsx
|
1797
|
-
import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
|
1798
|
-
var Persona = React18.forwardRef(
|
1799
|
-
(props, ref) => {
|
1800
|
-
const {
|
1801
|
-
name,
|
1802
|
-
presence,
|
1803
|
-
presenceIcon,
|
1804
|
-
isOutOfOffice,
|
1805
|
-
label,
|
1806
|
-
secondaryLabel,
|
1807
|
-
tertiaryLabel,
|
1808
|
-
size,
|
1809
|
-
hideDetails,
|
1810
|
-
children,
|
1811
|
-
/** Avatar props */
|
1812
|
-
getInitials: getInitials2,
|
1813
|
-
icon,
|
1814
|
-
loading,
|
1815
|
-
onError,
|
1816
|
-
src,
|
1817
|
-
srcSet,
|
1818
|
-
fallback,
|
1819
|
-
...rest
|
1820
|
-
} = props;
|
1821
|
-
return /* @__PURE__ */ jsxs19(
|
1822
|
-
PersonaRoot,
|
1823
|
-
{
|
1824
|
-
ref,
|
1825
|
-
outOfOffice: isOutOfOffice,
|
1826
|
-
presence,
|
1827
|
-
size,
|
1828
|
-
...rest,
|
1829
|
-
children: [
|
1830
|
-
/* @__PURE__ */ jsx37(
|
1831
|
-
PersonaAvatar,
|
1832
|
-
{
|
1833
|
-
name,
|
1834
|
-
size,
|
1835
|
-
getInitials: getInitials2,
|
1836
|
-
icon,
|
1837
|
-
loading,
|
1838
|
-
onError,
|
1839
|
-
src,
|
1840
|
-
srcSet,
|
1841
|
-
fallback,
|
1842
|
-
children: presence ? /* @__PURE__ */ jsx37(PersonaPresenceBadge, { children: presenceIcon }) : null
|
1843
|
-
}
|
1844
|
-
),
|
1845
|
-
!hideDetails && /* @__PURE__ */ jsxs19(PersonaDetails, { children: [
|
1846
|
-
/* @__PURE__ */ jsx37(PersonaLabel, { children: label || name }),
|
1847
|
-
secondaryLabel && /* @__PURE__ */ jsx37(PersonaSecondaryLabel, { children: secondaryLabel }),
|
1848
|
-
tertiaryLabel && /* @__PURE__ */ jsx37(PersonaTertiaryLabel, { children: tertiaryLabel }),
|
1849
|
-
children
|
1850
|
-
] })
|
1851
|
-
]
|
1852
|
-
}
|
1853
|
-
);
|
1854
|
-
}
|
1855
|
-
);
|
1856
|
-
Persona.displayName = "Persona";
|
1857
|
-
var PersonaAvatar2 = React18.forwardRef(function PersonaAvatar3(props, ref) {
|
1858
|
-
return /* @__PURE__ */ jsx37(Persona, { ref, ...props, hideDetails: true });
|
1859
|
-
});
|
1860
|
-
|
1861
|
-
// src/components/persona/presence.ts
|
1862
|
-
var defaultPersonaPresenceOptions = {
|
1863
|
-
online: {
|
1864
|
-
label: "Online",
|
1865
|
-
color: "presence.online"
|
1866
|
-
},
|
1867
|
-
offline: {
|
1868
|
-
label: "Offline",
|
1869
|
-
color: "presence.offline"
|
1870
|
-
},
|
1871
|
-
busy: {
|
1872
|
-
label: "Busy",
|
1873
|
-
color: "presence.busy"
|
1874
|
-
},
|
1875
|
-
dnd: {
|
1876
|
-
label: "Do-not-disturb",
|
1877
|
-
color: "presence.dnd"
|
1878
|
-
},
|
1879
|
-
away: {
|
1880
|
-
label: "Away",
|
1881
|
-
color: "presence.away"
|
1882
|
-
}
|
1883
|
-
};
|
1884
|
-
|
1885
|
-
// src/components/pin-input/pin-input.tsx
|
1886
|
-
import { forwardRef as forwardRef34 } from "react";
|
1887
|
-
import { Group as Group2 } from "@chakra-ui/react/group";
|
1888
|
-
import { PinInput as ChakraPinInput } from "@chakra-ui/react/pin-input";
|
1889
|
-
import { jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
|
1890
|
-
var PinInput = forwardRef34(
|
1891
|
-
function PinInput2(props, ref) {
|
1892
|
-
const {
|
1893
|
-
pinLength = 4,
|
1894
|
-
inputProps,
|
1895
|
-
rootRef,
|
1896
|
-
attached,
|
1897
|
-
gap = attached ? 0 : 2,
|
1898
|
-
...rest
|
1899
|
-
} = props;
|
1900
|
-
return /* @__PURE__ */ jsxs20(ChakraPinInput.Root, { ref: rootRef, ...rest, children: [
|
1901
|
-
/* @__PURE__ */ jsx38(ChakraPinInput.HiddenInput, { ref, ...inputProps }),
|
1902
|
-
/* @__PURE__ */ jsx38(ChakraPinInput.Control, { children: /* @__PURE__ */ jsx38(Group2, { attached, gap, children: Array.from({ length: pinLength }).map((_, index) => /* @__PURE__ */ jsx38(ChakraPinInput.Input, { index }, index)) }) })
|
1903
|
-
] });
|
1904
|
-
}
|
1905
|
-
);
|
1906
|
-
|
1907
|
-
// src/components/progress/index.ts
|
1908
|
-
import { Progress } from "@chakra-ui/react/progress";
|
1909
|
-
|
1910
|
-
// src/components/progress-circle/index.ts
|
1911
|
-
import { ProgressCircle } from "@chakra-ui/react/progress-circle";
|
1912
|
-
|
1913
|
-
// src/components/radio/radio.tsx
|
1914
|
-
import { forwardRef as forwardRef35 } from "react";
|
1915
|
-
import { RadioGroup as ChakraRadioGroup } from "@chakra-ui/react/radio-group";
|
1916
|
-
import { jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
|
1917
|
-
var Radio = forwardRef35(
|
1918
|
-
function Radio2(props, ref) {
|
1919
|
-
const { children, inputProps, rootRef, ...rest } = props;
|
1920
|
-
return /* @__PURE__ */ jsxs21(ChakraRadioGroup.Item, { ref: rootRef, ...rest, children: [
|
1921
|
-
/* @__PURE__ */ jsx39(ChakraRadioGroup.ItemHiddenInput, { ref, ...inputProps }),
|
1922
|
-
/* @__PURE__ */ jsx39(ChakraRadioGroup.ItemIndicator, {}),
|
1923
|
-
children && /* @__PURE__ */ jsx39(ChakraRadioGroup.ItemText, { children })
|
1924
|
-
] });
|
1925
|
-
}
|
1926
|
-
);
|
1927
|
-
var RadioGroup = ChakraRadioGroup.Root;
|
1928
|
-
|
1929
|
-
// src/components/radio-group/index.ts
|
1930
|
-
import { RadioGroup as RadioGroup2 } from "@chakra-ui/react/radio-group";
|
1931
|
-
|
1932
|
-
// src/components/radio-card/radio-card.tsx
|
1933
|
-
var radio_card_exports = {};
|
1934
|
-
__export(radio_card_exports, {
|
1935
|
-
Item: () => RadioCardItem,
|
1936
|
-
ItemIndicator: () => RadioCardItemIndicator,
|
1937
|
-
Label: () => RadioCardLabel,
|
1938
|
-
Root: () => RadioCardRoot
|
1939
|
-
});
|
1940
|
-
import { Fragment as Fragment8, forwardRef as forwardRef36 } from "react";
|
1941
|
-
import { RadioCard } from "@chakra-ui/react/radio-card";
|
1942
|
-
import { jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
|
1943
|
-
var RadioCardItem = forwardRef36(
|
1944
|
-
function RadioCardItem2(props, ref) {
|
1945
|
-
const {
|
1946
|
-
inputProps,
|
1947
|
-
label,
|
1948
|
-
description,
|
1949
|
-
addon,
|
1950
|
-
icon,
|
1951
|
-
indicator = /* @__PURE__ */ jsx40(RadioCard.ItemIndicator, {}),
|
1952
|
-
indicatorPlacement = "end",
|
1953
|
-
...rest
|
1954
|
-
} = props;
|
1955
|
-
const hasContent = label || description || icon;
|
1956
|
-
const ContentWrapper = indicator ? RadioCard.ItemContent : Fragment8;
|
1957
|
-
return /* @__PURE__ */ jsxs22(RadioCard.Item, { ...rest, children: [
|
1958
|
-
/* @__PURE__ */ jsx40(RadioCard.ItemHiddenInput, { ref, ...inputProps }),
|
1959
|
-
/* @__PURE__ */ jsxs22(RadioCard.ItemControl, { children: [
|
1960
|
-
indicatorPlacement === "start" && indicator,
|
1961
|
-
hasContent && /* @__PURE__ */ jsxs22(ContentWrapper, { children: [
|
1962
|
-
icon,
|
1963
|
-
label && /* @__PURE__ */ jsx40(RadioCard.ItemText, { children: label }),
|
1964
|
-
description && /* @__PURE__ */ jsx40(RadioCard.ItemDescription, { children: description }),
|
1965
|
-
indicatorPlacement === "inside" && indicator
|
1966
|
-
] }),
|
1967
|
-
indicatorPlacement === "end" && indicator
|
1968
|
-
] }),
|
1969
|
-
addon && /* @__PURE__ */ jsx40(RadioCard.ItemAddon, { children: addon })
|
1970
|
-
] });
|
1971
|
-
}
|
1972
|
-
);
|
1973
|
-
var RadioCardRoot = RadioCard.Root;
|
1974
|
-
var RadioCardLabel = RadioCard.Label;
|
1975
|
-
var RadioCardItemIndicator = RadioCard.ItemIndicator;
|
1976
|
-
|
1977
|
-
// src/components/rating-group/index.ts
|
1978
|
-
import { RatingGroup } from "@chakra-ui/react/rating-group";
|
1979
|
-
|
1980
|
-
// src/components/search-input/search-input.tsx
|
1981
|
-
import React19, { forwardRef as forwardRef37 } from "react";
|
1982
|
-
import {
|
1983
|
-
Group as Group3,
|
1984
|
-
IconButton as IconButton4,
|
1985
|
-
Input as Input3,
|
1986
|
-
InputElement as InputElement2,
|
1987
|
-
mergeRefs as mergeRefs2,
|
1988
|
-
useControllableState as useControllableState2
|
1989
|
-
} from "@chakra-ui/react";
|
1990
|
-
import { callAll } from "@saas-ui/core/utils";
|
1991
|
-
import { jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
|
1992
|
-
var SearchInput = forwardRef37(
|
1993
|
-
(props, ref) => {
|
1994
|
-
const {
|
1995
|
-
placeholder = "Search",
|
1996
|
-
value: valueProp,
|
1997
|
-
defaultValue: defaultValueProp,
|
1998
|
-
size,
|
1999
|
-
variant,
|
2000
|
-
width = "full",
|
2001
|
-
icon = /* @__PURE__ */ jsx41(SearchIcon, {}),
|
2002
|
-
resetIcon,
|
2003
|
-
endElement: endElementProp,
|
2004
|
-
onChange: onChangeProp,
|
2005
|
-
onReset: onResetProp,
|
2006
|
-
onKeyDown: onKeyDownProp,
|
2007
|
-
disabled,
|
2008
|
-
...inputProps
|
2009
|
-
} = props;
|
2010
|
-
const inputRef = React19.useRef(null);
|
2011
|
-
const [value, setValue] = useControllableState2({
|
2012
|
-
value: valueProp,
|
2013
|
-
defaultValue: defaultValueProp
|
2014
|
-
});
|
2015
|
-
const onChange = React19.useCallback(
|
2016
|
-
(e) => {
|
2017
|
-
setValue(e.target.value);
|
2018
|
-
},
|
2019
|
-
[setValue]
|
2020
|
-
);
|
2021
|
-
const onKeyDown = React19.useCallback(
|
2022
|
-
(event) => {
|
2023
|
-
if (event.key === "Escape") {
|
2024
|
-
setValue("");
|
2025
|
-
onReset();
|
2026
|
-
}
|
2027
|
-
},
|
2028
|
-
[onResetProp, setValue]
|
2029
|
-
);
|
2030
|
-
const onReset = () => {
|
2031
|
-
var _a;
|
2032
|
-
setValue("");
|
2033
|
-
onResetProp == null ? void 0 : onResetProp();
|
2034
|
-
(_a = inputRef.current) == null ? void 0 : _a.focus();
|
2035
|
-
};
|
2036
|
-
const showReset = value && !props.disabled;
|
2037
|
-
const endElement = showReset ? /* @__PURE__ */ jsx41(SearchInputResetButton, { size, children: resetIcon }) : endElementProp;
|
2038
|
-
return /* @__PURE__ */ jsxs23(Group3, { width, children: [
|
2039
|
-
/* @__PURE__ */ jsx41(
|
2040
|
-
InputElement2,
|
2041
|
-
{
|
2042
|
-
placement: "start",
|
2043
|
-
px: "0",
|
2044
|
-
aspectRatio: "9/10",
|
2045
|
-
fontSize: size,
|
2046
|
-
children: icon
|
2047
|
-
}
|
2048
|
-
),
|
2049
|
-
/* @__PURE__ */ jsx41(
|
2050
|
-
Input3,
|
2051
|
-
{
|
2052
|
-
type: "text",
|
2053
|
-
placeholder,
|
2054
|
-
variant,
|
2055
|
-
size,
|
2056
|
-
value,
|
2057
|
-
disabled,
|
2058
|
-
ref: mergeRefs2(ref, inputRef),
|
2059
|
-
onChange: callAll(onChange, onChangeProp),
|
2060
|
-
onKeyDown: callAll(onKeyDown, onKeyDownProp),
|
2061
|
-
ps: "calc(var(--input-height) - var(--input-height) / 10)",
|
2062
|
-
pe: "calc(var(--input-height) - var(--input-height) / 10)",
|
2063
|
-
...inputProps
|
2064
|
-
}
|
2065
|
-
),
|
2066
|
-
/* @__PURE__ */ jsx41(InputElement2, { placement: "end", children: endElement })
|
2067
|
-
] });
|
2068
|
-
}
|
2069
|
-
);
|
2070
|
-
var SearchInputResetButton = forwardRef37(
|
2071
|
-
(props, ref) => {
|
2072
|
-
const { children = /* @__PURE__ */ jsx41(CloseIcon, {}), ...rest } = props;
|
2073
|
-
return /* @__PURE__ */ jsx41(
|
2074
|
-
IconButton4,
|
2075
|
-
{
|
2076
|
-
ref,
|
2077
|
-
variant: "ghost",
|
2078
|
-
"aria-label": "Reset search",
|
2079
|
-
me: "-2",
|
2080
|
-
aspectRatio: "square",
|
2081
|
-
height: "calc(100% - {spacing.2})",
|
2082
|
-
...rest,
|
2083
|
-
children
|
2084
|
-
}
|
2085
|
-
);
|
2086
|
-
}
|
2087
|
-
);
|
2088
|
-
SearchInput.displayName = "SearchInput";
|
2089
|
-
|
2090
|
-
// src/components/select/namespace.ts
|
2091
|
-
var namespace_exports = {};
|
2092
|
-
__export(namespace_exports, {
|
2093
|
-
Content: () => SelectContent,
|
2094
|
-
Item: () => SelectItem,
|
2095
|
-
ItemGroup: () => SelectItemGroup,
|
2096
|
-
ItemText: () => SelectItemText,
|
2097
|
-
Label: () => SelectLabel,
|
2098
|
-
Root: () => SelectRoot,
|
2099
|
-
Trigger: () => SelectTrigger,
|
2100
|
-
ValueText: () => SelectValueText
|
2101
|
-
});
|
2102
|
-
|
2103
|
-
// src/components/select/select.tsx
|
2104
|
-
import { forwardRef as forwardRef38 } from "react";
|
2105
|
-
import { Portal as Portal7 } from "@chakra-ui/react/portal";
|
2106
|
-
import { Select as SelectPrimitive } from "@chakra-ui/react/select";
|
2107
|
-
import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
|
2108
|
-
var SelectTrigger = forwardRef38(
|
2109
|
-
function SelectTrigger2(props, ref) {
|
2110
|
-
const { children, clearable, ...rest } = props;
|
2111
|
-
return /* @__PURE__ */ jsxs24(SelectPrimitive.Control, { ...rest, children: [
|
2112
|
-
/* @__PURE__ */ jsx42(SelectPrimitive.Trigger, { ref, children }),
|
2113
|
-
/* @__PURE__ */ jsxs24(SelectPrimitive.IndicatorGroup, { children: [
|
2114
|
-
clearable && /* @__PURE__ */ jsx42(SelectClearTrigger, {}),
|
2115
|
-
/* @__PURE__ */ jsx42(SelectPrimitive.Indicator, {})
|
2116
|
-
] })
|
2117
|
-
] });
|
2118
|
-
}
|
2119
|
-
);
|
2120
|
-
var SelectClearTrigger = forwardRef38(function SelectClearTrigger2(props, ref) {
|
2121
|
-
return /* @__PURE__ */ jsx42(SelectPrimitive.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ jsx42(
|
2122
|
-
CloseButton,
|
2123
|
-
{
|
2124
|
-
size: "xs",
|
2125
|
-
variant: "plain",
|
2126
|
-
focusVisibleRing: "inside",
|
2127
|
-
focusRingWidth: "2px",
|
2128
|
-
pointerEvents: "auto"
|
2129
|
-
}
|
2130
|
-
) });
|
2131
|
-
});
|
2132
|
-
var SelectContent = forwardRef38(
|
2133
|
-
function SelectContent2(props, ref) {
|
2134
|
-
const { portalled = true, portalRef, ...rest } = props;
|
2135
|
-
return /* @__PURE__ */ jsx42(Portal7, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx42(SelectPrimitive.Positioner, { children: /* @__PURE__ */ jsx42(SelectPrimitive.Content, { ...rest, ref }) }) });
|
2136
|
-
}
|
2137
|
-
);
|
2138
|
-
var SelectItem = forwardRef38(
|
2139
|
-
function SelectItem2(props, ref) {
|
2140
|
-
const { item, children, ...rest } = props;
|
2141
|
-
return /* @__PURE__ */ jsxs24(SelectPrimitive.Item, { item, ...rest, ref, children: [
|
2142
|
-
children,
|
2143
|
-
/* @__PURE__ */ jsx42(SelectPrimitive.ItemIndicator, {})
|
2144
|
-
] }, item.value);
|
2145
|
-
}
|
2146
|
-
);
|
2147
|
-
var SelectValueText = forwardRef38(function SelectValueText2(props, ref) {
|
2148
|
-
const { children, ...rest } = props;
|
2149
|
-
return /* @__PURE__ */ jsx42(SelectPrimitive.ValueText, { ...rest, ref, children: /* @__PURE__ */ jsx42(SelectPrimitive.Context, { children: (select) => {
|
2150
|
-
const items = select.selectedItems;
|
2151
|
-
if (items.length === 0) return props.placeholder;
|
2152
|
-
if (children) return children(items);
|
2153
|
-
if (items.length === 1)
|
2154
|
-
return select.collection.stringifyItem(items[0]);
|
2155
|
-
return `${items.length} selected`;
|
2156
|
-
} }) });
|
2157
|
-
});
|
2158
|
-
var SelectRoot = forwardRef38(function SelectRoot2(props, ref) {
|
2159
|
-
return /* @__PURE__ */ jsx42(
|
2160
|
-
SelectPrimitive.Root,
|
2161
|
-
{
|
2162
|
-
...props,
|
2163
|
-
ref,
|
2164
|
-
positioning: { sameWidth: true, ...props.positioning }
|
2165
|
-
}
|
2166
|
-
);
|
2167
|
-
});
|
2168
|
-
var SelectItemGroup = forwardRef38(
|
2169
|
-
function SelectItemGroup2(props, ref) {
|
2170
|
-
const { children, label, ...rest } = props;
|
2171
|
-
return /* @__PURE__ */ jsxs24(SelectPrimitive.ItemGroup, { ...rest, ref, children: [
|
2172
|
-
/* @__PURE__ */ jsx42(SelectPrimitive.ItemGroupLabel, { children: label }),
|
2173
|
-
children
|
2174
|
-
] });
|
2175
|
-
}
|
2176
|
-
);
|
2177
|
-
var SelectLabel = SelectPrimitive.Label;
|
2178
|
-
var SelectItemText = SelectPrimitive.ItemText;
|
2179
|
-
|
2180
|
-
// src/components/separator/index.ts
|
2181
|
-
import { Separator as Separator2 } from "@chakra-ui/react/separator";
|
2182
|
-
|
2183
|
-
// src/components/skeleton/skeleton.tsx
|
2184
|
-
import { forwardRef as forwardRef39 } from "react";
|
2185
|
-
import { Circle } from "@chakra-ui/react/box";
|
2186
|
-
import { Skeleton as ChakraSkeleton } from "@chakra-ui/react/skeleton";
|
2187
|
-
import { Stack } from "@chakra-ui/react/stack";
|
2188
|
-
import { jsx as jsx43 } from "react/jsx-runtime";
|
2189
|
-
var SkeletonCircle = (props) => {
|
2190
|
-
const { size, ...rest } = props;
|
2191
|
-
return /* @__PURE__ */ jsx43(Circle, { size, asChild: true, children: /* @__PURE__ */ jsx43(ChakraSkeleton, { ...rest }) });
|
2192
|
-
};
|
2193
|
-
var SkeletonText = forwardRef39(
|
2194
|
-
function SkeletonText2(props, ref) {
|
2195
|
-
const { noOfLines = 3, gap, ...rest } = props;
|
2196
|
-
return /* @__PURE__ */ jsx43(Stack, { gap, width: "full", ref, children: Array.from({ length: noOfLines }).map((_, index) => /* @__PURE__ */ jsx43(
|
2197
|
-
ChakraSkeleton,
|
2198
|
-
{
|
2199
|
-
height: "4",
|
2200
|
-
...props,
|
2201
|
-
_last: { maxW: "80%" },
|
2202
|
-
...rest
|
2203
|
-
},
|
2204
|
-
index
|
2205
|
-
)) });
|
2206
|
-
}
|
2207
|
-
);
|
2208
|
-
var Skeleton = ChakraSkeleton;
|
2209
|
-
|
2210
|
-
// src/components/segmented-control/segmented-control.tsx
|
2211
|
-
import { forwardRef as forwardRef40, useMemo as useMemo3 } from "react";
|
2212
|
-
import { For } from "@chakra-ui/react/for";
|
2213
|
-
import { SegmentGroup } from "@chakra-ui/react/segment-group";
|
2214
|
-
import { jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
|
2215
|
-
function normalize(items) {
|
2216
|
-
return items.map((item) => {
|
2217
|
-
if (typeof item === "string") return { value: item, label: item };
|
2218
|
-
return item;
|
2219
|
-
});
|
2220
|
-
}
|
2221
|
-
var SegmentedControl = forwardRef40(function SegmentedControl2(props, ref) {
|
2222
|
-
const { items, ...rest } = props;
|
2223
|
-
const data = useMemo3(() => normalize(items), [items]);
|
2224
|
-
return /* @__PURE__ */ jsxs25(SegmentGroup.Root, { ref, ...rest, children: [
|
2225
|
-
/* @__PURE__ */ jsx44(SegmentGroup.Indicator, {}),
|
2226
|
-
/* @__PURE__ */ jsx44(For, { each: data, children: (item) => /* @__PURE__ */ jsxs25(
|
2227
|
-
SegmentGroup.Item,
|
2228
|
-
{
|
2229
|
-
value: item.value,
|
2230
|
-
disabled: item.disabled,
|
2231
|
-
children: [
|
2232
|
-
/* @__PURE__ */ jsx44(SegmentGroup.ItemText, { children: item.label }),
|
2233
|
-
/* @__PURE__ */ jsx44(SegmentGroup.ItemHiddenInput, {})
|
2234
|
-
]
|
2235
|
-
},
|
2236
|
-
item.value
|
2237
|
-
) })
|
2238
|
-
] });
|
2239
|
-
});
|
2240
|
-
|
2241
|
-
// src/components/sidebar/sidebar.tsx
|
2242
|
-
var sidebar_exports = {};
|
2243
|
-
__export(sidebar_exports, {
|
2244
|
-
Backdrop: () => SidebarBackdrop,
|
2245
|
-
Body: () => SidebarBody,
|
2246
|
-
Context: () => SidebarContext,
|
2247
|
-
FlyoutTrigger: () => SidebarFlyoutTrigger,
|
2248
|
-
Footer: () => SidebarFooter,
|
2249
|
-
Group: () => SidebarGroup,
|
2250
|
-
GroupContent: () => SidebarGroupContent,
|
2251
|
-
GroupEndElement: () => SidebarGroupEndElement,
|
2252
|
-
GroupHeader: () => SidebarGroupHeader,
|
2253
|
-
GroupTitle: () => SidebarGroupTitle,
|
2254
|
-
Header: () => SidebarHeader,
|
2255
|
-
NavButton: () => SidebarNavButton,
|
2256
|
-
NavButtonEndElement: () => SidebarNavButtonEndElement,
|
2257
|
-
NavItem: () => SidebarNavItem,
|
2258
|
-
Provider: () => SidebarProvider,
|
2259
|
-
Root: () => SidebarRoot,
|
2260
|
-
Track: () => SidebarTrack,
|
2261
|
-
Trigger: () => SidebarTrigger
|
2262
|
-
});
|
2263
|
-
import { Sidebar, useSidebar } from "@saas-ui/core/sidebar";
|
2264
|
-
|
2265
|
-
// src/components/sidebar/sidebar.context.ts
|
2266
|
-
import { createSlotRecipeContext as createSlotRecipeContext7 } from "@chakra-ui/react";
|
2267
|
-
var {
|
2268
|
-
withContext: withContext8,
|
2269
|
-
useRecipeResult,
|
2270
|
-
StylesProvider,
|
2271
|
-
ClassNamesProvider,
|
2272
|
-
useStyles: useSidebarStyles
|
2273
|
-
} = createSlotRecipeContext7({
|
2274
|
-
key: "suiSidebar"
|
2275
|
-
});
|
2276
|
-
var {
|
2277
|
-
withProvider: withItemProvider,
|
2278
|
-
withContext: withItemContext,
|
2279
|
-
useStyles: useSidebarItemStyles
|
2280
|
-
} = createSlotRecipeContext7({
|
2281
|
-
key: "suiSidebarNavItem"
|
2282
|
-
});
|
2283
|
-
|
2284
|
-
// src/components/sidebar/sidebar.tsx
|
2285
|
-
import { jsx as jsx45 } from "react/jsx-runtime";
|
2286
|
-
var SidebarProvider = function SidebarProvider2(props) {
|
2287
|
-
return /* @__PURE__ */ jsx45(Sidebar.Provider, { ...props, children: /* @__PURE__ */ jsx45(RecipeProvider, { ...props, children: props.children }) });
|
2288
|
-
};
|
2289
|
-
function RecipeProvider(props) {
|
2290
|
-
const { mode } = useSidebar();
|
2291
|
-
const { styles, classNames } = useRecipeResult({
|
2292
|
-
...props,
|
2293
|
-
mode
|
2294
|
-
});
|
2295
|
-
return /* @__PURE__ */ jsx45(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx45(ClassNamesProvider, { value: classNames, children: props.children }) });
|
2296
|
-
}
|
2297
|
-
var SidebarRoot = withContext8(
|
2298
|
-
Sidebar.Root,
|
2299
|
-
"root"
|
2300
|
-
);
|
2301
|
-
var SidebarTrigger = withContext8(
|
2302
|
-
Sidebar.Trigger,
|
2303
|
-
"trigger",
|
2304
|
-
{
|
2305
|
-
forwardAsChild: true
|
2306
|
-
}
|
2307
|
-
);
|
2308
|
-
var SidebarFlyoutTrigger = withContext8(Sidebar.FlyoutTrigger, "flyoutTrigger", {
|
2309
|
-
forwardAsChild: true
|
2310
|
-
});
|
2311
|
-
var SidebarBackdrop = withContext8(
|
2312
|
-
Sidebar.Backdrop,
|
2313
|
-
"backdrop",
|
2314
|
-
{
|
2315
|
-
forwardAsChild: true
|
2316
|
-
}
|
2317
|
-
);
|
2318
|
-
var SidebarHeader = withContext8(
|
2319
|
-
Sidebar.Header,
|
2320
|
-
"header"
|
2321
|
-
);
|
2322
|
-
var SidebarBody = withContext8(
|
2323
|
-
Sidebar.Body,
|
2324
|
-
"body"
|
2325
|
-
);
|
2326
|
-
var SidebarFooter = withContext8(
|
2327
|
-
Sidebar.Footer,
|
2328
|
-
"footer"
|
2329
|
-
);
|
2330
|
-
var SidebarTrack = withContext8(
|
2331
|
-
Sidebar.Track,
|
2332
|
-
"track",
|
2333
|
-
{
|
2334
|
-
forwardAsChild: true
|
2335
|
-
}
|
2336
|
-
);
|
2337
|
-
var SidebarGroup = withContext8(
|
2338
|
-
Sidebar.Group,
|
2339
|
-
"group",
|
2340
|
-
{
|
2341
|
-
defaultProps: {
|
2342
|
-
role: "group"
|
2343
|
-
}
|
2344
|
-
}
|
2345
|
-
);
|
2346
|
-
var SidebarGroupHeader = withContext8(
|
2347
|
-
Sidebar.GroupHeader,
|
2348
|
-
"groupHeader"
|
2349
|
-
);
|
2350
|
-
var SidebarGroupTitle = withContext8(Sidebar.GroupTitle, "groupTitle");
|
2351
|
-
var SidebarGroupEndElement = withContext8(Sidebar.GroupEndElement, "groupEndElement");
|
2352
|
-
var SidebarGroupContent = withContext8(
|
2353
|
-
Sidebar.GroupContent,
|
2354
|
-
"groupContent"
|
2355
|
-
);
|
2356
|
-
var SidebarNavItem = withItemProvider(
|
2357
|
-
Sidebar.NavItem,
|
2358
|
-
"item"
|
2359
|
-
);
|
2360
|
-
var SidebarNavButton = withItemContext(Sidebar.NavButton, "button", {
|
2361
|
-
forwardAsChild: true
|
2362
|
-
});
|
2363
|
-
var SidebarNavButtonEndElement = withItemContext(Sidebar.NavItemEndElement, "endElement", {
|
2364
|
-
defaultProps: {
|
2365
|
-
"data-slot": "endElement"
|
2366
|
-
}
|
2367
|
-
});
|
2368
|
-
var SidebarContext = Sidebar.Context;
|
2369
|
-
|
2370
|
-
// src/components/sidebar/index.ts
|
2371
|
-
import { useSidebar as useSidebar2 } from "@saas-ui/core/sidebar";
|
2372
|
-
|
2373
|
-
// src/components/skip-nav/index.ts
|
26
|
+
Tooltip
|
27
|
+
} from "./chunk-7MCVXFWM.js";
|
2374
28
|
import {
|
2375
|
-
|
2376
|
-
|
2377
|
-
|
2378
|
-
|
2379
|
-
|
2380
|
-
import {
|
2381
|
-
|
2382
|
-
|
2383
|
-
|
2384
|
-
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
|
2389
|
-
|
2390
|
-
|
2391
|
-
|
2392
|
-
const hasMarkLabel = !!(marks == null ? void 0 : marks.some((mark) => mark.label));
|
2393
|
-
return /* @__PURE__ */ jsxs26(ChakraSlider.Root, { ref, thumbAlignment: "center", ...rest, children: [
|
2394
|
-
label && /* @__PURE__ */ jsx46(ChakraSlider.Label, { fontWeight: "medium", children: label }),
|
2395
|
-
/* @__PURE__ */ jsxs26(ChakraSlider.Control, { mb: hasMarkLabel ? "4" : void 0, children: [
|
2396
|
-
/* @__PURE__ */ jsx46(ChakraSlider.Track, { children: /* @__PURE__ */ jsx46(ChakraSlider.Range, {}) }),
|
2397
|
-
value == null ? void 0 : value.map((_, index) => /* @__PURE__ */ jsx46(ChakraSlider.Thumb, { index, children: /* @__PURE__ */ jsx46(ChakraSlider.HiddenInput, {}) }, index))
|
2398
|
-
] }),
|
2399
|
-
(marks == null ? void 0 : marks.length) && /* @__PURE__ */ jsx46(ChakraSlider.MarkerGroup, { children: marks.map((mark, index) => {
|
2400
|
-
const value2 = typeof mark === "number" ? mark : mark.value;
|
2401
|
-
const label2 = typeof mark === "number" ? void 0 : mark.label;
|
2402
|
-
return /* @__PURE__ */ jsxs26(ChakraSlider.Marker, { value: value2, children: [
|
2403
|
-
/* @__PURE__ */ jsx46(ChakraSlider.MarkerIndicator, {}),
|
2404
|
-
label2
|
2405
|
-
] }, index);
|
2406
|
-
}) })
|
2407
|
-
] });
|
2408
|
-
}
|
2409
|
-
);
|
2410
|
-
|
2411
|
-
// src/components/status/status.tsx
|
2412
|
-
import { forwardRef as forwardRef42 } from "react";
|
2413
|
-
import { Status as ChakraStatus } from "@chakra-ui/react/status";
|
2414
|
-
import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
|
2415
|
-
var Status = forwardRef42(
|
2416
|
-
function Status2(props, ref) {
|
2417
|
-
const { children, value, ...rest } = props;
|
2418
|
-
const color = value ? `status.${value}` : void 0;
|
2419
|
-
return /* @__PURE__ */ jsxs27(ChakraStatus.Root, { ref, ...rest, children: [
|
2420
|
-
/* @__PURE__ */ jsx47(ChakraStatus.Indicator, { bg: color }),
|
2421
|
-
children
|
2422
|
-
] });
|
2423
|
-
}
|
2424
|
-
);
|
2425
|
-
|
2426
|
-
// src/components/stat/stat.tsx
|
2427
|
-
var stat_exports = {};
|
2428
|
-
__export(stat_exports, {
|
2429
|
-
DownTrend: () => StatDownTrend,
|
2430
|
-
HelpText: () => HelpText,
|
2431
|
-
Label: () => Label2,
|
2432
|
-
Root: () => Root10,
|
2433
|
-
UpTrend: () => StatUpTrend,
|
2434
|
-
ValueText: () => StatValueText,
|
2435
|
-
ValueUnit: () => ValueUnit
|
2436
|
-
});
|
2437
|
-
import * as React20 from "react";
|
2438
|
-
import { Badge as Badge2 } from "@chakra-ui/react/badge";
|
2439
|
-
import { FormatNumber } from "@chakra-ui/react/format";
|
2440
|
-
import { Stat as ChakraStat } from "@chakra-ui/react/stat";
|
2441
|
-
import { jsx as jsx48, jsxs as jsxs28 } from "react/jsx-runtime";
|
2442
|
-
var StatValueText = React20.forwardRef(
|
2443
|
-
function StatValueText2(props, ref) {
|
2444
|
-
const { value, formatOptions, children, ...rest } = props;
|
2445
|
-
return /* @__PURE__ */ jsx48(ChakraStat.ValueText, { ...rest, ref, children: children || value != null && /* @__PURE__ */ jsx48(FormatNumber, { value, ...formatOptions }) });
|
2446
|
-
}
|
2447
|
-
);
|
2448
|
-
var StatUpTrend = React20.forwardRef(
|
2449
|
-
function StatUpTrend2(props, ref) {
|
2450
|
-
return /* @__PURE__ */ jsxs28(Badge2, { colorPalette: "green", gap: "0", ...props, ref, children: [
|
2451
|
-
/* @__PURE__ */ jsx48(ChakraStat.UpIndicator, {}),
|
2452
|
-
props.children
|
2453
|
-
] });
|
2454
|
-
}
|
2455
|
-
);
|
2456
|
-
var StatDownTrend = React20.forwardRef(
|
2457
|
-
function StatDownTrend2(props, ref) {
|
2458
|
-
return /* @__PURE__ */ jsxs28(Badge2, { colorPalette: "red", gap: "0", ...props, ref, children: [
|
2459
|
-
/* @__PURE__ */ jsx48(ChakraStat.DownIndicator, {}),
|
2460
|
-
props.children
|
2461
|
-
] });
|
2462
|
-
}
|
2463
|
-
);
|
2464
|
-
var Root10 = ChakraStat.Root;
|
2465
|
-
var Label2 = ChakraStat.Label;
|
2466
|
-
var HelpText = ChakraStat.HelpText;
|
2467
|
-
var ValueUnit = ChakraStat.ValueUnit;
|
2468
|
-
|
2469
|
-
// src/components/steps/steps.tsx
|
2470
|
-
var steps_exports = {};
|
2471
|
-
__export(steps_exports, {
|
2472
|
-
CompletedContent: () => StepsCompletedContent,
|
2473
|
-
Content: () => StepsContent,
|
2474
|
-
Indicator: () => StepsIndicator,
|
2475
|
-
Item: () => StepsItem,
|
2476
|
-
List: () => StepsList,
|
2477
|
-
NextTrigger: () => StepsNextTrigger,
|
2478
|
-
PrevTrigger: () => StepsPrevTrigger,
|
2479
|
-
Root: () => StepsRoot,
|
2480
|
-
useContext: () => useStepsContext
|
2481
|
-
});
|
2482
|
-
import { Box as Box2 } from "@chakra-ui/react/box";
|
2483
|
-
import { Steps as ChakraSteps, useStepsContext } from "@chakra-ui/react/steps";
|
2484
|
-
import { Fragment as Fragment9, jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
|
2485
|
-
var StepsItem = (props) => {
|
2486
|
-
const { title, description, completedIcon, icon, ...rest } = props;
|
2487
|
-
return /* @__PURE__ */ jsxs29(ChakraSteps.Item, { ...rest, children: [
|
2488
|
-
/* @__PURE__ */ jsxs29(ChakraSteps.Trigger, { children: [
|
2489
|
-
/* @__PURE__ */ jsx49(ChakraSteps.Indicator, { children: /* @__PURE__ */ jsx49(
|
2490
|
-
ChakraSteps.Status,
|
2491
|
-
{
|
2492
|
-
complete: completedIcon || /* @__PURE__ */ jsx49(CheckIcon, {}),
|
2493
|
-
incomplete: icon || /* @__PURE__ */ jsx49(ChakraSteps.Number, {})
|
2494
|
-
}
|
2495
|
-
) }),
|
2496
|
-
/* @__PURE__ */ jsx49(StepInfo, { title, description })
|
2497
|
-
] }),
|
2498
|
-
/* @__PURE__ */ jsx49(ChakraSteps.Separator, {})
|
2499
|
-
] });
|
2500
|
-
};
|
2501
|
-
var StepInfo = (props) => {
|
2502
|
-
const { title, description } = props;
|
2503
|
-
if (title && description) {
|
2504
|
-
return /* @__PURE__ */ jsxs29(Box2, { children: [
|
2505
|
-
/* @__PURE__ */ jsx49(ChakraSteps.Title, { children: title }),
|
2506
|
-
/* @__PURE__ */ jsx49(ChakraSteps.Description, { children: description })
|
2507
|
-
] });
|
2508
|
-
}
|
2509
|
-
return /* @__PURE__ */ jsxs29(Fragment9, { children: [
|
2510
|
-
title && /* @__PURE__ */ jsx49(ChakraSteps.Title, { children: title }),
|
2511
|
-
description && /* @__PURE__ */ jsx49(ChakraSteps.Description, { children: description })
|
2512
|
-
] });
|
2513
|
-
};
|
2514
|
-
var StepsIndicator = (props) => {
|
2515
|
-
const { icon = /* @__PURE__ */ jsx49(ChakraSteps.Number, {}), completedIcon } = props;
|
2516
|
-
return /* @__PURE__ */ jsx49(ChakraSteps.Indicator, { children: /* @__PURE__ */ jsx49(ChakraSteps.Status, { complete: completedIcon, incomplete: icon }) });
|
2517
|
-
};
|
2518
|
-
var StepsList = ChakraSteps.List;
|
2519
|
-
var StepsRoot = ChakraSteps.Root;
|
2520
|
-
var StepsContent = ChakraSteps.Content;
|
2521
|
-
var StepsCompletedContent = ChakraSteps.CompletedContent;
|
2522
|
-
var StepsNextTrigger = (props) => {
|
2523
|
-
return /* @__PURE__ */ jsx49(ChakraSteps.NextTrigger, { ...props });
|
2524
|
-
};
|
2525
|
-
var StepsPrevTrigger = (props) => {
|
2526
|
-
return /* @__PURE__ */ jsx49(ChakraSteps.PrevTrigger, { ...props });
|
2527
|
-
};
|
2528
|
-
|
2529
|
-
// src/components/switch/switch.tsx
|
2530
|
-
import { forwardRef as forwardRef44 } from "react";
|
2531
|
-
import { Switch as ChakraSwitch } from "@chakra-ui/react/switch";
|
2532
|
-
import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
|
2533
|
-
var Switch = forwardRef44(
|
2534
|
-
function Switch2(props, ref) {
|
2535
|
-
const { inputProps, children, rootRef, trackLabel, thumbLabel, ...rest } = props;
|
2536
|
-
return /* @__PURE__ */ jsxs30(ChakraSwitch.Root, { ref: rootRef, ...rest, children: [
|
2537
|
-
/* @__PURE__ */ jsx50(ChakraSwitch.HiddenInput, { ref, ...inputProps }),
|
2538
|
-
/* @__PURE__ */ jsxs30(ChakraSwitch.Control, { children: [
|
2539
|
-
/* @__PURE__ */ jsx50(ChakraSwitch.Thumb, { children: thumbLabel && /* @__PURE__ */ jsx50(ChakraSwitch.ThumbIndicator, { fallback: thumbLabel == null ? void 0 : thumbLabel.off, children: thumbLabel == null ? void 0 : thumbLabel.on }) }),
|
2540
|
-
trackLabel && /* @__PURE__ */ jsx50(ChakraSwitch.Indicator, { fallback: trackLabel.off, children: trackLabel.on })
|
2541
|
-
] }),
|
2542
|
-
children != null && /* @__PURE__ */ jsx50(ChakraSwitch.Label, { children })
|
2543
|
-
] });
|
2544
|
-
}
|
2545
|
-
);
|
2546
|
-
|
2547
|
-
// src/components/table/index.ts
|
2548
|
-
import { Table } from "@chakra-ui/react/table";
|
2549
|
-
|
2550
|
-
// src/components/tabs/index.ts
|
29
|
+
VisuallyHidden
|
30
|
+
} from "./chunk-HHTTORZ6.js";
|
31
|
+
import {
|
32
|
+
Stack
|
33
|
+
} from "./chunk-CBX6MYVA.js";
|
34
|
+
import {
|
35
|
+
stat_exports
|
36
|
+
} from "./chunk-3RHNNKPC.js";
|
37
|
+
import {
|
38
|
+
Switch
|
39
|
+
} from "./chunk-3E6URZ5P.js";
|
40
|
+
import {
|
41
|
+
Status
|
42
|
+
} from "./chunk-U3EPRSD3.js";
|
43
|
+
import {
|
44
|
+
steps_exports
|
45
|
+
} from "./chunk-I2J6U5Z4.js";
|
2551
46
|
import {
|
2552
47
|
Tabs,
|
2553
48
|
useTabsContext,
|
2554
|
-
useTabsStyles
|
2555
|
-
|
2556
|
-
} from "@chakra-ui/react/tabs";
|
2557
|
-
|
2558
|
-
// src/components/tag/tag.tsx
|
2559
|
-
import { forwardRef as forwardRef45 } from "react";
|
2560
|
-
import { Tag as ChakraTag } from "@chakra-ui/react/tag";
|
2561
|
-
import { jsx as jsx51, jsxs as jsxs31 } from "react/jsx-runtime";
|
2562
|
-
var Tag = forwardRef45(
|
2563
|
-
function Tag2(props, ref) {
|
2564
|
-
const {
|
2565
|
-
startElement,
|
2566
|
-
endElement,
|
2567
|
-
onClose,
|
2568
|
-
closable = !!onClose,
|
2569
|
-
children,
|
2570
|
-
...rest
|
2571
|
-
} = props;
|
2572
|
-
return /* @__PURE__ */ jsxs31(ChakraTag.Root, { ref, ...rest, children: [
|
2573
|
-
startElement && /* @__PURE__ */ jsx51(ChakraTag.StartElement, { children: startElement }),
|
2574
|
-
/* @__PURE__ */ jsx51(ChakraTag.Label, { children }),
|
2575
|
-
endElement && /* @__PURE__ */ jsx51(ChakraTag.EndElement, { children: endElement }),
|
2576
|
-
closable && /* @__PURE__ */ jsx51(ChakraTag.EndElement, { children: /* @__PURE__ */ jsx51(ChakraTag.CloseTrigger, { onClick: onClose }) })
|
2577
|
-
] });
|
2578
|
-
}
|
2579
|
-
);
|
2580
|
-
|
2581
|
-
// src/components/timeline/index.ts
|
2582
|
-
import { Timeline } from "@chakra-ui/react/timeline";
|
2583
|
-
|
2584
|
-
// src/components/toaster/toaster.tsx
|
2585
|
-
import { useCallback, useMemo as useMemo4, useState } from "react";
|
2586
|
-
import { Portal as Portal8 } from "@chakra-ui/react/portal";
|
2587
|
-
import { Stack as Stack2 } from "@chakra-ui/react/stack";
|
2588
|
-
import {
|
2589
|
-
Toaster as ChakraToaster,
|
2590
|
-
Toast,
|
2591
|
-
createToaster
|
2592
|
-
} from "@chakra-ui/react/toast";
|
2593
|
-
import { jsx as jsx52, jsxs as jsxs32 } from "react/jsx-runtime";
|
2594
|
-
var defaultOptions = {
|
2595
|
-
placement: "bottom-end",
|
2596
|
-
pauseOnPageIdle: true
|
2597
|
-
};
|
2598
|
-
var toast = createToaster(defaultOptions);
|
2599
|
-
var Toaster = (props) => {
|
2600
|
-
const { closable: defaultClosable = true, ...options } = props || {};
|
2601
|
-
const toaster = useMemo4(() => {
|
2602
|
-
toast = createToaster({
|
2603
|
-
...defaultOptions,
|
2604
|
-
...options
|
2605
|
-
});
|
2606
|
-
return toast;
|
2607
|
-
}, [options]);
|
2608
|
-
return /* @__PURE__ */ jsx52(Portal8, { children: /* @__PURE__ */ jsx52(ChakraToaster, { toaster, insetInline: { mdDown: "4" }, children: (toast2) => {
|
2609
|
-
var _a;
|
2610
|
-
const closable = ((_a = toast2.meta) == null ? void 0 : _a.closable) === false ? false : defaultClosable && toast2.type !== "loading";
|
2611
|
-
return /* @__PURE__ */ jsxs32(ToastRoot, { children: [
|
2612
|
-
toast2.type === "loading" ? /* @__PURE__ */ jsx52(Spinner, { size: "sm", color: "colorPalette.solid", mt: "0.5" }) : /* @__PURE__ */ jsx52(Toast.Indicator, {}),
|
2613
|
-
/* @__PURE__ */ jsxs32(Stack2, { gap: "1", flex: "1", maxWidth: "100%", children: [
|
2614
|
-
toast2.title && /* @__PURE__ */ jsx52(Toast.Title, { children: toast2.title }),
|
2615
|
-
toast2.description && /* @__PURE__ */ jsx52(Toast.Description, { children: toast2.description }),
|
2616
|
-
toast2.action && /* @__PURE__ */ jsx52(Toast.ActionTrigger, { children: toast2.action.label })
|
2617
|
-
] }),
|
2618
|
-
closable !== false && /* @__PURE__ */ jsx52(Toast.CloseTrigger, { children: /* @__PURE__ */ jsx52(CloseButton, { size: "xs" }) })
|
2619
|
-
] });
|
2620
|
-
} }) });
|
2621
|
-
};
|
2622
|
-
function ToastRoot(props) {
|
2623
|
-
const [rect, setRect] = useState();
|
2624
|
-
const rectCallbackRef = useCallback((el) => {
|
2625
|
-
setRect(el == null ? void 0 : el.getBoundingClientRect());
|
2626
|
-
}, []);
|
2627
|
-
return /* @__PURE__ */ jsx52(
|
2628
|
-
Toast.Root,
|
2629
|
-
{
|
2630
|
-
ref: rectCallbackRef,
|
2631
|
-
width: { md: "sm" },
|
2632
|
-
css: {
|
2633
|
-
"--toast-height": `${rect == null ? void 0 : rect.height}px`
|
2634
|
-
},
|
2635
|
-
children: props.children
|
2636
|
-
}
|
2637
|
-
);
|
2638
|
-
}
|
2639
|
-
|
2640
|
-
// src/components/tooltip/tooltip.tsx
|
2641
|
-
import { forwardRef as forwardRef46 } from "react";
|
2642
|
-
import { Portal as Portal9 } from "@chakra-ui/react/portal";
|
2643
|
-
import { Tooltip as ChakraTooltip } from "@chakra-ui/react/tooltip";
|
2644
|
-
import { jsx as jsx53, jsxs as jsxs33 } from "react/jsx-runtime";
|
2645
|
-
var Tooltip = forwardRef46(
|
2646
|
-
function Tooltip2(props, ref) {
|
2647
|
-
const {
|
2648
|
-
showArrow,
|
2649
|
-
children,
|
2650
|
-
disabled,
|
2651
|
-
portalled,
|
2652
|
-
content,
|
2653
|
-
contentProps,
|
2654
|
-
portalRef,
|
2655
|
-
...rest
|
2656
|
-
} = props;
|
2657
|
-
if (disabled) return children;
|
2658
|
-
return /* @__PURE__ */ jsxs33(ChakraTooltip.Root, { ...rest, children: [
|
2659
|
-
/* @__PURE__ */ jsx53(ChakraTooltip.Trigger, { asChild: true, children }),
|
2660
|
-
/* @__PURE__ */ jsx53(Portal9, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx53(ChakraTooltip.Positioner, { children: /* @__PURE__ */ jsxs33(ChakraTooltip.Content, { ref, ...contentProps, children: [
|
2661
|
-
showArrow && /* @__PURE__ */ jsx53(ChakraTooltip.Arrow, { children: /* @__PURE__ */ jsx53(ChakraTooltip.ArrowTip, {}) }),
|
2662
|
-
content
|
2663
|
-
] }) }) })
|
2664
|
-
] });
|
2665
|
-
}
|
2666
|
-
);
|
2667
|
-
|
2668
|
-
// src/components/textarea/index.ts
|
2669
|
-
import { Textarea } from "@chakra-ui/react/textarea";
|
2670
|
-
|
2671
|
-
// src/components/aspect-ratio/index.ts
|
49
|
+
useTabsStyles
|
50
|
+
} from "./chunk-5YNHX4C7.js";
|
2672
51
|
import {
|
2673
|
-
|
2674
|
-
} from "
|
2675
|
-
|
2676
|
-
// src/components/bleed/index.ts
|
52
|
+
Textarea
|
53
|
+
} from "./chunk-CQD32UVJ.js";
|
2677
54
|
import {
|
2678
|
-
|
2679
|
-
} from "
|
2680
|
-
|
2681
|
-
// src/components/box/index.ts
|
55
|
+
Show
|
56
|
+
} from "./chunk-LU2H6GWC.js";
|
2682
57
|
import {
|
2683
|
-
|
2684
|
-
} from "
|
2685
|
-
|
2686
|
-
// src/components/center/index.ts
|
58
|
+
Separator
|
59
|
+
} from "./chunk-27OMFCPD.js";
|
2687
60
|
import {
|
2688
|
-
|
2689
|
-
|
2690
|
-
|
2691
|
-
|
61
|
+
sidebar_exports,
|
62
|
+
useSidebar,
|
63
|
+
useSidebarItemStyles,
|
64
|
+
useSidebarStyles
|
65
|
+
} from "./chunk-U23VDAWJ.js";
|
2692
66
|
import {
|
2693
|
-
|
2694
|
-
|
2695
|
-
|
2696
|
-
|
2697
|
-
import { ColorPicker } from "@chakra-ui/react/color-picker";
|
2698
|
-
|
2699
|
-
// src/components/color-swatch/index.ts
|
67
|
+
Skeleton,
|
68
|
+
SkeletonCircle,
|
69
|
+
SkeletonText
|
70
|
+
} from "./chunk-UEXUCHDD.js";
|
2700
71
|
import {
|
2701
|
-
|
2702
|
-
|
2703
|
-
|
2704
|
-
} from "@chakra-ui/react/color-swatch";
|
2705
|
-
|
2706
|
-
// src/components/env/index.ts
|
72
|
+
SkipNavContent,
|
73
|
+
SkipNavLink
|
74
|
+
} from "./chunk-GDDJYUWM.js";
|
2707
75
|
import {
|
2708
|
-
|
2709
|
-
|
2710
|
-
|
2711
|
-
|
2712
|
-
|
76
|
+
Slider
|
77
|
+
} from "./chunk-HREBIPVW.js";
|
78
|
+
import {
|
79
|
+
Spacer
|
80
|
+
} from "./chunk-UAX5344Y.js";
|
81
|
+
import {
|
82
|
+
Radio
|
83
|
+
} from "./chunk-PZWP36YA.js";
|
84
|
+
import {
|
85
|
+
radio_card_exports
|
86
|
+
} from "./chunk-KRJG7H4W.js";
|
87
|
+
import {
|
88
|
+
RadioGroup
|
89
|
+
} from "./chunk-NCNHDETB.js";
|
90
|
+
import {
|
91
|
+
RatingGroup
|
92
|
+
} from "./chunk-HQVBJT5Y.js";
|
93
|
+
import {
|
94
|
+
SegmentedControl
|
95
|
+
} from "./chunk-KFDVVTMT.js";
|
96
|
+
import {
|
97
|
+
SearchInput
|
98
|
+
} from "./chunk-HJX66GFT.js";
|
99
|
+
import {
|
100
|
+
namespace_exports
|
101
|
+
} from "./chunk-BVISYY3B.js";
|
102
|
+
import {
|
103
|
+
PinInput
|
104
|
+
} from "./chunk-RYKJOZ3B.js";
|
105
|
+
import {
|
106
|
+
Persona,
|
107
|
+
PersonaAvatar,
|
108
|
+
defaultPersonaPresenceOptions
|
109
|
+
} from "./chunk-TYGGMKHU.js";
|
110
|
+
import {
|
111
|
+
Portal
|
112
|
+
} from "./chunk-UZUMIWPJ.js";
|
113
|
+
import {
|
114
|
+
Presence
|
115
|
+
} from "./chunk-PONMXNY4.js";
|
116
|
+
import {
|
117
|
+
Progress
|
118
|
+
} from "./chunk-6YZ76Q2W.js";
|
119
|
+
import {
|
120
|
+
ProgressCircle
|
121
|
+
} from "./chunk-7HAGRXKM.js";
|
122
|
+
import {
|
123
|
+
QrCode
|
124
|
+
} from "./chunk-K3MFCSAW.js";
|
125
|
+
import {
|
126
|
+
menu_exports
|
127
|
+
} from "./chunk-ZNQNBTWF.js";
|
128
|
+
import {
|
129
|
+
NativeSelect
|
130
|
+
} from "./chunk-5OUNZEYB.js";
|
131
|
+
import {
|
132
|
+
navbar_exports
|
133
|
+
} from "./chunk-DJNPK2LM.js";
|
134
|
+
import {
|
135
|
+
Mark
|
136
|
+
} from "./chunk-EWCBYJA7.js";
|
137
|
+
import {
|
138
|
+
NumberInput
|
139
|
+
} from "./chunk-RFBD2ZNL.js";
|
140
|
+
import {
|
141
|
+
pagination_exports
|
142
|
+
} from "./chunk-L4JB7UFV.js";
|
143
|
+
import {
|
144
|
+
page_exports,
|
145
|
+
usePageStyles
|
146
|
+
} from "./chunk-ZJ2VD224.js";
|
147
|
+
import {
|
148
|
+
PasswordInput
|
149
|
+
} from "./chunk-TXIFPX2A.js";
|
150
|
+
import {
|
151
|
+
InfoTip
|
152
|
+
} from "./chunk-AHG5XKEK.js";
|
153
|
+
import {
|
154
|
+
ToggleTip
|
155
|
+
} from "./chunk-JL4MHGRE.js";
|
156
|
+
import {
|
157
|
+
popover_exports
|
158
|
+
} from "./chunk-HRFQMDUK.js";
|
159
|
+
import {
|
160
|
+
Loader
|
161
|
+
} from "./chunk-DHFAFRZ4.js";
|
162
|
+
import {
|
163
|
+
List
|
164
|
+
} from "./chunk-C5KFNMWU.js";
|
165
|
+
import {
|
166
|
+
loading_overlay_exports
|
167
|
+
} from "./chunk-BDS3APRG.js";
|
168
|
+
import {
|
169
|
+
Spinner
|
170
|
+
} from "./chunk-MK3OG2I4.js";
|
171
|
+
import {
|
172
|
+
Highlight
|
173
|
+
} from "./chunk-TGEP2YAT.js";
|
174
|
+
import {
|
175
|
+
Group
|
176
|
+
} from "./chunk-3CKGT42F.js";
|
177
|
+
import {
|
178
|
+
Icon
|
179
|
+
} from "./chunk-M3DJWM6D.js";
|
180
|
+
import {
|
181
|
+
hover_card_exports
|
182
|
+
} from "./chunk-MZ2RY4NU.js";
|
183
|
+
import {
|
184
|
+
IconBadge
|
185
|
+
} from "./chunk-NSFGACD7.js";
|
186
|
+
import {
|
187
|
+
Image
|
188
|
+
} from "./chunk-FD2V4Y66.js";
|
2713
189
|
import {
|
2714
190
|
Float
|
2715
|
-
} from "
|
2716
|
-
|
2717
|
-
|
2718
|
-
|
2719
|
-
|
2720
|
-
|
191
|
+
} from "./chunk-XD7U6L2E.js";
|
192
|
+
import {
|
193
|
+
Fieldset,
|
194
|
+
useFieldsetContext
|
195
|
+
} from "./chunk-FPRTN3I7.js";
|
196
|
+
import {
|
197
|
+
FocusTrap
|
198
|
+
} from "./chunk-EWATHRZA.js";
|
2721
199
|
import {
|
2722
200
|
FormatByte,
|
2723
|
-
FormatNumber
|
2724
|
-
} from "
|
2725
|
-
|
2726
|
-
|
201
|
+
FormatNumber
|
202
|
+
} from "./chunk-6WZK2RBQ.js";
|
203
|
+
import {
|
204
|
+
grid_list_exports
|
205
|
+
} from "./chunk-ZUT5GZTD.js";
|
2727
206
|
import {
|
2728
207
|
Grid
|
2729
|
-
} from "
|
2730
|
-
|
2731
|
-
// src/components/group/index.ts
|
208
|
+
} from "./chunk-EZZW6JOU.js";
|
2732
209
|
import {
|
2733
|
-
|
2734
|
-
} from "
|
2735
|
-
|
2736
|
-
// src/components/highlight/index.ts
|
210
|
+
Heading
|
211
|
+
} from "./chunk-HZX4AGO5.js";
|
2737
212
|
import {
|
2738
|
-
|
2739
|
-
} from "
|
2740
|
-
|
2741
|
-
// src/components/portal/index.ts
|
213
|
+
dialog_exports
|
214
|
+
} from "./chunk-HHUVJRPT.js";
|
2742
215
|
import {
|
2743
|
-
|
2744
|
-
} from "
|
2745
|
-
|
2746
|
-
// src/components/presence/index.ts
|
2747
|
-
import { Presence as Presence2 } from "@chakra-ui/react/presence";
|
2748
|
-
|
2749
|
-
// src/components/qr-code/index.ts
|
2750
|
-
import { QrCode } from "@chakra-ui/react/qr-code";
|
2751
|
-
|
2752
|
-
// src/components/show/index.ts
|
216
|
+
drawer_exports
|
217
|
+
} from "./chunk-KH7E5C3C.js";
|
2753
218
|
import {
|
2754
|
-
|
2755
|
-
} from "
|
2756
|
-
|
2757
|
-
// src/components/spacer/index.ts
|
219
|
+
Editable
|
220
|
+
} from "./chunk-TEQVVR3W.js";
|
2758
221
|
import {
|
2759
|
-
|
2760
|
-
} from "
|
2761
|
-
|
2762
|
-
// src/components/stack/index.ts
|
222
|
+
EmptyState
|
223
|
+
} from "./chunk-NGGISORT.js";
|
2763
224
|
import {
|
2764
|
-
|
2765
|
-
|
2766
|
-
|
2767
|
-
// src/components/toggle/index.ts
|
2768
|
-
import { Toggle } from "@chakra-ui/react/toggle";
|
2769
|
-
|
2770
|
-
// src/components/typography/index.ts
|
225
|
+
EnvironmentProvider,
|
226
|
+
useEnvironmentContext
|
227
|
+
} from "./chunk-LFOA3DZO.js";
|
2771
228
|
import {
|
2772
|
-
|
2773
|
-
|
2774
|
-
|
2775
|
-
|
2776
|
-
|
2777
|
-
|
2778
|
-
|
2779
|
-
|
229
|
+
Field,
|
230
|
+
useFieldContext,
|
231
|
+
useFieldStyles
|
232
|
+
} from "./chunk-XX2OY7LK.js";
|
233
|
+
import {
|
234
|
+
file_upload_exports,
|
235
|
+
useFileUploadContext
|
236
|
+
} from "./chunk-EJOXGWHK.js";
|
237
|
+
import {
|
238
|
+
Code
|
239
|
+
} from "./chunk-YMCOU2N5.js";
|
240
|
+
import {
|
241
|
+
Collapsible
|
242
|
+
} from "./chunk-PEJYADAS.js";
|
243
|
+
import {
|
244
|
+
ColorPicker
|
245
|
+
} from "./chunk-JR5RLXCK.js";
|
246
|
+
import {
|
247
|
+
Checkbox
|
248
|
+
} from "./chunk-Z3SWPGPQ.js";
|
249
|
+
import {
|
250
|
+
ColorSwatch
|
251
|
+
} from "./chunk-TYMVLD3B.js";
|
252
|
+
import {
|
253
|
+
Command
|
254
|
+
} from "./chunk-5ZKEXMBN.js";
|
255
|
+
import {
|
256
|
+
Kbd
|
257
|
+
} from "./chunk-OQU4LWZW.js";
|
258
|
+
import {
|
259
|
+
Container
|
260
|
+
} from "./chunk-PIQURQGB.js";
|
261
|
+
import {
|
262
|
+
DataList,
|
263
|
+
useDataListStyles
|
264
|
+
} from "./chunk-52XM5VXJ.js";
|
265
|
+
import {
|
266
|
+
ButtonGroup
|
267
|
+
} from "./chunk-7PWVK3NL.js";
|
268
|
+
import {
|
269
|
+
Card
|
270
|
+
} from "./chunk-7DF4NQNZ.js";
|
271
|
+
import {
|
272
|
+
Center
|
273
|
+
} from "./chunk-46OCNELO.js";
|
274
|
+
import {
|
275
|
+
CheckboxCard
|
276
|
+
} from "./chunk-NLMFEUVO.js";
|
277
|
+
import {
|
278
|
+
Checkmark
|
279
|
+
} from "./chunk-UIP2CHMU.js";
|
280
|
+
import {
|
281
|
+
ClientOnly
|
282
|
+
} from "./chunk-4N4SHDPB.js";
|
283
|
+
import {
|
284
|
+
clipboard_exports
|
285
|
+
} from "./chunk-YX44E5NF.js";
|
286
|
+
import {
|
287
|
+
Input,
|
288
|
+
InputAddon,
|
289
|
+
InputElement,
|
290
|
+
InputGroup,
|
291
|
+
InputPropsProvider
|
292
|
+
} from "./chunk-BLSGOJQ7.js";
|
293
|
+
import "./chunk-KTLWEUNW.js";
|
294
|
+
import "./chunk-YHQ5JGCC.js";
|
295
|
+
import {
|
296
|
+
Avatar,
|
297
|
+
AvatarGroup
|
298
|
+
} from "./chunk-FN7TU5F5.js";
|
299
|
+
import {
|
300
|
+
BackButton
|
301
|
+
} from "./chunk-LKPWSC6O.js";
|
302
|
+
import {
|
303
|
+
Link
|
304
|
+
} from "./chunk-LIOV5MU4.js";
|
305
|
+
import {
|
306
|
+
SuiContext,
|
307
|
+
SuiProvider,
|
308
|
+
useLink,
|
309
|
+
useSui
|
310
|
+
} from "./chunk-ZULBHMWG.js";
|
311
|
+
import {
|
312
|
+
Badge,
|
313
|
+
BadgePropsProvider
|
314
|
+
} from "./chunk-R2J5USV6.js";
|
315
|
+
import {
|
316
|
+
Bleed
|
317
|
+
} from "./chunk-Y2S4O4UY.js";
|
318
|
+
import {
|
319
|
+
Blockquote
|
320
|
+
} from "./chunk-GSWLAOIM.js";
|
321
|
+
import {
|
322
|
+
Box
|
323
|
+
} from "./chunk-2YXHXL6J.js";
|
324
|
+
import {
|
325
|
+
breadcrumb_exports
|
326
|
+
} from "./chunk-CRFTMIQA.js";
|
327
|
+
import {
|
328
|
+
defaultConfig,
|
329
|
+
defaultSystem
|
330
|
+
} from "./chunk-NKUBVRXY.js";
|
331
|
+
import "./chunk-QAAKAKP7.js";
|
332
|
+
import {
|
333
|
+
accordion_exports
|
334
|
+
} from "./chunk-KB6NR2HZ.js";
|
335
|
+
import {
|
336
|
+
action_bar_exports
|
337
|
+
} from "./chunk-K7BMQECB.js";
|
338
|
+
import {
|
339
|
+
Alert
|
340
|
+
} from "./chunk-4H66FBQW.js";
|
341
|
+
import "./chunk-JMYI6YXR.js";
|
342
|
+
import {
|
343
|
+
CloseButton
|
344
|
+
} from "./chunk-WZUKOJGI.js";
|
345
|
+
import {
|
346
|
+
IconButton
|
347
|
+
} from "./chunk-OJZPPAT6.js";
|
348
|
+
import {
|
349
|
+
Button
|
350
|
+
} from "./chunk-5HVAMQYO.js";
|
351
|
+
import "./chunk-OME35FUG.js";
|
352
|
+
import {
|
353
|
+
AppShell
|
354
|
+
} from "./chunk-YTTZX7ZE.js";
|
355
|
+
import {
|
356
|
+
AspectRatio
|
357
|
+
} from "./chunk-BSE7ZUP5.js";
|
358
|
+
import "./chunk-RTMS5TJN.js";
|
2780
359
|
|
2781
|
-
// src/
|
2782
|
-
import {
|
360
|
+
// src/index.ts
|
361
|
+
import { createSystem } from "@chakra-ui/react";
|
2783
362
|
export {
|
2784
363
|
accordion_exports as Accordion,
|
2785
364
|
action_bar_exports as ActionBar,
|
@@ -2793,7 +372,7 @@ export {
|
|
2793
372
|
BadgePropsProvider,
|
2794
373
|
Bleed,
|
2795
374
|
Blockquote,
|
2796
|
-
|
375
|
+
Box,
|
2797
376
|
breadcrumb_exports as Breadcrumb,
|
2798
377
|
Button,
|
2799
378
|
ButtonGroup,
|
@@ -2824,10 +403,10 @@ export {
|
|
2824
403
|
Float,
|
2825
404
|
FocusTrap,
|
2826
405
|
FormatByte,
|
2827
|
-
|
406
|
+
FormatNumber,
|
2828
407
|
Grid,
|
2829
408
|
grid_list_exports as GridList,
|
2830
|
-
|
409
|
+
Group,
|
2831
410
|
Heading,
|
2832
411
|
Highlight,
|
2833
412
|
hover_card_exports as HoverCard,
|
@@ -2843,7 +422,7 @@ export {
|
|
2843
422
|
InputPropsProvider,
|
2844
423
|
Kbd,
|
2845
424
|
Link,
|
2846
|
-
|
425
|
+
List,
|
2847
426
|
Loader,
|
2848
427
|
loading_overlay_exports as LoadingOverlay,
|
2849
428
|
Mark,
|
@@ -2855,22 +434,22 @@ export {
|
|
2855
434
|
pagination_exports as Pagination,
|
2856
435
|
PasswordInput,
|
2857
436
|
Persona,
|
2858
|
-
|
437
|
+
PersonaAvatar,
|
2859
438
|
PinInput,
|
2860
439
|
popover_exports as Popover,
|
2861
|
-
|
2862
|
-
|
440
|
+
Portal,
|
441
|
+
Presence,
|
2863
442
|
Progress,
|
2864
443
|
ProgressCircle,
|
2865
444
|
QrCode,
|
2866
445
|
Radio,
|
2867
446
|
radio_card_exports as RadioCard,
|
2868
|
-
|
447
|
+
RadioGroup,
|
2869
448
|
RatingGroup,
|
2870
449
|
SearchInput,
|
2871
450
|
SegmentedControl,
|
2872
451
|
namespace_exports as Select,
|
2873
|
-
|
452
|
+
Separator,
|
2874
453
|
Show,
|
2875
454
|
sidebar_exports as Sidebar,
|
2876
455
|
Skeleton,
|
@@ -2881,7 +460,7 @@ export {
|
|
2881
460
|
Slider,
|
2882
461
|
Spacer,
|
2883
462
|
Spinner,
|
2884
|
-
|
463
|
+
Stack,
|
2885
464
|
stat_exports as Stat,
|
2886
465
|
Status,
|
2887
466
|
steps_exports as Steps,
|
@@ -2892,7 +471,7 @@ export {
|
|
2892
471
|
Table,
|
2893
472
|
Tabs,
|
2894
473
|
Tag,
|
2895
|
-
|
474
|
+
Text,
|
2896
475
|
Textarea,
|
2897
476
|
Timeline,
|
2898
477
|
Toaster,
|
@@ -2911,10 +490,10 @@ export {
|
|
2911
490
|
useFieldContext,
|
2912
491
|
useFieldStyles,
|
2913
492
|
useFieldsetContext,
|
2914
|
-
|
493
|
+
useFileUploadContext,
|
2915
494
|
useLink,
|
2916
495
|
usePageStyles,
|
2917
|
-
|
496
|
+
useSidebar,
|
2918
497
|
useSidebarItemStyles,
|
2919
498
|
useSidebarStyles,
|
2920
499
|
useSui,
|