@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
@@ -38,13 +38,13 @@ module.exports = __toCommonJS(icon_badge_exports);
|
|
38
38
|
// src/components/icon-badge/icon-badge.tsx
|
39
39
|
var React = __toESM(require("react"), 1);
|
40
40
|
var import_react = require("react");
|
41
|
-
var
|
41
|
+
var import_styled_system = require("@chakra-ui/react/styled-system");
|
42
42
|
var import_utils = require("@saas-ui/core/utils");
|
43
43
|
var import_jsx_runtime = require("react/jsx-runtime");
|
44
44
|
var IconBadge = React.forwardRef(
|
45
45
|
(props, ref) => {
|
46
46
|
const { icon, children, ...rest } = props;
|
47
|
-
const recipe = (0,
|
47
|
+
const recipe = (0, import_styled_system.useRecipe)({ key: "suiIconBadge", recipe: props.recipe });
|
48
48
|
const [variantProps, localProps] = recipe.splitVariantProps(rest);
|
49
49
|
const styles = recipe(variantProps);
|
50
50
|
const element = icon || children;
|
@@ -53,7 +53,7 @@ var IconBadge = React.forwardRef(
|
|
53
53
|
focusable: false
|
54
54
|
}) : null;
|
55
55
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
56
|
-
|
56
|
+
import_styled_system.chakra.div,
|
57
57
|
{
|
58
58
|
ref,
|
59
59
|
...localProps,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { HTMLChakraProps, RecipeProps } from '@chakra-ui/react';
|
2
|
+
import { HTMLChakraProps, RecipeProps } from '@chakra-ui/react/styled-system';
|
3
3
|
|
4
4
|
interface IconBadgeProps extends HTMLChakraProps<'div'>, RecipeProps<'suiIconBadge'> {
|
5
5
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { HTMLChakraProps, RecipeProps } from '@chakra-ui/react';
|
2
|
+
import { HTMLChakraProps, RecipeProps } from '@chakra-ui/react/styled-system';
|
3
3
|
|
4
4
|
interface IconBadgeProps extends HTMLChakraProps<'div'>, RecipeProps<'suiIconBadge'> {
|
5
5
|
/**
|
@@ -26,31 +26,17 @@ __export(icon_button_exports, {
|
|
26
26
|
module.exports = __toCommonJS(icon_button_exports);
|
27
27
|
|
28
28
|
// src/components/icon-button/icon-button.tsx
|
29
|
-
var import_react3 = require("react");
|
30
|
-
|
31
|
-
// src/components/button/button.tsx
|
32
29
|
var import_react = require("react");
|
33
|
-
|
34
|
-
|
35
|
-
var
|
36
|
-
function Button2(props, ref) {
|
37
|
-
const { loading, disabled, loadingText, children, ...rest } = props;
|
38
|
-
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: [
|
39
|
-
/* @__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" }) }),
|
40
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Span, { opacity: 0, children })
|
41
|
-
] }) : loading && loadingText ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
42
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Spinner, { size: "inherit", color: "inherit" }),
|
43
|
-
loadingText
|
44
|
-
] }) : children });
|
45
|
-
}
|
46
|
-
);
|
30
|
+
|
31
|
+
// src/components/button/index.ts
|
32
|
+
var import_button = require("@chakra-ui/react/button");
|
47
33
|
|
48
34
|
// src/components/icon-button/icon-button.tsx
|
49
|
-
var
|
50
|
-
var IconButton = (0,
|
35
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
36
|
+
var IconButton = (0, import_react.forwardRef)(
|
51
37
|
function IconButton2(props, ref) {
|
52
|
-
return /* @__PURE__ */ (0,
|
53
|
-
Button,
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
39
|
+
import_button.Button,
|
54
40
|
{
|
55
41
|
px: "0",
|
56
42
|
py: "0",
|
@@ -28,9 +28,11 @@ __export(icons_exports, {
|
|
28
28
|
ChevronRightIcon: () => ChevronRightIcon,
|
29
29
|
ChevronUpIcon: () => ChevronUpIcon,
|
30
30
|
CloseIcon: () => CloseIcon,
|
31
|
+
CopyIcon: () => CopyIcon,
|
31
32
|
EllipsisIcon: () => EllipsisIcon,
|
32
33
|
FilterIcon: () => FilterIcon,
|
33
34
|
HamburgerIcon: () => HamburgerIcon,
|
35
|
+
InfoIcon: () => InfoIcon,
|
34
36
|
MinusIcon: () => MinusIcon,
|
35
37
|
PlusIcon: () => PlusIcon,
|
36
38
|
SearchIcon: () => SearchIcon,
|
@@ -40,9 +42,9 @@ __export(icons_exports, {
|
|
40
42
|
module.exports = __toCommonJS(icons_exports);
|
41
43
|
|
42
44
|
// src/components/icons/create-icon.tsx
|
43
|
-
var
|
45
|
+
var import_icon = require("@chakra-ui/react/icon");
|
44
46
|
var createIcon = (props) => {
|
45
|
-
return (0,
|
47
|
+
return (0, import_icon.createIcon)({
|
46
48
|
viewBox: "0 0 24 24",
|
47
49
|
defaultProps: {
|
48
50
|
fill: "none",
|
@@ -145,6 +147,21 @@ var EllipsisIcon = createIcon({
|
|
145
147
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
146
148
|
] })
|
147
149
|
});
|
150
|
+
var CopyIcon = createIcon({
|
151
|
+
displayName: "CopyIcon",
|
152
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
153
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
154
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
155
|
+
] })
|
156
|
+
});
|
157
|
+
var InfoIcon = createIcon({
|
158
|
+
displayName: "InfoIcon",
|
159
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
160
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
161
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
|
162
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
163
|
+
] })
|
164
|
+
});
|
148
165
|
// Annotate the CommonJS export names for ESM import in node:
|
149
166
|
0 && (module.exports = {
|
150
167
|
CalendarIcon,
|
@@ -154,9 +171,11 @@ var EllipsisIcon = createIcon({
|
|
154
171
|
ChevronRightIcon,
|
155
172
|
ChevronUpIcon,
|
156
173
|
CloseIcon,
|
174
|
+
CopyIcon,
|
157
175
|
EllipsisIcon,
|
158
176
|
FilterIcon,
|
159
177
|
HamburgerIcon,
|
178
|
+
InfoIcon,
|
160
179
|
MinusIcon,
|
161
180
|
PlusIcon,
|
162
181
|
SearchIcon,
|
@@ -16,5 +16,7 @@ declare const ViewIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconPro
|
|
16
16
|
declare const SearchIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
17
17
|
declare const CheckIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
18
18
|
declare const EllipsisIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
19
|
+
declare const CopyIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
20
|
+
declare const InfoIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
19
21
|
|
20
|
-
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, EllipsisIcon, FilterIcon, HamburgerIcon, MinusIcon, PlusIcon, SearchIcon, ViewIcon, ViewOffIcon };
|
22
|
+
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, EllipsisIcon, FilterIcon, HamburgerIcon, InfoIcon, MinusIcon, PlusIcon, SearchIcon, ViewIcon, ViewOffIcon };
|
@@ -16,5 +16,7 @@ declare const ViewIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconPro
|
|
16
16
|
declare const SearchIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
17
17
|
declare const CheckIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
18
18
|
declare const EllipsisIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
19
|
+
declare const CopyIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
20
|
+
declare const InfoIcon: react.ForwardRefExoticComponent<_chakra_ui_react.IconProps & react.RefAttributes<SVGSVGElement>>;
|
19
21
|
|
20
|
-
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, EllipsisIcon, FilterIcon, HamburgerIcon, MinusIcon, PlusIcon, SearchIcon, ViewIcon, ViewOffIcon };
|
22
|
+
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CopyIcon, EllipsisIcon, FilterIcon, HamburgerIcon, InfoIcon, MinusIcon, PlusIcon, SearchIcon, ViewIcon, ViewOffIcon };
|
@@ -8,15 +8,17 @@ import {
|
|
8
8
|
ChevronRightIcon,
|
9
9
|
ChevronUpIcon,
|
10
10
|
CloseIcon,
|
11
|
+
CopyIcon,
|
11
12
|
EllipsisIcon,
|
12
13
|
FilterIcon,
|
13
14
|
HamburgerIcon,
|
15
|
+
InfoIcon,
|
14
16
|
MinusIcon,
|
15
17
|
PlusIcon,
|
16
18
|
SearchIcon,
|
17
19
|
ViewIcon,
|
18
20
|
ViewOffIcon
|
19
|
-
} from "../../chunk-
|
21
|
+
} from "../../chunk-4XB7B73X.js";
|
20
22
|
import "../../chunk-RTMS5TJN.js";
|
21
23
|
export {
|
22
24
|
CalendarIcon,
|
@@ -26,9 +28,11 @@ export {
|
|
26
28
|
ChevronRightIcon,
|
27
29
|
ChevronUpIcon,
|
28
30
|
CloseIcon,
|
31
|
+
CopyIcon,
|
29
32
|
EllipsisIcon,
|
30
33
|
FilterIcon,
|
31
34
|
HamburgerIcon,
|
35
|
+
InfoIcon,
|
32
36
|
MinusIcon,
|
33
37
|
PlusIcon,
|
34
38
|
SearchIcon,
|
@@ -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/image/index.ts
|
22
|
+
var image_exports = {};
|
23
|
+
__export(image_exports, {
|
24
|
+
Image: () => import_image.Image
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(image_exports);
|
27
|
+
var import_image = require("@chakra-ui/react/image");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Image
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Image, ImageProps } from '@chakra-ui/react/image';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Image, ImageProps } from '@chakra-ui/react/image';
|
@@ -0,0 +1,299 @@
|
|
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/info-tip/index.ts
|
32
|
+
var info_tip_exports = {};
|
33
|
+
__export(info_tip_exports, {
|
34
|
+
InfoTip: () => InfoTip
|
35
|
+
});
|
36
|
+
module.exports = __toCommonJS(info_tip_exports);
|
37
|
+
|
38
|
+
// src/components/info-tip/info-tip.tsx
|
39
|
+
var React3 = __toESM(require("react"), 1);
|
40
|
+
|
41
|
+
// src/components/icon-button/icon-button.tsx
|
42
|
+
var import_react = require("react");
|
43
|
+
|
44
|
+
// src/components/button/index.ts
|
45
|
+
var import_button = require("@chakra-ui/react/button");
|
46
|
+
|
47
|
+
// src/components/icon-button/icon-button.tsx
|
48
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
49
|
+
var IconButton = (0, import_react.forwardRef)(
|
50
|
+
function IconButton2(props, ref) {
|
51
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
52
|
+
import_button.Button,
|
53
|
+
{
|
54
|
+
px: "0",
|
55
|
+
py: "0",
|
56
|
+
_icon: { fontSize: "1.2em" },
|
57
|
+
ref,
|
58
|
+
...props
|
59
|
+
}
|
60
|
+
);
|
61
|
+
}
|
62
|
+
);
|
63
|
+
|
64
|
+
// src/components/icons/create-icon.tsx
|
65
|
+
var import_icon = require("@chakra-ui/react/icon");
|
66
|
+
var createIcon = (props) => {
|
67
|
+
return (0, import_icon.createIcon)({
|
68
|
+
viewBox: "0 0 24 24",
|
69
|
+
defaultProps: {
|
70
|
+
fill: "none",
|
71
|
+
stroke: "currentColor",
|
72
|
+
strokeWidth: "2",
|
73
|
+
strokeLinecap: "round",
|
74
|
+
strokeLinejoin: "round"
|
75
|
+
},
|
76
|
+
...props
|
77
|
+
});
|
78
|
+
};
|
79
|
+
|
80
|
+
// src/components/icons/icons.tsx
|
81
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
82
|
+
var ChevronUpIcon = createIcon({
|
83
|
+
displayName: "ChevronUpIcon",
|
84
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "18 15 12 9 6 15" })
|
85
|
+
});
|
86
|
+
var ChevronDownIcon = createIcon({
|
87
|
+
displayName: "ChevronDownIcon",
|
88
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "6 9 12 15 18 9" })
|
89
|
+
});
|
90
|
+
var ChevronLeftIcon = createIcon({
|
91
|
+
displayName: "ChevronLeftIcon",
|
92
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
93
|
+
});
|
94
|
+
var ChevronRightIcon = createIcon({
|
95
|
+
displayName: "ChevronRightIcon",
|
96
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
97
|
+
});
|
98
|
+
var HamburgerIcon = createIcon({
|
99
|
+
displayName: "ChevronDownIcon",
|
100
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { fill: "none", children: [
|
101
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
102
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
103
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
104
|
+
] })
|
105
|
+
});
|
106
|
+
var CloseIcon = createIcon({
|
107
|
+
displayName: "CloseIcon",
|
108
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
109
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
110
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
111
|
+
] })
|
112
|
+
});
|
113
|
+
var FilterIcon = createIcon({
|
114
|
+
displayName: "FilterIcon",
|
115
|
+
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" })
|
116
|
+
});
|
117
|
+
var CalendarIcon = createIcon({
|
118
|
+
displayName: "CalendarIcon",
|
119
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
120
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
121
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
122
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
123
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
124
|
+
] })
|
125
|
+
});
|
126
|
+
var PlusIcon = createIcon({
|
127
|
+
displayName: "PlusIcon",
|
128
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
129
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
130
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
131
|
+
] })
|
132
|
+
});
|
133
|
+
var MinusIcon = createIcon({
|
134
|
+
displayName: "MinusIcon",
|
135
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
136
|
+
});
|
137
|
+
var ViewOffIcon = createIcon({
|
138
|
+
displayName: "ViewOffIcon",
|
139
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
140
|
+
/* @__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" }),
|
141
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
142
|
+
] })
|
143
|
+
});
|
144
|
+
var ViewIcon = createIcon({
|
145
|
+
displayName: "ViewOffIcon",
|
146
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
147
|
+
/* @__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" }),
|
148
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
149
|
+
] })
|
150
|
+
});
|
151
|
+
var SearchIcon = createIcon({
|
152
|
+
displayName: "SearchIcon",
|
153
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
154
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
|
155
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
156
|
+
] })
|
157
|
+
});
|
158
|
+
var CheckIcon = createIcon({
|
159
|
+
displayName: "CheckIcon",
|
160
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
161
|
+
});
|
162
|
+
var EllipsisIcon = createIcon({
|
163
|
+
displayName: "EllipsisIcon",
|
164
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
165
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
166
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
167
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
168
|
+
] })
|
169
|
+
});
|
170
|
+
var CopyIcon = createIcon({
|
171
|
+
displayName: "CopyIcon",
|
172
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
173
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
174
|
+
/* @__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" })
|
175
|
+
] })
|
176
|
+
});
|
177
|
+
var InfoIcon = createIcon({
|
178
|
+
displayName: "InfoIcon",
|
179
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
180
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
181
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 16v-4" }),
|
182
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 8h.01" })
|
183
|
+
] })
|
184
|
+
});
|
185
|
+
|
186
|
+
// src/components/toggle-tip/toggle-tip.tsx
|
187
|
+
var React2 = __toESM(require("react"), 1);
|
188
|
+
|
189
|
+
// src/components/popover/popover.tsx
|
190
|
+
var popover_exports = {};
|
191
|
+
__export(popover_exports, {
|
192
|
+
Arrow: () => Arrow,
|
193
|
+
Body: () => Body,
|
194
|
+
CloseButton: () => CloseButton3,
|
195
|
+
CloseTrigger: () => CloseTrigger,
|
196
|
+
Content: () => Content,
|
197
|
+
Description: () => Description,
|
198
|
+
Footer: () => Footer,
|
199
|
+
Header: () => Header,
|
200
|
+
Root: () => Root,
|
201
|
+
Title: () => Title,
|
202
|
+
Trigger: () => Trigger
|
203
|
+
});
|
204
|
+
var React = __toESM(require("react"), 1);
|
205
|
+
var import_popover = require("@chakra-ui/react/popover");
|
206
|
+
var import_portal = require("@chakra-ui/react/portal");
|
207
|
+
|
208
|
+
// src/components/close-button/close-button.tsx
|
209
|
+
var import_react2 = require("react");
|
210
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
211
|
+
var CloseButton = (0, import_react2.forwardRef)(
|
212
|
+
function CloseButton2(props, ref) {
|
213
|
+
var _a;
|
214
|
+
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, {}) });
|
215
|
+
}
|
216
|
+
);
|
217
|
+
|
218
|
+
// src/components/popover/popover.tsx
|
219
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
220
|
+
var Content = React.forwardRef(
|
221
|
+
function PopoverContent(props, ref) {
|
222
|
+
const { portalled = true, portalRef, ...rest } = props;
|
223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Content, { ref, ...rest }) }) });
|
224
|
+
}
|
225
|
+
);
|
226
|
+
var Arrow = React.forwardRef(
|
227
|
+
function PopoverArrow(props, ref) {
|
228
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.Arrow, { ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_popover.Popover.ArrowTip, {}) });
|
229
|
+
}
|
230
|
+
);
|
231
|
+
var CloseButton3 = React.forwardRef(function PopoverCloseTrigger(props, ref) {
|
232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
233
|
+
import_popover.Popover.CloseTrigger,
|
234
|
+
{
|
235
|
+
position: "absolute",
|
236
|
+
top: "1",
|
237
|
+
insetEnd: "1",
|
238
|
+
...props,
|
239
|
+
asChild: true,
|
240
|
+
ref,
|
241
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CloseButton, { size: "sm" })
|
242
|
+
}
|
243
|
+
);
|
244
|
+
});
|
245
|
+
var CloseTrigger = import_popover.Popover.CloseTrigger;
|
246
|
+
var Title = import_popover.Popover.Title;
|
247
|
+
var Description = import_popover.Popover.Description;
|
248
|
+
var Footer = import_popover.Popover.Footer;
|
249
|
+
var Header = import_popover.Popover.Header;
|
250
|
+
var Root = import_popover.Popover.Root;
|
251
|
+
var Body = import_popover.Popover.Body;
|
252
|
+
var Trigger = import_popover.Popover.Trigger;
|
253
|
+
|
254
|
+
// src/components/toggle-tip/toggle-tip.tsx
|
255
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
256
|
+
var ToggleTip = React2.forwardRef(
|
257
|
+
function ToggleTip2(props, ref) {
|
258
|
+
const {
|
259
|
+
showArrow,
|
260
|
+
children,
|
261
|
+
portalled = true,
|
262
|
+
content,
|
263
|
+
portalRef,
|
264
|
+
...rest
|
265
|
+
} = props;
|
266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(popover_exports.Root, { ...rest, positioning: { ...rest.positioning, gutter: 4 }, children: [
|
267
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Trigger, { asChild: true, children }),
|
268
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
269
|
+
popover_exports.Content,
|
270
|
+
{
|
271
|
+
width: "auto",
|
272
|
+
px: "2",
|
273
|
+
py: "1",
|
274
|
+
textStyle: "xs",
|
275
|
+
rounded: "sm",
|
276
|
+
portalled,
|
277
|
+
ref,
|
278
|
+
children: [
|
279
|
+
showArrow && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(popover_exports.Arrow, {}),
|
280
|
+
content
|
281
|
+
]
|
282
|
+
}
|
283
|
+
)
|
284
|
+
] });
|
285
|
+
}
|
286
|
+
);
|
287
|
+
|
288
|
+
// src/components/info-tip/info-tip.tsx
|
289
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
290
|
+
var InfoTip = React3.forwardRef(
|
291
|
+
function InfoTip2(props, ref) {
|
292
|
+
const { children, icon, "aria-label": ariaLabel = "Info", ...rest } = props;
|
293
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleTip, { content: children, ...rest, ref, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(IconButton, { variant: "ghost", "aria-label": ariaLabel, size: "2xs", children: icon != null ? icon : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(InfoIcon, {}) }) });
|
294
|
+
}
|
295
|
+
);
|
296
|
+
// Annotate the CommonJS export names for ESM import in node:
|
297
|
+
0 && (module.exports = {
|
298
|
+
InfoTip
|
299
|
+
});
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { ToggleTipProps } from '../toggle-tip/index.cjs';
|
3
|
+
import '../../index-zAqswhEI.cjs';
|
4
|
+
import '@chakra-ui/react/popover';
|
5
|
+
|
6
|
+
interface InfoTipProps extends Omit<ToggleTipProps, 'content'> {
|
7
|
+
children: react.ReactNode;
|
8
|
+
icon?: react.ReactNode;
|
9
|
+
'aria-label'?: string;
|
10
|
+
}
|
11
|
+
declare const InfoTip: react.ForwardRefExoticComponent<InfoTipProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
+
|
13
|
+
export { InfoTip, type InfoTipProps };
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { ToggleTipProps } from '../toggle-tip/index.js';
|
3
|
+
import '../../index-zAqswhEI.js';
|
4
|
+
import '@chakra-ui/react/popover';
|
5
|
+
|
6
|
+
interface InfoTipProps extends Omit<ToggleTipProps, 'content'> {
|
7
|
+
children: react.ReactNode;
|
8
|
+
icon?: react.ReactNode;
|
9
|
+
'aria-label'?: string;
|
10
|
+
}
|
11
|
+
declare const InfoTip: react.ForwardRefExoticComponent<InfoTipProps & react.RefAttributes<HTMLDivElement>>;
|
12
|
+
|
13
|
+
export { InfoTip, type InfoTipProps };
|
@@ -0,0 +1,16 @@
|
|
1
|
+
'use client'
|
2
|
+
import {
|
3
|
+
InfoTip
|
4
|
+
} from "../../chunk-YLZEO3RK.js";
|
5
|
+
import "../../chunk-XW747T2R.js";
|
6
|
+
import "../../chunk-JPY2QZLC.js";
|
7
|
+
import "../../chunk-KTLWEUNW.js";
|
8
|
+
import "../../chunk-JMYI6YXR.js";
|
9
|
+
import "../../chunk-H7KPEI6P.js";
|
10
|
+
import "../../chunk-OJZPPAT6.js";
|
11
|
+
import "../../chunk-5HVAMQYO.js";
|
12
|
+
import "../../chunk-4XB7B73X.js";
|
13
|
+
import "../../chunk-RTMS5TJN.js";
|
14
|
+
export {
|
15
|
+
InfoTip
|
16
|
+
};
|