@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.
Files changed (331) hide show
  1. package/README.md +15 -3
  2. package/dist/{Accordion-D1PiNspd.d.ts → Accordion-BiCBkB8o.d.ts} +7 -1
  3. package/dist/{AlertDialog-GadhKjPC.d.ts → AlertDialog-CZ2taZg4.d.ts} +3 -3
  4. package/dist/Button-OI3VvO-J.d.ts +84 -0
  5. package/dist/{Collapsible-CW1hQwqV.d.ts → Collapsible-BdQqvk35.d.ts} +6 -1
  6. package/dist/{ComboboxValue-BGfXgtZt.d.ts → ComboboxValue-Cq6zoDkt.d.ts} +1 -1
  7. package/dist/{Dialog-BOIteLfe.d.ts → Dialog-DdD1sMwk.d.ts} +12 -1
  8. package/dist/{DialogContent-cQHSRQdT.d.ts → DialogContent-YWzwWdSv.d.ts} +6 -1
  9. package/dist/{Drawer-CdjXZxxK.d.ts → Drawer-8xfn9KLf.d.ts} +2 -2
  10. package/dist/{Dropdown-CVbWVKok.d.ts → Dropdown-CzDJJgXQ.d.ts} +32 -27
  11. package/dist/{FieldTitle-aSgThW-B.d.ts → FieldTitle-hsI0Y6Zm.d.ts} +13 -13
  12. package/dist/{HoverCard-aVEEtkyO.d.ts → HoverCard-CBBr-tT9.d.ts} +14 -14
  13. package/dist/{Input-Cem05el9.d.ts → Input-C_X0Xpn2.d.ts} +11 -11
  14. package/dist/{PopoverTrigger-CH_Kx2mn.d.ts → PopoverTrigger-CIPAh0h0.d.ts} +14 -14
  15. package/dist/{RadioGroup-BaElzLwa.d.ts → RadioGroup-BDF3NaXQ.d.ts} +8 -8
  16. package/dist/{Sheet-DZ-p-aHY.d.ts → Sheet-DVt5iTiK.d.ts} +1 -1
  17. package/dist/SidebarProvider-CoVCItNd.d.ts +160 -0
  18. package/dist/{Switch-CTTkNdqF.d.ts → Switch-BcNJFeRY.d.ts} +8 -8
  19. package/dist/{Tabs-CR-thcs6.d.ts → Tabs-CrXH3YED.d.ts} +18 -9
  20. package/dist/{Textarea-DbKkduOG.d.ts → Textarea-CST17pYW.d.ts} +11 -11
  21. package/dist/Toggle-BgvkYUI8.d.ts +49 -0
  22. package/dist/{ToggleGroup-UeYHzQe7.d.ts → ToggleGroup-CqYICGsS.d.ts} +42 -42
  23. package/dist/Typography-Df9IVmw2.d.ts +64 -0
  24. package/dist/{chunk-ZM67EKZC.js → chunk-22G3DW5M.js} +4 -4
  25. package/dist/{chunk-ZM67EKZC.js.map → chunk-22G3DW5M.js.map} +1 -1
  26. package/dist/{chunk-BDK7CDEI.js → chunk-2F3PWEDR.js} +3 -3
  27. package/dist/{chunk-BDK7CDEI.js.map → chunk-2F3PWEDR.js.map} +1 -1
  28. package/dist/{chunk-ZHAGKFSO.js → chunk-2SPOI3MX.js} +3 -3
  29. package/dist/{chunk-ZHAGKFSO.js.map → chunk-2SPOI3MX.js.map} +1 -1
  30. package/dist/chunk-2UTJHQTS.js +162 -0
  31. package/dist/chunk-2UTJHQTS.js.map +1 -0
  32. package/dist/{chunk-NKKMM6CK.js → chunk-3AFRSB5R.js} +3 -3
  33. package/dist/{chunk-NKKMM6CK.js.map → chunk-3AFRSB5R.js.map} +1 -1
  34. package/dist/{chunk-LCMPFPBN.js → chunk-3ETRJPBL.js} +3 -3
  35. package/dist/{chunk-LCMPFPBN.js.map → chunk-3ETRJPBL.js.map} +1 -1
  36. package/dist/{chunk-WAPRVVDQ.js → chunk-3HBKDY64.js} +3 -3
  37. package/dist/{chunk-WAPRVVDQ.js.map → chunk-3HBKDY64.js.map} +1 -1
  38. package/dist/{chunk-PPYJQNE5.js → chunk-3XMFQKWB.js} +9 -5
  39. package/dist/chunk-3XMFQKWB.js.map +1 -0
  40. package/dist/{chunk-HCTZJYHK.js → chunk-4SQKSVBH.js} +6 -6
  41. package/dist/chunk-4SQKSVBH.js.map +1 -0
  42. package/dist/{chunk-ZVAW22GX.js → chunk-4ZFKDNSK.js} +3 -3
  43. package/dist/{chunk-ZVAW22GX.js.map → chunk-4ZFKDNSK.js.map} +1 -1
  44. package/dist/{chunk-IJ4ZRIR4.js → chunk-53FZEAOJ.js} +5 -5
  45. package/dist/{chunk-IJ4ZRIR4.js.map → chunk-53FZEAOJ.js.map} +1 -1
  46. package/dist/{chunk-BYG2ULS3.js → chunk-5ATODZ6L.js} +5 -7
  47. package/dist/chunk-5ATODZ6L.js.map +1 -0
  48. package/dist/{chunk-TXKPDNRD.js → chunk-5I7ULBDP.js} +3 -3
  49. package/dist/{chunk-TXKPDNRD.js.map → chunk-5I7ULBDP.js.map} +1 -1
  50. package/dist/{chunk-UEXTD7ZB.js → chunk-6HFTTHSY.js} +3 -3
  51. package/dist/{chunk-UEXTD7ZB.js.map → chunk-6HFTTHSY.js.map} +1 -1
  52. package/dist/{chunk-6RASPU5N.js → chunk-7LWAWZHM.js} +4 -11
  53. package/dist/chunk-7LWAWZHM.js.map +1 -0
  54. package/dist/{chunk-RHNI5UQO.js → chunk-A6ZZZFZN.js} +4 -4
  55. package/dist/{chunk-RHNI5UQO.js.map → chunk-A6ZZZFZN.js.map} +1 -1
  56. package/dist/{chunk-V63YIVKJ.js → chunk-APZXMU2X.js} +4 -4
  57. package/dist/{chunk-V63YIVKJ.js.map → chunk-APZXMU2X.js.map} +1 -1
  58. package/dist/{chunk-6FYSVMH7.js → chunk-AYLEWD77.js} +3 -3
  59. package/dist/{chunk-6FYSVMH7.js.map → chunk-AYLEWD77.js.map} +1 -1
  60. package/dist/{chunk-D3DQ4ICC.js → chunk-BZMD4EZC.js} +4 -11
  61. package/dist/chunk-BZMD4EZC.js.map +1 -0
  62. package/dist/{chunk-PU5J5EPY.js → chunk-C7TARE5T.js} +5 -5
  63. package/dist/{chunk-PU5J5EPY.js.map → chunk-C7TARE5T.js.map} +1 -1
  64. package/dist/{chunk-5FBD2NTR.js → chunk-DDRX6NNW.js} +6 -9
  65. package/dist/chunk-DDRX6NNW.js.map +1 -0
  66. package/dist/{chunk-HHLQYMPT.js → chunk-DUTKHOH3.js} +4 -4
  67. package/dist/{chunk-HHLQYMPT.js.map → chunk-DUTKHOH3.js.map} +1 -1
  68. package/dist/chunk-EBXTNL52.js +719 -0
  69. package/dist/chunk-EBXTNL52.js.map +1 -0
  70. package/dist/{chunk-STRBBF45.js → chunk-FOQ32NEP.js} +5 -5
  71. package/dist/chunk-FOQ32NEP.js.map +1 -0
  72. package/dist/{chunk-UIA74JVN.js → chunk-FXG53XY2.js} +5 -5
  73. package/dist/chunk-FXG53XY2.js.map +1 -0
  74. package/dist/{chunk-2KY7P27I.js → chunk-G7LTWXRN.js} +3 -3
  75. package/dist/{chunk-2KY7P27I.js.map → chunk-G7LTWXRN.js.map} +1 -1
  76. package/dist/{chunk-6BK3PIRX.js → chunk-GD3VBO44.js} +6 -6
  77. package/dist/{chunk-6BK3PIRX.js.map → chunk-GD3VBO44.js.map} +1 -1
  78. package/dist/{chunk-MD6HHORY.js → chunk-GPRE2VWB.js} +3 -3
  79. package/dist/{chunk-MD6HHORY.js.map → chunk-GPRE2VWB.js.map} +1 -1
  80. package/dist/{chunk-QZX3RFIC.js → chunk-HJF5AV4L.js} +11 -34
  81. package/dist/chunk-HJF5AV4L.js.map +1 -0
  82. package/dist/{chunk-QFDTG2ZJ.js → chunk-HWPROYKB.js} +3 -3
  83. package/dist/{chunk-QFDTG2ZJ.js.map → chunk-HWPROYKB.js.map} +1 -1
  84. package/dist/chunk-ISISDJ3Z.js +205 -0
  85. package/dist/chunk-ISISDJ3Z.js.map +1 -0
  86. package/dist/{chunk-7AJT2E2Y.js → chunk-IW43BO47.js} +57 -19
  87. package/dist/chunk-IW43BO47.js.map +1 -0
  88. package/dist/{chunk-CLEC2RMU.js → chunk-JKEILBHG.js} +3 -3
  89. package/dist/{chunk-CLEC2RMU.js.map → chunk-JKEILBHG.js.map} +1 -1
  90. package/dist/{chunk-TFLSEEM4.js → chunk-KCN3GXRK.js} +3 -3
  91. package/dist/{chunk-TFLSEEM4.js.map → chunk-KCN3GXRK.js.map} +1 -1
  92. package/dist/{chunk-EMUPVA2F.js → chunk-KHV3WV6T.js} +4 -4
  93. package/dist/{chunk-EMUPVA2F.js.map → chunk-KHV3WV6T.js.map} +1 -1
  94. package/dist/{chunk-G6TV6TF7.js → chunk-KJ5PYCJG.js} +4 -12
  95. package/dist/chunk-KJ5PYCJG.js.map +1 -0
  96. package/dist/{chunk-5KS2VSX2.js → chunk-LAM4GIME.js} +4 -4
  97. package/dist/chunk-LAM4GIME.js.map +1 -0
  98. package/dist/{chunk-OCLVMKVC.js → chunk-MDXTENZ4.js} +8 -31
  99. package/dist/chunk-MDXTENZ4.js.map +1 -0
  100. package/dist/{chunk-CP55TVOV.js → chunk-MJUKNUFV.js} +3 -3
  101. package/dist/{chunk-CP55TVOV.js.map → chunk-MJUKNUFV.js.map} +1 -1
  102. package/dist/{chunk-GGTDJEE2.js → chunk-MTNLY7AY.js} +3 -3
  103. package/dist/{chunk-GGTDJEE2.js.map → chunk-MTNLY7AY.js.map} +1 -1
  104. package/dist/{chunk-67J4KBOW.js → chunk-NBIBBLP6.js} +10 -52
  105. package/dist/chunk-NBIBBLP6.js.map +1 -0
  106. package/dist/chunk-NBP4J2QF.js +200 -0
  107. package/dist/chunk-NBP4J2QF.js.map +1 -0
  108. package/dist/{chunk-NGKQBNZ5.js → chunk-NJYJCMKY.js} +3 -3
  109. package/dist/{chunk-NGKQBNZ5.js.map → chunk-NJYJCMKY.js.map} +1 -1
  110. package/dist/{chunk-COPT6I2D.js → chunk-NSEY5IC6.js} +9 -10
  111. package/dist/chunk-NSEY5IC6.js.map +1 -0
  112. package/dist/{chunk-UARVH66B.js → chunk-O4PHGLXF.js} +5 -5
  113. package/dist/{chunk-UARVH66B.js.map → chunk-O4PHGLXF.js.map} +1 -1
  114. package/dist/{chunk-J4DMQV64.js → chunk-OCZC4PDM.js} +3 -3
  115. package/dist/{chunk-J4DMQV64.js.map → chunk-OCZC4PDM.js.map} +1 -1
  116. package/dist/{chunk-IQH3XSOI.js → chunk-ODYHA3O5.js} +4 -4
  117. package/dist/{chunk-IQH3XSOI.js.map → chunk-ODYHA3O5.js.map} +1 -1
  118. package/dist/chunk-OJEZZVZB.js +9 -0
  119. package/dist/{chunk-CMBERB5B.js.map → chunk-OJEZZVZB.js.map} +1 -1
  120. package/dist/{chunk-7IOAIEIA.js → chunk-OTXP2QJ7.js} +6 -6
  121. package/dist/{chunk-7IOAIEIA.js.map → chunk-OTXP2QJ7.js.map} +1 -1
  122. package/dist/{chunk-JSHUWI3C.js → chunk-OUVUK3E7.js} +9 -9
  123. package/dist/chunk-OUVUK3E7.js.map +1 -0
  124. package/dist/{chunk-3KB54OYF.js → chunk-P6ICWO5B.js} +3 -3
  125. package/dist/{chunk-3KB54OYF.js.map → chunk-P6ICWO5B.js.map} +1 -1
  126. package/dist/{chunk-GIU6BZTW.js → chunk-P7PPE4P5.js} +8 -11
  127. package/dist/chunk-P7PPE4P5.js.map +1 -0
  128. package/dist/{chunk-XGFJJ2YB.js → chunk-PVQUVEZV.js} +4 -11
  129. package/dist/chunk-PVQUVEZV.js.map +1 -0
  130. package/dist/{chunk-LCWXIQKA.js → chunk-Q3RL7TOY.js} +4 -4
  131. package/dist/chunk-Q3RL7TOY.js.map +1 -0
  132. package/dist/{chunk-5Q4RBIMZ.js → chunk-Q5B6ROW6.js} +3 -3
  133. package/dist/{chunk-5Q4RBIMZ.js.map → chunk-Q5B6ROW6.js.map} +1 -1
  134. package/dist/{chunk-262EK2XT.js → chunk-Q7ZDP6DS.js} +9 -7
  135. package/dist/chunk-Q7ZDP6DS.js.map +1 -0
  136. package/dist/{chunk-4IBTERDG.js → chunk-QFTOABOJ.js} +3 -3
  137. package/dist/{chunk-4IBTERDG.js.map → chunk-QFTOABOJ.js.map} +1 -1
  138. package/dist/{chunk-JURNPBSW.js → chunk-QINEFXUA.js} +3 -3
  139. package/dist/{chunk-JURNPBSW.js.map → chunk-QINEFXUA.js.map} +1 -1
  140. package/dist/{chunk-FIOKWIJP.js → chunk-QWSD34JA.js} +4 -4
  141. package/dist/{chunk-FIOKWIJP.js.map → chunk-QWSD34JA.js.map} +1 -1
  142. package/dist/{chunk-Q5IUIA6B.js → chunk-RLBAA7WW.js} +3 -3
  143. package/dist/{chunk-Q5IUIA6B.js.map → chunk-RLBAA7WW.js.map} +1 -1
  144. package/dist/{chunk-2BQ54337.js → chunk-SEC7UN45.js} +5 -5
  145. package/dist/chunk-SEC7UN45.js.map +1 -0
  146. package/dist/chunk-SIA46B4Q.js +9 -0
  147. package/dist/{chunk-RTIFG4XT.js.map → chunk-SIA46B4Q.js.map} +1 -1
  148. package/dist/{chunk-X4HPHMYW.js → chunk-TMPADU74.js} +4 -4
  149. package/dist/{chunk-X4HPHMYW.js.map → chunk-TMPADU74.js.map} +1 -1
  150. package/dist/{chunk-YTHUHPE5.js → chunk-USPWL4KC.js} +3 -3
  151. package/dist/{chunk-YTHUHPE5.js.map → chunk-USPWL4KC.js.map} +1 -1
  152. package/dist/{chunk-U2UNWXBC.js → chunk-VEQ7X2PO.js} +7 -6
  153. package/dist/chunk-VEQ7X2PO.js.map +1 -0
  154. package/dist/{chunk-YZLPO4B2.js → chunk-WRXXU5F6.js} +4 -11
  155. package/dist/chunk-WRXXU5F6.js.map +1 -0
  156. package/dist/{chunk-XNYAQZIB.js → chunk-X4B6I3M4.js} +4 -4
  157. package/dist/{chunk-XNYAQZIB.js.map → chunk-X4B6I3M4.js.map} +1 -1
  158. package/dist/{chunk-JNF7FDJO.js → chunk-XCYEWILH.js} +4 -4
  159. package/dist/{chunk-JNF7FDJO.js.map → chunk-XCYEWILH.js.map} +1 -1
  160. package/dist/{chunk-V2MG5Y5F.js → chunk-XGVQXRLA.js} +4 -4
  161. package/dist/chunk-XGVQXRLA.js.map +1 -0
  162. package/dist/chunk-XIANSPQO.js +11 -0
  163. package/dist/chunk-XIANSPQO.js.map +1 -0
  164. package/dist/{chunk-UNWEH4Z6.js → chunk-XOMPJYYA.js} +4 -4
  165. package/dist/chunk-XOMPJYYA.js.map +1 -0
  166. package/dist/{chunk-UXWUFNXY.js → chunk-XSYSV3R3.js} +3 -3
  167. package/dist/{chunk-UXWUFNXY.js.map → chunk-XSYSV3R3.js.map} +1 -1
  168. package/dist/{chunk-ERBGZZ2U.js → chunk-XZYJUJED.js} +4 -4
  169. package/dist/chunk-XZYJUJED.js.map +1 -0
  170. package/dist/{chunk-PFV7YIEP.js → chunk-Z4JNYSV3.js} +4 -4
  171. package/dist/{chunk-PFV7YIEP.js.map → chunk-Z4JNYSV3.js.map} +1 -1
  172. package/dist/{chunk-4V3WHQJE.js → chunk-ZLSCHWTN.js} +4 -4
  173. package/dist/{chunk-4V3WHQJE.js.map → chunk-ZLSCHWTN.js.map} +1 -1
  174. package/dist/chunk-ZQ2WOX4X.js +29 -0
  175. package/dist/chunk-ZQ2WOX4X.js.map +1 -0
  176. package/dist/{chunk-NILG56Z7.js → chunk-ZROHNZDC.js} +4 -4
  177. package/dist/{chunk-NILG56Z7.js.map → chunk-ZROHNZDC.js.map} +1 -1
  178. package/dist/{chunk-PGOCR4LG.js → chunk-ZVYCUG4N.js} +4 -4
  179. package/dist/chunk-ZVYCUG4N.js.map +1 -0
  180. package/dist/components/accordion/index.d.ts +2 -2
  181. package/dist/components/accordion/index.js +3 -2
  182. package/dist/components/alert/index.d.ts +26 -26
  183. package/dist/components/alert/index.js +2 -2
  184. package/dist/components/alert-dialog/index.d.ts +6 -5
  185. package/dist/components/alert-dialog/index.js +6 -6
  186. package/dist/components/aspect-ratio/index.js +2 -2
  187. package/dist/components/avatar/index.d.ts +11 -11
  188. package/dist/components/avatar/index.js +2 -2
  189. package/dist/components/badge/index.d.ts +112 -112
  190. package/dist/components/badge/index.js +2 -2
  191. package/dist/components/breadcrumb/index.js +2 -2
  192. package/dist/components/button/index.d.ts +51 -51
  193. package/dist/components/button/index.js +3 -3
  194. package/dist/components/button-group/index.js +2 -2
  195. package/dist/components/calendar/index.js +10 -10
  196. package/dist/components/card/index.d.ts +22 -22
  197. package/dist/components/card/index.js +2 -1
  198. package/dist/components/carousel/index.js +3 -3
  199. package/dist/components/chart/index.js +2 -2
  200. package/dist/components/checkbox/index.js +2 -2
  201. package/dist/components/collapsible/index.d.ts +2 -2
  202. package/dist/components/collapsible/index.js +3 -2
  203. package/dist/components/combobox/index.d.ts +2 -2
  204. package/dist/components/combobox/index.js +5 -5
  205. package/dist/components/command/index.js +7 -7
  206. package/dist/components/context-menu/index.d.ts +11 -11
  207. package/dist/components/context-menu/index.js +3 -3
  208. package/dist/components/data-table/index.js +3 -3
  209. package/dist/components/date-picker/index.js +6 -6
  210. package/dist/components/dialog/index.d.ts +26 -5
  211. package/dist/components/dialog/index.js +5 -5
  212. package/dist/components/direction/index.js +2 -2
  213. package/dist/components/drawer/index.d.ts +5 -4
  214. package/dist/components/drawer/index.js +5 -5
  215. package/dist/components/dropdown/index.d.ts +3 -3
  216. package/dist/components/dropdown/index.js +3 -3
  217. package/dist/components/dropzone/index.js +3 -3
  218. package/dist/components/empty/index.d.ts +6 -6
  219. package/dist/components/empty/index.js +2 -2
  220. package/dist/components/field/index.d.ts +2 -2
  221. package/dist/components/field/index.js +4 -4
  222. package/dist/components/hover-card/index.d.ts +2 -2
  223. package/dist/components/hover-card/index.js +2 -1
  224. package/dist/components/image/index.js +2 -2
  225. package/dist/components/input/index.d.ts +12 -12
  226. package/dist/components/input/index.js +3 -2
  227. package/dist/components/input-group/index.d.ts +56 -56
  228. package/dist/components/input-group/index.js +5 -5
  229. package/dist/components/input-otp/index.js +2 -2
  230. package/dist/components/item/index.d.ts +31 -31
  231. package/dist/components/item/index.js +3 -3
  232. package/dist/components/kbd/index.d.ts +8 -8
  233. package/dist/components/kbd/index.js +2 -2
  234. package/dist/components/label/index.d.ts +22 -22
  235. package/dist/components/label/index.js +3 -2
  236. package/dist/components/locale-segment-group/index.js +2 -2
  237. package/dist/components/menubar/index.js +3 -3
  238. package/dist/components/native-select/index.d.ts +34 -34
  239. package/dist/components/native-select/index.js +2 -1
  240. package/dist/components/navigation-menu/index.d.ts +2 -2
  241. package/dist/components/navigation-menu/index.js +3 -3
  242. package/dist/components/pagination/index.d.ts +1 -1
  243. package/dist/components/pagination/index.js +3 -3
  244. package/dist/components/popover/index.d.ts +22 -22
  245. package/dist/components/popover/index.js +4 -3
  246. package/dist/components/progress/index.js +2 -2
  247. package/dist/components/prose/index.js +2 -2
  248. package/dist/components/radio-group/index.d.ts +2 -2
  249. package/dist/components/radio-group/index.js +3 -3
  250. package/dist/components/scroll-area/index.js +2 -2
  251. package/dist/components/select/index.js +3 -3
  252. package/dist/components/selectable-card/index.js +3 -3
  253. package/dist/components/separator/index.d.ts +8 -8
  254. package/dist/components/separator/index.js +3 -2
  255. package/dist/components/sheet/index.d.ts +5 -4
  256. package/dist/components/sheet/index.js +5 -5
  257. package/dist/components/sidebar/index.d.ts +15 -10
  258. package/dist/components/sidebar/index.js +13 -1
  259. package/dist/components/skeleton/index.d.ts +22 -22
  260. package/dist/components/skeleton/index.js +2 -1
  261. package/dist/components/slider/index.js +2 -2
  262. package/dist/components/spinner/index.js +2 -2
  263. package/dist/components/switch/index.d.ts +1 -1
  264. package/dist/components/switch/index.js +2 -2
  265. package/dist/components/table/index.js +3 -3
  266. package/dist/components/tabs/index.d.ts +2 -2
  267. package/dist/components/tabs/index.js +3 -3
  268. package/dist/components/textarea/index.d.ts +12 -12
  269. package/dist/components/textarea/index.js +3 -2
  270. package/dist/components/theme-toggle/index.js +4 -4
  271. package/dist/components/toggle/index.d.ts +1 -1
  272. package/dist/components/toggle/index.js +2 -2
  273. package/dist/components/toggle-group/index.d.ts +2 -2
  274. package/dist/components/toggle-group/index.js +2 -2
  275. package/dist/components/typography/index.d.ts +2 -2
  276. package/dist/components/typography/index.js +2 -2
  277. package/dist/components/video/index.js +2 -2
  278. package/dist/index.d.ts +24 -24
  279. package/dist/index.js +80 -79
  280. package/dist/lib/interactive/index.js +1 -1
  281. package/dist/lib/utils.d.ts +2 -1
  282. package/dist/lib/utils.js +1 -1
  283. package/dist/{navigationMenuTriggerStyle-BWnESpon.d.ts → navigationMenuTriggerStyle-DUhqCYxO.d.ts} +1 -1
  284. package/dist/theme.css +16 -0
  285. package/dist/utils.d.ts +2 -0
  286. package/dist/utils.js +3 -0
  287. package/dist/utils.js.map +1 -0
  288. package/package.json +17 -13
  289. package/dist/Button-vQnkiVTI.d.ts +0 -84
  290. package/dist/SidebarProvider-IAihmyD7.d.ts +0 -46
  291. package/dist/Toggle-CseZl7XN.d.ts +0 -49
  292. package/dist/Typography-ccTtE182.d.ts +0 -64
  293. package/dist/chunk-262EK2XT.js.map +0 -1
  294. package/dist/chunk-2BQ54337.js.map +0 -1
  295. package/dist/chunk-5FBD2NTR.js.map +0 -1
  296. package/dist/chunk-5KS2VSX2.js.map +0 -1
  297. package/dist/chunk-67J4KBOW.js.map +0 -1
  298. package/dist/chunk-6RASPU5N.js.map +0 -1
  299. package/dist/chunk-7AJT2E2Y.js.map +0 -1
  300. package/dist/chunk-BYG2ULS3.js.map +0 -1
  301. package/dist/chunk-CMBERB5B.js +0 -9
  302. package/dist/chunk-COPT6I2D.js.map +0 -1
  303. package/dist/chunk-D3DQ4ICC.js.map +0 -1
  304. package/dist/chunk-ERBGZZ2U.js.map +0 -1
  305. package/dist/chunk-G6TV6TF7.js.map +0 -1
  306. package/dist/chunk-GIU6BZTW.js.map +0 -1
  307. package/dist/chunk-HCTZJYHK.js.map +0 -1
  308. package/dist/chunk-JSHUWI3C.js.map +0 -1
  309. package/dist/chunk-LCWXIQKA.js.map +0 -1
  310. package/dist/chunk-MKG3UAP6.js +0 -347
  311. package/dist/chunk-MKG3UAP6.js.map +0 -1
  312. package/dist/chunk-MS2ZNYCJ.js +0 -9
  313. package/dist/chunk-MS2ZNYCJ.js.map +0 -1
  314. package/dist/chunk-OCLVMKVC.js.map +0 -1
  315. package/dist/chunk-PGOCR4LG.js.map +0 -1
  316. package/dist/chunk-PPYJQNE5.js.map +0 -1
  317. package/dist/chunk-QZX3RFIC.js.map +0 -1
  318. package/dist/chunk-R565SY7K.js +0 -69
  319. package/dist/chunk-R565SY7K.js.map +0 -1
  320. package/dist/chunk-RTIFG4XT.js +0 -9
  321. package/dist/chunk-STRBBF45.js.map +0 -1
  322. package/dist/chunk-U2UNWXBC.js.map +0 -1
  323. package/dist/chunk-UEGIKBX6.js +0 -385
  324. package/dist/chunk-UEGIKBX6.js.map +0 -1
  325. package/dist/chunk-UIA74JVN.js.map +0 -1
  326. package/dist/chunk-UNWEH4Z6.js.map +0 -1
  327. package/dist/chunk-V2MG5Y5F.js.map +0 -1
  328. package/dist/chunk-X2YUFNK7.js +0 -18
  329. package/dist/chunk-X2YUFNK7.js.map +0 -1
  330. package/dist/chunk-XGFJJ2YB.js.map +0 -1
  331. 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="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" />
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
- <h1 align="center">Kamod UI</h1>
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-vQnkiVTI.js';
5
- import { e as DialogCloseProps, d as DialogTriggerProps, c as DialogProps } from './Dialog-BOIteLfe.js';
6
- import { b as DialogContentProps } from './DialogContent-cQHSRQdT.js';
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-CH_Kx2mn.js';
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 DialogProps as c, type DialogTriggerProps as d, type DialogCloseProps as e };
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 { e as DialogCloseProps, d as DialogTriggerProps } from './Dialog-BOIteLfe.js';
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-DZ-p-aHY.js';
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: string;
73
- destructive: string;
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: string;
76
+ true: "ps-6";
77
77
  };
