@kamod-ch/ui 1.0.1 → 1.2.0
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/README.md +15 -3
- package/dist/{Accordion-D1PiNspd.d.ts → Accordion-BiCBkB8o.d.ts} +7 -1
- package/dist/{AlertDialog-GadhKjPC.d.ts → AlertDialog-CZ2taZg4.d.ts} +3 -3
- package/dist/Button-OI3VvO-J.d.ts +84 -0
- package/dist/{Collapsible-CW1hQwqV.d.ts → Collapsible-BdQqvk35.d.ts} +6 -1
- package/dist/{ComboboxValue-BGfXgtZt.d.ts → ComboboxValue-Cq6zoDkt.d.ts} +1 -1
- package/dist/{Dialog-BOIteLfe.d.ts → Dialog-DdD1sMwk.d.ts} +12 -1
- package/dist/{DialogContent-cQHSRQdT.d.ts → DialogContent-YWzwWdSv.d.ts} +6 -1
- package/dist/{Drawer-CdjXZxxK.d.ts → Drawer-8xfn9KLf.d.ts} +2 -2
- package/dist/{Dropdown-CVbWVKok.d.ts → Dropdown-CzDJJgXQ.d.ts} +32 -27
- package/dist/{FieldTitle-aSgThW-B.d.ts → FieldTitle-hsI0Y6Zm.d.ts} +13 -13
- package/dist/{HoverCard-aVEEtkyO.d.ts → HoverCard-CBBr-tT9.d.ts} +14 -14
- package/dist/{Input-Cem05el9.d.ts → Input-C_X0Xpn2.d.ts} +11 -11
- package/dist/{PopoverTrigger-CH_Kx2mn.d.ts → PopoverTrigger-CIPAh0h0.d.ts} +14 -14
- package/dist/{RadioGroup-BaElzLwa.d.ts → RadioGroup-BDF3NaXQ.d.ts} +8 -8
- package/dist/{Sheet-DZ-p-aHY.d.ts → Sheet-DVt5iTiK.d.ts} +1 -1
- package/dist/SidebarProvider-CoVCItNd.d.ts +160 -0
- package/dist/{Switch-CTTkNdqF.d.ts → Switch-BcNJFeRY.d.ts} +8 -8
- package/dist/{Tabs-CR-thcs6.d.ts → Tabs-CrXH3YED.d.ts} +18 -9
- package/dist/{Textarea-DbKkduOG.d.ts → Textarea-CST17pYW.d.ts} +11 -11
- package/dist/Toggle-BgvkYUI8.d.ts +49 -0
- package/dist/{ToggleGroup-UeYHzQe7.d.ts → ToggleGroup-CqYICGsS.d.ts} +42 -42
- package/dist/Typography-Df9IVmw2.d.ts +64 -0
- package/dist/{chunk-ZM67EKZC.js → chunk-22G3DW5M.js} +4 -4
- package/dist/{chunk-ZM67EKZC.js.map → chunk-22G3DW5M.js.map} +1 -1
- package/dist/{chunk-BDK7CDEI.js → chunk-2F3PWEDR.js} +3 -3
- package/dist/{chunk-BDK7CDEI.js.map → chunk-2F3PWEDR.js.map} +1 -1
- package/dist/{chunk-ZHAGKFSO.js → chunk-2SPOI3MX.js} +3 -3
- package/dist/{chunk-ZHAGKFSO.js.map → chunk-2SPOI3MX.js.map} +1 -1
- package/dist/chunk-2UTJHQTS.js +162 -0
- package/dist/chunk-2UTJHQTS.js.map +1 -0
- package/dist/{chunk-NKKMM6CK.js → chunk-3AFRSB5R.js} +3 -3
- package/dist/{chunk-NKKMM6CK.js.map → chunk-3AFRSB5R.js.map} +1 -1
- package/dist/{chunk-LCMPFPBN.js → chunk-3ETRJPBL.js} +3 -3
- package/dist/{chunk-LCMPFPBN.js.map → chunk-3ETRJPBL.js.map} +1 -1
- package/dist/{chunk-WAPRVVDQ.js → chunk-3HBKDY64.js} +3 -3
- package/dist/{chunk-WAPRVVDQ.js.map → chunk-3HBKDY64.js.map} +1 -1
- package/dist/{chunk-PPYJQNE5.js → chunk-3XMFQKWB.js} +9 -5
- package/dist/chunk-3XMFQKWB.js.map +1 -0
- package/dist/{chunk-HCTZJYHK.js → chunk-4SQKSVBH.js} +6 -6
- package/dist/chunk-4SQKSVBH.js.map +1 -0
- package/dist/{chunk-ZVAW22GX.js → chunk-4ZFKDNSK.js} +3 -3
- package/dist/{chunk-ZVAW22GX.js.map → chunk-4ZFKDNSK.js.map} +1 -1
- package/dist/{chunk-IJ4ZRIR4.js → chunk-53FZEAOJ.js} +5 -5
- package/dist/{chunk-IJ4ZRIR4.js.map → chunk-53FZEAOJ.js.map} +1 -1
- package/dist/{chunk-BYG2ULS3.js → chunk-5ATODZ6L.js} +5 -7
- package/dist/chunk-5ATODZ6L.js.map +1 -0
- package/dist/{chunk-TXKPDNRD.js → chunk-5I7ULBDP.js} +3 -3
- package/dist/{chunk-TXKPDNRD.js.map → chunk-5I7ULBDP.js.map} +1 -1
- package/dist/{chunk-UEXTD7ZB.js → chunk-6HFTTHSY.js} +3 -3
- package/dist/{chunk-UEXTD7ZB.js.map → chunk-6HFTTHSY.js.map} +1 -1
- package/dist/{chunk-6RASPU5N.js → chunk-7LWAWZHM.js} +4 -11
- package/dist/chunk-7LWAWZHM.js.map +1 -0
- package/dist/{chunk-RHNI5UQO.js → chunk-A6ZZZFZN.js} +4 -4
- package/dist/{chunk-RHNI5UQO.js.map → chunk-A6ZZZFZN.js.map} +1 -1
- package/dist/{chunk-V63YIVKJ.js → chunk-APZXMU2X.js} +4 -4
- package/dist/{chunk-V63YIVKJ.js.map → chunk-APZXMU2X.js.map} +1 -1
- package/dist/{chunk-6FYSVMH7.js → chunk-AYLEWD77.js} +3 -3
- package/dist/{chunk-6FYSVMH7.js.map → chunk-AYLEWD77.js.map} +1 -1
- package/dist/{chunk-D3DQ4ICC.js → chunk-BZMD4EZC.js} +4 -11
- package/dist/chunk-BZMD4EZC.js.map +1 -0
- package/dist/{chunk-PU5J5EPY.js → chunk-C7TARE5T.js} +5 -5
- package/dist/{chunk-PU5J5EPY.js.map → chunk-C7TARE5T.js.map} +1 -1
- package/dist/{chunk-5FBD2NTR.js → chunk-DDRX6NNW.js} +6 -9
- package/dist/chunk-DDRX6NNW.js.map +1 -0
- package/dist/{chunk-HHLQYMPT.js → chunk-DUTKHOH3.js} +4 -4
- package/dist/{chunk-HHLQYMPT.js.map → chunk-DUTKHOH3.js.map} +1 -1
- package/dist/chunk-EBXTNL52.js +719 -0
- package/dist/chunk-EBXTNL52.js.map +1 -0
- package/dist/{chunk-STRBBF45.js → chunk-FOQ32NEP.js} +5 -5
- package/dist/chunk-FOQ32NEP.js.map +1 -0
- package/dist/{chunk-UIA74JVN.js → chunk-FXG53XY2.js} +5 -5
- package/dist/chunk-FXG53XY2.js.map +1 -0
- package/dist/{chunk-2KY7P27I.js → chunk-G7LTWXRN.js} +3 -3
- package/dist/{chunk-2KY7P27I.js.map → chunk-G7LTWXRN.js.map} +1 -1
- package/dist/{chunk-6BK3PIRX.js → chunk-GD3VBO44.js} +6 -6
- package/dist/{chunk-6BK3PIRX.js.map → chunk-GD3VBO44.js.map} +1 -1
- package/dist/{chunk-MD6HHORY.js → chunk-GPRE2VWB.js} +3 -3
- package/dist/{chunk-MD6HHORY.js.map → chunk-GPRE2VWB.js.map} +1 -1
- package/dist/{chunk-QZX3RFIC.js → chunk-HJF5AV4L.js} +11 -34
- package/dist/chunk-HJF5AV4L.js.map +1 -0
- package/dist/{chunk-QFDTG2ZJ.js → chunk-HWPROYKB.js} +3 -3
- package/dist/{chunk-QFDTG2ZJ.js.map → chunk-HWPROYKB.js.map} +1 -1
- package/dist/chunk-ISISDJ3Z.js +205 -0
- package/dist/chunk-ISISDJ3Z.js.map +1 -0
- package/dist/{chunk-7AJT2E2Y.js → chunk-IW43BO47.js} +57 -19
- package/dist/chunk-IW43BO47.js.map +1 -0
- package/dist/{chunk-CLEC2RMU.js → chunk-JKEILBHG.js} +3 -3
- package/dist/{chunk-CLEC2RMU.js.map → chunk-JKEILBHG.js.map} +1 -1
- package/dist/{chunk-TFLSEEM4.js → chunk-KCN3GXRK.js} +3 -3
- package/dist/{chunk-TFLSEEM4.js.map → chunk-KCN3GXRK.js.map} +1 -1
- package/dist/{chunk-EMUPVA2F.js → chunk-KHV3WV6T.js} +4 -4
- package/dist/{chunk-EMUPVA2F.js.map → chunk-KHV3WV6T.js.map} +1 -1
- package/dist/{chunk-G6TV6TF7.js → chunk-KJ5PYCJG.js} +4 -12
- package/dist/chunk-KJ5PYCJG.js.map +1 -0
- package/dist/{chunk-5KS2VSX2.js → chunk-LAM4GIME.js} +4 -4
- package/dist/chunk-LAM4GIME.js.map +1 -0
- package/dist/{chunk-OCLVMKVC.js → chunk-MDXTENZ4.js} +8 -31
- package/dist/chunk-MDXTENZ4.js.map +1 -0
- package/dist/{chunk-CP55TVOV.js → chunk-MJUKNUFV.js} +3 -3
- package/dist/{chunk-CP55TVOV.js.map → chunk-MJUKNUFV.js.map} +1 -1
- package/dist/{chunk-GGTDJEE2.js → chunk-MTNLY7AY.js} +3 -3
- package/dist/{chunk-GGTDJEE2.js.map → chunk-MTNLY7AY.js.map} +1 -1
- package/dist/{chunk-67J4KBOW.js → chunk-NBIBBLP6.js} +10 -52
- package/dist/chunk-NBIBBLP6.js.map +1 -0
- package/dist/chunk-NBP4J2QF.js +200 -0
- package/dist/chunk-NBP4J2QF.js.map +1 -0
- package/dist/{chunk-NGKQBNZ5.js → chunk-NJYJCMKY.js} +3 -3
- package/dist/{chunk-NGKQBNZ5.js.map → chunk-NJYJCMKY.js.map} +1 -1
- package/dist/{chunk-COPT6I2D.js → chunk-NSEY5IC6.js} +9 -10
- package/dist/chunk-NSEY5IC6.js.map +1 -0
- package/dist/{chunk-UARVH66B.js → chunk-O4PHGLXF.js} +5 -5
- package/dist/{chunk-UARVH66B.js.map → chunk-O4PHGLXF.js.map} +1 -1
- package/dist/{chunk-J4DMQV64.js → chunk-OCZC4PDM.js} +3 -3
- package/dist/{chunk-J4DMQV64.js.map → chunk-OCZC4PDM.js.map} +1 -1
- package/dist/{chunk-IQH3XSOI.js → chunk-ODYHA3O5.js} +4 -4
- package/dist/{chunk-IQH3XSOI.js.map → chunk-ODYHA3O5.js.map} +1 -1
- package/dist/chunk-OJEZZVZB.js +9 -0
- package/dist/{chunk-CMBERB5B.js.map → chunk-OJEZZVZB.js.map} +1 -1
- package/dist/{chunk-7IOAIEIA.js → chunk-OTXP2QJ7.js} +6 -6
- package/dist/{chunk-7IOAIEIA.js.map → chunk-OTXP2QJ7.js.map} +1 -1
- package/dist/{chunk-JSHUWI3C.js → chunk-OUVUK3E7.js} +9 -9
- package/dist/chunk-OUVUK3E7.js.map +1 -0
- package/dist/{chunk-3KB54OYF.js → chunk-P6ICWO5B.js} +3 -3
- package/dist/{chunk-3KB54OYF.js.map → chunk-P6ICWO5B.js.map} +1 -1
- package/dist/{chunk-GIU6BZTW.js → chunk-P7PPE4P5.js} +8 -11
- package/dist/chunk-P7PPE4P5.js.map +1 -0
- package/dist/{chunk-XGFJJ2YB.js → chunk-PVQUVEZV.js} +4 -11
- package/dist/chunk-PVQUVEZV.js.map +1 -0
- package/dist/{chunk-LCWXIQKA.js → chunk-Q3RL7TOY.js} +4 -4
- package/dist/chunk-Q3RL7TOY.js.map +1 -0
- package/dist/{chunk-5Q4RBIMZ.js → chunk-Q5B6ROW6.js} +3 -3
- package/dist/{chunk-5Q4RBIMZ.js.map → chunk-Q5B6ROW6.js.map} +1 -1
- package/dist/{chunk-262EK2XT.js → chunk-Q7ZDP6DS.js} +9 -7
- package/dist/chunk-Q7ZDP6DS.js.map +1 -0
- package/dist/{chunk-4IBTERDG.js → chunk-QFTOABOJ.js} +3 -3
- package/dist/{chunk-4IBTERDG.js.map → chunk-QFTOABOJ.js.map} +1 -1
- package/dist/{chunk-JURNPBSW.js → chunk-QINEFXUA.js} +3 -3
- package/dist/{chunk-JURNPBSW.js.map → chunk-QINEFXUA.js.map} +1 -1
- package/dist/{chunk-FIOKWIJP.js → chunk-QWSD34JA.js} +4 -4
- package/dist/{chunk-FIOKWIJP.js.map → chunk-QWSD34JA.js.map} +1 -1
- package/dist/{chunk-Q5IUIA6B.js → chunk-RLBAA7WW.js} +3 -3
- package/dist/{chunk-Q5IUIA6B.js.map → chunk-RLBAA7WW.js.map} +1 -1
- package/dist/{chunk-2BQ54337.js → chunk-SEC7UN45.js} +5 -5
- package/dist/chunk-SEC7UN45.js.map +1 -0
- package/dist/chunk-SIA46B4Q.js +9 -0
- package/dist/{chunk-RTIFG4XT.js.map → chunk-SIA46B4Q.js.map} +1 -1
- package/dist/{chunk-X4HPHMYW.js → chunk-TMPADU74.js} +4 -4
- package/dist/{chunk-X4HPHMYW.js.map → chunk-TMPADU74.js.map} +1 -1
- package/dist/{chunk-YTHUHPE5.js → chunk-USPWL4KC.js} +3 -3
- package/dist/{chunk-YTHUHPE5.js.map → chunk-USPWL4KC.js.map} +1 -1
- package/dist/{chunk-U2UNWXBC.js → chunk-VEQ7X2PO.js} +7 -6
- package/dist/chunk-VEQ7X2PO.js.map +1 -0
- package/dist/{chunk-YZLPO4B2.js → chunk-WRXXU5F6.js} +4 -11
- package/dist/chunk-WRXXU5F6.js.map +1 -0
- package/dist/{chunk-XNYAQZIB.js → chunk-X4B6I3M4.js} +4 -4
- package/dist/{chunk-XNYAQZIB.js.map → chunk-X4B6I3M4.js.map} +1 -1
- package/dist/{chunk-JNF7FDJO.js → chunk-XCYEWILH.js} +4 -4
- package/dist/{chunk-JNF7FDJO.js.map → chunk-XCYEWILH.js.map} +1 -1
- package/dist/{chunk-V2MG5Y5F.js → chunk-XGVQXRLA.js} +4 -4
- package/dist/chunk-XGVQXRLA.js.map +1 -0
- package/dist/chunk-XIANSPQO.js +11 -0
- package/dist/chunk-XIANSPQO.js.map +1 -0
- package/dist/{chunk-UNWEH4Z6.js → chunk-XOMPJYYA.js} +4 -4
- package/dist/chunk-XOMPJYYA.js.map +1 -0
- package/dist/{chunk-UXWUFNXY.js → chunk-XSYSV3R3.js} +3 -3
- package/dist/{chunk-UXWUFNXY.js.map → chunk-XSYSV3R3.js.map} +1 -1
- package/dist/{chunk-ERBGZZ2U.js → chunk-XZYJUJED.js} +4 -4
- package/dist/chunk-XZYJUJED.js.map +1 -0
- package/dist/{chunk-PFV7YIEP.js → chunk-Z4JNYSV3.js} +4 -4
- package/dist/{chunk-PFV7YIEP.js.map → chunk-Z4JNYSV3.js.map} +1 -1
- package/dist/{chunk-4V3WHQJE.js → chunk-ZLSCHWTN.js} +4 -4
- package/dist/{chunk-4V3WHQJE.js.map → chunk-ZLSCHWTN.js.map} +1 -1
- package/dist/chunk-ZQ2WOX4X.js +29 -0
- package/dist/chunk-ZQ2WOX4X.js.map +1 -0
- package/dist/{chunk-NILG56Z7.js → chunk-ZROHNZDC.js} +4 -4
- package/dist/{chunk-NILG56Z7.js.map → chunk-ZROHNZDC.js.map} +1 -1
- package/dist/{chunk-PGOCR4LG.js → chunk-ZVYCUG4N.js} +4 -4
- package/dist/chunk-ZVYCUG4N.js.map +1 -0
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/index.js +3 -2
- package/dist/components/alert/index.d.ts +26 -26
- package/dist/components/alert/index.js +2 -2
- package/dist/components/alert-dialog/index.d.ts +6 -5
- package/dist/components/alert-dialog/index.js +6 -6
- package/dist/components/aspect-ratio/index.js +2 -2
- package/dist/components/avatar/index.d.ts +11 -11
- package/dist/components/avatar/index.js +2 -2
- package/dist/components/badge/index.d.ts +112 -112
- package/dist/components/badge/index.js +2 -2
- package/dist/components/breadcrumb/index.js +2 -2
- package/dist/components/button/index.d.ts +51 -51
- package/dist/components/button/index.js +3 -3
- package/dist/components/button-group/index.js +2 -2
- package/dist/components/calendar/index.js +10 -10
- package/dist/components/card/index.d.ts +22 -22
- package/dist/components/card/index.js +2 -1
- package/dist/components/carousel/index.js +3 -3
- package/dist/components/chart/index.js +2 -2
- package/dist/components/checkbox/index.js +2 -2
- package/dist/components/collapsible/index.d.ts +2 -2
- package/dist/components/collapsible/index.js +3 -2
- package/dist/components/combobox/index.d.ts +2 -2
- package/dist/components/combobox/index.js +5 -5
- package/dist/components/command/index.js +7 -7
- package/dist/components/context-menu/index.d.ts +11 -11
- package/dist/components/context-menu/index.js +3 -3
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/date-picker/index.js +6 -6
- package/dist/components/dialog/index.d.ts +26 -5
- package/dist/components/dialog/index.js +5 -5
- package/dist/components/direction/index.js +2 -2
- package/dist/components/drawer/index.d.ts +5 -4
- package/dist/components/drawer/index.js +5 -5
- package/dist/components/dropdown/index.d.ts +3 -3
- package/dist/components/dropdown/index.js +3 -3
- package/dist/components/dropzone/index.js +3 -3
- package/dist/components/empty/index.d.ts +6 -6
- package/dist/components/empty/index.js +2 -2
- package/dist/components/field/index.d.ts +2 -2
- package/dist/components/field/index.js +4 -4
- package/dist/components/hover-card/index.d.ts +2 -2
- package/dist/components/hover-card/index.js +2 -1
- package/dist/components/image/index.js +2 -2
- package/dist/components/input/index.d.ts +12 -12
- package/dist/components/input/index.js +3 -2
- package/dist/components/input-group/index.d.ts +56 -56
- package/dist/components/input-group/index.js +5 -5
- package/dist/components/input-otp/index.js +2 -2
- package/dist/components/item/index.d.ts +31 -31
- package/dist/components/item/index.js +3 -3
- package/dist/components/kbd/index.d.ts +8 -8
- package/dist/components/kbd/index.js +2 -2
- package/dist/components/label/index.d.ts +22 -22
- package/dist/components/label/index.js +3 -2
- package/dist/components/locale-segment-group/index.js +2 -2
- package/dist/components/menubar/index.js +3 -3
- package/dist/components/native-select/index.d.ts +34 -34
- package/dist/components/native-select/index.js +2 -1
- package/dist/components/navigation-menu/index.d.ts +2 -2
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.js +3 -3
- package/dist/components/popover/index.d.ts +22 -22
- package/dist/components/popover/index.js +4 -3
- package/dist/components/progress/index.js +2 -2
- package/dist/components/prose/index.js +2 -2
- package/dist/components/radio-group/index.d.ts +2 -2
- package/dist/components/radio-group/index.js +3 -3
- package/dist/components/scroll-area/index.js +2 -2
- package/dist/components/select/index.js +3 -3
- package/dist/components/selectable-card/index.js +3 -3
- package/dist/components/separator/index.d.ts +8 -8
- package/dist/components/separator/index.js +3 -2
- package/dist/components/sheet/index.d.ts +5 -4
- package/dist/components/sheet/index.js +5 -5
- package/dist/components/sidebar/index.d.ts +15 -10
- package/dist/components/sidebar/index.js +13 -1
- package/dist/components/skeleton/index.d.ts +22 -22
- package/dist/components/skeleton/index.js +2 -1
- package/dist/components/slider/index.js +2 -2
- package/dist/components/spinner/index.js +2 -2
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/index.js +2 -2
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/textarea/index.d.ts +12 -12
- package/dist/components/textarea/index.js +3 -2
- package/dist/components/theme-toggle/index.js +4 -4
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle-group/index.d.ts +2 -2
- package/dist/components/toggle-group/index.js +2 -2
- package/dist/components/typography/index.d.ts +2 -2
- package/dist/components/typography/index.js +2 -2
- package/dist/components/video/index.js +2 -2
- package/dist/index.d.ts +24 -24
- package/dist/index.js +80 -79
- package/dist/lib/interactive/index.js +1 -1
- package/dist/lib/utils.d.ts +2 -1
- package/dist/lib/utils.js +1 -1
- package/dist/{navigationMenuTriggerStyle-BWnESpon.d.ts → navigationMenuTriggerStyle-DUhqCYxO.d.ts} +1 -1
- package/dist/theme.css +16 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +3 -0
- package/dist/utils.js.map +1 -0
- package/package.json +17 -13
- package/dist/Button-vQnkiVTI.d.ts +0 -84
- package/dist/SidebarProvider-IAihmyD7.d.ts +0 -46
- package/dist/Toggle-CseZl7XN.d.ts +0 -49
- package/dist/Typography-ccTtE182.d.ts +0 -64
- package/dist/chunk-262EK2XT.js.map +0 -1
- package/dist/chunk-2BQ54337.js.map +0 -1
- package/dist/chunk-5FBD2NTR.js.map +0 -1
- package/dist/chunk-5KS2VSX2.js.map +0 -1
- package/dist/chunk-67J4KBOW.js.map +0 -1
- package/dist/chunk-6RASPU5N.js.map +0 -1
- package/dist/chunk-7AJT2E2Y.js.map +0 -1
- package/dist/chunk-BYG2ULS3.js.map +0 -1
- package/dist/chunk-CMBERB5B.js +0 -9
- package/dist/chunk-COPT6I2D.js.map +0 -1
- package/dist/chunk-D3DQ4ICC.js.map +0 -1
- package/dist/chunk-ERBGZZ2U.js.map +0 -1
- package/dist/chunk-G6TV6TF7.js.map +0 -1
- package/dist/chunk-GIU6BZTW.js.map +0 -1
- package/dist/chunk-HCTZJYHK.js.map +0 -1
- package/dist/chunk-JSHUWI3C.js.map +0 -1
- package/dist/chunk-LCWXIQKA.js.map +0 -1
- package/dist/chunk-MKG3UAP6.js +0 -347
- package/dist/chunk-MKG3UAP6.js.map +0 -1
- package/dist/chunk-MS2ZNYCJ.js +0 -9
- package/dist/chunk-MS2ZNYCJ.js.map +0 -1
- package/dist/chunk-OCLVMKVC.js.map +0 -1
- package/dist/chunk-PGOCR4LG.js.map +0 -1
- package/dist/chunk-PPYJQNE5.js.map +0 -1
- package/dist/chunk-QZX3RFIC.js.map +0 -1
- package/dist/chunk-R565SY7K.js +0 -69
- package/dist/chunk-R565SY7K.js.map +0 -1
- package/dist/chunk-RTIFG4XT.js +0 -9
- package/dist/chunk-STRBBF45.js.map +0 -1
- package/dist/chunk-U2UNWXBC.js.map +0 -1
- package/dist/chunk-UEGIKBX6.js +0 -385
- package/dist/chunk-UEGIKBX6.js.map +0 -1
- package/dist/chunk-UIA74JVN.js.map +0 -1
- package/dist/chunk-UNWEH4Z6.js.map +0 -1
- package/dist/chunk-V2MG5Y5F.js.map +0 -1
- package/dist/chunk-X2YUFNK7.js +0 -18
- package/dist/chunk-X2YUFNK7.js.map +0 -1
- package/dist/chunk-XGFJJ2YB.js.map +0 -1
- package/dist/chunk-YZLPO4B2.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/kamod-ch/kamod-ui/main/.github/assets/logo-kamod-ui-dark.svg#gh-light-mode-only" alt="
|
|
3
|
-
<img src="https://raw.githubusercontent.com/kamod-ch/kamod-ui/main/.github/assets/logo-kamod-ui-light.svg#gh-dark-mode-only" alt="
|
|
2
|
+
<img src="https://raw.githubusercontent.com/kamod-ch/kamod-ui/main/.github/assets/logo-kamod-ui-dark.svg#gh-light-mode-only" alt="Kamod UI" width="280" />
|
|
3
|
+
<img src="https://raw.githubusercontent.com/kamod-ch/kamod-ui/main/.github/assets/logo-kamod-ui-light.svg#gh-dark-mode-only" alt="Kamod UI" width="280" />
|
|
4
4
|
</p>
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# Kamod UI
|
|
7
7
|
|
|
8
8
|
Lightweight UI components for **Preact** and **Tailwind**: composable primitives you can customize, extend, and ship without a heavy runtime. Open source; source is meant to be read and adapted.
|
|
9
9
|
|
|
@@ -46,6 +46,18 @@ Many UI kits are heavier than necessary, overly opinionated, or tied to React. K
|
|
|
46
46
|
|
|
47
47
|
## Quick start
|
|
48
48
|
|
|
49
|
+
### New project?
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
npm create kamod@latest
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Choose a starter:
|
|
56
|
+
|
|
57
|
+
- **Preact** → lightweight Preact applications
|
|
58
|
+
- **Astro** → content-first sites with Preact Islands
|
|
59
|
+
- **Otok** → full-stack Preact applications
|
|
60
|
+
|
|
49
61
|
### Vite + Preact + Tailwind v4 starter
|
|
50
62
|
|
|
51
63
|
```bash
|
|
@@ -19,6 +19,12 @@ type AccordionTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
19
19
|
};
|
|
20
20
|
declare const AccordionTrigger: ({ hideIndicator, indicator, children, class: className, onClick, ...rest }: AccordionTriggerProps) => JSX.Element;
|
|
21
21
|
|
|
22
|
+
type AccordionItemContextValue = {
|
|
23
|
+
value: string;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
};
|
|
27
|
+
declare const useAccordionItem: () => AccordionItemContextValue;
|
|
22
28
|
type AccordionItemProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
23
29
|
value: string;
|
|
24
30
|
disabled?: boolean;
|
|
@@ -36,4 +42,4 @@ type AccordionProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
|
36
42
|
};
|
|
37
43
|
declare const Accordion: ({ type, collapsible, defaultValue, children, ...rest }: AccordionProps) => JSX.Element;
|
|
38
44
|
|
|
39
|
-
export { Accordion as A, AccordionContent as a, AccordionItem as b, AccordionTrigger as c, type AccordionProps as d, type AccordionItemProps as e, type AccordionTriggerProps as f, type AccordionContentProps as g };
|
|
45
|
+
export { Accordion as A, AccordionContent as a, AccordionItem as b, AccordionTrigger as c, type AccordionProps as d, type AccordionItemProps as e, type AccordionTriggerProps as f, type AccordionContentProps as g, useAccordionItem as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
2
|
import { ComponentChildren, JSX } from 'preact';
|
|
3
3
|
import { VariantProps } from 'tailwind-variants';
|
|
4
|
-
import { b as button } from './Button-
|
|
5
|
-
import {
|
|
6
|
-
import { b as DialogContentProps } from './DialogContent-
|
|
4
|
+
import { b as button } from './Button-OI3VvO-J.js';
|
|
5
|
+
import { d as DialogCloseProps, c as DialogTriggerProps, e as DialogProps } from './Dialog-DdD1sMwk.js';
|
|
6
|
+
import { b as DialogContentProps } from './DialogContent-YWzwWdSv.js';
|
|
7
7
|
|
|
8
8
|
type AlertDialogActionProps = DialogCloseProps & {
|
|
9
9
|
variant?: VariantProps<typeof button>["variant"];
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as preact from 'preact';
|
|
2
|
+
import { ComponentChildren, JSX } from 'preact';
|
|
3
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
4
|
+
import { VariantProps } from 'tailwind-variants';
|
|
5
|
+
|
|
6
|
+
declare const button: tailwind_variants.TVReturnType<{
|
|
7
|
+
variant: {
|
|
8
|
+
default: "bg-primary text-background hover:bg-foreground/90 focus-visible:ring-outline/50";
|
|
9
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/90 focus-visible:ring-secondary/50";
|
|
10
|
+
inverse: "bg-foreground text-background hover:opacity-[0.85] focus-visible:ring-outline/50";
|
|
11
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50 border";
|
|
12
|
+
ghost: "hover:bg-muted hover:text-foreground focus-visible:ring-outline/50";
|
|
13
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-outline/50";
|
|
14
|
+
link: "h-auto p-0 text-primary underline-offset-4 hover:underline active:translate-y-0 focus-visible:ring-0";
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
xxs: "h-5 gap-1 px-1.5 text-[10px]";
|
|
18
|
+
xs: "h-6 gap-1 px-2 text-xs";
|
|
19
|
+
sm: "h-7 gap-1.5 px-3";
|
|
20
|
+
default: "h-8 gap-1.5 px-2.5";
|
|
21
|
+
lg: "h-9 gap-2 px-5 text-base has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-4.5";
|
|
22
|
+
icon: "size-8";
|
|
23
|
+
"icon-xs": "size-6 [&_svg:not([class*='size-'])]:size-3.5";
|
|
24
|
+
"icon-sm": "size-7 [&_svg:not([class*='size-'])]:size-4";
|
|
25
|
+
"icon-lg": "size-9 [&_svg:not([class*='size-'])]:size-5";
|
|
26
|
+
};
|
|
27
|
+
}, undefined, string[], {
|
|
28
|
+
variant: {
|
|
29
|
+
default: "bg-primary text-background hover:bg-foreground/90 focus-visible:ring-outline/50";
|
|
30
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/90 focus-visible:ring-secondary/50";
|
|
31
|
+
inverse: "bg-foreground text-background hover:opacity-[0.85] focus-visible:ring-outline/50";
|
|
32
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50 border";
|
|
33
|
+
ghost: "hover:bg-muted hover:text-foreground focus-visible:ring-outline/50";
|
|
34
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-outline/50";
|
|
35
|
+
link: "h-auto p-0 text-primary underline-offset-4 hover:underline active:translate-y-0 focus-visible:ring-0";
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
xxs: "h-5 gap-1 px-1.5 text-[10px]";
|
|
39
|
+
xs: "h-6 gap-1 px-2 text-xs";
|
|
40
|
+
sm: "h-7 gap-1.5 px-3";
|
|
41
|
+
default: "h-8 gap-1.5 px-2.5";
|
|
42
|
+
lg: "h-9 gap-2 px-5 text-base has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-4.5";
|
|
43
|
+
icon: "size-8";
|
|
44
|
+
"icon-xs": "size-6 [&_svg:not([class*='size-'])]:size-3.5";
|
|
45
|
+
"icon-sm": "size-7 [&_svg:not([class*='size-'])]:size-4";
|
|
46
|
+
"icon-lg": "size-9 [&_svg:not([class*='size-'])]:size-5";
|
|
47
|
+
};
|
|
48
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
49
|
+
variant: {
|
|
50
|
+
default: "bg-primary text-background hover:bg-foreground/90 focus-visible:ring-outline/50";
|
|
51
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/90 focus-visible:ring-secondary/50";
|
|
52
|
+
inverse: "bg-foreground text-background hover:opacity-[0.85] focus-visible:ring-outline/50";
|
|
53
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50 border";
|
|
54
|
+
ghost: "hover:bg-muted hover:text-foreground focus-visible:ring-outline/50";
|
|
55
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-outline/50";
|
|
56
|
+
link: "h-auto p-0 text-primary underline-offset-4 hover:underline active:translate-y-0 focus-visible:ring-0";
|
|
57
|
+
};
|
|
58
|
+
size: {
|
|
59
|
+
xxs: "h-5 gap-1 px-1.5 text-[10px]";
|
|
60
|
+
xs: "h-6 gap-1 px-2 text-xs";
|
|
61
|
+
sm: "h-7 gap-1.5 px-3";
|
|
62
|
+
default: "h-8 gap-1.5 px-2.5";
|
|
63
|
+
lg: "h-9 gap-2 px-5 text-base has-[>svg]:px-4 [&_svg:not([class*='size-'])]:size-4.5";
|
|
64
|
+
icon: "size-8";
|
|
65
|
+
"icon-xs": "size-6 [&_svg:not([class*='size-'])]:size-3.5";
|
|
66
|
+
"icon-sm": "size-7 [&_svg:not([class*='size-'])]:size-4";
|
|
67
|
+
"icon-lg": "size-9 [&_svg:not([class*='size-'])]:size-5";
|
|
68
|
+
};
|
|
69
|
+
}, undefined>>;
|
|
70
|
+
type CommonProps = VariantProps<typeof button> & {
|
|
71
|
+
class?: string;
|
|
72
|
+
asChild?: boolean;
|
|
73
|
+
children?: ComponentChildren;
|
|
74
|
+
};
|
|
75
|
+
type ButtonAsButton = CommonProps & JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
76
|
+
href?: undefined;
|
|
77
|
+
};
|
|
78
|
+
type ButtonAsAnchor = CommonProps & JSX.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
79
|
+
href: string;
|
|
80
|
+
};
|
|
81
|
+
type ButtonProps = ButtonAsButton | ButtonAsAnchor;
|
|
82
|
+
declare const Button: ({ variant, size, asChild, class: className, children, ...rest }: ButtonProps) => JSX.Element | preact.VNode<{}> | null;
|
|
83
|
+
|
|
84
|
+
export { Button as B, button as b };
|
|
@@ -20,6 +20,11 @@ type CollapsibleTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
20
20
|
};
|
|
21
21
|
declare const CollapsibleTrigger: ({ asChild, children, onClick, ref: outerRef, "data-slot": dataSlot, ...rest }: CollapsibleTriggerProps) => JSX.Element | preact.VNode<{}> | null;
|
|
22
22
|
|
|
23
|
+
type CollapsibleContextValue = {
|
|
24
|
+
open: boolean;
|
|
25
|
+
setOpen: (next: boolean) => void;
|
|
26
|
+
};
|
|
27
|
+
declare const useCollapsible: () => CollapsibleContextValue;
|
|
23
28
|
type CollapsibleProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
24
29
|
/** Uncontrolled initial state */
|
|
25
30
|
defaultOpen?: boolean;
|
|
@@ -31,4 +36,4 @@ type CollapsibleProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
|
31
36
|
};
|
|
32
37
|
declare const Collapsible: ({ defaultOpen, open: openProp, onOpenChange, children, ...rest }: CollapsibleProps) => JSX.Element;
|
|
33
38
|
|
|
34
|
-
export { Collapsible as C, CollapsibleContent as a, CollapsibleTrigger as b, type CollapsibleProps as c, type CollapsibleTriggerProps as d, type CollapsibleContentProps as e };
|
|
39
|
+
export { Collapsible as C, CollapsibleContent as a, CollapsibleTrigger as b, type CollapsibleProps as c, type CollapsibleTriggerProps as d, type CollapsibleContentProps as e, useCollapsible as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
2
|
import { JSX, ComponentChildren } from 'preact';
|
|
3
3
|
import { C as CommandProps, e as CommandInputProps, l as CommandItemProps, m as CommandListProps } from './CommandSeparator-wZRCsqsT.js';
|
|
4
|
-
import { P as PopoverContentProps, a as PopoverTriggerProps } from './PopoverTrigger-
|
|
4
|
+
import { P as PopoverContentProps, a as PopoverTriggerProps } from './PopoverTrigger-CIPAh0h0.js';
|
|
5
5
|
import { Signal } from '@preact/signals';
|
|
6
6
|
|
|
7
7
|
type ComboboxChipProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "children"> & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
2
|
import { JSX, ComponentChildren } from 'preact';
|
|
3
|
+
import { signal, Signal } from '@preact/signals';
|
|
3
4
|
|
|
4
5
|
type DialogCloseProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
5
6
|
asChild?: boolean;
|
|
@@ -15,6 +16,16 @@ type DialogTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
15
16
|
};
|
|
16
17
|
declare const DialogTrigger: ({ asChild, children, onClick, onPointerDown, ref: outerRef, "data-slot": dataSlot, ...rest }: DialogTriggerProps) => JSX.Element | preact.VNode<{}> | null;
|
|
17
18
|
|
|
19
|
+
type DialogContextValue = {
|
|
20
|
+
open: ReturnType<typeof signal<boolean>>;
|
|
21
|
+
setOpen: (next: boolean) => void;
|
|
22
|
+
triggerRef: {
|
|
23
|
+
current: HTMLElement | null;
|
|
24
|
+
};
|
|
25
|
+
titleId: Signal<string | undefined>;
|
|
26
|
+
descriptionId: Signal<string | undefined>;
|
|
27
|
+
};
|
|
28
|
+
declare const useDialog: () => DialogContextValue;
|
|
18
29
|
type DialogProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
19
30
|
defaultOpen?: boolean;
|
|
20
31
|
open?: boolean;
|
|
@@ -25,4 +36,4 @@ type DialogProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
|
25
36
|
};
|
|
26
37
|
declare const Dialog: ({ defaultOpen, open: openProp, onOpenChange, lockBodyScroll, children, ...rest }: DialogProps) => JSX.Element;
|
|
27
38
|
|
|
28
|
-
export { Dialog as D, DialogClose as a, DialogTrigger as b, type
|
|
39
|
+
export { Dialog as D, DialogClose as a, DialogTrigger as b, type DialogTriggerProps as c, type DialogCloseProps as d, type DialogProps as e, useDialog as u };
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
2
|
import { JSX, ComponentChildren } from 'preact';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* `fixed inset-0` can miss edge pixels vs full-viewport overlays; explicit `100vw` / `100vh`
|
|
6
|
+
* keeps the backdrop flush with the visual viewport.
|
|
7
|
+
*/
|
|
8
|
+
declare const dialogViewportBleedClass = "fixed left-0 top-0 h-screen min-h-[100dvh] w-screen min-w-[100vw]";
|
|
4
9
|
type DialogContentPresentation = "modal" | "slot";
|
|
5
10
|
type DialogContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
6
11
|
forceMount?: boolean;
|
|
@@ -21,4 +26,4 @@ type DialogContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
|
21
26
|
*/
|
|
22
27
|
declare const DialogContent: ({ forceMount, presentation, showCloseButton, class: className, children, onKeyDown, "data-slot": dataSlot, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, ...rest }: DialogContentProps) => JSX.Element | preact.VNode<{}> | null;
|
|
23
28
|
|
|
24
|
-
export { DialogContent as D, type DialogContentPresentation as a, type DialogContentProps as b };
|
|
29
|
+
export { DialogContent as D, type DialogContentPresentation as a, type DialogContentProps as b, dialogViewportBleedClass as d };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
2
|
import { ComponentChildren } from 'preact';
|
|
3
|
-
import {
|
|
3
|
+
import { d as DialogCloseProps, c as DialogTriggerProps } from './Dialog-DdD1sMwk.js';
|
|
4
4
|
import { c as DialogDescriptionProps, b as DialogTitleProps } from './DialogTitle-CerJD0oA.js';
|
|
5
|
-
import { g as SheetFooterProps, f as SheetHeaderProps, e as SheetContentProps, d as SheetProps } from './Sheet-
|
|
5
|
+
import { g as SheetFooterProps, f as SheetHeaderProps, e as SheetContentProps, d as SheetProps } from './Sheet-DVt5iTiK.js';
|
|
6
6
|
|
|
7
7
|
type DrawerCloseProps = DialogCloseProps;
|
|
8
8
|
declare const DrawerClose: (props: DrawerCloseProps) => preact.JSX.Element;
|
|
@@ -69,56 +69,61 @@ declare const DropdownLabel: ({ inset, class: className, children, ...rest }: Dr
|
|
|
69
69
|
|
|
70
70
|
declare const dropdownItem: tailwind_variants.TVReturnType<{
|
|
71
71
|
variant: {
|
|
72
|
-
default:
|
|
73
|
-
destructive:
|
|
72
|
+
default: "";
|
|
73
|
+
destructive: "text-destructive hover:bg-destructive/10 hover:text-destructive focus:bg-destructive/10 focus:text-destructive dark:focus:bg-destructive/20 [&_svg]:text-destructive";
|
|
74
74
|
};
|
|
75
75
|
inset: {
|
|
76
|
-
true:
|
|
76
|
+
true: "ps-6";
|
|
77
77
|
};
|
|
78
78
|
}, undefined, string[], {
|
|
79
79
|
variant: {
|
|
80
|
-
default:
|
|
81
|
-
destructive:
|
|
80
|
+
default: "";
|
|
81
|
+
destructive: "text-destructive hover:bg-destructive/10 hover:text-destructive focus:bg-destructive/10 focus:text-destructive dark:focus:bg-destructive/20 [&_svg]:text-destructive";
|
|
82
82
|
};
|
|
83
83
|
inset: {
|
|
84
|
-
true:
|
|
84
|
+
true: "ps-6";
|
|
85
85
|
};
|
|
86
|
-
}, undefined, tailwind_variants.
|
|
86
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
87
87
|
variant: {
|
|
88
|
-
default:
|
|
89
|
-
destructive:
|
|
88
|
+
default: "";
|
|
89
|
+
destructive: "text-destructive hover:bg-destructive/10 hover:text-destructive focus:bg-destructive/10 focus:text-destructive dark:focus:bg-destructive/20 [&_svg]:text-destructive";
|
|
90
90
|
};
|
|
91
91
|
inset: {
|
|
92
|
-
true:
|
|
92
|
+
true: "ps-6";
|
|
93
93
|
};
|
|
94
|
-
}, undefined
|
|
95
|
-
type
|
|
94
|
+
}, undefined>>;
|
|
95
|
+
type DropdownItemSharedProps = VariantProps<typeof dropdownItem> & {
|
|
96
96
|
children?: ComponentChildren;
|
|
97
97
|
};
|
|
98
|
-
|
|
98
|
+
type DropdownItemProps = DropdownItemSharedProps & ((Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "href"> & {
|
|
99
|
+
href?: undefined;
|
|
100
|
+
}) | (JSX.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
101
|
+
href: string;
|
|
102
|
+
}));
|
|
103
|
+
declare const DropdownItem: ({ inset, variant, class: className, children, onClick, href, ...rest }: DropdownItemProps) => JSX.Element;
|
|
99
104
|
|
|
100
105
|
declare const dropdownContent: tailwind_variants.TVReturnType<{
|
|
101
106
|
side: {
|
|
102
|
-
bottom:
|
|
103
|
-
top:
|
|
104
|
-
right:
|
|
105
|
-
left:
|
|
107
|
+
bottom: "slide-in-from-top-2";
|
|
108
|
+
top: "slide-in-from-bottom-2";
|
|
109
|
+
right: "slide-in-from-left-2";
|
|
110
|
+
left: "slide-in-from-right-2";
|
|
106
111
|
};
|
|
107
112
|
}, undefined, string[], {
|
|
108
113
|
side: {
|
|
109
|
-
bottom:
|
|
110
|
-
top:
|
|
111
|
-
right:
|
|
112
|
-
left:
|
|
114
|
+
bottom: "slide-in-from-top-2";
|
|
115
|
+
top: "slide-in-from-bottom-2";
|
|
116
|
+
right: "slide-in-from-left-2";
|
|
117
|
+
left: "slide-in-from-right-2";
|
|
113
118
|
};
|
|
114
|
-
}, undefined, tailwind_variants.
|
|
119
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
115
120
|
side: {
|
|
116
|
-
bottom:
|
|
117
|
-
top:
|
|
118
|
-
right:
|
|
119
|
-
left:
|
|
121
|
+
bottom: "slide-in-from-top-2";
|
|
122
|
+
top: "slide-in-from-bottom-2";
|
|
123
|
+
right: "slide-in-from-left-2";
|
|
124
|
+
left: "slide-in-from-right-2";
|
|
120
125
|
};
|
|
121
|
-
}, undefined
|
|
126
|
+
}, undefined>>;
|
|
122
127
|
type DropdownContentProps = JSX.HTMLAttributes<HTMLDivElement> & VariantProps<typeof dropdownContent> & {
|
|
123
128
|
forceMount?: boolean;
|
|
124
129
|
side?: "top" | "bottom" | "left" | "right";
|
|
@@ -5,23 +5,23 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
5
5
|
/** Root layout for composable Field (shadcn fieldVariants). */
|
|
6
6
|
declare const fieldRoot: tailwind_variants.TVReturnType<{
|
|
7
7
|
orientation: {
|
|
8
|
-
vertical:
|
|
8
|
+
vertical: "flex-col *:w-full [.sr-only]:w-auto";
|
|
9
9
|
horizontal: string[];
|
|
10
10
|
responsive: string[];
|
|
11
11
|
};
|
|
12
12
|
}, undefined, string[], {
|
|
13
13
|
orientation: {
|
|
14
|
-
vertical:
|
|
14
|
+
vertical: "flex-col *:w-full [.sr-only]:w-auto";
|
|
15
15
|
horizontal: string[];
|
|
16
16
|
responsive: string[];
|
|
17
17
|
};
|
|
18
|
-
}, undefined, tailwind_variants.
|
|
18
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
19
19
|
orientation: {
|
|
20
|
-
vertical:
|
|
20
|
+
vertical: "flex-col *:w-full [.sr-only]:w-auto";
|
|
21
21
|
horizontal: string[];
|
|
22
22
|
responsive: string[];
|
|
23
23
|
};
|
|
24
|
-
}, undefined
|
|
24
|
+
}, undefined>>;
|
|
25
25
|
type FieldRootVariants = VariantProps<typeof fieldRoot>;
|
|
26
26
|
|
|
27
27
|
type FieldProps = JSX.HTMLAttributes<HTMLDivElement> & FieldRootVariants & {
|
|
@@ -67,20 +67,20 @@ declare const FieldLabel: ({ class: className, ...rest }: FieldLabelProps) => JS
|
|
|
67
67
|
|
|
68
68
|
declare const fieldLegend: tailwind_variants.TVReturnType<{
|
|
69
69
|
variant: {
|
|
70
|
-
legend:
|
|
71
|
-
label:
|
|
70
|
+
legend: "text-base font-semibold";
|
|
71
|
+
label: "text-sm font-medium";
|
|
72
72
|
};
|
|
73
73
|
}, undefined, "", {
|
|
74
74
|
variant: {
|
|
75
|
-
legend:
|
|
76
|
-
label:
|
|
75
|
+
legend: "text-base font-semibold";
|
|
76
|
+
label: "text-sm font-medium";
|
|
77
77
|
};
|
|
78
|
-
}, undefined, tailwind_variants.
|
|
78
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
79
79
|
variant: {
|
|
80
|
-
legend:
|
|
81
|
-
label:
|
|
80
|
+
legend: "text-base font-semibold";
|
|
81
|
+
label: "text-sm font-medium";
|
|
82
82
|
};
|
|
83
|
-
}, undefined
|
|
83
|
+
}, undefined>>;
|
|
84
84
|
type FieldLegendProps = JSX.HTMLAttributes<HTMLLegendElement> & VariantProps<typeof fieldLegend>;
|
|
85
85
|
declare const FieldLegend: ({ class: className, variant, ...rest }: FieldLegendProps) => JSX.Element;
|
|
86
86
|
|
|
@@ -5,26 +5,26 @@ import { JSX, ComponentChildren } from 'preact';
|
|
|
5
5
|
|
|
6
6
|
declare const hoverCardContent: tailwind_variants.TVReturnType<{
|
|
7
7
|
side: {
|
|
8
|
-
bottom:
|
|
9
|
-
top:
|
|
10
|
-
right:
|
|
11
|
-
left:
|
|
8
|
+
bottom: "slide-in-from-top-2";
|
|
9
|
+
top: "slide-in-from-bottom-2";
|
|
10
|
+
right: "slide-in-from-left-2";
|
|
11
|
+
left: "slide-in-from-right-2";
|
|
12
12
|
};
|
|
13
13
|
}, undefined, string[], {
|
|
14
14
|
side: {
|
|
15
|
-
bottom:
|
|
16
|
-
top:
|
|
17
|
-
right:
|
|
18
|
-
left:
|
|
15
|
+
bottom: "slide-in-from-top-2";
|
|
16
|
+
top: "slide-in-from-bottom-2";
|
|
17
|
+
right: "slide-in-from-left-2";
|
|
18
|
+
left: "slide-in-from-right-2";
|
|
19
19
|
};
|
|
20
|
-
}, undefined, tailwind_variants.
|
|
20
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
21
21
|
side: {
|
|
22
|
-
bottom:
|
|
23
|
-
top:
|
|
24
|
-
right:
|
|
25
|
-
left:
|
|
22
|
+
bottom: "slide-in-from-top-2";
|
|
23
|
+
top: "slide-in-from-bottom-2";
|
|
24
|
+
right: "slide-in-from-left-2";
|
|
25
|
+
left: "slide-in-from-right-2";
|
|
26
26
|
};
|
|
27
|
-
}, undefined
|
|
27
|
+
}, undefined>>;
|
|
28
28
|
type HoverCardContentProps = JSX.HTMLAttributes<HTMLDivElement> & VariantProps<typeof hoverCardContent> & {
|
|
29
29
|
side?: "top" | "bottom" | "left" | "right";
|
|
30
30
|
align?: "start" | "center" | "end";
|
|
@@ -4,23 +4,23 @@ import { JSX } from 'preact';
|
|
|
4
4
|
|
|
5
5
|
declare const input: tailwind_variants.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
7
|
+
sm: "h-7 px-2.5 text-sm";
|
|
8
|
+
md: "h-8 px-3 text-sm";
|
|
9
|
+
lg: "h-9 px-3.5 text-base";
|
|
10
10
|
};
|
|
11
11
|
}, undefined, string[], {
|
|
12
12
|
size: {
|
|
13
|
-
sm:
|
|
14
|
-
md:
|
|
15
|
-
lg:
|
|
13
|
+
sm: "h-7 px-2.5 text-sm";
|
|
14
|
+
md: "h-8 px-3 text-sm";
|
|
15
|
+
lg: "h-9 px-3.5 text-base";
|
|
16
16
|
};
|
|
17
|
-
}, undefined, tailwind_variants.
|
|
17
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
18
18
|
size: {
|
|
19
|
-
sm:
|
|
20
|
-
md:
|
|
21
|
-
lg:
|
|
19
|
+
sm: "h-7 px-2.5 text-sm";
|
|
20
|
+
md: "h-8 px-3 text-sm";
|
|
21
|
+
lg: "h-9 px-3.5 text-base";
|
|
22
22
|
};
|
|
23
|
-
}, undefined
|
|
23
|
+
}, undefined>>;
|
|
24
24
|
type InputProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps<typeof input>;
|
|
25
25
|
declare const Input: ({ size, class: className, ...rest }: InputProps) => JSX.Element;
|
|
26
26
|
|
|
@@ -5,26 +5,26 @@ import { JSX, ComponentChildren } from 'preact';
|
|
|
5
5
|
|
|
6
6
|
declare const popoverContent: tailwind_variants.TVReturnType<{
|
|
7
7
|
side: {
|
|
8
|
-
bottom:
|
|
9
|
-
top:
|
|
10
|
-
right:
|
|
11
|
-
left:
|
|
8
|
+
bottom: "slide-in-from-top-2";
|
|
9
|
+
top: "slide-in-from-bottom-2";
|
|
10
|
+
right: "slide-in-from-left-2";
|
|
11
|
+
left: "slide-in-from-right-2";
|
|
12
12
|
};
|
|
13
13
|
}, undefined, string[], {
|
|
14
14
|
side: {
|
|
15
|
-
bottom:
|
|
16
|
-
top:
|
|
17
|
-
right:
|
|
18
|
-
left:
|
|
15
|
+
bottom: "slide-in-from-top-2";
|
|
16
|
+
top: "slide-in-from-bottom-2";
|
|
17
|
+
right: "slide-in-from-left-2";
|
|
18
|
+
left: "slide-in-from-right-2";
|
|
19
19
|
};
|
|
20
|
-
}, undefined, tailwind_variants.
|
|
20
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
21
21
|
side: {
|
|
22
|
-
bottom:
|
|
23
|
-
top:
|
|
24
|
-
right:
|
|
25
|
-
left:
|
|
22
|
+
bottom: "slide-in-from-top-2";
|
|
23
|
+
top: "slide-in-from-bottom-2";
|
|
24
|
+
right: "slide-in-from-left-2";
|
|
25
|
+
left: "slide-in-from-right-2";
|
|
26
26
|
};
|
|
27
|
-
}, undefined
|
|
27
|
+
}, undefined>>;
|
|
28
28
|
type PopoverContentProps = JSX.HTMLAttributes<HTMLDivElement> & VariantProps<typeof popoverContent> & {
|
|
29
29
|
forceMount?: boolean;
|
|
30
30
|
side?: "top" | "bottom" | "left" | "right";
|
|
@@ -4,20 +4,20 @@ import { JSX, ComponentChildren } from 'preact';
|
|
|
4
4
|
|
|
5
5
|
declare const itemRoot: tailwind_variants.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
|
-
default:
|
|
8
|
-
sm:
|
|
7
|
+
default: "";
|
|
8
|
+
sm: "gap-2 text-xs";
|
|
9
9
|
};
|
|
10
10
|
}, undefined, string[], {
|
|
11
11
|
size: {
|
|
12
|
-
default:
|
|
13
|
-
sm:
|
|
12
|
+
default: "";
|
|
13
|
+
sm: "gap-2 text-xs";
|
|
14
14
|
};
|
|
15
|
-
}, undefined, tailwind_variants.
|
|
15
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
16
16
|
size: {
|
|
17
|
-
default:
|
|
18
|
-
sm:
|
|
17
|
+
default: "";
|
|
18
|
+
sm: "gap-2 text-xs";
|
|
19
19
|
};
|
|
20
|
-
}, undefined
|
|
20
|
+
}, undefined>>;
|
|
21
21
|
type ItemVariants = VariantProps<typeof itemRoot>;
|
|
22
22
|
type RadioGroupItemProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "type" | "name" | "class" | "size"> & ItemVariants & {
|
|
23
23
|
value: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
2
|
import { JSX, ComponentChildren } from 'preact';
|
|
3
|
-
import {
|
|
3
|
+
import { e as DialogProps } from './Dialog-DdD1sMwk.js';
|
|
4
4
|
|
|
5
5
|
type SheetFooterProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
6
6
|
children?: ComponentChildren;
|