@saas-ui/react 3.0.0-alpha.9 → 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 +215 -38
- 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-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-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-TZBAM4AD.js → chunk-SXFVA6CX.js} +1 -1
- 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 +1 -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/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 +4112 -2663
- package/dist/index.d.cts +89 -6
- package/dist/index.d.ts +89 -6
- package/dist/index.js +2684 -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
package/CHANGELOG.md
CHANGED
@@ -1,92 +1,269 @@
|
|
1
1
|
# @saas-ui/react
|
2
2
|
|
3
|
-
## 3.0.0-
|
3
|
+
## 3.0.0-next.0
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- 550e5a6: Upgrade to Chakra v3
|
8
|
+
- 8e760c5: Added new wide gammut color tokens
|
4
9
|
|
5
10
|
### Minor Changes
|
6
11
|
|
12
|
+
- e9fec88: Added toaster and menu components
|
13
|
+
- 8d8ffaa: Translucency and backdrop effect of overlay elements can now be configured
|
14
|
+
- c680574: Added Status component
|
15
|
+
- f62c3d6: Export all components from root barrel file
|
16
|
+
- f85d493: Added Sidebar.Context component that allows you to access sidebar context using a render prop
|
17
|
+
- a2ef175: Added Pagination component
|
18
|
+
- eb02362: Improved GridList recipe
|
19
|
+
- f85d493: Sidebar mode can now be controlled using the sidebar context
|
20
|
+
- c680574: Added Badge and Tag components
|
21
|
+
- 95c8652: Update to Chakra UI 3.2.1
|
22
|
+
- ac2d80d: Improved toaster styles and allow setting global defaults
|
23
|
+
- 15e093e: Added new components, Accordion, Alert, Checkbox, HoverCard
|
24
|
+
- 8d8ffaa: Added FileUpload component
|
25
|
+
- 6459de4: Removed src exports and files from packages
|
26
|
+
- 8d8ffaa: Added Popover component
|
27
|
+
- 8d8ffaa: Added semantic tokens and scales for control, panel and indicator
|
7
28
|
- f0f5ab0: Improve Navbar composition
|
8
29
|
|
9
|
-
## 3.0.0-alpha.8
|
10
|
-
|
11
30
|
### Patch Changes
|
12
31
|
|
32
|
+
- ba3b566: Improved Sidebar contrast
|
33
|
+
- 2285040: Improved avatar and persona sizes
|
13
34
|
- 64e680e: Update default button colorPalette to gray
|
35
|
+
- 53716c5: Fixed GridList prop forwarding
|
36
|
+
- 5115e8f: Improved text selection color contrast
|
37
|
+
- 212a7e6: Add missing focusRing semantic tokens
|
38
|
+
- 38082d4: Improved horizontal field styles
|
39
|
+
- c680574: Changed default Button variant to surface
|
40
|
+
- 942e9a0: Improved SidebarNavItem positioning
|
41
|
+
- 8d8ffaa: Added ghost variant to tabs recipe
|
42
|
+
- 53716c5: Fixed issue where Button colorPalette could not be changed using the recipe
|
43
|
+
- 205580d: Added option to customize the Command modifiers
|
44
|
+
- 7808a76: Restructure slot components and add ui namespaces to recipes
|
45
|
+
- e7fe684: Export Pagination Context component
|
46
|
+
- c680574: Rename Drawer and Dialog CloseTrigger to CloseButton
|
47
|
+
- b51aff9: Improved form components recipes sizing
|
48
|
+
- 212a7e6: Improved yellow color tokens
|
49
|
+
- ce8c247: Inputs now use semanti radii tokens
|
50
|
+
- 19309d4: Improved Sidebar recipe with beter balance and added --sidebar-item-icon-color variable
|
51
|
+
- ce8c247: SegmentGroup now use semantic radii tokens
|
52
|
+
- ce8c247: Forward ref to LoadingOverlay.Root
|
53
|
+
- c680574: Improved Button glass variant hover color
|
54
|
+
- ba3b566: Improved focusRing styles
|
55
|
+
- 6a8bf46: Decreased default overlay translucency
|
56
|
+
- 0067207: Fixed issue where paddingStart would not apply to grouped inputs
|
57
|
+
- b51aff9: Fixed passing menu button props to button component
|
58
|
+
- 205580d: Added size variant to Command
|
59
|
+
- ba3b566: Added SegmentControl stories and made sizing consistent with buttons
|
60
|
+
- 56b0623: Update with upstream changes
|
61
|
+
- 6a8bf46: Fix dialog backdrop z-index
|
62
|
+
- c680574: Improved semantic grays and shadows balance
|
63
|
+
- 8ac704a: Improved tag recipe and support status component.
|
64
|
+
- 6f9f04d: Fixed issue where Sidebar mode could not be controlled
|
65
|
+
- eb02362: Add missing PaginationPageTextProps export
|
66
|
+
- 56b0623: Fixed issue where backdrop would render on top of dialog and drawer
|
67
|
+
- c51e12c: Improved radii tokens
|
68
|
+
- 0067207: Added 4.5 spacing
|
69
|
+
- 65fac53: Fixed semantic token inconsistencies
|
70
|
+
- 61ce1b5: Fixed sidebar item end element positioning
|
71
|
+
- 3a73bc8: Fixed incorrect props type for GridListRoot
|
72
|
+
- 9d47676: Improved tabs recipe, new pills variant and xs size
|
14
73
|
- 64e680e: Export Menu.Context
|
74
|
+
- 2285040: No longer showing presence badge if no presence is set
|
75
|
+
- ba3b566: Sidebar.Button now renders a div with role="button"
|
76
|
+
- 19309d4: Improved font size balance
|
77
|
+
- 727b902: Allow click event on Sidebar.Track to be prevented
|
78
|
+
- Updated dependencies [f85d493]
|
79
|
+
- Updated dependencies [f85d493]
|
80
|
+
- Updated dependencies [550e5a6]
|
81
|
+
- Updated dependencies [95c8652]
|
82
|
+
- Updated dependencies [eb02362]
|
83
|
+
- Updated dependencies [cee2e9c]
|
84
|
+
- Updated dependencies [6f9f04d]
|
85
|
+
- Updated dependencies [6459de4]
|
86
|
+
- Updated dependencies [0f49a18]
|
87
|
+
- @saas-ui/core@3.0.0-next.0
|
88
|
+
- @saas-ui/hooks@3.0.0-next.0
|
15
89
|
|
16
|
-
##
|
90
|
+
## 2.11.4
|
17
91
|
|
18
|
-
###
|
92
|
+
### Patch Changes
|
19
93
|
|
20
|
-
-
|
94
|
+
- Updated dependencies [091fd38]
|
95
|
+
- @saas-ui/forms@2.11.0
|
96
|
+
- @saas-ui/modals@2.4.4
|
97
|
+
- @saas-ui/data-table@13.0.4
|
21
98
|
|
22
|
-
##
|
99
|
+
## 2.11.3
|
23
100
|
|
24
|
-
###
|
101
|
+
### Patch Changes
|
25
102
|
|
26
|
-
-
|
103
|
+
- Updated dependencies [eb53116]
|
104
|
+
- @saas-ui/forms@2.10.0
|
105
|
+
- @saas-ui/modals@2.4.3
|
106
|
+
- @saas-ui/data-table@13.0.3
|
107
|
+
|
108
|
+
## 2.11.2
|
27
109
|
|
28
110
|
### Patch Changes
|
29
111
|
|
30
|
-
-
|
31
|
-
|
32
|
-
- @saas-ui/
|
112
|
+
- 862937a: Bump chakra version
|
113
|
+
- Updated dependencies [862937a]
|
114
|
+
- @saas-ui/data-table@13.0.2
|
115
|
+
- @saas-ui/nprogress@2.2.1
|
116
|
+
- @saas-ui/hotkeys@2.5.1
|
117
|
+
- @saas-ui/modals@2.4.2
|
118
|
+
- @saas-ui/forms@2.9.1
|
119
|
+
- @saas-ui/theme@2.6.1
|
120
|
+
- @saas-ui/core@2.8.1
|
33
121
|
|
34
|
-
##
|
122
|
+
## 2.11.1
|
123
|
+
|
124
|
+
### Patch Changes
|
125
|
+
|
126
|
+
- Updated dependencies [a69829a]
|
127
|
+
- @saas-ui/hooks@2.3.0
|
128
|
+
- @saas-ui/modals@2.4.1
|
129
|
+
- @saas-ui/data-table@13.0.1
|
130
|
+
|
131
|
+
## 2.11.0
|
35
132
|
|
36
133
|
### Minor Changes
|
37
134
|
|
38
|
-
-
|
39
|
-
|
135
|
+
- 803ede7: Updated Chakra UI version range to >=2.9.0 <3
|
136
|
+
|
137
|
+
### Patch Changes
|
40
138
|
|
41
|
-
|
139
|
+
- Updated dependencies [803ede7]
|
140
|
+
- @saas-ui/data-table@13.0.0
|
141
|
+
- @saas-ui/nprogress@2.2.0
|
142
|
+
- @saas-ui/hotkeys@2.5.0
|
143
|
+
- @saas-ui/modals@2.4.0
|
144
|
+
- @saas-ui/forms@2.9.0
|
145
|
+
- @saas-ui/hooks@2.2.0
|
146
|
+
- @saas-ui/theme@2.6.0
|
147
|
+
- @saas-ui/core@2.8.0
|
148
|
+
|
149
|
+
## 2.10.5
|
42
150
|
|
43
151
|
### Patch Changes
|
44
152
|
|
45
|
-
-
|
153
|
+
- c9daf50: Fixed issue where link component prop would not be passed to NavItem
|
154
|
+
- Updated dependencies [c9daf50]
|
155
|
+
- @saas-ui/core@2.7.2
|
156
|
+
- @saas-ui/data-table@12.0.5
|
157
|
+
- @saas-ui/forms@2.8.2
|
158
|
+
- @saas-ui/hotkeys@2.4.2
|
159
|
+
- @saas-ui/modals@2.3.5
|
46
160
|
|
47
|
-
##
|
161
|
+
## 2.10.4
|
48
162
|
|
49
163
|
### Patch Changes
|
50
164
|
|
51
|
-
- Updated
|
52
|
-
|
53
|
-
- @saas-ui/
|
165
|
+
- a863a5e: Updated package type to fix next 15 support
|
166
|
+
- Updated dependencies [a863a5e]
|
167
|
+
- @saas-ui/modals@2.3.4
|
168
|
+
- @saas-ui/data-table@12.0.4
|
169
|
+
|
170
|
+
## 2.10.3
|
171
|
+
|
172
|
+
### Patch Changes
|
173
|
+
|
174
|
+
- Updated dependencies
|
175
|
+
- @saas-ui/modals@2.3.3
|
176
|
+
- @saas-ui/data-table@12.0.3
|
177
|
+
|
178
|
+
## 2.10.2
|
179
|
+
|
180
|
+
### Patch Changes
|
181
|
+
|
182
|
+
- 7669720: Fixed publint issues
|
183
|
+
- Updated dependencies [7669720]
|
184
|
+
- @saas-ui/modals@2.3.2
|
185
|
+
- @saas-ui/data-table@12.0.2
|
186
|
+
|
187
|
+
## 2.10.1
|
188
|
+
|
189
|
+
### Patch Changes
|
54
190
|
|
55
|
-
|
191
|
+
- 5e24ec4: Fixed issue where as prop on NavItem would always be overruled by internal Link prop if href is passed
|
192
|
+
- Updated dependencies [5e24ec4]
|
193
|
+
- @saas-ui/core@2.7.1
|
194
|
+
- @saas-ui/data-table@12.0.1
|
195
|
+
- @saas-ui/forms@2.8.1
|
196
|
+
- @saas-ui/hotkeys@2.4.1
|
197
|
+
- @saas-ui/modals@2.3.1
|
198
|
+
|
199
|
+
## 2.10.0
|
56
200
|
|
57
201
|
### Minor Changes
|
58
202
|
|
59
|
-
-
|
203
|
+
- fc799df: Removed deprecated Chakra UI dependency
|
60
204
|
|
61
205
|
### Patch Changes
|
62
206
|
|
63
|
-
- Updated dependencies [
|
64
|
-
- @saas-ui/
|
65
|
-
- @saas-ui/
|
207
|
+
- Updated dependencies [fc799df]
|
208
|
+
- @saas-ui/hotkeys@2.4.0
|
209
|
+
- @saas-ui/modals@2.3.0
|
210
|
+
- @saas-ui/forms@2.8.0
|
211
|
+
- @saas-ui/core@2.7.0
|
212
|
+
- @saas-ui/data-table@12.0.0
|
66
213
|
|
67
|
-
##
|
214
|
+
## 2.9.1
|
68
215
|
|
69
|
-
###
|
216
|
+
### Patch Changes
|
70
217
|
|
71
|
-
-
|
218
|
+
- f0ee3db: Updated to Chakra 2.10
|
219
|
+
- Updated dependencies [f0ee3db]
|
220
|
+
- @saas-ui/data-table@11.0.1
|
221
|
+
- @saas-ui/nprogress@2.1.1
|
222
|
+
- @saas-ui/hotkeys@2.3.1
|
223
|
+
- @saas-ui/modals@2.2.1
|
224
|
+
- @saas-ui/forms@2.7.1
|
225
|
+
- @saas-ui/theme@2.5.1
|
226
|
+
- @saas-ui/core@2.6.1
|
227
|
+
|
228
|
+
## 2.9.0
|
229
|
+
|
230
|
+
### Minor Changes
|
231
|
+
|
232
|
+
- 2ac496a: Upgraded to Chakra UI v2.9.3
|
72
233
|
|
73
234
|
### Patch Changes
|
74
235
|
|
75
|
-
- Updated dependencies [
|
76
|
-
- @saas-ui/
|
77
|
-
- @saas-ui/
|
236
|
+
- Updated dependencies [2ac496a]
|
237
|
+
- @saas-ui/data-table@11.0.0
|
238
|
+
- @saas-ui/nprogress@2.1.0
|
239
|
+
- @saas-ui/hotkeys@2.3.0
|
240
|
+
- @saas-ui/modals@2.2.0
|
241
|
+
- @saas-ui/forms@2.7.0
|
242
|
+
- @saas-ui/hooks@2.1.0
|
243
|
+
- @saas-ui/theme@2.5.0
|
244
|
+
- @saas-ui/core@2.6.0
|
78
245
|
|
79
|
-
##
|
246
|
+
## 2.8.11
|
80
247
|
|
81
|
-
###
|
248
|
+
### Patch Changes
|
249
|
+
|
250
|
+
- 5e000e0: Removed background color from loading overlay fill variant
|
251
|
+
- Updated dependencies [5e000e0]
|
252
|
+
- @saas-ui/theme@2.4.2
|
253
|
+
- @saas-ui/core@2.5.6
|
254
|
+
- @saas-ui/data-table@10.0.11
|
255
|
+
- @saas-ui/forms@2.6.11
|
256
|
+
- @saas-ui/hotkeys@2.2.14
|
257
|
+
- @saas-ui/modals@2.1.41
|
82
258
|
|
83
|
-
|
259
|
+
## 2.8.10
|
84
260
|
|
85
261
|
### Patch Changes
|
86
262
|
|
87
|
-
- Updated dependencies
|
88
|
-
- @saas-ui/
|
89
|
-
- @saas-ui/
|
263
|
+
- Updated dependencies [fc2203a]
|
264
|
+
- @saas-ui/forms@2.6.10
|
265
|
+
- @saas-ui/modals@2.1.40
|
266
|
+
- @saas-ui/data-table@10.0.10
|
90
267
|
|
91
268
|
## 2.8.9
|
92
269
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
CheckIcon
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-4XB7B73X.js";
|
5
5
|
import {
|
6
6
|
__export
|
7
7
|
} from "./chunk-RTMS5TJN.js";
|
@@ -16,9 +16,11 @@ __export(steps_exports, {
|
|
16
16
|
List: () => StepsList,
|
17
17
|
NextTrigger: () => StepsNextTrigger,
|
18
18
|
PrevTrigger: () => StepsPrevTrigger,
|
19
|
-
Root: () => StepsRoot
|
19
|
+
Root: () => StepsRoot,
|
20
|
+
useContext: () => useStepsContext
|
20
21
|
});
|
21
|
-
import { Box
|
22
|
+
import { Box } from "@chakra-ui/react/box";
|
23
|
+
import { Steps as ChakraSteps, useStepsContext } from "@chakra-ui/react/steps";
|
22
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
23
25
|
var StepsItem = (props) => {
|
24
26
|
const { title, description, completedIcon, icon, ...rest } = props;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
CloseButton
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-H7KPEI6P.js";
|
5
5
|
import {
|
6
6
|
__export
|
7
7
|
} from "./chunk-RTMS5TJN.js";
|
@@ -21,7 +21,8 @@ __export(namespace_exports, {
|
|
21
21
|
|
22
22
|
// src/components/select/select.tsx
|
23
23
|
import { forwardRef } from "react";
|
24
|
-
import { Portal
|
24
|
+
import { Portal } from "@chakra-ui/react/portal";
|
25
|
+
import { Select as SelectPrimitive } from "@chakra-ui/react/select";
|
25
26
|
import { jsx, jsxs } from "react/jsx-runtime";
|
26
27
|
var SelectTrigger = forwardRef(
|
27
28
|
function SelectTrigger2(props, ref) {
|
@@ -0,0 +1,60 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
Input
|
4
|
+
} from "./chunk-5MTFSSOH.js";
|
5
|
+
import {
|
6
|
+
IconButton
|
7
|
+
} from "./chunk-OJZPPAT6.js";
|
8
|
+
import {
|
9
|
+
Button
|
10
|
+
} from "./chunk-5HVAMQYO.js";
|
11
|
+
import {
|
12
|
+
CheckIcon,
|
13
|
+
CopyIcon
|
14
|
+
} from "./chunk-4XB7B73X.js";
|
15
|
+
import {
|
16
|
+
__export
|
17
|
+
} from "./chunk-RTMS5TJN.js";
|
18
|
+
|
19
|
+
// src/components/clipboard/clipboard.tsx
|
20
|
+
var clipboard_exports = {};
|
21
|
+
__export(clipboard_exports, {
|
22
|
+
Button: () => ClipboardButton,
|
23
|
+
IconButton: () => ClipboardIconButton,
|
24
|
+
Input: () => ClipboardInput,
|
25
|
+
Label: () => ClipboardLabel,
|
26
|
+
Root: () => ClipboardRoot
|
27
|
+
});
|
28
|
+
import * as React from "react";
|
29
|
+
import { Clipboard as ChakraClipboard } from "@chakra-ui/react/clipboard";
|
30
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
31
|
+
var ClipboardIcon = React.forwardRef(function ClipboardIndicator(props, ref) {
|
32
|
+
const { children = /* @__PURE__ */ jsx(CopyIcon, {}), copied = /* @__PURE__ */ jsx(CheckIcon, {}), ...rest } = props;
|
33
|
+
return /* @__PURE__ */ jsx(ChakraClipboard.Indicator, { copied, ...rest, ref, children });
|
34
|
+
});
|
35
|
+
var ClipboardCopyText = React.forwardRef(function ClipboardCopyText2(props, ref) {
|
36
|
+
const { children = "Copy", copied = "Copied", ...rest } = props;
|
37
|
+
return /* @__PURE__ */ jsx(ChakraClipboard.Indicator, { copied, ...rest, ref, children });
|
38
|
+
});
|
39
|
+
var ClipboardButton = React.forwardRef(function ClipboardButton2(props, ref) {
|
40
|
+
const { icon, copiedIcon, copied, children, ...rest } = props;
|
41
|
+
return /* @__PURE__ */ jsx(ChakraClipboard.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs(Button, { ref, ...rest, children: [
|
42
|
+
/* @__PURE__ */ jsx(ClipboardIcon, { copied: copiedIcon, children: icon }),
|
43
|
+
/* @__PURE__ */ jsx(ClipboardCopyText, { copied, children })
|
44
|
+
] }) });
|
45
|
+
});
|
46
|
+
var ClipboardIconButton = React.forwardRef(function ClipboardIconButton2(props, ref) {
|
47
|
+
const { icon, copiedIcon, ...rest } = props;
|
48
|
+
return /* @__PURE__ */ jsx(ChakraClipboard.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { ref, size: "xs", ...rest, children: /* @__PURE__ */ jsx(ClipboardIcon, { copied: copiedIcon, children: icon }) }) });
|
49
|
+
});
|
50
|
+
var ClipboardInput = React.forwardRef(
|
51
|
+
function ClipboardInputElement(props, ref) {
|
52
|
+
return /* @__PURE__ */ jsx(ChakraClipboard.Input, { asChild: true, children: /* @__PURE__ */ jsx(Input, { ref, ...props }) });
|
53
|
+
}
|
54
|
+
);
|
55
|
+
var ClipboardRoot = ChakraClipboard.Root;
|
56
|
+
var ClipboardLabel = ChakraClipboard.Label;
|
57
|
+
|
58
|
+
export {
|
59
|
+
clipboard_exports
|
60
|
+
};
|
@@ -141,9 +141,9 @@ var colors = defineTokens.colors({
|
|
141
141
|
50: { value: "oklch(0.987 0.026 102.212)" },
|
142
142
|
100: { value: "oklch(0.973 0.071 103.193)" },
|
143
143
|
200: { value: "oklch(0.945 0.129 101.54)" },
|
144
|
-
300: { value: "oklch(0.
|
145
|
-
400: { value: "oklch(0.
|
146
|
-
500: { value: "oklch(0.795 0.
|
144
|
+
300: { value: "oklch(0.897 0.182 98.111)" },
|
145
|
+
400: { value: "oklch(0.854 0.184 96.404)" },
|
146
|
+
500: { value: "oklch(0.795 0.180 86.047)" },
|
147
147
|
600: { value: "oklch(0.681 0.162 75.834)" },
|
148
148
|
700: { value: "oklch(0.554 0.135 66.442)" },
|
149
149
|
800: { value: "oklch(0.476 0.114 61.907)" },
|
@@ -0,0 +1,51 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
__export
|
4
|
+
} from "./chunk-RTMS5TJN.js";
|
5
|
+
|
6
|
+
// src/components/stat/stat.tsx
|
7
|
+
var stat_exports = {};
|
8
|
+
__export(stat_exports, {
|
9
|
+
DownTrend: () => StatDownTrend,
|
10
|
+
HelpText: () => HelpText,
|
11
|
+
Label: () => Label,
|
12
|
+
Root: () => Root,
|
13
|
+
UpTrend: () => StatUpTrend,
|
14
|
+
ValueText: () => StatValueText,
|
15
|
+
ValueUnit: () => ValueUnit
|
16
|
+
});
|
17
|
+
import * as React from "react";
|
18
|
+
import { Badge } from "@chakra-ui/react/badge";
|
19
|
+
import { FormatNumber } from "@chakra-ui/react/format";
|
20
|
+
import { Stat as ChakraStat } from "@chakra-ui/react/stat";
|
21
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
22
|
+
var StatValueText = React.forwardRef(
|
23
|
+
function StatValueText2(props, ref) {
|
24
|
+
const { value, formatOptions, children, ...rest } = props;
|
25
|
+
return /* @__PURE__ */ jsx(ChakraStat.ValueText, { ...rest, ref, children: children || value != null && /* @__PURE__ */ jsx(FormatNumber, { value, ...formatOptions }) });
|
26
|
+
}
|
27
|
+
);
|
28
|
+
var StatUpTrend = React.forwardRef(
|
29
|
+
function StatUpTrend2(props, ref) {
|
30
|
+
return /* @__PURE__ */ jsxs(Badge, { colorPalette: "green", gap: "0", ...props, ref, children: [
|
31
|
+
/* @__PURE__ */ jsx(ChakraStat.UpIndicator, {}),
|
32
|
+
props.children
|
33
|
+
] });
|
34
|
+
}
|
35
|
+
);
|
36
|
+
var StatDownTrend = React.forwardRef(
|
37
|
+
function StatDownTrend2(props, ref) {
|
38
|
+
return /* @__PURE__ */ jsxs(Badge, { colorPalette: "red", gap: "0", ...props, ref, children: [
|
39
|
+
/* @__PURE__ */ jsx(ChakraStat.DownIndicator, {}),
|
40
|
+
props.children
|
41
|
+
] });
|
42
|
+
}
|
43
|
+
);
|
44
|
+
var Root = ChakraStat.Root;
|
45
|
+
var Label = ChakraStat.Label;
|
46
|
+
var HelpText = ChakraStat.HelpText;
|
47
|
+
var ValueUnit = ChakraStat.ValueUnit;
|
48
|
+
|
49
|
+
export {
|
50
|
+
stat_exports
|
51
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
'use client'
|
2
2
|
|
3
3
|
// src/components/icons/create-icon.tsx
|
4
|
-
import { createIcon as _createIcon } from "@chakra-ui/react";
|
4
|
+
import { createIcon as _createIcon } from "@chakra-ui/react/icon";
|
5
5
|
var createIcon = (props) => {
|
6
6
|
return _createIcon({
|
7
7
|
viewBox: "0 0 24 24",
|
@@ -98,6 +98,29 @@ var CheckIcon = createIcon({
|
|
98
98
|
displayName: "CheckIcon",
|
99
99
|
path: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" }) })
|
100
100
|
});
|
101
|
+
var EllipsisIcon = createIcon({
|
102
|
+
displayName: "EllipsisIcon",
|
103
|
+
path: /* @__PURE__ */ jsxs("g", { children: [
|
104
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
105
|
+
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "12", r: "1" }),
|
106
|
+
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "12", r: "1" })
|
107
|
+
] })
|
108
|
+
});
|
109
|
+
var CopyIcon = createIcon({
|
110
|
+
displayName: "CopyIcon",
|
111
|
+
path: /* @__PURE__ */ jsxs("g", { children: [
|
112
|
+
/* @__PURE__ */ jsx("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
113
|
+
/* @__PURE__ */ jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
114
|
+
] })
|
115
|
+
});
|
116
|
+
var InfoIcon = createIcon({
|
117
|
+
displayName: "InfoIcon",
|
118
|
+
path: /* @__PURE__ */ jsxs("g", { children: [
|
119
|
+
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
120
|
+
/* @__PURE__ */ jsx("path", { d: "M12 16v-4" }),
|
121
|
+
/* @__PURE__ */ jsx("path", { d: "M12 8h.01" })
|
122
|
+
] })
|
123
|
+
});
|
101
124
|
|
102
125
|
export {
|
103
126
|
ChevronUpIcon,
|
@@ -113,5 +136,8 @@ export {
|
|
113
136
|
ViewOffIcon,
|
114
137
|
ViewIcon,
|
115
138
|
SearchIcon,
|
116
|
-
CheckIcon
|
139
|
+
CheckIcon,
|
140
|
+
EllipsisIcon,
|
141
|
+
CopyIcon,
|
142
|
+
InfoIcon
|
117
143
|
};
|
@@ -1,32 +1,35 @@
|
|
1
1
|
'use client'
|
2
|
+
import {
|
3
|
+
Kbd
|
4
|
+
} from "./chunk-OQU4LWZW.js";
|
2
5
|
|
3
6
|
// src/components/command/command.tsx
|
4
|
-
import { Kbd } from "@chakra-ui/react";
|
5
7
|
import {
|
6
8
|
createRecipeContext
|
7
|
-
} from "@chakra-ui/react";
|
9
|
+
} from "@chakra-ui/react/styled-system";
|
8
10
|
import { Fragment, jsx } from "react/jsx-runtime";
|
9
11
|
var { withContext } = createRecipeContext({
|
10
12
|
key: "suiCommand"
|
11
13
|
});
|
12
|
-
var
|
14
|
+
var Command = (props) => {
|
15
|
+
const { children, modifiers, ...rest } = props;
|
13
16
|
if (typeof children !== "string") {
|
14
17
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
15
18
|
}
|
16
|
-
|
17
|
-
|
18
|
-
}
|
19
|
-
return /* @__PURE__ */ jsx(Kbd, { children });
|
19
|
+
const keys = children.split(/\s|\+/);
|
20
|
+
return /* @__PURE__ */ jsx(StyledCommand, { ...rest, children: keys.map((key) => /* @__PURE__ */ jsx(Key, { modifiers, size: props.size, children: key }, key)) });
|
20
21
|
};
|
21
|
-
var
|
22
|
-
|
22
|
+
var StyledCommand = withContext("span");
|
23
|
+
var Key = (props) => {
|
24
|
+
const { modifiers = ["then", "or", "+"], children, ...rest } = props;
|
23
25
|
if (typeof children !== "string") {
|
24
26
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
25
27
|
}
|
26
|
-
|
27
|
-
|
28
|
+
if (modifiers.includes(children)) {
|
29
|
+
return /* @__PURE__ */ jsx("span", { children });
|
30
|
+
}
|
31
|
+
return /* @__PURE__ */ jsx(Kbd, { ...rest, children });
|
28
32
|
};
|
29
|
-
var CommandRoot = withContext("span");
|
30
33
|
|
31
34
|
export {
|
32
35
|
Command
|