@kamod-ch/ui 0.2.1
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/LICENSE.md +9 -0
- package/README.md +183 -0
- package/dist/Accordion-D1PiNspd.d.ts +39 -0
- package/dist/AlertDialog-ALB541qy.d.ts +64 -0
- package/dist/Button-vQnkiVTI.d.ts +84 -0
- package/dist/CalendarDateTimePanel-B3J8OlSc.d.ts +79 -0
- package/dist/Carousel-BUB4DVuh.d.ts +48 -0
- package/dist/Chart-Ax22S5_N.d.ts +10 -0
- package/dist/Checkbox-DBbLYq6Q.d.ts +12 -0
- package/dist/Collapsible-CW1hQwqV.d.ts +34 -0
- package/dist/ComboboxValue-BGfXgtZt.d.ts +135 -0
- package/dist/CommandSeparator-wZRCsqsT.d.ts +47 -0
- package/dist/DataTable-zNTTdYVU.d.ts +13 -0
- package/dist/DatePicker-AFAYh5Ca.d.ts +20 -0
- package/dist/Dialog-BOIteLfe.d.ts +28 -0
- package/dist/DialogContent-CK1t4m4e.d.ts +24 -0
- package/dist/DialogHeader-CYT7iUDq.d.ts +13 -0
- package/dist/DialogTitle-CerJD0oA.d.ts +13 -0
- package/dist/Direction-25ZOt0gW.d.ts +24 -0
- package/dist/Drawer-B3pZMn5j.d.ts +41 -0
- package/dist/Dropdown-CVbWVKok.d.ts +143 -0
- package/dist/FieldTitle-aSgThW-B.d.ts +100 -0
- package/dist/HoverCard-aVEEtkyO.d.ts +52 -0
- package/dist/Input-Cem05el9.d.ts +27 -0
- package/dist/Menubar-DwYDW4w2.d.ts +88 -0
- package/dist/PopoverTrigger-CH_Kx2mn.d.ts +43 -0
- package/dist/Progress-BGij8Hob.d.ts +13 -0
- package/dist/RadioGroup-BaElzLwa.d.ts +40 -0
- package/dist/ScrollArea-B-vILe3g.d.ts +16 -0
- package/dist/Select-B_mNVh70.d.ts +51 -0
- package/dist/Separator-DCQYrnpB.d.ts +9 -0
- package/dist/Sheet-s0xRF22F.d.ts +29 -0
- package/dist/SidebarProvider-IAihmyD7.d.ts +46 -0
- package/dist/Slider-BQLMBpYs.d.ts +16 -0
- package/dist/Switch-CTTkNdqF.d.ts +31 -0
- package/dist/Tabs-CR-thcs6.d.ts +47 -0
- package/dist/Textarea-DbKkduOG.d.ts +27 -0
- package/dist/ThemeToggle-DfiEM1dZ.d.ts +9 -0
- package/dist/Toggle-CseZl7XN.d.ts +49 -0
- package/dist/ToggleGroup-UeYHzQe7.d.ts +137 -0
- package/dist/Tooltip-Ba3GxE7u.d.ts +40 -0
- package/dist/Typography-ccTtE182.d.ts +64 -0
- package/dist/chunk-26CRIZXP.js +244 -0
- package/dist/chunk-26CRIZXP.js.map +1 -0
- package/dist/chunk-2BQ54337.js +282 -0
- package/dist/chunk-2BQ54337.js.map +1 -0
- package/dist/chunk-2HZCH73K.js +109 -0
- package/dist/chunk-2HZCH73K.js.map +1 -0
- package/dist/chunk-2KY7P27I.js +64 -0
- package/dist/chunk-2KY7P27I.js.map +1 -0
- package/dist/chunk-3DNIMQX6.js +78 -0
- package/dist/chunk-3DNIMQX6.js.map +1 -0
- package/dist/chunk-3KB54OYF.js +81 -0
- package/dist/chunk-3KB54OYF.js.map +1 -0
- package/dist/chunk-4BJJOHZT.js +477 -0
- package/dist/chunk-4BJJOHZT.js.map +1 -0
- package/dist/chunk-4IBTERDG.js +9 -0
- package/dist/chunk-4IBTERDG.js.map +1 -0
- package/dist/chunk-4V3WHQJE.js +510 -0
- package/dist/chunk-4V3WHQJE.js.map +1 -0
- package/dist/chunk-5FBD2NTR.js +103 -0
- package/dist/chunk-5FBD2NTR.js.map +1 -0
- package/dist/chunk-5KS2VSX2.js +94 -0
- package/dist/chunk-5KS2VSX2.js.map +1 -0
- package/dist/chunk-5Q4RBIMZ.js +25 -0
- package/dist/chunk-5Q4RBIMZ.js.map +1 -0
- package/dist/chunk-67J4KBOW.js +124 -0
- package/dist/chunk-67J4KBOW.js.map +1 -0
- package/dist/chunk-6BK3PIRX.js +151 -0
- package/dist/chunk-6BK3PIRX.js.map +1 -0
- package/dist/chunk-6FYSVMH7.js +21 -0
- package/dist/chunk-6FYSVMH7.js.map +1 -0
- package/dist/chunk-6RASPU5N.js +31 -0
- package/dist/chunk-6RASPU5N.js.map +1 -0
- package/dist/chunk-7AJT2E2Y.js +624 -0
- package/dist/chunk-7AJT2E2Y.js.map +1 -0
- package/dist/chunk-7IOAIEIA.js +102 -0
- package/dist/chunk-7IOAIEIA.js.map +1 -0
- package/dist/chunk-7MITRFPE.js +192 -0
- package/dist/chunk-7MITRFPE.js.map +1 -0
- package/dist/chunk-BDK7CDEI.js +22 -0
- package/dist/chunk-BDK7CDEI.js.map +1 -0
- package/dist/chunk-BQP4UA44.js +18 -0
- package/dist/chunk-BQP4UA44.js.map +1 -0
- package/dist/chunk-BYG2ULS3.js +196 -0
- package/dist/chunk-BYG2ULS3.js.map +1 -0
- package/dist/chunk-C7WEQOUA.js +26 -0
- package/dist/chunk-C7WEQOUA.js.map +1 -0
- package/dist/chunk-CLEC2RMU.js +8 -0
- package/dist/chunk-CLEC2RMU.js.map +1 -0
- package/dist/chunk-CMBERB5B.js +9 -0
- package/dist/chunk-CMBERB5B.js.map +1 -0
- package/dist/chunk-COPT6I2D.js +122 -0
- package/dist/chunk-COPT6I2D.js.map +1 -0
- package/dist/chunk-CP55TVOV.js +271 -0
- package/dist/chunk-CP55TVOV.js.map +1 -0
- package/dist/chunk-D3DQ4ICC.js +25 -0
- package/dist/chunk-D3DQ4ICC.js.map +1 -0
- package/dist/chunk-ERBGZZ2U.js +26 -0
- package/dist/chunk-ERBGZZ2U.js.map +1 -0
- package/dist/chunk-FIOKWIJP.js +361 -0
- package/dist/chunk-FIOKWIJP.js.map +1 -0
- package/dist/chunk-G6TV6TF7.js +95 -0
- package/dist/chunk-G6TV6TF7.js.map +1 -0
- package/dist/chunk-GGTDJEE2.js +15 -0
- package/dist/chunk-GGTDJEE2.js.map +1 -0
- package/dist/chunk-GIU6BZTW.js +173 -0
- package/dist/chunk-GIU6BZTW.js.map +1 -0
- package/dist/chunk-HAAXVB3R.js +34 -0
- package/dist/chunk-HAAXVB3R.js.map +1 -0
- package/dist/chunk-HTSAUMF5.js +398 -0
- package/dist/chunk-HTSAUMF5.js.map +1 -0
- package/dist/chunk-IJ4ZRIR4.js +182 -0
- package/dist/chunk-IJ4ZRIR4.js.map +1 -0
- package/dist/chunk-J4DMQV64.js +340 -0
- package/dist/chunk-J4DMQV64.js.map +1 -0
- package/dist/chunk-JKXSX67K.js +95 -0
- package/dist/chunk-JKXSX67K.js.map +1 -0
- package/dist/chunk-JNF7FDJO.js +633 -0
- package/dist/chunk-JNF7FDJO.js.map +1 -0
- package/dist/chunk-JURNPBSW.js +70 -0
- package/dist/chunk-JURNPBSW.js.map +1 -0
- package/dist/chunk-LCMPFPBN.js +141 -0
- package/dist/chunk-LCMPFPBN.js.map +1 -0
- package/dist/chunk-LCWXIQKA.js +36 -0
- package/dist/chunk-LCWXIQKA.js.map +1 -0
- package/dist/chunk-LFJF3M6M.js +171 -0
- package/dist/chunk-LFJF3M6M.js.map +1 -0
- package/dist/chunk-MD6HHORY.js +524 -0
- package/dist/chunk-MD6HHORY.js.map +1 -0
- package/dist/chunk-MJG6UKD4.js +83 -0
- package/dist/chunk-MJG6UKD4.js.map +1 -0
- package/dist/chunk-MKG3UAP6.js +347 -0
- package/dist/chunk-MKG3UAP6.js.map +1 -0
- package/dist/chunk-MS2ZNYCJ.js +9 -0
- package/dist/chunk-MS2ZNYCJ.js.map +1 -0
- package/dist/chunk-NGKQBNZ5.js +29 -0
- package/dist/chunk-NGKQBNZ5.js.map +1 -0
- package/dist/chunk-NKKMM6CK.js +56 -0
- package/dist/chunk-NKKMM6CK.js.map +1 -0
- package/dist/chunk-OCLVMKVC.js +110 -0
- package/dist/chunk-OCLVMKVC.js.map +1 -0
- package/dist/chunk-PFV7YIEP.js +104 -0
- package/dist/chunk-PFV7YIEP.js.map +1 -0
- package/dist/chunk-PGOCR4LG.js +216 -0
- package/dist/chunk-PGOCR4LG.js.map +1 -0
- package/dist/chunk-PPYJQNE5.js +159 -0
- package/dist/chunk-PPYJQNE5.js.map +1 -0
- package/dist/chunk-PU5J5EPY.js +733 -0
- package/dist/chunk-PU5J5EPY.js.map +1 -0
- package/dist/chunk-PZS2D2QM.js +32 -0
- package/dist/chunk-PZS2D2QM.js.map +1 -0
- package/dist/chunk-Q5IUIA6B.js +9 -0
- package/dist/chunk-Q5IUIA6B.js.map +1 -0
- package/dist/chunk-QFDTG2ZJ.js +176 -0
- package/dist/chunk-QFDTG2ZJ.js.map +1 -0
- package/dist/chunk-QZX3RFIC.js +165 -0
- package/dist/chunk-QZX3RFIC.js.map +1 -0
- package/dist/chunk-R565SY7K.js +69 -0
- package/dist/chunk-R565SY7K.js.map +1 -0
- package/dist/chunk-RHNI5UQO.js +455 -0
- package/dist/chunk-RHNI5UQO.js.map +1 -0
- package/dist/chunk-ROKLAZHC.js +550 -0
- package/dist/chunk-ROKLAZHC.js.map +1 -0
- package/dist/chunk-RTIFG4XT.js +9 -0
- package/dist/chunk-RTIFG4XT.js.map +1 -0
- package/dist/chunk-TFLSEEM4.js +88 -0
- package/dist/chunk-TFLSEEM4.js.map +1 -0
- package/dist/chunk-U2UNWXBC.js +242 -0
- package/dist/chunk-U2UNWXBC.js.map +1 -0
- package/dist/chunk-UEGIKBX6.js +385 -0
- package/dist/chunk-UEGIKBX6.js.map +1 -0
- package/dist/chunk-UEXTD7ZB.js +108 -0
- package/dist/chunk-UEXTD7ZB.js.map +1 -0
- package/dist/chunk-UNWEH4Z6.js +83 -0
- package/dist/chunk-UNWEH4Z6.js.map +1 -0
- package/dist/chunk-UXWUFNXY.js +8 -0
- package/dist/chunk-UXWUFNXY.js.map +1 -0
- package/dist/chunk-V2MG5Y5F.js +77 -0
- package/dist/chunk-V2MG5Y5F.js.map +1 -0
- package/dist/chunk-V63YIVKJ.js +326 -0
- package/dist/chunk-V63YIVKJ.js.map +1 -0
- package/dist/chunk-WAPRVVDQ.js +9 -0
- package/dist/chunk-WAPRVVDQ.js.map +1 -0
- package/dist/chunk-X4HPHMYW.js +17 -0
- package/dist/chunk-X4HPHMYW.js.map +1 -0
- package/dist/chunk-XGFJJ2YB.js +36 -0
- package/dist/chunk-XGFJJ2YB.js.map +1 -0
- package/dist/chunk-YJGECAOZ.js +18 -0
- package/dist/chunk-YJGECAOZ.js.map +1 -0
- package/dist/chunk-YTHUHPE5.js +51 -0
- package/dist/chunk-YTHUHPE5.js.map +1 -0
- package/dist/chunk-YTJRKLUR.js +76 -0
- package/dist/chunk-YTJRKLUR.js.map +1 -0
- package/dist/chunk-YVALXJRN.js +49 -0
- package/dist/chunk-YVALXJRN.js.map +1 -0
- package/dist/chunk-YZLPO4B2.js +33 -0
- package/dist/chunk-YZLPO4B2.js.map +1 -0
- package/dist/chunk-ZHAGKFSO.js +16 -0
- package/dist/chunk-ZHAGKFSO.js.map +1 -0
- package/dist/chunk-ZM67EKZC.js +135 -0
- package/dist/chunk-ZM67EKZC.js.map +1 -0
- package/dist/chunk-ZVAW22GX.js +50 -0
- package/dist/chunk-ZVAW22GX.js.map +1 -0
- package/dist/components/accordion/index.d.ts +12 -0
- package/dist/components/accordion/index.js +4 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/alert/index.d.ts +64 -0
- package/dist/components/alert/index.js +4 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/alert-dialog/index.d.ts +22 -0
- package/dist/components/alert-dialog/index.js +9 -0
- package/dist/components/alert-dialog/index.js.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +11 -0
- package/dist/components/aspect-ratio/index.js +4 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/avatar/index.d.ts +53 -0
- package/dist/components/avatar/index.js +4 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/index.d.ts +175 -0
- package/dist/components/badge/index.js +4 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +38 -0
- package/dist/components/breadcrumb/index.js +4 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/index.d.ts +72 -0
- package/dist/components/button/index.js +5 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/index.d.ts +21 -0
- package/dist/components/button-group/index.js +4 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/index.d.ts +7 -0
- package/dist/components/calendar/index.js +12 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/index.d.ts +80 -0
- package/dist/components/card/index.js +3 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/carousel/index.d.ts +15 -0
- package/dist/components/carousel/index.js +5 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/components/chart/index.d.ts +6 -0
- package/dist/components/chart/index.js +4 -0
- package/dist/components/chart/index.js.map +1 -0
- package/dist/components/checkbox/index.d.ts +7 -0
- package/dist/components/checkbox/index.js +4 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/collapsible/index.d.ts +11 -0
- package/dist/components/collapsible/index.js +4 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/combobox/index.d.ts +13 -0
- package/dist/components/combobox/index.js +7 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command/index.d.ts +21 -0
- package/dist/components/command/index.js +10 -0
- package/dist/components/command/index.js.map +1 -0
- package/dist/components/context-menu/index.d.ts +114 -0
- package/dist/components/context-menu/index.js +5 -0
- package/dist/components/context-menu/index.js.map +1 -0
- package/dist/components/data-table/index.d.ts +6 -0
- package/dist/components/data-table/index.js +5 -0
- package/dist/components/data-table/index.js.map +1 -0
- package/dist/components/date-picker/index.d.ts +7 -0
- package/dist/components/date-picker/index.js +8 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/dialog/index.d.ts +22 -0
- package/dist/components/dialog/index.js +8 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/direction/index.d.ts +7 -0
- package/dist/components/direction/index.js +4 -0
- package/dist/components/direction/index.js.map +1 -0
- package/dist/components/drawer/index.d.ts +19 -0
- package/dist/components/drawer/index.js +8 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/dropdown/index.d.ts +24 -0
- package/dist/components/dropdown/index.js +5 -0
- package/dist/components/dropdown/index.js.map +1 -0
- package/dist/components/dropzone/index.d.ts +26 -0
- package/dist/components/dropzone/index.js +5 -0
- package/dist/components/dropzone/index.js.map +1 -0
- package/dist/components/empty/index.d.ts +59 -0
- package/dist/components/empty/index.js +4 -0
- package/dist/components/empty/index.js.map +1 -0
- package/dist/components/field/index.d.ts +8 -0
- package/dist/components/field/index.js +6 -0
- package/dist/components/field/index.js.map +1 -0
- package/dist/components/hover-card/index.d.ts +12 -0
- package/dist/components/hover-card/index.js +3 -0
- package/dist/components/hover-card/index.js.map +1 -0
- package/dist/components/image/index.d.ts +6 -0
- package/dist/components/image/index.js +4 -0
- package/dist/components/image/index.js.map +1 -0
- package/dist/components/input/index.d.ts +27 -0
- package/dist/components/input/index.js +4 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input-group/index.d.ts +132 -0
- package/dist/components/input-group/index.js +7 -0
- package/dist/components/input-group/index.js.map +1 -0
- package/dist/components/input-otp/index.d.ts +39 -0
- package/dist/components/input-otp/index.js +4 -0
- package/dist/components/input-otp/index.js.map +1 -0
- package/dist/components/item/index.d.ts +108 -0
- package/dist/components/item/index.js +5 -0
- package/dist/components/item/index.js.map +1 -0
- package/dist/components/kbd/index.d.ts +31 -0
- package/dist/components/kbd/index.js +4 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/label/index.d.ts +49 -0
- package/dist/components/label/index.js +4 -0
- package/dist/components/label/index.js.map +1 -0
- package/dist/components/locale-segment-group/index.d.ts +15 -0
- package/dist/components/locale-segment-group/index.js +4 -0
- package/dist/components/locale-segment-group/index.js.map +1 -0
- package/dist/components/menubar/index.d.ts +23 -0
- package/dist/components/menubar/index.js +5 -0
- package/dist/components/menubar/index.js.map +1 -0
- package/dist/components/native-select/index.d.ts +89 -0
- package/dist/components/native-select/index.js +3 -0
- package/dist/components/native-select/index.js.map +1 -0
- package/dist/components/navigation-menu/index.d.ts +15 -0
- package/dist/components/navigation-menu/index.js +5 -0
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/pagination/index.d.ts +44 -0
- package/dist/components/pagination/index.js +5 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/popover/index.d.ts +76 -0
- package/dist/components/popover/index.js +5 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/progress/index.d.ts +6 -0
- package/dist/components/progress/index.js +4 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/prose/index.d.ts +8 -0
- package/dist/components/prose/index.js +4 -0
- package/dist/components/prose/index.js.map +1 -0
- package/dist/components/radio-group/index.d.ts +11 -0
- package/dist/components/radio-group/index.js +5 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/scroll-area/index.d.ts +11 -0
- package/dist/components/scroll-area/index.js +4 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/select/index.d.ts +17 -0
- package/dist/components/select/index.js +5 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/selectable-card/index.d.ts +11 -0
- package/dist/components/selectable-card/index.js +5 -0
- package/dist/components/selectable-card/index.js.map +1 -0
- package/dist/components/separator/index.d.ts +24 -0
- package/dist/components/separator/index.js +4 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/sheet/index.d.ts +20 -0
- package/dist/components/sheet/index.js +8 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sidebar/index.d.ts +16 -0
- package/dist/components/sidebar/index.js +3 -0
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/skeleton/index.d.ts +52 -0
- package/dist/components/skeleton/index.js +3 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/slider/index.d.ts +7 -0
- package/dist/components/slider/index.js +4 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/sonner/index.d.ts +7 -0
- package/dist/components/sonner/index.js +3 -0
- package/dist/components/sonner/index.js.map +1 -0
- package/dist/components/spinner/index.d.ts +10 -0
- package/dist/components/spinner/index.js +4 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/switch/index.d.ts +7 -0
- package/dist/components/switch/index.js +4 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/table/index.d.ts +45 -0
- package/dist/components/table/index.js +5 -0
- package/dist/components/table/index.js.map +1 -0
- package/dist/components/tabs/index.d.ts +13 -0
- package/dist/components/tabs/index.js +5 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/textarea/index.d.ts +27 -0
- package/dist/components/textarea/index.js +4 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/theme-toggle/index.d.ts +6 -0
- package/dist/components/theme-toggle/index.js +6 -0
- package/dist/components/theme-toggle/index.js.map +1 -0
- package/dist/components/toast/index.d.ts +27 -0
- package/dist/components/toast/index.js +3 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toggle/index.d.ts +7 -0
- package/dist/components/toggle/index.js +4 -0
- package/dist/components/toggle/index.js.map +1 -0
- package/dist/components/toggle-group/index.d.ts +11 -0
- package/dist/components/toggle-group/index.js +4 -0
- package/dist/components/toggle-group/index.js.map +1 -0
- package/dist/components/tooltip/index.d.ts +12 -0
- package/dist/components/tooltip/index.js +3 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/typography/index.d.ts +8 -0
- package/dist/components/typography/index.js +4 -0
- package/dist/components/typography/index.js.map +1 -0
- package/dist/components/video/index.d.ts +8 -0
- package/dist/components/video/index.js +4 -0
- package/dist/components/video/index.js.map +1 -0
- package/dist/index.d.ts +82 -0
- package/dist/index.js +83 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/interactive/index.d.ts +44 -0
- package/dist/lib/interactive/index.js +3 -0
- package/dist/lib/interactive/index.js.map +1 -0
- package/dist/lib/signals/index.d.ts +15 -0
- package/dist/lib/signals/index.js +3 -0
- package/dist/lib/signals/index.js.map +1 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +3 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/navigationMenuTriggerStyle-BWnESpon.d.ts +48 -0
- package/dist/sonner-store-Dfdxy8ba.d.ts +11 -0
- package/dist/theme.css +81 -0
- package/package.json +360 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { JSX } from 'preact';
|
|
4
|
+
|
|
5
|
+
declare const input: tailwind_variants.TVReturnType<{
|
|
6
|
+
size: {
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
lg: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, string[], {
|
|
12
|
+
size: {
|
|
13
|
+
sm: string;
|
|
14
|
+
md: string;
|
|
15
|
+
lg: string;
|
|
16
|
+
};
|
|
17
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
18
|
+
size: {
|
|
19
|
+
sm: string;
|
|
20
|
+
md: string;
|
|
21
|
+
lg: string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
24
|
+
type InputProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<typeof input>;
|
|
25
|
+
declare const Input: ({ size, class: className, ...rest }: InputProps) => JSX.Element;
|
|
26
|
+
|
|
27
|
+
export { Input as I, type InputProps as a };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
2
|
+
|
|
3
|
+
type MenubarSubContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
children?: ComponentChildren;
|
|
5
|
+
};
|
|
6
|
+
declare const MenubarSubContent: ({ class: className, children, onPointerEnter, ...rest }: MenubarSubContentProps) => JSX.Element | null;
|
|
7
|
+
|
|
8
|
+
type MenubarSubTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
9
|
+
children?: ComponentChildren;
|
|
10
|
+
};
|
|
11
|
+
declare const MenubarSubTrigger: ({ class: className, children, onClick, onPointerEnter, ...rest }: MenubarSubTriggerProps) => JSX.Element;
|
|
12
|
+
|
|
13
|
+
type MenubarSubProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
14
|
+
children?: ComponentChildren;
|
|
15
|
+
};
|
|
16
|
+
declare const MenubarSub: ({ class: className, children, ...rest }: MenubarSubProps) => JSX.Element;
|
|
17
|
+
|
|
18
|
+
type MenubarRadioItemProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
19
|
+
children?: ComponentChildren;
|
|
20
|
+
value: string;
|
|
21
|
+
};
|
|
22
|
+
declare const MenubarRadioItem: ({ class: className, value, children, disabled, onClick, ...rest }: MenubarRadioItemProps) => JSX.Element;
|
|
23
|
+
|
|
24
|
+
type MenubarRadioGroupProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
25
|
+
children?: ComponentChildren;
|
|
26
|
+
value?: string;
|
|
27
|
+
defaultValue?: string;
|
|
28
|
+
onValueChange?: (value: string) => void;
|
|
29
|
+
};
|
|
30
|
+
declare const MenubarRadioGroup: ({ class: className, children, value: controlledValue, defaultValue, onValueChange, ...rest }: MenubarRadioGroupProps) => JSX.Element;
|
|
31
|
+
|
|
32
|
+
type MenubarCheckboxItemProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
33
|
+
children?: ComponentChildren;
|
|
34
|
+
checked?: boolean;
|
|
35
|
+
defaultChecked?: boolean;
|
|
36
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
37
|
+
};
|
|
38
|
+
declare const MenubarCheckboxItem: ({ class: className, children, checked: controlledChecked, defaultChecked, onCheckedChange, disabled, onClick, ...rest }: MenubarCheckboxItemProps) => JSX.Element;
|
|
39
|
+
|
|
40
|
+
type MenubarShortcutProps = JSX.HTMLAttributes<HTMLSpanElement> & {
|
|
41
|
+
children?: ComponentChildren;
|
|
42
|
+
};
|
|
43
|
+
declare const MenubarShortcut: ({ class: className, children, ...rest }: MenubarShortcutProps) => JSX.Element;
|
|
44
|
+
|
|
45
|
+
type MenubarSeparatorProps = JSX.HTMLAttributes<HTMLDivElement>;
|
|
46
|
+
declare const MenubarSeparator: ({ class: className, ...rest }: MenubarSeparatorProps) => JSX.Element;
|
|
47
|
+
|
|
48
|
+
type MenubarLabelProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
49
|
+
children?: ComponentChildren;
|
|
50
|
+
};
|
|
51
|
+
declare const MenubarLabel: ({ class: className, children, ...rest }: MenubarLabelProps) => JSX.Element;
|
|
52
|
+
|
|
53
|
+
type MenubarItemProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
54
|
+
children?: ComponentChildren;
|
|
55
|
+
inset?: boolean;
|
|
56
|
+
variant?: "default" | "destructive";
|
|
57
|
+
};
|
|
58
|
+
declare const MenubarItem: ({ class: className, inset, variant, children, disabled, onClick, ...rest }: MenubarItemProps) => JSX.Element;
|
|
59
|
+
|
|
60
|
+
type MenubarGroupProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
61
|
+
children?: ComponentChildren;
|
|
62
|
+
};
|
|
63
|
+
declare const MenubarGroup: ({ class: className, children, ...rest }: MenubarGroupProps) => JSX.Element;
|
|
64
|
+
|
|
65
|
+
type MenubarContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
66
|
+
children?: ComponentChildren;
|
|
67
|
+
};
|
|
68
|
+
declare const MenubarContent: ({ class: className, children, ...rest }: MenubarContentProps) => JSX.Element | null;
|
|
69
|
+
|
|
70
|
+
type MenubarTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
71
|
+
children?: ComponentChildren;
|
|
72
|
+
};
|
|
73
|
+
declare const MenubarTrigger: ({ class: className, children, onClick, ...rest }: MenubarTriggerProps) => JSX.Element;
|
|
74
|
+
|
|
75
|
+
type MenubarMenuProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
76
|
+
children?: ComponentChildren;
|
|
77
|
+
/** Optional stable id; auto-generated when omitted. */
|
|
78
|
+
value?: string;
|
|
79
|
+
};
|
|
80
|
+
declare const MenubarMenu: ({ class: className, children, value: valueProp, ...rest }: MenubarMenuProps) => JSX.Element;
|
|
81
|
+
|
|
82
|
+
type MenubarProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
83
|
+
children?: ComponentChildren;
|
|
84
|
+
dir?: "ltr" | "rtl";
|
|
85
|
+
};
|
|
86
|
+
declare const Menubar: ({ class: className, children, dir, ...rest }: MenubarProps) => JSX.Element;
|
|
87
|
+
|
|
88
|
+
export { type MenubarSubProps as A, type MenubarSubTriggerProps as B, type MenubarSubContentProps as C, Menubar as M, MenubarCheckboxItem as a, MenubarContent as b, MenubarGroup as c, MenubarItem as d, MenubarLabel as e, MenubarMenu as f, MenubarRadioGroup as g, MenubarRadioItem as h, MenubarSeparator as i, MenubarShortcut as j, MenubarSub as k, MenubarSubContent as l, MenubarSubTrigger as m, MenubarTrigger as n, type MenubarProps as o, type MenubarMenuProps as p, type MenubarTriggerProps as q, type MenubarContentProps as r, type MenubarGroupProps as s, type MenubarItemProps as t, type MenubarLabelProps as u, type MenubarSeparatorProps as v, type MenubarShortcutProps as w, type MenubarCheckboxItemProps as x, type MenubarRadioGroupProps as y, type MenubarRadioItemProps as z };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as preact from 'preact';
|
|
4
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
5
|
+
|
|
6
|
+
declare const popoverContent: tailwind_variants.TVReturnType<{
|
|
7
|
+
side: {
|
|
8
|
+
bottom: string;
|
|
9
|
+
top: string;
|
|
10
|
+
right: string;
|
|
11
|
+
left: string;
|
|
12
|
+
};
|
|
13
|
+
}, undefined, string[], {
|
|
14
|
+
side: {
|
|
15
|
+
bottom: string;
|
|
16
|
+
top: string;
|
|
17
|
+
right: string;
|
|
18
|
+
left: string;
|
|
19
|
+
};
|
|
20
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
21
|
+
side: {
|
|
22
|
+
bottom: string;
|
|
23
|
+
top: string;
|
|
24
|
+
right: string;
|
|
25
|
+
left: string;
|
|
26
|
+
};
|
|
27
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
28
|
+
type PopoverContentProps = JSX.HTMLAttributes<HTMLDivElement> & VariantProps<typeof popoverContent> & {
|
|
29
|
+
forceMount?: boolean;
|
|
30
|
+
side?: "top" | "bottom" | "left" | "right";
|
|
31
|
+
align?: "start" | "center" | "end";
|
|
32
|
+
sideOffset?: number;
|
|
33
|
+
children?: ComponentChildren;
|
|
34
|
+
};
|
|
35
|
+
declare const PopoverContent: ({ forceMount, side, align, sideOffset, class: className, style, children, onKeyDown, ...rest }: PopoverContentProps) => JSX.Element | null;
|
|
36
|
+
|
|
37
|
+
type PopoverTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
38
|
+
asChild?: boolean;
|
|
39
|
+
children?: ComponentChildren;
|
|
40
|
+
};
|
|
41
|
+
declare const PopoverTrigger: ({ asChild, class: className, children, onClick, ref: outerRef, ...rest }: PopoverTriggerProps) => JSX.Element | preact.VNode<{}> | null;
|
|
42
|
+
|
|
43
|
+
export { type PopoverContentProps as P, type PopoverTriggerProps as a, PopoverContent as b, PopoverTrigger as c };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JSX } from 'preact';
|
|
2
|
+
|
|
3
|
+
type ProgressProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
/** Set to `null` for an indeterminate bar (Radix-style). Ignored when `indeterminate` is true. */
|
|
5
|
+
value?: number | null;
|
|
6
|
+
max?: number;
|
|
7
|
+
indicatorClass?: string;
|
|
8
|
+
/** When true, shows an animated indeterminate bar regardless of `value`. */
|
|
9
|
+
indeterminate?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const Progress: ({ value, max, class: className, indicatorClass, indeterminate: indeterminateProp, ...rest }: ProgressProps) => JSX.Element;
|
|
12
|
+
|
|
13
|
+
export { Progress as P };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
4
|
+
|
|
5
|
+
declare const itemRoot: tailwind_variants.TVReturnType<{
|
|
6
|
+
size: {
|
|
7
|
+
default: string;
|
|
8
|
+
sm: string;
|
|
9
|
+
};
|
|
10
|
+
}, undefined, string[], {
|
|
11
|
+
size: {
|
|
12
|
+
default: string;
|
|
13
|
+
sm: string;
|
|
14
|
+
};
|
|
15
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
16
|
+
size: {
|
|
17
|
+
default: string;
|
|
18
|
+
sm: string;
|
|
19
|
+
};
|
|
20
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
21
|
+
type ItemVariants = VariantProps<typeof itemRoot>;
|
|
22
|
+
type RadioGroupItemProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "type" | "name" | "class" | "size"> & ItemVariants & {
|
|
23
|
+
value: string;
|
|
24
|
+
children?: ComponentChildren;
|
|
25
|
+
class?: string;
|
|
26
|
+
};
|
|
27
|
+
declare const RadioGroupItem: ({ value, children, size, class: className, onChange, disabled, ...rest }: RadioGroupItemProps) => JSX.Element;
|
|
28
|
+
|
|
29
|
+
type RadioGroupProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "class"> & {
|
|
30
|
+
/** When omitted, a stable unique name is generated (forms can still submit if you add name to inputs manually). */
|
|
31
|
+
name?: string;
|
|
32
|
+
defaultValue?: string;
|
|
33
|
+
value?: string;
|
|
34
|
+
onValueChange?: (next: string) => void;
|
|
35
|
+
class?: string;
|
|
36
|
+
children?: ComponentChildren;
|
|
37
|
+
};
|
|
38
|
+
declare const RadioGroup: ({ name: nameProp, defaultValue, value: valueProp, onValueChange, class: className, children, ...rest }: RadioGroupProps) => JSX.Element;
|
|
39
|
+
|
|
40
|
+
export { RadioGroup as R, RadioGroupItem as a, type RadioGroupProps as b, type RadioGroupItemProps as c };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
2
|
+
|
|
3
|
+
type ScrollAreaCornerProps = JSX.HTMLAttributes<HTMLDivElement>;
|
|
4
|
+
declare const ScrollAreaCorner: ({ class: className, ...rest }: ScrollAreaCornerProps) => JSX.Element | null;
|
|
5
|
+
|
|
6
|
+
type ScrollBarProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
7
|
+
orientation?: "horizontal" | "vertical";
|
|
8
|
+
};
|
|
9
|
+
declare const ScrollBar: ({ class: className, orientation, onPointerDown: onPointerDownProp, ...rest }: ScrollBarProps) => JSX.Element;
|
|
10
|
+
|
|
11
|
+
type ScrollAreaProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
12
|
+
children?: ComponentChildren;
|
|
13
|
+
};
|
|
14
|
+
declare const ScrollArea: ({ class: className, children, ...rest }: ScrollAreaProps) => JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { ScrollArea as S, ScrollAreaCorner as a, ScrollBar as b, type ScrollAreaProps as c, type ScrollBarProps as d, type ScrollAreaCornerProps as e };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
2
|
+
|
|
3
|
+
type SelectValueProps = JSX.HTMLAttributes<HTMLSpanElement> & {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
children?: ComponentChildren;
|
|
6
|
+
};
|
|
7
|
+
declare const SelectValue: ({ placeholder, children, class: className, ...rest }: SelectValueProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
type SelectSeparatorProps = JSX.HTMLAttributes<HTMLDivElement>;
|
|
10
|
+
declare const SelectSeparator: ({ class: className, ...rest }: SelectSeparatorProps) => JSX.Element;
|
|
11
|
+
|
|
12
|
+
type SelectSearchProps = JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
+
declare const SelectSearch: ({ class: className, ...rest }: SelectSearchProps) => JSX.Element;
|
|
14
|
+
|
|
15
|
+
type SelectLabelProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
16
|
+
children?: ComponentChildren;
|
|
17
|
+
};
|
|
18
|
+
declare const SelectLabel: ({ children, class: className, ...rest }: SelectLabelProps) => JSX.Element;
|
|
19
|
+
|
|
20
|
+
type SelectItemProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
21
|
+
value: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
children?: ComponentChildren;
|
|
24
|
+
};
|
|
25
|
+
declare const SelectItem: ({ value, disabled, children, id, onClick, onFocus, onKeyDown, onMouseMove, class: className, ...rest }: SelectItemProps) => JSX.Element;
|
|
26
|
+
|
|
27
|
+
type SelectGroupProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
28
|
+
children?: ComponentChildren;
|
|
29
|
+
};
|
|
30
|
+
declare const SelectGroup: ({ children, class: className, ...rest }: SelectGroupProps) => JSX.Element;
|
|
31
|
+
|
|
32
|
+
type SelectContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
33
|
+
forceMount?: boolean;
|
|
34
|
+
children?: ComponentChildren;
|
|
35
|
+
};
|
|
36
|
+
declare const SelectContent: ({ forceMount, children, onKeyDown, class: className, ...rest }: SelectContentProps) => JSX.Element | null;
|
|
37
|
+
|
|
38
|
+
type SelectTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
39
|
+
children?: ComponentChildren;
|
|
40
|
+
};
|
|
41
|
+
declare const SelectTrigger: ({ children, onClick, onKeyDown, ref, class: className, ...rest }: SelectTriggerProps) => JSX.Element;
|
|
42
|
+
|
|
43
|
+
type SelectProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
44
|
+
defaultValue?: string;
|
|
45
|
+
value?: string;
|
|
46
|
+
onValueChange?: (value: string) => void;
|
|
47
|
+
children?: ComponentChildren;
|
|
48
|
+
};
|
|
49
|
+
declare const Select: ({ defaultValue, value, onValueChange, children, class: className, ...rest }: SelectProps) => JSX.Element;
|
|
50
|
+
|
|
51
|
+
export { Select as S, SelectContent as a, SelectGroup as b, SelectItem as c, SelectLabel as d, SelectSearch as e, SelectSeparator as f, SelectTrigger as g, SelectValue as h, type SelectProps as i, type SelectTriggerProps as j, type SelectContentProps as k, type SelectGroupProps as l, type SelectItemProps as m, type SelectLabelProps as n, type SelectSearchProps as o, type SelectSeparatorProps as p, type SelectValueProps as q };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JSX } from 'preact';
|
|
2
|
+
|
|
3
|
+
type SeparatorProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "role" | "aria-orientation"> & {
|
|
4
|
+
orientation?: "horizontal" | "vertical";
|
|
5
|
+
decorative?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const Separator: ({ class: className, orientation, decorative, ...rest }: SeparatorProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { Separator as S, type SeparatorProps as a };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as preact from 'preact';
|
|
2
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
3
|
+
import { c as DialogProps } from './Dialog-BOIteLfe.js';
|
|
4
|
+
|
|
5
|
+
type SheetFooterProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
6
|
+
children?: ComponentChildren;
|
|
7
|
+
};
|
|
8
|
+
declare const SheetFooter: ({ children, ...rest }: SheetFooterProps) => JSX.Element;
|
|
9
|
+
|
|
10
|
+
type SheetHeaderProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
children?: ComponentChildren;
|
|
12
|
+
};
|
|
13
|
+
declare const SheetHeader: ({ children, ...rest }: SheetHeaderProps) => JSX.Element;
|
|
14
|
+
|
|
15
|
+
type SheetContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
16
|
+
side?: "left" | "right" | "top" | "bottom";
|
|
17
|
+
forceMount?: boolean;
|
|
18
|
+
showCloseButton?: boolean;
|
|
19
|
+
children?: ComponentChildren;
|
|
20
|
+
"data-slot"?: string;
|
|
21
|
+
};
|
|
22
|
+
declare const SheetContent: ({ side, showCloseButton, children, class: className, forceMount, "data-slot": dataSlot, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...rest }: SheetContentProps) => preact.VNode<any> | null;
|
|
23
|
+
|
|
24
|
+
type SheetProps = DialogProps & {
|
|
25
|
+
children?: ComponentChildren;
|
|
26
|
+
};
|
|
27
|
+
declare const Sheet: ({ children, lockBodyScroll, ...rest }: SheetProps) => preact.JSX.Element;
|
|
28
|
+
|
|
29
|
+
export { Sheet as S, SheetContent as a, SheetFooter as b, SheetHeader as c, type SheetProps as d, type SheetContentProps as e, type SheetHeaderProps as f, type SheetFooterProps as g };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as preact from 'preact';
|
|
2
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
3
|
+
import { signal } from '@preact/signals';
|
|
4
|
+
|
|
5
|
+
type SidebarInsetProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
6
|
+
children?: ComponentChildren;
|
|
7
|
+
};
|
|
8
|
+
declare const SidebarInset: ({ children, ...rest }: SidebarInsetProps) => JSX.Element;
|
|
9
|
+
|
|
10
|
+
type SidebarFooterProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
children?: ComponentChildren;
|
|
12
|
+
};
|
|
13
|
+
declare const SidebarFooter: ({ children, ...rest }: SidebarFooterProps) => JSX.Element;
|
|
14
|
+
|
|
15
|
+
type SidebarContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
16
|
+
children?: ComponentChildren;
|
|
17
|
+
};
|
|
18
|
+
declare const SidebarContent: ({ children, ...rest }: SidebarContentProps) => JSX.Element;
|
|
19
|
+
|
|
20
|
+
type SidebarHeaderProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
21
|
+
children?: ComponentChildren;
|
|
22
|
+
};
|
|
23
|
+
declare const SidebarHeader: ({ children, ...rest }: SidebarHeaderProps) => JSX.Element;
|
|
24
|
+
|
|
25
|
+
type SidebarTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
26
|
+
children?: ComponentChildren;
|
|
27
|
+
};
|
|
28
|
+
declare const SidebarTrigger: ({ children, onClick, ...rest }: SidebarTriggerProps) => JSX.Element;
|
|
29
|
+
|
|
30
|
+
type SidebarProps = JSX.HTMLAttributes<HTMLElement> & {
|
|
31
|
+
children?: ComponentChildren;
|
|
32
|
+
};
|
|
33
|
+
declare const Sidebar: ({ children, ...rest }: SidebarProps) => JSX.Element;
|
|
34
|
+
|
|
35
|
+
type SidebarContextValue = {
|
|
36
|
+
open: ReturnType<typeof signal<boolean>>;
|
|
37
|
+
setOpen: (next: boolean) => void;
|
|
38
|
+
};
|
|
39
|
+
declare const useSidebar: () => SidebarContextValue;
|
|
40
|
+
type SidebarProviderProps = {
|
|
41
|
+
defaultOpen?: boolean;
|
|
42
|
+
children?: ComponentChildren;
|
|
43
|
+
};
|
|
44
|
+
declare const SidebarProvider: ({ defaultOpen, children }: SidebarProviderProps) => preact.JSX.Element;
|
|
45
|
+
|
|
46
|
+
export { Sidebar as S, SidebarContent as a, SidebarFooter as b, SidebarHeader as c, SidebarInset as d, SidebarProvider as e, SidebarTrigger as f, type SidebarProviderProps as g, type SidebarProps as h, type SidebarTriggerProps as i, type SidebarHeaderProps as j, type SidebarContentProps as k, type SidebarFooterProps as l, type SidebarInsetProps as m, useSidebar as u };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JSX } from 'preact';
|
|
2
|
+
|
|
3
|
+
type SliderPrimitiveValue = number | number[];
|
|
4
|
+
type SliderProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "type"> & {
|
|
5
|
+
defaultValue?: SliderPrimitiveValue;
|
|
6
|
+
value?: SliderPrimitiveValue;
|
|
7
|
+
/** Called with the current thumb values (always a sorted array, length ≥ 1). Matches shadcn/Radix-style callbacks. */
|
|
8
|
+
onValueChange?: (value: number[]) => void;
|
|
9
|
+
/** Fires when the user finishes a drag or commits via keyboard (native `change` event). Matches Radix `onValueCommit`. */
|
|
10
|
+
onValueCommit?: (value: number[]) => void;
|
|
11
|
+
orientation?: "horizontal" | "vertical";
|
|
12
|
+
class?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const Slider: ({ defaultValue, value: controlledValue, onInput, onValueChange, onValueCommit, onChange: userOnChange, onPointerDown: userPointerDown, class: className, min: minProp, max: maxProp, step: stepProp, disabled, orientation, id, style: inputStyleProp, ...rest }: SliderProps) => JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { Slider as S, type SliderPrimitiveValue as a, type SliderProps as b };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
4
|
+
|
|
5
|
+
declare const switchRoot: tailwind_variants.TVReturnType<{
|
|
6
|
+
size: {
|
|
7
|
+
default: string;
|
|
8
|
+
sm: string;
|
|
9
|
+
};
|
|
10
|
+
}, undefined, string[], {
|
|
11
|
+
size: {
|
|
12
|
+
default: string;
|
|
13
|
+
sm: string;
|
|
14
|
+
};
|
|
15
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
16
|
+
size: {
|
|
17
|
+
default: string;
|
|
18
|
+
sm: string;
|
|
19
|
+
};
|
|
20
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
21
|
+
type SwitchVariants = VariantProps<typeof switchRoot>;
|
|
22
|
+
type SwitchProps = Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "class"> & SwitchVariants & {
|
|
23
|
+
class?: string;
|
|
24
|
+
defaultChecked?: boolean;
|
|
25
|
+
checked?: boolean;
|
|
26
|
+
onCheckedChange?: (next: boolean) => void;
|
|
27
|
+
children?: ComponentChildren;
|
|
28
|
+
};
|
|
29
|
+
declare const Switch: ({ defaultChecked, checked, onCheckedChange, size, class: className, children, onClick, ...rest }: SwitchProps) => JSX.Element;
|
|
30
|
+
|
|
31
|
+
export { Switch as S };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
2
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
+
import { VariantProps } from 'tailwind-variants';
|
|
4
|
+
|
|
5
|
+
type TabsContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
6
|
+
value: string;
|
|
7
|
+
forceMount?: boolean;
|
|
8
|
+
children?: ComponentChildren;
|
|
9
|
+
};
|
|
10
|
+
declare const TabsContent: ({ value, forceMount, class: className, children, id: idProp, ...rest }: TabsContentProps) => JSX.Element | null;
|
|
11
|
+
|
|
12
|
+
type TabsTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
13
|
+
value: string;
|
|
14
|
+
children?: ComponentChildren;
|
|
15
|
+
};
|
|
16
|
+
declare const TabsTrigger: ({ value, class: className, children, onClick, onKeyDown, id: idProp, ...rest }: TabsTriggerProps) => JSX.Element;
|
|
17
|
+
|
|
18
|
+
declare const tabsList: tailwind_variants.TVReturnType<{
|
|
19
|
+
variant: {
|
|
20
|
+
default: string;
|
|
21
|
+
line: string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, string[], {
|
|
24
|
+
variant: {
|
|
25
|
+
default: string;
|
|
26
|
+
line: string;
|
|
27
|
+
};
|
|
28
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
29
|
+
variant: {
|
|
30
|
+
default: string;
|
|
31
|
+
line: string;
|
|
32
|
+
};
|
|
33
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
34
|
+
type TabsListProps = JSX.HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabsList> & {
|
|
35
|
+
children?: ComponentChildren;
|
|
36
|
+
};
|
|
37
|
+
declare const TabsList: ({ variant, class: className, children, ...rest }: TabsListProps) => JSX.Element;
|
|
38
|
+
|
|
39
|
+
type TabsProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
40
|
+
defaultValue: string;
|
|
41
|
+
syncKey?: string;
|
|
42
|
+
orientation?: "horizontal" | "vertical";
|
|
43
|
+
children?: ComponentChildren;
|
|
44
|
+
};
|
|
45
|
+
declare const Tabs: ({ defaultValue, syncKey, orientation, class: className, children, ...rest }: TabsProps) => JSX.Element;
|
|
46
|
+
|
|
47
|
+
export { Tabs as T, TabsContent as a, TabsList as b, TabsTrigger as c, type TabsProps as d, type TabsListProps as e, type TabsTriggerProps as f, type TabsContentProps as g };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { JSX } from 'preact';
|
|
4
|
+
|
|
5
|
+
declare const textarea: tailwind_variants.TVReturnType<{
|
|
6
|
+
size: {
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
lg: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, string[], {
|
|
12
|
+
size: {
|
|
13
|
+
sm: string;
|
|
14
|
+
md: string;
|
|
15
|
+
lg: string;
|
|
16
|
+
};
|
|
17
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
18
|
+
size: {
|
|
19
|
+
sm: string;
|
|
20
|
+
md: string;
|
|
21
|
+
lg: string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
24
|
+
type TextareaProps = Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & VariantProps<typeof textarea>;
|
|
25
|
+
declare const Textarea: ({ size, class: className, ...rest }: TextareaProps) => JSX.Element;
|
|
26
|
+
|
|
27
|
+
export { Textarea as T, type TextareaProps as a };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
2
|
+
|
|
3
|
+
type ThemeToggleProps = Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "class"> & {
|
|
4
|
+
class?: string;
|
|
5
|
+
children?: ComponentChildren;
|
|
6
|
+
};
|
|
7
|
+
declare const ThemeToggle: ({ children, onClick, ...rest }: ThemeToggleProps) => JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { ThemeToggle as T };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
4
|
+
|
|
5
|
+
declare const toggle: tailwind_variants.TVReturnType<{
|
|
6
|
+
variant: {
|
|
7
|
+
default: string;
|
|
8
|
+
outline: string;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
sm: string;
|
|
12
|
+
default: string;
|
|
13
|
+
lg: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
};
|
|
16
|
+
}, undefined, string[], {
|
|
17
|
+
variant: {
|
|
18
|
+
default: string;
|
|
19
|
+
outline: string;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
sm: string;
|
|
23
|
+
default: string;
|
|
24
|
+
lg: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
};
|
|
27
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
28
|
+
variant: {
|
|
29
|
+
default: string;
|
|
30
|
+
outline: string;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
sm: string;
|
|
34
|
+
default: string;
|
|
35
|
+
lg: string;
|
|
36
|
+
icon: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
39
|
+
type ToggleVariants = VariantProps<typeof toggle>;
|
|
40
|
+
type ToggleProps = Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "class"> & ToggleVariants & {
|
|
41
|
+
class?: string;
|
|
42
|
+
defaultPressed?: boolean;
|
|
43
|
+
pressed?: boolean;
|
|
44
|
+
onPressedChange?: (next: boolean) => void;
|
|
45
|
+
children?: ComponentChildren;
|
|
46
|
+
};
|
|
47
|
+
declare const Toggle: ({ defaultPressed, pressed, onPressedChange, variant, size, class: className, children, onClick, ...rest }: ToggleProps) => JSX.Element;
|
|
48
|
+
|
|
49
|
+
export { Toggle as T };
|