@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
@@ -33,12 +33,13 @@ __export(loading_overlay_exports, {
|
|
33
33
|
Spinner: () => LoadingOverlaySpinner,
|
34
34
|
Text: () => LoadingOverlayText
|
35
35
|
});
|
36
|
+
var import_react3 = require("react");
|
36
37
|
var import_presence = require("@ark-ui/react/presence");
|
37
38
|
var import_react4 = require("@chakra-ui/react");
|
38
39
|
|
39
40
|
// src/components/spinner/spinner.tsx
|
40
41
|
var import_react = require("react");
|
41
|
-
var
|
42
|
+
var import_spinner = require("@chakra-ui/react/spinner");
|
42
43
|
var import_jsx_runtime = require("react/jsx-runtime");
|
43
44
|
var Spinner = (0, import_react.forwardRef)(
|
44
45
|
function Spinner2(props, ref) {
|
@@ -46,27 +47,29 @@ var Spinner = (0, import_react.forwardRef)(
|
|
46
47
|
if (loading === false) {
|
47
48
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
48
49
|
}
|
49
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
50
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_spinner.Spinner, { ref, ...rest });
|
50
51
|
}
|
51
52
|
);
|
52
53
|
|
53
54
|
// src/components/loading-overlay/loading-overlay.context.ts
|
54
|
-
var
|
55
|
+
var import_react2 = require("@chakra-ui/react");
|
55
56
|
var {
|
56
57
|
useStyles: useLoadingOverlayStyles,
|
57
58
|
withContext,
|
58
59
|
withProvider
|
59
|
-
} = (0,
|
60
|
+
} = (0, import_react2.createSlotRecipeContext)({
|
60
61
|
key: "suiLoadingOverlay"
|
61
62
|
});
|
62
63
|
|
63
64
|
// src/components/loading-overlay/loading-overlay.tsx
|
64
65
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
65
|
-
var LoadingOverlay = (
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
};
|
66
|
+
var LoadingOverlay = (0, import_react3.forwardRef)(
|
67
|
+
(props, ref) => {
|
68
|
+
const { children, loading = true, ...rest } = props;
|
69
|
+
const [presenceProps, rootProps] = (0, import_presence.splitPresenceProps)(rest);
|
70
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_presence.Presence, { present: loading, ...presenceProps, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react4.chakra.div, { ref, ...rootProps, children }) });
|
71
|
+
}
|
72
|
+
);
|
70
73
|
var LoadingOverlayRoot = withProvider(
|
71
74
|
LoadingOverlay,
|
72
75
|
"root"
|
@@ -1,26 +1,10 @@
|
|
1
|
-
|
2
|
-
import react__default from 'react';
|
3
|
-
import { PresenceBaseProps } from '@ark-ui/react/presence';
|
1
|
+
export { l as LoadingOverlay } from '../../loading-overlay-afP_W7ru.cjs';
|
4
2
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
5
|
-
import
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
* Show or hide the LoadingOverlay.
|
10
|
-
* @default true
|
11
|
-
*/
|
12
|
-
loading?: boolean;
|
13
|
-
}
|
14
|
-
declare const LoadingOverlayRoot: react__default.ForwardRefExoticComponent<LoadingOverlayProps & react__default.RefAttributes<HTMLDivElement>>;
|
15
|
-
declare const LoadingOverlaySpinner: react__default.ForwardRefExoticComponent<SpinnerProps & react__default.RefAttributes<HTMLDivElement>>;
|
16
|
-
interface LoadingTextProps extends HTMLChakraProps<'p'> {
|
17
|
-
}
|
18
|
-
declare const LoadingOverlayText: react__default.ForwardRefExoticComponent<LoadingTextProps & react__default.RefAttributes<HTMLParagraphElement>>;
|
19
|
-
|
20
|
-
declare namespace loadingOverlay {
|
21
|
-
export { LoadingOverlayRoot as Root, type LoadingOverlayProps as RootProps, LoadingOverlaySpinner as Spinner, LoadingOverlayText as Text, type LoadingTextProps as TextProps };
|
22
|
-
}
|
3
|
+
import '../spinner/index.cjs';
|
4
|
+
import 'react';
|
5
|
+
import '@chakra-ui/react/spinner';
|
6
|
+
import '@ark-ui/react/presence';
|
23
7
|
|
24
8
|
declare const useLoadingOverlayStyles: () => Record<string, _chakra_ui_react.SystemStyleObject>;
|
25
9
|
|
26
|
-
export {
|
10
|
+
export { useLoadingOverlayStyles };
|
@@ -1,26 +1,10 @@
|
|
1
|
-
|
2
|
-
import react__default from 'react';
|
3
|
-
import { PresenceBaseProps } from '@ark-ui/react/presence';
|
1
|
+
export { l as LoadingOverlay } from '../../loading-overlay-BQ4lOS6T.js';
|
4
2
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
5
|
-
import
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
* Show or hide the LoadingOverlay.
|
10
|
-
* @default true
|
11
|
-
*/
|
12
|
-
loading?: boolean;
|
13
|
-
}
|
14
|
-
declare const LoadingOverlayRoot: react__default.ForwardRefExoticComponent<LoadingOverlayProps & react__default.RefAttributes<HTMLDivElement>>;
|
15
|
-
declare const LoadingOverlaySpinner: react__default.ForwardRefExoticComponent<SpinnerProps & react__default.RefAttributes<HTMLDivElement>>;
|
16
|
-
interface LoadingTextProps extends HTMLChakraProps<'p'> {
|
17
|
-
}
|
18
|
-
declare const LoadingOverlayText: react__default.ForwardRefExoticComponent<LoadingTextProps & react__default.RefAttributes<HTMLParagraphElement>>;
|
19
|
-
|
20
|
-
declare namespace loadingOverlay {
|
21
|
-
export { LoadingOverlayRoot as Root, type LoadingOverlayProps as RootProps, LoadingOverlaySpinner as Spinner, LoadingOverlayText as Text, type LoadingTextProps as TextProps };
|
22
|
-
}
|
3
|
+
import '../spinner/index.js';
|
4
|
+
import 'react';
|
5
|
+
import '@chakra-ui/react/spinner';
|
6
|
+
import '@ark-ui/react/presence';
|
23
7
|
|
24
8
|
declare const useLoadingOverlayStyles: () => Record<string, _chakra_ui_react.SystemStyleObject>;
|
25
9
|
|
26
|
-
export {
|
10
|
+
export { useLoadingOverlayStyles };
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import {
|
3
3
|
loading_overlay_exports,
|
4
4
|
useLoadingOverlayStyles
|
5
|
-
} from "../../chunk-
|
6
|
-
import "../../chunk-
|
5
|
+
} from "../../chunk-BDS3APRG.js";
|
6
|
+
import "../../chunk-MK3OG2I4.js";
|
7
7
|
import "../../chunk-RTMS5TJN.js";
|
8
8
|
export {
|
9
9
|
loading_overlay_exports as LoadingOverlay,
|
@@ -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/mark/index.ts
|
22
|
+
var mark_exports = {};
|
23
|
+
__export(mark_exports, {
|
24
|
+
Mark: () => import_typography.Mark
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(mark_exports);
|
27
|
+
var import_typography = require("@chakra-ui/react/typography");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Mark
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Mark } from '@chakra-ui/react/typography';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Mark } from '@chakra-ui/react/typography';
|
@@ -45,48 +45,18 @@ __export(menu_exports, {
|
|
45
45
|
Trigger: () => MenuTrigger,
|
46
46
|
TriggerItem: () => MenuTriggerItem
|
47
47
|
});
|
48
|
-
var import_react4 = require("react");
|
49
|
-
var import_react5 = require("@chakra-ui/react");
|
50
|
-
|
51
|
-
// src/components/button/button.tsx
|
52
48
|
var import_react = require("react");
|
53
|
-
var
|
54
|
-
var
|
55
|
-
var
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
disabled,
|
60
|
-
loadingText,
|
61
|
-
children,
|
62
|
-
variant = "glass",
|
63
|
-
colorPalette = variant === "glass" ? "accent" : "gray",
|
64
|
-
...rest
|
65
|
-
} = props;
|
66
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
67
|
-
import_react2.Button,
|
68
|
-
{
|
69
|
-
colorPalette,
|
70
|
-
disabled: loading || disabled,
|
71
|
-
variant,
|
72
|
-
ref,
|
73
|
-
...rest,
|
74
|
-
children: loading && !loadingText ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
75
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.AbsoluteCenter, { display: "inline-flex", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Spinner, { size: "inherit", color: "inherit" }) }),
|
76
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Span, { opacity: 0, children })
|
77
|
-
] }) : loading && loadingText ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
78
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Spinner, { size: "inherit", color: "inherit" }),
|
79
|
-
loadingText
|
80
|
-
] }) : children
|
81
|
-
}
|
82
|
-
);
|
83
|
-
}
|
84
|
-
);
|
49
|
+
var import_center = require("@chakra-ui/react/center");
|
50
|
+
var import_menu = require("@chakra-ui/react/menu");
|
51
|
+
var import_portal = require("@chakra-ui/react/portal");
|
52
|
+
|
53
|
+
// src/components/button/index.ts
|
54
|
+
var import_button = require("@chakra-ui/react/button");
|
85
55
|
|
86
56
|
// src/components/icons/create-icon.tsx
|
87
|
-
var
|
57
|
+
var import_icon = require("@chakra-ui/react/icon");
|
88
58
|
var createIcon = (props) => {
|
89
|
-
return (0,
|
59
|
+
return (0, import_icon.createIcon)({
|
90
60
|
viewBox: "0 0 24 24",
|
91
61
|
defaultProps: {
|
92
62
|
fill: "none",
|
@@ -100,149 +70,172 @@ var createIcon = (props) => {
|
|
100
70
|
};
|
101
71
|
|
102
72
|
// src/components/icons/icons.tsx
|
103
|
-
var
|
73
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
104
74
|
var ChevronUpIcon = createIcon({
|
105
75
|
displayName: "ChevronUpIcon",
|
106
|
-
path: /* @__PURE__ */ (0,
|
76
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "18 15 12 9 6 15" })
|
107
77
|
});
|
108
78
|
var ChevronDownIcon = createIcon({
|
109
79
|
displayName: "ChevronDownIcon",
|
110
|
-
path: /* @__PURE__ */ (0,
|
80
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "6 9 12 15 18 9" })
|
111
81
|
});
|
112
82
|
var ChevronLeftIcon = createIcon({
|
113
83
|
displayName: "ChevronLeftIcon",
|
114
|
-
path: /* @__PURE__ */ (0,
|
84
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
115
85
|
});
|
116
86
|
var ChevronRightIcon = createIcon({
|
117
87
|
displayName: "ChevronRightIcon",
|
118
|
-
path: /* @__PURE__ */ (0,
|
88
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
119
89
|
});
|
120
90
|
var HamburgerIcon = createIcon({
|
121
91
|
displayName: "ChevronDownIcon",
|
122
|
-
path: /* @__PURE__ */ (0,
|
123
|
-
/* @__PURE__ */ (0,
|
124
|
-
/* @__PURE__ */ (0,
|
125
|
-
/* @__PURE__ */ (0,
|
92
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { fill: "none", children: [
|
93
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
94
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
95
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
126
96
|
] })
|
127
97
|
});
|
128
98
|
var CloseIcon = createIcon({
|
129
99
|
displayName: "CloseIcon",
|
130
|
-
path: /* @__PURE__ */ (0,
|
131
|
-
/* @__PURE__ */ (0,
|
132
|
-
/* @__PURE__ */ (0,
|
100
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
101
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
102
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
133
103
|
] })
|
134
104
|
});
|
135
105
|
var FilterIcon = createIcon({
|
136
106
|
displayName: "FilterIcon",
|
137
|
-
path: /* @__PURE__ */ (0,
|
107
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
|
138
108
|
});
|
139
109
|
var CalendarIcon = createIcon({
|
140
110
|
displayName: "CalendarIcon",
|
141
|
-
path: /* @__PURE__ */ (0,
|
142
|
-
/* @__PURE__ */ (0,
|
143
|
-
/* @__PURE__ */ (0,
|
144
|
-
/* @__PURE__ */ (0,
|
145
|
-
/* @__PURE__ */ (0,
|
111
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
112
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
113
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
114
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
115
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
146
116
|
] })
|
147
117
|
});
|
148
118
|
var PlusIcon = createIcon({
|
149
119
|
displayName: "PlusIcon",
|
150
|
-
path: /* @__PURE__ */ (0,
|
151
|
-
/* @__PURE__ */ (0,
|
152
|
-
/* @__PURE__ */ (0,
|
120
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
121
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
122
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
153
123
|
] })
|
154
124
|
});
|
155
125
|
var MinusIcon = createIcon({
|
156
126
|
displayName: "MinusIcon",
|
157
|
-
path: /* @__PURE__ */ (0,
|
127
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
158
128
|
});
|
159
129
|
var ViewOffIcon = createIcon({
|
160
130
|
displayName: "ViewOffIcon",
|
161
|
-
path: /* @__PURE__ */ (0,
|
162
|
-
/* @__PURE__ */ (0,
|
163
|
-
/* @__PURE__ */ (0,
|
131
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
132
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
|
133
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
164
134
|
] })
|
165
135
|
});
|
166
136
|
var ViewIcon = createIcon({
|
167
137
|
displayName: "ViewOffIcon",
|
168
|
-
path: /* @__PURE__ */ (0,
|
169
|
-
/* @__PURE__ */ (0,
|
170
|
-
/* @__PURE__ */ (0,
|
138
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
140
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
171
141
|
] })
|
172
142
|
});
|
173
143
|
var SearchIcon = createIcon({
|
174
144
|
displayName: "SearchIcon",
|
175
|
-
path: /* @__PURE__ */ (0,
|
176
|
-
/* @__PURE__ */ (0,
|
177
|
-
/* @__PURE__ */ (0,
|
145
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
146
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
|
147
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
178
148
|
] })
|
179
149
|
});
|
180
150
|
var CheckIcon = createIcon({
|
181
151
|
displayName: "CheckIcon",
|
182
|
-
path: /* @__PURE__ */ (0,
|
152
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
153
|
+
});
|
154
|
+
var EllipsisIcon = createIcon({
|
155
|
+
displayName: "EllipsisIcon",
|
156
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
157
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
158
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
159
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
160
|
+
] })
|
161
|
+
});
|
162
|
+
var CopyIcon = createIcon({
|
163
|
+
displayName: "CopyIcon",
|
164
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
165
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
166
|
+
/* @__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" })
|
167
|
+
] })
|
168
|
+
});
|
169
|
+
var InfoIcon = createIcon({
|
170
|
+
displayName: "InfoIcon",
|
171
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
172
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
173
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
|
174
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
175
|
+
] })
|
183
176
|
});
|
184
177
|
|
185
178
|
// src/components/menu/menu.tsx
|
186
|
-
var
|
187
|
-
var MenuContent = (0,
|
179
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
180
|
+
var MenuContent = (0, import_react.forwardRef)(
|
188
181
|
function MenuContent2(props, ref) {
|
189
182
|
const { portalled = true, portalRef, ...rest } = props;
|
190
|
-
return /* @__PURE__ */ (0,
|
183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.Content, { ref, ...rest }) }) });
|
191
184
|
}
|
192
185
|
);
|
193
|
-
var MenuArrow = (0,
|
186
|
+
var MenuArrow = (0, import_react.forwardRef)(
|
194
187
|
function MenuArrow2(props, ref) {
|
195
|
-
return /* @__PURE__ */ (0,
|
188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.Arrow, { ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ArrowTip, {}) });
|
196
189
|
}
|
197
190
|
);
|
198
|
-
var MenuCheckboxItem = (0,
|
199
|
-
return /* @__PURE__ */ (0,
|
200
|
-
/* @__PURE__ */ (0,
|
191
|
+
var MenuCheckboxItem = (0, import_react.forwardRef)(function MenuCheckboxItem2(props, ref) {
|
192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.CheckboxItem, { ref, ...props, children: [
|
193
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemIndicator, { hidden: false, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CheckIcon, {}) }),
|
201
194
|
props.children
|
202
195
|
] });
|
203
196
|
});
|
204
|
-
var MenuRadioItem = (0,
|
197
|
+
var MenuRadioItem = (0, import_react.forwardRef)(
|
205
198
|
function MenuRadioItem2(props, ref) {
|
206
199
|
const { children, ...rest } = props;
|
207
|
-
return /* @__PURE__ */ (0,
|
208
|
-
/* @__PURE__ */ (0,
|
209
|
-
/* @__PURE__ */ (0,
|
200
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.RadioItem, { ps: "8", ref, ...rest, children: [
|
201
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_center.AbsoluteCenter, { axis: "horizontal", left: "4", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CheckIcon, {}) }) }),
|
202
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemText, { children })
|
210
203
|
] });
|
211
204
|
}
|
212
205
|
);
|
213
|
-
var MenuItemGroup = (0,
|
206
|
+
var MenuItemGroup = (0, import_react.forwardRef)(
|
214
207
|
function MenuItemGroup2(props, ref) {
|
215
208
|
const { title, children, ...rest } = props;
|
216
|
-
return /* @__PURE__ */ (0,
|
217
|
-
title && /* @__PURE__ */ (0,
|
209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.ItemGroup, { ref, ...rest, children: [
|
210
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemGroupLabel, { userSelect: "none", children: title }),
|
218
211
|
children
|
219
212
|
] });
|
220
213
|
}
|
221
214
|
);
|
222
|
-
var MenuTriggerItem = (0,
|
215
|
+
var MenuTriggerItem = (0, import_react.forwardRef)(
|
223
216
|
function MenuTriggerItem2(props, ref) {
|
224
217
|
const { startIcon, children, ...rest } = props;
|
225
|
-
return /* @__PURE__ */ (0,
|
218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.TriggerItem, { ref, ...rest, children: [
|
226
219
|
startIcon,
|
227
220
|
children,
|
228
|
-
/* @__PURE__ */ (0,
|
221
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ChevronRightIcon, {})
|
229
222
|
] });
|
230
223
|
}
|
231
224
|
);
|
232
|
-
var MenuButton = (0,
|
225
|
+
var MenuButton = (0, import_react.forwardRef)(
|
233
226
|
function MenuButton2(props, ref) {
|
234
|
-
return /* @__PURE__ */ (0,
|
227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(MenuTrigger, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_button.Button, { ...props }) });
|
235
228
|
}
|
236
229
|
);
|
237
|
-
var MenuRadioItemGroup =
|
238
|
-
var MenuContextTrigger =
|
239
|
-
var MenuRoot =
|
240
|
-
var MenuSeparator =
|
241
|
-
var MenuContext =
|
242
|
-
var MenuItem =
|
243
|
-
var MenuItemText =
|
244
|
-
var MenuItemCommand =
|
245
|
-
var MenuTrigger =
|
230
|
+
var MenuRadioItemGroup = import_menu.Menu.RadioItemGroup;
|
231
|
+
var MenuContextTrigger = import_menu.Menu.ContextTrigger;
|
232
|
+
var MenuRoot = import_menu.Menu.Root;
|
233
|
+
var MenuSeparator = import_menu.Menu.Separator;
|
234
|
+
var MenuContext = import_menu.Menu.Context;
|
235
|
+
var MenuItem = import_menu.Menu.Item;
|
236
|
+
var MenuItemText = import_menu.Menu.ItemText;
|
237
|
+
var MenuItemCommand = import_menu.Menu.ItemCommand;
|
238
|
+
var MenuTrigger = import_menu.Menu.Trigger;
|
246
239
|
// Annotate the CommonJS export names for ESM import in node:
|
247
240
|
0 && (module.exports = {
|
248
241
|
Menu
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as _ark_ui_react from '@ark-ui/react';
|
2
2
|
import * as react from 'react';
|
3
|
-
import { Menu
|
3
|
+
import { Menu } from '@chakra-ui/react/menu';
|
4
|
+
import { ButtonProps } from '@chakra-ui/react/button';
|
4
5
|
|
5
6
|
interface MenuContentProps extends Menu.ContentProps {
|
6
7
|
portalled?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as _ark_ui_react from '@ark-ui/react';
|
2
2
|
import * as react from 'react';
|
3
|
-
import { Menu
|
3
|
+
import { Menu } from '@chakra-ui/react/menu';
|
4
|
+
import { ButtonProps } from '@chakra-ui/react/button';
|
4
5
|
|
5
6
|
interface MenuContentProps extends Menu.ContentProps {
|
6
7
|
portalled?: boolean;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
menu_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-UNF77J24.js";
|
5
5
|
import "../../chunk-KTLWEUNW.js";
|
6
|
-
import "../../chunk-
|
7
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-5HVAMQYO.js";
|
7
|
+
import "../../chunk-4XB7B73X.js";
|
8
8
|
import "../../chunk-RTMS5TJN.js";
|
9
9
|
export {
|
10
10
|
menu_exports as Menu
|