@saas-ui/react 3.0.0-alpha.8 → 3.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +219 -36
- package/dist/chunk-27OMFCPD.js +8 -0
- package/dist/{chunk-6LOMIKR5.js → chunk-2B5OZHZY.js} +5 -3
- package/dist/{chunk-S3CQW7GD.js → chunk-3DGRWH7C.js} +3 -2
- package/dist/chunk-3EV6MKBG.js +60 -0
- package/dist/{chunk-IFYV7NUJ.js → chunk-3MO37LYW.js} +3 -3
- package/dist/chunk-3RHNNKPC.js +51 -0
- package/dist/{chunk-LIYUBUOP.js → chunk-4IZGJDYL.js} +1 -1
- package/dist/{chunk-VDXTEASE.js → chunk-4XB7B73X.js} +28 -2
- package/dist/chunk-52XM5VXJ.js +9 -0
- package/dist/chunk-5HVAMQYO.js +8 -0
- package/dist/chunk-5MTFSSOH.js +16 -0
- package/dist/chunk-5YNHX4C7.js +16 -0
- package/dist/{chunk-4TR3AOMG.js → chunk-5ZKEXMBN.js} +15 -12
- package/dist/chunk-6YZ76Q2W.js +8 -0
- package/dist/chunk-77QJSEEA.js +68 -0
- package/dist/chunk-7DF4NQNZ.js +8 -0
- package/dist/chunk-7HAGRXKM.js +8 -0
- package/dist/{chunk-QSNSWCTM.js → chunk-7MCVXFWM.js} +2 -1
- package/dist/chunk-7PWVK3NL.js +8 -0
- package/dist/chunk-AY7C4U2O.js +39 -0
- package/dist/{chunk-7VSTNV2B.js → chunk-BDS3APRG.js} +9 -6
- package/dist/chunk-BFO2S4Y5.js +12 -0
- package/dist/chunk-C5KFNMWU.js +8 -0
- package/dist/chunk-CQD32UVJ.js +8 -0
- package/dist/{chunk-TT4C5VXB.js → chunk-CRFTMIQA.js} +10 -10
- package/dist/chunk-DHFAFRZ4.js +8 -0
- package/dist/chunk-EWCBYJA7.js +8 -0
- package/dist/chunk-EYOHLXWQ.js +64 -0
- package/dist/chunk-FD2V4Y66.js +8 -0
- package/dist/{chunk-UCQ3LZIE.js → chunk-FN7TU5F5.js} +2 -1
- package/dist/chunk-FPRTN3I7.js +9 -0
- package/dist/chunk-GD2247J4.js +37 -0
- package/dist/chunk-GSWLAOIM.js +24 -0
- package/dist/chunk-H7KPEI6P.js +21 -0
- package/dist/chunk-HD7BIWDH.js +22 -0
- package/dist/{chunk-PKI6YH2V.js → chunk-HKMYYESV.js} +4 -1
- package/dist/{chunk-WYLMBMAH.js → chunk-HKUOHPZ6.js} +1 -1
- package/dist/chunk-HQVBJT5Y.js +8 -0
- package/dist/chunk-HTQRA26F.js +46 -0
- package/dist/{chunk-SA3OGTOO.js → chunk-HTVSG47E.js} +1 -1
- package/dist/chunk-HZX4AGO5.js +8 -0
- package/dist/{chunk-ULAJ3JEO.js → chunk-IEWGZ4LU.js} +11 -3
- package/dist/chunk-JMYI6YXR.js +1 -0
- package/dist/chunk-JPY2QZLC.js +64 -0
- package/dist/{chunk-SKXSBAOS.js → chunk-KFDVVTMT.js} +2 -1
- package/dist/chunk-KRJG7H4W.js +53 -0
- package/dist/chunk-M3DJWM6D.js +8 -0
- package/dist/{chunk-32JGENDB.js → chunk-MK3OG2I4.js} +1 -1
- package/dist/chunk-MZ2RY4NU.js +34 -0
- package/dist/{chunk-FJFNGSPL.js → chunk-NGGISORT.js} +12 -6
- package/dist/chunk-NLMFEUVO.js +41 -0
- package/dist/{chunk-I2RXEKTB.js → chunk-NSFGACD7.js} +1 -1
- package/dist/{chunk-BFA5FCA2.js → chunk-O2WVT2BP.js} +1 -16
- package/dist/chunk-OJZPPAT6.js +26 -0
- package/dist/chunk-OQU4LWZW.js +8 -0
- package/dist/chunk-PEJYADAS.js +8 -0
- package/dist/chunk-PIQURQGB.js +8 -0
- package/dist/{chunk-3Z2C27LI.js → chunk-Q6SNJJO2.js} +14 -2
- package/dist/chunk-QLN2CBY6.js +8 -0
- package/dist/chunk-R2J5USV6.js +12 -0
- package/dist/{chunk-2EUACKRH.js → chunk-RYKJOZ3B.js} +2 -1
- package/dist/chunk-SD2NTPHR.js +44 -0
- package/dist/chunk-SXFVA6CX.js +20 -0
- package/dist/chunk-T2FPZNCP.js +115 -0
- package/dist/{chunk-CD2JUFI2.js → chunk-T7XRS654.js} +10 -9
- package/dist/chunk-TEQVVR3W.js +8 -0
- package/dist/chunk-TH6YCBEG.js +8 -0
- package/dist/chunk-TWTXZ7PR.js +100 -0
- package/dist/{chunk-DPMEXCSG.js → chunk-U23VDAWJ.js} +8 -2
- package/dist/chunk-U3EPRSD3.js +20 -0
- package/dist/chunk-UEXUCHDD.js +34 -0
- package/dist/chunk-UIP2CHMU.js +8 -0
- package/dist/{chunk-JGHXJ3PI.js → chunk-UNF77J24.js} +6 -8
- package/dist/{chunk-M7FOBCOV.js → chunk-VJ4UOABT.js} +12 -19
- package/dist/chunk-WJZED26X.js +28 -0
- package/dist/chunk-XW747T2R.js +43 -0
- package/dist/chunk-XX2OY7LK.js +10 -0
- package/dist/chunk-YHQ5JGCC.js +1 -0
- package/dist/chunk-YLZEO3RK.js +24 -0
- package/dist/chunk-YMCOU2N5.js +8 -0
- package/dist/{chunk-6ZNR6N2K.js → chunk-YTTZX7ZE.js} +1 -1
- package/dist/chunk-Z37BQ5VU.js +54 -0
- package/dist/{chunk-L356FPLY.js → chunk-Z3SWPGPQ.js} +1 -1
- package/dist/{chunk-NSD5HRIP.js → chunk-ZUT5GZTD.js} +1 -1
- package/dist/components/accordion/index.cjs +197 -0
- package/dist/components/accordion/index.d.cts +29 -0
- package/dist/components/accordion/index.d.ts +29 -0
- package/dist/components/accordion/index.js +9 -0
- package/dist/components/action-bar/index.cjs +217 -0
- package/dist/components/action-bar/index.d.cts +33 -0
- package/dist/components/action-bar/index.d.ts +33 -0
- package/dist/components/action-bar/index.js +13 -0
- package/dist/components/alert/index.cjs +227 -0
- package/dist/components/alert/index.d.cts +14 -0
- package/dist/components/alert/index.d.ts +14 -0
- package/dist/components/alert/index.js +13 -0
- package/dist/components/app-shell/index.cjs +2 -2
- package/dist/components/app-shell/index.d.cts +1 -1
- package/dist/components/app-shell/index.d.ts +1 -1
- package/dist/components/app-shell/index.js +1 -1
- package/dist/components/avatar/index.cjs +7 -6
- package/dist/components/avatar/index.d.cts +3 -1
- package/dist/components/avatar/index.d.ts +3 -1
- package/dist/components/avatar/index.js +2 -1
- package/dist/components/badge/index.cjs +33 -0
- package/dist/components/badge/index.d.cts +27 -0
- package/dist/components/badge/index.d.ts +27 -0
- package/dist/components/badge/index.js +10 -0
- package/dist/components/blockquote/index.cjs +59 -0
- package/dist/components/blockquote/index.d.cts +12 -0
- package/dist/components/blockquote/index.d.ts +12 -0
- package/dist/components/blockquote/index.js +8 -0
- package/dist/components/breadcrumb/index.cjs +13 -13
- package/dist/components/breadcrumb/index.d.cts +13 -7
- package/dist/components/breadcrumb/index.d.ts +13 -7
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.cjs +2 -36
- package/dist/components/button/index.d.cts +1 -12
- package/dist/components/button/index.d.ts +1 -12
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/index.cjs +31 -0
- package/dist/components/button-group/index.d.cts +1 -0
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/button-group/index.js +8 -0
- package/dist/components/card/index.cjs +32 -0
- package/dist/components/card/index.d.cts +1 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +9 -0
- package/dist/components/checkbox/index.cjs +5 -5
- package/dist/components/checkbox/index.d.cts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-card/index.cjs +66 -0
- package/dist/components/checkbox-card/index.d.cts +15 -0
- package/dist/components/checkbox-card/index.d.ts +15 -0
- package/dist/components/checkbox-card/index.js +8 -0
- package/dist/components/checkmark/index.cjs +31 -0
- package/dist/components/checkmark/index.d.cts +1 -0
- package/dist/components/checkmark/index.d.ts +1 -0
- package/dist/components/checkmark/index.js +8 -0
- package/dist/components/clipboard/index.cjs +227 -0
- package/dist/components/clipboard/index.d.cts +28 -0
- package/dist/components/clipboard/index.d.ts +28 -0
- package/dist/components/clipboard/index.js +13 -0
- package/dist/components/close-button/index.cjs +82 -37
- package/dist/components/close-button/index.d.cts +3 -2
- package/dist/components/close-button/index.d.ts +3 -2
- package/dist/components/close-button/index.js +5 -2
- package/dist/components/code/index.cjs +31 -0
- package/dist/components/code/index.d.cts +1 -0
- package/dist/components/code/index.d.ts +1 -0
- package/dist/components/code/index.js +8 -0
- package/dist/components/collapsible/index.cjs +31 -0
- package/dist/components/collapsible/index.d.cts +1 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +8 -0
- package/dist/components/command/index.cjs +18 -13
- package/dist/components/command/index.d.cts +28 -2
- package/dist/components/command/index.d.ts +28 -2
- package/dist/components/command/index.js +2 -1
- package/dist/components/container/index.cjs +31 -0
- package/dist/components/container/index.d.cts +1 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +8 -0
- package/dist/components/data-list/index.cjs +33 -0
- package/dist/components/data-list/index.d.cts +1 -0
- package/dist/components/data-list/index.d.ts +1 -0
- package/dist/components/data-list/index.js +10 -0
- package/dist/components/dialog/index.cjs +127 -89
- package/dist/components/dialog/index.d.cts +36 -17
- package/dist/components/dialog/index.d.ts +36 -17
- package/dist/components/dialog/index.js +8 -5
- package/dist/components/drawer/index.cjs +123 -87
- package/dist/components/drawer/index.d.cts +33 -17
- package/dist/components/drawer/index.d.ts +33 -17
- package/dist/components/drawer/index.js +8 -5
- package/dist/components/editable/index.cjs +31 -0
- package/dist/components/editable/index.d.cts +1 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +8 -0
- package/dist/components/empty-state/index.cjs +12 -10
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/field/index.cjs +35 -0
- package/dist/components/field/index.d.cts +1 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field/index.js +12 -0
- package/dist/components/fieldset/index.cjs +33 -0
- package/dist/components/fieldset/index.d.cts +1 -0
- package/dist/components/fieldset/index.d.ts +1 -0
- package/dist/components/fieldset/index.js +10 -0
- package/dist/components/file-upload/index.cjs +296 -0
- package/dist/components/file-upload/index.d.cts +46 -0
- package/dist/components/file-upload/index.d.ts +46 -0
- package/dist/components/file-upload/index.js +14 -0
- package/dist/components/grid-list/index.cjs +2 -2
- package/dist/components/grid-list/index.d.cts +67 -5
- package/dist/components/grid-list/index.d.ts +67 -5
- package/dist/components/grid-list/index.js +1 -1
- package/dist/components/heading/index.cjs +31 -0
- package/dist/components/heading/index.d.cts +1 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +8 -0
- package/dist/components/hover-card/index.cjs +66 -0
- package/dist/components/hover-card/index.d.cts +21 -0
- package/dist/components/hover-card/index.d.ts +21 -0
- package/dist/components/hover-card/index.js +8 -0
- package/dist/components/icon/index.cjs +31 -0
- package/dist/components/icon/index.d.cts +1 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icon/index.js +8 -0
- package/dist/components/icon-badge/index.cjs +3 -3
- package/dist/components/icon-badge/index.d.cts +1 -1
- package/dist/components/icon-badge/index.d.ts +1 -1
- package/dist/components/icon-badge/index.js +1 -1
- package/dist/components/icon-button/index.cjs +53 -0
- package/dist/components/icon-button/index.d.cts +8 -0
- package/dist/components/icon-button/index.d.ts +8 -0
- package/dist/components/icon-button/index.js +9 -0
- package/dist/components/icons/index.cjs +31 -2
- package/dist/components/icons/index.d.cts +4 -1
- package/dist/components/icons/index.d.ts +4 -1
- package/dist/components/icons/index.js +7 -1
- package/dist/components/image/index.cjs +31 -0
- package/dist/components/image/index.d.cts +1 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +8 -0
- package/dist/components/info-tip/index.cjs +299 -0
- package/dist/components/info-tip/index.d.cts +13 -0
- package/dist/components/info-tip/index.d.ts +13 -0
- package/dist/components/info-tip/index.js +16 -0
- package/dist/components/input/index.cjs +37 -0
- package/dist/components/input/index.d.cts +1 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +14 -0
- package/dist/components/input-group/index.cjs +9 -4
- package/dist/components/input-group/index.d.cts +3 -2
- package/dist/components/input-group/index.d.ts +3 -2
- package/dist/components/input-group/index.js +2 -1
- package/dist/components/kbd/index.cjs +31 -0
- package/dist/components/kbd/index.d.cts +1 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +8 -0
- package/dist/components/link/index.cjs +2 -2
- package/dist/components/link/index.d.cts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/link/index.js +2 -1
- package/dist/components/list/index.cjs +31 -0
- package/dist/components/list/index.d.cts +1 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +8 -0
- package/dist/components/loader/index.cjs +31 -0
- package/dist/components/loader/index.d.cts +1 -0
- package/dist/components/loader/index.d.ts +1 -0
- package/dist/components/loader/index.js +8 -0
- package/dist/components/loading-overlay/index.cjs +12 -9
- package/dist/components/loading-overlay/index.d.cts +6 -22
- package/dist/components/loading-overlay/index.d.ts +6 -22
- package/dist/components/loading-overlay/index.js +2 -2
- package/dist/components/mark/index.cjs +31 -0
- package/dist/components/mark/index.d.cts +1 -0
- package/dist/components/mark/index.d.ts +1 -0
- package/dist/components/mark/index.js +8 -0
- package/dist/components/menu/index.cjs +92 -99
- package/dist/components/menu/index.d.cts +2 -1
- package/dist/components/menu/index.d.ts +2 -1
- package/dist/components/menu/index.js +3 -3
- package/dist/components/native-select/index.cjs +178 -0
- package/dist/components/native-select/index.d.cts +10 -0
- package/dist/components/native-select/index.d.ts +10 -0
- package/dist/components/native-select/index.js +10 -0
- package/dist/components/navbar/index.cjs +42 -4
- package/dist/components/navbar/index.d.cts +4 -1
- package/dist/components/navbar/index.d.ts +4 -1
- package/dist/components/navbar/index.js +2 -1
- package/dist/components/number-input/index.cjs +25 -12
- package/dist/components/number-input/index.d.cts +1 -1
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/number-input/index.js +3 -2
- package/dist/components/pagination/index.cjs +253 -0
- package/dist/components/pagination/index.d.cts +43 -0
- package/dist/components/pagination/index.d.ts +43 -0
- package/dist/components/pagination/index.js +11 -0
- package/dist/components/password-input/index.cjs +45 -17
- package/dist/components/password-input/index.d.cts +4 -2
- package/dist/components/password-input/index.d.ts +4 -2
- package/dist/components/password-input/index.js +5 -2
- package/dist/components/persona/index.cjs +63 -34
- package/dist/components/persona/index.d.cts +113 -4
- package/dist/components/persona/index.d.ts +113 -4
- package/dist/components/persona/index.js +2 -1
- package/dist/components/pin-input/index.cjs +5 -4
- package/dist/components/pin-input/index.d.cts +1 -1
- package/dist/components/pin-input/index.d.ts +1 -1
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.cjs +252 -0
- package/dist/components/popover/index.d.cts +3 -0
- package/dist/components/popover/index.d.ts +3 -0
- package/dist/components/popover/index.js +13 -0
- package/dist/components/progress/index.cjs +31 -0
- package/dist/components/progress/index.d.cts +1 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/index.js +8 -0
- package/dist/components/progress-circle/index.cjs +31 -0
- package/dist/components/progress-circle/index.d.cts +1 -0
- package/dist/components/progress-circle/index.d.ts +1 -0
- package/dist/components/progress-circle/index.js +8 -0
- package/dist/components/radio/index.cjs +6 -6
- package/dist/components/radio/index.d.cts +1 -1
- package/dist/components/radio/index.d.ts +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-card/index.cjs +75 -0
- package/dist/components/radio-card/index.d.cts +31 -0
- package/dist/components/radio-card/index.d.ts +31 -0
- package/dist/components/radio-card/index.js +8 -0
- package/dist/components/rating-group/index.cjs +31 -0
- package/dist/components/rating-group/index.d.cts +1 -0
- package/dist/components/rating-group/index.d.ts +1 -0
- package/dist/components/rating-group/index.js +8 -0
- package/dist/components/search-input/index.cjs +39 -16
- package/dist/components/search-input/index.js +2 -2
- package/dist/components/segmented-control/index.cjs +8 -7
- package/dist/components/segmented-control/index.d.cts +1 -1
- package/dist/components/segmented-control/index.d.ts +1 -1
- package/dist/components/segmented-control/index.js +1 -1
- package/dist/components/select/index.cjs +109 -63
- package/dist/components/select/index.d.cts +2 -1
- package/dist/components/select/index.d.ts +2 -1
- package/dist/components/select/index.js +6 -3
- package/dist/components/separator/index.cjs +31 -0
- package/dist/components/separator/index.d.cts +1 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +8 -0
- package/dist/components/sidebar/index.cjs +8 -2
- package/dist/components/sidebar/index.d.cts +9 -5
- package/dist/components/sidebar/index.d.ts +9 -5
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/skeleton/index.cjs +61 -0
- package/dist/components/skeleton/index.d.cts +17 -0
- package/dist/components/skeleton/index.d.ts +17 -0
- package/dist/components/skeleton/index.js +12 -0
- package/dist/components/skip-nav-link/index.cjs +33 -0
- package/dist/components/skip-nav-link/index.d.cts +1 -0
- package/dist/components/skip-nav-link/index.d.ts +1 -0
- package/dist/components/skip-nav-link/index.js +10 -0
- package/dist/components/slider/index.cjs +62 -0
- package/dist/components/slider/index.d.cts +13 -0
- package/dist/components/slider/index.d.ts +13 -0
- package/dist/components/slider/index.js +8 -0
- package/dist/components/spinner/index.cjs +2 -2
- package/dist/components/spinner/index.d.cts +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.cjs +83 -0
- package/dist/components/stat/index.d.cts +29 -0
- package/dist/components/stat/index.d.ts +29 -0
- package/dist/components/stat/index.js +8 -0
- package/dist/components/status/index.cjs +45 -0
- package/dist/components/status/index.d.cts +18 -0
- package/dist/components/status/index.d.ts +18 -0
- package/dist/components/status/index.js +8 -0
- package/dist/components/steps/index.cjs +48 -23
- package/dist/components/steps/index.d.cts +2 -2
- package/dist/components/steps/index.d.ts +2 -2
- package/dist/components/steps/index.js +2 -2
- package/dist/components/switch/index.cjs +9 -9
- package/dist/components/switch/index.d.cts +1 -1
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/table/index.cjs +31 -0
- package/dist/components/table/index.d.cts +1 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +8 -0
- package/dist/components/tabs/index.cjs +37 -0
- package/dist/components/tabs/index.d.cts +1 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +14 -0
- package/dist/components/tag/index.cjs +53 -0
- package/dist/components/tag/index.d.cts +12 -0
- package/dist/components/tag/index.d.ts +12 -0
- package/dist/components/tag/index.js +8 -0
- package/dist/components/textarea/index.cjs +31 -0
- package/dist/components/textarea/index.d.cts +1 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +8 -0
- package/dist/components/timeline/index.cjs +31 -0
- package/dist/components/timeline/index.d.cts +1 -0
- package/dist/components/timeline/index.d.ts +1 -0
- package/dist/components/timeline/index.js +8 -0
- package/dist/components/toaster/index.cjs +215 -12
- package/dist/components/toaster/index.d.cts +6 -5
- package/dist/components/toaster/index.d.ts +6 -5
- package/dist/components/toaster/index.js +7 -1
- package/dist/components/toggle-tip/index.cjs +289 -0
- package/dist/components/toggle-tip/index.d.cts +13 -0
- package/dist/components/toggle-tip/index.d.ts +13 -0
- package/dist/components/toggle-tip/index.js +14 -0
- package/dist/components/tooltip/index.cjs +6 -5
- package/dist/components/tooltip/index.d.cts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/index-zAqswhEI.d.cts +37 -0
- package/dist/index-zAqswhEI.d.ts +37 -0
- package/dist/index.cjs +4118 -2660
- package/dist/index.d.cts +89 -6
- package/dist/index.d.ts +89 -6
- package/dist/index.js +2686 -1960
- package/dist/loading-overlay-BQ4lOS6T.d.ts +23 -0
- package/dist/loading-overlay-afP_W7ru.d.cts +23 -0
- package/dist/theme/tokens/colors.cjs +3 -3
- package/dist/theme/tokens/colors.js +1 -1
- package/dist/types-DnFoUudY.d.cts +10 -0
- package/dist/types-DnFoUudY.d.ts +10 -0
- package/package.json +7 -7
- package/dist/chunk-BCNPBZZK.js +0 -45
- package/dist/chunk-CB52LBJK.js +0 -71
- package/dist/chunk-FZW2DYK3.js +0 -19
- package/dist/chunk-H6TFEHY4.js +0 -63
- package/dist/chunk-HELHPHIQ.js +0 -35
@@ -26,30 +26,35 @@ __export(command_exports, {
|
|
26
26
|
module.exports = __toCommonJS(command_exports);
|
27
27
|
|
28
28
|
// src/components/command/command.tsx
|
29
|
-
var
|
30
|
-
|
29
|
+
var import_styled_system = require("@chakra-ui/react/styled-system");
|
30
|
+
|
31
|
+
// src/components/kbd/index.ts
|
32
|
+
var import_kbd = require("@chakra-ui/react/kbd");
|
33
|
+
|
34
|
+
// src/components/command/command.tsx
|
31
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
32
|
-
var { withContext } = (0,
|
36
|
+
var { withContext } = (0, import_styled_system.createRecipeContext)({
|
33
37
|
key: "suiCommand"
|
34
38
|
});
|
35
|
-
var
|
39
|
+
var Command = (props) => {
|
40
|
+
const { children, modifiers, ...rest } = props;
|
36
41
|
if (typeof children !== "string") {
|
37
42
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
38
43
|
}
|
39
|
-
|
40
|
-
|
41
|
-
}
|
42
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Kbd, { children });
|
44
|
+
const keys = children.split(/\s|\+/);
|
45
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledCommand, { ...rest, children: keys.map((key) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Key, { modifiers, size: props.size, children: key }, key)) });
|
43
46
|
};
|
44
|
-
var
|
45
|
-
|
47
|
+
var StyledCommand = withContext("span");
|
48
|
+
var Key = (props) => {
|
49
|
+
const { modifiers = ["then", "or", "+"], children, ...rest } = props;
|
46
50
|
if (typeof children !== "string") {
|
47
51
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
48
52
|
}
|
49
|
-
|
50
|
-
|
53
|
+
if (modifiers.includes(children)) {
|
54
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children });
|
55
|
+
}
|
56
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_kbd.Kbd, { ...rest, children });
|
51
57
|
};
|
52
|
-
var CommandRoot = withContext("span");
|
53
58
|
// Annotate the CommonJS export names for ESM import in node:
|
54
59
|
0 && (module.exports = {
|
55
60
|
Command
|
@@ -1,6 +1,32 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
2
|
+
import { RecipeVariantProps, HTMLChakraProps, UnstyledProp } from '@chakra-ui/react/styled-system';
|
3
|
+
import { R as RecipeProps } from '../../types-DnFoUudY.cjs';
|
4
|
+
import * as _chakra_ui_react from '@chakra-ui/react';
|
3
5
|
|
4
|
-
declare const
|
6
|
+
declare const commandRecipe: _chakra_ui_react.RecipeDefinition<{
|
7
|
+
size: {
|
8
|
+
sm: {
|
9
|
+
fontSize: "xs";
|
10
|
+
};
|
11
|
+
md: {
|
12
|
+
fontSize: "sm";
|
13
|
+
};
|
14
|
+
lg: {
|
15
|
+
fontSize: "md";
|
16
|
+
};
|
17
|
+
};
|
18
|
+
}>;
|
19
|
+
type CommandVariantProps = RecipeVariantProps<typeof commandRecipe>;
|
20
|
+
|
21
|
+
interface CommandBaseProps extends RecipeProps<'suiCommand', CommandVariantProps>, UnstyledProp {
|
22
|
+
}
|
23
|
+
interface CommandProps extends HTMLChakraProps<'span'>, CommandBaseProps, CommandVariantProps {
|
24
|
+
/**
|
25
|
+
* The modifiers to use for the command.
|
26
|
+
* @default ['then', 'or', '+']
|
27
|
+
*/
|
28
|
+
modifiers?: Array<string>;
|
29
|
+
}
|
30
|
+
declare const Command: react.FC<CommandProps>;
|
5
31
|
|
6
32
|
export { Command };
|
@@ -1,6 +1,32 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { HTMLChakraProps } from '@chakra-ui/react';
|
2
|
+
import { RecipeVariantProps, HTMLChakraProps, UnstyledProp } from '@chakra-ui/react/styled-system';
|
3
|
+
import { R as RecipeProps } from '../../types-DnFoUudY.js';
|
4
|
+
import * as _chakra_ui_react from '@chakra-ui/react';
|
3
5
|
|
4
|
-
declare const
|
6
|
+
declare const commandRecipe: _chakra_ui_react.RecipeDefinition<{
|
7
|
+
size: {
|
8
|
+
sm: {
|
9
|
+
fontSize: "xs";
|
10
|
+
};
|
11
|
+
md: {
|
12
|
+
fontSize: "sm";
|
13
|
+
};
|
14
|
+
lg: {
|
15
|
+
fontSize: "md";
|
16
|
+
};
|
17
|
+
};
|
18
|
+
}>;
|
19
|
+
type CommandVariantProps = RecipeVariantProps<typeof commandRecipe>;
|
20
|
+
|
21
|
+
interface CommandBaseProps extends RecipeProps<'suiCommand', CommandVariantProps>, UnstyledProp {
|
22
|
+
}
|
23
|
+
interface CommandProps extends HTMLChakraProps<'span'>, CommandBaseProps, CommandVariantProps {
|
24
|
+
/**
|
25
|
+
* The modifiers to use for the command.
|
26
|
+
* @default ['then', 'or', '+']
|
27
|
+
*/
|
28
|
+
modifiers?: Array<string>;
|
29
|
+
}
|
30
|
+
declare const Command: react.FC<CommandProps>;
|
5
31
|
|
6
32
|
export { Command };
|
@@ -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/container/index.ts
|
22
|
+
var container_exports = {};
|
23
|
+
__export(container_exports, {
|
24
|
+
Container: () => import_container.Container
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(container_exports);
|
27
|
+
var import_container = require("@chakra-ui/react/container");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Container
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Container, ContainerProps } from '@chakra-ui/react/container';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Container, ContainerProps } from '@chakra-ui/react/container';
|
@@ -0,0 +1,33 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/data-list/index.ts
|
22
|
+
var data_list_exports = {};
|
23
|
+
__export(data_list_exports, {
|
24
|
+
DataList: () => import_data_list.DataList,
|
25
|
+
useDataListStyles: () => import_data_list.useDataListStyles
|
26
|
+
});
|
27
|
+
module.exports = __toCommonJS(data_list_exports);
|
28
|
+
var import_data_list = require("@chakra-ui/react/data-list");
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
30
|
+
0 && (module.exports = {
|
31
|
+
DataList,
|
32
|
+
useDataListStyles
|
33
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { DataList, useDataListStyles } from '@chakra-ui/react/data-list';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { DataList, useDataListStyles } from '@chakra-ui/react/data-list';
|
@@ -19,41 +19,64 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/components/dialog/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
24
|
-
Dialog: () =>
|
25
|
-
});
|
26
|
-
module.exports = __toCommonJS(dialog_exports);
|
27
|
-
|
28
|
-
// src/components/dialog/namespace.ts
|
29
|
-
var namespace_exports = {};
|
30
|
-
__export(namespace_exports, {
|
31
|
-
ActionTrigger: () => DialogActionTrigger,
|
32
|
-
Backdrop: () => DialogBackdrop,
|
33
|
-
Body: () => DialogBody,
|
34
|
-
CloseTrigger: () => DialogCloseTrigger,
|
35
|
-
Content: () => DialogContent,
|
36
|
-
Context: () => import_dialog.DialogContext,
|
37
|
-
Description: () => DialogDescription,
|
38
|
-
Footer: () => DialogFooter,
|
39
|
-
Header: () => DialogHeader,
|
40
|
-
Root: () => DialogRoot,
|
41
|
-
Title: () => DialogTitle,
|
42
|
-
Trigger: () => DialogTrigger
|
22
|
+
var dialog_exports2 = {};
|
23
|
+
__export(dialog_exports2, {
|
24
|
+
Dialog: () => dialog_exports
|
43
25
|
});
|
26
|
+
module.exports = __toCommonJS(dialog_exports2);
|
44
27
|
|
45
28
|
// src/components/dialog/dialog.tsx
|
46
|
-
var
|
47
|
-
|
29
|
+
var dialog_exports = {};
|
30
|
+
__export(dialog_exports, {
|
31
|
+
ActionTrigger: () => ActionTrigger,
|
32
|
+
Backdrop: () => Backdrop,
|
33
|
+
Body: () => Body,
|
34
|
+
CloseButton: () => CloseButton3,
|
35
|
+
CloseTrigger: () => CloseTrigger,
|
36
|
+
Content: () => Content,
|
37
|
+
Context: () => Context,
|
38
|
+
Description: () => Description,
|
39
|
+
DialogContext: () => import_dialog2.DialogContext,
|
40
|
+
Footer: () => Footer,
|
41
|
+
Header: () => Header,
|
42
|
+
Root: () => Root,
|
43
|
+
Title: () => Title,
|
44
|
+
Trigger: () => Trigger
|
45
|
+
});
|
46
|
+
var import_react3 = require("react");
|
47
|
+
var import_dialog = require("@chakra-ui/react/dialog");
|
48
|
+
var import_portal = require("@chakra-ui/react/portal");
|
48
49
|
|
49
50
|
// src/components/close-button/close-button.tsx
|
50
51
|
var import_react2 = require("react");
|
51
|
-
|
52
|
+
|
53
|
+
// src/components/icon-button/icon-button.tsx
|
54
|
+
var import_react = require("react");
|
55
|
+
|
56
|
+
// src/components/button/index.ts
|
57
|
+
var import_button = require("@chakra-ui/react/button");
|
58
|
+
|
59
|
+
// src/components/icon-button/icon-button.tsx
|
60
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
61
|
+
var IconButton = (0, import_react.forwardRef)(
|
62
|
+
function IconButton2(props, ref) {
|
63
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
64
|
+
import_button.Button,
|
65
|
+
{
|
66
|
+
px: "0",
|
67
|
+
py: "0",
|
68
|
+
_icon: { fontSize: "1.2em" },
|
69
|
+
ref,
|
70
|
+
...props
|
71
|
+
}
|
72
|
+
);
|
73
|
+
}
|
74
|
+
);
|
52
75
|
|
53
76
|
// src/components/icons/create-icon.tsx
|
54
|
-
var
|
77
|
+
var import_icon = require("@chakra-ui/react/icon");
|
55
78
|
var createIcon = (props) => {
|
56
|
-
return (0,
|
79
|
+
return (0, import_icon.createIcon)({
|
57
80
|
viewBox: "0 0 24 24",
|
58
81
|
defaultProps: {
|
59
82
|
fill: "none",
|
@@ -67,102 +90,125 @@ var createIcon = (props) => {
|
|
67
90
|
};
|
68
91
|
|
69
92
|
// src/components/icons/icons.tsx
|
70
|
-
var
|
93
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
71
94
|
var ChevronUpIcon = createIcon({
|
72
95
|
displayName: "ChevronUpIcon",
|
73
|
-
path: /* @__PURE__ */ (0,
|
96
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "18 15 12 9 6 15" })
|
74
97
|
});
|
75
98
|
var ChevronDownIcon = createIcon({
|
76
99
|
displayName: "ChevronDownIcon",
|
77
|
-
path: /* @__PURE__ */ (0,
|
100
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "6 9 12 15 18 9" })
|
78
101
|
});
|
79
102
|
var ChevronLeftIcon = createIcon({
|
80
103
|
displayName: "ChevronLeftIcon",
|
81
|
-
path: /* @__PURE__ */ (0,
|
104
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
82
105
|
});
|
83
106
|
var ChevronRightIcon = createIcon({
|
84
107
|
displayName: "ChevronRightIcon",
|
85
|
-
path: /* @__PURE__ */ (0,
|
108
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
86
109
|
});
|
87
110
|
var HamburgerIcon = createIcon({
|
88
111
|
displayName: "ChevronDownIcon",
|
89
|
-
path: /* @__PURE__ */ (0,
|
90
|
-
/* @__PURE__ */ (0,
|
91
|
-
/* @__PURE__ */ (0,
|
92
|
-
/* @__PURE__ */ (0,
|
112
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { fill: "none", children: [
|
113
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
114
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
115
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
93
116
|
] })
|
94
117
|
});
|
95
118
|
var CloseIcon = createIcon({
|
96
119
|
displayName: "CloseIcon",
|
97
|
-
path: /* @__PURE__ */ (0,
|
98
|
-
/* @__PURE__ */ (0,
|
99
|
-
/* @__PURE__ */ (0,
|
120
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
121
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
122
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
100
123
|
] })
|
101
124
|
});
|
102
125
|
var FilterIcon = createIcon({
|
103
126
|
displayName: "FilterIcon",
|
104
|
-
path: /* @__PURE__ */ (0,
|
127
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
|
105
128
|
});
|
106
129
|
var CalendarIcon = createIcon({
|
107
130
|
displayName: "CalendarIcon",
|
108
|
-
path: /* @__PURE__ */ (0,
|
109
|
-
/* @__PURE__ */ (0,
|
110
|
-
/* @__PURE__ */ (0,
|
111
|
-
/* @__PURE__ */ (0,
|
112
|
-
/* @__PURE__ */ (0,
|
131
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
132
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
133
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
134
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
135
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
113
136
|
] })
|
114
137
|
});
|
115
138
|
var PlusIcon = createIcon({
|
116
139
|
displayName: "PlusIcon",
|
117
|
-
path: /* @__PURE__ */ (0,
|
118
|
-
/* @__PURE__ */ (0,
|
119
|
-
/* @__PURE__ */ (0,
|
140
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
141
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
142
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
120
143
|
] })
|
121
144
|
});
|
122
145
|
var MinusIcon = createIcon({
|
123
146
|
displayName: "MinusIcon",
|
124
|
-
path: /* @__PURE__ */ (0,
|
147
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
125
148
|
});
|
126
149
|
var ViewOffIcon = createIcon({
|
127
150
|
displayName: "ViewOffIcon",
|
128
|
-
path: /* @__PURE__ */ (0,
|
129
|
-
/* @__PURE__ */ (0,
|
130
|
-
/* @__PURE__ */ (0,
|
151
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
152
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.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" }),
|
153
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
131
154
|
] })
|
132
155
|
});
|
133
156
|
var ViewIcon = createIcon({
|
134
157
|
displayName: "ViewOffIcon",
|
135
|
-
path: /* @__PURE__ */ (0,
|
136
|
-
/* @__PURE__ */ (0,
|
137
|
-
/* @__PURE__ */ (0,
|
158
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
159
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
160
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
138
161
|
] })
|
139
162
|
});
|
140
163
|
var SearchIcon = createIcon({
|
141
164
|
displayName: "SearchIcon",
|
142
|
-
path: /* @__PURE__ */ (0,
|
143
|
-
/* @__PURE__ */ (0,
|
144
|
-
/* @__PURE__ */ (0,
|
165
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
166
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
|
167
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
145
168
|
] })
|
146
169
|
});
|
147
170
|
var CheckIcon = createIcon({
|
148
171
|
displayName: "CheckIcon",
|
149
|
-
path: /* @__PURE__ */ (0,
|
172
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
173
|
+
});
|
174
|
+
var EllipsisIcon = createIcon({
|
175
|
+
displayName: "EllipsisIcon",
|
176
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
177
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
178
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
179
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
180
|
+
] })
|
181
|
+
});
|
182
|
+
var CopyIcon = createIcon({
|
183
|
+
displayName: "CopyIcon",
|
184
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
185
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
186
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
187
|
+
] })
|
188
|
+
});
|
189
|
+
var InfoIcon = createIcon({
|
190
|
+
displayName: "InfoIcon",
|
191
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
192
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
193
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 16v-4" }),
|
194
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 8h.01" })
|
195
|
+
] })
|
150
196
|
});
|
151
197
|
|
152
198
|
// src/components/close-button/close-button.tsx
|
153
|
-
var
|
199
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
154
200
|
var CloseButton = (0, import_react2.forwardRef)(
|
155
201
|
function CloseButton2(props, ref) {
|
156
202
|
var _a;
|
157
|
-
return /* @__PURE__ */ (0,
|
203
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconButton, { variant: "ghost", "aria-label": "Close", ref, ...props, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CloseIcon, {}) });
|
158
204
|
}
|
159
205
|
);
|
160
206
|
|
161
207
|
// src/components/dialog/dialog.tsx
|
162
|
-
var
|
163
|
-
var
|
164
|
-
var
|
165
|
-
function
|
208
|
+
var import_dialog2 = require("@ark-ui/react/dialog");
|
209
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
210
|
+
var Content = (0, import_react3.forwardRef)(
|
211
|
+
function DialogContent(props, ref) {
|
166
212
|
const {
|
167
213
|
children,
|
168
214
|
portalled = true,
|
@@ -170,34 +216,26 @@ var DialogContent = (0, import_react4.forwardRef)(
|
|
170
216
|
backdrop = true,
|
171
217
|
...rest
|
172
218
|
} = props;
|
173
|
-
return /* @__PURE__ */ (0,
|
174
|
-
backdrop && /* @__PURE__ */ (0,
|
175
|
-
/* @__PURE__ */ (0,
|
219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: [
|
220
|
+
backdrop && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dialog.Dialog.Backdrop, {}),
|
221
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dialog.Dialog.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dialog.Dialog.Content, { ref, ...rest, asChild: false, children }) })
|
176
222
|
] });
|
177
223
|
}
|
178
224
|
);
|
179
|
-
var
|
180
|
-
return /* @__PURE__ */ (0,
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
var
|
193
|
-
var DialogFooter = import_react5.Dialog.Footer;
|
194
|
-
var DialogHeader = import_react5.Dialog.Header;
|
195
|
-
var DialogBody = import_react5.Dialog.Body;
|
196
|
-
var DialogBackdrop = import_react5.Dialog.Backdrop;
|
197
|
-
var DialogTitle = import_react5.Dialog.Title;
|
198
|
-
var DialogDescription = import_react5.Dialog.Description;
|
199
|
-
var DialogTrigger = import_react5.Dialog.Trigger;
|
200
|
-
var DialogActionTrigger = import_react5.Dialog.ActionTrigger;
|
225
|
+
var CloseButton3 = (0, import_react3.forwardRef)(function DialogCloseTrigger(props, ref) {
|
226
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_dialog.Dialog.CloseTrigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CloseButton, { size: "sm", ref, children: props.children }) });
|
227
|
+
});
|
228
|
+
var CloseTrigger = import_dialog.Dialog.CloseTrigger;
|
229
|
+
var Root = import_dialog.Dialog.Root;
|
230
|
+
var Context = import_dialog.Dialog.Context;
|
231
|
+
var Footer = import_dialog.Dialog.Footer;
|
232
|
+
var Header = import_dialog.Dialog.Header;
|
233
|
+
var Body = import_dialog.Dialog.Body;
|
234
|
+
var Backdrop = import_dialog.Dialog.Backdrop;
|
235
|
+
var Title = import_dialog.Dialog.Title;
|
236
|
+
var Description = import_dialog.Dialog.Description;
|
237
|
+
var Trigger = import_dialog.Dialog.Trigger;
|
238
|
+
var ActionTrigger = import_dialog.Dialog.ActionTrigger;
|
201
239
|
// Annotate the CommonJS export names for ESM import in node:
|
202
240
|
0 && (module.exports = {
|
203
241
|
Dialog
|
@@ -1,27 +1,46 @@
|
|
1
|
+
import * as _ark_ui_react from '@ark-ui/react';
|
1
2
|
import * as react from 'react';
|
2
|
-
import { Dialog } from '@chakra-ui/react';
|
3
|
+
import { Dialog } from '@chakra-ui/react/dialog';
|
3
4
|
import { DialogContext } from '@ark-ui/react/dialog';
|
4
5
|
|
5
|
-
interface
|
6
|
+
interface ContentProps extends Dialog.ContentProps {
|
6
7
|
portalled?: boolean;
|
7
8
|
portalRef?: React.RefObject<HTMLElement>;
|
8
9
|
backdrop?: boolean;
|
9
10
|
}
|
10
|
-
declare const
|
11
|
-
declare const
|
12
|
-
|
13
|
-
|
14
|
-
declare const
|
15
|
-
declare const
|
16
|
-
declare const
|
17
|
-
declare const
|
18
|
-
declare const
|
19
|
-
declare const
|
20
|
-
declare const
|
21
|
-
declare const
|
11
|
+
declare const Content: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
+
declare const CloseButton: react.ForwardRefExoticComponent<Dialog.CloseTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
13
|
+
declare const CloseTrigger: react.ForwardRefExoticComponent<Dialog.CloseTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
14
|
+
type RootProps = Dialog.RootProps;
|
15
|
+
declare const Root: react.FC<Dialog.RootProps>;
|
16
|
+
declare const Context: (props: _ark_ui_react.DialogContextProps) => react.ReactNode;
|
17
|
+
declare const Footer: react.ForwardRefExoticComponent<Dialog.FooterProps & react.RefAttributes<HTMLDivElement>>;
|
18
|
+
declare const Header: react.ForwardRefExoticComponent<Dialog.HeaderProps & react.RefAttributes<HTMLDivElement>>;
|
19
|
+
declare const Body: react.ForwardRefExoticComponent<Dialog.BodyProps & react.RefAttributes<HTMLDivElement>>;
|
20
|
+
declare const Backdrop: react.ForwardRefExoticComponent<Dialog.BackdropProps & react.RefAttributes<HTMLDivElement>>;
|
21
|
+
declare const Title: react.ForwardRefExoticComponent<Dialog.TitleProps & react.RefAttributes<HTMLDivElement>>;
|
22
|
+
declare const Description: react.ForwardRefExoticComponent<Dialog.DescriptionProps & react.RefAttributes<HTMLDivElement>>;
|
23
|
+
declare const Trigger: react.ForwardRefExoticComponent<Dialog.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
24
|
+
declare const ActionTrigger: react.ForwardRefExoticComponent<Dialog.ActionTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
22
25
|
|
23
|
-
declare
|
24
|
-
|
26
|
+
declare const dialog_ActionTrigger: typeof ActionTrigger;
|
27
|
+
declare const dialog_Backdrop: typeof Backdrop;
|
28
|
+
declare const dialog_Body: typeof Body;
|
29
|
+
declare const dialog_CloseButton: typeof CloseButton;
|
30
|
+
declare const dialog_CloseTrigger: typeof CloseTrigger;
|
31
|
+
declare const dialog_Content: typeof Content;
|
32
|
+
type dialog_ContentProps = ContentProps;
|
33
|
+
declare const dialog_Context: typeof Context;
|
34
|
+
declare const dialog_Description: typeof Description;
|
35
|
+
declare const dialog_DialogContext: typeof DialogContext;
|
36
|
+
declare const dialog_Footer: typeof Footer;
|
37
|
+
declare const dialog_Header: typeof Header;
|
38
|
+
declare const dialog_Root: typeof Root;
|
39
|
+
type dialog_RootProps = RootProps;
|
40
|
+
declare const dialog_Title: typeof Title;
|
41
|
+
declare const dialog_Trigger: typeof Trigger;
|
42
|
+
declare namespace dialog {
|
43
|
+
export { dialog_ActionTrigger as ActionTrigger, dialog_Backdrop as Backdrop, dialog_Body as Body, dialog_CloseButton as CloseButton, dialog_CloseTrigger as CloseTrigger, dialog_Content as Content, type dialog_ContentProps as ContentProps, dialog_Context as Context, dialog_Description as Description, dialog_DialogContext as DialogContext, dialog_Footer as Footer, dialog_Header as Header, dialog_Root as Root, type dialog_RootProps as RootProps, dialog_Title as Title, dialog_Trigger as Trigger };
|
25
44
|
}
|
26
45
|
|
27
|
-
export {
|
46
|
+
export { dialog as Dialog };
|