@saas-ui/react 3.0.0-next.1 → 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 +61 -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 +317 -9024
- 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,43 +1 @@
|
|
1
|
-
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
3
|
-
import * as react from 'react';
|
4
|
-
import { Pagination } from '@chakra-ui/react/pagination';
|
5
|
-
import { TextProps } from '@chakra-ui/react/typography';
|
6
|
-
import { ButtonProps } from '@chakra-ui/react/button';
|
7
|
-
|
8
|
-
type PaginationVariant = 'outline' | 'solid' | 'subtle';
|
9
|
-
interface RootProps extends Omit<Pagination.RootProps, 'type'> {
|
10
|
-
size?: ButtonProps['size'];
|
11
|
-
variant?: PaginationVariant;
|
12
|
-
}
|
13
|
-
declare const Root: react.ForwardRefExoticComponent<RootProps & react.RefAttributes<HTMLDivElement>>;
|
14
|
-
declare const Ellipsis: react.ForwardRefExoticComponent<Pagination.EllipsisProps & react.RefAttributes<HTMLDivElement>>;
|
15
|
-
declare const Item: react.ForwardRefExoticComponent<Pagination.ItemProps & react.RefAttributes<HTMLButtonElement>>;
|
16
|
-
declare const PrevButton: react.ForwardRefExoticComponent<Pagination.PrevTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
17
|
-
declare const NextButton: react.ForwardRefExoticComponent<Pagination.NextTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
18
|
-
declare const Items: (props: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime.JSX.Element;
|
19
|
-
interface PageTextProps extends TextProps {
|
20
|
-
format?: 'short' | 'compact' | 'long';
|
21
|
-
}
|
22
|
-
declare const PageText: react.ForwardRefExoticComponent<PageTextProps & react.RefAttributes<HTMLParagraphElement>>;
|
23
|
-
declare const PrevTrigger: react.ForwardRefExoticComponent<Pagination.PrevTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
24
|
-
declare const NextTrigger: react.ForwardRefExoticComponent<Pagination.NextTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
25
|
-
declare const Context: (props: _ark_ui_react.PaginationContextProps) => react.ReactNode;
|
26
|
-
|
27
|
-
declare const pagination_Context: typeof Context;
|
28
|
-
declare const pagination_Ellipsis: typeof Ellipsis;
|
29
|
-
declare const pagination_Item: typeof Item;
|
30
|
-
declare const pagination_Items: typeof Items;
|
31
|
-
declare const pagination_NextButton: typeof NextButton;
|
32
|
-
declare const pagination_NextTrigger: typeof NextTrigger;
|
33
|
-
declare const pagination_PageText: typeof PageText;
|
34
|
-
type pagination_PageTextProps = PageTextProps;
|
35
|
-
declare const pagination_PrevButton: typeof PrevButton;
|
36
|
-
declare const pagination_PrevTrigger: typeof PrevTrigger;
|
37
|
-
declare const pagination_Root: typeof Root;
|
38
|
-
type pagination_RootProps = RootProps;
|
39
|
-
declare namespace pagination {
|
40
|
-
export { pagination_Context as Context, pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, type pagination_PageTextProps as PageTextProps, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
|
41
|
-
}
|
42
|
-
|
43
|
-
export { pagination as Pagination };
|
1
|
+
export { Pagination_alias_1 as Pagination } from '../../_tsup-dts-rollup.js';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
pagination_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-6XSCENTR.js";
|
5
5
|
import "../../chunk-OJZPPAT6.js";
|
6
6
|
import "../../chunk-5HVAMQYO.js";
|
7
|
-
import "../../chunk-
|
7
|
+
import "../../chunk-XRQQE2AC.js";
|
8
8
|
import "../../chunk-RTMS5TJN.js";
|
9
9
|
export {
|
10
10
|
pagination_exports as Pagination
|
@@ -36,8 +36,8 @@ __export(password_input_exports, {
|
|
36
36
|
module.exports = __toCommonJS(password_input_exports);
|
37
37
|
|
38
38
|
// src/components/password-input/password-input.tsx
|
39
|
-
var
|
40
|
-
var
|
39
|
+
var import_react4 = require("react");
|
40
|
+
var import_react5 = require("@chakra-ui/react");
|
41
41
|
|
42
42
|
// ../../node_modules/react-icons/lib/iconBase.mjs
|
43
43
|
var import_react2 = __toESM(require("react"), 1);
|
@@ -208,60 +208,32 @@ var IconButton = (0, import_react3.forwardRef)(
|
|
208
208
|
}
|
209
209
|
);
|
210
210
|
|
211
|
-
// src/components/input-group/input-group.tsx
|
212
|
-
var import_react4 = require("react");
|
213
|
-
var import_group = require("@chakra-ui/react/group");
|
214
|
-
|
215
211
|
// src/components/input/index.ts
|
216
212
|
var import_input = require("@chakra-ui/react/input");
|
217
213
|
|
218
|
-
// src/components/input-group/input-group.tsx
|
219
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
220
|
-
var InputGroup = (0, import_react4.forwardRef)(
|
221
|
-
function InputGroup2(props, ref) {
|
222
|
-
const {
|
223
|
-
startElement,
|
224
|
-
startElementProps,
|
225
|
-
endElement,
|
226
|
-
endElementProps,
|
227
|
-
children,
|
228
|
-
...rest
|
229
|
-
} = props;
|
230
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_group.Group, { ref, display: "flex", ...rest, children: [
|
231
|
-
startElement && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_input.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
|
232
|
-
(0, import_react4.isValidElement)(children) && (0, import_react4.cloneElement)(children, {
|
233
|
-
...startElement && { ps: "calc(var(--input-height) - 6px)" },
|
234
|
-
...endElement && { pe: "calc(var(--input-height) - 6px)" },
|
235
|
-
...children.props
|
236
|
-
}),
|
237
|
-
endElement && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_input.InputElement, { placement: "end", ...endElementProps, children: endElement })
|
238
|
-
] });
|
239
|
-
}
|
240
|
-
);
|
241
|
-
|
242
214
|
// src/components/password-input/password-input.tsx
|
243
|
-
var
|
244
|
-
var PasswordInput = (0,
|
215
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
216
|
+
var PasswordInput = (0, import_react4.forwardRef)(
|
245
217
|
function PasswordInput2(props, ref) {
|
246
218
|
const {
|
247
219
|
rootProps,
|
248
220
|
defaultVisible,
|
249
221
|
visible: visibleProp,
|
250
222
|
onVisibleChange,
|
251
|
-
visibilityIcon = { on: /* @__PURE__ */ (0,
|
223
|
+
visibilityIcon = { on: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEye, {}), off: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEyeOff, {}) },
|
252
224
|
...rest
|
253
225
|
} = props;
|
254
|
-
const [visible, setVisible] = (0,
|
226
|
+
const [visible, setVisible] = (0, import_react5.useControllableState)({
|
255
227
|
value: visibleProp,
|
256
228
|
defaultValue: defaultVisible || false,
|
257
229
|
onChange: onVisibleChange
|
258
230
|
});
|
259
|
-
const inputRef = (0,
|
260
|
-
return /* @__PURE__ */ (0,
|
261
|
-
InputGroup,
|
231
|
+
const inputRef = (0, import_react4.useRef)(null);
|
232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
233
|
+
import_input.InputGroup,
|
262
234
|
{
|
263
235
|
width: "full",
|
264
|
-
endElement: /* @__PURE__ */ (0,
|
236
|
+
endElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
265
237
|
VisibilityTrigger,
|
266
238
|
{
|
267
239
|
disabled: rest.disabled,
|
@@ -275,11 +247,11 @@ var PasswordInput = (0, import_react5.forwardRef)(
|
|
275
247
|
}
|
276
248
|
),
|
277
249
|
...rootProps,
|
278
|
-
children: /* @__PURE__ */ (0,
|
250
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
279
251
|
import_input.Input,
|
280
252
|
{
|
281
253
|
...rest,
|
282
|
-
ref: (0,
|
254
|
+
ref: (0, import_react5.mergeRefs)(ref, inputRef),
|
283
255
|
type: visible ? "text" : "password"
|
284
256
|
}
|
285
257
|
)
|
@@ -287,9 +259,9 @@ var PasswordInput = (0, import_react5.forwardRef)(
|
|
287
259
|
);
|
288
260
|
}
|
289
261
|
);
|
290
|
-
var VisibilityTrigger = (0,
|
262
|
+
var VisibilityTrigger = (0, import_react4.forwardRef)(
|
291
263
|
function VisibilityTrigger2(props, ref) {
|
292
|
-
return /* @__PURE__ */ (0,
|
264
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
293
265
|
IconButton,
|
294
266
|
{
|
295
267
|
tabIndex: -1,
|
@@ -1,20 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { InputProps } from '@chakra-ui/react/input';
|
4
|
-
import '@chakra-ui/react/group';
|
5
|
-
|
6
|
-
interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
|
7
|
-
rootProps?: InputGroupProps;
|
8
|
-
}
|
9
|
-
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
10
|
-
interface PasswordVisibilityProps {
|
11
|
-
defaultVisible?: boolean;
|
12
|
-
visible?: boolean;
|
13
|
-
onVisibleChange?: (visible: boolean) => void;
|
14
|
-
visibilityIcon?: {
|
15
|
-
on: React.ReactNode;
|
16
|
-
off: React.ReactNode;
|
17
|
-
};
|
18
|
-
}
|
19
|
-
|
20
|
-
export { PasswordInput, type PasswordInputProps };
|
1
|
+
export { PasswordInput_alias_1 as PasswordInput } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { PasswordInputProps_alias_1 as PasswordInputProps } from '../../_tsup-dts-rollup.cjs';
|
@@ -1,20 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
import { InputProps } from '@chakra-ui/react/input';
|
4
|
-
import '@chakra-ui/react/group';
|
5
|
-
|
6
|
-
interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
|
7
|
-
rootProps?: InputGroupProps;
|
8
|
-
}
|
9
|
-
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
10
|
-
interface PasswordVisibilityProps {
|
11
|
-
defaultVisible?: boolean;
|
12
|
-
visible?: boolean;
|
13
|
-
onVisibleChange?: (visible: boolean) => void;
|
14
|
-
visibilityIcon?: {
|
15
|
-
on: React.ReactNode;
|
16
|
-
off: React.ReactNode;
|
17
|
-
};
|
18
|
-
}
|
19
|
-
|
20
|
-
export { PasswordInput, type PasswordInputProps };
|
1
|
+
export { PasswordInput_alias_1 as PasswordInput } from '../../_tsup-dts-rollup.js';
|
2
|
+
export { PasswordInputProps_alias_1 as PasswordInputProps } from '../../_tsup-dts-rollup.js';
|
@@ -1,9 +1,8 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
PasswordInput
|
4
|
-
} from "../../chunk-
|
5
|
-
import "../../chunk-
|
6
|
-
import "../../chunk-5MTFSSOH.js";
|
4
|
+
} from "../../chunk-TXIFPX2A.js";
|
5
|
+
import "../../chunk-BLSGOJQ7.js";
|
7
6
|
import "../../chunk-OJZPPAT6.js";
|
8
7
|
import "../../chunk-5HVAMQYO.js";
|
9
8
|
import "../../chunk-RTMS5TJN.js";
|
@@ -33,7 +33,7 @@ var persona_exports = {};
|
|
33
33
|
__export(persona_exports, {
|
34
34
|
Persona: () => Persona,
|
35
35
|
PersonaAvatar: () => PersonaAvatar2,
|
36
|
-
|
36
|
+
defaultPersonaPresenceOptions: () => defaultPersonaPresenceOptions
|
37
37
|
});
|
38
38
|
module.exports = __toCommonJS(persona_exports);
|
39
39
|
|
@@ -120,7 +120,7 @@ var PersonaAvatar = (0, import_react3.forwardRef)(
|
|
120
120
|
(props, ref) => {
|
121
121
|
const {
|
122
122
|
name,
|
123
|
-
getInitials: getInitials2 = (name2) => name2
|
123
|
+
getInitials: getInitials2 = (name2) => name2?.[0],
|
124
124
|
icon,
|
125
125
|
loading,
|
126
126
|
onError,
|
@@ -217,7 +217,7 @@ var PersonaAvatar2 = React2.forwardRef(function PersonaAvatar3(props, ref) {
|
|
217
217
|
});
|
218
218
|
|
219
219
|
// src/components/persona/presence.ts
|
220
|
-
var
|
220
|
+
var defaultPersonaPresenceOptions = {
|
221
221
|
online: {
|
222
222
|
label: "Online",
|
223
223
|
color: "presence.online"
|
@@ -243,5 +243,5 @@ var defaultPresenceOptions = {
|
|
243
243
|
0 && (module.exports = {
|
244
244
|
Persona,
|
245
245
|
PersonaAvatar,
|
246
|
-
|
246
|
+
defaultPersonaPresenceOptions
|
247
247
|
});
|
@@ -1,222 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
import '@chakra-ui/react/group';
|
9
|
-
|
10
|
-
declare const personaSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"presence" | "root" | "label" | "avatar" | "details" | "secondaryLabel" | "tertiaryLabel", {
|
11
|
-
size: {
|
12
|
-
'2xs': {
|
13
|
-
details: {
|
14
|
-
ms: number;
|
15
|
-
};
|
16
|
-
label: {
|
17
|
-
fontSize: "xs";
|
18
|
-
};
|
19
|
-
secondaryLabel: {
|
20
|
-
display: "none";
|
21
|
-
};
|
22
|
-
tertiaryLabel: {
|
23
|
-
display: "none";
|
24
|
-
};
|
25
|
-
};
|
26
|
-
xs: {
|
27
|
-
details: {
|
28
|
-
ms: number;
|
29
|
-
};
|
30
|
-
label: {
|
31
|
-
fontSize: "xs";
|
32
|
-
};
|
33
|
-
secondaryLabel: {
|
34
|
-
display: "none";
|
35
|
-
};
|
36
|
-
tertiaryLabel: {
|
37
|
-
display: "none";
|
38
|
-
};
|
39
|
-
};
|
40
|
-
sm: {
|
41
|
-
details: {
|
42
|
-
ms: number;
|
43
|
-
};
|
44
|
-
label: {
|
45
|
-
fontSize: "sm";
|
46
|
-
};
|
47
|
-
secondaryLabel: {
|
48
|
-
fontSize: "xs";
|
49
|
-
};
|
50
|
-
tertiaryLabel: {
|
51
|
-
display: "none";
|
52
|
-
};
|
53
|
-
};
|
54
|
-
md: {
|
55
|
-
details: {
|
56
|
-
ms: number;
|
57
|
-
};
|
58
|
-
label: {
|
59
|
-
fontSize: "sm";
|
60
|
-
};
|
61
|
-
secondaryLabel: {
|
62
|
-
fontSize: "xs";
|
63
|
-
};
|
64
|
-
tertiaryLabel: {
|
65
|
-
display: "none";
|
66
|
-
};
|
67
|
-
};
|
68
|
-
lg: {
|
69
|
-
details: {
|
70
|
-
ms: number;
|
71
|
-
};
|
72
|
-
label: {
|
73
|
-
fontSize: "md";
|
74
|
-
};
|
75
|
-
secondaryLabel: {
|
76
|
-
fontSize: "sm";
|
77
|
-
};
|
78
|
-
tertiaryLabel: {
|
79
|
-
fontSize: "sm";
|
80
|
-
};
|
81
|
-
};
|
82
|
-
xl: {
|
83
|
-
details: {
|
84
|
-
ms: number;
|
85
|
-
};
|
86
|
-
label: {
|
87
|
-
fontSize: "lg";
|
88
|
-
};
|
89
|
-
secondaryLabel: {
|
90
|
-
fontSize: "md";
|
91
|
-
};
|
92
|
-
tertiaryLabel: {
|
93
|
-
fontSize: "md";
|
94
|
-
};
|
95
|
-
};
|
96
|
-
'2xl': {
|
97
|
-
details: {
|
98
|
-
ms: number;
|
99
|
-
};
|
100
|
-
label: {
|
101
|
-
fontSize: "xl";
|
102
|
-
};
|
103
|
-
secondaryLabel: {
|
104
|
-
fontSize: "lg";
|
105
|
-
};
|
106
|
-
tertiaryLabel: {
|
107
|
-
fontSize: "lg";
|
108
|
-
};
|
109
|
-
};
|
110
|
-
};
|
111
|
-
}>;
|
112
|
-
type PersonaVariantProps = RecipeVariantProps<typeof personaSlotRecipe>;
|
113
|
-
|
114
|
-
type Presence = 'online' | 'offline' | 'busy' | 'dnd' | 'away';
|
115
|
-
interface PresenceConfig {
|
116
|
-
label: string;
|
117
|
-
color: string;
|
118
|
-
}
|
119
|
-
type PresenceOptions<P extends string = Presence> = Record<P, PresenceConfig>;
|
120
|
-
/**
|
121
|
-
* The presence configuration object.
|
122
|
-
*
|
123
|
-
* Default presence values: online, offline, busy, dnd, away
|
124
|
-
*
|
125
|
-
* You can overwrite colors in the theme semantic tokens.
|
126
|
-
* theme.semanticTokens.colors['presence.online'] = 'cyan.500'
|
127
|
-
*
|
128
|
-
* Or add a custom presence value
|
129
|
-
* theme.semanticTokens.colors['presence.vacay'] = 'blue.500'
|
130
|
-
*
|
131
|
-
* @see Docs https://saas-ui.dev/docs/components/data-display/persona
|
132
|
-
*/
|
133
|
-
declare const defaultPresenceOptions: PresenceOptions;
|
134
|
-
|
135
|
-
interface PersonaRootProps extends HTMLChakraProps<'div'>, SlotRecipeProps<'suiPersona'>, PersonaVariantProps {
|
136
|
-
/**
|
137
|
-
* Indicates that a person is out of office. Changes the presence badge style.
|
138
|
-
*/
|
139
|
-
outOfOffice?: boolean;
|
140
|
-
/**
|
141
|
-
* The presence status of the person
|
142
|
-
*/
|
143
|
-
presence?: Presence;
|
144
|
-
}
|
145
|
-
interface PersonaAvatarOptions {
|
146
|
-
/**
|
147
|
-
* The name of the person in the avatar.
|
148
|
-
*
|
149
|
-
* - if `src` has loaded, the name will be used as the `alt` attribute of the `img`
|
150
|
-
* - If `src` is not loaded, the name will be used to create the initials
|
151
|
-
*/
|
152
|
-
name?: string;
|
153
|
-
}
|
154
|
-
interface PersonaAvatarProps$1 extends PersonaAvatarOptions, AvatarProps {
|
155
|
-
src?: string;
|
156
|
-
srcSet?: string;
|
157
|
-
loading?: ImageProps['loading'];
|
158
|
-
icon?: react__default.ReactElement;
|
159
|
-
fallback?: react__default.ReactNode;
|
160
|
-
getInitials?: (name?: string | null) => string | null;
|
161
|
-
}
|
162
|
-
|
163
|
-
interface PersonaOptions {
|
164
|
-
/**
|
165
|
-
* The name of the person in the avatar.
|
166
|
-
*
|
167
|
-
* - if `src` has loaded, the name will be used as the `alt` attribute of the `img`
|
168
|
-
* - If `src` is not loaded, the name will be used to create the initials
|
169
|
-
*/
|
170
|
-
name?: string;
|
171
|
-
/**
|
172
|
-
* The presence status of the person
|
173
|
-
*
|
174
|
-
* If set will add an AvatarBadge with color configured in `Presence`
|
175
|
-
* Default presence options:
|
176
|
-
* - online
|
177
|
-
* - offline
|
178
|
-
* - busy
|
179
|
-
* - dnd
|
180
|
-
* - away
|
181
|
-
*/
|
182
|
-
presence?: Presence;
|
183
|
-
/**
|
184
|
-
* The icon shown in the AvatarBadge
|
185
|
-
*/
|
186
|
-
presenceIcon?: react.ReactNode;
|
187
|
-
/**
|
188
|
-
* Indicates that a person is out of office. Changes the presence badge style.
|
189
|
-
*/
|
190
|
-
isOutOfOffice?: boolean;
|
191
|
-
/**
|
192
|
-
* Primary label of the persona, defaults to the name
|
193
|
-
*/
|
194
|
-
label?: react.ReactNode;
|
195
|
-
/**
|
196
|
-
* Secondary label, usually the role of the person
|
197
|
-
* Only visible from md size and up.
|
198
|
-
*/
|
199
|
-
secondaryLabel?: react.ReactNode;
|
200
|
-
/**
|
201
|
-
* Tertiary label, usually the status of the person.
|
202
|
-
* Only visible from lg size and up.
|
203
|
-
*/
|
204
|
-
tertiaryLabel?: react.ReactNode;
|
205
|
-
/**
|
206
|
-
* Hide the persona details next to the avatar.
|
207
|
-
*/
|
208
|
-
hideDetails?: boolean;
|
209
|
-
}
|
210
|
-
interface PersonaProps extends PersonaOptions, Omit<PersonaAvatarProps$1, 'size'>, PersonaRootProps, PersonaVariantProps {
|
211
|
-
}
|
212
|
-
/**
|
213
|
-
* The wrapper component that handles default composition.
|
214
|
-
*
|
215
|
-
* @see Docs https://saas-ui.dev/docs/components/data-display/persona
|
216
|
-
*/
|
217
|
-
declare const Persona: react.ForwardRefExoticComponent<PersonaProps & react.RefAttributes<HTMLDivElement>>;
|
218
|
-
interface PersonaAvatarProps extends Omit<PersonaProps, 'hideDetails' | 'label' | 'secondaryLabel' | 'tertiaryLabel' | 'children'> {
|
219
|
-
}
|
220
|
-
declare const PersonaAvatar: react.ForwardRefExoticComponent<PersonaAvatarProps & react.RefAttributes<HTMLDivElement>>;
|
221
|
-
|
222
|
-
export { Persona, PersonaAvatar, type PersonaAvatarProps, type PersonaProps, type Presence, type PresenceConfig, defaultPresenceOptions };
|
1
|
+
export { Persona_alias_1 as Persona } from '../../_tsup-dts-rollup.cjs';
|
2
|
+
export { PersonaAvatar_alias_1 as PersonaAvatar } from '../../_tsup-dts-rollup.cjs';
|
3
|
+
export { PersonaProps_alias_1 as PersonaProps } from '../../_tsup-dts-rollup.cjs';
|
4
|
+
export { PersonaAvatarProps_alias_1 as PersonaAvatarProps } from '../../_tsup-dts-rollup.cjs';
|
5
|
+
export { defaultPersonaPresenceOptions_alias_1 as defaultPersonaPresenceOptions } from '../../_tsup-dts-rollup.cjs';
|
6
|
+
export { PersonaPresence_alias_1 as PersonaPresence } from '../../_tsup-dts-rollup.cjs';
|
7
|
+
export { PersonaPresenceConfig_alias_1 as PersonaPresenceConfig } from '../../_tsup-dts-rollup.cjs';
|