@saas-ui/react 3.0.0-alpha.8 → 3.0.0-next.0
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 +219 -36
- package/dist/chunk-27OMFCPD.js +8 -0
- package/dist/{chunk-6LOMIKR5.js → chunk-2B5OZHZY.js} +5 -3
- package/dist/{chunk-S3CQW7GD.js → chunk-3DGRWH7C.js} +3 -2
- package/dist/chunk-3EV6MKBG.js +60 -0
- package/dist/{chunk-IFYV7NUJ.js → chunk-3MO37LYW.js} +3 -3
- package/dist/chunk-3RHNNKPC.js +51 -0
- package/dist/{chunk-LIYUBUOP.js → chunk-4IZGJDYL.js} +1 -1
- package/dist/{chunk-VDXTEASE.js → chunk-4XB7B73X.js} +28 -2
- package/dist/chunk-52XM5VXJ.js +9 -0
- package/dist/chunk-5HVAMQYO.js +8 -0
- package/dist/chunk-5MTFSSOH.js +16 -0
- package/dist/chunk-5YNHX4C7.js +16 -0
- package/dist/{chunk-4TR3AOMG.js → chunk-5ZKEXMBN.js} +15 -12
- package/dist/chunk-6YZ76Q2W.js +8 -0
- package/dist/chunk-77QJSEEA.js +68 -0
- package/dist/chunk-7DF4NQNZ.js +8 -0
- package/dist/chunk-7HAGRXKM.js +8 -0
- package/dist/{chunk-QSNSWCTM.js → chunk-7MCVXFWM.js} +2 -1
- package/dist/chunk-7PWVK3NL.js +8 -0
- package/dist/chunk-AY7C4U2O.js +39 -0
- package/dist/{chunk-7VSTNV2B.js → chunk-BDS3APRG.js} +9 -6
- package/dist/chunk-BFO2S4Y5.js +12 -0
- package/dist/chunk-C5KFNMWU.js +8 -0
- package/dist/chunk-CQD32UVJ.js +8 -0
- package/dist/{chunk-TT4C5VXB.js → chunk-CRFTMIQA.js} +10 -10
- package/dist/chunk-DHFAFRZ4.js +8 -0
- package/dist/chunk-EWCBYJA7.js +8 -0
- package/dist/chunk-EYOHLXWQ.js +64 -0
- package/dist/chunk-FD2V4Y66.js +8 -0
- package/dist/{chunk-UCQ3LZIE.js → chunk-FN7TU5F5.js} +2 -1
- package/dist/chunk-FPRTN3I7.js +9 -0
- package/dist/chunk-GD2247J4.js +37 -0
- package/dist/chunk-GSWLAOIM.js +24 -0
- package/dist/chunk-H7KPEI6P.js +21 -0
- package/dist/chunk-HD7BIWDH.js +22 -0
- package/dist/{chunk-PKI6YH2V.js → chunk-HKMYYESV.js} +4 -1
- package/dist/{chunk-WYLMBMAH.js → chunk-HKUOHPZ6.js} +1 -1
- package/dist/chunk-HQVBJT5Y.js +8 -0
- package/dist/chunk-HTQRA26F.js +46 -0
- package/dist/{chunk-SA3OGTOO.js → chunk-HTVSG47E.js} +1 -1
- package/dist/chunk-HZX4AGO5.js +8 -0
- package/dist/{chunk-ULAJ3JEO.js → chunk-IEWGZ4LU.js} +11 -3
- package/dist/chunk-JMYI6YXR.js +1 -0
- package/dist/chunk-JPY2QZLC.js +64 -0
- package/dist/{chunk-SKXSBAOS.js → chunk-KFDVVTMT.js} +2 -1
- package/dist/chunk-KRJG7H4W.js +53 -0
- package/dist/chunk-M3DJWM6D.js +8 -0
- package/dist/{chunk-32JGENDB.js → chunk-MK3OG2I4.js} +1 -1
- package/dist/chunk-MZ2RY4NU.js +34 -0
- package/dist/{chunk-FJFNGSPL.js → chunk-NGGISORT.js} +12 -6
- package/dist/chunk-NLMFEUVO.js +41 -0
- package/dist/{chunk-I2RXEKTB.js → chunk-NSFGACD7.js} +1 -1
- package/dist/{chunk-BFA5FCA2.js → chunk-O2WVT2BP.js} +1 -16
- package/dist/chunk-OJZPPAT6.js +26 -0
- package/dist/chunk-OQU4LWZW.js +8 -0
- package/dist/chunk-PEJYADAS.js +8 -0
- package/dist/chunk-PIQURQGB.js +8 -0
- package/dist/{chunk-3Z2C27LI.js → chunk-Q6SNJJO2.js} +14 -2
- package/dist/chunk-QLN2CBY6.js +8 -0
- package/dist/chunk-R2J5USV6.js +12 -0
- package/dist/{chunk-2EUACKRH.js → chunk-RYKJOZ3B.js} +2 -1
- package/dist/chunk-SD2NTPHR.js +44 -0
- package/dist/chunk-SXFVA6CX.js +20 -0
- package/dist/chunk-T2FPZNCP.js +115 -0
- package/dist/{chunk-CD2JUFI2.js → chunk-T7XRS654.js} +10 -9
- package/dist/chunk-TEQVVR3W.js +8 -0
- package/dist/chunk-TH6YCBEG.js +8 -0
- package/dist/chunk-TWTXZ7PR.js +100 -0
- package/dist/{chunk-DPMEXCSG.js → chunk-U23VDAWJ.js} +8 -2
- package/dist/chunk-U3EPRSD3.js +20 -0
- package/dist/chunk-UEXUCHDD.js +34 -0
- package/dist/chunk-UIP2CHMU.js +8 -0
- package/dist/{chunk-JGHXJ3PI.js → chunk-UNF77J24.js} +6 -8
- package/dist/{chunk-M7FOBCOV.js → chunk-VJ4UOABT.js} +12 -19
- package/dist/chunk-WJZED26X.js +28 -0
- package/dist/chunk-XW747T2R.js +43 -0
- package/dist/chunk-XX2OY7LK.js +10 -0
- package/dist/chunk-YHQ5JGCC.js +1 -0
- package/dist/chunk-YLZEO3RK.js +24 -0
- package/dist/chunk-YMCOU2N5.js +8 -0
- package/dist/{chunk-6ZNR6N2K.js → chunk-YTTZX7ZE.js} +1 -1
- package/dist/chunk-Z37BQ5VU.js +54 -0
- package/dist/{chunk-L356FPLY.js → chunk-Z3SWPGPQ.js} +1 -1
- package/dist/{chunk-NSD5HRIP.js → chunk-ZUT5GZTD.js} +1 -1
- package/dist/components/accordion/index.cjs +197 -0
- package/dist/components/accordion/index.d.cts +29 -0
- package/dist/components/accordion/index.d.ts +29 -0
- package/dist/components/accordion/index.js +9 -0
- package/dist/components/action-bar/index.cjs +217 -0
- package/dist/components/action-bar/index.d.cts +33 -0
- package/dist/components/action-bar/index.d.ts +33 -0
- package/dist/components/action-bar/index.js +13 -0
- package/dist/components/alert/index.cjs +227 -0
- package/dist/components/alert/index.d.cts +14 -0
- package/dist/components/alert/index.d.ts +14 -0
- package/dist/components/alert/index.js +13 -0
- package/dist/components/app-shell/index.cjs +2 -2
- package/dist/components/app-shell/index.d.cts +1 -1
- package/dist/components/app-shell/index.d.ts +1 -1
- package/dist/components/app-shell/index.js +1 -1
- package/dist/components/avatar/index.cjs +7 -6
- package/dist/components/avatar/index.d.cts +3 -1
- package/dist/components/avatar/index.d.ts +3 -1
- package/dist/components/avatar/index.js +2 -1
- package/dist/components/badge/index.cjs +33 -0
- package/dist/components/badge/index.d.cts +27 -0
- package/dist/components/badge/index.d.ts +27 -0
- package/dist/components/badge/index.js +10 -0
- package/dist/components/blockquote/index.cjs +59 -0
- package/dist/components/blockquote/index.d.cts +12 -0
- package/dist/components/blockquote/index.d.ts +12 -0
- package/dist/components/blockquote/index.js +8 -0
- package/dist/components/breadcrumb/index.cjs +13 -13
- package/dist/components/breadcrumb/index.d.cts +13 -7
- package/dist/components/breadcrumb/index.d.ts +13 -7
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.cjs +2 -36
- package/dist/components/button/index.d.cts +1 -12
- package/dist/components/button/index.d.ts +1 -12
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/index.cjs +31 -0
- package/dist/components/button-group/index.d.cts +1 -0
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/button-group/index.js +8 -0
- package/dist/components/card/index.cjs +32 -0
- package/dist/components/card/index.d.cts +1 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +9 -0
- package/dist/components/checkbox/index.cjs +5 -5
- package/dist/components/checkbox/index.d.cts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-card/index.cjs +66 -0
- package/dist/components/checkbox-card/index.d.cts +15 -0
- package/dist/components/checkbox-card/index.d.ts +15 -0
- package/dist/components/checkbox-card/index.js +8 -0
- package/dist/components/checkmark/index.cjs +31 -0
- package/dist/components/checkmark/index.d.cts +1 -0
- package/dist/components/checkmark/index.d.ts +1 -0
- package/dist/components/checkmark/index.js +8 -0
- package/dist/components/clipboard/index.cjs +227 -0
- package/dist/components/clipboard/index.d.cts +28 -0
- package/dist/components/clipboard/index.d.ts +28 -0
- package/dist/components/clipboard/index.js +13 -0
- package/dist/components/close-button/index.cjs +82 -37
- package/dist/components/close-button/index.d.cts +3 -2
- package/dist/components/close-button/index.d.ts +3 -2
- package/dist/components/close-button/index.js +5 -2
- package/dist/components/code/index.cjs +31 -0
- package/dist/components/code/index.d.cts +1 -0
- package/dist/components/code/index.d.ts +1 -0
- package/dist/components/code/index.js +8 -0
- package/dist/components/collapsible/index.cjs +31 -0
- package/dist/components/collapsible/index.d.cts +1 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +8 -0
- package/dist/components/command/index.cjs +18 -13
- package/dist/components/command/index.d.cts +28 -2
- package/dist/components/command/index.d.ts +28 -2
- package/dist/components/command/index.js +2 -1
- package/dist/components/container/index.cjs +31 -0
- package/dist/components/container/index.d.cts +1 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +8 -0
- package/dist/components/data-list/index.cjs +33 -0
- package/dist/components/data-list/index.d.cts +1 -0
- package/dist/components/data-list/index.d.ts +1 -0
- package/dist/components/data-list/index.js +10 -0
- package/dist/components/dialog/index.cjs +127 -89
- package/dist/components/dialog/index.d.cts +36 -17
- package/dist/components/dialog/index.d.ts +36 -17
- package/dist/components/dialog/index.js +8 -5
- package/dist/components/drawer/index.cjs +123 -87
- package/dist/components/drawer/index.d.cts +33 -17
- package/dist/components/drawer/index.d.ts +33 -17
- package/dist/components/drawer/index.js +8 -5
- package/dist/components/editable/index.cjs +31 -0
- package/dist/components/editable/index.d.cts +1 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +8 -0
- package/dist/components/empty-state/index.cjs +12 -10
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/field/index.cjs +35 -0
- package/dist/components/field/index.d.cts +1 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field/index.js +12 -0
- package/dist/components/fieldset/index.cjs +33 -0
- package/dist/components/fieldset/index.d.cts +1 -0
- package/dist/components/fieldset/index.d.ts +1 -0
- package/dist/components/fieldset/index.js +10 -0
- package/dist/components/file-upload/index.cjs +296 -0
- package/dist/components/file-upload/index.d.cts +46 -0
- package/dist/components/file-upload/index.d.ts +46 -0
- package/dist/components/file-upload/index.js +14 -0
- package/dist/components/grid-list/index.cjs +2 -2
- package/dist/components/grid-list/index.d.cts +67 -5
- package/dist/components/grid-list/index.d.ts +67 -5
- package/dist/components/grid-list/index.js +1 -1
- package/dist/components/heading/index.cjs +31 -0
- package/dist/components/heading/index.d.cts +1 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +8 -0
- package/dist/components/hover-card/index.cjs +66 -0
- package/dist/components/hover-card/index.d.cts +21 -0
- package/dist/components/hover-card/index.d.ts +21 -0
- package/dist/components/hover-card/index.js +8 -0
- package/dist/components/icon/index.cjs +31 -0
- package/dist/components/icon/index.d.cts +1 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icon/index.js +8 -0
- package/dist/components/icon-badge/index.cjs +3 -3
- package/dist/components/icon-badge/index.d.cts +1 -1
- package/dist/components/icon-badge/index.d.ts +1 -1
- package/dist/components/icon-badge/index.js +1 -1
- package/dist/components/icon-button/index.cjs +53 -0
- package/dist/components/icon-button/index.d.cts +8 -0
- package/dist/components/icon-button/index.d.ts +8 -0
- package/dist/components/icon-button/index.js +9 -0
- package/dist/components/icons/index.cjs +31 -2
- package/dist/components/icons/index.d.cts +4 -1
- package/dist/components/icons/index.d.ts +4 -1
- package/dist/components/icons/index.js +7 -1
- package/dist/components/image/index.cjs +31 -0
- package/dist/components/image/index.d.cts +1 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +8 -0
- package/dist/components/info-tip/index.cjs +299 -0
- package/dist/components/info-tip/index.d.cts +13 -0
- package/dist/components/info-tip/index.d.ts +13 -0
- package/dist/components/info-tip/index.js +16 -0
- package/dist/components/input/index.cjs +37 -0
- package/dist/components/input/index.d.cts +1 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +14 -0
- package/dist/components/input-group/index.cjs +9 -4
- package/dist/components/input-group/index.d.cts +3 -2
- package/dist/components/input-group/index.d.ts +3 -2
- package/dist/components/input-group/index.js +2 -1
- package/dist/components/kbd/index.cjs +31 -0
- package/dist/components/kbd/index.d.cts +1 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +8 -0
- package/dist/components/link/index.cjs +2 -2
- package/dist/components/link/index.d.cts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/link/index.js +2 -1
- package/dist/components/list/index.cjs +31 -0
- package/dist/components/list/index.d.cts +1 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +8 -0
- package/dist/components/loader/index.cjs +31 -0
- package/dist/components/loader/index.d.cts +1 -0
- package/dist/components/loader/index.d.ts +1 -0
- package/dist/components/loader/index.js +8 -0
- package/dist/components/loading-overlay/index.cjs +12 -9
- package/dist/components/loading-overlay/index.d.cts +6 -22
- package/dist/components/loading-overlay/index.d.ts +6 -22
- package/dist/components/loading-overlay/index.js +2 -2
- package/dist/components/mark/index.cjs +31 -0
- package/dist/components/mark/index.d.cts +1 -0
- package/dist/components/mark/index.d.ts +1 -0
- package/dist/components/mark/index.js +8 -0
- package/dist/components/menu/index.cjs +92 -99
- package/dist/components/menu/index.d.cts +2 -1
- package/dist/components/menu/index.d.ts +2 -1
- package/dist/components/menu/index.js +3 -3
- package/dist/components/native-select/index.cjs +178 -0
- package/dist/components/native-select/index.d.cts +10 -0
- package/dist/components/native-select/index.d.ts +10 -0
- package/dist/components/native-select/index.js +10 -0
- package/dist/components/navbar/index.cjs +42 -4
- package/dist/components/navbar/index.d.cts +4 -1
- package/dist/components/navbar/index.d.ts +4 -1
- package/dist/components/navbar/index.js +2 -1
- package/dist/components/number-input/index.cjs +25 -12
- package/dist/components/number-input/index.d.cts +1 -1
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/number-input/index.js +3 -2
- package/dist/components/pagination/index.cjs +253 -0
- package/dist/components/pagination/index.d.cts +43 -0
- package/dist/components/pagination/index.d.ts +43 -0
- package/dist/components/pagination/index.js +11 -0
- package/dist/components/password-input/index.cjs +45 -17
- package/dist/components/password-input/index.d.cts +4 -2
- package/dist/components/password-input/index.d.ts +4 -2
- package/dist/components/password-input/index.js +5 -2
- package/dist/components/persona/index.cjs +63 -34
- package/dist/components/persona/index.d.cts +113 -4
- package/dist/components/persona/index.d.ts +113 -4
- package/dist/components/persona/index.js +2 -1
- package/dist/components/pin-input/index.cjs +5 -4
- package/dist/components/pin-input/index.d.cts +1 -1
- package/dist/components/pin-input/index.d.ts +1 -1
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.cjs +252 -0
- package/dist/components/popover/index.d.cts +3 -0
- package/dist/components/popover/index.d.ts +3 -0
- package/dist/components/popover/index.js +13 -0
- package/dist/components/progress/index.cjs +31 -0
- package/dist/components/progress/index.d.cts +1 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/index.js +8 -0
- package/dist/components/progress-circle/index.cjs +31 -0
- package/dist/components/progress-circle/index.d.cts +1 -0
- package/dist/components/progress-circle/index.d.ts +1 -0
- package/dist/components/progress-circle/index.js +8 -0
- package/dist/components/radio/index.cjs +6 -6
- package/dist/components/radio/index.d.cts +1 -1
- package/dist/components/radio/index.d.ts +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-card/index.cjs +75 -0
- package/dist/components/radio-card/index.d.cts +31 -0
- package/dist/components/radio-card/index.d.ts +31 -0
- package/dist/components/radio-card/index.js +8 -0
- package/dist/components/rating-group/index.cjs +31 -0
- package/dist/components/rating-group/index.d.cts +1 -0
- package/dist/components/rating-group/index.d.ts +1 -0
- package/dist/components/rating-group/index.js +8 -0
- package/dist/components/search-input/index.cjs +39 -16
- package/dist/components/search-input/index.js +2 -2
- package/dist/components/segmented-control/index.cjs +8 -7
- package/dist/components/segmented-control/index.d.cts +1 -1
- package/dist/components/segmented-control/index.d.ts +1 -1
- package/dist/components/segmented-control/index.js +1 -1
- package/dist/components/select/index.cjs +109 -63
- package/dist/components/select/index.d.cts +2 -1
- package/dist/components/select/index.d.ts +2 -1
- package/dist/components/select/index.js +6 -3
- package/dist/components/separator/index.cjs +31 -0
- package/dist/components/separator/index.d.cts +1 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +8 -0
- package/dist/components/sidebar/index.cjs +8 -2
- package/dist/components/sidebar/index.d.cts +9 -5
- package/dist/components/sidebar/index.d.ts +9 -5
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/skeleton/index.cjs +61 -0
- package/dist/components/skeleton/index.d.cts +17 -0
- package/dist/components/skeleton/index.d.ts +17 -0
- package/dist/components/skeleton/index.js +12 -0
- package/dist/components/skip-nav-link/index.cjs +33 -0
- package/dist/components/skip-nav-link/index.d.cts +1 -0
- package/dist/components/skip-nav-link/index.d.ts +1 -0
- package/dist/components/skip-nav-link/index.js +10 -0
- package/dist/components/slider/index.cjs +62 -0
- package/dist/components/slider/index.d.cts +13 -0
- package/dist/components/slider/index.d.ts +13 -0
- package/dist/components/slider/index.js +8 -0
- package/dist/components/spinner/index.cjs +2 -2
- package/dist/components/spinner/index.d.cts +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.cjs +83 -0
- package/dist/components/stat/index.d.cts +29 -0
- package/dist/components/stat/index.d.ts +29 -0
- package/dist/components/stat/index.js +8 -0
- package/dist/components/status/index.cjs +45 -0
- package/dist/components/status/index.d.cts +18 -0
- package/dist/components/status/index.d.ts +18 -0
- package/dist/components/status/index.js +8 -0
- package/dist/components/steps/index.cjs +48 -23
- package/dist/components/steps/index.d.cts +2 -2
- package/dist/components/steps/index.d.ts +2 -2
- package/dist/components/steps/index.js +2 -2
- package/dist/components/switch/index.cjs +9 -9
- package/dist/components/switch/index.d.cts +1 -1
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/table/index.cjs +31 -0
- package/dist/components/table/index.d.cts +1 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +8 -0
- package/dist/components/tabs/index.cjs +37 -0
- package/dist/components/tabs/index.d.cts +1 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +14 -0
- package/dist/components/tag/index.cjs +53 -0
- package/dist/components/tag/index.d.cts +12 -0
- package/dist/components/tag/index.d.ts +12 -0
- package/dist/components/tag/index.js +8 -0
- package/dist/components/textarea/index.cjs +31 -0
- package/dist/components/textarea/index.d.cts +1 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +8 -0
- package/dist/components/timeline/index.cjs +31 -0
- package/dist/components/timeline/index.d.cts +1 -0
- package/dist/components/timeline/index.d.ts +1 -0
- package/dist/components/timeline/index.js +8 -0
- package/dist/components/toaster/index.cjs +215 -12
- package/dist/components/toaster/index.d.cts +6 -5
- package/dist/components/toaster/index.d.ts +6 -5
- package/dist/components/toaster/index.js +7 -1
- package/dist/components/toggle-tip/index.cjs +289 -0
- package/dist/components/toggle-tip/index.d.cts +13 -0
- package/dist/components/toggle-tip/index.d.ts +13 -0
- package/dist/components/toggle-tip/index.js +14 -0
- package/dist/components/tooltip/index.cjs +6 -5
- package/dist/components/tooltip/index.d.cts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/index-zAqswhEI.d.cts +37 -0
- package/dist/index-zAqswhEI.d.ts +37 -0
- package/dist/index.cjs +4118 -2660
- package/dist/index.d.cts +89 -6
- package/dist/index.d.ts +89 -6
- package/dist/index.js +2686 -1960
- package/dist/loading-overlay-BQ4lOS6T.d.ts +23 -0
- package/dist/loading-overlay-afP_W7ru.d.cts +23 -0
- package/dist/theme/tokens/colors.cjs +3 -3
- package/dist/theme/tokens/colors.js +1 -1
- package/dist/types-DnFoUudY.d.cts +10 -0
- package/dist/types-DnFoUudY.d.ts +10 -0
- package/package.json +7 -7
- package/dist/chunk-BCNPBZZK.js +0 -45
- package/dist/chunk-CB52LBJK.js +0 -71
- package/dist/chunk-FZW2DYK3.js +0 -19
- package/dist/chunk-H6TFEHY4.js +0 -63
- package/dist/chunk-HELHPHIQ.js +0 -35
@@ -1,9 +1,10 @@
|
|
1
|
+
import * as _saas_ui_core_sidebar from '@saas-ui/core/sidebar';
|
2
|
+
import { Sidebar } from '@saas-ui/core/sidebar';
|
3
|
+
export { useSidebar } from '@saas-ui/core/sidebar';
|
1
4
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
2
|
-
import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react';
|
3
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
6
|
import react__default from 'react';
|
5
|
-
import {
|
6
|
-
export { useSidebar } from '@saas-ui/core/sidebar';
|
7
|
+
import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react/styled-system';
|
7
8
|
|
8
9
|
interface SidebarProviderProps extends Sidebar.ProviderProps, Omit<SlotRecipeProps<'suiSidebar'>, 'mode'> {
|
9
10
|
}
|
@@ -74,10 +75,13 @@ interface SidebarNavButtonProps extends Sidebar.NavButtonProps, HTMLChakraProps<
|
|
74
75
|
active?: boolean;
|
75
76
|
}
|
76
77
|
declare const SidebarNavButton: react__default.ForwardRefExoticComponent<SidebarNavButtonProps & react__default.RefAttributes<HTMLButtonElement>>;
|
77
|
-
declare const SidebarNavItemEndElement: react__default.ForwardRefExoticComponent<Omit<_chakra_ui_react.PatchHtmlProps<Omit<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationRange" | "animationRangeStart" | "animationRangeEnd" | "animationTimeline" | "transformOrigin" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "appearance" | "aspectRatio" | "azimuth" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineEnd" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "color" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicSize" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "printColorAdjust" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformStyle" | "transition" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "zoom" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | "css" | keyof _chakra_ui_react.PolymorphicProps> & Omit<_chakra_ui_react.JsxStyleProps, never> & _chakra_ui_react.PolymorphicProps & react__default.RefAttributes<HTMLDivElement>>;
|
78
|
+
declare const SidebarNavButtonEndElement: react__default.ForwardRefExoticComponent<Omit<_chakra_ui_react.PatchHtmlProps<Omit<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationRange" | "animationRangeStart" | "animationRangeEnd" | "animationTimeline" | "transformOrigin" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "appearance" | "aspectRatio" | "azimuth" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineEnd" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "color" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicSize" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "printColorAdjust" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformStyle" | "transition" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "zoom" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | "css" | keyof _chakra_ui_react.PolymorphicProps> & Omit<_chakra_ui_react.JsxStyleProps, never> & _chakra_ui_react.PolymorphicProps & react__default.RefAttributes<HTMLDivElement>>;
|
79
|
+
declare const SidebarContext: (props: {
|
80
|
+
children: (context: _saas_ui_core_sidebar.UseSidebarReturn) => react__default.ReactNode;
|
81
|
+
}) => react__default.ReactNode;
|
78
82
|
|
79
83
|
declare namespace sidebar {
|
80
|
-
export { SidebarBackdrop as Backdrop, SidebarBody as Body, SidebarFlyoutTrigger as FlyoutTrigger, type SidebarFlyoutTriggerProps as FlyoutTriggerProps, SidebarFooter as Footer, SidebarGroup as Group, SidebarGroupContent as GroupContent, SidebarGroupEndElement as GroupEndElement, SidebarGroupHeader as GroupHeader, SidebarGroupTitle as GroupTitle, SidebarHeader as Header, SidebarNavButton as NavButton, type SidebarNavButtonProps as NavButtonProps, SidebarNavItem as NavItem,
|
84
|
+
export { SidebarBackdrop as Backdrop, SidebarBody as Body, SidebarContext as Context, SidebarFlyoutTrigger as FlyoutTrigger, type SidebarFlyoutTriggerProps as FlyoutTriggerProps, SidebarFooter as Footer, SidebarGroup as Group, SidebarGroupContent as GroupContent, SidebarGroupEndElement as GroupEndElement, SidebarGroupHeader as GroupHeader, SidebarGroupTitle as GroupTitle, SidebarHeader as Header, SidebarNavButton as NavButton, SidebarNavButtonEndElement as NavButtonEndElement, type SidebarNavButtonProps as NavButtonProps, SidebarNavItem as NavItem, type SidebarNavItemProps as NavItemProps, SidebarProvider as Provider, SidebarRoot as Root, type SidebarRootProps as RootProps, SidebarTrack as Track, SidebarTrigger as Trigger, type SidebarTriggerProps as TriggerProps };
|
81
85
|
}
|
82
86
|
|
83
87
|
declare const useSidebarStyles: () => Record<string, _chakra_ui_react.SystemStyleObject>;
|
@@ -0,0 +1,61 @@
|
|
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/skeleton/index.ts
|
22
|
+
var skeleton_exports = {};
|
23
|
+
__export(skeleton_exports, {
|
24
|
+
Skeleton: () => Skeleton,
|
25
|
+
SkeletonCircle: () => SkeletonCircle,
|
26
|
+
SkeletonText: () => SkeletonText
|
27
|
+
});
|
28
|
+
module.exports = __toCommonJS(skeleton_exports);
|
29
|
+
|
30
|
+
// src/components/skeleton/skeleton.tsx
|
31
|
+
var import_react = require("react");
|
32
|
+
var import_box = require("@chakra-ui/react/box");
|
33
|
+
var import_skeleton = require("@chakra-ui/react/skeleton");
|
34
|
+
var import_stack = require("@chakra-ui/react/stack");
|
35
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
36
|
+
var SkeletonCircle = (props) => {
|
37
|
+
const { size, ...rest } = props;
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_box.Circle, { size, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_skeleton.Skeleton, { ...rest }) });
|
39
|
+
};
|
40
|
+
var SkeletonText = (0, import_react.forwardRef)(
|
41
|
+
function SkeletonText2(props, ref) {
|
42
|
+
const { noOfLines = 3, gap, ...rest } = props;
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_stack.Stack, { gap, width: "full", ref, children: Array.from({ length: noOfLines }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
44
|
+
import_skeleton.Skeleton,
|
45
|
+
{
|
46
|
+
height: "4",
|
47
|
+
...props,
|
48
|
+
_last: { maxW: "80%" },
|
49
|
+
...rest
|
50
|
+
},
|
51
|
+
index
|
52
|
+
)) });
|
53
|
+
}
|
54
|
+
);
|
55
|
+
var Skeleton = import_skeleton.Skeleton;
|
56
|
+
// Annotate the CommonJS export names for ESM import in node:
|
57
|
+
0 && (module.exports = {
|
58
|
+
Skeleton,
|
59
|
+
SkeletonCircle,
|
60
|
+
SkeletonText
|
61
|
+
});
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
3
|
+
import { CircleProps } from '@chakra-ui/react/box';
|
4
|
+
import { SkeletonProps as SkeletonProps$1 } from '@chakra-ui/react/skeleton';
|
5
|
+
|
6
|
+
interface SkeletonCircleProps extends SkeletonProps$1 {
|
7
|
+
size?: CircleProps['size'];
|
8
|
+
}
|
9
|
+
declare const SkeletonCircle: (props: SkeletonCircleProps) => react_jsx_runtime.JSX.Element;
|
10
|
+
interface SkeletonTextProps extends SkeletonProps$1 {
|
11
|
+
noOfLines?: number;
|
12
|
+
}
|
13
|
+
declare const SkeletonText: react.ForwardRefExoticComponent<SkeletonTextProps & react.RefAttributes<HTMLDivElement>>;
|
14
|
+
type SkeletonProps = SkeletonProps$1;
|
15
|
+
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps$1 & react.RefAttributes<HTMLDivElement>>;
|
16
|
+
|
17
|
+
export { Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps };
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
3
|
+
import { CircleProps } from '@chakra-ui/react/box';
|
4
|
+
import { SkeletonProps as SkeletonProps$1 } from '@chakra-ui/react/skeleton';
|
5
|
+
|
6
|
+
interface SkeletonCircleProps extends SkeletonProps$1 {
|
7
|
+
size?: CircleProps['size'];
|
8
|
+
}
|
9
|
+
declare const SkeletonCircle: (props: SkeletonCircleProps) => react_jsx_runtime.JSX.Element;
|
10
|
+
interface SkeletonTextProps extends SkeletonProps$1 {
|
11
|
+
noOfLines?: number;
|
12
|
+
}
|
13
|
+
declare const SkeletonText: react.ForwardRefExoticComponent<SkeletonTextProps & react.RefAttributes<HTMLDivElement>>;
|
14
|
+
type SkeletonProps = SkeletonProps$1;
|
15
|
+
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps$1 & react.RefAttributes<HTMLDivElement>>;
|
16
|
+
|
17
|
+
export { Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps };
|
@@ -0,0 +1,33 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/skip-nav-link/index.ts
|
22
|
+
var skip_nav_link_exports = {};
|
23
|
+
__export(skip_nav_link_exports, {
|
24
|
+
SkipNavContent: () => import_skip_nav.SkipNavContent,
|
25
|
+
SkipNavLink: () => import_skip_nav.SkipNavLink
|
26
|
+
});
|
27
|
+
module.exports = __toCommonJS(skip_nav_link_exports);
|
28
|
+
var import_skip_nav = require("@chakra-ui/react/skip-nav");
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
30
|
+
0 && (module.exports = {
|
31
|
+
SkipNavContent,
|
32
|
+
SkipNavLink
|
33
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { SkipNavContent, SkipNavContentProps, SkipNavLink, SkipNavLinkProps } from '@chakra-ui/react/skip-nav';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { SkipNavContent, SkipNavContentProps, SkipNavLink, SkipNavLinkProps } from '@chakra-ui/react/skip-nav';
|
@@ -0,0 +1,62 @@
|
|
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/slider/index.ts
|
22
|
+
var slider_exports = {};
|
23
|
+
__export(slider_exports, {
|
24
|
+
Slider: () => Slider
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(slider_exports);
|
27
|
+
|
28
|
+
// src/components/slider/slider.tsx
|
29
|
+
var import_react = require("react");
|
30
|
+
var import_slider = require("@chakra-ui/react/slider");
|
31
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
32
|
+
var Slider = (0, import_react.forwardRef)(
|
33
|
+
function Slider2(props, ref) {
|
34
|
+
var _a;
|
35
|
+
const { marks: marksProp, label, ...rest } = props;
|
36
|
+
const value = (_a = props.defaultValue) != null ? _a : props.value;
|
37
|
+
const marks = marksProp == null ? void 0 : marksProp.map((mark) => {
|
38
|
+
if (typeof mark === "number") return { value: mark, label: void 0 };
|
39
|
+
return mark;
|
40
|
+
});
|
41
|
+
const hasMarkLabel = !!(marks == null ? void 0 : marks.some((mark) => mark.label));
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_slider.Slider.Root, { ref, thumbAlignment: "center", ...rest, children: [
|
43
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Label, { fontWeight: "medium", children: label }),
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_slider.Slider.Control, { mb: hasMarkLabel ? "4" : void 0, children: [
|
45
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Track, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Range, {}) }),
|
46
|
+
value == null ? void 0 : value.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.Thumb, { index, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.HiddenInput, {}) }, index))
|
47
|
+
] }),
|
48
|
+
(marks == null ? void 0 : marks.length) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.MarkerGroup, { children: marks.map((mark, index) => {
|
49
|
+
const value2 = typeof mark === "number" ? mark : mark.value;
|
50
|
+
const label2 = typeof mark === "number" ? void 0 : mark.label;
|
51
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_slider.Slider.Marker, { value: value2, children: [
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_slider.Slider.MarkerIndicator, {}),
|
53
|
+
label2
|
54
|
+
] }, index);
|
55
|
+
}) })
|
56
|
+
] });
|
57
|
+
}
|
58
|
+
);
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
60
|
+
0 && (module.exports = {
|
61
|
+
Slider
|
62
|
+
});
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { Slider as Slider$1 } from '@chakra-ui/react/slider';
|
3
|
+
|
4
|
+
interface SliderProps extends Slider$1.RootProps {
|
5
|
+
marks?: Array<number | {
|
6
|
+
value: number;
|
7
|
+
label: React.ReactNode;
|
8
|
+
}>;
|
9
|
+
label?: React.ReactNode;
|
10
|
+
}
|
11
|
+
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
+
|
13
|
+
export { Slider, type SliderProps };
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { Slider as Slider$1 } from '@chakra-ui/react/slider';
|
3
|
+
|
4
|
+
interface SliderProps extends Slider$1.RootProps {
|
5
|
+
marks?: Array<number | {
|
6
|
+
value: number;
|
7
|
+
label: React.ReactNode;
|
8
|
+
}>;
|
9
|
+
label?: React.ReactNode;
|
10
|
+
}
|
11
|
+
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
+
|
13
|
+
export { Slider, type SliderProps };
|
@@ -27,7 +27,7 @@ module.exports = __toCommonJS(spinner_exports);
|
|
27
27
|
|
28
28
|
// src/components/spinner/spinner.tsx
|
29
29
|
var import_react = require("react");
|
30
|
-
var
|
30
|
+
var import_spinner = require("@chakra-ui/react/spinner");
|
31
31
|
var import_jsx_runtime = require("react/jsx-runtime");
|
32
32
|
var Spinner = (0, import_react.forwardRef)(
|
33
33
|
function Spinner2(props, ref) {
|
@@ -35,7 +35,7 @@ var Spinner = (0, import_react.forwardRef)(
|
|
35
35
|
if (loading === false) {
|
36
36
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
37
37
|
}
|
38
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { ref, ...rest });
|
39
39
|
}
|
40
40
|
);
|
41
41
|
// Annotate the CommonJS export names for ESM import in node:
|
@@ -0,0 +1,83 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __create = Object.create;
|
4
|
+
var __defProp = Object.defineProperty;
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
9
|
+
var __export = (target, all) => {
|
10
|
+
for (var name in all)
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
12
|
+
};
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
15
|
+
for (let key of __getOwnPropNames(from))
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
18
|
+
}
|
19
|
+
return to;
|
20
|
+
};
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
+
mod
|
28
|
+
));
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
+
|
31
|
+
// src/components/stat/index.ts
|
32
|
+
var stat_exports2 = {};
|
33
|
+
__export(stat_exports2, {
|
34
|
+
Stat: () => stat_exports
|
35
|
+
});
|
36
|
+
module.exports = __toCommonJS(stat_exports2);
|
37
|
+
|
38
|
+
// src/components/stat/stat.tsx
|
39
|
+
var stat_exports = {};
|
40
|
+
__export(stat_exports, {
|
41
|
+
DownTrend: () => StatDownTrend,
|
42
|
+
HelpText: () => HelpText,
|
43
|
+
Label: () => Label,
|
44
|
+
Root: () => Root,
|
45
|
+
UpTrend: () => StatUpTrend,
|
46
|
+
ValueText: () => StatValueText,
|
47
|
+
ValueUnit: () => ValueUnit
|
48
|
+
});
|
49
|
+
var React = __toESM(require("react"), 1);
|
50
|
+
var import_badge = require("@chakra-ui/react/badge");
|
51
|
+
var import_format = require("@chakra-ui/react/format");
|
52
|
+
var import_stat = require("@chakra-ui/react/stat");
|
53
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
54
|
+
var StatValueText = React.forwardRef(
|
55
|
+
function StatValueText2(props, ref) {
|
56
|
+
const { value, formatOptions, children, ...rest } = props;
|
57
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_stat.Stat.ValueText, { ...rest, ref, children: children || value != null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_format.FormatNumber, { value, ...formatOptions }) });
|
58
|
+
}
|
59
|
+
);
|
60
|
+
var StatUpTrend = React.forwardRef(
|
61
|
+
function StatUpTrend2(props, ref) {
|
62
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_badge.Badge, { colorPalette: "green", gap: "0", ...props, ref, children: [
|
63
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_stat.Stat.UpIndicator, {}),
|
64
|
+
props.children
|
65
|
+
] });
|
66
|
+
}
|
67
|
+
);
|
68
|
+
var StatDownTrend = React.forwardRef(
|
69
|
+
function StatDownTrend2(props, ref) {
|
70
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_badge.Badge, { colorPalette: "red", gap: "0", ...props, ref, children: [
|
71
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_stat.Stat.DownIndicator, {}),
|
72
|
+
props.children
|
73
|
+
] });
|
74
|
+
}
|
75
|
+
);
|
76
|
+
var Root = import_stat.Stat.Root;
|
77
|
+
var Label = import_stat.Stat.Label;
|
78
|
+
var HelpText = import_stat.Stat.HelpText;
|
79
|
+
var ValueUnit = import_stat.Stat.ValueUnit;
|
80
|
+
// Annotate the CommonJS export names for ESM import in node:
|
81
|
+
0 && (module.exports = {
|
82
|
+
Stat
|
83
|
+
});
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { BadgeProps } from '@chakra-ui/react/badge';
|
3
|
+
import { Stat } from '@chakra-ui/react/stat';
|
4
|
+
|
5
|
+
interface StatValueTextProps extends Stat.ValueTextProps {
|
6
|
+
value?: number;
|
7
|
+
formatOptions?: Intl.NumberFormatOptions;
|
8
|
+
}
|
9
|
+
declare const StatValueText: react.ForwardRefExoticComponent<StatValueTextProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
+
declare const StatUpTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
+
declare const StatDownTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
+
declare const Root: react.ForwardRefExoticComponent<Stat.RootProps & react.RefAttributes<HTMLDListElement>>;
|
13
|
+
declare const Label: react.ForwardRefExoticComponent<Stat.LabelProps & react.RefAttributes<HTMLElement>>;
|
14
|
+
declare const HelpText: react.ForwardRefExoticComponent<Stat.HelpTextProps & react.RefAttributes<HTMLElement>>;
|
15
|
+
declare const ValueUnit: react.ForwardRefExoticComponent<Stat.ValueUnitProps & react.RefAttributes<HTMLElement>>;
|
16
|
+
type RootProps = Stat.RootProps;
|
17
|
+
type ValueTextProps = StatValueTextProps;
|
18
|
+
|
19
|
+
declare const stat_HelpText: typeof HelpText;
|
20
|
+
declare const stat_Label: typeof Label;
|
21
|
+
declare const stat_Root: typeof Root;
|
22
|
+
type stat_RootProps = RootProps;
|
23
|
+
type stat_ValueTextProps = ValueTextProps;
|
24
|
+
declare const stat_ValueUnit: typeof ValueUnit;
|
25
|
+
declare namespace stat {
|
26
|
+
export { StatDownTrend as DownTrend, stat_HelpText as HelpText, stat_Label as Label, stat_Root as Root, type stat_RootProps as RootProps, StatUpTrend as UpTrend, StatValueText as ValueText, type stat_ValueTextProps as ValueTextProps, stat_ValueUnit as ValueUnit };
|
27
|
+
}
|
28
|
+
|
29
|
+
export { stat as Stat };
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { BadgeProps } from '@chakra-ui/react/badge';
|
3
|
+
import { Stat } from '@chakra-ui/react/stat';
|
4
|
+
|
5
|
+
interface StatValueTextProps extends Stat.ValueTextProps {
|
6
|
+
value?: number;
|
7
|
+
formatOptions?: Intl.NumberFormatOptions;
|
8
|
+
}
|
9
|
+
declare const StatValueText: react.ForwardRefExoticComponent<StatValueTextProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
+
declare const StatUpTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
+
declare const StatDownTrend: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
+
declare const Root: react.ForwardRefExoticComponent<Stat.RootProps & react.RefAttributes<HTMLDListElement>>;
|
13
|
+
declare const Label: react.ForwardRefExoticComponent<Stat.LabelProps & react.RefAttributes<HTMLElement>>;
|
14
|
+
declare const HelpText: react.ForwardRefExoticComponent<Stat.HelpTextProps & react.RefAttributes<HTMLElement>>;
|
15
|
+
declare const ValueUnit: react.ForwardRefExoticComponent<Stat.ValueUnitProps & react.RefAttributes<HTMLElement>>;
|
16
|
+
type RootProps = Stat.RootProps;
|
17
|
+
type ValueTextProps = StatValueTextProps;
|
18
|
+
|
19
|
+
declare const stat_HelpText: typeof HelpText;
|
20
|
+
declare const stat_Label: typeof Label;
|
21
|
+
declare const stat_Root: typeof Root;
|
22
|
+
type stat_RootProps = RootProps;
|
23
|
+
type stat_ValueTextProps = ValueTextProps;
|
24
|
+
declare const stat_ValueUnit: typeof ValueUnit;
|
25
|
+
declare namespace stat {
|
26
|
+
export { StatDownTrend as DownTrend, stat_HelpText as HelpText, stat_Label as Label, stat_Root as Root, type stat_RootProps as RootProps, StatUpTrend as UpTrend, StatValueText as ValueText, type stat_ValueTextProps as ValueTextProps, stat_ValueUnit as ValueUnit };
|
27
|
+
}
|
28
|
+
|
29
|
+
export { stat as Stat };
|