@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
@@ -45,30 +45,18 @@ __export(menu_exports, {
|
|
45
45
|
Trigger: () => MenuTrigger,
|
46
46
|
TriggerItem: () => MenuTriggerItem
|
47
47
|
});
|
48
|
-
var import_react4 = require("react");
|
49
|
-
var import_react5 = require("@chakra-ui/react");
|
50
|
-
|
51
|
-
// src/components/button/button.tsx
|
52
48
|
var import_react = require("react");
|
53
|
-
var
|
54
|
-
var
|
55
|
-
var
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
/* @__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" }) }),
|
60
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Span, { opacity: 0, children })
|
61
|
-
] }) : loading && loadingText ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
62
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react2.Spinner, { size: "inherit", color: "inherit" }),
|
63
|
-
loadingText
|
64
|
-
] }) : children });
|
65
|
-
}
|
66
|
-
);
|
49
|
+
var import_center = require("@chakra-ui/react/center");
|
50
|
+
var import_menu = require("@chakra-ui/react/menu");
|
51
|
+
var import_portal = require("@chakra-ui/react/portal");
|
52
|
+
|
53
|
+
// src/components/button/index.ts
|
54
|
+
var import_button = require("@chakra-ui/react/button");
|
67
55
|
|
68
56
|
// src/components/icons/create-icon.tsx
|
69
|
-
var
|
57
|
+
var import_icon = require("@chakra-ui/react/icon");
|
70
58
|
var createIcon = (props) => {
|
71
|
-
return (0,
|
59
|
+
return (0, import_icon.createIcon)({
|
72
60
|
viewBox: "0 0 24 24",
|
73
61
|
defaultProps: {
|
74
62
|
fill: "none",
|
@@ -82,157 +70,172 @@ var createIcon = (props) => {
|
|
82
70
|
};
|
83
71
|
|
84
72
|
// src/components/icons/icons.tsx
|
85
|
-
var
|
73
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
86
74
|
var ChevronUpIcon = createIcon({
|
87
75
|
displayName: "ChevronUpIcon",
|
88
|
-
path: /* @__PURE__ */ (0,
|
76
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "18 15 12 9 6 15" })
|
89
77
|
});
|
90
78
|
var ChevronDownIcon = createIcon({
|
91
79
|
displayName: "ChevronDownIcon",
|
92
|
-
path: /* @__PURE__ */ (0,
|
80
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "6 9 12 15 18 9" })
|
93
81
|
});
|
94
82
|
var ChevronLeftIcon = createIcon({
|
95
83
|
displayName: "ChevronLeftIcon",
|
96
|
-
path: /* @__PURE__ */ (0,
|
84
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
97
85
|
});
|
98
86
|
var ChevronRightIcon = createIcon({
|
99
87
|
displayName: "ChevronRightIcon",
|
100
|
-
path: /* @__PURE__ */ (0,
|
88
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
101
89
|
});
|
102
90
|
var HamburgerIcon = createIcon({
|
103
91
|
displayName: "ChevronDownIcon",
|
104
|
-
path: /* @__PURE__ */ (0,
|
105
|
-
/* @__PURE__ */ (0,
|
106
|
-
/* @__PURE__ */ (0,
|
107
|
-
/* @__PURE__ */ (0,
|
92
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { fill: "none", children: [
|
93
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
94
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
95
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
108
96
|
] })
|
109
97
|
});
|
110
98
|
var CloseIcon = createIcon({
|
111
99
|
displayName: "CloseIcon",
|
112
|
-
path: /* @__PURE__ */ (0,
|
113
|
-
/* @__PURE__ */ (0,
|
114
|
-
/* @__PURE__ */ (0,
|
100
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
101
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
102
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
115
103
|
] })
|
116
104
|
});
|
117
105
|
var FilterIcon = createIcon({
|
118
106
|
displayName: "FilterIcon",
|
119
|
-
path: /* @__PURE__ */ (0,
|
107
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
|
120
108
|
});
|
121
109
|
var CalendarIcon = createIcon({
|
122
110
|
displayName: "CalendarIcon",
|
123
|
-
path: /* @__PURE__ */ (0,
|
124
|
-
/* @__PURE__ */ (0,
|
125
|
-
/* @__PURE__ */ (0,
|
126
|
-
/* @__PURE__ */ (0,
|
127
|
-
/* @__PURE__ */ (0,
|
111
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
112
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
113
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
114
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
115
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
128
116
|
] })
|
129
117
|
});
|
130
118
|
var PlusIcon = createIcon({
|
131
119
|
displayName: "PlusIcon",
|
132
|
-
path: /* @__PURE__ */ (0,
|
133
|
-
/* @__PURE__ */ (0,
|
134
|
-
/* @__PURE__ */ (0,
|
120
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
121
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
122
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
135
123
|
] })
|
136
124
|
});
|
137
125
|
var MinusIcon = createIcon({
|
138
126
|
displayName: "MinusIcon",
|
139
|
-
path: /* @__PURE__ */ (0,
|
127
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
140
128
|
});
|
141
129
|
var ViewOffIcon = createIcon({
|
142
130
|
displayName: "ViewOffIcon",
|
143
|
-
path: /* @__PURE__ */ (0,
|
144
|
-
/* @__PURE__ */ (0,
|
145
|
-
/* @__PURE__ */ (0,
|
131
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
132
|
+
/* @__PURE__ */ (0, import_jsx_runtime.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" }),
|
133
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
146
134
|
] })
|
147
135
|
});
|
148
136
|
var ViewIcon = createIcon({
|
149
137
|
displayName: "ViewOffIcon",
|
150
|
-
path: /* @__PURE__ */ (0,
|
151
|
-
/* @__PURE__ */ (0,
|
152
|
-
/* @__PURE__ */ (0,
|
138
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
140
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
153
141
|
] })
|
154
142
|
});
|
155
143
|
var SearchIcon = createIcon({
|
156
144
|
displayName: "SearchIcon",
|
157
|
-
path: /* @__PURE__ */ (0,
|
158
|
-
/* @__PURE__ */ (0,
|
159
|
-
/* @__PURE__ */ (0,
|
145
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
146
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
|
147
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
160
148
|
] })
|
161
149
|
});
|
162
150
|
var CheckIcon = createIcon({
|
163
151
|
displayName: "CheckIcon",
|
164
|
-
path: /* @__PURE__ */ (0,
|
152
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
165
153
|
});
|
166
154
|
var EllipsisIcon = createIcon({
|
167
155
|
displayName: "EllipsisIcon",
|
168
|
-
path: /* @__PURE__ */ (0,
|
169
|
-
/* @__PURE__ */ (0,
|
170
|
-
/* @__PURE__ */ (0,
|
171
|
-
/* @__PURE__ */ (0,
|
156
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
157
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
158
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
159
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
160
|
+
] })
|
161
|
+
});
|
162
|
+
var CopyIcon = createIcon({
|
163
|
+
displayName: "CopyIcon",
|
164
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
165
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
166
|
+
/* @__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" })
|
167
|
+
] })
|
168
|
+
});
|
169
|
+
var InfoIcon = createIcon({
|
170
|
+
displayName: "InfoIcon",
|
171
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
172
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
173
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
|
174
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
172
175
|
] })
|
173
176
|
});
|
174
177
|
|
175
178
|
// src/components/menu/menu.tsx
|
176
|
-
var
|
177
|
-
var MenuContent = (0,
|
179
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
180
|
+
var MenuContent = (0, import_react.forwardRef)(
|
178
181
|
function MenuContent2(props, ref) {
|
179
182
|
const { portalled = true, portalRef, ...rest } = props;
|
180
|
-
return /* @__PURE__ */ (0,
|
183
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_portal.Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.Content, { ref, ...rest }) }) });
|
181
184
|
}
|
182
185
|
);
|
183
|
-
var MenuArrow = (0,
|
186
|
+
var MenuArrow = (0, import_react.forwardRef)(
|
184
187
|
function MenuArrow2(props, ref) {
|
185
|
-
return /* @__PURE__ */ (0,
|
188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.Arrow, { ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ArrowTip, {}) });
|
186
189
|
}
|
187
190
|
);
|
188
|
-
var MenuCheckboxItem = (0,
|
189
|
-
return /* @__PURE__ */ (0,
|
190
|
-
/* @__PURE__ */ (0,
|
191
|
+
var MenuCheckboxItem = (0, import_react.forwardRef)(function MenuCheckboxItem2(props, ref) {
|
192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.CheckboxItem, { ref, ...props, children: [
|
193
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemIndicator, { hidden: false, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CheckIcon, {}) }),
|
191
194
|
props.children
|
192
195
|
] });
|
193
196
|
});
|
194
|
-
var MenuRadioItem = (0,
|
197
|
+
var MenuRadioItem = (0, import_react.forwardRef)(
|
195
198
|
function MenuRadioItem2(props, ref) {
|
196
199
|
const { children, ...rest } = props;
|
197
|
-
return /* @__PURE__ */ (0,
|
198
|
-
/* @__PURE__ */ (0,
|
199
|
-
/* @__PURE__ */ (0,
|
200
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.RadioItem, { ps: "8", ref, ...rest, children: [
|
201
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_center.AbsoluteCenter, { axis: "horizontal", left: "4", asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CheckIcon, {}) }) }),
|
202
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemText, { children })
|
200
203
|
] });
|
201
204
|
}
|
202
205
|
);
|
203
|
-
var MenuItemGroup = (0,
|
206
|
+
var MenuItemGroup = (0, import_react.forwardRef)(
|
204
207
|
function MenuItemGroup2(props, ref) {
|
205
208
|
const { title, children, ...rest } = props;
|
206
|
-
return /* @__PURE__ */ (0,
|
207
|
-
title && /* @__PURE__ */ (0,
|
209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.ItemGroup, { ref, ...rest, children: [
|
210
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_menu.Menu.ItemGroupLabel, { userSelect: "none", children: title }),
|
208
211
|
children
|
209
212
|
] });
|
210
213
|
}
|
211
214
|
);
|
212
|
-
var MenuTriggerItem = (0,
|
215
|
+
var MenuTriggerItem = (0, import_react.forwardRef)(
|
213
216
|
function MenuTriggerItem2(props, ref) {
|
214
217
|
const { startIcon, children, ...rest } = props;
|
215
|
-
return /* @__PURE__ */ (0,
|
218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_menu.Menu.TriggerItem, { ref, ...rest, children: [
|
216
219
|
startIcon,
|
217
220
|
children,
|
218
|
-
/* @__PURE__ */ (0,
|
221
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ChevronRightIcon, {})
|
219
222
|
] });
|
220
223
|
}
|
221
224
|
);
|
222
|
-
var MenuButton = (0,
|
225
|
+
var MenuButton = (0, import_react.forwardRef)(
|
223
226
|
function MenuButton2(props, ref) {
|
224
|
-
return /* @__PURE__ */ (0,
|
227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(MenuTrigger, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_button.Button, { ...props }) });
|
225
228
|
}
|
226
229
|
);
|
227
|
-
var MenuRadioItemGroup =
|
228
|
-
var MenuContextTrigger =
|
229
|
-
var MenuRoot =
|
230
|
-
var MenuSeparator =
|
231
|
-
var MenuContext =
|
232
|
-
var MenuItem =
|
233
|
-
var MenuItemText =
|
234
|
-
var MenuItemCommand =
|
235
|
-
var MenuTrigger =
|
230
|
+
var MenuRadioItemGroup = import_menu.Menu.RadioItemGroup;
|
231
|
+
var MenuContextTrigger = import_menu.Menu.ContextTrigger;
|
232
|
+
var MenuRoot = import_menu.Menu.Root;
|
233
|
+
var MenuSeparator = import_menu.Menu.Separator;
|
234
|
+
var MenuContext = import_menu.Menu.Context;
|
235
|
+
var MenuItem = import_menu.Menu.Item;
|
236
|
+
var MenuItemText = import_menu.Menu.ItemText;
|
237
|
+
var MenuItemCommand = import_menu.Menu.ItemCommand;
|
238
|
+
var MenuTrigger = import_menu.Menu.Trigger;
|
236
239
|
// Annotate the CommonJS export names for ESM import in node:
|
237
240
|
0 && (module.exports = {
|
238
241
|
Menu
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as _ark_ui_react from '@ark-ui/react';
|
2
2
|
import * as react from 'react';
|
3
|
-
import { Menu
|
3
|
+
import { Menu } from '@chakra-ui/react/menu';
|
4
|
+
import { ButtonProps } from '@chakra-ui/react/button';
|
4
5
|
|
5
6
|
interface MenuContentProps extends Menu.ContentProps {
|
6
7
|
portalled?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as _ark_ui_react from '@ark-ui/react';
|
2
2
|
import * as react from 'react';
|
3
|
-
import { Menu
|
3
|
+
import { Menu } from '@chakra-ui/react/menu';
|
4
|
+
import { ButtonProps } from '@chakra-ui/react/button';
|
4
5
|
|
5
6
|
interface MenuContentProps extends Menu.ContentProps {
|
6
7
|
portalled?: boolean;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
menu_exports
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-UNF77J24.js";
|
5
5
|
import "../../chunk-KTLWEUNW.js";
|
6
|
-
import "../../chunk-
|
7
|
-
import "../../chunk-
|
6
|
+
import "../../chunk-5HVAMQYO.js";
|
7
|
+
import "../../chunk-4XB7B73X.js";
|
8
8
|
import "../../chunk-RTMS5TJN.js";
|
9
9
|
export {
|
10
10
|
menu_exports as Menu
|
@@ -0,0 +1,178 @@
|
|
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/native-select/index.ts
|
32
|
+
var native_select_exports = {};
|
33
|
+
__export(native_select_exports, {
|
34
|
+
NativeSelect: () => NativeSelect
|
35
|
+
});
|
36
|
+
module.exports = __toCommonJS(native_select_exports);
|
37
|
+
|
38
|
+
// src/components/native-select/native-select.tsx
|
39
|
+
var React = __toESM(require("react"), 1);
|
40
|
+
var import_native_select = require("@chakra-ui/react/native-select");
|
41
|
+
|
42
|
+
// src/components/icons/create-icon.tsx
|
43
|
+
var import_icon = require("@chakra-ui/react/icon");
|
44
|
+
var createIcon = (props) => {
|
45
|
+
return (0, import_icon.createIcon)({
|
46
|
+
viewBox: "0 0 24 24",
|
47
|
+
defaultProps: {
|
48
|
+
fill: "none",
|
49
|
+
stroke: "currentColor",
|
50
|
+
strokeWidth: "2",
|
51
|
+
strokeLinecap: "round",
|
52
|
+
strokeLinejoin: "round"
|
53
|
+
},
|
54
|
+
...props
|
55
|
+
});
|
56
|
+
};
|
57
|
+
|
58
|
+
// src/components/icons/icons.tsx
|
59
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
60
|
+
var ChevronUpIcon = createIcon({
|
61
|
+
displayName: "ChevronUpIcon",
|
62
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "18 15 12 9 6 15" })
|
63
|
+
});
|
64
|
+
var ChevronDownIcon = createIcon({
|
65
|
+
displayName: "ChevronDownIcon",
|
66
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "6 9 12 15 18 9" })
|
67
|
+
});
|
68
|
+
var ChevronLeftIcon = createIcon({
|
69
|
+
displayName: "ChevronLeftIcon",
|
70
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
71
|
+
});
|
72
|
+
var ChevronRightIcon = createIcon({
|
73
|
+
displayName: "ChevronRightIcon",
|
74
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
75
|
+
});
|
76
|
+
var HamburgerIcon = createIcon({
|
77
|
+
displayName: "ChevronDownIcon",
|
78
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { fill: "none", children: [
|
79
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
80
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
81
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
82
|
+
] })
|
83
|
+
});
|
84
|
+
var CloseIcon = createIcon({
|
85
|
+
displayName: "CloseIcon",
|
86
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
87
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
88
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
89
|
+
] })
|
90
|
+
});
|
91
|
+
var FilterIcon = createIcon({
|
92
|
+
displayName: "FilterIcon",
|
93
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
|
94
|
+
});
|
95
|
+
var CalendarIcon = createIcon({
|
96
|
+
displayName: "CalendarIcon",
|
97
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
98
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
99
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
100
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
101
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
102
|
+
] })
|
103
|
+
});
|
104
|
+
var PlusIcon = createIcon({
|
105
|
+
displayName: "PlusIcon",
|
106
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
107
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
108
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
109
|
+
] })
|
110
|
+
});
|
111
|
+
var MinusIcon = createIcon({
|
112
|
+
displayName: "MinusIcon",
|
113
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
114
|
+
});
|
115
|
+
var ViewOffIcon = createIcon({
|
116
|
+
displayName: "ViewOffIcon",
|
117
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
118
|
+
/* @__PURE__ */ (0, import_jsx_runtime.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" }),
|
119
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
120
|
+
] })
|
121
|
+
});
|
122
|
+
var ViewIcon = createIcon({
|
123
|
+
displayName: "ViewOffIcon",
|
124
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
125
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
126
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "3" })
|
127
|
+
] })
|
128
|
+
});
|
129
|
+
var SearchIcon = createIcon({
|
130
|
+
displayName: "SearchIcon",
|
131
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
132
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
|
133
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
134
|
+
] })
|
135
|
+
});
|
136
|
+
var CheckIcon = createIcon({
|
137
|
+
displayName: "CheckIcon",
|
138
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("g", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" }) })
|
139
|
+
});
|
140
|
+
var EllipsisIcon = createIcon({
|
141
|
+
displayName: "EllipsisIcon",
|
142
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
143
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "1" }),
|
144
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "19", cy: "12", r: "1" }),
|
145
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "5", cy: "12", r: "1" })
|
146
|
+
] })
|
147
|
+
});
|
148
|
+
var CopyIcon = createIcon({
|
149
|
+
displayName: "CopyIcon",
|
150
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
151
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
152
|
+
/* @__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" })
|
153
|
+
] })
|
154
|
+
});
|
155
|
+
var InfoIcon = createIcon({
|
156
|
+
displayName: "InfoIcon",
|
157
|
+
path: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", { children: [
|
158
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "12", r: "10" }),
|
159
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 16v-4" }),
|
160
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 8h.01" })
|
161
|
+
] })
|
162
|
+
});
|
163
|
+
|
164
|
+
// src/components/native-select/native-select.tsx
|
165
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
166
|
+
var NativeSelect = React.forwardRef(
|
167
|
+
function NativeSelect2(props, ref) {
|
168
|
+
const { icon = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ChevronDownIcon, {}), placeholder, children, ...rest } = props;
|
169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_native_select.NativeSelect.Root, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_native_select.NativeSelect.Field, { placeholder, children: [
|
170
|
+
children,
|
171
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_native_select.NativeSelect.Indicator, { children: icon })
|
172
|
+
] }) });
|
173
|
+
}
|
174
|
+
);
|
175
|
+
// Annotate the CommonJS export names for ESM import in node:
|
176
|
+
0 && (module.exports = {
|
177
|
+
NativeSelect
|
178
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { NativeSelect as NativeSelect$1 } from '@chakra-ui/react/native-select';
|
3
|
+
|
4
|
+
interface NativeSelectProps extends NativeSelect$1.RootProps {
|
5
|
+
icon?: react.ReactNode;
|
6
|
+
placeholder?: string;
|
7
|
+
}
|
8
|
+
declare const NativeSelect: react.ForwardRefExoticComponent<NativeSelectProps & react.RefAttributes<HTMLDivElement>>;
|
9
|
+
|
10
|
+
export { NativeSelect, type NativeSelectProps };
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { NativeSelect as NativeSelect$1 } from '@chakra-ui/react/native-select';
|
3
|
+
|
4
|
+
interface NativeSelectProps extends NativeSelect$1.RootProps {
|
5
|
+
icon?: react.ReactNode;
|
6
|
+
placeholder?: string;
|
7
|
+
}
|
8
|
+
declare const NativeSelect: react.ForwardRefExoticComponent<NativeSelectProps & react.RefAttributes<HTMLDivElement>>;
|
9
|
+
|
10
|
+
export { NativeSelect, type NativeSelectProps };
|
@@ -26,12 +26,17 @@ __export(number_input_exports, {
|
|
26
26
|
module.exports = __toCommonJS(number_input_exports);
|
27
27
|
|
28
28
|
// src/components/number-input/number-input.tsx
|
29
|
-
var
|
30
|
-
var
|
29
|
+
var import_react2 = require("react");
|
30
|
+
var import_number_input = require("@chakra-ui/react/number-input");
|
31
31
|
|
32
32
|
// src/components/input-group/input-group.tsx
|
33
33
|
var import_react = require("react");
|
34
|
-
var
|
34
|
+
var import_group = require("@chakra-ui/react/group");
|
35
|
+
|
36
|
+
// src/components/input/index.ts
|
37
|
+
var import_input = require("@chakra-ui/react/input");
|
38
|
+
|
39
|
+
// src/components/input-group/input-group.tsx
|
35
40
|
var import_jsx_runtime = require("react/jsx-runtime");
|
36
41
|
var InputGroup = (0, import_react.forwardRef)(
|
37
42
|
function InputGroup2(props, ref) {
|
@@ -43,21 +48,21 @@ var InputGroup = (0, import_react.forwardRef)(
|
|
43
48
|
children,
|
44
49
|
...rest
|
45
50
|
} = props;
|
46
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
47
|
-
startElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
51
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_group.Group, { ref, display: "flex", ...rest, children: [
|
52
|
+
startElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_input.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
|
48
53
|
(0, import_react.isValidElement)(children) && (0, import_react.cloneElement)(children, {
|
49
54
|
...startElement && { ps: "calc(var(--input-height) - 6px)" },
|
50
55
|
...endElement && { pe: "calc(var(--input-height) - 6px)" },
|
51
56
|
...children.props
|
52
57
|
}),
|
53
|
-
endElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
58
|
+
endElement && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_input.InputElement, { placement: "end", ...endElementProps, children: endElement })
|
54
59
|
] });
|
55
60
|
}
|
56
61
|
);
|
57
62
|
|
58
63
|
// src/components/number-input/number-input.tsx
|
59
64
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
60
|
-
var NumberInput = (0,
|
65
|
+
var NumberInput = (0, import_react2.forwardRef)(
|
61
66
|
function NumberInput2(props, ref) {
|
62
67
|
const {
|
63
68
|
hideControls,
|
@@ -67,19 +72,19 @@ var NumberInput = (0, import_react3.forwardRef)(
|
|
67
72
|
rootRef,
|
68
73
|
...rest
|
69
74
|
} = props;
|
70
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
75
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_number_input.NumberInput.Root, { ref: rootRef, ...rest, children: [
|
71
76
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
72
77
|
InputGroup,
|
73
78
|
{
|
74
79
|
startElement,
|
75
80
|
endElement,
|
76
81
|
width: "full",
|
77
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
82
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_number_input.NumberInput.Input, { ref, ...inputProps })
|
78
83
|
}
|
79
84
|
),
|
80
|
-
!hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
81
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
82
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
85
|
+
!hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_number_input.NumberInput.Control, { children: [
|
86
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_number_input.NumberInput.IncrementTrigger, {}),
|
87
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_number_input.NumberInput.DecrementTrigger, {})
|
83
88
|
] }) : null
|
84
89
|
] });
|
85
90
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { NumberInput as NumberInput$1 } from '@chakra-ui/react';
|
2
|
+
import { NumberInput as NumberInput$1 } from '@chakra-ui/react/number-input';
|
3
3
|
|
4
4
|
interface NumberInputProps extends Omit<NumberInput$1.RootProps, 'children'> {
|
5
5
|
rootRef?: React.Ref<HTMLDivElement>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { NumberInput as NumberInput$1 } from '@chakra-ui/react';
|
2
|
+
import { NumberInput as NumberInput$1 } from '@chakra-ui/react/number-input';
|
3
3
|
|
4
4
|
interface NumberInputProps extends Omit<NumberInput$1.RootProps, 'children'> {
|
5
5
|
rootRef?: React.Ref<HTMLDivElement>;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
'use client'
|
2
2
|
import {
|
3
3
|
NumberInput
|
4
|
-
} from "../../chunk-
|
5
|
-
import "../../chunk-
|
4
|
+
} from "../../chunk-IEWGZ4LU.js";
|
5
|
+
import "../../chunk-HKMYYESV.js";
|
6
|
+
import "../../chunk-5MTFSSOH.js";
|
6
7
|
import "../../chunk-RTMS5TJN.js";
|
7
8
|
export {
|
8
9
|
NumberInput
|