@saas-ui/react 3.0.0-next.0 → 3.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/{components/accordion → accordion}/index.cjs +7 -0
- package/dist/{chunk-SD2NTPHR.js → accordion/index.js} +3 -4
- package/dist/{components/action-bar → action-bar}/index.cjs +7 -0
- package/dist/{chunk-AY7C4U2O.js → action-bar/index.js} +4 -4
- package/dist/{components/alert → alert}/index.cjs +7 -0
- package/dist/{chunk-HTQRA26F.js → alert/index.js} +3 -2
- package/dist/{chunk-YTTZX7ZE.js → app-shell/index.js} +1 -1
- package/dist/aspect-ratio/index.cjs +31 -0
- package/dist/aspect-ratio/index.d.cts +1 -0
- package/dist/aspect-ratio/index.d.ts +1 -0
- package/dist/aspect-ratio/index.js +10 -0
- package/dist/{chunk-FN7TU5F5.js → avatar/index.js} +0 -1
- package/dist/back-button/index.cjs +227 -0
- package/dist/back-button/index.d.cts +11 -0
- package/dist/back-button/index.d.ts +11 -0
- package/dist/back-button/index.js +191 -0
- package/dist/badge/index.d.cts +1 -0
- package/dist/badge/index.d.ts +1 -0
- package/dist/{chunk-R2J5USV6.js → badge/index.js} +0 -1
- package/dist/bleed/index.cjs +31 -0
- package/dist/bleed/index.d.cts +2 -0
- package/dist/bleed/index.d.ts +2 -0
- package/dist/bleed/index.js +9 -0
- package/dist/{chunk-GSWLAOIM.js → blockquote/index.js} +0 -1
- package/dist/box/index.cjs +31 -0
- package/dist/box/index.d.cts +3 -0
- package/dist/box/index.d.ts +3 -0
- package/dist/box/index.js +10 -0
- package/dist/{chunk-CRFTMIQA.js → breadcrumb/index.js} +2 -3
- package/dist/{chunk-5HVAMQYO.js → button/index.js} +1 -1
- package/dist/{chunk-7PWVK3NL.js → button-group/index.js} +1 -1
- package/dist/{chunk-7DF4NQNZ.js → card/index.js} +2 -1
- package/dist/center/index.cjs +31 -0
- package/dist/center/index.d.cts +3 -0
- package/dist/center/index.d.ts +3 -0
- package/dist/center/index.js +9 -0
- package/dist/{chunk-Z3SWPGPQ.js → checkbox/index.js} +0 -1
- package/dist/{chunk-NLMFEUVO.js → checkbox-card/index.js} +0 -1
- package/dist/{chunk-UIP2CHMU.js → checkmark/index.js} +0 -1
- package/dist/chunk-2Q6YNPRO.js +151 -0
- package/dist/chunk-4F7N63LO.js +43 -0
- package/dist/{chunk-OJZPPAT6.js → chunk-A4CVFWTP.js} +4 -3
- package/dist/{chunk-4XB7B73X.js → chunk-AX3QDODM.js} +9 -16
- package/dist/chunk-BFWNUE2X.js +15 -0
- package/dist/chunk-EZNMWDPR.js +28 -0
- package/dist/chunk-GMRF4UIJ.js +159 -0
- package/dist/chunk-HBX3KIPQ.js +135 -0
- package/dist/{chunk-3MO37LYW.js → chunk-KNFGYOLD.js} +6 -0
- package/dist/chunk-M5ROLN3M.js +8903 -0
- package/dist/chunk-V5WPZT25.js +135 -0
- package/dist/client-only/index.cjs +31 -0
- package/dist/client-only/index.d.cts +1 -0
- package/dist/client-only/index.d.ts +1 -0
- package/dist/client-only/index.js +9 -0
- package/dist/{components/clipboard → clipboard}/index.cjs +7 -0
- package/dist/clipboard/index.d.cts +28 -0
- package/dist/clipboard/index.d.ts +28 -0
- package/dist/{chunk-3EV6MKBG.js → clipboard/index.js} +17 -14
- package/dist/{components/close-button → close-button}/index.cjs +7 -0
- package/dist/close-button/index.d.cts +9 -0
- package/dist/close-button/index.d.ts +9 -0
- package/dist/{chunk-H7KPEI6P.js → close-button/index.js} +3 -5
- package/dist/code/index.d.cts +3 -0
- package/dist/code/index.d.ts +3 -0
- package/dist/{chunk-YMCOU2N5.js → code/index.js} +1 -1
- package/dist/{chunk-PEJYADAS.js → collapsible/index.js} +1 -1
- package/dist/color-picker/index.cjs +31 -0
- package/dist/color-picker/index.d.cts +1 -0
- package/dist/color-picker/index.d.ts +1 -0
- package/dist/color-picker/index.js +8 -0
- package/dist/color-swatch/index.cjs +35 -0
- package/dist/color-swatch/index.d.cts +3 -0
- package/dist/color-swatch/index.d.ts +3 -0
- package/dist/color-swatch/index.js +14 -0
- package/dist/{components/command → command}/index.d.cts +5 -1
- package/dist/{components/command → command}/index.d.ts +5 -1
- package/dist/{chunk-5ZKEXMBN.js → command/index.js} +6 -4
- package/dist/{chunk-PIQURQGB.js → container/index.js} +1 -1
- package/dist/{chunk-52XM5VXJ.js → data-list/index.js} +1 -1
- package/dist/{components/dialog → dialog}/index.cjs +7 -0
- package/dist/dialog/index.js +226 -0
- package/dist/{components/drawer → drawer}/index.cjs +7 -0
- package/dist/drawer/index.js +216 -0
- package/dist/editable/index.d.cts +3 -0
- package/dist/editable/index.d.ts +3 -0
- package/dist/{chunk-TEQVVR3W.js → editable/index.js} +1 -1
- package/dist/{chunk-NGGISORT.js → empty-state/index.js} +1 -1
- package/dist/env/index.cjs +33 -0
- package/dist/env/index.d.cts +1 -0
- package/dist/env/index.d.ts +1 -0
- package/dist/env/index.js +12 -0
- package/dist/{chunk-XX2OY7LK.js → field/index.js} +1 -1
- package/dist/fieldset/index.d.cts +4 -0
- package/dist/fieldset/index.d.ts +4 -0
- package/dist/{chunk-FPRTN3I7.js → fieldset/index.js} +1 -1
- package/dist/{components/file-upload → file-upload}/index.cjs +7 -0
- package/dist/{components/file-upload → file-upload}/index.d.cts +10 -10
- package/dist/{components/file-upload → file-upload}/index.d.ts +10 -10
- package/dist/file-upload/index.js +272 -0
- package/dist/flex/index.cjs +31 -0
- package/dist/flex/index.d.cts +1 -0
- package/dist/flex/index.d.ts +1 -0
- package/dist/flex/index.js +10 -0
- package/dist/float/index.cjs +31 -0
- package/dist/float/index.d.cts +1 -0
- package/dist/float/index.d.ts +1 -0
- package/dist/float/index.js +10 -0
- package/dist/focus-trap/index.cjs +31 -0
- package/dist/focus-trap/index.d.cts +1 -0
- package/dist/focus-trap/index.d.ts +1 -0
- package/dist/focus-trap/index.js +8 -0
- package/dist/for/index.cjs +31 -0
- package/dist/for/index.d.cts +4 -0
- package/dist/for/index.d.ts +4 -0
- package/dist/for/index.js +10 -0
- package/dist/format/index.cjs +33 -0
- package/dist/format/index.d.cts +1 -0
- package/dist/format/index.d.ts +1 -0
- package/dist/format/index.js +12 -0
- package/dist/grid/index.cjs +31 -0
- package/dist/grid/index.d.cts +1 -0
- package/dist/grid/index.d.ts +1 -0
- package/dist/grid/index.js +10 -0
- package/dist/{components/grid-list → grid-list}/index.d.cts +6 -2
- package/dist/{components/grid-list → grid-list}/index.d.ts +6 -2
- package/dist/{chunk-ZUT5GZTD.js → grid-list/index.js} +2 -3
- package/dist/group/index.cjs +31 -0
- package/dist/group/index.d.cts +1 -0
- package/dist/group/index.d.ts +1 -0
- package/dist/group/index.js +10 -0
- package/dist/{components/heading → heading}/index.d.cts +2 -0
- package/dist/{components/heading → heading}/index.d.ts +2 -0
- package/dist/{chunk-HZX4AGO5.js → heading/index.js} +1 -1
- package/dist/highlight/index.cjs +31 -0
- package/dist/highlight/index.d.cts +1 -0
- package/dist/highlight/index.d.ts +1 -0
- package/dist/highlight/index.js +10 -0
- package/dist/{components/hover-card → hover-card}/index.d.cts +6 -6
- package/dist/{components/hover-card → hover-card}/index.d.ts +6 -6
- package/dist/{chunk-MZ2RY4NU.js → hover-card/index.js} +2 -3
- package/dist/{chunk-M3DJWM6D.js → icon/index.js} +1 -1
- package/dist/{components/icon-badge → icon-badge}/index.d.cts +3 -3
- package/dist/{components/icon-badge → icon-badge}/index.d.ts +3 -3
- package/dist/{chunk-NSFGACD7.js → icon-badge/index.js} +1 -1
- package/dist/icon-button/index.js +8 -0
- package/dist/icon-button-CR4hDxYi.d.cts +6 -0
- package/dist/icon-button-CR4hDxYi.d.ts +6 -0
- package/dist/{components/icons → icons}/index.cjs +9 -0
- package/dist/icons/index.d.cts +23 -0
- package/dist/icons/index.d.ts +23 -0
- package/dist/{components/icons → icons}/index.js +4 -3
- package/dist/{components/image → image}/index.d.cts +1 -0
- package/dist/{components/image → image}/index.d.ts +1 -0
- package/dist/{chunk-FD2V4Y66.js → image/index.js} +1 -1
- package/dist/index.cjs +721 -477
- package/dist/index.d.cts +1454 -99
- package/dist/index.d.ts +1454 -99
- package/dist/index.js +2727 -9084
- package/dist/{components/info-tip → info-tip}/index.cjs +7 -0
- package/dist/info-tip/index.d.cts +38 -0
- package/dist/info-tip/index.d.ts +38 -0
- package/dist/info-tip/index.js +128 -0
- package/dist/{components/input → input}/index.cjs +2 -0
- package/dist/input/index.d.cts +1 -0
- package/dist/input/index.d.ts +1 -0
- package/dist/{chunk-5MTFSSOH.js → input/index.js} +4 -2
- package/dist/kbd/index.d.cts +3 -0
- package/dist/kbd/index.d.ts +3 -0
- package/dist/{chunk-OQU4LWZW.js → kbd/index.js} +1 -1
- package/dist/{components/link → link}/index.d.cts +2 -2
- package/dist/{components/link → link}/index.d.ts +2 -2
- package/dist/{chunk-O2WVT2BP.js → link/index.js} +15 -14
- package/dist/{chunk-C5KFNMWU.js → list/index.js} +1 -1
- package/dist/{chunk-DHFAFRZ4.js → loader/index.js} +1 -1
- package/dist/loading-overlay/index.d.cts +31 -0
- package/dist/loading-overlay/index.d.ts +31 -0
- package/dist/{chunk-BDS3APRG.js → loading-overlay/index.js} +21 -11
- package/dist/locale/index.cjs +33 -0
- package/dist/locale/index.d.cts +1 -0
- package/dist/locale/index.d.ts +1 -0
- package/dist/locale/index.js +12 -0
- package/dist/{components/mark → mark}/index.d.cts +1 -0
- package/dist/{components/mark → mark}/index.d.ts +1 -0
- package/dist/{chunk-EWCBYJA7.js → mark/index.js} +1 -1
- package/dist/{components/menu → menu}/index.cjs +7 -0
- package/dist/{chunk-UNF77J24.js → menu/index.js} +8 -7
- package/dist/{components/native-select → native-select}/index.cjs +7 -0
- package/dist/{chunk-HD7BIWDH.js → native-select/index.js} +2 -2
- package/dist/navbar/index.d.cts +21 -0
- package/dist/navbar/index.d.ts +21 -0
- package/dist/{chunk-Q6SNJJO2.js → navbar/index.js} +23 -8
- package/dist/number-input/index.cjs +67 -0
- package/dist/{components/number-input → number-input}/index.d.cts +2 -2
- package/dist/{components/number-input → number-input}/index.d.ts +2 -2
- package/dist/{chunk-IEWGZ4LU.js → number-input/index.js} +2 -2
- package/dist/page/index.cjs +196 -0
- package/dist/page/index.d.cts +50 -0
- package/dist/page/index.d.ts +50 -0
- package/dist/page/index.js +167 -0
- package/dist/{components/pagination → pagination}/index.cjs +7 -0
- package/dist/{components/pagination → pagination}/index.d.cts +10 -10
- package/dist/{components/pagination → pagination}/index.d.ts +10 -10
- package/dist/pagination/index.js +223 -0
- package/dist/{components/password-input → password-input}/index.cjs +14 -42
- package/dist/{components/password-input → password-input}/index.d.cts +3 -5
- package/dist/{components/password-input → password-input}/index.d.ts +3 -5
- package/dist/{chunk-T7XRS654.js → password-input/index.js} +4 -6
- package/dist/{components/persona → persona}/index.cjs +3 -3
- package/dist/{components/persona → persona}/index.d.cts +32 -24
- package/dist/{components/persona → persona}/index.d.ts +32 -24
- package/dist/{chunk-VJ4UOABT.js → persona/index.js} +59 -24
- package/dist/{components/pin-input → pin-input}/index.d.cts +2 -2
- package/dist/{components/pin-input → pin-input}/index.d.ts +2 -2
- package/dist/{chunk-RYKJOZ3B.js → pin-input/index.js} +1 -1
- package/dist/{components/popover → popover}/index.cjs +7 -0
- package/dist/popover/index.d.cts +37 -0
- package/dist/popover/index.d.ts +37 -0
- package/dist/popover/index.js +226 -0
- package/dist/portal/index.cjs +31 -0
- package/dist/portal/index.d.cts +3 -0
- package/dist/portal/index.d.ts +3 -0
- package/dist/portal/index.js +10 -0
- package/dist/presence/index.cjs +31 -0
- package/dist/presence/index.d.cts +1 -0
- package/dist/presence/index.d.ts +1 -0
- package/dist/presence/index.js +8 -0
- package/dist/preset.cjs +9240 -0
- package/dist/preset.d.cts +6 -0
- package/dist/preset.d.ts +6 -0
- package/dist/preset.js +11 -0
- package/dist/{chunk-6YZ76Q2W.js → progress/index.js} +1 -1
- package/dist/{chunk-7HAGRXKM.js → progress-circle/index.js} +1 -1
- package/dist/qr-code/index.cjs +31 -0
- package/dist/qr-code/index.d.cts +3 -0
- package/dist/qr-code/index.d.ts +3 -0
- package/dist/qr-code/index.js +8 -0
- package/dist/{components/radio → radio}/index.cjs +2 -4
- package/dist/radio/index.d.cts +10 -0
- package/dist/radio/index.d.ts +10 -0
- package/dist/{chunk-HKUOHPZ6.js → radio/index.js} +2 -3
- package/dist/{chunk-KRJG7H4W.js → radio-card/index.js} +2 -3
- package/dist/radio-group/index.cjs +31 -0
- package/dist/radio-group/index.d.cts +1 -0
- package/dist/radio-group/index.d.ts +1 -0
- package/dist/radio-group/index.js +8 -0
- package/dist/radiomark/index.cjs +31 -0
- package/dist/radiomark/index.d.cts +2 -0
- package/dist/radiomark/index.d.ts +2 -0
- package/dist/radiomark/index.js +10 -0
- package/dist/{chunk-HQVBJT5Y.js → rating-group/index.js} +1 -1
- package/dist/{components/search-input → search-input}/index.cjs +7 -0
- package/dist/{chunk-4IZGJDYL.js → search-input/index.js} +2 -2
- package/dist/{chunk-KFDVVTMT.js → segmented-control/index.js} +1 -1
- package/dist/{components/select → select}/index.cjs +7 -0
- package/dist/select/index.js +137 -0
- package/dist/{components/separator → separator}/index.d.cts +2 -0
- package/dist/{components/separator → separator}/index.d.ts +2 -0
- package/dist/{chunk-27OMFCPD.js → separator/index.js} +1 -1
- package/dist/show/index.cjs +31 -0
- package/dist/show/index.d.cts +1 -0
- package/dist/show/index.d.ts +1 -0
- package/dist/show/index.js +10 -0
- package/dist/sidebar/index.d.cts +90 -0
- package/dist/sidebar/index.d.ts +90 -0
- package/dist/{chunk-U23VDAWJ.js → sidebar/index.js} +4 -5
- package/dist/{components/skeleton → skeleton}/index.d.cts +3 -3
- package/dist/{components/skeleton → skeleton}/index.d.ts +3 -3
- package/dist/{chunk-UEXUCHDD.js → skeleton/index.js} +3 -3
- package/dist/skip-nav/index.cjs +33 -0
- package/dist/skip-nav/index.js +12 -0
- package/dist/skip-nav-link/index.d.cts +3 -0
- package/dist/skip-nav-link/index.d.ts +3 -0
- package/dist/{chunk-BFO2S4Y5.js → skip-nav-link/index.js} +2 -3
- package/dist/{chunk-GD2247J4.js → slider/index.js} +0 -1
- package/dist/spacer/index.cjs +31 -0
- package/dist/spacer/index.d.cts +1 -0
- package/dist/spacer/index.d.ts +1 -0
- package/dist/spacer/index.js +9 -0
- package/dist/{chunk-MK3OG2I4.js → spinner/index.js} +0 -1
- package/dist/stack/index.cjs +31 -0
- package/dist/stack/index.d.cts +1 -0
- package/dist/stack/index.d.ts +1 -0
- package/dist/stack/index.js +9 -0
- package/dist/{components/stat → stat}/index.d.cts +8 -8
- package/dist/{components/stat → stat}/index.d.ts +8 -8
- package/dist/{chunk-3RHNNKPC.js → stat/index.js} +2 -3
- package/dist/{components/status → status}/index.d.cts +2 -2
- package/dist/{components/status → status}/index.d.ts +2 -2
- package/dist/{chunk-U3EPRSD3.js → status/index.js} +1 -1
- package/dist/{components/steps → steps}/index.cjs +7 -0
- package/dist/{components/steps → steps}/index.d.cts +5 -5
- package/dist/{components/steps → steps}/index.d.ts +5 -5
- package/dist/steps/index.js +198 -0
- package/dist/{components/switch → switch}/index.d.cts +2 -2
- package/dist/{components/switch → switch}/index.d.ts +2 -2
- package/dist/{chunk-HTVSG47E.js → switch/index.js} +1 -1
- package/dist/{chunk-TH6YCBEG.js → table/index.js} +1 -1
- package/dist/{components/tabs → tabs}/index.d.cts +2 -0
- package/dist/{components/tabs → tabs}/index.d.ts +2 -0
- package/dist/{chunk-5YNHX4C7.js → tabs/index.js} +2 -3
- package/dist/{chunk-WJZED26X.js → tag/index.js} +0 -1
- package/dist/{chunk-CQD32UVJ.js → textarea/index.js} +0 -1
- package/dist/theme/tokens/colors.js +1 -2
- package/dist/{chunk-QLN2CBY6.js → timeline/index.js} +0 -1
- package/dist/{components/toaster → toaster}/index.cjs +7 -0
- package/dist/toaster/index.d.cts +235 -0
- package/dist/toaster/index.d.ts +235 -0
- package/dist/toaster/index.js +241 -0
- package/dist/toggle/index.cjs +31 -0
- package/dist/toggle/index.d.cts +3 -0
- package/dist/toggle/index.d.ts +3 -0
- package/dist/toggle/index.js +8 -0
- package/dist/{components/toggle-tip → toggle-tip}/index.cjs +7 -0
- package/dist/toggle-tip/index.d.cts +32 -0
- package/dist/toggle-tip/index.d.ts +32 -0
- package/dist/toggle-tip/index.js +263 -0
- package/dist/{components/tooltip → tooltip}/index.d.cts +2 -2
- package/dist/{components/tooltip → tooltip}/index.d.ts +2 -2
- package/dist/{chunk-7MCVXFWM.js → tooltip/index.js} +1 -1
- package/dist/typography/index.cjs +37 -0
- package/dist/typography/index.d.cts +1 -0
- package/dist/typography/index.d.ts +1 -0
- package/dist/typography/index.js +16 -0
- package/dist/visually-hidden/index.cjs +31 -0
- package/dist/visually-hidden/index.d.cts +1 -0
- package/dist/visually-hidden/index.d.ts +1 -0
- package/dist/visually-hidden/index.js +8 -0
- package/package.json +10 -4
- package/dist/chunk-2B5OZHZY.js +0 -71
- package/dist/chunk-3DGRWH7C.js +0 -101
- package/dist/chunk-77QJSEEA.js +0 -68
- package/dist/chunk-EYOHLXWQ.js +0 -64
- package/dist/chunk-HKMYYESV.js +0 -34
- package/dist/chunk-JMYI6YXR.js +0 -1
- package/dist/chunk-JPY2QZLC.js +0 -64
- package/dist/chunk-KTLWEUNW.js +0 -1
- package/dist/chunk-SXFVA6CX.js +0 -20
- package/dist/chunk-T2FPZNCP.js +0 -115
- package/dist/chunk-TWTXZ7PR.js +0 -100
- package/dist/chunk-XW747T2R.js +0 -43
- package/dist/chunk-YHQ5JGCC.js +0 -1
- package/dist/chunk-YLZEO3RK.js +0 -24
- package/dist/chunk-Z37BQ5VU.js +0 -54
- package/dist/components/accordion/index.js +0 -9
- package/dist/components/action-bar/index.js +0 -13
- package/dist/components/alert/index.js +0 -13
- package/dist/components/app-shell/index.js +0 -8
- package/dist/components/avatar/index.js +0 -11
- package/dist/components/badge/index.d.cts +0 -27
- package/dist/components/badge/index.d.ts +0 -27
- package/dist/components/badge/index.js +0 -10
- package/dist/components/blockquote/index.js +0 -8
- package/dist/components/breadcrumb/index.js +0 -8
- package/dist/components/button/index.js +0 -8
- package/dist/components/button-group/index.js +0 -8
- package/dist/components/card/index.js +0 -9
- package/dist/components/checkbox/index.js +0 -8
- package/dist/components/checkbox-card/index.js +0 -8
- package/dist/components/checkmark/index.js +0 -8
- package/dist/components/clipboard/index.d.cts +0 -28
- package/dist/components/clipboard/index.d.ts +0 -28
- package/dist/components/clipboard/index.js +0 -13
- package/dist/components/close-button/index.d.cts +0 -9
- package/dist/components/close-button/index.d.ts +0 -9
- package/dist/components/close-button/index.js +0 -12
- package/dist/components/code/index.d.cts +0 -1
- package/dist/components/code/index.d.ts +0 -1
- package/dist/components/code/index.js +0 -8
- package/dist/components/collapsible/index.js +0 -8
- package/dist/components/command/index.js +0 -9
- package/dist/components/container/index.js +0 -8
- package/dist/components/data-list/index.js +0 -10
- package/dist/components/dialog/index.js +0 -13
- package/dist/components/drawer/index.js +0 -13
- package/dist/components/editable/index.d.cts +0 -1
- package/dist/components/editable/index.d.ts +0 -1
- package/dist/components/editable/index.js +0 -8
- package/dist/components/empty-state/index.js +0 -8
- package/dist/components/field/index.js +0 -12
- package/dist/components/fieldset/index.d.cts +0 -1
- package/dist/components/fieldset/index.d.ts +0 -1
- package/dist/components/fieldset/index.js +0 -10
- package/dist/components/file-upload/index.js +0 -14
- package/dist/components/grid-list/index.js +0 -8
- package/dist/components/heading/index.js +0 -8
- package/dist/components/hover-card/index.js +0 -8
- package/dist/components/icon/index.js +0 -8
- package/dist/components/icon-badge/index.js +0 -8
- package/dist/components/icon-button/index.js +0 -9
- package/dist/components/icons/index.d.cts +0 -22
- package/dist/components/icons/index.d.ts +0 -22
- package/dist/components/image/index.js +0 -8
- package/dist/components/info-tip/index.d.cts +0 -13
- package/dist/components/info-tip/index.d.ts +0 -13
- package/dist/components/info-tip/index.js +0 -16
- package/dist/components/input/index.d.cts +0 -1
- package/dist/components/input/index.d.ts +0 -1
- package/dist/components/input/index.js +0 -14
- 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/components/kbd/index.d.cts +0 -1
- package/dist/components/kbd/index.d.ts +0 -1
- package/dist/components/kbd/index.js +0 -8
- package/dist/components/link/index.js +0 -9
- package/dist/components/list/index.js +0 -8
- package/dist/components/loader/index.js +0 -8
- package/dist/components/loading-overlay/index.d.cts +0 -10
- package/dist/components/loading-overlay/index.d.ts +0 -10
- package/dist/components/loading-overlay/index.js +0 -11
- package/dist/components/mark/index.js +0 -8
- package/dist/components/menu/index.js +0 -11
- package/dist/components/native-select/index.js +0 -10
- package/dist/components/navbar/index.d.cts +0 -21
- package/dist/components/navbar/index.d.ts +0 -21
- package/dist/components/navbar/index.js +0 -9
- package/dist/components/number-input/index.cjs +0 -95
- package/dist/components/number-input/index.js +0 -10
- package/dist/components/pagination/index.js +0 -11
- package/dist/components/password-input/index.js +0 -12
- package/dist/components/persona/index.js +0 -13
- package/dist/components/pin-input/index.js +0 -8
- package/dist/components/popover/index.d.cts +0 -3
- package/dist/components/popover/index.d.ts +0 -3
- package/dist/components/popover/index.js +0 -13
- package/dist/components/progress/index.js +0 -8
- package/dist/components/progress-circle/index.js +0 -8
- package/dist/components/radio/index.d.cts +0 -12
- package/dist/components/radio/index.d.ts +0 -12
- package/dist/components/radio/index.js +0 -10
- package/dist/components/radio-card/index.js +0 -8
- package/dist/components/rating-group/index.js +0 -8
- package/dist/components/search-input/index.js +0 -10
- package/dist/components/segmented-control/index.js +0 -8
- package/dist/components/select/index.js +0 -13
- package/dist/components/separator/index.js +0 -8
- package/dist/components/sidebar/index.d.cts +0 -90
- package/dist/components/sidebar/index.d.ts +0 -90
- package/dist/components/sidebar/index.js +0 -14
- package/dist/components/skeleton/index.js +0 -12
- package/dist/components/skip-nav-link/index.js +0 -10
- package/dist/components/slider/index.js +0 -8
- package/dist/components/spinner/index.js +0 -8
- package/dist/components/stat/index.js +0 -8
- package/dist/components/status/index.js +0 -8
- package/dist/components/steps/index.js +0 -10
- package/dist/components/switch/index.js +0 -8
- package/dist/components/table/index.js +0 -8
- package/dist/components/tabs/index.js +0 -14
- package/dist/components/tag/index.js +0 -8
- package/dist/components/textarea/index.js +0 -8
- package/dist/components/timeline/index.js +0 -8
- package/dist/components/toaster/index.d.cts +0 -11
- package/dist/components/toaster/index.d.ts +0 -11
- package/dist/components/toaster/index.js +0 -16
- package/dist/components/toggle-tip/index.d.cts +0 -13
- package/dist/components/toggle-tip/index.d.ts +0 -13
- package/dist/components/toggle-tip/index.js +0 -14
- package/dist/components/tooltip/index.js +0 -8
- 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/types-DnFoUudY.d.cts +0 -10
- package/dist/types-DnFoUudY.d.ts +0 -10
- /package/dist/{components/accordion → accordion}/index.d.cts +0 -0
- /package/dist/{components/accordion → accordion}/index.d.ts +0 -0
- /package/dist/{components/action-bar → action-bar}/index.d.cts +0 -0
- /package/dist/{components/action-bar → action-bar}/index.d.ts +0 -0
- /package/dist/{components/alert → alert}/index.d.cts +0 -0
- /package/dist/{components/alert → alert}/index.d.ts +0 -0
- /package/dist/{components/app-shell → app-shell}/index.cjs +0 -0
- /package/dist/{components/app-shell → app-shell}/index.d.cts +0 -0
- /package/dist/{components/app-shell → app-shell}/index.d.ts +0 -0
- /package/dist/{components/avatar → avatar}/index.cjs +0 -0
- /package/dist/{components/avatar → avatar}/index.d.cts +0 -0
- /package/dist/{components/avatar → avatar}/index.d.ts +0 -0
- /package/dist/{components/badge → badge}/index.cjs +0 -0
- /package/dist/{components/blockquote → blockquote}/index.cjs +0 -0
- /package/dist/{components/blockquote → blockquote}/index.d.cts +0 -0
- /package/dist/{components/blockquote → blockquote}/index.d.ts +0 -0
- /package/dist/{components/breadcrumb → breadcrumb}/index.cjs +0 -0
- /package/dist/{components/breadcrumb → breadcrumb}/index.d.cts +0 -0
- /package/dist/{components/breadcrumb → breadcrumb}/index.d.ts +0 -0
- /package/dist/{components/button → button}/index.cjs +0 -0
- /package/dist/{components/button → button}/index.d.cts +0 -0
- /package/dist/{components/button → button}/index.d.ts +0 -0
- /package/dist/{components/button-group → button-group}/index.cjs +0 -0
- /package/dist/{components/button-group → button-group}/index.d.cts +0 -0
- /package/dist/{components/button-group → button-group}/index.d.ts +0 -0
- /package/dist/{components/card → card}/index.cjs +0 -0
- /package/dist/{components/card → card}/index.d.cts +0 -0
- /package/dist/{components/card → card}/index.d.ts +0 -0
- /package/dist/{components/checkbox → checkbox}/index.cjs +0 -0
- /package/dist/{components/checkbox → checkbox}/index.d.cts +0 -0
- /package/dist/{components/checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/{components/checkbox-card → checkbox-card}/index.cjs +0 -0
- /package/dist/{components/checkbox-card → checkbox-card}/index.d.cts +0 -0
- /package/dist/{components/checkbox-card → checkbox-card}/index.d.ts +0 -0
- /package/dist/{components/checkmark → checkmark}/index.cjs +0 -0
- /package/dist/{components/checkmark → checkmark}/index.d.cts +0 -0
- /package/dist/{components/checkmark → checkmark}/index.d.ts +0 -0
- /package/dist/{components/code → code}/index.cjs +0 -0
- /package/dist/{components/collapsible → collapsible}/index.cjs +0 -0
- /package/dist/{components/collapsible → collapsible}/index.d.cts +0 -0
- /package/dist/{components/collapsible → collapsible}/index.d.ts +0 -0
- /package/dist/{components/command → command}/index.cjs +0 -0
- /package/dist/{components/container → container}/index.cjs +0 -0
- /package/dist/{components/container → container}/index.d.cts +0 -0
- /package/dist/{components/container → container}/index.d.ts +0 -0
- /package/dist/{components/data-list → data-list}/index.cjs +0 -0
- /package/dist/{components/data-list → data-list}/index.d.cts +0 -0
- /package/dist/{components/data-list → data-list}/index.d.ts +0 -0
- /package/dist/{components/dialog → dialog}/index.d.cts +0 -0
- /package/dist/{components/dialog → dialog}/index.d.ts +0 -0
- /package/dist/{components/drawer → drawer}/index.d.cts +0 -0
- /package/dist/{components/drawer → drawer}/index.d.ts +0 -0
- /package/dist/{components/editable → editable}/index.cjs +0 -0
- /package/dist/{components/empty-state → empty-state}/index.cjs +0 -0
- /package/dist/{components/empty-state → empty-state}/index.d.cts +0 -0
- /package/dist/{components/empty-state → empty-state}/index.d.ts +0 -0
- /package/dist/{components/field → field}/index.cjs +0 -0
- /package/dist/{components/field → field}/index.d.cts +0 -0
- /package/dist/{components/field → field}/index.d.ts +0 -0
- /package/dist/{components/fieldset → fieldset}/index.cjs +0 -0
- /package/dist/{components/grid-list → grid-list}/index.cjs +0 -0
- /package/dist/{components/heading → heading}/index.cjs +0 -0
- /package/dist/{components/hover-card → hover-card}/index.cjs +0 -0
- /package/dist/{components/icon → icon}/index.cjs +0 -0
- /package/dist/{components/icon → icon}/index.d.cts +0 -0
- /package/dist/{components/icon → icon}/index.d.ts +0 -0
- /package/dist/{components/icon-badge → icon-badge}/index.cjs +0 -0
- /package/dist/{components/icon-button → icon-button}/index.cjs +0 -0
- /package/dist/{components/icon-button → icon-button}/index.d.cts +0 -0
- /package/dist/{components/icon-button → icon-button}/index.d.ts +0 -0
- /package/dist/{components/image → image}/index.cjs +0 -0
- /package/dist/{components/kbd → kbd}/index.cjs +0 -0
- /package/dist/{components/link → link}/index.cjs +0 -0
- /package/dist/{components/list → list}/index.cjs +0 -0
- /package/dist/{components/list → list}/index.d.cts +0 -0
- /package/dist/{components/list → list}/index.d.ts +0 -0
- /package/dist/{components/loader → loader}/index.cjs +0 -0
- /package/dist/{components/loader → loader}/index.d.cts +0 -0
- /package/dist/{components/loader → loader}/index.d.ts +0 -0
- /package/dist/{components/loading-overlay → loading-overlay}/index.cjs +0 -0
- /package/dist/{components/mark → mark}/index.cjs +0 -0
- /package/dist/{components/menu → menu}/index.d.cts +0 -0
- /package/dist/{components/menu → menu}/index.d.ts +0 -0
- /package/dist/{components/native-select → native-select}/index.d.cts +0 -0
- /package/dist/{components/native-select → native-select}/index.d.ts +0 -0
- /package/dist/{components/navbar → navbar}/index.cjs +0 -0
- /package/dist/{components/pin-input → pin-input}/index.cjs +0 -0
- /package/dist/{components/progress → progress}/index.cjs +0 -0
- /package/dist/{components/progress → progress}/index.d.cts +0 -0
- /package/dist/{components/progress → progress}/index.d.ts +0 -0
- /package/dist/{components/progress-circle → progress-circle}/index.cjs +0 -0
- /package/dist/{components/progress-circle → progress-circle}/index.d.cts +0 -0
- /package/dist/{components/progress-circle → progress-circle}/index.d.ts +0 -0
- /package/dist/{components/radio-card → radio-card}/index.cjs +0 -0
- /package/dist/{components/radio-card → radio-card}/index.d.cts +0 -0
- /package/dist/{components/radio-card → radio-card}/index.d.ts +0 -0
- /package/dist/{components/rating-group → rating-group}/index.cjs +0 -0
- /package/dist/{components/rating-group → rating-group}/index.d.cts +0 -0
- /package/dist/{components/rating-group → rating-group}/index.d.ts +0 -0
- /package/dist/{components/search-input → search-input}/index.d.cts +0 -0
- /package/dist/{components/search-input → search-input}/index.d.ts +0 -0
- /package/dist/{components/segmented-control → segmented-control}/index.cjs +0 -0
- /package/dist/{components/segmented-control → segmented-control}/index.d.cts +0 -0
- /package/dist/{components/segmented-control → segmented-control}/index.d.ts +0 -0
- /package/dist/{components/select → select}/index.d.cts +0 -0
- /package/dist/{components/select → select}/index.d.ts +0 -0
- /package/dist/{components/separator → separator}/index.cjs +0 -0
- /package/dist/{components/sidebar → sidebar}/index.cjs +0 -0
- /package/dist/{components/skeleton → skeleton}/index.cjs +0 -0
- /package/dist/{components/skip-nav-link → skip-nav}/index.d.cts +0 -0
- /package/dist/{components/skip-nav-link → skip-nav}/index.d.ts +0 -0
- /package/dist/{components/skip-nav-link → skip-nav-link}/index.cjs +0 -0
- /package/dist/{components/slider → slider}/index.cjs +0 -0
- /package/dist/{components/slider → slider}/index.d.cts +0 -0
- /package/dist/{components/slider → slider}/index.d.ts +0 -0
- /package/dist/{components/spinner → spinner}/index.cjs +0 -0
- /package/dist/{components/spinner → spinner}/index.d.cts +0 -0
- /package/dist/{components/spinner → spinner}/index.d.ts +0 -0
- /package/dist/{components/stat → stat}/index.cjs +0 -0
- /package/dist/{components/status → status}/index.cjs +0 -0
- /package/dist/{components/switch → switch}/index.cjs +0 -0
- /package/dist/{components/table → table}/index.cjs +0 -0
- /package/dist/{components/table → table}/index.d.cts +0 -0
- /package/dist/{components/table → table}/index.d.ts +0 -0
- /package/dist/{components/tabs → tabs}/index.cjs +0 -0
- /package/dist/{components/tag → tag}/index.cjs +0 -0
- /package/dist/{components/tag → tag}/index.d.cts +0 -0
- /package/dist/{components/tag → tag}/index.d.ts +0 -0
- /package/dist/{components/textarea → textarea}/index.cjs +0 -0
- /package/dist/{components/textarea → textarea}/index.d.cts +0 -0
- /package/dist/{components/textarea → textarea}/index.d.ts +0 -0
- /package/dist/{components/timeline → timeline}/index.cjs +0 -0
- /package/dist/{components/timeline → timeline}/index.d.cts +0 -0
- /package/dist/{components/timeline → timeline}/index.d.ts +0 -0
- /package/dist/{components/tooltip → tooltip}/index.cjs +0 -0
@@ -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/typography/index.ts
|
22
|
+
var typography_exports = {};
|
23
|
+
__export(typography_exports, {
|
24
|
+
Em: () => import_typography.Em,
|
25
|
+
Heading: () => import_typography.Heading,
|
26
|
+
Strong: () => import_typography.Strong,
|
27
|
+
Text: () => import_typography.Text
|
28
|
+
});
|
29
|
+
module.exports = __toCommonJS(typography_exports);
|
30
|
+
var import_typography = require("@chakra-ui/react/typography");
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
32
|
+
0 && (module.exports = {
|
33
|
+
Em,
|
34
|
+
Heading,
|
35
|
+
Strong,
|
36
|
+
Text
|
37
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Em, EmProps, Heading, HeadingProps, Strong, StrongProps, Text, TextProps } from '@chakra-ui/react/typography';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Em, EmProps, Heading, HeadingProps, Strong, StrongProps, Text, TextProps } from '@chakra-ui/react/typography';
|
@@ -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/visually-hidden/index.ts
|
22
|
+
var visually_hidden_exports = {};
|
23
|
+
__export(visually_hidden_exports, {
|
24
|
+
VisuallyHidden: () => import_visually_hidden.VisuallyHidden
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(visually_hidden_exports);
|
27
|
+
var import_visually_hidden = require("@chakra-ui/react/visually-hidden");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
VisuallyHidden
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { VisuallyHidden } from '@chakra-ui/react/visually-hidden';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { VisuallyHidden } from '@chakra-ui/react/visually-hidden';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@saas-ui/react",
|
3
|
-
"version": "3.0.0-next.
|
3
|
+
"version": "3.0.0-next.2",
|
4
4
|
"description": "Saas UI - The React component library for startups.",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -10,7 +10,13 @@
|
|
10
10
|
"require": "./dist/index.cjs",
|
11
11
|
"import": "./dist/index.js"
|
12
12
|
},
|
13
|
-
"./
|
13
|
+
"./preset": {
|
14
|
+
"sui": "./src/preset.ts",
|
15
|
+
"types": "./dist/preset.d.ts",
|
16
|
+
"require": "./dist/preset.cjs",
|
17
|
+
"import": "./dist/preset.js"
|
18
|
+
},
|
19
|
+
"./preset/colors": {
|
14
20
|
"sui": "./src/theme/tokens/colors.ts",
|
15
21
|
"types": "./dist/theme/tokens/colors.d.ts",
|
16
22
|
"require": "./dist/theme/tokens/colors.cjs",
|
@@ -69,12 +75,12 @@
|
|
69
75
|
"url": "https://storybook.saas-ui.dev"
|
70
76
|
},
|
71
77
|
"dependencies": {
|
72
|
-
"@ark-ui/react": "^5.0
|
78
|
+
"@ark-ui/react": "^5.1.0",
|
73
79
|
"@saas-ui/core": "3.0.0-next.0",
|
74
80
|
"@saas-ui/hooks": "3.0.0-next.0"
|
75
81
|
},
|
76
82
|
"peerDependencies": {
|
77
|
-
"@chakra-ui/react": "^3.
|
83
|
+
"@chakra-ui/react": "^3.13.0",
|
78
84
|
"@emotion/react": "^11",
|
79
85
|
"react": ">=18",
|
80
86
|
"react-dom": ">=18"
|
package/dist/chunk-2B5OZHZY.js
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
CheckIcon
|
4
|
-
} from "./chunk-4XB7B73X.js";
|
5
|
-
import {
|
6
|
-
__export
|
7
|
-
} from "./chunk-RTMS5TJN.js";
|
8
|
-
|
9
|
-
// src/components/steps/steps.tsx
|
10
|
-
var steps_exports = {};
|
11
|
-
__export(steps_exports, {
|
12
|
-
CompletedContent: () => StepsCompletedContent,
|
13
|
-
Content: () => StepsContent,
|
14
|
-
Indicator: () => StepsIndicator,
|
15
|
-
Item: () => StepsItem,
|
16
|
-
List: () => StepsList,
|
17
|
-
NextTrigger: () => StepsNextTrigger,
|
18
|
-
PrevTrigger: () => StepsPrevTrigger,
|
19
|
-
Root: () => StepsRoot,
|
20
|
-
useContext: () => useStepsContext
|
21
|
-
});
|
22
|
-
import { Box } from "@chakra-ui/react/box";
|
23
|
-
import { Steps as ChakraSteps, useStepsContext } from "@chakra-ui/react/steps";
|
24
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
25
|
-
var StepsItem = (props) => {
|
26
|
-
const { title, description, completedIcon, icon, ...rest } = props;
|
27
|
-
return /* @__PURE__ */ jsxs(ChakraSteps.Item, { ...rest, children: [
|
28
|
-
/* @__PURE__ */ jsxs(ChakraSteps.Trigger, { children: [
|
29
|
-
/* @__PURE__ */ jsx(ChakraSteps.Indicator, { children: /* @__PURE__ */ jsx(
|
30
|
-
ChakraSteps.Status,
|
31
|
-
{
|
32
|
-
complete: completedIcon || /* @__PURE__ */ jsx(CheckIcon, {}),
|
33
|
-
incomplete: icon || /* @__PURE__ */ jsx(ChakraSteps.Number, {})
|
34
|
-
}
|
35
|
-
) }),
|
36
|
-
/* @__PURE__ */ jsx(StepInfo, { title, description })
|
37
|
-
] }),
|
38
|
-
/* @__PURE__ */ jsx(ChakraSteps.Separator, {})
|
39
|
-
] });
|
40
|
-
};
|
41
|
-
var StepInfo = (props) => {
|
42
|
-
const { title, description } = props;
|
43
|
-
if (title && description) {
|
44
|
-
return /* @__PURE__ */ jsxs(Box, { children: [
|
45
|
-
/* @__PURE__ */ jsx(ChakraSteps.Title, { children: title }),
|
46
|
-
/* @__PURE__ */ jsx(ChakraSteps.Description, { children: description })
|
47
|
-
] });
|
48
|
-
}
|
49
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
50
|
-
title && /* @__PURE__ */ jsx(ChakraSteps.Title, { children: title }),
|
51
|
-
description && /* @__PURE__ */ jsx(ChakraSteps.Description, { children: description })
|
52
|
-
] });
|
53
|
-
};
|
54
|
-
var StepsIndicator = (props) => {
|
55
|
-
const { icon = /* @__PURE__ */ jsx(ChakraSteps.Number, {}), completedIcon } = props;
|
56
|
-
return /* @__PURE__ */ jsx(ChakraSteps.Indicator, { children: /* @__PURE__ */ jsx(ChakraSteps.Status, { complete: completedIcon, incomplete: icon }) });
|
57
|
-
};
|
58
|
-
var StepsList = ChakraSteps.List;
|
59
|
-
var StepsRoot = ChakraSteps.Root;
|
60
|
-
var StepsContent = ChakraSteps.Content;
|
61
|
-
var StepsCompletedContent = ChakraSteps.CompletedContent;
|
62
|
-
var StepsNextTrigger = (props) => {
|
63
|
-
return /* @__PURE__ */ jsx(ChakraSteps.NextTrigger, { ...props });
|
64
|
-
};
|
65
|
-
var StepsPrevTrigger = (props) => {
|
66
|
-
return /* @__PURE__ */ jsx(ChakraSteps.PrevTrigger, { ...props });
|
67
|
-
};
|
68
|
-
|
69
|
-
export {
|
70
|
-
steps_exports
|
71
|
-
};
|
package/dist/chunk-3DGRWH7C.js
DELETED
@@ -1,101 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
CloseButton
|
4
|
-
} from "./chunk-H7KPEI6P.js";
|
5
|
-
import {
|
6
|
-
__export
|
7
|
-
} from "./chunk-RTMS5TJN.js";
|
8
|
-
|
9
|
-
// src/components/select/namespace.ts
|
10
|
-
var namespace_exports = {};
|
11
|
-
__export(namespace_exports, {
|
12
|
-
Content: () => SelectContent,
|
13
|
-
Item: () => SelectItem,
|
14
|
-
ItemGroup: () => SelectItemGroup,
|
15
|
-
ItemText: () => SelectItemText,
|
16
|
-
Label: () => SelectLabel,
|
17
|
-
Root: () => SelectRoot,
|
18
|
-
Trigger: () => SelectTrigger,
|
19
|
-
ValueText: () => SelectValueText
|
20
|
-
});
|
21
|
-
|
22
|
-
// src/components/select/select.tsx
|
23
|
-
import { forwardRef } from "react";
|
24
|
-
import { Portal } from "@chakra-ui/react/portal";
|
25
|
-
import { Select as SelectPrimitive } from "@chakra-ui/react/select";
|
26
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
27
|
-
var SelectTrigger = forwardRef(
|
28
|
-
function SelectTrigger2(props, ref) {
|
29
|
-
const { children, clearable, ...rest } = props;
|
30
|
-
return /* @__PURE__ */ jsxs(SelectPrimitive.Control, { ...rest, children: [
|
31
|
-
/* @__PURE__ */ jsx(SelectPrimitive.Trigger, { ref, children }),
|
32
|
-
/* @__PURE__ */ jsxs(SelectPrimitive.IndicatorGroup, { children: [
|
33
|
-
clearable && /* @__PURE__ */ jsx(SelectClearTrigger, {}),
|
34
|
-
/* @__PURE__ */ jsx(SelectPrimitive.Indicator, {})
|
35
|
-
] })
|
36
|
-
] });
|
37
|
-
}
|
38
|
-
);
|
39
|
-
var SelectClearTrigger = forwardRef(function SelectClearTrigger2(props, ref) {
|
40
|
-
return /* @__PURE__ */ jsx(SelectPrimitive.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ jsx(
|
41
|
-
CloseButton,
|
42
|
-
{
|
43
|
-
size: "xs",
|
44
|
-
variant: "plain",
|
45
|
-
focusVisibleRing: "inside",
|
46
|
-
focusRingWidth: "2px",
|
47
|
-
pointerEvents: "auto"
|
48
|
-
}
|
49
|
-
) });
|
50
|
-
});
|
51
|
-
var SelectContent = forwardRef(
|
52
|
-
function SelectContent2(props, ref) {
|
53
|
-
const { portalled = true, portalRef, ...rest } = props;
|
54
|
-
return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(SelectPrimitive.Positioner, { children: /* @__PURE__ */ jsx(SelectPrimitive.Content, { ...rest, ref }) }) });
|
55
|
-
}
|
56
|
-
);
|
57
|
-
var SelectItem = forwardRef(
|
58
|
-
function SelectItem2(props, ref) {
|
59
|
-
const { item, children, ...rest } = props;
|
60
|
-
return /* @__PURE__ */ jsxs(SelectPrimitive.Item, { item, ...rest, ref, children: [
|
61
|
-
children,
|
62
|
-
/* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, {})
|
63
|
-
] }, item.value);
|
64
|
-
}
|
65
|
-
);
|
66
|
-
var SelectValueText = forwardRef(function SelectValueText2(props, ref) {
|
67
|
-
const { children, ...rest } = props;
|
68
|
-
return /* @__PURE__ */ jsx(SelectPrimitive.ValueText, { ...rest, ref, children: /* @__PURE__ */ jsx(SelectPrimitive.Context, { children: (select) => {
|
69
|
-
const items = select.selectedItems;
|
70
|
-
if (items.length === 0) return props.placeholder;
|
71
|
-
if (children) return children(items);
|
72
|
-
if (items.length === 1)
|
73
|
-
return select.collection.stringifyItem(items[0]);
|
74
|
-
return `${items.length} selected`;
|
75
|
-
} }) });
|
76
|
-
});
|
77
|
-
var SelectRoot = forwardRef(function SelectRoot2(props, ref) {
|
78
|
-
return /* @__PURE__ */ jsx(
|
79
|
-
SelectPrimitive.Root,
|
80
|
-
{
|
81
|
-
...props,
|
82
|
-
ref,
|
83
|
-
positioning: { sameWidth: true, ...props.positioning }
|
84
|
-
}
|
85
|
-
);
|
86
|
-
});
|
87
|
-
var SelectItemGroup = forwardRef(
|
88
|
-
function SelectItemGroup2(props, ref) {
|
89
|
-
const { children, label, ...rest } = props;
|
90
|
-
return /* @__PURE__ */ jsxs(SelectPrimitive.ItemGroup, { ...rest, ref, children: [
|
91
|
-
/* @__PURE__ */ jsx(SelectPrimitive.ItemGroupLabel, { children: label }),
|
92
|
-
children
|
93
|
-
] });
|
94
|
-
}
|
95
|
-
);
|
96
|
-
var SelectLabel = SelectPrimitive.Label;
|
97
|
-
var SelectItemText = SelectPrimitive.ItemText;
|
98
|
-
|
99
|
-
export {
|
100
|
-
namespace_exports
|
101
|
-
};
|
package/dist/chunk-77QJSEEA.js
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
Spinner
|
4
|
-
} from "./chunk-MK3OG2I4.js";
|
5
|
-
import {
|
6
|
-
CloseButton
|
7
|
-
} from "./chunk-H7KPEI6P.js";
|
8
|
-
|
9
|
-
// src/components/toaster/toaster.tsx
|
10
|
-
import { useCallback, useMemo, useState } from "react";
|
11
|
-
import { Portal } from "@chakra-ui/react/portal";
|
12
|
-
import { Stack } from "@chakra-ui/react/stack";
|
13
|
-
import {
|
14
|
-
Toaster as ChakraToaster,
|
15
|
-
Toast,
|
16
|
-
createToaster
|
17
|
-
} from "@chakra-ui/react/toast";
|
18
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
19
|
-
var defaultOptions = {
|
20
|
-
placement: "bottom-end",
|
21
|
-
pauseOnPageIdle: true
|
22
|
-
};
|
23
|
-
var toast = createToaster(defaultOptions);
|
24
|
-
var Toaster = (props) => {
|
25
|
-
const { closable: defaultClosable = true, ...options } = props || {};
|
26
|
-
const toaster = useMemo(() => {
|
27
|
-
toast = createToaster({
|
28
|
-
...defaultOptions,
|
29
|
-
...options
|
30
|
-
});
|
31
|
-
return toast;
|
32
|
-
}, [options]);
|
33
|
-
return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(ChakraToaster, { toaster, insetInline: { mdDown: "4" }, children: (toast2) => {
|
34
|
-
var _a;
|
35
|
-
const closable = ((_a = toast2.meta) == null ? void 0 : _a.closable) === false ? false : defaultClosable && toast2.type !== "loading";
|
36
|
-
return /* @__PURE__ */ jsxs(ToastRoot, { children: [
|
37
|
-
toast2.type === "loading" ? /* @__PURE__ */ jsx(Spinner, { size: "sm", color: "colorPalette.solid", mt: "0.5" }) : /* @__PURE__ */ jsx(Toast.Indicator, {}),
|
38
|
-
/* @__PURE__ */ jsxs(Stack, { gap: "1", flex: "1", maxWidth: "100%", children: [
|
39
|
-
toast2.title && /* @__PURE__ */ jsx(Toast.Title, { children: toast2.title }),
|
40
|
-
toast2.description && /* @__PURE__ */ jsx(Toast.Description, { children: toast2.description }),
|
41
|
-
toast2.action && /* @__PURE__ */ jsx(Toast.ActionTrigger, { children: toast2.action.label })
|
42
|
-
] }),
|
43
|
-
closable !== false && /* @__PURE__ */ jsx(Toast.CloseTrigger, { children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) })
|
44
|
-
] });
|
45
|
-
} }) });
|
46
|
-
};
|
47
|
-
function ToastRoot(props) {
|
48
|
-
const [rect, setRect] = useState();
|
49
|
-
const rectCallbackRef = useCallback((el) => {
|
50
|
-
setRect(el == null ? void 0 : el.getBoundingClientRect());
|
51
|
-
}, []);
|
52
|
-
return /* @__PURE__ */ jsx(
|
53
|
-
Toast.Root,
|
54
|
-
{
|
55
|
-
ref: rectCallbackRef,
|
56
|
-
width: { md: "sm" },
|
57
|
-
css: {
|
58
|
-
"--toast-height": `${rect == null ? void 0 : rect.height}px`
|
59
|
-
},
|
60
|
-
children: props.children
|
61
|
-
}
|
62
|
-
);
|
63
|
-
}
|
64
|
-
|
65
|
-
export {
|
66
|
-
toast,
|
67
|
-
Toaster
|
68
|
-
};
|
package/dist/chunk-EYOHLXWQ.js
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
CloseButton
|
4
|
-
} from "./chunk-H7KPEI6P.js";
|
5
|
-
import {
|
6
|
-
__export
|
7
|
-
} from "./chunk-RTMS5TJN.js";
|
8
|
-
|
9
|
-
// src/components/dialog/dialog.tsx
|
10
|
-
var dialog_exports = {};
|
11
|
-
__export(dialog_exports, {
|
12
|
-
ActionTrigger: () => ActionTrigger,
|
13
|
-
Backdrop: () => Backdrop,
|
14
|
-
Body: () => Body,
|
15
|
-
CloseButton: () => CloseButton2,
|
16
|
-
CloseTrigger: () => CloseTrigger,
|
17
|
-
Content: () => Content,
|
18
|
-
Context: () => Context,
|
19
|
-
Description: () => Description,
|
20
|
-
DialogContext: () => DialogContext,
|
21
|
-
Footer: () => Footer,
|
22
|
-
Header: () => Header,
|
23
|
-
Root: () => Root,
|
24
|
-
Title: () => Title,
|
25
|
-
Trigger: () => Trigger
|
26
|
-
});
|
27
|
-
import { forwardRef } from "react";
|
28
|
-
import { Dialog as ChakraDialog } from "@chakra-ui/react/dialog";
|
29
|
-
import { Portal } from "@chakra-ui/react/portal";
|
30
|
-
import { DialogContext } from "@ark-ui/react/dialog";
|
31
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
32
|
-
var Content = forwardRef(
|
33
|
-
function DialogContent(props, ref) {
|
34
|
-
const {
|
35
|
-
children,
|
36
|
-
portalled = true,
|
37
|
-
portalRef,
|
38
|
-
backdrop = true,
|
39
|
-
...rest
|
40
|
-
} = props;
|
41
|
-
return /* @__PURE__ */ jsxs(Portal, { disabled: !portalled, container: portalRef, children: [
|
42
|
-
backdrop && /* @__PURE__ */ jsx(ChakraDialog.Backdrop, {}),
|
43
|
-
/* @__PURE__ */ jsx(ChakraDialog.Positioner, { children: /* @__PURE__ */ jsx(ChakraDialog.Content, { ref, ...rest, asChild: false, children }) })
|
44
|
-
] });
|
45
|
-
}
|
46
|
-
);
|
47
|
-
var CloseButton2 = forwardRef(function DialogCloseTrigger(props, ref) {
|
48
|
-
return /* @__PURE__ */ jsx(ChakraDialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "sm", ref, children: props.children }) });
|
49
|
-
});
|
50
|
-
var CloseTrigger = ChakraDialog.CloseTrigger;
|
51
|
-
var Root = ChakraDialog.Root;
|
52
|
-
var Context = ChakraDialog.Context;
|
53
|
-
var Footer = ChakraDialog.Footer;
|
54
|
-
var Header = ChakraDialog.Header;
|
55
|
-
var Body = ChakraDialog.Body;
|
56
|
-
var Backdrop = ChakraDialog.Backdrop;
|
57
|
-
var Title = ChakraDialog.Title;
|
58
|
-
var Description = ChakraDialog.Description;
|
59
|
-
var Trigger = ChakraDialog.Trigger;
|
60
|
-
var ActionTrigger = ChakraDialog.ActionTrigger;
|
61
|
-
|
62
|
-
export {
|
63
|
-
dialog_exports
|
64
|
-
};
|
package/dist/chunk-HKMYYESV.js
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
InputElement
|
4
|
-
} from "./chunk-5MTFSSOH.js";
|
5
|
-
|
6
|
-
// src/components/input-group/input-group.tsx
|
7
|
-
import { cloneElement, forwardRef, isValidElement } from "react";
|
8
|
-
import { Group } from "@chakra-ui/react/group";
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
10
|
-
var InputGroup = forwardRef(
|
11
|
-
function InputGroup2(props, ref) {
|
12
|
-
const {
|
13
|
-
startElement,
|
14
|
-
startElementProps,
|
15
|
-
endElement,
|
16
|
-
endElementProps,
|
17
|
-
children,
|
18
|
-
...rest
|
19
|
-
} = props;
|
20
|
-
return /* @__PURE__ */ jsxs(Group, { ref, display: "flex", ...rest, children: [
|
21
|
-
startElement && /* @__PURE__ */ jsx(InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
|
22
|
-
isValidElement(children) && cloneElement(children, {
|
23
|
-
...startElement && { ps: "calc(var(--input-height) - 6px)" },
|
24
|
-
...endElement && { pe: "calc(var(--input-height) - 6px)" },
|
25
|
-
...children.props
|
26
|
-
}),
|
27
|
-
endElement && /* @__PURE__ */ jsx(InputElement, { placement: "end", ...endElementProps, children: endElement })
|
28
|
-
] });
|
29
|
-
}
|
30
|
-
);
|
31
|
-
|
32
|
-
export {
|
33
|
-
InputGroup
|
34
|
-
};
|
package/dist/chunk-JMYI6YXR.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
'use client'
|
package/dist/chunk-JPY2QZLC.js
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
CloseButton
|
4
|
-
} from "./chunk-H7KPEI6P.js";
|
5
|
-
import {
|
6
|
-
__export
|
7
|
-
} from "./chunk-RTMS5TJN.js";
|
8
|
-
|
9
|
-
// src/components/popover/popover.tsx
|
10
|
-
var popover_exports = {};
|
11
|
-
__export(popover_exports, {
|
12
|
-
Arrow: () => Arrow,
|
13
|
-
Body: () => Body,
|
14
|
-
CloseButton: () => CloseButton2,
|
15
|
-
CloseTrigger: () => CloseTrigger,
|
16
|
-
Content: () => Content,
|
17
|
-
Description: () => Description,
|
18
|
-
Footer: () => Footer,
|
19
|
-
Header: () => Header,
|
20
|
-
Root: () => Root,
|
21
|
-
Title: () => Title,
|
22
|
-
Trigger: () => Trigger
|
23
|
-
});
|
24
|
-
import * as React from "react";
|
25
|
-
import { Popover as ChakraPopover } from "@chakra-ui/react/popover";
|
26
|
-
import { Portal } from "@chakra-ui/react/portal";
|
27
|
-
import { jsx } from "react/jsx-runtime";
|
28
|
-
var Content = React.forwardRef(
|
29
|
-
function PopoverContent(props, ref) {
|
30
|
-
const { portalled = true, portalRef, ...rest } = props;
|
31
|
-
return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(ChakraPopover.Positioner, { children: /* @__PURE__ */ jsx(ChakraPopover.Content, { ref, ...rest }) }) });
|
32
|
-
}
|
33
|
-
);
|
34
|
-
var Arrow = React.forwardRef(
|
35
|
-
function PopoverArrow(props, ref) {
|
36
|
-
return /* @__PURE__ */ jsx(ChakraPopover.Arrow, { ...props, ref, children: /* @__PURE__ */ jsx(ChakraPopover.ArrowTip, {}) });
|
37
|
-
}
|
38
|
-
);
|
39
|
-
var CloseButton2 = React.forwardRef(function PopoverCloseTrigger(props, ref) {
|
40
|
-
return /* @__PURE__ */ jsx(
|
41
|
-
ChakraPopover.CloseTrigger,
|
42
|
-
{
|
43
|
-
position: "absolute",
|
44
|
-
top: "1",
|
45
|
-
insetEnd: "1",
|
46
|
-
...props,
|
47
|
-
asChild: true,
|
48
|
-
ref,
|
49
|
-
children: /* @__PURE__ */ jsx(CloseButton, { size: "sm" })
|
50
|
-
}
|
51
|
-
);
|
52
|
-
});
|
53
|
-
var CloseTrigger = ChakraPopover.CloseTrigger;
|
54
|
-
var Title = ChakraPopover.Title;
|
55
|
-
var Description = ChakraPopover.Description;
|
56
|
-
var Footer = ChakraPopover.Footer;
|
57
|
-
var Header = ChakraPopover.Header;
|
58
|
-
var Root = ChakraPopover.Root;
|
59
|
-
var Body = ChakraPopover.Body;
|
60
|
-
var Trigger = ChakraPopover.Trigger;
|
61
|
-
|
62
|
-
export {
|
63
|
-
popover_exports
|
64
|
-
};
|
package/dist/chunk-KTLWEUNW.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
'use client'
|
package/dist/chunk-SXFVA6CX.js
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
useLink
|
4
|
-
} from "./chunk-O2WVT2BP.js";
|
5
|
-
|
6
|
-
// src/components/link/link.tsx
|
7
|
-
import React from "react";
|
8
|
-
import { Link as ChakraLink } from "@chakra-ui/react/link";
|
9
|
-
import { jsx } from "react/jsx-runtime";
|
10
|
-
var Link = React.forwardRef(
|
11
|
-
(props, ref) => {
|
12
|
-
const LinkComponent = useLink();
|
13
|
-
return /* @__PURE__ */ jsx(ChakraLink, { asChild: true, children: /* @__PURE__ */ jsx(LinkComponent, { ref, ...props }) });
|
14
|
-
}
|
15
|
-
);
|
16
|
-
Link.displayName = "Link";
|
17
|
-
|
18
|
-
export {
|
19
|
-
Link
|
20
|
-
};
|