@saas-ui/react 3.0.0-alpha.30 → 3.0.0-alpha.32
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 +14 -0
- package/dist/chunk-27OMFCPD.js +8 -0
- package/dist/{chunk-VZG7EJ64.js → chunk-2B5OZHZY.js} +3 -2
- package/dist/{chunk-3JZ42NYM.js → chunk-3DGRWH7C.js} +3 -2
- package/dist/chunk-3EV6MKBG.js +60 -0
- package/dist/chunk-3RHNNKPC.js +51 -0
- package/dist/{chunk-46ISJZBS.js → chunk-4IZGJDYL.js} +1 -1
- package/dist/{chunk-4TPVIHNO.js → chunk-4XB7B73X.js} +19 -2
- package/dist/chunk-5HVAMQYO.js +8 -0
- package/dist/chunk-5MTFSSOH.js +16 -0
- package/dist/chunk-5YNHX4C7.js +16 -0
- package/dist/{chunk-UASXI64E.js → chunk-5ZKEXMBN.js} +4 -2
- package/dist/chunk-6YZ76Q2W.js +8 -0
- package/dist/{chunk-RLIAFHVM.js → chunk-77QJSEEA.js} +7 -5
- 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-32DD6PHF.js → chunk-EYOHLXWQ.js} +3 -2
- package/dist/chunk-FD2V4Y66.js +8 -0
- package/dist/{chunk-JO4WJVYO.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-S5J6REMC.js → chunk-IEWGZ4LU.js} +2 -2
- package/dist/{chunk-KE5AC3TZ.js → chunk-JPY2QZLC.js} +3 -2
- 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-NLMFEUVO.js +41 -0
- package/dist/{chunk-I2RXEKTB.js → chunk-NSFGACD7.js} +1 -1
- package/dist/{chunk-MS2ELLDY.js → chunk-OJZPPAT6.js} +1 -1
- 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-GRUMUCSL.js → chunk-T2FPZNCP.js} +13 -7
- package/dist/{chunk-K2SPPLAY.js → chunk-T7XRS654.js} +8 -7
- package/dist/chunk-TEQVVR3W.js +8 -0
- package/dist/chunk-TH6YCBEG.js +8 -0
- package/dist/{chunk-MLJN6IOJ.js → chunk-TWTXZ7PR.js} +10 -6
- package/dist/{chunk-YKSY7UOM.js → chunk-U3EPRSD3.js} +1 -1
- package/dist/chunk-UEXUCHDD.js +34 -0
- package/dist/chunk-UIP2CHMU.js +8 -0
- package/dist/{chunk-KFXNVUEZ.js → chunk-UNF77J24.js} +7 -9
- package/dist/{chunk-GWC5GCMW.js → chunk-VJ4UOABT.js} +1 -1
- package/dist/{chunk-IEWHAXXU.js → chunk-WJZED26X.js} +1 -1
- package/dist/chunk-XW747T2R.js +43 -0
- package/dist/chunk-XX2OY7LK.js +10 -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-LTVFG6UC.js → chunk-Z37BQ5VU.js} +1 -1
- 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 +1 -1
- package/dist/components/badge/index.cjs +5 -3
- package/dist/components/badge/index.d.cts +25 -1
- package/dist/components/badge/index.d.ts +25 -1
- package/dist/components/badge/index.js +5 -3
- 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 -18
- 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 +3 -2
- package/dist/components/card/index.d.cts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/card/index.js +4 -3
- 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 +78 -41
- 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 +4 -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 +8 -3
- package/dist/components/command/index.d.cts +2 -2
- package/dist/components/command/index.d.ts +2 -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/dialog/index.cjs +102 -64
- package/dist/components/dialog/index.d.cts +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/dialog/index.js +5 -3
- package/dist/components/drawer/index.cjs +96 -59
- package/dist/components/drawer/index.js +5 -3
- 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/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 +109 -67
- package/dist/components/file-upload/index.d.cts +4 -1
- package/dist/components/file-upload/index.d.ts +4 -1
- package/dist/components/file-upload/index.js +9 -5
- package/dist/components/grid-list/index.cjs +2 -2
- package/dist/components/grid-list/index.d.cts +2 -2
- package/dist/components/grid-list/index.d.ts +2 -2
- 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 +7 -21
- package/dist/components/icon-button/index.d.cts +1 -2
- package/dist/components/icon-button/index.d.ts +1 -2
- package/dist/components/icon-button/index.js +2 -2
- package/dist/components/icons/index.cjs +21 -2
- package/dist/components/icons/index.d.cts +3 -1
- package/dist/components/icons/index.d.ts +3 -1
- package/dist/components/icons/index.js +5 -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 +88 -85
- 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 +17 -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 +92 -54
- package/dist/components/pagination/index.d.cts +3 -1
- package/dist/components/pagination/index.d.ts +3 -1
- package/dist/components/pagination/index.js +4 -2
- package/dist/components/password-input/index.cjs +43 -15
- 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 +14 -13
- package/dist/components/persona/index.d.cts +4 -1
- package/dist/components/persona/index.d.ts +4 -1
- package/dist/components/persona/index.js +2 -2
- 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 +94 -56
- package/dist/components/popover/index.d.cts +3 -37
- package/dist/components/popover/index.d.ts +3 -37
- package/dist/components/popover/index.js +5 -3
- 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 +31 -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 +105 -67
- package/dist/components/select/index.d.cts +2 -1
- package/dist/components/select/index.d.ts +2 -1
- package/dist/components/select/index.js +5 -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.d.cts +1 -1
- package/dist/components/sidebar/index.d.ts +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 +3 -3
- package/dist/components/status/index.d.cts +2 -1
- package/dist/components/status/index.d.ts +2 -1
- package/dist/components/status/index.js +1 -1
- package/dist/components/steps/index.cjs +39 -23
- package/dist/components/steps/index.d.cts +1 -1
- package/dist/components/steps/index.d.ts +1 -1
- 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 +2 -0
- package/dist/components/tabs/index.d.cts +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/index.js +3 -1
- package/dist/components/tag/index.cjs +6 -6
- package/dist/components/tag/index.d.cts +1 -1
- package/dist/components/tag/index.d.ts +1 -1
- package/dist/components/tag/index.js +1 -1
- 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 +108 -55
- package/dist/components/toaster/index.d.cts +1 -1
- package/dist/components/toaster/index.d.ts +1 -1
- package/dist/components/toaster/index.js +7 -3
- 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 +5835 -5173
- package/dist/index.d.cts +79 -5
- package/dist/index.d.ts +79 -5
- package/dist/index.js +4986 -4778
- package/dist/loading-overlay-BQ4lOS6T.d.ts +23 -0
- package/dist/loading-overlay-afP_W7ru.d.cts +23 -0
- package/package.json +3 -3
- package/dist/chunk-INV6RT5B.js +0 -8
- package/dist/chunk-IVLUAUU5.js +0 -10
- package/dist/chunk-NGSHWY7E.js +0 -27
- package/dist/chunk-YXGJOOMM.js +0 -19
@@ -1,5 +1,7 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { Avatar as Avatar$1
|
2
|
+
import { Avatar as Avatar$1 } from '@chakra-ui/react/avatar';
|
3
|
+
import { GroupProps } from '@chakra-ui/react/group';
|
4
|
+
import { SlotRecipeProps } from '@chakra-ui/react/styled-system';
|
3
5
|
|
4
6
|
type ImageProps = React.ImgHTMLAttributes<HTMLImageElement>;
|
5
7
|
interface AvatarProps extends Avatar$1.RootProps {
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { Avatar as Avatar$1
|
2
|
+
import { Avatar as Avatar$1 } from '@chakra-ui/react/avatar';
|
3
|
+
import { GroupProps } from '@chakra-ui/react/group';
|
4
|
+
import { SlotRecipeProps } from '@chakra-ui/react/styled-system';
|
3
5
|
|
4
6
|
type ImageProps = React.ImgHTMLAttributes<HTMLImageElement>;
|
5
7
|
interface AvatarProps extends Avatar$1.RootProps {
|
@@ -21,11 +21,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
21
21
|
// src/components/badge/index.ts
|
22
22
|
var badge_exports = {};
|
23
23
|
__export(badge_exports, {
|
24
|
-
Badge: () =>
|
24
|
+
Badge: () => import_badge.Badge,
|
25
|
+
BadgePropsProvider: () => import_badge.BadgePropsProvider
|
25
26
|
});
|
26
27
|
module.exports = __toCommonJS(badge_exports);
|
27
|
-
var
|
28
|
+
var import_badge = require("@chakra-ui/react/badge");
|
28
29
|
// Annotate the CommonJS export names for ESM import in node:
|
29
30
|
0 && (module.exports = {
|
30
|
-
Badge
|
31
|
+
Badge,
|
32
|
+
BadgePropsProvider
|
31
33
|
});
|
@@ -1,3 +1,27 @@
|
|
1
|
-
export { Badge, BadgeProps } from '@chakra-ui/react';
|
1
|
+
export { Badge, BadgeProps, BadgePropsProvider } from '@chakra-ui/react/badge';
|
2
|
+
import '@chakra-ui/react/button';
|
3
|
+
import '@chakra-ui/react/card';
|
4
|
+
import '@chakra-ui/react/checkmark';
|
5
|
+
import '@chakra-ui/react/input';
|
6
|
+
import '@chakra-ui/react/container';
|
7
|
+
import '@chakra-ui/react/code';
|
8
|
+
import '@chakra-ui/react/collapsible';
|
2
9
|
import '@chakra-ui/react/data-list';
|
10
|
+
import '@chakra-ui/react/editable';
|
11
|
+
import '@chakra-ui/react/field';
|
12
|
+
import '@chakra-ui/react/fieldset';
|
13
|
+
import '@chakra-ui/react/typography';
|
14
|
+
import '@chakra-ui/react/icon';
|
15
|
+
import '@chakra-ui/react/image';
|
16
|
+
import '@chakra-ui/react/kbd';
|
17
|
+
import '@chakra-ui/react/loader';
|
18
|
+
import '@chakra-ui/react/list';
|
19
|
+
import '@chakra-ui/react/progress';
|
20
|
+
import '@chakra-ui/react/progress-circle';
|
21
|
+
import '@chakra-ui/react/rating-group';
|
22
|
+
import '@chakra-ui/react/separator';
|
23
|
+
import '@chakra-ui/react/skip-nav';
|
24
|
+
import '@chakra-ui/react/table';
|
3
25
|
import '@chakra-ui/react/tabs';
|
26
|
+
import '@chakra-ui/react/timeline';
|
27
|
+
import '@chakra-ui/react/textarea';
|
@@ -1,3 +1,27 @@
|
|
1
|
-
export { Badge, BadgeProps } from '@chakra-ui/react';
|
1
|
+
export { Badge, BadgeProps, BadgePropsProvider } from '@chakra-ui/react/badge';
|
2
|
+
import '@chakra-ui/react/button';
|
3
|
+
import '@chakra-ui/react/card';
|
4
|
+
import '@chakra-ui/react/checkmark';
|
5
|
+
import '@chakra-ui/react/input';
|
6
|
+
import '@chakra-ui/react/container';
|
7
|
+
import '@chakra-ui/react/code';
|
8
|
+
import '@chakra-ui/react/collapsible';
|
2
9
|
import '@chakra-ui/react/data-list';
|
10
|
+
import '@chakra-ui/react/editable';
|
11
|
+
import '@chakra-ui/react/field';
|
12
|
+
import '@chakra-ui/react/fieldset';
|
13
|
+
import '@chakra-ui/react/typography';
|
14
|
+
import '@chakra-ui/react/icon';
|
15
|
+
import '@chakra-ui/react/image';
|
16
|
+
import '@chakra-ui/react/kbd';
|
17
|
+
import '@chakra-ui/react/loader';
|
18
|
+
import '@chakra-ui/react/list';
|
19
|
+
import '@chakra-ui/react/progress';
|
20
|
+
import '@chakra-ui/react/progress-circle';
|
21
|
+
import '@chakra-ui/react/rating-group';
|
22
|
+
import '@chakra-ui/react/separator';
|
23
|
+
import '@chakra-ui/react/skip-nav';
|
24
|
+
import '@chakra-ui/react/table';
|
3
25
|
import '@chakra-ui/react/tabs';
|
26
|
+
import '@chakra-ui/react/timeline';
|
27
|
+
import '@chakra-ui/react/textarea';
|
@@ -0,0 +1,59 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __create = Object.create;
|
4
|
+
var __defProp = Object.defineProperty;
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
9
|
+
var __export = (target, all) => {
|
10
|
+
for (var name in all)
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
12
|
+
};
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
15
|
+
for (let key of __getOwnPropNames(from))
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
18
|
+
}
|
19
|
+
return to;
|
20
|
+
};
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
+
mod
|
28
|
+
));
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
+
|
31
|
+
// src/components/blockquote/index.ts
|
32
|
+
var blockquote_exports = {};
|
33
|
+
__export(blockquote_exports, {
|
34
|
+
Blockquote: () => Blockquote
|
35
|
+
});
|
36
|
+
module.exports = __toCommonJS(blockquote_exports);
|
37
|
+
|
38
|
+
// src/components/blockquote/blockquote.tsx
|
39
|
+
var React = __toESM(require("react"), 1);
|
40
|
+
var import_react = require("@chakra-ui/react");
|
41
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
42
|
+
var Blockquote = React.forwardRef(
|
43
|
+
function Blockquote2(props, ref) {
|
44
|
+
const { children, cite, citeUrl, showDash, icon, ...rest } = props;
|
45
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Blockquote.Root, { ref, ...rest, children: [
|
46
|
+
icon,
|
47
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Blockquote.Content, { cite: citeUrl, children }),
|
48
|
+
cite && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Blockquote.Caption, { children: [
|
49
|
+
showDash ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "\u2014" }) : null,
|
50
|
+
" ",
|
51
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("cite", { children: cite })
|
52
|
+
] })
|
53
|
+
] });
|
54
|
+
}
|
55
|
+
);
|
56
|
+
// Annotate the CommonJS export names for ESM import in node:
|
57
|
+
0 && (module.exports = {
|
58
|
+
Blockquote
|
59
|
+
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { Blockquote as Blockquote$1 } from '@chakra-ui/react';
|
3
|
+
|
4
|
+
interface BlockquoteProps extends Blockquote$1.RootProps {
|
5
|
+
cite?: react.ReactNode;
|
6
|
+
citeUrl?: string;
|
7
|
+
icon?: react.ReactNode;
|
8
|
+
showDash?: boolean;
|
9
|
+
}
|
10
|
+
declare const Blockquote: react.ForwardRefExoticComponent<BlockquoteProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
+
|
12
|
+
export { Blockquote, type BlockquoteProps };
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { Blockquote as Blockquote$1 } from '@chakra-ui/react';
|
3
|
+
|
4
|
+
interface BlockquoteProps extends Blockquote$1.RootProps {
|
5
|
+
cite?: react.ReactNode;
|
6
|
+
citeUrl?: string;
|
7
|
+
icon?: react.ReactNode;
|
8
|
+
showDash?: boolean;
|
9
|
+
}
|
10
|
+
declare const Blockquote: react.ForwardRefExoticComponent<BlockquoteProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
+
|
12
|
+
export { Blockquote, type BlockquoteProps };
|
@@ -28,30 +28,30 @@ module.exports = __toCommonJS(breadcrumb_exports2);
|
|
28
28
|
// src/components/breadcrumb/breadcrumb.tsx
|
29
29
|
var breadcrumb_exports = {};
|
30
30
|
__export(breadcrumb_exports, {
|
31
|
-
CurrentLink: () =>
|
32
|
-
Ellipsis: () =>
|
33
|
-
Link: () =>
|
34
|
-
Root: () =>
|
31
|
+
CurrentLink: () => CurrentLink,
|
32
|
+
Ellipsis: () => Ellipsis,
|
33
|
+
Link: () => Link,
|
34
|
+
Root: () => Root
|
35
35
|
});
|
36
36
|
var import_react = require("react");
|
37
|
-
var
|
37
|
+
var import_breadcrumb = require("@chakra-ui/react/breadcrumb");
|
38
38
|
var import_jsx_runtime = require("react/jsx-runtime");
|
39
|
-
var
|
40
|
-
function
|
39
|
+
var Root = (0, import_react.forwardRef)(
|
40
|
+
function BreadcrumbRoot(props, ref) {
|
41
41
|
const { separator = "/", separatorGap, children, ...rest } = props;
|
42
42
|
const validChildren = import_react.Children.toArray(children).filter(import_react.isValidElement);
|
43
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_breadcrumb.Breadcrumb.Root, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_breadcrumb.Breadcrumb.List, { gap: separatorGap, children: validChildren.map((child, index) => {
|
44
44
|
const last = index === validChildren.length - 1;
|
45
45
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [
|
46
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
47
|
-
!last && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
46
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_breadcrumb.Breadcrumb.Item, { children: child }),
|
47
|
+
!last && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_breadcrumb.Breadcrumb.Separator, { children: separator })
|
48
48
|
] }, index);
|
49
49
|
}) }) });
|
50
50
|
}
|
51
51
|
);
|
52
|
-
var
|
53
|
-
var
|
54
|
-
var
|
52
|
+
var Link = import_breadcrumb.Breadcrumb.Link;
|
53
|
+
var CurrentLink = import_breadcrumb.Breadcrumb.CurrentLink;
|
54
|
+
var Ellipsis = import_breadcrumb.Breadcrumb.Ellipsis;
|
55
55
|
// Annotate the CommonJS export names for ESM import in node:
|
56
56
|
0 && (module.exports = {
|
57
57
|
Breadcrumb
|
@@ -1,17 +1,23 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { Breadcrumb
|
2
|
+
import { Breadcrumb } from '@chakra-ui/react/breadcrumb';
|
3
|
+
import { SystemStyleObject } from '@chakra-ui/react/styled-system';
|
3
4
|
|
4
|
-
interface
|
5
|
+
interface RootProps extends Breadcrumb.RootProps {
|
5
6
|
separator?: React.ReactNode;
|
6
7
|
separatorGap?: SystemStyleObject['gap'];
|
7
8
|
}
|
8
|
-
declare const
|
9
|
-
declare const
|
10
|
-
declare const
|
11
|
-
declare const
|
9
|
+
declare const Root: react.ForwardRefExoticComponent<RootProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
+
declare const Link: react.ForwardRefExoticComponent<Breadcrumb.LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
11
|
+
declare const CurrentLink: react.ForwardRefExoticComponent<Breadcrumb.CurrentLinkProps & react.RefAttributes<HTMLElement>>;
|
12
|
+
declare const Ellipsis: react.ForwardRefExoticComponent<Breadcrumb.EllipsisProps & react.RefAttributes<HTMLElement>>;
|
12
13
|
|
14
|
+
declare const breadcrumb_CurrentLink: typeof CurrentLink;
|
15
|
+
declare const breadcrumb_Ellipsis: typeof Ellipsis;
|
16
|
+
declare const breadcrumb_Link: typeof Link;
|
17
|
+
declare const breadcrumb_Root: typeof Root;
|
18
|
+
type breadcrumb_RootProps = RootProps;
|
13
19
|
declare namespace breadcrumb {
|
14
|
-
export {
|
20
|
+
export { breadcrumb_CurrentLink as CurrentLink, breadcrumb_Ellipsis as Ellipsis, breadcrumb_Link as Link, breadcrumb_Root as Root, type breadcrumb_RootProps as RootProps };
|
15
21
|
}
|
16
22
|
|
17
23
|
export { breadcrumb as Breadcrumb };
|
@@ -1,17 +1,23 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { Breadcrumb
|
2
|
+
import { Breadcrumb } from '@chakra-ui/react/breadcrumb';
|
3
|
+
import { SystemStyleObject } from '@chakra-ui/react/styled-system';
|
3
4
|
|
4
|
-
interface
|
5
|
+
interface RootProps extends Breadcrumb.RootProps {
|
5
6
|
separator?: React.ReactNode;
|
6
7
|
separatorGap?: SystemStyleObject['gap'];
|
7
8
|
}
|
8
|
-
declare const
|
9
|
-
declare const
|
10
|
-
declare const
|
11
|
-
declare const
|
9
|
+
declare const Root: react.ForwardRefExoticComponent<RootProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
+
declare const Link: react.ForwardRefExoticComponent<Breadcrumb.LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
11
|
+
declare const CurrentLink: react.ForwardRefExoticComponent<Breadcrumb.CurrentLinkProps & react.RefAttributes<HTMLElement>>;
|
12
|
+
declare const Ellipsis: react.ForwardRefExoticComponent<Breadcrumb.EllipsisProps & react.RefAttributes<HTMLElement>>;
|
12
13
|
|
14
|
+
declare const breadcrumb_CurrentLink: typeof CurrentLink;
|
15
|
+
declare const breadcrumb_Ellipsis: typeof Ellipsis;
|
16
|
+
declare const breadcrumb_Link: typeof Link;
|
17
|
+
declare const breadcrumb_Root: typeof Root;
|
18
|
+
type breadcrumb_RootProps = RootProps;
|
13
19
|
declare namespace breadcrumb {
|
14
|
-
export {
|
20
|
+
export { breadcrumb_CurrentLink as CurrentLink, breadcrumb_Ellipsis as Ellipsis, breadcrumb_Link as Link, breadcrumb_Root as Root, type breadcrumb_RootProps as RootProps };
|
15
21
|
}
|
16
22
|
|
17
23
|
export { breadcrumb as Breadcrumb };
|
@@ -21,26 +21,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
21
21
|
// src/components/button/index.ts
|
22
22
|
var button_exports = {};
|
23
23
|
__export(button_exports, {
|
24
|
-
Button: () => Button
|
24
|
+
Button: () => import_button.Button
|
25
25
|
});
|
26
26
|
module.exports = __toCommonJS(button_exports);
|
27
|
-
|
28
|
-
// src/components/button/button.tsx
|
29
|
-
var import_react = require("react");
|
30
|
-
var import_react2 = require("@chakra-ui/react");
|
31
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
32
|
-
var Button = (0, import_react.forwardRef)(
|
33
|
-
function Button2(props, ref) {
|
34
|
-
const { loading, disabled, loadingText, children, ...rest } = props;
|
35
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Button, { disabled: loading || disabled, ref, ...rest, children: loading && !loadingText ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
36
|
-
/* @__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" }) }),
|
37
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Span, { opacity: 0, children })
|
38
|
-
] }) : loading && loadingText ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
39
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Spinner, { size: "inherit", color: "inherit" }),
|
40
|
-
loadingText
|
41
|
-
] }) : children });
|
42
|
-
}
|
43
|
-
);
|
27
|
+
var import_button = require("@chakra-ui/react/button");
|
44
28
|
// Annotate the CommonJS export names for ESM import in node:
|
45
29
|
0 && (module.exports = {
|
46
30
|
Button
|
@@ -1,12 +1 @@
|
|
1
|
-
|
2
|
-
import { ButtonProps as ButtonProps$1 } from '@chakra-ui/react';
|
3
|
-
|
4
|
-
interface ButtonLoadingProps {
|
5
|
-
loading?: boolean;
|
6
|
-
loadingText?: React.ReactNode;
|
7
|
-
}
|
8
|
-
interface ButtonProps extends ButtonProps$1, ButtonLoadingProps {
|
9
|
-
}
|
10
|
-
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
11
|
-
|
12
|
-
export { Button, type ButtonProps };
|
1
|
+
export { Button, ButtonProps } from '@chakra-ui/react/button';
|
@@ -1,12 +1 @@
|
|
1
|
-
|
2
|
-
import { ButtonProps as ButtonProps$1 } from '@chakra-ui/react';
|
3
|
-
|
4
|
-
interface ButtonLoadingProps {
|
5
|
-
loading?: boolean;
|
6
|
-
loadingText?: React.ReactNode;
|
7
|
-
}
|
8
|
-
interface ButtonProps extends ButtonProps$1, ButtonLoadingProps {
|
9
|
-
}
|
10
|
-
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
11
|
-
|
12
|
-
export { Button, type ButtonProps };
|
1
|
+
export { Button, ButtonProps } from '@chakra-ui/react/button';
|
@@ -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/button-group/index.ts
|
22
|
+
var button_group_exports = {};
|
23
|
+
__export(button_group_exports, {
|
24
|
+
ButtonGroup: () => import_button.ButtonGroup
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(button_group_exports);
|
27
|
+
var import_button = require("@chakra-ui/react/button");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
ButtonGroup
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ButtonGroup, ButtonGroupProps } from '@chakra-ui/react/button';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ButtonGroup, ButtonGroupProps } from '@chakra-ui/react/button';
|
@@ -1,5 +1,6 @@
|
|
1
1
|
'use client'
|
2
2
|
"use strict";
|
3
|
+
"use client";
|
3
4
|
var __defProp = Object.defineProperty;
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
@@ -21,10 +22,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
21
22
|
// src/components/card/index.ts
|
22
23
|
var card_exports = {};
|
23
24
|
__export(card_exports, {
|
24
|
-
Card: () =>
|
25
|
+
Card: () => import_card.Card
|
25
26
|
});
|
26
27
|
module.exports = __toCommonJS(card_exports);
|
27
|
-
var
|
28
|
+
var import_card = require("@chakra-ui/react/card");
|
28
29
|
// Annotate the CommonJS export names for ESM import in node:
|
29
30
|
0 && (module.exports = {
|
30
31
|
Card
|
@@ -1 +1 @@
|
|
1
|
-
export { Card } from '@chakra-ui/react';
|
1
|
+
export { Card } from '@chakra-ui/react/card';
|
@@ -1 +1 @@
|
|
1
|
-
export { Card } from '@chakra-ui/react';
|
1
|
+
export { Card } from '@chakra-ui/react/card';
|
@@ -27,15 +27,15 @@ module.exports = __toCommonJS(checkbox_exports);
|
|
27
27
|
|
28
28
|
// src/components/checkbox/checkbox.tsx
|
29
29
|
var import_react = require("react");
|
30
|
-
var
|
30
|
+
var import_checkbox = require("@chakra-ui/react/checkbox");
|
31
31
|
var import_jsx_runtime = require("react/jsx-runtime");
|
32
32
|
var Checkbox = (0, import_react.forwardRef)(
|
33
33
|
function Checkbox2(props, ref) {
|
34
34
|
const { icon, children, inputProps, rootRef, ...rest } = props;
|
35
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
36
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
37
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
38
|
-
children != null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
35
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_checkbox.Checkbox.Root, { ref: rootRef, ...rest, children: [
|
36
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox.Checkbox.HiddenInput, { ref, ...inputProps }),
|
37
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox.Checkbox.Control, { children: icon || /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox.Checkbox.Indicator, {}) }),
|
38
|
+
children != null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox.Checkbox.Label, { children })
|
39
39
|
] });
|
40
40
|
}
|
41
41
|
);
|
@@ -0,0 +1,66 @@
|
|
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/checkbox-card/index.ts
|
22
|
+
var checkbox_card_exports = {};
|
23
|
+
__export(checkbox_card_exports, {
|
24
|
+
CheckboxCard: () => CheckboxCard
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(checkbox_card_exports);
|
27
|
+
|
28
|
+
// src/components/checkbox-card/checkbox-card.tsx
|
29
|
+
var import_react = require("react");
|
30
|
+
var import_checkbox_card = require("@chakra-ui/react/checkbox-card");
|
31
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
32
|
+
var CheckboxCard = (0, import_react.forwardRef)(
|
33
|
+
function CheckboxCard2(props, ref) {
|
34
|
+
const {
|
35
|
+
inputProps,
|
36
|
+
label,
|
37
|
+
description,
|
38
|
+
icon,
|
39
|
+
addon,
|
40
|
+
indicator = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox_card.CheckboxCard.Indicator, {}),
|
41
|
+
indicatorPlacement = "end",
|
42
|
+
...rest
|
43
|
+
} = props;
|
44
|
+
const hasContent = label || description || icon;
|
45
|
+
const ContentWrapper = indicator ? import_checkbox_card.CheckboxCard.Content : import_react.Fragment;
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_checkbox_card.CheckboxCard.Root, { ...rest, children: [
|
47
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox_card.CheckboxCard.HiddenInput, { ref, ...inputProps }),
|
48
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_checkbox_card.CheckboxCard.Control, { children: [
|
49
|
+
indicatorPlacement === "start" && indicator,
|
50
|
+
hasContent && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ContentWrapper, { children: [
|
51
|
+
icon,
|
52
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox_card.CheckboxCard.Label, { children: label }),
|
53
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox_card.CheckboxCard.Description, { children: description }),
|
54
|
+
indicatorPlacement === "inside" && indicator
|
55
|
+
] }),
|
56
|
+
indicatorPlacement === "end" && indicator
|
57
|
+
] }),
|
58
|
+
addon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_checkbox_card.CheckboxCard.Addon, { children: addon })
|
59
|
+
] });
|
60
|
+
}
|
61
|
+
);
|
62
|
+
var CheckboxCardIndicator = import_checkbox_card.CheckboxCard.Indicator;
|
63
|
+
// Annotate the CommonJS export names for ESM import in node:
|
64
|
+
0 && (module.exports = {
|
65
|
+
CheckboxCard
|
66
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { CheckboxCard as CheckboxCard$1 } from '@chakra-ui/react/checkbox-card';
|
3
|
+
|
4
|
+
interface CheckboxCardProps extends CheckboxCard$1.RootProps {
|
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 CheckboxCard: react.ForwardRefExoticComponent<CheckboxCardProps & react.RefAttributes<HTMLInputElement>>;
|
14
|
+
|
15
|
+
export { CheckboxCard, type CheckboxCardProps };
|