@kamod-ch/ui 1.1.0 → 1.3.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/LICENSE.md +9 -0
- package/README.md +12 -0
- 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-Bx7-BdQn.d.ts → SidebarProvider-CoVCItNd.d.ts} +18 -18
- 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/TreeProvider-Cpu8yo3y.d.ts +270 -0
- 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-24QD2FTA.js → chunk-EBXTNL52.js} +12 -15
- 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-3LIT5GWF.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-MJQ6R345.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-YMKC3H55.js +921 -0
- package/dist/chunk-YMKC3H55.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 +3 -3
- package/dist/components/sidebar/index.js +10 -10
- 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/tree/index.d.ts +24 -0
- package/dist/components/tree/index.js +5 -0
- package/dist/components/tree/index.js.map +1 -0
- 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 +25 -24
- package/dist/index.js +80 -78
- 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 +34 -25
- package/dist/Button-vQnkiVTI.d.ts +0 -84
- package/dist/Toggle-CseZl7XN.d.ts +0 -49
- package/dist/Typography-ccTtE182.d.ts +0 -64
- package/dist/chunk-24QD2FTA.js.map +0 -1
- package/dist/chunk-262EK2XT.js.map +0 -1
- package/dist/chunk-3LIT5GWF.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-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-MJQ6R345.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-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
|
@@ -17,25 +17,34 @@ declare const TabsTrigger: ({ value, class: className, children, onClick, onKeyD
|
|
|
17
17
|
|
|
18
18
|
declare const tabsList: tailwind_variants.TVReturnType<{
|
|
19
19
|
variant: {
|
|
20
|
-
default:
|
|
21
|
-
line:
|
|
20
|
+
default: "";
|
|
21
|
+
line: "gap-1 rounded-none bg-transparent p-0 ring-0 group-data-[orientation=horizontal]/tabs:rounded-none";
|
|
22
22
|
};
|
|
23
23
|
}, undefined, string[], {
|
|
24
24
|
variant: {
|
|
25
|
-
default:
|
|
26
|
-
line:
|
|
25
|
+
default: "";
|
|
26
|
+
line: "gap-1 rounded-none bg-transparent p-0 ring-0 group-data-[orientation=horizontal]/tabs:rounded-none";
|
|
27
27
|
};
|
|
28
|
-
}, undefined, tailwind_variants.
|
|
28
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
29
29
|
variant: {
|
|
30
|
-
default:
|
|
31
|
-
line:
|
|
30
|
+
default: "";
|
|
31
|
+
line: "gap-1 rounded-none bg-transparent p-0 ring-0 group-data-[orientation=horizontal]/tabs:rounded-none";
|
|
32
32
|
};
|
|
33
|
-
}, undefined
|
|
33
|
+
}, undefined>>;
|
|
34
34
|
type TabsListProps = JSX.HTMLAttributes<HTMLDivElement> & VariantProps<typeof tabsList> & {
|
|
35
35
|
children?: ComponentChildren;
|
|
36
36
|
};
|
|
37
37
|
declare const TabsList: ({ variant, class: className, children, ...rest }: TabsListProps) => JSX.Element;
|
|
38
38
|
|
|
39
|
+
type TabsContextValue = {
|
|
40
|
+
value: string;
|
|
41
|
+
setValue: (next: string) => void;
|
|
42
|
+
orientation: "horizontal" | "vertical";
|
|
43
|
+
baseId: string;
|
|
44
|
+
triggerId: (tabValue: string) => string;
|
|
45
|
+
contentId: (tabValue: string) => string;
|
|
46
|
+
};
|
|
47
|
+
declare const useTabs: () => TabsContextValue;
|
|
39
48
|
type TabsProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
40
49
|
defaultValue: string;
|
|
41
50
|
syncKey?: string;
|
|
@@ -44,4 +53,4 @@ type TabsProps = JSX.HTMLAttributes<HTMLDivElement> & {
|
|
|
44
53
|
};
|
|
45
54
|
declare const Tabs: ({ defaultValue, syncKey, orientation, class: className, children, ...rest }: TabsProps) => JSX.Element;
|
|
46
55
|
|
|
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 };
|
|
56
|
+
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, useTabs as u };
|
|
@@ -4,23 +4,23 @@ import { JSX } from 'preact';
|
|
|
4
4
|
|
|
5
5
|
declare const textarea: tailwind_variants.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
|
-
sm:
|
|
8
|
-
md:
|
|
9
|
-
lg:
|
|
7
|
+
sm: "min-h-16 px-2.5 py-1.5 text-sm";
|
|
8
|
+
md: "min-h-16 px-3 py-2 text-base";
|
|
9
|
+
lg: "min-h-24 px-4 py-3 text-lg";
|
|
10
10
|
};
|
|
11
11
|
}, undefined, string[], {
|
|
12
12
|
size: {
|
|
13
|
-
sm:
|
|
14
|
-
md:
|
|
15
|
-
lg:
|
|
13
|
+
sm: "min-h-16 px-2.5 py-1.5 text-sm";
|
|
14
|
+
md: "min-h-16 px-3 py-2 text-base";
|
|
15
|
+
lg: "min-h-24 px-4 py-3 text-lg";
|
|
16
16
|
};
|
|
17
|
-
}, undefined, tailwind_variants.
|
|
17
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
18
18
|
size: {
|
|
19
|
-
sm:
|
|
20
|
-
md:
|
|
21
|
-
lg:
|
|
19
|
+
sm: "min-h-16 px-2.5 py-1.5 text-sm";
|
|
20
|
+
md: "min-h-16 px-3 py-2 text-base";
|
|
21
|
+
lg: "min-h-24 px-4 py-3 text-lg";
|
|
22
22
|
};
|
|
23
|
-
}, undefined
|
|
23
|
+
}, undefined>>;
|
|
24
24
|
type TextareaProps = Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & VariantProps<typeof textarea>;
|
|
25
25
|
declare const Textarea: ({ size, class: className, ...rest }: TextareaProps) => JSX.Element;
|
|
26
26
|
|
|
@@ -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: "bg-transparent hover:bg-muted hover:text-muted-foreground";
|
|
8
|
+
outline: "border border-input/80 bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/25 dark:border-input/80 dark:hover:bg-input/45";
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
sm: "h-7 min-w-7 px-1.5 text-[11px] leading-none";
|
|
12
|
+
default: "h-8 min-w-8 px-2";
|
|
13
|
+
lg: "h-9 min-w-9 px-2.5 text-sm";
|
|
14
|
+
icon: "size-8 p-0";
|
|
15
|
+
};
|
|
16
|
+
}, undefined, string[], {
|
|
17
|
+
variant: {
|
|
18
|
+
default: "bg-transparent hover:bg-muted hover:text-muted-foreground";
|
|
19
|
+
outline: "border border-input/80 bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/25 dark:border-input/80 dark:hover:bg-input/45";
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
sm: "h-7 min-w-7 px-1.5 text-[11px] leading-none";
|
|
23
|
+
default: "h-8 min-w-8 px-2";
|
|
24
|
+
lg: "h-9 min-w-9 px-2.5 text-sm";
|
|
25
|
+
icon: "size-8 p-0";
|
|
26
|
+
};
|
|
27
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
28
|
+
variant: {
|
|
29
|
+
default: "bg-transparent hover:bg-muted hover:text-muted-foreground";
|
|
30
|
+
outline: "border border-input/80 bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/25 dark:border-input/80 dark:hover:bg-input/45";
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
33
|
+
sm: "h-7 min-w-7 px-1.5 text-[11px] leading-none";
|
|
34
|
+
default: "h-8 min-w-8 px-2";
|
|
35
|
+
lg: "h-9 min-w-9 px-2.5 text-sm";
|
|
36
|
+
icon: "size-8 p-0";
|
|
37
|
+
};
|
|
38
|
+
}, 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 };
|
|
@@ -4,38 +4,38 @@ import { JSX, ComponentChildren } from 'preact';
|
|
|
4
4
|
|
|
5
5
|
declare const toggleGroupItem$1: tailwind_variants.TVReturnType<{
|
|
6
6
|
variant: {
|
|
7
|
-
default:
|
|
8
|
-
outline:
|
|
9
|
-
pill:
|
|
7
|
+
default: "bg-transparent hover:bg-muted hover:text-muted-foreground";
|
|
8
|
+
outline: "border border-input/80 bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/25 dark:border-input/80 dark:hover:bg-input/45";
|
|
9
|
+
pill: "rounded-full border border-transparent bg-muted/60 hover:bg-muted";
|
|
10
10
|
};
|
|
11
11
|
size: {
|
|
12
|
-
sm:
|
|
13
|
-
default:
|
|
14
|
-
lg:
|
|
12
|
+
sm: "h-7 min-w-7 gap-0.5 px-1.5 text-[11px] leading-none";
|
|
13
|
+
default: "h-8 min-w-8 gap-1 px-2";
|
|
14
|
+
lg: "h-9 min-w-9 gap-1.5 px-2.5 text-sm";
|
|
15
15
|
};
|
|
16
16
|
}, undefined, string[], {
|
|
17
17
|
variant: {
|
|
18
|
-
default:
|
|
19
|
-
outline:
|
|
20
|
-
pill:
|
|
18
|
+
default: "bg-transparent hover:bg-muted hover:text-muted-foreground";
|
|
19
|
+
outline: "border border-input/80 bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/25 dark:border-input/80 dark:hover:bg-input/45";
|
|
20
|
+
pill: "rounded-full border border-transparent bg-muted/60 hover:bg-muted";
|
|
21
21
|
};
|
|
22
22
|
size: {
|
|
23
|
-
sm:
|
|
24
|
-
default:
|
|
25
|
-
lg:
|
|
23
|
+
sm: "h-7 min-w-7 gap-0.5 px-1.5 text-[11px] leading-none";
|
|
24
|
+
default: "h-8 min-w-8 gap-1 px-2";
|
|
25
|
+
lg: "h-9 min-w-9 gap-1.5 px-2.5 text-sm";
|
|
26
26
|
};
|
|
27
|
-
}, undefined, tailwind_variants.
|
|
27
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
28
28
|
variant: {
|
|
29
|
-
default:
|
|
30
|
-
outline:
|
|
31
|
-
pill:
|
|
29
|
+
default: "bg-transparent hover:bg-muted hover:text-muted-foreground";
|
|
30
|
+
outline: "border border-input/80 bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/25 dark:border-input/80 dark:hover:bg-input/45";
|
|
31
|
+
pill: "rounded-full border border-transparent bg-muted/60 hover:bg-muted";
|
|
32
32
|
};
|
|
33
33
|
size: {
|
|
34
|
-
sm:
|
|
35
|
-
default:
|
|
36
|
-
lg:
|
|
34
|
+
sm: "h-7 min-w-7 gap-0.5 px-1.5 text-[11px] leading-none";
|
|
35
|
+
default: "h-8 min-w-8 gap-1 px-2";
|
|
36
|
+
lg: "h-9 min-w-9 gap-1.5 px-2.5 text-sm";
|
|
37
37
|
};
|
|
38
|
-
}, undefined
|
|
38
|
+
}, undefined>>;
|
|
39
39
|
type ToggleGroupItemVariants$1 = VariantProps<typeof toggleGroupItem$1>;
|
|
40
40
|
type ToggleGroupItemProps = Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "class"> & ToggleGroupItemVariants$1 & {
|
|
41
41
|
class?: string;
|
|
@@ -47,38 +47,38 @@ declare const ToggleGroupItem: ({ class: className, value, variant, size, disabl
|
|
|
47
47
|
type ToggleGroupType = "single" | "multiple";
|
|
48
48
|
declare const toggleGroup: tailwind_variants.TVReturnType<{
|
|
49
49
|
orientation: {
|
|
50
|
-
horizontal:
|
|
51
|
-
vertical:
|
|
50
|
+
horizontal: "flex-row items-center";
|
|
51
|
+
vertical: "flex-col items-start";
|
|
52
52
|
};
|
|
53
53
|
spacing: {
|
|
54
|
-
none:
|
|
55
|
-
sm:
|
|
56
|
-
default:
|
|
57
|
-
lg:
|
|
54
|
+
none: "gap-0";
|
|
55
|
+
sm: "gap-0.5";
|
|
56
|
+
default: "gap-1";
|
|
57
|
+
lg: "gap-1.5";
|
|
58
58
|
};
|
|
59
59
|
}, undefined, "inline-flex items-center justify-center", {
|
|
60
60
|
orientation: {
|
|
61
|
-
horizontal:
|
|
62
|
-
vertical:
|
|
61
|
+
horizontal: "flex-row items-center";
|
|
62
|
+
vertical: "flex-col items-start";
|
|
63
63
|
};
|
|
64
64
|
spacing: {
|
|
65
|
-
none:
|
|
66
|
-
sm:
|
|
67
|
-
default:
|
|
68
|
-
lg:
|
|
65
|
+
none: "gap-0";
|
|
66
|
+
sm: "gap-0.5";
|
|
67
|
+
default: "gap-1";
|
|
68
|
+
lg: "gap-1.5";
|
|
69
69
|
};
|
|
70
|
-
}, undefined, tailwind_variants.
|
|
70
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
71
71
|
orientation: {
|
|
72
|
-
horizontal:
|
|
73
|
-
vertical:
|
|
72
|
+
horizontal: "flex-row items-center";
|
|
73
|
+
vertical: "flex-col items-start";
|
|
74
74
|
};
|
|
75
75
|
spacing: {
|
|
76
|
-
none:
|
|
77
|
-
sm:
|
|
78
|
-
default:
|
|
79
|
-
lg:
|
|
76
|
+
none: "gap-0";
|
|
77
|
+
sm: "gap-0.5";
|
|
78
|
+
default: "gap-1";
|
|
79
|
+
lg: "gap-1.5";
|
|
80
80
|
};
|
|
81
|
-
}, undefined
|
|
81
|
+
}, undefined>>;
|
|
82
82
|
declare const toggleGroupItem: tailwind_variants.TVReturnType<{
|
|
83
83
|
variant: {
|
|
84
84
|
default: undefined;
|
|
@@ -101,7 +101,7 @@ declare const toggleGroupItem: tailwind_variants.TVReturnType<{
|
|
|
101
101
|
default: undefined;
|
|
102
102
|
lg: undefined;
|
|
103
103
|
};
|
|
104
|
-
}, undefined, tailwind_variants.
|
|
104
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
105
105
|
variant: {
|
|
106
106
|
default: undefined;
|
|
107
107
|
outline: undefined;
|
|
@@ -112,7 +112,7 @@ declare const toggleGroupItem: tailwind_variants.TVReturnType<{
|
|
|
112
112
|
default: undefined;
|
|
113
113
|
lg: undefined;
|
|
114
114
|
};
|
|
115
|
-
}, undefined
|
|
115
|
+
}, undefined>>;
|
|
116
116
|
type ToggleGroupItemVariants = VariantProps<typeof toggleGroupItem>;
|
|
117
117
|
type ToggleGroupBaseProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "class"> & VariantProps<typeof toggleGroup> & ToggleGroupItemVariants & {
|
|
118
118
|
class?: string;
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import * as preact from 'preact';
|
|
2
|
+
import { ComponentChildren, JSX, RefObject } from 'preact';
|
|
3
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
4
|
+
import { VariantProps } from 'tailwind-variants';
|
|
5
|
+
import { Signal } from '@preact/signals';
|
|
6
|
+
|
|
7
|
+
type TreeLinesProps = {
|
|
8
|
+
level: number;
|
|
9
|
+
parentPath: boolean[];
|
|
10
|
+
isLast: boolean;
|
|
11
|
+
indent: number | string;
|
|
12
|
+
class?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const TreeLines: ({ level, parentPath, isLast, indent, class: className, }: TreeLinesProps) => preact.JSX.Element | null;
|
|
15
|
+
|
|
16
|
+
type TreeIconState = {
|
|
17
|
+
nodeId: string;
|
|
18
|
+
branch: boolean;
|
|
19
|
+
expanded: boolean;
|
|
20
|
+
selected: boolean;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
level: number;
|
|
23
|
+
};
|
|
24
|
+
type TreeIconRender = (state: TreeIconState) => ComponentChildren;
|
|
25
|
+
type TreeIconProp = ComponentChildren | TreeIconRender;
|
|
26
|
+
type TreeIcons = {
|
|
27
|
+
branch?: ComponentChildren;
|
|
28
|
+
branchExpanded?: ComponentChildren;
|
|
29
|
+
leaf?: ComponentChildren;
|
|
30
|
+
expander?: ComponentChildren;
|
|
31
|
+
expanderExpanded?: ComponentChildren;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
type TreeNodeContextValue = {
|
|
35
|
+
nodeId: string;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
hasChildren: boolean;
|
|
38
|
+
data?: unknown;
|
|
39
|
+
icon?: TreeIconProp;
|
|
40
|
+
expandedIcon?: ComponentChildren;
|
|
41
|
+
selectedIcon?: ComponentChildren;
|
|
42
|
+
disabledIcon?: ComponentChildren;
|
|
43
|
+
level: number;
|
|
44
|
+
parentPath: boolean[];
|
|
45
|
+
isLast: boolean;
|
|
46
|
+
itemRef: RefObject<HTMLDivElement>;
|
|
47
|
+
};
|
|
48
|
+
declare const useTreeNodeContext: () => TreeNodeContextValue;
|
|
49
|
+
type TreeNodeProps = {
|
|
50
|
+
nodeId: string;
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
data?: unknown;
|
|
53
|
+
icon?: TreeIconProp;
|
|
54
|
+
expandedIcon?: ComponentChildren;
|
|
55
|
+
selectedIcon?: ComponentChildren;
|
|
56
|
+
disabledIcon?: ComponentChildren;
|
|
57
|
+
children?: ComponentChildren;
|
|
58
|
+
};
|
|
59
|
+
declare const TreeNode: ({ nodeId, disabled, data, icon, expandedIcon, selectedIcon, disabledIcon, children, }: TreeNodeProps) => JSX.Element;
|
|
60
|
+
type TreeNodeTriggerProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "class"> & {
|
|
61
|
+
class?: string;
|
|
62
|
+
children?: ComponentChildren;
|
|
63
|
+
};
|
|
64
|
+
declare const TreeNodeTrigger: ({ class: className, children, onClick, onFocus, ...rest }: TreeNodeTriggerProps) => JSX.Element;
|
|
65
|
+
type TreeExpanderProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "class"> & {
|
|
66
|
+
class?: string;
|
|
67
|
+
};
|
|
68
|
+
declare const TreeExpander: ({ class: className, ...rest }: TreeExpanderProps) => JSX.Element;
|
|
69
|
+
type TreeIconProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "class"> & {
|
|
70
|
+
class?: string;
|
|
71
|
+
icon?: TreeIconProp;
|
|
72
|
+
expandedIcon?: ComponentChildren;
|
|
73
|
+
selectedIcon?: ComponentChildren;
|
|
74
|
+
disabledIcon?: ComponentChildren;
|
|
75
|
+
};
|
|
76
|
+
declare const TreeIcon: ({ class: className, icon: iconProp, expandedIcon: expandedIconProp, selectedIcon: selectedIconProp, disabledIcon: disabledIconProp, ...rest }: TreeIconProps) => JSX.Element | null;
|
|
77
|
+
type TreeLabelProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "class"> & {
|
|
78
|
+
class?: string;
|
|
79
|
+
children?: ComponentChildren;
|
|
80
|
+
};
|
|
81
|
+
declare const TreeLabel: ({ class: className, children, ...rest }: TreeLabelProps) => JSX.Element;
|
|
82
|
+
type TreeNodeActionsProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "class"> & {
|
|
83
|
+
class?: string;
|
|
84
|
+
children?: ComponentChildren;
|
|
85
|
+
};
|
|
86
|
+
declare const TreeNodeActions: ({ class: className, children, onClick, onKeyDown, ...rest }: TreeNodeActionsProps) => JSX.Element;
|
|
87
|
+
type TreeNodeContentProps = {
|
|
88
|
+
children?: ComponentChildren;
|
|
89
|
+
class?: string;
|
|
90
|
+
};
|
|
91
|
+
declare const TreeNodeContent: {
|
|
92
|
+
({ children, class: className }: TreeNodeContentProps): JSX.Element | null;
|
|
93
|
+
__kamodTreeContent: boolean;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
type TreeItemProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "class"> & {
|
|
97
|
+
nodeId: string;
|
|
98
|
+
label: ComponentChildren;
|
|
99
|
+
icon?: TreeIconProp;
|
|
100
|
+
expandedIcon?: ComponentChildren;
|
|
101
|
+
selectedIcon?: ComponentChildren;
|
|
102
|
+
disabledIcon?: ComponentChildren;
|
|
103
|
+
endContent?: ComponentChildren;
|
|
104
|
+
data?: unknown;
|
|
105
|
+
disabled?: boolean;
|
|
106
|
+
class?: string;
|
|
107
|
+
children?: ComponentChildren;
|
|
108
|
+
};
|
|
109
|
+
declare const TreeItem: ({ nodeId, label, icon, expandedIcon, selectedIcon, disabledIcon, endContent, data, disabled, class: className, children, ...rest }: TreeItemProps) => JSX.Element;
|
|
110
|
+
|
|
111
|
+
type TreeProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "class"> & {
|
|
112
|
+
class?: string;
|
|
113
|
+
children?: ComponentChildren;
|
|
114
|
+
};
|
|
115
|
+
declare const Tree: ({ class: className, children, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: TreeProps) => JSX.Element;
|
|
116
|
+
|
|
117
|
+
type TreeNodeRecord = {
|
|
118
|
+
nodeId: string;
|
|
119
|
+
parentId: string | null;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
hasChildren: boolean;
|
|
122
|
+
data: unknown;
|
|
123
|
+
element: HTMLElement | null;
|
|
124
|
+
order: number;
|
|
125
|
+
isLast: boolean;
|
|
126
|
+
level: number;
|
|
127
|
+
};
|
|
128
|
+
declare class TreeRegistry {
|
|
129
|
+
private nodes;
|
|
130
|
+
private childrenByParent;
|
|
131
|
+
private orderCounter;
|
|
132
|
+
readonly version: Signal<number>;
|
|
133
|
+
private bump;
|
|
134
|
+
register(node: Omit<TreeNodeRecord, "order" | "isLast" | "level"> & {
|
|
135
|
+
level: number;
|
|
136
|
+
}): void;
|
|
137
|
+
unregister(nodeId: string): void;
|
|
138
|
+
setElement(nodeId: string, element: HTMLElement | null): void;
|
|
139
|
+
getNode(nodeId: string): TreeNodeRecord | undefined;
|
|
140
|
+
getChildren(parentId: string | null): string[];
|
|
141
|
+
getParent(nodeId: string): TreeNodeRecord | null;
|
|
142
|
+
isVisible(nodeId: string, expandedIds: ReadonlySet<string>): boolean;
|
|
143
|
+
getVisibleActivatableIds(expandedIds: ReadonlySet<string>): string[];
|
|
144
|
+
private rebuildChildren;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
type TreeSelectionMode = "none" | "single" | "multiple";
|
|
148
|
+
declare const treeVariants: tailwind_variants.TVReturnType<{
|
|
149
|
+
variant: {
|
|
150
|
+
default: "";
|
|
151
|
+
outline: "border-2";
|
|
152
|
+
ghost: "border-transparent bg-transparent";
|
|
153
|
+
};
|
|
154
|
+
size: {
|
|
155
|
+
sm: "text-sm";
|
|
156
|
+
default: "";
|
|
157
|
+
lg: "text-lg";
|
|
158
|
+
};
|
|
159
|
+
}, undefined, "w-full rounded-lg border border-border bg-background", {
|
|
160
|
+
variant: {
|
|
161
|
+
default: "";
|
|
162
|
+
outline: "border-2";
|
|
163
|
+
ghost: "border-transparent bg-transparent";
|
|
164
|
+
};
|
|
165
|
+
size: {
|
|
166
|
+
sm: "text-sm";
|
|
167
|
+
default: "";
|
|
168
|
+
lg: "text-lg";
|
|
169
|
+
};
|
|
170
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
171
|
+
variant: {
|
|
172
|
+
default: "";
|
|
173
|
+
outline: "border-2";
|
|
174
|
+
ghost: "border-transparent bg-transparent";
|
|
175
|
+
};
|
|
176
|
+
size: {
|
|
177
|
+
sm: "text-sm";
|
|
178
|
+
default: "";
|
|
179
|
+
lg: "text-lg";
|
|
180
|
+
};
|
|
181
|
+
}, undefined>>;
|
|
182
|
+
declare const treeItemVariants: tailwind_variants.TVReturnType<{
|
|
183
|
+
variant: {
|
|
184
|
+
default: "hover:bg-accent/60 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground";
|
|
185
|
+
outline: "hover:bg-accent/40 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground";
|
|
186
|
+
ghost: "hover:bg-accent/50 data-[selected=true]:bg-accent/70 data-[selected=true]:text-accent-foreground";
|
|
187
|
+
};
|
|
188
|
+
size: {
|
|
189
|
+
sm: "min-h-7 gap-1.5 px-2 py-1 text-sm";
|
|
190
|
+
default: "min-h-8 gap-2 px-2.5 py-1.5 text-sm";
|
|
191
|
+
lg: "min-h-10 gap-2.5 px-3 py-2 text-base";
|
|
192
|
+
};
|
|
193
|
+
}, undefined, string[], {
|
|
194
|
+
variant: {
|
|
195
|
+
default: "hover:bg-accent/60 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground";
|
|
196
|
+
outline: "hover:bg-accent/40 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground";
|
|
197
|
+
ghost: "hover:bg-accent/50 data-[selected=true]:bg-accent/70 data-[selected=true]:text-accent-foreground";
|
|
198
|
+
};
|
|
199
|
+
size: {
|
|
200
|
+
sm: "min-h-7 gap-1.5 px-2 py-1 text-sm";
|
|
201
|
+
default: "min-h-8 gap-2 px-2.5 py-1.5 text-sm";
|
|
202
|
+
lg: "min-h-10 gap-2.5 px-3 py-2 text-base";
|
|
203
|
+
};
|
|
204
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
205
|
+
variant: {
|
|
206
|
+
default: "hover:bg-accent/60 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground";
|
|
207
|
+
outline: "hover:bg-accent/40 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground";
|
|
208
|
+
ghost: "hover:bg-accent/50 data-[selected=true]:bg-accent/70 data-[selected=true]:text-accent-foreground";
|
|
209
|
+
};
|
|
210
|
+
size: {
|
|
211
|
+
sm: "min-h-7 gap-1.5 px-2 py-1 text-sm";
|
|
212
|
+
default: "min-h-8 gap-2 px-2.5 py-1.5 text-sm";
|
|
213
|
+
lg: "min-h-10 gap-2.5 px-3 py-2 text-base";
|
|
214
|
+
};
|
|
215
|
+
}, undefined>>;
|
|
216
|
+
type TreeProviderContextValue = {
|
|
217
|
+
registry: TreeRegistry;
|
|
218
|
+
expandedIds: Signal<Set<string>>;
|
|
219
|
+
selectedIds: Signal<Set<string>>;
|
|
220
|
+
selectionMode: TreeSelectionMode;
|
|
221
|
+
showLines: boolean;
|
|
222
|
+
showIcons: boolean;
|
|
223
|
+
animateExpand: boolean;
|
|
224
|
+
indent: number | string;
|
|
225
|
+
icons?: TreeIcons;
|
|
226
|
+
variant: NonNullable<VariantProps<typeof treeVariants>["variant"]>;
|
|
227
|
+
size: NonNullable<VariantProps<typeof treeVariants>["size"]>;
|
|
228
|
+
focusedId: Signal<string | null>;
|
|
229
|
+
tabbableId: Signal<string | null>;
|
|
230
|
+
isExpandedControlled: boolean;
|
|
231
|
+
isSelectedControlled: boolean;
|
|
232
|
+
setExpandedIds: (ids: string[]) => void;
|
|
233
|
+
setSelectedIds: (ids: string[]) => void;
|
|
234
|
+
toggleExpanded: (nodeId: string) => void;
|
|
235
|
+
selectNode: (nodeId: string, options?: {
|
|
236
|
+
additive?: boolean;
|
|
237
|
+
toggle?: boolean;
|
|
238
|
+
}) => void;
|
|
239
|
+
focusNode: (nodeId: string, options?: {
|
|
240
|
+
moveDOMFocus?: boolean;
|
|
241
|
+
}) => void;
|
|
242
|
+
getNodeData: (nodeId: string) => unknown;
|
|
243
|
+
};
|
|
244
|
+
declare const useTreeProvider: () => TreeProviderContextValue;
|
|
245
|
+
type TreeItemContextValue = {
|
|
246
|
+
nodeId: string;
|
|
247
|
+
level: number;
|
|
248
|
+
parentPath: boolean[];
|
|
249
|
+
isLast: boolean;
|
|
250
|
+
};
|
|
251
|
+
declare const useTreeItemContext: () => TreeItemContextValue | null;
|
|
252
|
+
type TreeProviderProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "class"> & VariantProps<typeof treeVariants> & {
|
|
253
|
+
class?: string;
|
|
254
|
+
expandedIds?: readonly string[];
|
|
255
|
+
defaultExpandedIds?: readonly string[];
|
|
256
|
+
onExpandedChange?: (ids: string[]) => void;
|
|
257
|
+
selectedIds?: readonly string[];
|
|
258
|
+
defaultSelectedIds?: readonly string[];
|
|
259
|
+
onSelectionChange?: (ids: string[]) => void;
|
|
260
|
+
selectionMode?: TreeSelectionMode;
|
|
261
|
+
showLines?: boolean;
|
|
262
|
+
showIcons?: boolean;
|
|
263
|
+
animateExpand?: boolean;
|
|
264
|
+
indent?: number | string;
|
|
265
|
+
icons?: TreeIcons;
|
|
266
|
+
children?: ComponentChildren;
|
|
267
|
+
};
|
|
268
|
+
declare const TreeProvider: ({ class: className, variant, size, expandedIds: expandedIdsProp, defaultExpandedIds, onExpandedChange, selectedIds: selectedIdsProp, defaultSelectedIds, onSelectionChange, selectionMode, showLines, showIcons, animateExpand, indent, icons, children, ...rest }: TreeProviderProps) => JSX.Element;
|
|
269
|
+
|
|
270
|
+
export { type TreeProps as A, type TreeIconProps as B, type TreeLabelProps as C, type TreeItemContextValue as D, type TreeNodeContextValue as E, type TreeProviderContextValue as F, useTreeItemContext as G, useTreeProvider as H, Tree as T, TreeExpander as a, type TreeExpanderProps as b, TreeIcon as c, type TreeIconProp as d, type TreeIconRender as e, type TreeIconState as f, type TreeIcons as g, TreeItem as h, type TreeItemProps as i, TreeLabel as j, TreeLines as k, type TreeLinesProps as l, TreeNode as m, TreeNodeActions as n, type TreeNodeActionsProps as o, TreeNodeContent as p, type TreeNodeContentProps as q, type TreeNodeProps as r, TreeNodeTrigger as s, type TreeNodeTriggerProps as t, TreeProvider as u, type TreeProviderProps as v, type TreeSelectionMode as w, treeItemVariants as x, treeVariants as y, useTreeNodeContext as z };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import { JSX, ComponentChildren } from 'preact';
|
|
4
|
+
|
|
5
|
+
declare const typography: tailwind_variants.TVReturnType<{
|
|
6
|
+
variant: {
|
|
7
|
+
h1: "scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl";
|
|
8
|
+
h2: "scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0";
|
|
9
|
+
h3: "scroll-m-20 text-2xl font-semibold tracking-tight";
|
|
10
|
+
h4: "scroll-m-20 text-xl font-semibold tracking-tight";
|
|
11
|
+
p: "leading-7 [&:not(:first-child)]:mt-6";
|
|
12
|
+
blockquote: "mt-6 border-l-2 pl-6 italic";
|
|
13
|
+
code: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
|
|
14
|
+
inlineCode: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
|
|
15
|
+
list: "my-6 ml-6 list-disc [&>li]:mt-2";
|
|
16
|
+
table: "my-6 w-full overflow-y-auto";
|
|
17
|
+
lead: "text-xl text-muted-foreground";
|
|
18
|
+
large: "text-lg font-semibold";
|
|
19
|
+
muted: "text-sm text-muted-foreground";
|
|
20
|
+
small: "text-sm font-medium leading-none";
|
|
21
|
+
};
|
|
22
|
+
}, undefined, "text-foreground", {
|
|
23
|
+
variant: {
|
|
24
|
+
h1: "scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl";
|
|
25
|
+
h2: "scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0";
|
|
26
|
+
h3: "scroll-m-20 text-2xl font-semibold tracking-tight";
|
|
27
|
+
h4: "scroll-m-20 text-xl font-semibold tracking-tight";
|
|
28
|
+
p: "leading-7 [&:not(:first-child)]:mt-6";
|
|
29
|
+
blockquote: "mt-6 border-l-2 pl-6 italic";
|
|
30
|
+
code: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
|
|
31
|
+
inlineCode: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
|
|
32
|
+
list: "my-6 ml-6 list-disc [&>li]:mt-2";
|
|
33
|
+
table: "my-6 w-full overflow-y-auto";
|
|
34
|
+
lead: "text-xl text-muted-foreground";
|
|
35
|
+
large: "text-lg font-semibold";
|
|
36
|
+
muted: "text-sm text-muted-foreground";
|
|
37
|
+
small: "text-sm font-medium leading-none";
|
|
38
|
+
};
|
|
39
|
+
}, undefined, tailwind_variants.TVReturnTypeLike<{
|
|
40
|
+
variant: {
|
|
41
|
+
h1: "scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl";
|
|
42
|
+
h2: "scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0";
|
|
43
|
+
h3: "scroll-m-20 text-2xl font-semibold tracking-tight";
|
|
44
|
+
h4: "scroll-m-20 text-xl font-semibold tracking-tight";
|
|
45
|
+
p: "leading-7 [&:not(:first-child)]:mt-6";
|
|
46
|
+
blockquote: "mt-6 border-l-2 pl-6 italic";
|
|
47
|
+
code: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
|
|
48
|
+
inlineCode: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold";
|
|
49
|
+
list: "my-6 ml-6 list-disc [&>li]:mt-2";
|
|
50
|
+
table: "my-6 w-full overflow-y-auto";
|
|
51
|
+
lead: "text-xl text-muted-foreground";
|
|
52
|
+
large: "text-lg font-semibold";
|
|
53
|
+
muted: "text-sm text-muted-foreground";
|
|
54
|
+
small: "text-sm font-medium leading-none";
|
|
55
|
+
};
|
|
56
|
+
}, undefined>>;
|
|
57
|
+
type TypographyVariants = VariantProps<typeof typography>;
|
|
58
|
+
type TypographyProps = JSX.HTMLAttributes<HTMLElementTagNameMap[keyof HTMLElementTagNameMap]> & TypographyVariants & {
|
|
59
|
+
as?: keyof HTMLElementTagNameMap;
|
|
60
|
+
children?: ComponentChildren;
|
|
61
|
+
};
|
|
62
|
+
declare const Typography: ({ as, variant, class: className, children, ...rest }: TypographyProps) => JSX.Element;
|
|
63
|
+
|
|
64
|
+
export { Typography as T, type TypographyVariants as a, typography as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { button } from './chunk-
|
|
2
|
-
import { cn } from './chunk-
|
|
1
|
+
import { button } from './chunk-DDRX6NNW.js';
|
|
2
|
+
import { cn } from './chunk-XIANSPQO.js';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'preact/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
var Pagination = ({ class: className, children, ...rest }) => /* @__PURE__ */ jsx(
|
|
@@ -131,5 +131,5 @@ var PaginationPrevious = ({
|
|
|
131
131
|
);
|
|
132
132
|
|
|
133
133
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
135
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-22G3DW5M.js.map
|
|
135
|
+
//# sourceMappingURL=chunk-22G3DW5M.js.map
|