@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
@@ -31,7 +31,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
31
31
|
// src/components/file-upload/index.ts
|
32
32
|
var file_upload_exports2 = {};
|
33
33
|
__export(file_upload_exports2, {
|
34
|
-
FileUpload: () => file_upload_exports
|
34
|
+
FileUpload: () => file_upload_exports,
|
35
|
+
useFileUploadContext: () => import_file_upload2.useFileUploadContext
|
35
36
|
});
|
36
37
|
module.exports = __toCommonJS(file_upload_exports2);
|
37
38
|
|
@@ -47,16 +48,38 @@ __export(file_upload_exports, {
|
|
47
48
|
Trigger: () => Trigger
|
48
49
|
});
|
49
50
|
var React = __toESM(require("react"), 1);
|
50
|
-
var
|
51
|
+
var import_react3 = require("@chakra-ui/react");
|
52
|
+
var import_file_upload = require("@chakra-ui/react/file-upload");
|
53
|
+
var import_styled_system = require("@chakra-ui/react/styled-system");
|
54
|
+
|
55
|
+
// src/components/button/index.ts
|
56
|
+
var import_button = require("@chakra-ui/react/button");
|
51
57
|
|
52
58
|
// src/components/close-button/close-button.tsx
|
53
59
|
var import_react2 = require("react");
|
54
|
-
|
60
|
+
|
61
|
+
// src/components/icon-button/icon-button.tsx
|
62
|
+
var import_react = require("react");
|
63
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
64
|
+
var IconButton = (0, import_react.forwardRef)(
|
65
|
+
function IconButton2(props, ref) {
|
66
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
67
|
+
import_button.Button,
|
68
|
+
{
|
69
|
+
px: "0",
|
70
|
+
py: "0",
|
71
|
+
_icon: { fontSize: "1.2em" },
|
72
|
+
ref,
|
73
|
+
...props
|
74
|
+
}
|
75
|
+
);
|
76
|
+
}
|
77
|
+
);
|
55
78
|
|
56
79
|
// src/components/icons/create-icon.tsx
|
57
|
-
var
|
80
|
+
var import_icon = require("@chakra-ui/react/icon");
|
58
81
|
var createIcon = (props) => {
|
59
|
-
return (0,
|
82
|
+
return (0, import_icon.createIcon)({
|
60
83
|
viewBox: "0 0 24 24",
|
61
84
|
defaultProps: {
|
62
85
|
fill: "none",
|
@@ -70,112 +93,127 @@ var createIcon = (props) => {
|
|
70
93
|
};
|
71
94
|
|
72
95
|
// src/components/icons/icons.tsx
|
73
|
-
var
|
96
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
74
97
|
var ChevronUpIcon = createIcon({
|
75
98
|
displayName: "ChevronUpIcon",
|
76
|
-
path: /* @__PURE__ */ (0,
|
99
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "18 15 12 9 6 15" })
|
77
100
|
});
|
78
101
|
var ChevronDownIcon = createIcon({
|
79
102
|
displayName: "ChevronDownIcon",
|
80
|
-
path: /* @__PURE__ */ (0,
|
103
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "6 9 12 15 18 9" })
|
81
104
|
});
|
82
105
|
var ChevronLeftIcon = createIcon({
|
83
106
|
displayName: "ChevronLeftIcon",
|
84
|
-
path: /* @__PURE__ */ (0,
|
107
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
85
108
|
});
|
86
109
|
var ChevronRightIcon = createIcon({
|
87
110
|
displayName: "ChevronRightIcon",
|
88
|
-
path: /* @__PURE__ */ (0,
|
111
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
89
112
|
});
|
90
113
|
var HamburgerIcon = createIcon({
|
91
114
|
displayName: "ChevronDownIcon",
|
92
|
-
path: /* @__PURE__ */ (0,
|
93
|
-
/* @__PURE__ */ (0,
|
94
|
-
/* @__PURE__ */ (0,
|
95
|
-
/* @__PURE__ */ (0,
|
115
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { fill: "none", children: [
|
116
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
117
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
118
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
96
119
|
] })
|
97
120
|
});
|
98
121
|
var CloseIcon = createIcon({
|
99
122
|
displayName: "CloseIcon",
|
100
|
-
path: /* @__PURE__ */ (0,
|
101
|
-
/* @__PURE__ */ (0,
|
102
|
-
/* @__PURE__ */ (0,
|
123
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
124
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
125
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
103
126
|
] })
|
104
127
|
});
|
105
128
|
var FilterIcon = createIcon({
|
106
129
|
displayName: "FilterIcon",
|
107
|
-
path: /* @__PURE__ */ (0,
|
130
|
+
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" })
|
108
131
|
});
|
109
132
|
var CalendarIcon = createIcon({
|
110
133
|
displayName: "CalendarIcon",
|
111
|
-
path: /* @__PURE__ */ (0,
|
112
|
-
/* @__PURE__ */ (0,
|
113
|
-
/* @__PURE__ */ (0,
|
114
|
-
/* @__PURE__ */ (0,
|
115
|
-
/* @__PURE__ */ (0,
|
134
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
135
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
136
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
137
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
138
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
116
139
|
] })
|
117
140
|
});
|
118
141
|
var PlusIcon = createIcon({
|
119
142
|
displayName: "PlusIcon",
|
120
|
-
path: /* @__PURE__ */ (0,
|
121
|
-
/* @__PURE__ */ (0,
|
122
|
-
/* @__PURE__ */ (0,
|
143
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
144
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
145
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
123
146
|
] })
|
124
147
|
});
|
125
148
|
var MinusIcon = createIcon({
|
126
149
|
displayName: "MinusIcon",
|
127
|
-
path: /* @__PURE__ */ (0,
|
150
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
128
151
|
});
|
129
152
|
var ViewOffIcon = createIcon({
|
130
153
|
displayName: "ViewOffIcon",
|
131
|
-
path: /* @__PURE__ */ (0,
|
132
|
-
/* @__PURE__ */ (0,
|
133
|
-
/* @__PURE__ */ (0,
|
154
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
155
|
+
/* @__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" }),
|
156
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
134
157
|
] })
|
135
158
|
});
|
136
159
|
var ViewIcon = createIcon({
|
137
160
|
displayName: "ViewOffIcon",
|
138
|
-
path: /* @__PURE__ */ (0,
|
139
|
-
/* @__PURE__ */ (0,
|
140
|
-
/* @__PURE__ */ (0,
|
161
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
162
|
+
/* @__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" }),
|
163
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
141
164
|
] })
|
142
165
|
});
|
143
166
|
var SearchIcon = createIcon({
|
144
167
|
displayName: "SearchIcon",
|
145
|
-
path: /* @__PURE__ */ (0,
|
146
|
-
/* @__PURE__ */ (0,
|
147
|
-
/* @__PURE__ */ (0,
|
168
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
169
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
|
170
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
148
171
|
] })
|
149
172
|
});
|
150
173
|
var CheckIcon = createIcon({
|
151
174
|
displayName: "CheckIcon",
|
152
|
-
path: /* @__PURE__ */ (0,
|
175
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
153
176
|
});
|
154
177
|
var EllipsisIcon = createIcon({
|
155
178
|
displayName: "EllipsisIcon",
|
156
|
-
path: /* @__PURE__ */ (0,
|
157
|
-
/* @__PURE__ */ (0,
|
158
|
-
/* @__PURE__ */ (0,
|
159
|
-
/* @__PURE__ */ (0,
|
179
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
180
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
181
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
182
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
183
|
+
] })
|
184
|
+
});
|
185
|
+
var CopyIcon = createIcon({
|
186
|
+
displayName: "CopyIcon",
|
187
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
188
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
189
|
+
/* @__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" })
|
190
|
+
] })
|
191
|
+
});
|
192
|
+
var InfoIcon = createIcon({
|
193
|
+
displayName: "InfoIcon",
|
194
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
195
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
196
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 16v-4" }),
|
197
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 8h.01" })
|
160
198
|
] })
|
161
199
|
});
|
162
200
|
|
163
201
|
// src/components/close-button/close-button.tsx
|
164
|
-
var
|
202
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
165
203
|
var CloseButton = (0, import_react2.forwardRef)(
|
166
204
|
function CloseButton2(props, ref) {
|
167
205
|
var _a;
|
168
|
-
return /* @__PURE__ */ (0,
|
206
|
+
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, {}) });
|
169
207
|
}
|
170
208
|
);
|
171
209
|
|
172
210
|
// src/components/file-upload/file-upload.tsx
|
173
|
-
var
|
211
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
174
212
|
var Root = React.forwardRef(
|
175
213
|
function FileUploadRoot(props, ref) {
|
176
214
|
const { children, inputProps, ...rest } = props;
|
177
|
-
return /* @__PURE__ */ (0,
|
178
|
-
/* @__PURE__ */ (0,
|
215
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_file_upload.FileUpload.Root, { ...rest, children: [
|
216
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.HiddenInput, { ref, ...inputProps }),
|
179
217
|
children
|
180
218
|
] });
|
181
219
|
}
|
@@ -183,29 +221,29 @@ var Root = React.forwardRef(
|
|
183
221
|
var Dropzone = React.forwardRef(
|
184
222
|
function FileUploadDropzone(props, ref) {
|
185
223
|
const { children, ...rest } = props;
|
186
|
-
return /* @__PURE__ */ (0,
|
224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.Dropzone, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.DropzoneContent, { children }) });
|
187
225
|
}
|
188
226
|
);
|
189
227
|
var Item = React.forwardRef(
|
190
228
|
function FileUploadItem(props, ref) {
|
191
229
|
const { file, showSize, icon, clearable } = props;
|
192
|
-
return /* @__PURE__ */ (0,
|
193
|
-
/* @__PURE__ */ (0,
|
194
|
-
showSize ? /* @__PURE__ */ (0,
|
195
|
-
/* @__PURE__ */ (0,
|
196
|
-
/* @__PURE__ */ (0,
|
197
|
-
] }) : /* @__PURE__ */ (0,
|
198
|
-
clearable && /* @__PURE__ */ (0,
|
230
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_file_upload.FileUpload.Item, { file, ref, children: [
|
231
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.ItemPreview, { children: icon }),
|
232
|
+
showSize ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_file_upload.FileUpload.ItemContent, { children: [
|
233
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.ItemName, {}),
|
234
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.ItemSizeText, {})
|
235
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.ItemName, { flex: "1" }),
|
236
|
+
clearable && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.ItemDeleteTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CloseButton, { size: "xs" }) })
|
199
237
|
] });
|
200
238
|
}
|
201
239
|
);
|
202
240
|
var List = React.forwardRef(
|
203
241
|
function FileUploadList(props, ref) {
|
204
242
|
const { showSize, clearable, files, ...rest } = props;
|
205
|
-
const fileUpload = (0,
|
243
|
+
const fileUpload = (0, import_file_upload.useFileUploadContext)();
|
206
244
|
const acceptedFiles = files != null ? files : fileUpload.acceptedFiles;
|
207
245
|
if (acceptedFiles.length === 0) return null;
|
208
|
-
return /* @__PURE__ */ (0,
|
246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.ItemGroup, { ref, ...rest, children: acceptedFiles.map((file) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
209
247
|
Item,
|
210
248
|
{
|
211
249
|
file,
|
@@ -218,37 +256,41 @@ var List = React.forwardRef(
|
|
218
256
|
);
|
219
257
|
var Input = React.forwardRef(
|
220
258
|
function FileInput(props, ref) {
|
221
|
-
const inputRecipe = (0,
|
259
|
+
const inputRecipe = (0, import_styled_system.useRecipe)({ key: "input" });
|
222
260
|
const [recipeProps, restProps] = inputRecipe.splitVariantProps(props);
|
223
261
|
const { placeholder = "Select file(s)", ...rest } = restProps;
|
224
|
-
return /* @__PURE__ */ (0,
|
225
|
-
|
262
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
263
|
+
import_button.Button,
|
226
264
|
{
|
227
265
|
unstyled: true,
|
228
266
|
py: "0",
|
229
267
|
ref,
|
230
268
|
...rest,
|
231
269
|
css: [inputRecipe(recipeProps), props.css],
|
232
|
-
children: /* @__PURE__ */ (0,
|
270
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_file_upload.FileUpload.Context, { children: ({ acceptedFiles }) => {
|
233
271
|
if (acceptedFiles.length === 1) {
|
234
|
-
return /* @__PURE__ */ (0,
|
272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: acceptedFiles[0].name });
|
235
273
|
}
|
236
274
|
if (acceptedFiles.length > 1) {
|
237
|
-
return /* @__PURE__ */ (0,
|
275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { children: [
|
238
276
|
acceptedFiles.length,
|
239
277
|
" files"
|
240
278
|
] });
|
241
279
|
}
|
242
|
-
return /* @__PURE__ */ (0,
|
280
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react3.Span, { color: "fg.subtle", children: placeholder });
|
243
281
|
} })
|
244
282
|
}
|
245
283
|
) });
|
246
284
|
}
|
247
285
|
);
|
248
|
-
var Label =
|
249
|
-
var ClearTrigger =
|
250
|
-
var Trigger =
|
286
|
+
var Label = import_file_upload.FileUpload.Label;
|
287
|
+
var ClearTrigger = import_file_upload.FileUpload.ClearTrigger;
|
288
|
+
var Trigger = import_file_upload.FileUpload.Trigger;
|
289
|
+
|
290
|
+
// src/components/file-upload/index.ts
|
291
|
+
var import_file_upload2 = require("@chakra-ui/react/file-upload");
|
251
292
|
// Annotate the CommonJS export names for ESM import in node:
|
252
293
|
0 && (module.exports = {
|
253
|
-
FileUpload
|
294
|
+
FileUpload,
|
295
|
+
useFileUploadContext
|
254
296
|
});
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
2
|
-
import { FileUpload, ButtonProps, RecipeProps } from '@chakra-ui/react';
|
3
2
|
import * as react from 'react';
|
3
|
+
import { FileUpload } from '@chakra-ui/react/file-upload';
|
4
|
+
export { useFileUploadContext } from '@chakra-ui/react/file-upload';
|
5
|
+
import { RecipeProps } from '@chakra-ui/react/styled-system';
|
6
|
+
import { ButtonProps } from '@chakra-ui/react/button';
|
4
7
|
|
5
8
|
interface RootProps extends FileUpload.RootProps {
|
6
9
|
inputProps?: react.InputHTMLAttributes<HTMLInputElement>;
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
2
|
-
import { FileUpload, ButtonProps, RecipeProps } from '@chakra-ui/react';
|
3
2
|
import * as react from 'react';
|
3
|
+
import { FileUpload } from '@chakra-ui/react/file-upload';
|
4
|
+
export { useFileUploadContext } from '@chakra-ui/react/file-upload';
|
5
|
+
import { RecipeProps } from '@chakra-ui/react/styled-system';
|
6
|
+
import { ButtonProps } from '@chakra-ui/react/button';
|
4
7
|
|
5
8
|
interface RootProps extends FileUpload.RootProps {
|
6
9
|
inputProps?: react.InputHTMLAttributes<HTMLInputElement>;
|
@@ -1,10 +1,14 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
|
-
file_upload_exports
|
4
|
-
|
5
|
-
|
6
|
-
import "../../chunk-
|
3
|
+
file_upload_exports,
|
4
|
+
useFileUploadContext
|
5
|
+
} from "../../chunk-T2FPZNCP.js";
|
6
|
+
import "../../chunk-H7KPEI6P.js";
|
7
|
+
import "../../chunk-OJZPPAT6.js";
|
8
|
+
import "../../chunk-5HVAMQYO.js";
|
9
|
+
import "../../chunk-4XB7B73X.js";
|
7
10
|
import "../../chunk-RTMS5TJN.js";
|
8
11
|
export {
|
9
|
-
file_upload_exports as FileUpload
|
12
|
+
file_upload_exports as FileUpload,
|
13
|
+
useFileUploadContext
|
10
14
|
};
|
@@ -36,12 +36,12 @@ __export(grid_list_exports, {
|
|
36
36
|
var import_grid_list = require("@saas-ui/core/grid-list");
|
37
37
|
|
38
38
|
// src/components/grid-list/grid-list.context.ts
|
39
|
-
var
|
39
|
+
var import_styled_system = require("@chakra-ui/react/styled-system");
|
40
40
|
var {
|
41
41
|
withProvider,
|
42
42
|
withContext,
|
43
43
|
useStyles: useGridListStyles
|
44
|
-
} = (0,
|
44
|
+
} = (0, import_styled_system.createSlotRecipeContext)({
|
45
45
|
key: "suiGridList"
|
46
46
|
});
|
47
47
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import
|
3
|
-
import { RecipeVariantProps, HTMLChakraProps } from '@chakra-ui/react';
|
2
|
+
import { RecipeVariantProps, HTMLChakraProps } from '@chakra-ui/react/styled-system';
|
4
3
|
import { GridList } from '@saas-ui/core/grid-list';
|
5
4
|
import { S as SlotRecipeProps } from '../../types-DnFoUudY.cjs';
|
5
|
+
import * as _chakra_ui_react from '@chakra-ui/react';
|
6
6
|
|
7
7
|
declare const gridListSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell" | "root" | "item" | "header", {
|
8
8
|
interactive: {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import
|
3
|
-
import { RecipeVariantProps, HTMLChakraProps } from '@chakra-ui/react';
|
2
|
+
import { RecipeVariantProps, HTMLChakraProps } from '@chakra-ui/react/styled-system';
|
4
3
|
import { GridList } from '@saas-ui/core/grid-list';
|
5
4
|
import { S as SlotRecipeProps } from '../../types-DnFoUudY.js';
|
5
|
+
import * as _chakra_ui_react from '@chakra-ui/react';
|
6
6
|
|
7
7
|
declare const gridListSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell" | "root" | "item" | "header", {
|
8
8
|
interactive: {
|
@@ -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/heading/index.ts
|
22
|
+
var heading_exports = {};
|
23
|
+
__export(heading_exports, {
|
24
|
+
Heading: () => import_typography.Heading
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(heading_exports);
|
27
|
+
var import_typography = require("@chakra-ui/react/typography");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Heading
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Heading, HeadingProps } from '@chakra-ui/react/typography';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Heading, HeadingProps } from '@chakra-ui/react/typography';
|
@@ -0,0 +1,66 @@
|
|
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/hover-card/index.ts
|
32
|
+
var hover_card_exports2 = {};
|
33
|
+
__export(hover_card_exports2, {
|
34
|
+
HoverCard: () => hover_card_exports
|
35
|
+
});
|
36
|
+
module.exports = __toCommonJS(hover_card_exports2);
|
37
|
+
|
38
|
+
// src/components/hover-card/hover-card.tsx
|
39
|
+
var hover_card_exports = {};
|
40
|
+
__export(hover_card_exports, {
|
41
|
+
Arrow: () => Arrow,
|
42
|
+
Content: () => Content,
|
43
|
+
Root: () => Root,
|
44
|
+
Trigger: () => Trigger
|
45
|
+
});
|
46
|
+
var React = __toESM(require("react"), 1);
|
47
|
+
var import_hover_card = require("@chakra-ui/react/hover-card");
|
48
|
+
var import_portal = require("@chakra-ui/react/portal");
|
49
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
50
|
+
var Content = React.forwardRef(
|
51
|
+
function HoverCardContent(props, ref) {
|
52
|
+
const { portalled = true, portalRef, ...rest } = props;
|
53
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_hover_card.HoverCard.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_hover_card.HoverCard.Content, { ref, ...rest }) }) });
|
54
|
+
}
|
55
|
+
);
|
56
|
+
var Arrow = React.forwardRef(
|
57
|
+
function HoverCardArrow(props, ref) {
|
58
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_hover_card.HoverCard.Arrow, { ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_hover_card.HoverCard.ArrowTip, {}) });
|
59
|
+
}
|
60
|
+
);
|
61
|
+
var Root = import_hover_card.HoverCard.Root;
|
62
|
+
var Trigger = import_hover_card.HoverCard.Trigger;
|
63
|
+
// Annotate the CommonJS export names for ESM import in node:
|
64
|
+
0 && (module.exports = {
|
65
|
+
HoverCard
|
66
|
+
});
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { HoverCard } from '@chakra-ui/react/hover-card';
|
3
|
+
|
4
|
+
interface ContentProps extends HoverCard.ContentProps {
|
5
|
+
portalled?: boolean;
|
6
|
+
portalRef?: react.RefObject<HTMLElement>;
|
7
|
+
}
|
8
|
+
declare const Content: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
|
9
|
+
declare const Arrow: react.ForwardRefExoticComponent<HoverCard.ArrowProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
+
declare const Root: react.FC<HoverCard.RootProps>;
|
11
|
+
declare const Trigger: react.ForwardRefExoticComponent<HoverCard.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
12
|
+
|
13
|
+
declare const hoverCard_Arrow: typeof Arrow;
|
14
|
+
declare const hoverCard_Content: typeof Content;
|
15
|
+
declare const hoverCard_Root: typeof Root;
|
16
|
+
declare const hoverCard_Trigger: typeof Trigger;
|
17
|
+
declare namespace hoverCard {
|
18
|
+
export { hoverCard_Arrow as Arrow, hoverCard_Content as Content, hoverCard_Root as Root, hoverCard_Trigger as Trigger };
|
19
|
+
}
|
20
|
+
|
21
|
+
export { hoverCard as HoverCard };
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { HoverCard } from '@chakra-ui/react/hover-card';
|
3
|
+
|
4
|
+
interface ContentProps extends HoverCard.ContentProps {
|
5
|
+
portalled?: boolean;
|
6
|
+
portalRef?: react.RefObject<HTMLElement>;
|
7
|
+
}
|
8
|
+
declare const Content: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
|
9
|
+
declare const Arrow: react.ForwardRefExoticComponent<HoverCard.ArrowProps & react.RefAttributes<HTMLDivElement>>;
|
10
|
+
declare const Root: react.FC<HoverCard.RootProps>;
|
11
|
+
declare const Trigger: react.ForwardRefExoticComponent<HoverCard.TriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
12
|
+
|
13
|
+
declare const hoverCard_Arrow: typeof Arrow;
|
14
|
+
declare const hoverCard_Content: typeof Content;
|
15
|
+
declare const hoverCard_Root: typeof Root;
|
16
|
+
declare const hoverCard_Trigger: typeof Trigger;
|
17
|
+
declare namespace hoverCard {
|
18
|
+
export { hoverCard_Arrow as Arrow, hoverCard_Content as Content, hoverCard_Root as Root, hoverCard_Trigger as Trigger };
|
19
|
+
}
|
20
|
+
|
21
|
+
export { hoverCard as HoverCard };
|
@@ -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/icon/index.ts
|
22
|
+
var icon_exports = {};
|
23
|
+
__export(icon_exports, {
|
24
|
+
Icon: () => import_icon.Icon
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(icon_exports);
|
27
|
+
var import_icon = require("@chakra-ui/react/icon");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Icon
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Icon, IconProps } from '@chakra-ui/react/icon';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Icon, IconProps } from '@chakra-ui/react/icon';
|