@saas-ui/react 3.0.0-next.0 → 3.0.0-next.10
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 +67 -0
- package/dist/.tsbuildinfo.json +1 -0
- package/dist/_tsup-dts-rollup.d.cts +15230 -0
- package/dist/_tsup-dts-rollup.d.ts +15230 -0
- package/dist/chunk-2NWOJCSX.js +14 -0
- package/dist/{chunk-3DGRWH7C.js → chunk-2UMNJBGS.js} +1 -1
- package/dist/chunk-3CKGT42F.js +10 -0
- package/dist/{chunk-HTVSG47E.js → chunk-3E6URZ5P.js} +1 -1
- package/dist/{chunk-HTQRA26F.js → chunk-3EWOE56X.js} +1 -1
- package/dist/chunk-46OCNELO.js +10 -0
- package/dist/chunk-4N4SHDPB.js +10 -0
- package/dist/chunk-6WZK2RBQ.js +12 -0
- package/dist/{chunk-TWTXZ7PR.js → chunk-6XSCENTR.js} +4 -7
- package/dist/chunk-AA5L5WPD.js +9 -0
- package/dist/{chunk-5MTFSSOH.js → chunk-BLSGOJQ7.js} +4 -2
- package/dist/chunk-BSE7ZUP5.js +10 -0
- package/dist/{chunk-4IZGJDYL.js → chunk-C5YLE76Q.js} +3 -4
- package/dist/{chunk-UNF77J24.js → chunk-DEP2DH7P.js} +1 -1
- package/dist/{chunk-Q6SNJJO2.js → chunk-DJNPK2LM.js} +2 -5
- package/dist/chunk-EWATHRZA.js +8 -0
- package/dist/{chunk-JPY2QZLC.js → chunk-FVUEAELO.js} +8 -8
- package/dist/{chunk-3EV6MKBG.js → chunk-GBAK2P5L.js} +7 -3
- package/dist/chunk-GDDJYUWM.js +12 -0
- package/dist/{chunk-YLZEO3RK.js → chunk-GQYL3VVZ.js} +3 -3
- package/dist/{chunk-77QJSEEA.js → chunk-GXOQVOKP.js} +4 -5
- package/dist/{chunk-Z37BQ5VU.js → chunk-HHKMVSL4.js} +1 -1
- package/dist/chunk-HHTTORZ6.js +8 -0
- package/dist/{chunk-GD2247J4.js → chunk-HREBIPVW.js} +5 -6
- package/dist/{chunk-EYOHLXWQ.js → chunk-HXNGSQQG.js} +1 -3
- package/dist/chunk-J5UCKCIO.js +16 -0
- package/dist/chunk-JQVOMAD5.js +10 -0
- package/dist/chunk-JR5RLXCK.js +8 -0
- package/dist/chunk-KHCQMSP7.js +36 -0
- package/dist/chunk-LFOA3DZO.js +12 -0
- package/dist/chunk-LGLJ2QUW.js +8 -0
- package/dist/{chunk-SXFVA6CX.js → chunk-LIOV5MU4.js} +1 -1
- package/dist/chunk-LU2H6GWC.js +10 -0
- package/dist/chunk-NCNHDETB.js +8 -0
- package/dist/chunk-NKUBVRXY.js +8896 -0
- package/dist/chunk-PAZQUPKN.js +9 -0
- package/dist/chunk-PEVIP5UT.js +8 -0
- package/dist/chunk-PONMXNY4.js +8 -0
- package/dist/{chunk-HKUOHPZ6.js → chunk-PZWP36YA.js} +1 -2
- package/dist/{chunk-XW747T2R.js → chunk-QITSWCWX.js} +6 -4
- package/dist/{chunk-SD2NTPHR.js → chunk-QKDPNO27.js} +1 -1
- package/dist/chunk-QNKQFCKJ.js +16 -0
- package/dist/{chunk-IEWGZ4LU.js → chunk-RFBD2ZNL.js} +1 -1
- package/dist/{chunk-AY7C4U2O.js → chunk-SHCKFHIN.js} +1 -1
- package/dist/chunk-TGEP2YAT.js +10 -0
- package/dist/{chunk-HD7BIWDH.js → chunk-TKJXJEXT.js} +1 -1
- package/dist/{chunk-T7XRS654.js → chunk-TXIFPX2A.js} +2 -4
- package/dist/{chunk-VJ4UOABT.js → chunk-TYGGMKHU.js} +3 -3
- package/dist/chunk-TYMVLD3B.js +14 -0
- package/dist/{chunk-H7KPEI6P.js → chunk-U2CWQDXE.js} +2 -3
- package/dist/chunk-UAX5344Y.js +10 -0
- package/dist/chunk-UZUMIWPJ.js +10 -0
- package/dist/{chunk-T2FPZNCP.js → chunk-VVTDE7NH.js} +2 -2
- package/dist/chunk-XD7U6L2E.js +10 -0
- package/dist/{chunk-2B5OZHZY.js → chunk-XQTIY2ND.js} +1 -1
- package/dist/{chunk-4XB7B73X.js → chunk-XRQQE2AC.js} +11 -2
- package/dist/chunk-Y2S4O4UY.js +10 -0
- package/dist/chunk-ZJ2VD224.js +113 -0
- package/dist/{chunk-O2WVT2BP.js → chunk-ZULBHMWG.js} +1 -1
- package/dist/{theme/tokens/colors.cjs → colors.cjs} +3 -1
- 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.cjs +7 -0
- package/dist/components/accordion/index.d.cts +1 -29
- package/dist/components/accordion/index.d.ts +1 -29
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/action-bar/index.cjs +8 -2
- package/dist/components/action-bar/index.d.cts +1 -33
- package/dist/components/action-bar/index.d.ts +1 -33
- package/dist/components/action-bar/index.js +3 -3
- package/dist/components/alert/index.cjs +8 -2
- package/dist/components/alert/index.d.cts +2 -14
- package/dist/components/alert/index.d.ts +2 -14
- package/dist/components/alert/index.js +3 -3
- package/dist/components/app-shell/index.d.cts +2 -30
- package/dist/components/app-shell/index.d.ts +2 -30
- package/dist/components/aspect-ratio/index.cjs +31 -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 -20
- package/dist/components/avatar/index.d.ts +3 -20
- 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 -27
- package/dist/components/badge/index.d.ts +3 -27
- package/dist/components/bleed/index.cjs +31 -0
- package/dist/components/bleed/index.d.cts +2 -0
- package/dist/components/bleed/index.d.ts +2 -0
- package/dist/{theme/tokens/colors.js → components/bleed/index.js} +3 -3
- package/dist/components/blockquote/index.d.cts +2 -12
- package/dist/components/blockquote/index.d.ts +2 -12
- package/dist/components/box/index.cjs +33 -0
- package/dist/components/box/index.d.cts +4 -0
- package/dist/components/box/index.d.ts +4 -0
- package/dist/components/box/index.js +10 -0
- package/dist/components/breadcrumb/index.d.cts +1 -23
- package/dist/components/breadcrumb/index.d.ts +1 -23
- package/dist/components/button/index.d.cts +2 -1
- package/dist/components/button/index.d.ts +2 -1
- package/dist/components/button-group/index.d.cts +2 -1
- package/dist/components/button-group/index.d.ts +2 -1
- package/dist/components/card/index.d.cts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/center/index.cjs +31 -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 -11
- package/dist/components/checkbox/index.d.ts +2 -11
- package/dist/components/checkbox-card/index.d.cts +2 -15
- package/dist/components/checkbox-card/index.d.ts +2 -15
- package/dist/components/checkmark/index.d.cts +2 -1
- package/dist/components/checkmark/index.d.ts +2 -1
- package/dist/components/client-only/index.cjs +31 -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.cjs +14 -2
- package/dist/components/clipboard/index.d.cts +3 -28
- package/dist/components/clipboard/index.d.ts +3 -28
- package/dist/components/clipboard/index.js +7 -5
- package/dist/components/close-button/index.cjs +8 -2
- package/dist/components/close-button/index.d.cts +2 -9
- package/dist/components/close-button/index.d.ts +2 -9
- package/dist/components/close-button/index.js +2 -2
- package/dist/components/code/index.d.cts +2 -1
- package/dist/components/code/index.d.ts +2 -1
- package/dist/components/collapsible/index.d.cts +1 -1
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/color-picker/index.cjs +31 -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.cjs +35 -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 -32
- package/dist/components/command/index.d.ts +1 -32
- package/dist/components/container/index.d.cts +2 -1
- package/dist/components/container/index.d.ts +2 -1
- package/dist/components/data-list/index.d.cts +2 -1
- package/dist/components/data-list/index.d.ts +2 -1
- package/dist/components/dialog/index.cjs +8 -4
- package/dist/components/dialog/index.d.cts +1 -46
- package/dist/components/dialog/index.d.ts +1 -46
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/drawer/index.cjs +8 -2
- package/dist/components/drawer/index.d.cts +1 -44
- package/dist/components/drawer/index.d.ts +1 -44
- package/dist/components/drawer/index.js +3 -3
- package/dist/components/editable/index.d.cts +1 -1
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/empty-state/index.d.cts +2 -11
- package/dist/components/empty-state/index.d.ts +2 -11
- package/dist/components/env/index.cjs +33 -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 -1
- package/dist/components/field/index.d.ts +3 -1
- package/dist/components/fieldset/index.d.cts +2 -1
- package/dist/components/fieldset/index.d.ts +2 -1
- package/dist/components/file-upload/index.cjs +9 -3
- package/dist/components/file-upload/index.d.cts +2 -46
- package/dist/components/file-upload/index.d.ts +2 -46
- package/dist/components/file-upload/index.js +3 -3
- package/dist/components/flex/index.cjs +31 -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 +8 -0
- package/dist/components/float/index.cjs +31 -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.cjs +31 -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.cjs +31 -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.cjs +33 -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.cjs +35 -0
- package/dist/components/grid/index.d.cts +6 -0
- package/dist/components/grid/index.d.ts +6 -0
- package/dist/components/grid/index.js +12 -0
- package/dist/components/grid-list/index.d.cts +1 -84
- package/dist/components/grid-list/index.d.ts +1 -84
- package/dist/components/group/index.cjs +31 -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 -1
- package/dist/components/heading/index.d.ts +2 -1
- package/dist/components/highlight/index.cjs +31 -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 -21
- package/dist/components/hover-card/index.d.ts +1 -21
- package/dist/components/icon/index.d.cts +2 -1
- package/dist/components/icon/index.d.ts +2 -1
- package/dist/components/icon-badge/index.d.cts +2 -16
- package/dist/components/icon-badge/index.d.ts +2 -16
- package/dist/components/icon-button/index.d.cts +2 -8
- package/dist/components/icon-button/index.d.ts +2 -8
- package/dist/components/icons/index.cjs +9 -0
- package/dist/components/icons/index.d.cts +18 -22
- package/dist/components/icons/index.d.ts +18 -22
- package/dist/components/icons/index.js +3 -1
- package/dist/components/image/index.d.cts +2 -1
- package/dist/components/image/index.d.ts +2 -1
- package/dist/components/info-tip/index.cjs +25 -17
- package/dist/components/info-tip/index.d.cts +2 -13
- package/dist/components/info-tip/index.d.ts +2 -13
- package/dist/components/info-tip/index.js +6 -5
- package/dist/components/input/index.cjs +2 -0
- package/dist/components/input/index.d.cts +9 -1
- package/dist/components/input/index.d.ts +9 -1
- package/dist/components/input/index.js +3 -1
- package/dist/components/kbd/index.d.cts +2 -1
- package/dist/components/kbd/index.d.ts +2 -1
- package/dist/components/link/index.cjs +1 -1
- package/dist/components/link/index.d.cts +2 -13
- package/dist/components/link/index.d.ts +2 -13
- package/dist/components/link/index.js +2 -2
- package/dist/components/list/index.d.cts +1 -1
- package/dist/components/list/index.d.ts +1 -1
- package/dist/components/loader/index.d.cts +1 -1
- package/dist/components/loader/index.d.ts +1 -1
- package/dist/components/loading-overlay/index.d.cts +2 -10
- package/dist/components/loading-overlay/index.d.ts +2 -10
- package/dist/components/locale/index.cjs +33 -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 -1
- package/dist/components/mark/index.d.ts +1 -1
- package/dist/components/menu/index.cjs +7 -0
- package/dist/components/menu/index.d.cts +1 -40
- package/dist/components/menu/index.d.ts +1 -40
- package/dist/components/menu/index.js +2 -2
- package/dist/components/native-select/index.cjs +7 -0
- package/dist/components/native-select/index.d.cts +2 -10
- package/dist/components/native-select/index.d.ts +2 -10
- package/dist/components/native-select/index.js +2 -2
- package/dist/components/navbar/index.cjs +2 -5
- package/dist/components/navbar/index.d.cts +1 -21
- package/dist/components/navbar/index.d.ts +1 -21
- package/dist/components/navbar/index.js +2 -2
- package/dist/components/number-input/index.cjs +10 -38
- package/dist/components/number-input/index.d.cts +2 -13
- package/dist/components/number-input/index.d.ts +2 -13
- package/dist/components/number-input/index.js +2 -3
- package/dist/components/page/index.cjs +196 -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 +10 -6
- package/dist/components/pagination/index.d.cts +1 -43
- package/dist/components/pagination/index.d.ts +1 -43
- package/dist/components/pagination/index.js +2 -2
- package/dist/components/password-input/index.cjs +14 -42
- package/dist/components/password-input/index.d.cts +2 -20
- package/dist/components/password-input/index.d.ts +2 -20
- package/dist/components/password-input/index.js +2 -3
- package/dist/components/persona/index.cjs +4 -4
- package/dist/components/persona/index.d.cts +7 -222
- package/dist/components/persona/index.d.ts +7 -222
- package/dist/components/persona/index.js +3 -3
- package/dist/components/pin-input/index.d.cts +2 -12
- package/dist/components/pin-input/index.d.ts +2 -12
- package/dist/components/popover/index.cjs +15 -19
- package/dist/components/popover/index.d.cts +1 -3
- package/dist/components/popover/index.d.ts +1 -3
- package/dist/components/popover/index.js +3 -3
- package/dist/components/portal/index.cjs +31 -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.cjs +31 -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 -1
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress-circle/index.d.cts +1 -1
- package/dist/components/progress-circle/index.d.ts +1 -1
- package/dist/components/qr-code/index.cjs +33 -0
- package/dist/components/qr-code/index.d.cts +4 -0
- package/dist/components/qr-code/index.d.ts +4 -0
- package/dist/components/qr-code/index.js +10 -0
- package/dist/components/radio/index.cjs +2 -4
- package/dist/components/radio/index.d.cts +2 -12
- package/dist/components/radio/index.d.ts +2 -12
- package/dist/components/radio/index.js +3 -5
- package/dist/components/radio-card/index.d.cts +1 -31
- package/dist/components/radio-card/index.d.ts +1 -31
- package/dist/components/radio-group/index.cjs +31 -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.cjs +31 -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 -1
- package/dist/components/rating-group/index.d.ts +1 -1
- package/dist/components/search-input/index.cjs +9 -3
- package/dist/components/search-input/index.d.cts +2 -15
- package/dist/components/search-input/index.d.ts +2 -15
- package/dist/components/search-input/index.js +2 -2
- package/dist/components/segmented-control/index.d.cts +2 -14
- package/dist/components/segmented-control/index.d.ts +2 -14
- package/dist/components/select/index.cjs +8 -2
- package/dist/components/select/index.d.cts +1 -33
- package/dist/components/select/index.d.ts +1 -33
- package/dist/components/select/index.js +3 -3
- package/dist/components/separator/index.d.cts +2 -1
- package/dist/components/separator/index.d.ts +2 -1
- package/dist/components/show/index.cjs +31 -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 -90
- package/dist/components/sidebar/index.d.ts +4 -90
- package/dist/components/skeleton/index.d.cts +6 -17
- package/dist/components/skeleton/index.d.ts +6 -17
- package/dist/components/skip-nav/index.cjs +33 -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 -1
- package/dist/components/skip-nav-link/index.d.ts +4 -1
- package/dist/components/skip-nav-link/index.js +6 -4
- package/dist/components/slider/index.cjs +5 -6
- package/dist/components/slider/index.d.cts +2 -13
- package/dist/components/slider/index.d.ts +2 -13
- package/dist/components/slider/index.js +1 -1
- package/dist/components/spacer/index.cjs +31 -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 -10
- package/dist/components/spinner/index.d.ts +2 -10
- package/dist/components/stack/index.cjs +37 -0
- package/dist/components/stack/index.d.cts +6 -0
- package/dist/components/stack/index.d.ts +6 -0
- package/dist/components/stack/index.js +14 -0
- package/dist/components/stat/index.d.cts +1 -29
- package/dist/components/stat/index.d.ts +1 -29
- package/dist/components/status/index.d.cts +2 -18
- package/dist/components/status/index.d.ts +2 -18
- package/dist/components/steps/index.cjs +7 -0
- package/dist/components/steps/index.d.cts +1 -31
- package/dist/components/steps/index.d.ts +1 -31
- package/dist/components/steps/index.js +2 -2
- package/dist/components/switch/index.cjs +1 -1
- package/dist/components/switch/index.d.cts +2 -18
- package/dist/components/switch/index.d.ts +2 -18
- package/dist/components/switch/index.js +1 -1
- package/dist/components/table/index.d.cts +1 -1
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/tabs/index.d.cts +4 -1
- package/dist/components/tabs/index.d.ts +4 -1
- package/dist/components/tag/index.d.cts +2 -12
- package/dist/components/tag/index.d.ts +2 -12
- package/dist/components/textarea/index.d.cts +2 -1
- package/dist/components/textarea/index.d.ts +2 -1
- package/dist/components/timeline/index.d.cts +1 -1
- package/dist/components/timeline/index.d.ts +1 -1
- package/dist/components/toaster/index.cjs +11 -6
- package/dist/components/toaster/index.d.cts +3 -11
- package/dist/components/toaster/index.d.ts +3 -11
- package/dist/components/toaster/index.js +3 -3
- package/dist/components/toggle/index.cjs +31 -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 +22 -14
- package/dist/components/toggle-tip/index.d.cts +2 -13
- package/dist/components/toggle-tip/index.d.ts +2 -13
- package/dist/components/toggle-tip/index.js +5 -4
- package/dist/components/tooltip/index.d.cts +2 -14
- package/dist/components/tooltip/index.d.ts +2 -14
- package/dist/components/typography/index.cjs +37 -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.cjs +31 -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 +848 -553
- package/dist/index.d.cts +264 -145
- package/dist/index.d.ts +264 -145
- package/dist/index.js +313 -9020
- package/dist/preset.cjs +9233 -0
- package/dist/preset.d.cts +3 -0
- package/dist/preset.d.ts +3 -0
- package/dist/preset.js +12 -0
- package/package.json +27 -13
- package/dist/chunk-BFO2S4Y5.js +0 -12
- package/dist/chunk-HKMYYESV.js +0 -34
- package/dist/components/input-group/index.cjs +0 -61
- package/dist/components/input-group/index.d.cts +0 -14
- package/dist/components/input-group/index.d.ts +0 -14
- package/dist/components/input-group/index.js +0 -9
- package/dist/index-zAqswhEI.d.cts +0 -37
- package/dist/index-zAqswhEI.d.ts +0 -37
- package/dist/loading-overlay-BQ4lOS6T.d.ts +0 -23
- package/dist/loading-overlay-afP_W7ru.d.cts +0 -23
- package/dist/theme/tokens/colors.d.cts +0 -856
- package/dist/theme/tokens/colors.d.ts +0 -856
- package/dist/types-DnFoUudY.d.cts +0 -10
- package/dist/types-DnFoUudY.d.ts +0 -10
- /package/dist/{chunk-3MO37LYW.js → chunk-QAAKAKP7.js} +0 -0
@@ -1,17 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
size?: CircleProps['size'];
|
8
|
-
}
|
9
|
-
declare const SkeletonCircle: (props: SkeletonCircleProps) => react_jsx_runtime.JSX.Element;
|
10
|
-
interface SkeletonTextProps extends SkeletonProps$1 {
|
11
|
-
noOfLines?: number;
|
12
|
-
}
|
13
|
-
declare const SkeletonText: react.ForwardRefExoticComponent<SkeletonTextProps & react.RefAttributes<HTMLDivElement>>;
|
14
|
-
type SkeletonProps = SkeletonProps$1;
|
15
|
-
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps$1 & react.RefAttributes<HTMLDivElement>>;
|
16
|
-
|
17
|
-
export { Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps };
|
1
|
+
export { Skeleton_alias_1 as Skeleton } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { SkeletonProps_alias_1 as SkeletonProps } from '../../_tsup-dts-rollup.cjs';
|
3
|
+
export { SkeletonCircle_alias_1 as SkeletonCircle } from '../../_tsup-dts-rollup.cjs';
|
4
|
+
export { SkeletonCircleProps_alias_1 as SkeletonCircleProps } from '../../_tsup-dts-rollup.cjs';
|
5
|
+
export { SkeletonText_alias_1 as SkeletonText } from '../../_tsup-dts-rollup.cjs';
|
6
|
+
export { SkeletonTextProps_alias_1 as SkeletonTextProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,17 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
size?: CircleProps['size'];
|
8
|
-
}
|
9
|
-
declare const SkeletonCircle: (props: SkeletonCircleProps) => react_jsx_runtime.JSX.Element;
|
10
|
-
interface SkeletonTextProps extends SkeletonProps$1 {
|
11
|
-
noOfLines?: number;
|
12
|
-
}
|
13
|
-
declare const SkeletonText: react.ForwardRefExoticComponent<SkeletonTextProps & react.RefAttributes<HTMLDivElement>>;
|
14
|
-
type SkeletonProps = SkeletonProps$1;
|
15
|
-
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps$1 & react.RefAttributes<HTMLDivElement>>;
|
16
|
-
|
17
|
-
export { Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps };
|
1
|
+
export { Skeleton_alias_1 as Skeleton } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { SkeletonProps_alias_1 as SkeletonProps } from '../../_tsup-dts-rollup.js';
|
3
|
+
export { SkeletonCircle_alias_1 as SkeletonCircle } from '../../_tsup-dts-rollup.js';
|
4
|
+
export { SkeletonCircleProps_alias_1 as SkeletonCircleProps } from '../../_tsup-dts-rollup.js';
|
5
|
+
export { SkeletonText_alias_1 as SkeletonText } from '../../_tsup-dts-rollup.js';
|
6
|
+
export { SkeletonTextProps_alias_1 as SkeletonTextProps } from '../../_tsup-dts-rollup.js';
|
@@ -0,0 +1,33 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/skip-nav/index.ts
|
22
|
+
var skip_nav_exports = {};
|
23
|
+
__export(skip_nav_exports, {
|
24
|
+
SkipNavContent: () => import_skip_nav.SkipNavContent,
|
25
|
+
SkipNavLink: () => import_skip_nav.SkipNavLink
|
26
|
+
});
|
27
|
+
module.exports = __toCommonJS(skip_nav_exports);
|
28
|
+
var import_skip_nav = require("@chakra-ui/react/skip-nav");
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
30
|
+
0 && (module.exports = {
|
31
|
+
SkipNavContent,
|
32
|
+
SkipNavLink
|
33
|
+
});
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { SkipNavContent_alias_1 as SkipNavContent } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { SkipNavContentProps_alias_1 as SkipNavContentProps } from '../../_tsup-dts-rollup.cjs';
|
3
|
+
export { SkipNavLink_alias_1 as SkipNavLink } from '../../_tsup-dts-rollup.cjs';
|
4
|
+
export { SkipNavLinkProps_alias_1 as SkipNavLinkProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { SkipNavContent_alias_1 as SkipNavContent } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { SkipNavContentProps_alias_1 as SkipNavContentProps } from '../../_tsup-dts-rollup.js';
|
3
|
+
export { SkipNavLink_alias_1 as SkipNavLink } from '../../_tsup-dts-rollup.js';
|
4
|
+
export { SkipNavLinkProps_alias_1 as SkipNavLinkProps } from '../../_tsup-dts-rollup.js';
|
@@ -1 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { SkipNavLink_alias_2 as SkipNavLink } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { SkipNavContent_alias_2 as SkipNavContent } from '../../_tsup-dts-rollup.cjs';
|
3
|
+
export { SkipNavContentProps_alias_2 as SkipNavContentProps } from '../../_tsup-dts-rollup.cjs';
|
4
|
+
export { SkipNavLinkProps_alias_2 as SkipNavLinkProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1 +1,4 @@
|
|
1
|
-
export {
|
1
|
+
export { SkipNavLink_alias_2 as SkipNavLink } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { SkipNavContent_alias_2 as SkipNavContent } from '../../_tsup-dts-rollup.js';
|
3
|
+
export { SkipNavContentProps_alias_2 as SkipNavContentProps } from '../../_tsup-dts-rollup.js';
|
4
|
+
export { SkipNavLinkProps_alias_2 as SkipNavLinkProps } from '../../_tsup-dts-rollup.js';
|
@@ -1,9 +1,11 @@
|
|
1
1
|
'use client'
|
2
|
-
import {
|
3
|
-
SkipNavContent,
|
4
|
-
SkipNavLink
|
5
|
-
} from "../../chunk-BFO2S4Y5.js";
|
6
2
|
import "../../chunk-RTMS5TJN.js";
|
3
|
+
|
4
|
+
// src/components/skip-nav-link/index.ts
|
5
|
+
import {
|
6
|
+
SkipNavLink,
|
7
|
+
SkipNavContent
|
8
|
+
} from "@chakra-ui/react/skip-nav";
|
7
9
|
export {
|
8
10
|
SkipNavContent,
|
9
11
|
SkipNavLink
|
@@ -31,21 +31,20 @@ var import_slider = require("@chakra-ui/react/slider");
|
|
31
31
|
var import_jsx_runtime = require("react/jsx-runtime");
|
32
32
|
var Slider = (0, import_react.forwardRef)(
|
33
33
|
function Slider2(props, ref) {
|
34
|
-
var _a;
|
35
34
|
const { marks: marksProp, label, ...rest } = props;
|
36
|
-
const value =
|
37
|
-
const marks = marksProp
|
35
|
+
const value = props.defaultValue ?? props.value;
|
36
|
+
const marks = marksProp?.map((mark) => {
|
38
37
|
if (typeof mark === "number") return { value: mark, label: void 0 };
|
39
38
|
return mark;
|
40
39
|
});
|
41
|
-
const hasMarkLabel = !!
|
40
|
+
const hasMarkLabel = !!marks?.some((mark) => mark.label);
|
42
41
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_slider.Slider.Root, { ref, thumbAlignment: "center", ...rest, children: [
|
43
42
|
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Label, { fontWeight: "medium", children: label }),
|
44
43
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_slider.Slider.Control, { mb: hasMarkLabel ? "4" : void 0, children: [
|
45
44
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Track, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Range, {}) }),
|
46
|
-
value
|
45
|
+
value?.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Thumb, { index, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.HiddenInput, {}) }, index))
|
47
46
|
] }),
|
48
|
-
|
47
|
+
marks?.length && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.MarkerGroup, { children: marks.map((mark, index) => {
|
49
48
|
const value2 = typeof mark === "number" ? mark : mark.value;
|
50
49
|
const label2 = typeof mark === "number" ? void 0 : mark.label;
|
51
50
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_slider.Slider.Marker, { value: value2, children: [
|
@@ -1,13 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
interface SliderProps extends Slider$1.RootProps {
|
5
|
-
marks?: Array<number | {
|
6
|
-
value: number;
|
7
|
-
label: React.ReactNode;
|
8
|
-
}>;
|
9
|
-
label?: React.ReactNode;
|
10
|
-
}
|
11
|
-
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
-
|
13
|
-
export { Slider, type SliderProps };
|
1
|
+
export { Slider_alias_1 as Slider } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { SliderProps_alias_1 as SliderProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,13 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
interface SliderProps extends Slider$1.RootProps {
|
5
|
-
marks?: Array<number | {
|
6
|
-
value: number;
|
7
|
-
label: React.ReactNode;
|
8
|
-
}>;
|
9
|
-
label?: React.ReactNode;
|
10
|
-
}
|
11
|
-
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
-
|
13
|
-
export { Slider, type SliderProps };
|
1
|
+
export { Slider_alias_1 as Slider } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { SliderProps_alias_1 as SliderProps } from '../../_tsup-dts-rollup.js';
|
@@ -0,0 +1,31 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/spacer/index.ts
|
22
|
+
var spacer_exports = {};
|
23
|
+
__export(spacer_exports, {
|
24
|
+
Spacer: () => import_spacer.Spacer
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(spacer_exports);
|
27
|
+
var import_spacer = require("@chakra-ui/react/spacer");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Spacer
|
31
|
+
});
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
interface SpinnerProps extends SpinnerProps$1 {
|
5
|
-
loading?: boolean;
|
6
|
-
children?: React.ReactNode;
|
7
|
-
}
|
8
|
-
declare const Spinner: react.ForwardRefExoticComponent<SpinnerProps & react.RefAttributes<HTMLDivElement>>;
|
9
|
-
|
10
|
-
export { Spinner, type SpinnerProps };
|
1
|
+
export { Spinner_alias_1 as Spinner } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { SpinnerProps_alias_1 as SpinnerProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
interface SpinnerProps extends SpinnerProps$1 {
|
5
|
-
loading?: boolean;
|
6
|
-
children?: React.ReactNode;
|
7
|
-
}
|
8
|
-
declare const Spinner: react.ForwardRefExoticComponent<SpinnerProps & react.RefAttributes<HTMLDivElement>>;
|
9
|
-
|
10
|
-
export { Spinner, type SpinnerProps };
|
1
|
+
export { Spinner_alias_1 as Spinner } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { SpinnerProps_alias_1 as SpinnerProps } from '../../_tsup-dts-rollup.js';
|
@@ -0,0 +1,37 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/stack/index.ts
|
22
|
+
var stack_exports = {};
|
23
|
+
__export(stack_exports, {
|
24
|
+
HStack: () => import_stack.HStack,
|
25
|
+
Stack: () => import_stack.Stack,
|
26
|
+
StackSeparator: () => import_stack.StackSeparator,
|
27
|
+
VStack: () => import_stack.VStack
|
28
|
+
});
|
29
|
+
module.exports = __toCommonJS(stack_exports);
|
30
|
+
var import_stack = require("@chakra-ui/react/stack");
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
32
|
+
0 && (module.exports = {
|
33
|
+
HStack,
|
34
|
+
Stack,
|
35
|
+
StackSeparator,
|
36
|
+
VStack
|
37
|
+
});
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { Stack_alias_1 as Stack } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { StackProps_alias_1 as StackProps } from '../../_tsup-dts-rollup.cjs';
|
3
|
+
export { HStack_alias_1 as HStack } from '../../_tsup-dts-rollup.cjs';
|
4
|
+
export { StackSeparator_alias_1 as StackSeparator } from '../../_tsup-dts-rollup.cjs';
|
5
|
+
export { StackSeparatorProps_alias_1 as StackSeparatorProps } from '../../_tsup-dts-rollup.cjs';
|
6
|
+
export { VStack_alias_1 as VStack } from '../../_tsup-dts-rollup.cjs';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { Stack_alias_1 as Stack } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { StackProps_alias_1 as StackProps } from '../../_tsup-dts-rollup.js';
|
3
|
+
export { HStack_alias_1 as HStack } from '../../_tsup-dts-rollup.js';
|
4
|
+
export { StackSeparator_alias_1 as StackSeparator } from '../../_tsup-dts-rollup.js';
|
5
|
+
export { StackSeparatorProps_alias_1 as StackSeparatorProps } from '../../_tsup-dts-rollup.js';
|
6
|
+
export { VStack_alias_1 as VStack } from '../../_tsup-dts-rollup.js';
|
@@ -1,29 +1 @@
|
|
1
|
-
|
2
|
-
import { BadgeProps } from '@chakra-ui/react/badge';
|
3
|
-
import { Stat } from '@chakra-ui/react/stat';
|
4
|
-
|
5
|
-
interface StatValueTextProps extends Stat.ValueTextProps {
|
6
|
-
value?: number;
|
7
|
-
formatOptions?: Intl.NumberFormatOptions;
|
8
|
-
}
|
9
|
-
declare const StatValueText: react.ForwardRefExoticComponent<StatValueTextProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
-
declare const StatUpTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
-
declare const StatDownTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
-
declare const Root: react.ForwardRefExoticComponent<Stat.RootProps & react.RefAttributes<HTMLDListElement>>;
|
13
|
-
declare const Label: react.ForwardRefExoticComponent<Stat.LabelProps & react.RefAttributes<HTMLElement>>;
|
14
|
-
declare const HelpText: react.ForwardRefExoticComponent<Stat.HelpTextProps & react.RefAttributes<HTMLElement>>;
|
15
|
-
declare const ValueUnit: react.ForwardRefExoticComponent<Stat.ValueUnitProps & react.RefAttributes<HTMLElement>>;
|
16
|
-
type RootProps = Stat.RootProps;
|
17
|
-
type ValueTextProps = StatValueTextProps;
|
18
|
-
|
19
|
-
declare const stat_HelpText: typeof HelpText;
|
20
|
-
declare const stat_Label: typeof Label;
|
21
|
-
declare const stat_Root: typeof Root;
|
22
|
-
type stat_RootProps = RootProps;
|
23
|
-
type stat_ValueTextProps = ValueTextProps;
|
24
|
-
declare const stat_ValueUnit: typeof ValueUnit;
|
25
|
-
declare namespace stat {
|
26
|
-
export { StatDownTrend as DownTrend, stat_HelpText as HelpText, stat_Label as Label, stat_Root as Root, type stat_RootProps as RootProps, StatUpTrend as UpTrend, StatValueText as ValueText, type stat_ValueTextProps as ValueTextProps, stat_ValueUnit as ValueUnit };
|
27
|
-
}
|
28
|
-
|
29
|
-
export { stat as Stat };
|
1
|
+
export { Stat_alias_1 as Stat } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,29 +1 @@
|
|
1
|
-
|
2
|
-
import { BadgeProps } from '@chakra-ui/react/badge';
|
3
|
-
import { Stat } from '@chakra-ui/react/stat';
|
4
|
-
|
5
|
-
interface StatValueTextProps extends Stat.ValueTextProps {
|
6
|
-
value?: number;
|
7
|
-
formatOptions?: Intl.NumberFormatOptions;
|
8
|
-
}
|
9
|
-
declare const StatValueText: react.ForwardRefExoticComponent<StatValueTextProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
-
declare const StatUpTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
-
declare const StatDownTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
-
declare const Root: react.ForwardRefExoticComponent<Stat.RootProps & react.RefAttributes<HTMLDListElement>>;
|
13
|
-
declare const Label: react.ForwardRefExoticComponent<Stat.LabelProps & react.RefAttributes<HTMLElement>>;
|
14
|
-
declare const HelpText: react.ForwardRefExoticComponent<Stat.HelpTextProps & react.RefAttributes<HTMLElement>>;
|
15
|
-
declare const ValueUnit: react.ForwardRefExoticComponent<Stat.ValueUnitProps & react.RefAttributes<HTMLElement>>;
|
16
|
-
type RootProps = Stat.RootProps;
|
17
|
-
type ValueTextProps = StatValueTextProps;
|
18
|
-
|
19
|
-
declare const stat_HelpText: typeof HelpText;
|
20
|
-
declare const stat_Label: typeof Label;
|
21
|
-
declare const stat_Root: typeof Root;
|
22
|
-
type stat_RootProps = RootProps;
|
23
|
-
type stat_ValueTextProps = ValueTextProps;
|
24
|
-
declare const stat_ValueUnit: typeof ValueUnit;
|
25
|
-
declare namespace stat {
|
26
|
-
export { StatDownTrend as DownTrend, stat_HelpText as HelpText, stat_Label as Label, stat_Root as Root, type stat_RootProps as RootProps, StatUpTrend as UpTrend, StatValueText as ValueText, type stat_ValueTextProps as ValueTextProps, stat_ValueUnit as ValueUnit };
|
27
|
-
}
|
28
|
-
|
29
|
-
export { stat as Stat };
|
1
|
+
export { Stat_alias_1 as Stat } from '../../_tsup-dts-rollup.js';
|
@@ -1,18 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { Token } from '@chakra-ui/react/styled-system';
|
4
|
-
|
5
|
-
type StatusTokens = Extract<Token, `colors.status.${string}`>;
|
6
|
-
interface StatusProps extends Status$1.RootProps {
|
7
|
-
/**
|
8
|
-
* The status value, used to determine the color of the status
|
9
|
-
* colors can be configured as semantic tokens under the `colors.status` key.
|
10
|
-
*/
|
11
|
-
value?: StatusTokens extends never ? string : StatusTokens;
|
12
|
-
}
|
13
|
-
/**
|
14
|
-
* Status component
|
15
|
-
*/
|
16
|
-
declare const Status: react.ForwardRefExoticComponent<StatusProps & react.RefAttributes<HTMLDivElement>>;
|
17
|
-
|
18
|
-
export { Status, type StatusProps };
|
1
|
+
export { Status_alias_1 as Status } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { StatusProps_alias_1 as StatusProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,18 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { Token } from '@chakra-ui/react/styled-system';
|
4
|
-
|
5
|
-
type StatusTokens = Extract<Token, `colors.status.${string}`>;
|
6
|
-
interface StatusProps extends Status$1.RootProps {
|
7
|
-
/**
|
8
|
-
* The status value, used to determine the color of the status
|
9
|
-
* colors can be configured as semantic tokens under the `colors.status` key.
|
10
|
-
*/
|
11
|
-
value?: StatusTokens extends never ? string : StatusTokens;
|
12
|
-
}
|
13
|
-
/**
|
14
|
-
* Status component
|
15
|
-
*/
|
16
|
-
declare const Status: react.ForwardRefExoticComponent<StatusProps & react.RefAttributes<HTMLDivElement>>;
|
17
|
-
|
18
|
-
export { Status, type StatusProps };
|
1
|
+
export { Status_alias_1 as Status } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { StatusProps_alias_1 as StatusProps } from '../../_tsup-dts-rollup.js';
|
@@ -162,6 +162,13 @@ var InfoIcon = createIcon({
|
|
162
162
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
163
163
|
] })
|
164
164
|
});
|
165
|
+
var ArrowLeftIcon = createIcon({
|
166
|
+
displayName: "ArrowLeftIcon",
|
167
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
168
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "19", y1: "12", x2: "5", y2: "12" }),
|
169
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "12 19 5 12 12 5" })
|
170
|
+
] })
|
171
|
+
});
|
165
172
|
|
166
173
|
// src/components/steps/steps.tsx
|
167
174
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
@@ -1,31 +1 @@
|
|
1
|
-
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
3
|
-
import { Steps, useStepsContext } from '@chakra-ui/react/steps';
|
4
|
-
|
5
|
-
interface StepInfoProps {
|
6
|
-
title?: React.ReactNode;
|
7
|
-
description?: React.ReactNode;
|
8
|
-
}
|
9
|
-
interface StepsItemProps extends Omit<Steps.ItemProps, 'title'>, StepInfoProps {
|
10
|
-
completedIcon?: React.ReactNode;
|
11
|
-
icon?: React.ReactNode;
|
12
|
-
}
|
13
|
-
declare const StepsItem: (props: StepsItemProps) => react_jsx_runtime.JSX.Element;
|
14
|
-
interface StepsIndicatorProps {
|
15
|
-
completedIcon: React.ReactNode;
|
16
|
-
icon?: React.ReactNode;
|
17
|
-
}
|
18
|
-
declare const StepsIndicator: (props: StepsIndicatorProps) => react_jsx_runtime.JSX.Element;
|
19
|
-
declare const StepsList: react.ForwardRefExoticComponent<Steps.ListProps & react.RefAttributes<HTMLDivElement>>;
|
20
|
-
type StepsRootProps = Steps.RootProps;
|
21
|
-
declare const StepsRoot: react.ForwardRefExoticComponent<Steps.RootProps & react.RefAttributes<HTMLDivElement>>;
|
22
|
-
declare const StepsContent: react.ForwardRefExoticComponent<Steps.ContentProps & react.RefAttributes<HTMLDivElement>>;
|
23
|
-
declare const StepsCompletedContent: react.ForwardRefExoticComponent<Steps.CompletedContentProps & react.RefAttributes<HTMLDivElement>>;
|
24
|
-
declare const StepsNextTrigger: (props: Steps.NextTriggerProps) => react_jsx_runtime.JSX.Element;
|
25
|
-
declare const StepsPrevTrigger: (props: Steps.PrevTriggerProps) => react_jsx_runtime.JSX.Element;
|
26
|
-
|
27
|
-
declare namespace steps {
|
28
|
-
export { StepsCompletedContent as CompletedContent, StepsContent as Content, StepsIndicator as Indicator, type StepsIndicatorProps as IndicatorProps, StepsItem as Item, type StepsItemProps as ItemProps, StepsList as List, StepsNextTrigger as NextTrigger, StepsPrevTrigger as PrevTrigger, StepsRoot as Root, type StepsRootProps as RootProps, useStepsContext as useContext };
|
29
|
-
}
|
30
|
-
|
31
|
-
export { steps as Steps };
|
1
|
+
export { Steps_alias_1 as Steps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,31 +1 @@
|
|
1
|
-
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
3
|
-
import { Steps, useStepsContext } from '@chakra-ui/react/steps';
|
4
|
-
|
5
|
-
interface StepInfoProps {
|
6
|
-
title?: React.ReactNode;
|
7
|
-
description?: React.ReactNode;
|
8
|
-
}
|
9
|
-
interface StepsItemProps extends Omit<Steps.ItemProps, 'title'>, StepInfoProps {
|
10
|
-
completedIcon?: React.ReactNode;
|
11
|
-
icon?: React.ReactNode;
|
12
|
-
}
|
13
|
-
declare const StepsItem: (props: StepsItemProps) => react_jsx_runtime.JSX.Element;
|
14
|
-
interface StepsIndicatorProps {
|
15
|
-
completedIcon: React.ReactNode;
|
16
|
-
icon?: React.ReactNode;
|
17
|
-
}
|
18
|
-
declare const StepsIndicator: (props: StepsIndicatorProps) => react_jsx_runtime.JSX.Element;
|
19
|
-
declare const StepsList: react.ForwardRefExoticComponent<Steps.ListProps & react.RefAttributes<HTMLDivElement>>;
|
20
|
-
type StepsRootProps = Steps.RootProps;
|
21
|
-
declare const StepsRoot: react.ForwardRefExoticComponent<Steps.RootProps & react.RefAttributes<HTMLDivElement>>;
|
22
|
-
declare const StepsContent: react.ForwardRefExoticComponent<Steps.ContentProps & react.RefAttributes<HTMLDivElement>>;
|
23
|
-
declare const StepsCompletedContent: react.ForwardRefExoticComponent<Steps.CompletedContentProps & react.RefAttributes<HTMLDivElement>>;
|
24
|
-
declare const StepsNextTrigger: (props: Steps.NextTriggerProps) => react_jsx_runtime.JSX.Element;
|
25
|
-
declare const StepsPrevTrigger: (props: Steps.PrevTriggerProps) => react_jsx_runtime.JSX.Element;
|
26
|
-
|
27
|
-
declare namespace steps {
|
28
|
-
export { StepsCompletedContent as CompletedContent, StepsContent as Content, StepsIndicator as Indicator, type StepsIndicatorProps as IndicatorProps, StepsItem as Item, type StepsItemProps as ItemProps, StepsList as List, StepsNextTrigger as NextTrigger, StepsPrevTrigger as PrevTrigger, StepsRoot as Root, type StepsRootProps as RootProps, useStepsContext as useContext };
|
29
|
-
}
|
30
|
-
|
31
|
-
export { steps as Steps };
|
1
|
+
export { Steps_alias_1 as Steps } from '../../_tsup-dts-rollup.js';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
steps_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-XQTIY2ND.js";
|
5
5
|
import "../../chunk-KTLWEUNW.js";
|
6
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-XRQQE2AC.js";
|
7
7
|
import "../../chunk-RTMS5TJN.js";
|
8
8
|
export {
|
9
9
|
steps_exports as Steps
|
@@ -35,7 +35,7 @@ var Switch = (0, import_react.forwardRef)(
|
|
35
35
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_switch.Switch.Root, { ref: rootRef, ...rest, children: [
|
36
36
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_switch.Switch.HiddenInput, { ref, ...inputProps }),
|
37
37
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_switch.Switch.Control, { children: [
|
38
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_switch.Switch.Thumb, { children: thumbLabel && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_switch.Switch.ThumbIndicator, { fallback: thumbLabel
|
38
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_switch.Switch.Thumb, { children: thumbLabel && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_switch.Switch.ThumbIndicator, { fallback: thumbLabel?.off, children: thumbLabel?.on }) }),
|
39
39
|
trackLabel && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_switch.Switch.Indicator, { fallback: trackLabel.off, children: trackLabel.on })
|
40
40
|
] }),
|
41
41
|
children != null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_switch.Switch.Label, { children })
|
@@ -1,18 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
interface SwitchProps extends Switch$1.RootProps {
|
5
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
6
|
-
rootRef?: React.Ref<HTMLLabelElement>;
|
7
|
-
trackLabel?: {
|
8
|
-
on: React.ReactNode;
|
9
|
-
off: React.ReactNode;
|
10
|
-
};
|
11
|
-
thumbLabel?: {
|
12
|
-
on: React.ReactNode;
|
13
|
-
off: React.ReactNode;
|
14
|
-
};
|
15
|
-
}
|
16
|
-
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
|
17
|
-
|
18
|
-
export { Switch, type SwitchProps };
|
1
|
+
export { Switch_alias_1 as Switch } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { SwitchProps_alias_1 as SwitchProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,18 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
interface SwitchProps extends Switch$1.RootProps {
|
5
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
6
|
-
rootRef?: React.Ref<HTMLLabelElement>;
|
7
|
-
trackLabel?: {
|
8
|
-
on: React.ReactNode;
|
9
|
-
off: React.ReactNode;
|
10
|
-
};
|
11
|
-
thumbLabel?: {
|
12
|
-
on: React.ReactNode;
|
13
|
-
off: React.ReactNode;
|
14
|
-
};
|
15
|
-
}
|
16
|
-
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
|
17
|
-
|
18
|
-
export { Switch, type SwitchProps };
|
1
|
+
export { Switch_alias_1 as Switch } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { SwitchProps_alias_1 as SwitchProps } from '../../_tsup-dts-rollup.js';
|