@saas-ui/react 3.0.0-alpha.9 → 3.0.0-next.1
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 +221 -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
@@ -0,0 +1,75 @@
|
|
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/radio-card/index.ts
|
22
|
+
var radio_card_exports2 = {};
|
23
|
+
__export(radio_card_exports2, {
|
24
|
+
RadioCard: () => radio_card_exports
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(radio_card_exports2);
|
27
|
+
|
28
|
+
// src/components/radio-card/radio-card.tsx
|
29
|
+
var radio_card_exports = {};
|
30
|
+
__export(radio_card_exports, {
|
31
|
+
Item: () => RadioCardItem,
|
32
|
+
ItemIndicator: () => RadioCardItemIndicator,
|
33
|
+
Label: () => RadioCardLabel,
|
34
|
+
Root: () => RadioCardRoot
|
35
|
+
});
|
36
|
+
var import_react = require("react");
|
37
|
+
var import_radio_card = require("@chakra-ui/react/radio-card");
|
38
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
39
|
+
var RadioCardItem = (0, import_react.forwardRef)(
|
40
|
+
function RadioCardItem2(props, ref) {
|
41
|
+
const {
|
42
|
+
inputProps,
|
43
|
+
label,
|
44
|
+
description,
|
45
|
+
addon,
|
46
|
+
icon,
|
47
|
+
indicator = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_radio_card.RadioCard.ItemIndicator, {}),
|
48
|
+
indicatorPlacement = "end",
|
49
|
+
...rest
|
50
|
+
} = props;
|
51
|
+
const hasContent = label || description || icon;
|
52
|
+
const ContentWrapper = indicator ? import_radio_card.RadioCard.ItemContent : import_react.Fragment;
|
53
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_radio_card.RadioCard.Item, { ...rest, children: [
|
54
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_radio_card.RadioCard.ItemHiddenInput, { ref, ...inputProps }),
|
55
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_radio_card.RadioCard.ItemControl, { children: [
|
56
|
+
indicatorPlacement === "start" && indicator,
|
57
|
+
hasContent && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ContentWrapper, { children: [
|
58
|
+
icon,
|
59
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_radio_card.RadioCard.ItemText, { children: label }),
|
60
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_radio_card.RadioCard.ItemDescription, { children: description }),
|
61
|
+
indicatorPlacement === "inside" && indicator
|
62
|
+
] }),
|
63
|
+
indicatorPlacement === "end" && indicator
|
64
|
+
] }),
|
65
|
+
addon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_radio_card.RadioCard.ItemAddon, { children: addon })
|
66
|
+
] });
|
67
|
+
}
|
68
|
+
);
|
69
|
+
var RadioCardRoot = import_radio_card.RadioCard.Root;
|
70
|
+
var RadioCardLabel = import_radio_card.RadioCard.Label;
|
71
|
+
var RadioCardItemIndicator = import_radio_card.RadioCard.ItemIndicator;
|
72
|
+
// Annotate the CommonJS export names for ESM import in node:
|
73
|
+
0 && (module.exports = {
|
74
|
+
RadioCard
|
75
|
+
});
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { RadioCard } from '@chakra-ui/react/radio-card';
|
3
|
+
|
4
|
+
interface RadioCardItemProps extends RadioCard.ItemProps {
|
5
|
+
icon?: React.ReactElement;
|
6
|
+
label?: React.ReactNode;
|
7
|
+
description?: React.ReactNode;
|
8
|
+
addon?: React.ReactNode;
|
9
|
+
indicator?: React.ReactNode | null;
|
10
|
+
indicatorPlacement?: 'start' | 'end' | 'inside';
|
11
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
12
|
+
}
|
13
|
+
declare const RadioCardItem: react.ForwardRefExoticComponent<RadioCardItemProps & react.RefAttributes<HTMLInputElement>>;
|
14
|
+
declare const RadioCardRoot: react.ForwardRefExoticComponent<RadioCard.RootProps & react.RefAttributes<HTMLDivElement>>;
|
15
|
+
declare const RadioCardLabel: react.ForwardRefExoticComponent<RadioCard.LabelProps & react.RefAttributes<HTMLDivElement>>;
|
16
|
+
declare const RadioCardItemIndicator: react.ForwardRefExoticComponent<RadioCard.ItemIndicatorProps & react.RefAttributes<HTMLSpanElement>>;
|
17
|
+
|
18
|
+
type ItemProps = RadioCardItemProps;
|
19
|
+
type RootProps = RadioCard.RootProps;
|
20
|
+
type LabelProps = RadioCard.LabelProps;
|
21
|
+
type ItemIndicatorProps = RadioCard.ItemIndicatorProps;
|
22
|
+
|
23
|
+
type radioCard_ItemIndicatorProps = ItemIndicatorProps;
|
24
|
+
type radioCard_ItemProps = ItemProps;
|
25
|
+
type radioCard_LabelProps = LabelProps;
|
26
|
+
type radioCard_RootProps = RootProps;
|
27
|
+
declare namespace radioCard {
|
28
|
+
export { RadioCardItem as Item, RadioCardItemIndicator as ItemIndicator, type radioCard_ItemIndicatorProps as ItemIndicatorProps, type radioCard_ItemProps as ItemProps, RadioCardLabel as Label, type radioCard_LabelProps as LabelProps, RadioCardRoot as Root, type radioCard_RootProps as RootProps };
|
29
|
+
}
|
30
|
+
|
31
|
+
export { radioCard as RadioCard };
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { RadioCard } from '@chakra-ui/react/radio-card';
|
3
|
+
|
4
|
+
interface RadioCardItemProps extends RadioCard.ItemProps {
|
5
|
+
icon?: React.ReactElement;
|
6
|
+
label?: React.ReactNode;
|
7
|
+
description?: React.ReactNode;
|
8
|
+
addon?: React.ReactNode;
|
9
|
+
indicator?: React.ReactNode | null;
|
10
|
+
indicatorPlacement?: 'start' | 'end' | 'inside';
|
11
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
12
|
+
}
|
13
|
+
declare const RadioCardItem: react.ForwardRefExoticComponent<RadioCardItemProps & react.RefAttributes<HTMLInputElement>>;
|
14
|
+
declare const RadioCardRoot: react.ForwardRefExoticComponent<RadioCard.RootProps & react.RefAttributes<HTMLDivElement>>;
|
15
|
+
declare const RadioCardLabel: react.ForwardRefExoticComponent<RadioCard.LabelProps & react.RefAttributes<HTMLDivElement>>;
|
16
|
+
declare const RadioCardItemIndicator: react.ForwardRefExoticComponent<RadioCard.ItemIndicatorProps & react.RefAttributes<HTMLSpanElement>>;
|
17
|
+
|
18
|
+
type ItemProps = RadioCardItemProps;
|
19
|
+
type RootProps = RadioCard.RootProps;
|
20
|
+
type LabelProps = RadioCard.LabelProps;
|
21
|
+
type ItemIndicatorProps = RadioCard.ItemIndicatorProps;
|
22
|
+
|
23
|
+
type radioCard_ItemIndicatorProps = ItemIndicatorProps;
|
24
|
+
type radioCard_ItemProps = ItemProps;
|
25
|
+
type radioCard_LabelProps = LabelProps;
|
26
|
+
type radioCard_RootProps = RootProps;
|
27
|
+
declare namespace radioCard {
|
28
|
+
export { RadioCardItem as Item, RadioCardItemIndicator as ItemIndicator, type radioCard_ItemIndicatorProps as ItemIndicatorProps, type radioCard_ItemProps as ItemProps, RadioCardLabel as Label, type radioCard_LabelProps as LabelProps, RadioCardRoot as Root, type radioCard_RootProps as RootProps };
|
29
|
+
}
|
30
|
+
|
31
|
+
export { radioCard as RadioCard };
|
@@ -0,0 +1,31 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/rating-group/index.ts
|
22
|
+
var rating_group_exports = {};
|
23
|
+
__export(rating_group_exports, {
|
24
|
+
RatingGroup: () => import_rating_group.RatingGroup
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(rating_group_exports);
|
27
|
+
var import_rating_group = require("@chakra-ui/react/rating-group");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
RatingGroup
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { RatingGroup } from '@chakra-ui/react/rating-group';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { RatingGroup } from '@chakra-ui/react/rating-group';
|
@@ -36,14 +36,14 @@ __export(search_input_exports, {
|
|
36
36
|
module.exports = __toCommonJS(search_input_exports);
|
37
37
|
|
38
38
|
// src/components/search-input/search-input.tsx
|
39
|
-
var
|
40
|
-
var
|
39
|
+
var import_react = __toESM(require("react"), 1);
|
40
|
+
var import_react2 = require("@chakra-ui/react");
|
41
41
|
var import_utils = require("@saas-ui/core/utils");
|
42
42
|
|
43
43
|
// src/components/icons/create-icon.tsx
|
44
|
-
var
|
44
|
+
var import_icon = require("@chakra-ui/react/icon");
|
45
45
|
var createIcon = (props) => {
|
46
|
-
return (0,
|
46
|
+
return (0, import_icon.createIcon)({
|
47
47
|
viewBox: "0 0 24 24",
|
48
48
|
defaultProps: {
|
49
49
|
fill: "none",
|
@@ -138,10 +138,33 @@ var CheckIcon = createIcon({
|
|
138
138
|
displayName: "CheckIcon",
|
139
139
|
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
140
140
|
});
|
141
|
+
var EllipsisIcon = createIcon({
|
142
|
+
displayName: "EllipsisIcon",
|
143
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
144
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
145
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
146
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
147
|
+
] })
|
148
|
+
});
|
149
|
+
var CopyIcon = createIcon({
|
150
|
+
displayName: "CopyIcon",
|
151
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
152
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
153
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
154
|
+
] })
|
155
|
+
});
|
156
|
+
var InfoIcon = createIcon({
|
157
|
+
displayName: "InfoIcon",
|
158
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
159
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
160
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
|
161
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
162
|
+
] })
|
163
|
+
});
|
141
164
|
|
142
165
|
// src/components/search-input/search-input.tsx
|
143
166
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
144
|
-
var SearchInput = (0,
|
167
|
+
var SearchInput = (0, import_react.forwardRef)(
|
145
168
|
(props, ref) => {
|
146
169
|
const {
|
147
170
|
placeholder = "Search",
|
@@ -159,18 +182,18 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
159
182
|
disabled,
|
160
183
|
...inputProps
|
161
184
|
} = props;
|
162
|
-
const inputRef =
|
163
|
-
const [value, setValue] = (0,
|
185
|
+
const inputRef = import_react.default.useRef(null);
|
186
|
+
const [value, setValue] = (0, import_react2.useControllableState)({
|
164
187
|
value: valueProp,
|
165
188
|
defaultValue: defaultValueProp
|
166
189
|
});
|
167
|
-
const onChange =
|
190
|
+
const onChange = import_react.default.useCallback(
|
168
191
|
(e) => {
|
169
192
|
setValue(e.target.value);
|
170
193
|
},
|
171
194
|
[setValue]
|
172
195
|
);
|
173
|
-
const onKeyDown =
|
196
|
+
const onKeyDown = import_react.default.useCallback(
|
174
197
|
(event) => {
|
175
198
|
if (event.key === "Escape") {
|
176
199
|
setValue("");
|
@@ -187,9 +210,9 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
187
210
|
};
|
188
211
|
const showReset = value && !props.disabled;
|
189
212
|
const endElement = showReset ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SearchInputResetButton, { size, children: resetIcon }) : endElementProp;
|
190
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react2.Group, { width, children: [
|
191
214
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
192
|
-
|
215
|
+
import_react2.InputElement,
|
193
216
|
{
|
194
217
|
placement: "start",
|
195
218
|
px: "0",
|
@@ -199,7 +222,7 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
199
222
|
}
|
200
223
|
),
|
201
224
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
202
|
-
|
225
|
+
import_react2.Input,
|
203
226
|
{
|
204
227
|
type: "text",
|
205
228
|
placeholder,
|
@@ -207,7 +230,7 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
207
230
|
size,
|
208
231
|
value,
|
209
232
|
disabled,
|
210
|
-
ref: (0,
|
233
|
+
ref: (0, import_react2.mergeRefs)(ref, inputRef),
|
211
234
|
onChange: (0, import_utils.callAll)(onChange, onChangeProp),
|
212
235
|
onKeyDown: (0, import_utils.callAll)(onKeyDown, onKeyDownProp),
|
213
236
|
ps: "calc(var(--input-height) - var(--input-height) / 10)",
|
@@ -215,15 +238,15 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
215
238
|
...inputProps
|
216
239
|
}
|
217
240
|
),
|
218
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
241
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react2.InputElement, { placement: "end", children: endElement })
|
219
242
|
] });
|
220
243
|
}
|
221
244
|
);
|
222
|
-
var SearchInputResetButton = (0,
|
245
|
+
var SearchInputResetButton = (0, import_react.forwardRef)(
|
223
246
|
(props, ref) => {
|
224
247
|
const { children = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CloseIcon, {}), ...rest } = props;
|
225
248
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
226
|
-
|
249
|
+
import_react2.IconButton,
|
227
250
|
{
|
228
251
|
ref,
|
229
252
|
variant: "ghost",
|
@@ -1,9 +1,9 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
SearchInput
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-4IZGJDYL.js";
|
5
5
|
import "../../chunk-KTLWEUNW.js";
|
6
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-4XB7B73X.js";
|
7
7
|
import "../../chunk-RTMS5TJN.js";
|
8
8
|
export {
|
9
9
|
SearchInput
|
@@ -27,7 +27,8 @@ module.exports = __toCommonJS(segmented_control_exports);
|
|
27
27
|
|
28
28
|
// src/components/segmented-control/segmented-control.tsx
|
29
29
|
var import_react = require("react");
|
30
|
-
var
|
30
|
+
var import_for = require("@chakra-ui/react/for");
|
31
|
+
var import_segment_group = require("@chakra-ui/react/segment-group");
|
31
32
|
var import_jsx_runtime = require("react/jsx-runtime");
|
32
33
|
function normalize(items) {
|
33
34
|
return items.map((item) => {
|
@@ -38,16 +39,16 @@ function normalize(items) {
|
|
38
39
|
var SegmentedControl = (0, import_react.forwardRef)(function SegmentedControl2(props, ref) {
|
39
40
|
const { items, ...rest } = props;
|
40
41
|
const data = (0, import_react.useMemo)(() => normalize(items), [items]);
|
41
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
42
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
43
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
44
|
-
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_segment_group.SegmentGroup.Root, { ref, ...rest, children: [
|
43
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_segment_group.SegmentGroup.Indicator, {}),
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_for.For, { each: data, children: (item) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
45
|
+
import_segment_group.SegmentGroup.Item,
|
45
46
|
{
|
46
47
|
value: item.value,
|
47
48
|
disabled: item.disabled,
|
48
49
|
children: [
|
49
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
50
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
50
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_segment_group.SegmentGroup.ItemText, { children: item.label }),
|
51
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_segment_group.SegmentGroup.ItemHiddenInput, {})
|
51
52
|
]
|
52
53
|
},
|
53
54
|
item.value
|