78
78
  }, undefined, string[], {
79
79
  variant: {
80
- default: string;
81
- destructive: string;
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: string;
84
+ true: "ps-6";
85
85
  };
86
- }, undefined, tailwind_variants.TVReturnType<{
86
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
87
87
  variant: {
88
- default: string;
89
- destructive: string;
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: string;
92
+ true: "ps-6";
93
93
  };
94
- }, undefined, string[], unknown, unknown, undefined>>;
95
- type DropdownItemProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof dropdownItem> & {
94
+ }, undefined>>;
95
+ type DropdownItemSharedProps = VariantProps<typeof dropdownItem> & {
96
96
  children?: ComponentChildren;
97
97
  };
98
- declare const DropdownItem: ({ inset, variant, class: className, children, onClick, ...rest }: DropdownItemProps) => JSX.Element;
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: string;
103
- top: string;
104
- right: string;
105
- left: string;
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: string;
110
- top: string;
111
- right: string;
112
- left: string;
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.TVReturnType<{
119
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
115
120
  side: {
116
- bottom: string;
117
- top: string;
118
- right: string;
119
- left: string;
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, string[], unknown, unknown, 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: string;
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: string;
14
+ vertical: "flex-col *:w-full [.sr-only]:w-auto";
15
15
  horizontal: string[];
16
16
  responsive: string[];
17
17
  };
18
- }, undefined, tailwind_variants.TVReturnType<{
18
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
19
19
  orientation: {
20
- vertical: string;
20
+ vertical: "flex-col *:w-full [.sr-only]:w-auto";
21
21
  horizontal: string[];
22
22
  responsive: string[];
23
23
  };
24
- }, undefined, string[], unknown, unknown, 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: string;
71
- label: string;
70
+ legend: "text-base font-semibold";
71
+ label: "text-sm font-medium";
72
72
  };
