@kamod-ui/core 0.1.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 (415) hide show
  1. package/LICENSE.md +9 -0
  2. package/dist/Accordion-D1PiNspd.d.ts +39 -0
  3. package/dist/AlertDialog-CpnCfDdN.d.ts +64 -0
  4. package/dist/Button-tRKMr8-H.d.ts +84 -0
  5. package/dist/CalendarDateTimePanel-B3J8OlSc.d.ts +79 -0
  6. package/dist/Carousel-DvlcMPpB.d.ts +41 -0
  7. package/dist/Chart-Ax22S5_N.d.ts +10 -0
  8. package/dist/Checkbox-DBbLYq6Q.d.ts +12 -0
  9. package/dist/Collapsible-DSZCp0tm.d.ts +34 -0
  10. package/dist/ComboboxInlineInput-CB7CEXzy.d.ts +135 -0
  11. package/dist/CommandSeparator-pJQnB9Lu.d.ts +47 -0
  12. package/dist/DataTable-zNTTdYVU.d.ts +13 -0
  13. package/dist/DatePicker-AFAYh5Ca.d.ts +20 -0
  14. package/dist/Dialog-CqCI4s9U.d.ts +28 -0
  15. package/dist/DialogContent-9VJGDt5l.d.ts +24 -0
  16. package/dist/DialogHeader-CYT7iUDq.d.ts +13 -0
  17. package/dist/DialogTitle-CvcRlZ_Z.d.ts +13 -0
  18. package/dist/Direction-25ZOt0gW.d.ts +24 -0
  19. package/dist/Drawer-BOPihYBJ.d.ts +41 -0
  20. package/dist/Dropdown-uPFaMqkB.d.ts +143 -0
  21. package/dist/EmptyTitle-J8rVLcJ3.d.ts +59 -0
  22. package/dist/FieldTitle-aSgThW-B.d.ts +100 -0
  23. package/dist/HoverCard-OSnOE6pE.d.ts +52 -0
  24. package/dist/Input-Cem05el9.d.ts +27 -0
  25. package/dist/Menubar-DwYDW4w2.d.ts +88 -0
  26. package/dist/PopoverTrigger-B6kK73gh.d.ts +43 -0
  27. package/dist/Progress-BGij8Hob.d.ts +13 -0
  28. package/dist/RadioGroup-BaElzLwa.d.ts +40 -0
  29. package/dist/ScrollArea-B-vILe3g.d.ts +16 -0
  30. package/dist/Select-B_mNVh70.d.ts +51 -0
  31. package/dist/Separator-DCQYrnpB.d.ts +9 -0
  32. package/dist/Sheet-B41Emmis.d.ts +29 -0
  33. package/dist/SidebarProvider-IAihmyD7.d.ts +46 -0
  34. package/dist/Slider-BQLMBpYs.d.ts +16 -0
  35. package/dist/Switch-CTTkNdqF.d.ts +31 -0
  36. package/dist/Tabs-DFJR_P2D.d.ts +47 -0
  37. package/dist/Textarea-DbKkduOG.d.ts +27 -0
  38. package/dist/ThemeToggle-DfiEM1dZ.d.ts +9 -0
  39. package/dist/Toggle-CseZl7XN.d.ts +49 -0
  40. package/dist/ToggleGroup-UeYHzQe7.d.ts +137 -0
  41. package/dist/Tooltip-BtRWVyCA.d.ts +40 -0
  42. package/dist/Typography-ccTtE182.d.ts +64 -0
  43. package/dist/chunk-2UHCXHAX.js +119 -0
  44. package/dist/chunk-2UHCXHAX.js.map +1 -0
  45. package/dist/chunk-2XNWLXG2.js +12 -0
  46. package/dist/chunk-2XNWLXG2.js.map +1 -0
  47. package/dist/chunk-3EHH62ZA.js +175 -0
  48. package/dist/chunk-3EHH62ZA.js.map +1 -0
  49. package/dist/chunk-3GKUUTSA.js +586 -0
  50. package/dist/chunk-3GKUUTSA.js.map +1 -0
  51. package/dist/chunk-3IT2RVO6.js +151 -0
  52. package/dist/chunk-3IT2RVO6.js.map +1 -0
  53. package/dist/chunk-3WAPI4KR.js +36 -0
  54. package/dist/chunk-3WAPI4KR.js.map +1 -0
  55. package/dist/chunk-44YLIQIS.js +15 -0
  56. package/dist/chunk-44YLIQIS.js.map +1 -0
  57. package/dist/chunk-4AJM7IA4.js +9 -0
  58. package/dist/chunk-4AJM7IA4.js.map +1 -0
  59. package/dist/chunk-4HX6SEWP.js +24 -0
  60. package/dist/chunk-4HX6SEWP.js.map +1 -0
  61. package/dist/chunk-6FTWMOHU.js +478 -0
  62. package/dist/chunk-6FTWMOHU.js.map +1 -0
  63. package/dist/chunk-6ZXYDBPR.js +304 -0
  64. package/dist/chunk-6ZXYDBPR.js.map +1 -0
  65. package/dist/chunk-7E2ZPDVI.js +224 -0
  66. package/dist/chunk-7E2ZPDVI.js.map +1 -0
  67. package/dist/chunk-7HZUM5ZQ.js +85 -0
  68. package/dist/chunk-7HZUM5ZQ.js.map +1 -0
  69. package/dist/chunk-7MECYLKS.js +375 -0
  70. package/dist/chunk-7MECYLKS.js.map +1 -0
  71. package/dist/chunk-7TDS7TC6.js +49 -0
  72. package/dist/chunk-7TDS7TC6.js.map +1 -0
  73. package/dist/chunk-7ZXJRNJO.js +26 -0
  74. package/dist/chunk-7ZXJRNJO.js.map +1 -0
  75. package/dist/chunk-AVCG4W6D.js +122 -0
  76. package/dist/chunk-AVCG4W6D.js.map +1 -0
  77. package/dist/chunk-BF3F5SJX.js +89 -0
  78. package/dist/chunk-BF3F5SJX.js.map +1 -0
  79. package/dist/chunk-BHMKSFES.js +195 -0
  80. package/dist/chunk-BHMKSFES.js.map +1 -0
  81. package/dist/chunk-BMF5SGYP.js +45 -0
  82. package/dist/chunk-BMF5SGYP.js.map +1 -0
  83. package/dist/chunk-D25ZQ36E.js +273 -0
  84. package/dist/chunk-D25ZQ36E.js.map +1 -0
  85. package/dist/chunk-D5W5YHJZ.js +426 -0
  86. package/dist/chunk-D5W5YHJZ.js.map +1 -0
  87. package/dist/chunk-DHBILREV.js +70 -0
  88. package/dist/chunk-DHBILREV.js.map +1 -0
  89. package/dist/chunk-DJ4PFETN.js +17 -0
  90. package/dist/chunk-DJ4PFETN.js.map +1 -0
  91. package/dist/chunk-DKXUKLZT.js +342 -0
  92. package/dist/chunk-DKXUKLZT.js.map +1 -0
  93. package/dist/chunk-EL2HT25C.js +9 -0
  94. package/dist/chunk-EL2HT25C.js.map +1 -0
  95. package/dist/chunk-FDNPBI2Z.js +26 -0
  96. package/dist/chunk-FDNPBI2Z.js.map +1 -0
  97. package/dist/chunk-FWCN47RC.js +65 -0
  98. package/dist/chunk-FWCN47RC.js.map +1 -0
  99. package/dist/chunk-G6PBJZYF.js +114 -0
  100. package/dist/chunk-G6PBJZYF.js.map +1 -0
  101. package/dist/chunk-GFF5OT46.js +80 -0
  102. package/dist/chunk-GFF5OT46.js.map +1 -0
  103. package/dist/chunk-GLWYIUE5.js +242 -0
  104. package/dist/chunk-GLWYIUE5.js.map +1 -0
  105. package/dist/chunk-HEQRODRF.js +110 -0
  106. package/dist/chunk-HEQRODRF.js.map +1 -0
  107. package/dist/chunk-HGTFOOUL.js +61 -0
  108. package/dist/chunk-HGTFOOUL.js.map +1 -0
  109. package/dist/chunk-HNESOMVN.js +18 -0
  110. package/dist/chunk-HNESOMVN.js.map +1 -0
  111. package/dist/chunk-I2PR3HXC.js +51 -0
  112. package/dist/chunk-I2PR3HXC.js.map +1 -0
  113. package/dist/chunk-IGGEBO7K.js +8 -0
  114. package/dist/chunk-IGGEBO7K.js.map +1 -0
  115. package/dist/chunk-J2Z2LSXM.js +26 -0
  116. package/dist/chunk-J2Z2LSXM.js.map +1 -0
  117. package/dist/chunk-JC7JMWSH.js +109 -0
  118. package/dist/chunk-JC7JMWSH.js.map +1 -0
  119. package/dist/chunk-JZRMLE4X.js +77 -0
  120. package/dist/chunk-JZRMLE4X.js.map +1 -0
  121. package/dist/chunk-KBXDU3G4.js +382 -0
  122. package/dist/chunk-KBXDU3G4.js.map +1 -0
  123. package/dist/chunk-KF34SFFZ.js +18 -0
  124. package/dist/chunk-KF34SFFZ.js.map +1 -0
  125. package/dist/chunk-L42B6QZS.js +524 -0
  126. package/dist/chunk-L42B6QZS.js.map +1 -0
  127. package/dist/chunk-LGO5HXMG.js +592 -0
  128. package/dist/chunk-LGO5HXMG.js.map +1 -0
  129. package/dist/chunk-LVK44RMS.js +78 -0
  130. package/dist/chunk-LVK44RMS.js.map +1 -0
  131. package/dist/chunk-N2LRB6TA.js +8 -0
  132. package/dist/chunk-N2LRB6TA.js.map +1 -0
  133. package/dist/chunk-NHTY2HD2.js +8 -0
  134. package/dist/chunk-NHTY2HD2.js.map +1 -0
  135. package/dist/chunk-NJUXP5FM.js +392 -0
  136. package/dist/chunk-NJUXP5FM.js.map +1 -0
  137. package/dist/chunk-NPHECLV5.js +94 -0
  138. package/dist/chunk-NPHECLV5.js.map +1 -0
  139. package/dist/chunk-NXVAR6P2.js +79 -0
  140. package/dist/chunk-NXVAR6P2.js.map +1 -0
  141. package/dist/chunk-OMXWBB67.js +9 -0
  142. package/dist/chunk-OMXWBB67.js.map +1 -0
  143. package/dist/chunk-PE5QQIV5.js +69 -0
  144. package/dist/chunk-PE5QQIV5.js.map +1 -0
  145. package/dist/chunk-QAUGWXGJ.js +158 -0
  146. package/dist/chunk-QAUGWXGJ.js.map +1 -0
  147. package/dist/chunk-QCYFSBZ7.js +81 -0
  148. package/dist/chunk-QCYFSBZ7.js.map +1 -0
  149. package/dist/chunk-QJT5UAL2.js +714 -0
  150. package/dist/chunk-QJT5UAL2.js.map +1 -0
  151. package/dist/chunk-QRLVOM3E.js +83 -0
  152. package/dist/chunk-QRLVOM3E.js.map +1 -0
  153. package/dist/chunk-RBVGV7VO.js +26 -0
  154. package/dist/chunk-RBVGV7VO.js.map +1 -0
  155. package/dist/chunk-RD6VXGVY.js +340 -0
  156. package/dist/chunk-RD6VXGVY.js.map +1 -0
  157. package/dist/chunk-RSPI2A4W.js +106 -0
  158. package/dist/chunk-RSPI2A4W.js.map +1 -0
  159. package/dist/chunk-RT26RZ7W.js +79 -0
  160. package/dist/chunk-RT26RZ7W.js.map +1 -0
  161. package/dist/chunk-RXAIDZ33.js +522 -0
  162. package/dist/chunk-RXAIDZ33.js.map +1 -0
  163. package/dist/chunk-S6TO62GJ.js +53 -0
  164. package/dist/chunk-S6TO62GJ.js.map +1 -0
  165. package/dist/chunk-SJ5MYJ7L.js +283 -0
  166. package/dist/chunk-SJ5MYJ7L.js.map +1 -0
  167. package/dist/chunk-SZ2I2SRP.js +156 -0
  168. package/dist/chunk-SZ2I2SRP.js.map +1 -0
  169. package/dist/chunk-UGOQKTHL.js +23 -0
  170. package/dist/chunk-UGOQKTHL.js.map +1 -0
  171. package/dist/chunk-UGQ756Z6.js +92 -0
  172. package/dist/chunk-UGQ756Z6.js.map +1 -0
  173. package/dist/chunk-UNPCAFLS.js +22 -0
  174. package/dist/chunk-UNPCAFLS.js.map +1 -0
  175. package/dist/chunk-V27UIXBD.js +36 -0
  176. package/dist/chunk-V27UIXBD.js.map +1 -0
  177. package/dist/chunk-VB5LDR7C.js +97 -0
  178. package/dist/chunk-VB5LDR7C.js.map +1 -0
  179. package/dist/chunk-VJ26PA3U.js +9 -0
  180. package/dist/chunk-VJ26PA3U.js.map +1 -0
  181. package/dist/chunk-VKB4VUN7.js +164 -0
  182. package/dist/chunk-VKB4VUN7.js.map +1 -0
  183. package/dist/chunk-Y37OHTAO.js +208 -0
  184. package/dist/chunk-Y37OHTAO.js.map +1 -0
  185. package/dist/chunk-Y4OW24IS.js +18 -0
  186. package/dist/chunk-Y4OW24IS.js.map +1 -0
  187. package/dist/chunk-YDMMDO2W.js +141 -0
  188. package/dist/chunk-YDMMDO2W.js.map +1 -0
  189. package/dist/chunk-YENXORWK.js +9 -0
  190. package/dist/chunk-YENXORWK.js.map +1 -0
  191. package/dist/chunk-YLTIB224.js +76 -0
  192. package/dist/chunk-YLTIB224.js.map +1 -0
  193. package/dist/chunk-YVA6PAML.js +63 -0
  194. package/dist/chunk-YVA6PAML.js.map +1 -0
  195. package/dist/chunk-YWUMX4JR.js +9 -0
  196. package/dist/chunk-YWUMX4JR.js.map +1 -0
  197. package/dist/chunk-ZDXR2SWG.js +32 -0
  198. package/dist/chunk-ZDXR2SWG.js.map +1 -0
  199. package/dist/chunk-ZIFL6GXH.js +187 -0
  200. package/dist/chunk-ZIFL6GXH.js.map +1 -0
  201. package/dist/chunk-ZM4VJOGF.js +40 -0
  202. package/dist/chunk-ZM4VJOGF.js.map +1 -0
  203. package/dist/chunk-ZVKIJLNO.js +9 -0
  204. package/dist/chunk-ZVKIJLNO.js.map +1 -0
  205. package/dist/components/accordion/index.d.ts +12 -0
  206. package/dist/components/accordion/index.js +4 -0
  207. package/dist/components/accordion/index.js.map +1 -0
  208. package/dist/components/alert/index.d.ts +64 -0
  209. package/dist/components/alert/index.js +4 -0
  210. package/dist/components/alert/index.js.map +1 -0
  211. package/dist/components/alert-dialog/index.d.ts +22 -0
  212. package/dist/components/alert-dialog/index.js +9 -0
  213. package/dist/components/alert-dialog/index.js.map +1 -0
  214. package/dist/components/aspect-ratio/index.d.ts +11 -0
  215. package/dist/components/aspect-ratio/index.js +4 -0
  216. package/dist/components/aspect-ratio/index.js.map +1 -0
  217. package/dist/components/avatar/index.d.ts +53 -0
  218. package/dist/components/avatar/index.js +4 -0
  219. package/dist/components/avatar/index.js.map +1 -0
  220. package/dist/components/badge/index.d.ts +175 -0
  221. package/dist/components/badge/index.js +4 -0
  222. package/dist/components/badge/index.js.map +1 -0
  223. package/dist/components/breadcrumb/index.d.ts +38 -0
  224. package/dist/components/breadcrumb/index.js +4 -0
  225. package/dist/components/breadcrumb/index.js.map +1 -0
  226. package/dist/components/button/index.d.ts +72 -0
  227. package/dist/components/button/index.js +5 -0
  228. package/dist/components/button/index.js.map +1 -0
  229. package/dist/components/button-group/index.d.ts +21 -0
  230. package/dist/components/button-group/index.js +4 -0
  231. package/dist/components/button-group/index.js.map +1 -0
  232. package/dist/components/calendar/index.d.ts +7 -0
  233. package/dist/components/calendar/index.js +12 -0
  234. package/dist/components/calendar/index.js.map +1 -0
  235. package/dist/components/card/index.d.ts +80 -0
  236. package/dist/components/card/index.js +3 -0
  237. package/dist/components/card/index.js.map +1 -0
  238. package/dist/components/carousel/index.d.ts +14 -0
  239. package/dist/components/carousel/index.js +5 -0
  240. package/dist/components/carousel/index.js.map +1 -0
  241. package/dist/components/chart/index.d.ts +6 -0
  242. package/dist/components/chart/index.js +4 -0
  243. package/dist/components/chart/index.js.map +1 -0
  244. package/dist/components/checkbox/index.d.ts +7 -0
  245. package/dist/components/checkbox/index.js +4 -0
  246. package/dist/components/checkbox/index.js.map +1 -0
  247. package/dist/components/collapsible/index.d.ts +11 -0
  248. package/dist/components/collapsible/index.js +4 -0
  249. package/dist/components/collapsible/index.js.map +1 -0
  250. package/dist/components/combobox/index.d.ts +13 -0
  251. package/dist/components/combobox/index.js +7 -0
  252. package/dist/components/combobox/index.js.map +1 -0
  253. package/dist/components/command/index.d.ts +21 -0
  254. package/dist/components/command/index.js +10 -0
  255. package/dist/components/command/index.js.map +1 -0
  256. package/dist/components/context-menu/index.d.ts +114 -0
  257. package/dist/components/context-menu/index.js +5 -0
  258. package/dist/components/context-menu/index.js.map +1 -0
  259. package/dist/components/data-table/index.d.ts +6 -0
  260. package/dist/components/data-table/index.js +5 -0
  261. package/dist/components/data-table/index.js.map +1 -0
  262. package/dist/components/date-picker/index.d.ts +7 -0
  263. package/dist/components/date-picker/index.js +8 -0
  264. package/dist/components/date-picker/index.js.map +1 -0
  265. package/dist/components/dialog/index.d.ts +22 -0
  266. package/dist/components/dialog/index.js +8 -0
  267. package/dist/components/dialog/index.js.map +1 -0
  268. package/dist/components/direction/index.d.ts +7 -0
  269. package/dist/components/direction/index.js +4 -0
  270. package/dist/components/direction/index.js.map +1 -0
  271. package/dist/components/drawer/index.d.ts +19 -0
  272. package/dist/components/drawer/index.js +8 -0
  273. package/dist/components/drawer/index.js.map +1 -0
  274. package/dist/components/dropdown/index.d.ts +24 -0
  275. package/dist/components/dropdown/index.js +5 -0
  276. package/dist/components/dropdown/index.js.map +1 -0
  277. package/dist/components/dropzone/index.d.ts +26 -0
  278. package/dist/components/dropzone/index.js +5 -0
  279. package/dist/components/dropzone/index.js.map +1 -0
  280. package/dist/components/empty/index.d.ts +8 -0
  281. package/dist/components/empty/index.js +4 -0
  282. package/dist/components/empty/index.js.map +1 -0
  283. package/dist/components/field/index.d.ts +8 -0
  284. package/dist/components/field/index.js +6 -0
  285. package/dist/components/field/index.js.map +1 -0
  286. package/dist/components/hover-card/index.d.ts +12 -0
  287. package/dist/components/hover-card/index.js +3 -0
  288. package/dist/components/hover-card/index.js.map +1 -0
  289. package/dist/components/image/index.d.ts +6 -0
  290. package/dist/components/image/index.js +4 -0
  291. package/dist/components/image/index.js.map +1 -0
  292. package/dist/components/input/index.d.ts +27 -0
  293. package/dist/components/input/index.js +4 -0
  294. package/dist/components/input/index.js.map +1 -0
  295. package/dist/components/input-group/index.d.ts +132 -0
  296. package/dist/components/input-group/index.js +7 -0
  297. package/dist/components/input-group/index.js.map +1 -0
  298. package/dist/components/input-otp/index.d.ts +39 -0
  299. package/dist/components/input-otp/index.js +4 -0
  300. package/dist/components/input-otp/index.js.map +1 -0
  301. package/dist/components/item/index.d.ts +108 -0
  302. package/dist/components/item/index.js +5 -0
  303. package/dist/components/item/index.js.map +1 -0
  304. package/dist/components/kbd/index.d.ts +31 -0
  305. package/dist/components/kbd/index.js +4 -0
  306. package/dist/components/kbd/index.js.map +1 -0
  307. package/dist/components/label/index.d.ts +49 -0
  308. package/dist/components/label/index.js +4 -0
  309. package/dist/components/label/index.js.map +1 -0
  310. package/dist/components/locale-segment-group/index.d.ts +15 -0
  311. package/dist/components/locale-segment-group/index.js +4 -0
  312. package/dist/components/locale-segment-group/index.js.map +1 -0
  313. package/dist/components/menubar/index.d.ts +23 -0
  314. package/dist/components/menubar/index.js +5 -0
  315. package/dist/components/menubar/index.js.map +1 -0
  316. package/dist/components/native-select/index.d.ts +89 -0
  317. package/dist/components/native-select/index.js +3 -0
  318. package/dist/components/native-select/index.js.map +1 -0
  319. package/dist/components/navigation-menu/index.d.ts +15 -0
  320. package/dist/components/navigation-menu/index.js +5 -0
  321. package/dist/components/navigation-menu/index.js.map +1 -0
  322. package/dist/components/pagination/index.d.ts +44 -0
  323. package/dist/components/pagination/index.js +5 -0
  324. package/dist/components/pagination/index.js.map +1 -0
  325. package/dist/components/popover/index.d.ts +76 -0
  326. package/dist/components/popover/index.js +5 -0
  327. package/dist/components/popover/index.js.map +1 -0
  328. package/dist/components/progress/index.d.ts +6 -0
  329. package/dist/components/progress/index.js +4 -0
  330. package/dist/components/progress/index.js.map +1 -0
  331. package/dist/components/prose/index.d.ts +8 -0
  332. package/dist/components/prose/index.js +4 -0
  333. package/dist/components/prose/index.js.map +1 -0
  334. package/dist/components/radio-group/index.d.ts +11 -0
  335. package/dist/components/radio-group/index.js +5 -0
  336. package/dist/components/radio-group/index.js.map +1 -0
  337. package/dist/components/scroll-area/index.d.ts +11 -0
  338. package/dist/components/scroll-area/index.js +4 -0
  339. package/dist/components/scroll-area/index.js.map +1 -0
  340. package/dist/components/select/index.d.ts +17 -0
  341. package/dist/components/select/index.js +5 -0
  342. package/dist/components/select/index.js.map +1 -0
  343. package/dist/components/selectable-card/index.d.ts +11 -0
  344. package/dist/components/selectable-card/index.js +5 -0
  345. package/dist/components/selectable-card/index.js.map +1 -0
  346. package/dist/components/separator/index.d.ts +24 -0
  347. package/dist/components/separator/index.js +4 -0
  348. package/dist/components/separator/index.js.map +1 -0
  349. package/dist/components/sheet/index.d.ts +20 -0
  350. package/dist/components/sheet/index.js +8 -0
  351. package/dist/components/sheet/index.js.map +1 -0
  352. package/dist/components/sidebar/index.d.ts +16 -0
  353. package/dist/components/sidebar/index.js +3 -0
  354. package/dist/components/sidebar/index.js.map +1 -0
  355. package/dist/components/skeleton/index.d.ts +52 -0
  356. package/dist/components/skeleton/index.js +3 -0
  357. package/dist/components/skeleton/index.js.map +1 -0
  358. package/dist/components/slider/index.d.ts +7 -0
  359. package/dist/components/slider/index.js +4 -0
  360. package/dist/components/slider/index.js.map +1 -0
  361. package/dist/components/sonner/index.d.ts +7 -0
  362. package/dist/components/sonner/index.js +3 -0
  363. package/dist/components/sonner/index.js.map +1 -0
  364. package/dist/components/spinner/index.d.ts +10 -0
  365. package/dist/components/spinner/index.js +4 -0
  366. package/dist/components/spinner/index.js.map +1 -0
  367. package/dist/components/switch/index.d.ts +7 -0
  368. package/dist/components/switch/index.js +4 -0
  369. package/dist/components/switch/index.js.map +1 -0
  370. package/dist/components/table/index.d.ts +45 -0
  371. package/dist/components/table/index.js +5 -0
  372. package/dist/components/table/index.js.map +1 -0
  373. package/dist/components/tabs/index.d.ts +13 -0
  374. package/dist/components/tabs/index.js +4 -0
  375. package/dist/components/tabs/index.js.map +1 -0
  376. package/dist/components/textarea/index.d.ts +27 -0
  377. package/dist/components/textarea/index.js +4 -0
  378. package/dist/components/textarea/index.js.map +1 -0
  379. package/dist/components/theme-toggle/index.d.ts +6 -0
  380. package/dist/components/theme-toggle/index.js +6 -0
  381. package/dist/components/theme-toggle/index.js.map +1 -0
  382. package/dist/components/toast/index.d.ts +27 -0
  383. package/dist/components/toast/index.js +3 -0
  384. package/dist/components/toast/index.js.map +1 -0
  385. package/dist/components/toggle/index.d.ts +7 -0
  386. package/dist/components/toggle/index.js +4 -0
  387. package/dist/components/toggle/index.js.map +1 -0
  388. package/dist/components/toggle-group/index.d.ts +11 -0
  389. package/dist/components/toggle-group/index.js +4 -0
  390. package/dist/components/toggle-group/index.js.map +1 -0
  391. package/dist/components/tooltip/index.d.ts +12 -0
  392. package/dist/components/tooltip/index.js +3 -0
  393. package/dist/components/tooltip/index.js.map +1 -0
  394. package/dist/components/typography/index.d.ts +8 -0
  395. package/dist/components/typography/index.js +4 -0
  396. package/dist/components/typography/index.js.map +1 -0
  397. package/dist/components/video/index.d.ts +8 -0
  398. package/dist/components/video/index.js +4 -0
  399. package/dist/components/video/index.js.map +1 -0
  400. package/dist/index.d.ts +82 -0
  401. package/dist/index.js +83 -0
  402. package/dist/index.js.map +1 -0
  403. package/dist/lib/interactive/index.d.ts +34 -0
  404. package/dist/lib/interactive/index.js +3 -0
  405. package/dist/lib/interactive/index.js.map +1 -0
  406. package/dist/lib/signals/index.d.ts +15 -0
  407. package/dist/lib/signals/index.js +3 -0
  408. package/dist/lib/signals/index.js.map +1 -0
  409. package/dist/lib/utils.d.ts +5 -0
  410. package/dist/lib/utils.js +3 -0
  411. package/dist/lib/utils.js.map +1 -0
  412. package/dist/navigationMenuTriggerStyle-MrMOOgmr.d.ts +48 -0
  413. package/dist/sonner-store-Dfdxy8ba.d.ts +11 -0
  414. package/dist/theme.css +81 -0
  415. package/package.json +360 -0
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 kamod.ch
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,39 @@
1
+ import { JSX, ComponentChildren } from 'preact';
2
+
3
+ type AccordionContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
4
+ forceMount?: boolean;
5
+ /** Grid transition duration, e.g. `400ms` */
6
+ duration?: string;
7
+ /** CSS timing function, e.g. `cubic-bezier(0.4, 0, 0.2, 1)` */
8
+ timingFunction?: string;
9
+ /** Use max-height animation for very tall content to reduce micro-jank. */
10
+ largeContentThreshold?: number;
11
+ children?: ComponentChildren;
12
+ };
13
+ declare const AccordionContent: ({ forceMount, duration, timingFunction, largeContentThreshold, children, class: className, style, ...rest }: AccordionContentProps) => JSX.Element | null;
14
+
15
+ type AccordionTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
16
+ hideIndicator?: boolean;
17
+ indicator?: ComponentChildren;
18
+ children?: ComponentChildren;
19
+ };
20
+ declare const AccordionTrigger: ({ hideIndicator, indicator, children, class: className, onClick, ...rest }: AccordionTriggerProps) => JSX.Element;
21
+
22
+ type AccordionItemProps = JSX.HTMLAttributes<HTMLDivElement> & {
23
+ value: string;
24
+ disabled?: boolean;
25
+ children?: ComponentChildren;
26
+ };
27
+ declare const AccordionItem: ({ value, disabled, children, ...rest }: AccordionItemProps) => JSX.Element;
28
+
29
+ type AccordionType = "single" | "multiple";
30
+ type AccordionProps = JSX.HTMLAttributes<HTMLDivElement> & {
31
+ type?: AccordionType;
32
+ /** When `type="single"`, `false` keeps one panel always open (clicking the open trigger does not close it). Default `true` matches common shadcn examples. */
33
+ collapsible?: boolean;
34
+ defaultValue?: string | string[];
35
+ children?: ComponentChildren;
36
+ };
37
+ declare const Accordion: ({ type, collapsible, defaultValue, children, ...rest }: AccordionProps) => JSX.Element;
38
+
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 };
@@ -0,0 +1,64 @@
1
+ import * as preact from 'preact';
2
+ import { ComponentChildren, JSX } from 'preact';
3
+ import { VariantProps } from 'tailwind-variants';
4
+ import { b as button } from './Button-tRKMr8-H.js';
5
+ import { e as DialogCloseProps, d as DialogTriggerProps, c as DialogProps } from './Dialog-CqCI4s9U.js';
6
+ import { b as DialogContentProps } from './DialogContent-9VJGDt5l.js';
7
+
8
+ type AlertDialogActionProps = DialogCloseProps & {
9
+ variant?: VariantProps<typeof button>["variant"];
10
+ children?: ComponentChildren;
11
+ };
12
+ declare const AlertDialogAction: ({ variant, class: className, children, ...rest }: AlertDialogActionProps) => preact.JSX.Element;
13
+
14
+ type AlertDialogCancelProps = DialogCloseProps & {
15
+ variant?: VariantProps<typeof button>["variant"];
16
+ children?: ComponentChildren;
17
+ };
18
+ declare const AlertDialogCancel: ({ variant, class: className, children, ...rest }: AlertDialogCancelProps) => preact.JSX.Element;
19
+
20
+ type AlertDialogMediaProps = JSX.HTMLAttributes<HTMLDivElement> & {
21
+ children?: ComponentChildren;
22
+ };
23
+ /** Optional icon or image slot above the title (shadcn AlertDialogMedia pattern). */
24
+ declare const AlertDialogMedia: ({ class: className, children, ...rest }: AlertDialogMediaProps) => JSX.Element;
25
+
26
+ type AlertDialogDescriptionProps = JSX.HTMLAttributes<HTMLParagraphElement> & {
27
+ children?: ComponentChildren;
28
+ };
29
+ declare const AlertDialogDescription: ({ class: className, children, ...rest }: AlertDialogDescriptionProps) => JSX.Element;
30
+
31
+ type AlertDialogTitleProps = JSX.HTMLAttributes<HTMLHeadingElement> & {
32
+ children?: ComponentChildren;
33
+ };
34
+ declare const AlertDialogTitle: ({ class: className, children, ...rest }: AlertDialogTitleProps) => JSX.Element;
35
+
36
+ type AlertDialogFooterProps = JSX.HTMLAttributes<HTMLDivElement> & {
37
+ children?: ComponentChildren;
38
+ };
39
+ declare const AlertDialogFooter: ({ class: className, children, ...rest }: AlertDialogFooterProps) => JSX.Element;
40
+
41
+ type AlertDialogHeaderProps = JSX.HTMLAttributes<HTMLDivElement> & {
42
+ children?: ComponentChildren;
43
+ };
44
+ declare const AlertDialogHeader: ({ class: className, children, ...rest }: AlertDialogHeaderProps) => JSX.Element;
45
+
46
+ type AlertDialogContentSize = "default" | "sm";
47
+ type AlertDialogContentProps = DialogContentProps & {
48
+ /** `sm` — narrower panel (shadcn parity). */
49
+ size?: AlertDialogContentSize;
50
+ children?: ComponentChildren;
51
+ };
52
+ declare const AlertDialogContent: ({ size, class: className, children, ...rest }: AlertDialogContentProps) => preact.JSX.Element;
53
+
54
+ type AlertDialogTriggerProps = DialogTriggerProps & {
55
+ children?: ComponentChildren;
56
+ };
57
+ declare const AlertDialogTrigger: ({ asChild, class: className, children, ...rest }: AlertDialogTriggerProps) => preact.JSX.Element;
58
+
59
+ type AlertDialogProps = DialogProps & {
60
+ children?: ComponentChildren;
61
+ };
62
+ declare const AlertDialog: ({ children, ...rest }: AlertDialogProps) => preact.JSX.Element;
63
+
64
+ export { AlertDialog as A, AlertDialogAction as a, AlertDialogCancel as b, AlertDialogContent as c, AlertDialogDescription as d, AlertDialogFooter as e, AlertDialogHeader as f, AlertDialogMedia as g, AlertDialogTitle as h, AlertDialogTrigger as i, type AlertDialogProps as j, type AlertDialogTriggerProps as k, type AlertDialogContentProps as l, type AlertDialogHeaderProps as m, type AlertDialogFooterProps as n, type AlertDialogTitleProps as o, type AlertDialogDescriptionProps as p, type AlertDialogMediaProps as q, type AlertDialogCancelProps as r, type AlertDialogActionProps as s };
@@ -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: string;
9
+ secondary: string;
10
+ inverse: string;
11
+ outline: string;
12
+ ghost: string;
13
+ destructive: string;
14
+ link: string;
15
+ };
16
+ size: {
17
+ xxs: string;
18
+ xs: string;
19
+ sm: string;
20
+ default: string;
21
+ lg: string;
22
+ icon: string;
23
+ "icon-xs": string;
24
+ "icon-sm": string;
25
+ "icon-lg": string;
26
+ };
27
+ }, undefined, string[], {
28
+ variant: {
29
+ default: string;
30
+ secondary: string;
31
+ inverse: string;
32
+ outline: string;
33
+ ghost: string;
34
+ destructive: string;
35
+ link: string;
36
+ };
37
+ size: {
38
+ xxs: string;
39
+ xs: string;
40
+ sm: string;
41
+ default: string;
42
+ lg: string;
43
+ icon: string;
44
+ "icon-xs": string;
45
+ "icon-sm": string;
46
+ "icon-lg": string;
47
+ };
48
+ }, undefined, tailwind_variants.TVReturnType<{
49
+ variant: {
50
+ default: string;
51
+ secondary: string;
52
+ inverse: string;
53
+ outline: string;
54
+ ghost: string;
55
+ destructive: string;
56
+ link: string;
57
+ };
58
+ size: {
59
+ xxs: string;
60
+ xs: string;
61
+ sm: string;
62
+ default: string;
63
+ lg: string;
64
+ icon: string;
65
+ "icon-xs": string;
66
+ "icon-sm": string;
67
+ "icon-lg": string;
68
+ };
69
+ }, undefined, string[], unknown, unknown, 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) => preact.VNode<{}> | JSX.Element | null;
83
+
84
+ export { Button as B, button as b };
@@ -0,0 +1,79 @@
1
+ import { JSX, ComponentChildren } from 'preact';
2
+
3
+ type DateRange = {
4
+ from?: Date;
5
+ to?: Date;
6
+ };
7
+ type CalendarMode = "single" | "range";
8
+ /** `sm`: denser padding, smaller day cells, lighter caption controls (dropdown + nav). */
9
+ type CalendarSize = "default" | "sm";
10
+ type CalendarDisabledProp = ((date: Date) => boolean) | Date[];
11
+ type CalendarProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "onSelect"> & {
12
+ mode?: CalendarMode;
13
+ selected?: Date | DateRange;
14
+ onSelect?: (value: Date | DateRange | undefined) => void;
15
+ /** @deprecated Use `selected` in single mode. */
16
+ value?: Date;
17
+ /** @deprecated Use `onSelect` in single mode. */
18
+ onValueChange?: (next: Date) => void;
19
+ defaultMonth?: Date;
20
+ month?: Date;
21
+ onMonthChange?: (next: Date) => void;
22
+ numberOfMonths?: 1 | 2;
23
+ captionLayout?: "buttons" | "dropdown";
24
+ dir?: "ltr" | "rtl";
25
+ /** Show days from adjacent months. @default true */
26
+ showOutsideDays?: boolean;
27
+ /** Pad to six week rows. @default false */
28
+ fixedWeeks?: boolean;
29
+ disabled?: CalendarDisabledProp;
30
+ /** Extra week-index column (ISO week of row start). @default false */
31
+ showWeekNumber?: boolean;
32
+ /** Named date sets for styling via `modifiersClassNames`. */
33
+ modifiers?: Record<string, Date[]>;
34
+ /** Tailwind / arbitrary classes keyed like `modifiers` (e.g. booked). */
35
+ modifiersClassNames?: Record<string, string>;
36
+ /** BCP 47 locale for captions and weekday labels. */
37
+ locale?: string;
38
+ /** Passed to `Intl` where supported; selection still uses local `Date` (use noon-normalized dates to avoid TZ drift). */
39
+ timeZone?: string;
40
+ /** Extra label under the day number (e.g. prices). Omit or return `undefined` for outside days if desired. */
41
+ dayAddon?: (date: Date, outside: boolean) => ComponentChildren | undefined;
42
+ /** Extra classes for the visible month/year caption text (single-month buttons layout and dual-month titles). */
43
+ captionTitleClass?: string;
44
+ /** If set (length 7, Sunday-first), overrides locale-derived weekday headers. */
45
+ weekdayLabels?: string[];
46
+ /** Decorative left border on the first weekday column (e.g. Su). @default false */
47
+ showWeekdayLeadBorder?: boolean;
48
+ /** Visual density; `sm` fits popovers and tight layouts. @default "default" */
49
+ size?: CalendarSize;
50
+ };
51
+ declare const Calendar: ({ class: className, mode, selected, onSelect, value, onValueChange, defaultMonth, month: monthProp, onMonthChange, numberOfMonths, captionLayout, dir, showOutsideDays, fixedWeeks, disabled, showWeekNumber, modifiers, modifiersClassNames, locale, timeZone, dayAddon, captionTitleClass, weekdayLabels, showWeekdayLeadBorder, size, ...rest }: CalendarProps) => JSX.Element;
52
+
53
+ type CalendarDateTimePanelProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "onSelect"> & Pick<CalendarProps, "defaultMonth" | "month" | "onMonthChange" | "locale" | "disabled" | "dir" | "showOutsideDays" | "captionLayout" | "size"> & {
54
+ /** Selected calendar day (controlled). */
55
+ selected?: Date;
56
+ /** Initial day when uncontrolled. */
57
+ defaultSelected?: Date;
58
+ onSelect?: (date: Date) => void;
59
+ /** `HH:mm` or `HH:mm:ss` for native `input[type=time]`. */
60
+ startTime?: string;
61
+ defaultStartTime?: string;
62
+ onStartTimeChange?: (value: string) => void;
63
+ endTime?: string;
64
+ defaultEndTime?: string;
65
+ onEndTimeChange?: (value: string) => void;
66
+ startTimeLabel?: string;
67
+ endTimeLabel?: string;
68
+ /** Use two-letter weekday headers (Su–Sa). @default true */
69
+ compactWeekdays?: boolean;
70
+ /** Decorative line left of the first weekday; off by default. */
71
+ showWeekdayLeadBorder?: boolean;
72
+ };
73
+ /**
74
+ * Single-month calendar with start/end time fields, styled for a compact “schedule” card (date + time range).
75
+ * Defaults to `size="sm"` on the inner {@link Calendar} for a dense layout; pass `size="default"` for roomier cells.
76
+ */
77
+ declare const CalendarDateTimePanel: ({ class: className, selected, defaultSelected, onSelect, defaultMonth, month, onMonthChange, locale, disabled, dir, showOutsideDays, captionLayout, size, startTime: startTimeProp, defaultStartTime, onStartTimeChange, endTime: endTimeProp, defaultEndTime, onEndTimeChange, startTimeLabel, endTimeLabel, compactWeekdays, showWeekdayLeadBorder, ...rest }: CalendarDateTimePanelProps) => JSX.Element;
78
+
79
+ export { Calendar as C, type DateRange as D, CalendarDateTimePanel as a, type CalendarDateTimePanelProps as b, type CalendarDisabledProp as c, type CalendarMode as d, type CalendarSize as e, type CalendarProps as f };
@@ -0,0 +1,41 @@
1
+ import { JSX, ComponentChildren } from 'preact';
2
+ import { EmblaOptionsType, EmblaCarouselType, EmblaPluginType } from 'embla-carousel';
3
+
4
+ type CarouselNextProps = Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & {
5
+ children?: ComponentChildren;
6
+ };
7
+ declare const CarouselNext: ({ children, class: className, onClick, disabled, ...rest }: CarouselNextProps) => JSX.Element;
8
+
9
+ type CarouselPreviousProps = Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & {
10
+ children?: ComponentChildren;
11
+ };
12
+ declare const CarouselPrevious: ({ children, class: className, onClick, disabled, ...rest }: CarouselPreviousProps) => JSX.Element;
13
+
14
+ type CarouselItemProps = JSX.HTMLAttributes<HTMLDivElement> & {
15
+ children?: ComponentChildren;
16
+ };
17
+ declare const CarouselItem: ({ class: className, children, ...rest }: CarouselItemProps) => JSX.Element;
18
+
19
+ type CarouselContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
20
+ children?: ComponentChildren;
21
+ };
22
+ declare const CarouselContent: ({ class: className, children, ...rest }: CarouselContentProps) => JSX.Element;
23
+
24
+ type CarouselApi = EmblaCarouselType;
25
+ type CarouselOrientation = "horizontal" | "vertical";
26
+ type CarouselProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "dir"> & {
27
+ opts?: EmblaOptionsType;
28
+ orientation?: CarouselOrientation;
29
+ setApi?: (api: CarouselApi | null) => void;
30
+ plugins?: EmblaPluginType[];
31
+ /** When `plugins` is omitted, adds `embla-carousel-autoplay`. Ignored if `plugins` is set. */
32
+ autoplay?: boolean | {
33
+ delay?: number;
34
+ stopOnInteraction?: boolean;
35
+ };
36
+ dir?: "ltr" | "rtl";
37
+ children?: ComponentChildren;
38
+ };
39
+ declare const Carousel: ({ opts, orientation, setApi, plugins, autoplay, dir, class: className, children, ...rest }: CarouselProps) => JSX.Element;
40
+
41
+ export { Carousel as C, type CarouselApi as a, CarouselContent as b, CarouselItem as c, CarouselNext as d, type CarouselOrientation as e, CarouselPrevious as f, type CarouselProps as g, type CarouselContentProps as h, type CarouselItemProps as i, type CarouselPreviousProps as j, type CarouselNextProps as k };
@@ -0,0 +1,10 @@
1
+ import { JSX, ComponentChildren } from 'preact';
2
+
3
+ type ChartProps = JSX.HTMLAttributes<HTMLDivElement> & {
4
+ title?: string;
5
+ description?: string;
6
+ children?: ComponentChildren;
7
+ };
8
+ declare const Chart: ({ class: className, title, description, children, ...rest }: ChartProps) => JSX.Element;
9
+
10
+ export { Chart as C };
@@ -0,0 +1,12 @@
1
+ import { JSX } from 'preact';
2
+
3
+ type CheckboxCheckedState = boolean | "indeterminate";
4
+ type CheckboxProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "type" | "checked" | "defaultChecked" | "onChange"> & {
5
+ checked?: CheckboxCheckedState;
6
+ defaultChecked?: CheckboxCheckedState;
7
+ onCheckedChange?: (checked: CheckboxCheckedState) => void;
8
+ onChange?: (event: JSX.TargetedEvent<HTMLInputElement>) => void;
9
+ };
10
+ declare const Checkbox: ({ checked: checkedProp, defaultChecked, onCheckedChange, onChange, class: className, disabled, ref: outerRef, id, ...rest }: CheckboxProps) => JSX.Element;
11
+
12
+ export { Checkbox as C, type CheckboxCheckedState as a };
@@ -0,0 +1,34 @@
1
+ import * as preact from 'preact';
2
+ import { JSX, ComponentChildren } from 'preact';
3
+
4
+ type CollapsibleContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
5
+ forceMount?: boolean;
6
+ /** Grid transition duration, e.g. `400ms` */
7
+ duration?: string;
8
+ /** CSS timing function, e.g. `cubic-bezier(0.4, 0, 0.2, 1)` */
9
+ timingFunction?: string;
10
+ /** Use max-height animation for very tall content to reduce micro-jank. */
11
+ largeContentThreshold?: number;
12
+ children?: ComponentChildren;
13
+ };
14
+ declare const CollapsibleContent: ({ forceMount, duration, timingFunction, largeContentThreshold, children, class: className, style, ...rest }: CollapsibleContentProps) => JSX.Element | null;
15
+
16
+ type CollapsibleTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
17
+ asChild?: boolean;
18
+ children?: ComponentChildren;
19
+ "data-slot"?: string;
20
+ };
21
+ declare const CollapsibleTrigger: ({ asChild, children, onClick, ref: outerRef, "data-slot": dataSlot, ...rest }: CollapsibleTriggerProps) => preact.VNode<{}> | JSX.Element | null;
22
+
23
+ type CollapsibleProps = JSX.HTMLAttributes<HTMLDivElement> & {
24
+ /** Uncontrolled initial state */
25
+ defaultOpen?: boolean;
26
+ /** Controlled open state */
27
+ open?: boolean;
28
+ /** Called when open state changes (toggle or programmatic) */
29
+ onOpenChange?: (open: boolean) => void;
30
+ children?: ComponentChildren;
31
+ };
32
+ declare const Collapsible: ({ defaultOpen, open: openProp, onOpenChange, children, ...rest }: CollapsibleProps) => JSX.Element;
33
+
34
+ export { Collapsible as C, CollapsibleContent as a, CollapsibleTrigger as b, type CollapsibleProps as c, type CollapsibleTriggerProps as d, type CollapsibleContentProps as e };
@@ -0,0 +1,135 @@
1
+ import * as preact from 'preact';
2
+ import { JSX, ComponentChildren } from 'preact';
3
+ import { a as PopoverTriggerProps, P as PopoverContentProps } from './PopoverTrigger-B6kK73gh.js';
4
+ import { C as CommandProps, e as CommandInputProps, l as CommandListProps, m as CommandItemProps } from './CommandSeparator-pJQnB9Lu.js';
5
+ import { Signal } from '@preact/signals';
6
+
7
+ type ComboboxCommandNav = {
8
+ moveHighlight: (delta: number) => void;
9
+ activateHighlighted: () => void;
10
+ };
11
+ type ComboboxContextValue = {
12
+ items: readonly unknown[];
13
+ leafItems: unknown[];
14
+ itemToString: (item: unknown) => string;
15
+ itemKey: (item: unknown) => string;
16
+ selectedKeys: string[];
17
+ /** First selected key; empty string if none (single-select ergonomics). */
18
+ selectedKey: string;
19
+ multiple: boolean;
20
+ isSelected: (key: string) => boolean;
21
+ selectByItem: (item: unknown) => void;
22
+ toggleByItem: (item: unknown) => void;
23
+ removeKey: (key: string) => void;
24
+ clearSelection: () => void;
25
+ placeholder: string;
26
+ disabled: boolean;
27
+ liftedFilter: boolean;
28
+ filterQuery: Signal<string> | null;
29
+ hasVisibleItems: Signal<boolean> | null;
30
+ autoHighlight: boolean;
31
+ showClear: boolean;
32
+ closeOnSelect: boolean;
33
+ comboboxListRef: {
34
+ current: HTMLDivElement | null;
35
+ };
36
+ commandNavRef: {
37
+ current: ComboboxCommandNav | null;
38
+ };
39
+ };
40
+ declare const useCombobox: () => ComboboxContextValue;
41
+ declare function comboboxSelectionLabel(ctx: ComboboxContextValue): string;
42
+ type ComboboxProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "children"> & {
43
+ items?: readonly unknown[];
44
+ itemToStringValue?: (item: unknown) => string;
45
+ itemKey?: (item: unknown) => string;
46
+ value?: string | string[];
47
+ defaultValue?: string | string[];
48
+ /** Emits `string` when `multiple` is false, else `string[]`. */
49
+ onValueChange?: (value: string | string[]) => void;
50
+ placeholder?: string;
51
+ disabled?: boolean;
52
+ open?: boolean;
53
+ defaultOpen?: boolean;
54
+ onOpenChange?: (open: boolean) => void;
55
+ multiple?: boolean;
56
+ /** Share filter text between trigger input and `Command` (Base UI–style single input + list in popover). */
57
+ liftedFilter?: boolean;
58
+ /** Highlight first match and enable ArrowUp/Down + Enter in filter inputs (requires `ComboboxCommand autoHighlight` or preset). */
59
+ autoHighlight?: boolean;
60
+ showClear?: boolean;
61
+ /** When `multiple`, defaults to `false`; when single, defaults to `true`. */
62
+ closeOnSelect?: boolean;
63
+ children?: ComponentChildren;
64
+ };
65
+ declare const Combobox: ({ items, itemToStringValue, itemKey: itemKeyProp, value: valueProp, defaultValue, onValueChange, placeholder, disabled, open: openProp, defaultOpen, onOpenChange, multiple: multipleProp, liftedFilter, autoHighlight, showClear, closeOnSelect: closeOnSelectProp, class: className, children, ...rest }: ComboboxProps) => JSX.Element;
66
+
67
+ declare const ComboboxTrigger: ({ class: className, disabled, ...rest }: PopoverTriggerProps) => preact.JSX.Element;
68
+
69
+ type ComboboxValueProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "children"> & {
70
+ placeholder?: string;
71
+ children?: ((state: {
72
+ label: string;
73
+ empty: boolean;
74
+ keys: string[];
75
+ }) => ComponentChildren) | ComponentChildren;
76
+ };
77
+ declare const ComboboxValue: ({ placeholder: placeholderProp, children, class: className, ...rest }: ComboboxValueProps) => JSX.Element;
78
+
79
+ declare const ComboboxContent: ({ forceMount: forceMountProp, class: className, ...rest }: PopoverContentProps) => preact.JSX.Element;
80
+
81
+ declare const ComboboxCommand: ({ autoHighlight: autoHighlightProp, class: className, children, ...rest }: CommandProps) => preact.JSX.Element;
82
+
83
+ declare const ComboboxInput: ({ class: className, ...rest }: CommandInputProps) => preact.JSX.Element;
84
+
85
+ type ComboboxListProps = Omit<CommandListProps, "children"> & {
86
+ items?: readonly unknown[];
87
+ children: ComponentChildren | ((item: unknown, index: number) => ComponentChildren);
88
+ };
89
+ declare const ComboboxList: ({ items: itemsProp, children, onMount, ...rest }: ComboboxListProps) => preact.JSX.Element;
90
+
91
+ type ComboboxItemProps = Omit<CommandItemProps, "value" | "onSelect"> & {
92
+ item: unknown;
93
+ };
94
+ declare const ComboboxItem: ({ item, class: className, children, disabled, onClick, ...rest }: ComboboxItemProps) => preact.JSX.Element;
95
+
96
+ type ComboboxOption = {
97
+ label: string;
98
+ value: string;
99
+ };
100
+ type ComboboxSelectProps = Omit<ComboboxProps, "items" | "children" | "itemKey" | "itemToStringValue"> & {
101
+ options: ComboboxOption[];
102
+ searchPlaceholder?: string;
103
+ emptyText?: string;
104
+ triggerClass?: string;
105
+ };
106
+ /** Preset around `{ label, value }[]`: button trigger, inline input trigger, multi chips, clear, and auto-highlight. */
107
+ declare const ComboboxSelect: ({ options, searchPlaceholder, emptyText, triggerClass, showClear, autoHighlight, liftedFilter, multiple, class: className, placeholder, ...rest }: ComboboxSelectProps) => preact.JSX.Element;
108
+
109
+ type ComboboxClearProps = JSX.ButtonHTMLAttributes<HTMLButtonElement>;
110
+ declare const ComboboxClear: ({ class: className, onClick, ...rest }: ComboboxClearProps) => JSX.Element | null;
111
+
112
+ type ComboboxChipsProps = JSX.HTMLAttributes<HTMLDivElement> & {
113
+ children?: ComponentChildren;
114
+ };
115
+ /** Multi-select trigger row: wrap chips + `ComboboxChipsInput` (with `liftedFilter`). */
116
+ declare const ComboboxChips: ({ class: className, children, ...rest }: ComboboxChipsProps) => JSX.Element;
117
+
118
+ type ComboboxChipProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "children"> & {
119
+ itemKey: string;
120
+ children?: ComponentChildren;
121
+ };
122
+ declare const ComboboxChip: ({ itemKey: chipKey, children, class: className, ...rest }: ComboboxChipProps) => JSX.Element;
123
+
124
+ type ComboboxChipsInputProps = JSX.InputHTMLAttributes<HTMLInputElement>;
125
+ /** Filter field at the end of the chip row; requires `Combobox liftedFilter`. */
126
+ declare const ComboboxChipsInput: ({ class: className, onKeyDown, onInput, onFocus, ...rest }: ComboboxChipsInputProps) => JSX.Element;
127
+
128
+ type ComboboxInlineInputProps = JSX.InputHTMLAttributes<HTMLInputElement>;
129
+ /**
130
+ * Base UI–style trigger: the visible field is the filter input; the list opens in `ComboboxContent`.
131
+ * Requires `Combobox liftedFilter` (and usually `ComboboxTrigger asChild` wrapping a positioned container).
132
+ */
133
+ declare const ComboboxInlineInput: ({ class: className, onKeyDown, onInput, onFocus, ...rest }: ComboboxInlineInputProps) => JSX.Element;
134
+
135
+ export { type ComboboxContextValue as A, comboboxSelectionLabel as B, Combobox as C, ComboboxChip as a, type ComboboxChipProps as b, ComboboxChips as c, ComboboxChipsInput as d, type ComboboxChipsInputProps as e, type ComboboxChipsProps as f, ComboboxClear as g, type ComboboxClearProps as h, ComboboxCommand as i, type ComboboxCommandNav as j, ComboboxContent as k, ComboboxInlineInput as l, type ComboboxInlineInputProps as m, ComboboxInput as n, ComboboxItem as o, type ComboboxItemProps as p, ComboboxList as q, type ComboboxListProps as r, type ComboboxOption as s, type ComboboxProps as t, ComboboxSelect as u, type ComboboxSelectProps as v, ComboboxTrigger as w, ComboboxValue as x, type ComboboxValueProps as y, useCombobox as z };
@@ -0,0 +1,47 @@
1
+ import { Signal } from '@preact/signals';
2
+ import { JSX, ComponentChildren } from 'preact';
3
+
4
+ type CommandProps = JSX.HTMLAttributes<HTMLDivElement> & {
5
+ children?: ComponentChildren;
6
+ /** First visible item gets `data-highlighted`; enables ArrowUp/Down + Enter in `CommandInput`. */
7
+ autoHighlight?: boolean;
8
+ /** External filter signal (e.g. combobox inline input shares query with the list). */
9
+ query?: Signal<string>;
10
+ /** External visibility signal; updated by `CommandList` when provided. */
11
+ hasVisibleItems?: Signal<boolean>;
12
+ };
13
+ declare const Command: ({ class: className, children, autoHighlight, query: queryProp, hasVisibleItems: hasVisibleProp, ...rest }: CommandProps) => JSX.Element;
14
+
15
+ type CommandEmptyProps = JSX.HTMLAttributes<HTMLDivElement> & {
16
+ children?: ComponentChildren;
17
+ };
18
+ declare const CommandEmpty: ({ children, class: className, ...rest }: CommandEmptyProps) => JSX.Element | null;
19
+
20
+ type CommandGroupProps = JSX.HTMLAttributes<HTMLDivElement> & {
21
+ heading?: string;
22
+ children?: ComponentChildren;
23
+ };
24
+ declare const CommandGroup: ({ heading, class: className, children, ...rest }: CommandGroupProps) => JSX.Element;
25
+
26
+ type CommandInputProps = JSX.InputHTMLAttributes<HTMLInputElement>;
27
+ declare const CommandInput: ({ class: className, onInput, onKeyDown, ...rest }: CommandInputProps) => JSX.Element;
28
+
29
+ type CommandItemProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
30
+ /** Used for case-insensitive filtering against the query. */
31
+ value: string;
32
+ children?: ComponentChildren;
33
+ onSelect?: (value: string) => void;
34
+ };
35
+ declare const CommandItem: ({ class: className, value, children, disabled, onClick, onSelect, ...rest }: CommandItemProps) => JSX.Element;
36
+
37
+ type CommandListProps = JSX.HTMLAttributes<HTMLDivElement> & {
38
+ children?: ComponentChildren;
39
+ /** Notified when the list root mounts (e.g. combobox inline input forwards keyboard to the list). */
40
+ onMount?: (el: HTMLDivElement | null) => void;
41
+ };
42
+ declare const CommandList: ({ class: className, children, onMount, ...rest }: CommandListProps) => JSX.Element;
43
+
44
+ type CommandSeparatorProps = JSX.HTMLAttributes<HTMLHRElement>;
45
+ declare const CommandSeparator: ({ class: className, ...rest }: CommandSeparatorProps) => JSX.Element;
46
+
47
+ export { type CommandProps as C, CommandEmpty as a, type CommandEmptyProps as b, CommandGroup as c, type CommandGroupProps as d, type CommandInputProps as e, CommandSeparator as f, type CommandSeparatorProps as g, Command as h, CommandInput as i, CommandItem as j, CommandList as k, type CommandListProps as l, type CommandItemProps as m };
@@ -0,0 +1,13 @@
1
+ import { JSX, ComponentChildren } from 'preact';
2
+
3
+ type DataTableProps = JSX.HTMLAttributes<HTMLDivElement> & {
4
+ children?: ComponentChildren;
5
+ /**
6
+ * When true (default), wraps the table in `overflow-hidden rounded-md border` like shadcn data tables.
7
+ * Set false if you already provide an outer chrome or use a bare `<Table>`.
8
+ */
9
+ chrome?: boolean;
10
+ };
11
+ declare const DataTable: ({ chrome, class: className, children, ...rest }: DataTableProps) => JSX.Element;
12
+
13
+ export { DataTable as D };
@@ -0,0 +1,20 @@
1
+ import { JSX, ComponentChildren } from 'preact';
2
+
3
+ /** Long date label (~`date-fns` `PPP`) without extra dependencies. */
4
+ declare const formatDatePickerDisplay: (date: Date, locale?: string) => string;
5
+ type DatePickerProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "onChange"> & {
6
+ value?: Date;
7
+ defaultValue?: Date;
8
+ onValueChange?: (next: Date | undefined) => void;
9
+ placeholder?: string;
10
+ /** Close popover after a day is picked (single mode). @default true */
11
+ closeOnSelect?: boolean;
12
+ align?: "start" | "center" | "end";
13
+ /** Trigger affordance aligned with shadcn demos. @default "chevron" */
14
+ triggerIcon?: "chevron" | "calendar" | "none";
15
+ format?: (date: Date) => string;
16
+ children?: ComponentChildren;
17
+ };
18
+ declare const DatePicker: ({ class: className, value, defaultValue, onValueChange, placeholder, closeOnSelect, align, triggerIcon, format, children, ...rest }: DatePickerProps) => JSX.Element;
19
+
20
+ export { DatePicker as D, formatDatePickerDisplay as f };
@@ -0,0 +1,28 @@
1
+ import * as preact from 'preact';
2
+ import { JSX, ComponentChildren } from 'preact';
3
+
4
+ type DialogCloseProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
5
+ asChild?: boolean;
6
+ children?: ComponentChildren;
7
+ "data-slot"?: string;
8
+ };
9
+ declare const DialogClose: ({ asChild, children, onClick, ref: outerRef, "data-slot": dataSlot, ...rest }: DialogCloseProps) => preact.VNode<{}> | JSX.Element | null;
10
+
11
+ type DialogTriggerProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
12
+ asChild?: boolean;
13
+ children?: ComponentChildren;
14
+ "data-slot"?: string;
15
+ };
16
+ declare const DialogTrigger: ({ asChild, children, onClick, onPointerDown, ref: outerRef, "data-slot": dataSlot, ...rest }: DialogTriggerProps) => preact.VNode<{}> | JSX.Element | null;
17
+
18
+ type DialogProps = JSX.HTMLAttributes<HTMLDivElement> & {
19
+ defaultOpen?: boolean;
20
+ open?: boolean;
21
+ onOpenChange?: (open: boolean) => void;
22
+ /** When true, locks document scroll while open (shadcn default). */
23
+ lockBodyScroll?: boolean;
24
+ children?: ComponentChildren;
25
+ };
26
+ declare const Dialog: ({ defaultOpen, open: openProp, onOpenChange, lockBodyScroll, children, ...rest }: DialogProps) => JSX.Element;
27
+
28
+ export { Dialog as D, DialogClose as a, DialogTrigger as b, type DialogProps as c, type DialogTriggerProps as d, type DialogCloseProps as e };
@@ -0,0 +1,24 @@
1
+ import * as preact from 'preact';
2
+ import { JSX, ComponentChildren } from 'preact';
3
+
4
+ type DialogContentPresentation = "modal" | "slot";
5
+ type DialogContentProps = JSX.HTMLAttributes<HTMLDivElement> & {
6
+ forceMount?: boolean;
7
+ /**
8
+ * `modal` — built-in overlay + centered panel + optional corner close.
9
+ * `slot` — one portaled element only; use when **you** provide overlay + panel (legacy fullscreen `DialogContent` pattern with `fixed inset-0 …`).
10
+ */
11
+ presentation?: DialogContentPresentation;
12
+ showCloseButton?: boolean;
13
+ children?: ComponentChildren;
14
+ "data-slot"?: string;
15
+ };
16
+ /**
17
+ * Renders dialog body in a portal.
18
+ *
19
+ * - **modal (default):** Backdrop + centered panel; use `class` only for sizing (e.g. `sm:max-w-sm`).
20
+ * - **slot:** Single root node — **required** for legacy/custom layouts that already implement `fixed inset-0` overlay + inner card (otherwise you stack two modals).
21
+ */
22
+ declare const DialogContent: ({ forceMount, presentation, showCloseButton, class: className, children, onKeyDown, "data-slot": dataSlot, ...rest }: DialogContentProps) => preact.VNode<any> | null;
23
+
24
+ export { DialogContent as D, type DialogContentPresentation as a, type DialogContentProps as b };