@saas-ui/react 3.0.0-alpha.31 → 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 +6 -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-5YNHX4C7.js +16 -0
- package/dist/{chunk-UASXI64E.js → chunk-5ZKEXMBN.js} +4 -2
- 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-IGT224EZ.js → chunk-BDS3APRG.js} +1 -1
- package/dist/chunk-BFO2S4Y5.js +12 -0
- package/dist/chunk-C5KFNMWU.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 +23 -3
- package/dist/components/badge/index.d.ts +23 -3
- 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-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 +8 -8
- 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-circle/index.js +3 -3
- 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/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 +6318 -5690
- package/dist/index.d.cts +76 -5
- package/dist/index.d.ts +76 -5
- package/dist/index.js +5247 -5067
- package/dist/loading-overlay-BQ4lOS6T.d.ts +23 -0
- package/dist/loading-overlay-afP_W7ru.d.cts +23 -0
- package/package.json +2 -2
- 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
@@ -36,14 +36,14 @@ __export(search_input_exports, {
|
|
36
36
|
module.exports = __toCommonJS(search_input_exports);
|
37
37
|
|
38
38
|
// src/components/search-input/search-input.tsx
|
39
|
-
var
|
40
|
-
var
|
39
|
+
var import_react = __toESM(require("react"), 1);
|
40
|
+
var import_react2 = require("@chakra-ui/react");
|
41
41
|
var import_utils = require("@saas-ui/core/utils");
|
42
42
|
|
43
43
|
// src/components/icons/create-icon.tsx
|
44
|
-
var
|
44
|
+
var import_icon = require("@chakra-ui/react/icon");
|
45
45
|
var createIcon = (props) => {
|
46
|
-
return (0,
|
46
|
+
return (0, import_icon.createIcon)({
|
47
47
|
viewBox: "0 0 24 24",
|
48
48
|
defaultProps: {
|
49
49
|
fill: "none",
|
@@ -146,10 +146,25 @@ var EllipsisIcon = createIcon({
|
|
146
146
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
147
147
|
] })
|
148
148
|
});
|
149
|
+
var CopyIcon = createIcon({
|
150
|
+
displayName: "CopyIcon",
|
151
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
152
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
153
|
+
/* @__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" })
|
154
|
+
] })
|
155
|
+
});
|
156
|
+
var InfoIcon = createIcon({
|
157
|
+
displayName: "InfoIcon",
|
158
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
159
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
160
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
|
161
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
162
|
+
] })
|
163
|
+
});
|
149
164
|
|
150
165
|
// src/components/search-input/search-input.tsx
|
151
166
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
152
|
-
var SearchInput = (0,
|
167
|
+
var SearchInput = (0, import_react.forwardRef)(
|
153
168
|
(props, ref) => {
|
154
169
|
const {
|
155
170
|
placeholder = "Search",
|
@@ -167,18 +182,18 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
167
182
|
disabled,
|
168
183
|
...inputProps
|
169
184
|
} = props;
|
170
|
-
const inputRef =
|
171
|
-
const [value, setValue] = (0,
|
185
|
+
const inputRef = import_react.default.useRef(null);
|
186
|
+
const [value, setValue] = (0, import_react2.useControllableState)({
|
172
187
|
value: valueProp,
|
173
188
|
defaultValue: defaultValueProp
|
174
189
|
});
|
175
|
-
const onChange =
|
190
|
+
const onChange = import_react.default.useCallback(
|
176
191
|
(e) => {
|
177
192
|
setValue(e.target.value);
|
178
193
|
},
|
179
194
|
[setValue]
|
180
195
|
);
|
181
|
-
const onKeyDown =
|
196
|
+
const onKeyDown = import_react.default.useCallback(
|
182
197
|
(event) => {
|
183
198
|
if (event.key === "Escape") {
|
184
199
|
setValue("");
|
@@ -195,9 +210,9 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
195
210
|
};
|
196
211
|
const showReset = value && !props.disabled;
|
197
212
|
const endElement = showReset ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SearchInputResetButton, { size, children: resetIcon }) : endElementProp;
|
198
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react2.Group, { width, children: [
|
199
214
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
200
|
-
|
215
|
+
import_react2.InputElement,
|
201
216
|
{
|
202
217
|
placement: "start",
|
203
218
|
px: "0",
|
@@ -207,7 +222,7 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
207
222
|
}
|
208
223
|
),
|
209
224
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
210
|
-
|
225
|
+
import_react2.Input,
|
211
226
|
{
|
212
227
|
type: "text",
|
213
228
|
placeholder,
|
@@ -215,7 +230,7 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
215
230
|
size,
|
216
231
|
value,
|
217
232
|
disabled,
|
218
|
-
ref: (0,
|
233
|
+
ref: (0, import_react2.mergeRefs)(ref, inputRef),
|
219
234
|
onChange: (0, import_utils.callAll)(onChange, onChangeProp),
|
220
235
|
onKeyDown: (0, import_utils.callAll)(onKeyDown, onKeyDownProp),
|
221
236
|
ps: "calc(var(--input-height) - var(--input-height) / 10)",
|
@@ -223,15 +238,15 @@ var SearchInput = (0, import_react2.forwardRef)(
|
|
223
238
|
...inputProps
|
224
239
|
}
|
225
240
|
),
|
226
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
241
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react2.InputElement, { placement: "end", children: endElement })
|
227
242
|
] });
|
228
243
|
}
|
229
244
|
);
|
230
|
-
var SearchInputResetButton = (0,
|
245
|
+
var SearchInputResetButton = (0, import_react.forwardRef)(
|
231
246
|
(props, ref) => {
|
232
247
|
const { children = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CloseIcon, {}), ...rest } = props;
|
233
248
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
234
|
-
|
249
|
+
import_react2.IconButton,
|
235
250
|
{
|
236
251
|
ref,
|
237
252
|
variant: "ghost",
|
@@ -1,9 +1,9 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
SearchInput
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-4IZGJDYL.js";
|
5
5
|
import "../../chunk-KTLWEUNW.js";
|
6
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-4XB7B73X.js";
|
7
7
|
import "../../chunk-RTMS5TJN.js";
|
8
8
|
export {
|
9
9
|
SearchInput
|
@@ -27,7 +27,8 @@ module.exports = __toCommonJS(segmented_control_exports);
|
|
27
27
|
|
28
28
|
// src/components/segmented-control/segmented-control.tsx
|
29
29
|
var import_react = require("react");
|
30
|
-
var
|
30
|
+
var import_for = require("@chakra-ui/react/for");
|
31
|
+
var import_segment_group = require("@chakra-ui/react/segment-group");
|
31
32
|
var import_jsx_runtime = require("react/jsx-runtime");
|
32
33
|
function normalize(items) {
|
33
34
|
return items.map((item) => {
|
@@ -38,16 +39,16 @@ function normalize(items) {
|
|
38
39
|
var SegmentedControl = (0, import_react.forwardRef)(function SegmentedControl2(props, ref) {
|
39
40
|
const { items, ...rest } = props;
|
40
41
|
const data = (0, import_react.useMemo)(() => normalize(items), [items]);
|
41
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
42
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
43
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
44
|
-
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_segment_group.SegmentGroup.Root, { ref, ...rest, children: [
|
43
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_segment_group.SegmentGroup.Indicator, {}),
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_for.For, { each: data, children: (item) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
45
|
+
import_segment_group.SegmentGroup.Item,
|
45
46
|
{
|
46
47
|
value: item.value,
|
47
48
|
disabled: item.disabled,
|
48
49
|
children: [
|
49
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
50
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
50
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_segment_group.SegmentGroup.ItemText, { children: item.label }),
|
51
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_segment_group.SegmentGroup.ItemHiddenInput, {})
|
51
52
|
]
|
52
53
|
},
|
53
54
|
item.value
|
@@ -39,17 +39,40 @@ __export(namespace_exports, {
|
|
39
39
|
});
|
40
40
|
|
41
41
|
// src/components/select/select.tsx
|
42
|
-
var
|
43
|
-
var
|
42
|
+
var import_react3 = require("react");
|
43
|
+
var import_portal = require("@chakra-ui/react/portal");
|
44
|
+
var import_select = require("@chakra-ui/react/select");
|
44
45
|
|
45
46
|
// src/components/close-button/close-button.tsx
|
46
47
|
var import_react2 = require("react");
|
47
|
-
|
48
|
+
|
49
|
+
// src/components/icon-button/icon-button.tsx
|
50
|
+
var import_react = require("react");
|
51
|
+
|
52
|
+
// src/components/button/index.ts
|
53
|
+
var import_button = require("@chakra-ui/react/button");
|
54
|
+
|
55
|
+
// src/components/icon-button/icon-button.tsx
|
56
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
57
|
+
var IconButton = (0, import_react.forwardRef)(
|
58
|
+
function IconButton2(props, ref) {
|
59
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
60
|
+
import_button.Button,
|
61
|
+
{
|
62
|
+
px: "0",
|
63
|
+
py: "0",
|
64
|
+
_icon: { fontSize: "1.2em" },
|
65
|
+
ref,
|
66
|
+
...props
|
67
|
+
}
|
68
|
+
);
|
69
|
+
}
|
70
|
+
);
|
48
71
|
|
49
72
|
// src/components/icons/create-icon.tsx
|
50
|
-
var
|
73
|
+
var import_icon = require("@chakra-ui/react/icon");
|
51
74
|
var createIcon = (props) => {
|
52
|
-
return (0,
|
75
|
+
return (0, import_icon.createIcon)({
|
53
76
|
viewBox: "0 0 24 24",
|
54
77
|
defaultProps: {
|
55
78
|
fill: "none",
|
@@ -63,121 +86,136 @@ var createIcon = (props) => {
|
|
63
86
|
};
|
64
87
|
|
65
88
|
// src/components/icons/icons.tsx
|
66
|
-
var
|
89
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
67
90
|
var ChevronUpIcon = createIcon({
|
68
91
|
displayName: "ChevronUpIcon",
|
69
|
-
path: /* @__PURE__ */ (0,
|
92
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "18 15 12 9 6 15" })
|
70
93
|
});
|
71
94
|
var ChevronDownIcon = createIcon({
|
72
95
|
displayName: "ChevronDownIcon",
|
73
|
-
path: /* @__PURE__ */ (0,
|
96
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "6 9 12 15 18 9" })
|
74
97
|
});
|
75
98
|
var ChevronLeftIcon = createIcon({
|
76
99
|
displayName: "ChevronLeftIcon",
|
77
|
-
path: /* @__PURE__ */ (0,
|
100
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
78
101
|
});
|
79
102
|
var ChevronRightIcon = createIcon({
|
80
103
|
displayName: "ChevronRightIcon",
|
81
|
-
path: /* @__PURE__ */ (0,
|
104
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
82
105
|
});
|
83
106
|
var HamburgerIcon = createIcon({
|
84
107
|
displayName: "ChevronDownIcon",
|
85
|
-
path: /* @__PURE__ */ (0,
|
86
|
-
/* @__PURE__ */ (0,
|
87
|
-
/* @__PURE__ */ (0,
|
88
|
-
/* @__PURE__ */ (0,
|
108
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { fill: "none", children: [
|
109
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
110
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
111
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
89
112
|
] })
|
90
113
|
});
|
91
114
|
var CloseIcon = createIcon({
|
92
115
|
displayName: "CloseIcon",
|
93
|
-
path: /* @__PURE__ */ (0,
|
94
|
-
/* @__PURE__ */ (0,
|
95
|
-
/* @__PURE__ */ (0,
|
116
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
117
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
118
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
96
119
|
] })
|
97
120
|
});
|
98
121
|
var FilterIcon = createIcon({
|
99
122
|
displayName: "FilterIcon",
|
100
|
-
path: /* @__PURE__ */ (0,
|
123
|
+
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" })
|
101
124
|
});
|
102
125
|
var CalendarIcon = createIcon({
|
103
126
|
displayName: "CalendarIcon",
|
104
|
-
path: /* @__PURE__ */ (0,
|
105
|
-
/* @__PURE__ */ (0,
|
106
|
-
/* @__PURE__ */ (0,
|
107
|
-
/* @__PURE__ */ (0,
|
108
|
-
/* @__PURE__ */ (0,
|
127
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
128
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
129
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
130
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
131
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
109
132
|
] })
|
110
133
|
});
|
111
134
|
var PlusIcon = createIcon({
|
112
135
|
displayName: "PlusIcon",
|
113
|
-
path: /* @__PURE__ */ (0,
|
114
|
-
/* @__PURE__ */ (0,
|
115
|
-
/* @__PURE__ */ (0,
|
136
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
137
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
138
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
116
139
|
] })
|
117
140
|
});
|
118
141
|
var MinusIcon = createIcon({
|
119
142
|
displayName: "MinusIcon",
|
120
|
-
path: /* @__PURE__ */ (0,
|
143
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
121
144
|
});
|
122
145
|
var ViewOffIcon = createIcon({
|
123
146
|
displayName: "ViewOffIcon",
|
124
|
-
path: /* @__PURE__ */ (0,
|
125
|
-
/* @__PURE__ */ (0,
|
126
|
-
/* @__PURE__ */ (0,
|
147
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
148
|
+
/* @__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" }),
|
149
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
127
150
|
] })
|
128
151
|
});
|
129
152
|
var ViewIcon = 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: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
156
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
134
157
|
] })
|
135
158
|
});
|
136
159
|
var SearchIcon = createIcon({
|
137
160
|
displayName: "SearchIcon",
|
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)("circle", { cx: "11", cy: "11", r: "8" }),
|
163
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
141
164
|
] })
|
142
165
|
});
|
143
166
|
var CheckIcon = createIcon({
|
144
167
|
displayName: "CheckIcon",
|
145
|
-
path: /* @__PURE__ */ (0,
|
168
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
146
169
|
});
|
147
170
|
var EllipsisIcon = createIcon({
|
148
171
|
displayName: "EllipsisIcon",
|
149
|
-
path: /* @__PURE__ */ (0,
|
150
|
-
/* @__PURE__ */ (0,
|
151
|
-
/* @__PURE__ */ (0,
|
152
|
-
/* @__PURE__ */ (0,
|
172
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
173
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
174
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
175
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
176
|
+
] })
|
177
|
+
});
|
178
|
+
var CopyIcon = createIcon({
|
179
|
+
displayName: "CopyIcon",
|
180
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
181
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
182
|
+
/* @__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" })
|
183
|
+
] })
|
184
|
+
});
|
185
|
+
var InfoIcon = createIcon({
|
186
|
+
displayName: "InfoIcon",
|
187
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("g", { children: [
|
188
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
189
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 16v-4" }),
|
190
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M12 8h.01" })
|
153
191
|
] })
|
154
192
|
});
|
155
193
|
|
156
194
|
// src/components/close-button/close-button.tsx
|
157
|
-
var
|
195
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
158
196
|
var CloseButton = (0, import_react2.forwardRef)(
|
159
197
|
function CloseButton2(props, ref) {
|
160
198
|
var _a;
|
161
|
-
return /* @__PURE__ */ (0,
|
199
|
+
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, {}) });
|
162
200
|
}
|
163
201
|
);
|
164
202
|
|
165
203
|
// src/components/select/select.tsx
|
166
|
-
var
|
167
|
-
var SelectTrigger = (0,
|
204
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
205
|
+
var SelectTrigger = (0, import_react3.forwardRef)(
|
168
206
|
function SelectTrigger2(props, ref) {
|
169
207
|
const { children, clearable, ...rest } = props;
|
170
|
-
return /* @__PURE__ */ (0,
|
171
|
-
/* @__PURE__ */ (0,
|
172
|
-
/* @__PURE__ */ (0,
|
173
|
-
clearable && /* @__PURE__ */ (0,
|
174
|
-
/* @__PURE__ */ (0,
|
208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_select.Select.Control, { ...rest, children: [
|
209
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.Trigger, { ref, children }),
|
210
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_select.Select.IndicatorGroup, { children: [
|
211
|
+
clearable && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectClearTrigger, {}),
|
212
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.Indicator, {})
|
175
213
|
] })
|
176
214
|
] });
|
177
215
|
}
|
178
216
|
);
|
179
|
-
var SelectClearTrigger = (0,
|
180
|
-
return /* @__PURE__ */ (0,
|
217
|
+
var SelectClearTrigger = (0, import_react3.forwardRef)(function SelectClearTrigger2(props, ref) {
|
218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
181
219
|
CloseButton,
|
182
220
|
{
|
183
221
|
size: "xs",
|
@@ -188,24 +226,24 @@ var SelectClearTrigger = (0, import_react4.forwardRef)(function SelectClearTrigg
|
|
188
226
|
}
|
189
227
|
) });
|
190
228
|
});
|
191
|
-
var SelectContent = (0,
|
229
|
+
var SelectContent = (0, import_react3.forwardRef)(
|
192
230
|
function SelectContent2(props, ref) {
|
193
231
|
const { portalled = true, portalRef, ...rest } = props;
|
194
|
-
return /* @__PURE__ */ (0,
|
232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.Content, { ...rest, ref }) }) });
|
195
233
|
}
|
196
234
|
);
|
197
|
-
var SelectItem = (0,
|
235
|
+
var SelectItem = (0, import_react3.forwardRef)(
|
198
236
|
function SelectItem2(props, ref) {
|
199
237
|
const { item, children, ...rest } = props;
|
200
|
-
return /* @__PURE__ */ (0,
|
238
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_select.Select.Item, { item, ...rest, ref, children: [
|
201
239
|
children,
|
202
|
-
/* @__PURE__ */ (0,
|
240
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.ItemIndicator, {})
|
203
241
|
] }, item.value);
|
204
242
|
}
|
205
243
|
);
|
206
|
-
var SelectValueText = (0,
|
244
|
+
var SelectValueText = (0, import_react3.forwardRef)(function SelectValueText2(props, ref) {
|
207
245
|
const { children, ...rest } = props;
|
208
|
-
return /* @__PURE__ */ (0,
|
246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.ValueText, { ...rest, ref, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.Context, { children: (select) => {
|
209
247
|
const items = select.selectedItems;
|
210
248
|
if (items.length === 0) return props.placeholder;
|
211
249
|
if (children) return children(items);
|
@@ -214,9 +252,9 @@ var SelectValueText = (0, import_react4.forwardRef)(function SelectValueText2(pr
|
|
214
252
|
return `${items.length} selected`;
|
215
253
|
} }) });
|
216
254
|
});
|
217
|
-
var SelectRoot = (0,
|
218
|
-
return /* @__PURE__ */ (0,
|
219
|
-
|
255
|
+
var SelectRoot = (0, import_react3.forwardRef)(function SelectRoot2(props, ref) {
|
256
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
257
|
+
import_select.Select.Root,
|
220
258
|
{
|
221
259
|
...props,
|
222
260
|
ref,
|
@@ -224,17 +262,17 @@ var SelectRoot = (0, import_react4.forwardRef)(function SelectRoot2(props, ref)
|
|
224
262
|
}
|
225
263
|
);
|
226
264
|
});
|
227
|
-
var SelectItemGroup = (0,
|
265
|
+
var SelectItemGroup = (0, import_react3.forwardRef)(
|
228
266
|
function SelectItemGroup2(props, ref) {
|
229
267
|
const { children, label, ...rest } = props;
|
230
|
-
return /* @__PURE__ */ (0,
|
231
|
-
/* @__PURE__ */ (0,
|
268
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_select.Select.ItemGroup, { ...rest, ref, children: [
|
269
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_select.Select.ItemGroupLabel, { children: label }),
|
232
270
|
children
|
233
271
|
] });
|
234
272
|
}
|
235
273
|
);
|
236
|
-
var SelectLabel =
|
237
|
-
var SelectItemText =
|
274
|
+
var SelectLabel = import_select.Select.Label;
|
275
|
+
var SelectItemText = import_select.Select.ItemText;
|
238
276
|
// Annotate the CommonJS export names for ESM import in node:
|
239
277
|
0 && (module.exports = {
|
240
278
|
Select
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import {
|
2
|
+
import { CollectionItem } from '@chakra-ui/react/collection';
|
3
|
+
import { Select } from '@chakra-ui/react/select';
|
3
4
|
|
4
5
|
interface SelectTriggerProps extends Select.ControlProps {
|
5
6
|
clearable?: boolean;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import {
|
2
|
+
import { CollectionItem } from '@chakra-ui/react/collection';
|
3
|
+
import { Select } from '@chakra-ui/react/select';
|
3
4
|
|
4
5
|
interface SelectTriggerProps extends Select.ControlProps {
|
5
6
|
clearable?: boolean;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
namespace_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-3DGRWH7C.js";
|
5
5
|
import "../../chunk-JMYI6YXR.js";
|
6
|
-
import "../../chunk-
|
7
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-H7KPEI6P.js";
|
7
|
+
import "../../chunk-OJZPPAT6.js";
|
8
|
+
import "../../chunk-5HVAMQYO.js";
|
9
|
+
import "../../chunk-4XB7B73X.js";
|
8
10
|
import "../../chunk-RTMS5TJN.js";
|
9
11
|
export {
|
10
12
|
namespace_exports as Select
|
@@ -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/separator/index.ts
|
22
|
+
var separator_exports = {};
|
23
|
+
__export(separator_exports, {
|
24
|
+
Separator: () => import_separator.Separator
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(separator_exports);
|
27
|
+
var import_separator = require("@chakra-ui/react/separator");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Separator
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Separator, SeparatorProps } from '@chakra-ui/react/separator';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Separator, SeparatorProps } from '@chakra-ui/react/separator';
|
@@ -2,9 +2,9 @@ import * as _saas_ui_core_sidebar from '@saas-ui/core/sidebar';
|
|
2
2
|
import { Sidebar } from '@saas-ui/core/sidebar';
|
3
3
|
export { useSidebar } from '@saas-ui/core/sidebar';
|
4
4
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
5
|
-
import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react';
|
6
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
7
6
|
import react__default from 'react';
|
7
|
+
import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react/styled-system';
|
8
8
|
|
9
9
|
interface SidebarProviderProps extends Sidebar.ProviderProps, Omit<SlotRecipeProps<'suiSidebar'>, 'mode'> {
|
10
10
|
}
|
@@ -2,9 +2,9 @@ import * as _saas_ui_core_sidebar from '@saas-ui/core/sidebar';
|
|
2
2
|
import { Sidebar } from '@saas-ui/core/sidebar';
|
3
3
|
export { useSidebar } from '@saas-ui/core/sidebar';
|
4
4
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
5
|
-
import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react';
|
6
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
7
6
|
import react__default from 'react';
|
7
|
+
import { HTMLChakraProps, SlotRecipeProps } from '@chakra-ui/react/styled-system';
|
8
8
|
|
9
9
|
interface SidebarProviderProps extends Sidebar.ProviderProps, Omit<SlotRecipeProps<'suiSidebar'>, 'mode'> {
|
10
10
|
}
|