73
73
  }, undefined, "", {
74
74
  variant: {
75
- legend: string;
76
- label: string;
75
+ legend: "text-base font-semibold";
76
+ label: "text-sm font-medium";
77
77
  };
78
- }, undefined, tailwind_variants.TVReturnType<{
78
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
79
79
  variant: {
80
- legend: string;
81
- label: string;
80
+ legend: "text-base font-semibold";
81
+ label: "text-sm font-medium";
82
82
  };
83
- }, undefined, "", unknown, unknown, 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: string;
9
- top: string;
10
- right: string;
11
- left: string;
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: string;
16
- top: string;
17
- right: string;
18
- left: string;
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.TVReturnType<{
20
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
21
21
  side: {
22
- bottom: string;
23
- top: string;
24
- right: string;
25
- left: string;
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, string[], unknown, unknown, 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: string;
8
- md: string;
9
- lg: string;
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: string;
14
- md: string;
15
- lg: string;
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.TVReturnType<{
17
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
18
18
  size: {
19
- sm: string;
20
- md: string;
21
- lg: string;
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, string[], unknown, unknown, 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: string;
9
- top: string;
10
- right: string;
11
- left: string;
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: string;
16
- top: string;
17
- right: string;
18
- left: string;
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.TVReturnType<{
20
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
21
21
  side: {
22
- bottom: string;
23
- top: string;
24
- right: string;
25
- left: string;
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, string[], unknown, unknown, 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: string;
8
- sm: string;
7
+ default: "";
8
+ sm: "gap-2 text-xs";
9
9
  };
10
10
  }, undefined, string[], {
11
11
  size: {
12
- default: string;
13
- sm: string;
12
+ default: "";
13
+ sm: "gap-2 text-xs";
14
14
  };
15
- }, undefined, tailwind_variants.TVReturnType<{
15
+ }, undefined, tailwind_variants.TVReturnTypeLike<{
16
16
  size: {
17
- default: string;
18
- sm: string;
17
+ default: "";
18
+ sm: "gap-2 text-xs";
19
19
  };
20
- }, undefined, string[], unknown, unknown, 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 { c as DialogProps } from './Dialog-BOIteLfe.js';
3
+ import { e as DialogProps } from './Dialog-DdD1sMwk.js';
4
4
 
5
5
  type SheetFooterProps = JSX.HTMLAttributes<HTMLDivElement> & {
6
6
  children?: ComponentChildren;