@gears-frontx/ui-kit 0.3.0-alpha.3 → 0.4.0-alpha.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 (493) hide show
  1. package/README.md +28 -6
  2. package/dist/accordion.d.ts +1 -0
  3. package/dist/accordion.js +35 -0
  4. package/dist/accordion.js.map +1 -0
  5. package/dist/alert-dialog.d.ts +1 -0
  6. package/dist/alert-dialog.js +97 -0
  7. package/dist/alert-dialog.js.map +1 -0
  8. package/dist/alert.d.ts +1 -0
  9. package/dist/alert.js +39 -0
  10. package/dist/alert.js.map +1 -0
  11. package/dist/aspect-ratio.d.ts +1 -0
  12. package/dist/aspect-ratio.js +19 -0
  13. package/dist/aspect-ratio.js.map +1 -0
  14. package/dist/attachment.d.ts +1 -0
  15. package/dist/attachment.js +133 -0
  16. package/dist/attachment.js.map +1 -0
  17. package/dist/avatar.d.ts +1 -0
  18. package/dist/avatar.js +87 -0
  19. package/dist/avatar.js.map +1 -0
  20. package/dist/badge.js +32 -46
  21. package/dist/badge.js.map +1 -1
  22. package/dist/breadcrumb.d.ts +1 -0
  23. package/dist/breadcrumb.js +81 -0
  24. package/dist/breadcrumb.js.map +1 -0
  25. package/dist/bubble.d.ts +1 -0
  26. package/dist/bubble.js +94 -0
  27. package/dist/bubble.js.map +1 -0
  28. package/dist/button-group.d.ts +1 -0
  29. package/dist/button-group.js +61 -0
  30. package/dist/button-group.js.map +1 -0
  31. package/dist/button.js +30 -29
  32. package/dist/button.js.map +1 -1
  33. package/dist/calendar.d.ts +1 -0
  34. package/dist/calendar.js +134 -0
  35. package/dist/calendar.js.map +1 -0
  36. package/dist/card.js +24 -24
  37. package/dist/carousel.d.ts +1 -0
  38. package/dist/carousel.js +163 -0
  39. package/dist/carousel.js.map +1 -0
  40. package/dist/chart.d.ts +1 -0
  41. package/dist/chart.js +202 -0
  42. package/dist/chart.js.map +1 -0
  43. package/dist/checkbox.js +14 -39
  44. package/dist/checkbox.js.map +1 -1
  45. package/dist/chunks/accordion.X_AK08Iv.css +1 -0
  46. package/dist/chunks/alert-dialog.B50f-Gsz.css +1 -0
  47. package/dist/chunks/alert.BJLRcB65.css +1 -0
  48. package/dist/chunks/aspect-ratio.DJbPE7BX.css +1 -0
  49. package/dist/chunks/attachment.rknKEWlr.css +1 -0
  50. package/dist/chunks/avatar.CsQmQnay.css +1 -0
  51. package/dist/chunks/badge.DR0epAiZ.css +1 -0
  52. package/dist/chunks/breadcrumb.QKz32ceR.css +1 -0
  53. package/dist/chunks/bubble.BKcAopT7.css +1 -0
  54. package/dist/chunks/button-group.D0Ir-jbL.css +1 -0
  55. package/dist/chunks/button.D69BdJF1.css +1 -0
  56. package/dist/chunks/calendar.Cnbv4EzY.css +1 -0
  57. package/dist/chunks/card.D3Ct_dza.css +1 -0
  58. package/dist/chunks/carousel.CjaKGN_D.css +1 -0
  59. package/dist/chunks/chart.CeyctrXQ.css +1 -0
  60. package/dist/chunks/checkbox.CZfE_PkU.css +1 -0
  61. package/dist/chunks/collapsible.BQ-sU5sQ.css +1 -0
  62. package/dist/chunks/combobox.CtYpZAKB.css +1 -0
  63. package/dist/chunks/command.Km60IuqD.css +1 -0
  64. package/dist/chunks/context-menu.Bjib7_AL.css +1 -0
  65. package/dist/chunks/data-table.DECm3qI-.css +1 -0
  66. package/dist/chunks/date-picker.BcRqyOg8.css +1 -0
  67. package/dist/chunks/dialog.BxcZ12Gb.css +1 -0
  68. package/dist/chunks/drawer.BkS_qEHj.css +1 -0
  69. package/dist/chunks/dropdown-menu.CDaeWYDT.css +1 -0
  70. package/dist/chunks/empty.B334jSES.css +1 -0
  71. package/dist/chunks/field.yTrg1G90.css +1 -0
  72. package/dist/chunks/hover-card.DmwvigMp.css +1 -0
  73. package/dist/chunks/input-group.CFIUP-Oh.css +1 -0
  74. package/dist/chunks/input-otp.XSpqyVij.css +1 -0
  75. package/dist/chunks/input.DvA_mTq8.css +1 -0
  76. package/dist/chunks/item.CLg1KaYF.css +1 -0
  77. package/dist/chunks/kbd.DZuUVB_m.css +1 -0
  78. package/dist/chunks/marker.DDxI_rZn.css +1 -0
  79. package/dist/chunks/menubar.CxRNI9o4.css +1 -0
  80. package/dist/chunks/message-scroller.CbLooS7Q.css +1 -0
  81. package/dist/chunks/message.BhD5JDJK.css +1 -0
  82. package/dist/chunks/native-select.BdYLTCZv.css +1 -0
  83. package/dist/chunks/navigation-menu.C2JGHAKD.css +1 -0
  84. package/dist/chunks/pagination.DUiQuWla.css +1 -0
  85. package/dist/chunks/popover.fOvPrnsr.css +1 -0
  86. package/dist/chunks/progress.Bp13t8iw.css +1 -0
  87. package/dist/chunks/questionnaire.DYnuWKAQ.css +1 -0
  88. package/dist/chunks/radio-group.CV3MBCsI.css +1 -0
  89. package/dist/chunks/resizable.B71V-1lR.css +1 -0
  90. package/dist/chunks/scroll-area.C4kWMAsU.css +1 -0
  91. package/dist/chunks/select.iEwV-sfJ.css +1 -0
  92. package/dist/chunks/sheet.DALPg9vf.css +1 -0
  93. package/dist/chunks/sidebar.CGTQhfWG.css +1 -0
  94. package/dist/chunks/slider.B5nouD7J.css +1 -0
  95. package/dist/chunks/spinner.UKK4f1tu.css +1 -0
  96. package/dist/chunks/switch.CIW9Jr1x.css +1 -0
  97. package/dist/chunks/table.CFAJfhd-.css +1 -0
  98. package/dist/chunks/tabs.C4jGj2Vg.css +1 -0
  99. package/dist/chunks/textarea.ORRSI69B.css +1 -0
  100. package/dist/chunks/toggle-group.Bd0cCCnV.css +1 -0
  101. package/dist/chunks/toggle.B9tvfl1n.css +1 -0
  102. package/dist/collapsible.d.ts +1 -0
  103. package/dist/collapsible.js +22 -0
  104. package/dist/collapsible.js.map +1 -0
  105. package/dist/combobox.d.ts +1 -0
  106. package/dist/combobox.js +159 -0
  107. package/dist/combobox.js.map +1 -0
  108. package/dist/command.d.ts +1 -0
  109. package/dist/command.js +75 -0
  110. package/dist/command.js.map +1 -0
  111. package/dist/components/accordion/accordion.d.ts +24 -0
  112. package/dist/components/accordion/accordion.d.ts.map +1 -0
  113. package/dist/components/accordion/public.d.ts +2 -0
  114. package/dist/components/accordion/public.d.ts.map +1 -0
  115. package/dist/components/alert/alert.d.ts +21 -0
  116. package/dist/components/alert/alert.d.ts.map +1 -0
  117. package/dist/components/alert/public.d.ts +2 -0
  118. package/dist/components/alert/public.d.ts.map +1 -0
  119. package/dist/components/alert-dialog/alert-dialog.d.ts +95 -0
  120. package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -0
  121. package/dist/components/alert-dialog/public.d.ts +2 -0
  122. package/dist/components/alert-dialog/public.d.ts.map +1 -0
  123. package/dist/components/aspect-ratio/aspect-ratio.d.ts +8 -0
  124. package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
  125. package/dist/components/aspect-ratio/public.d.ts +2 -0
  126. package/dist/components/aspect-ratio/public.d.ts.map +1 -0
  127. package/dist/components/attachment/attachment.d.ts +71 -0
  128. package/dist/components/attachment/attachment.d.ts.map +1 -0
  129. package/dist/components/attachment/public.d.ts +2 -0
  130. package/dist/components/attachment/public.d.ts.map +1 -0
  131. package/dist/components/avatar/avatar.d.ts +40 -0
  132. package/dist/components/avatar/avatar.d.ts.map +1 -0
  133. package/dist/components/avatar/public.d.ts +2 -0
  134. package/dist/components/avatar/public.d.ts.map +1 -0
  135. package/dist/components/badge/badge.d.ts +3 -16
  136. package/dist/components/badge/badge.d.ts.map +1 -1
  137. package/dist/components/badge/public.d.ts +1 -1
  138. package/dist/components/badge/public.d.ts.map +1 -1
  139. package/dist/components/breadcrumb/breadcrumb.d.ts +19 -0
  140. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  141. package/dist/components/breadcrumb/public.d.ts +2 -0
  142. package/dist/components/breadcrumb/public.d.ts.map +1 -0
  143. package/dist/components/bubble/bubble.d.ts +35 -0
  144. package/dist/components/bubble/bubble.d.ts.map +1 -0
  145. package/dist/components/bubble/public.d.ts +2 -0
  146. package/dist/components/bubble/public.d.ts.map +1 -0
  147. package/dist/components/button/button.d.ts +1 -2
  148. package/dist/components/button/button.d.ts.map +1 -1
  149. package/dist/components/button/public.d.ts +1 -1
  150. package/dist/components/button/public.d.ts.map +1 -1
  151. package/dist/components/button-group/button-group.d.ts +17 -0
  152. package/dist/components/button-group/button-group.d.ts.map +1 -0
  153. package/dist/components/button-group/public.d.ts +2 -0
  154. package/dist/components/button-group/public.d.ts.map +1 -0
  155. package/dist/components/calendar/calendar.d.ts +29 -0
  156. package/dist/components/calendar/calendar.d.ts.map +1 -0
  157. package/dist/components/calendar/public.d.ts +2 -0
  158. package/dist/components/calendar/public.d.ts.map +1 -0
  159. package/dist/components/carousel/carousel.d.ts +43 -0
  160. package/dist/components/carousel/carousel.d.ts.map +1 -0
  161. package/dist/components/carousel/public.d.ts +2 -0
  162. package/dist/components/carousel/public.d.ts.map +1 -0
  163. package/dist/components/chart/chart.d.ts +48 -0
  164. package/dist/components/chart/chart.d.ts.map +1 -0
  165. package/dist/components/chart/public.d.ts +2 -0
  166. package/dist/components/chart/public.d.ts.map +1 -0
  167. package/dist/components/checkbox/checkbox.d.ts.map +1 -1
  168. package/dist/components/collapsible/collapsible.d.ts +14 -0
  169. package/dist/components/collapsible/collapsible.d.ts.map +1 -0
  170. package/dist/components/collapsible/public.d.ts +2 -0
  171. package/dist/components/collapsible/public.d.ts.map +1 -0
  172. package/dist/components/combobox/combobox.d.ts +128 -0
  173. package/dist/components/combobox/combobox.d.ts.map +1 -0
  174. package/dist/components/combobox/public.d.ts +2 -0
  175. package/dist/components/combobox/public.d.ts.map +1 -0
  176. package/dist/components/command/command.d.ts +44 -0
  177. package/dist/components/command/command.d.ts.map +1 -0
  178. package/dist/components/command/public.d.ts +2 -0
  179. package/dist/components/command/public.d.ts.map +1 -0
  180. package/dist/components/context-menu/context-menu.d.ts +82 -0
  181. package/dist/components/context-menu/context-menu.d.ts.map +1 -0
  182. package/dist/components/context-menu/public.d.ts +2 -0
  183. package/dist/components/context-menu/public.d.ts.map +1 -0
  184. package/dist/components/data-table/data-table.d.ts +81 -0
  185. package/dist/components/data-table/data-table.d.ts.map +1 -0
  186. package/dist/components/data-table/public.d.ts +2 -0
  187. package/dist/components/data-table/public.d.ts.map +1 -0
  188. package/dist/components/date-picker/date-picker.d.ts +76 -0
  189. package/dist/components/date-picker/date-picker.d.ts.map +1 -0
  190. package/dist/components/date-picker/public.d.ts +2 -0
  191. package/dist/components/date-picker/public.d.ts.map +1 -0
  192. package/dist/components/dialog/dialog.d.ts +12 -3
  193. package/dist/components/dialog/dialog.d.ts.map +1 -1
  194. package/dist/components/direction/direction.d.ts +2 -0
  195. package/dist/components/direction/direction.d.ts.map +1 -0
  196. package/dist/components/direction/public.d.ts +2 -0
  197. package/dist/components/direction/public.d.ts.map +1 -0
  198. package/dist/components/drawer/drawer.d.ts +83 -0
  199. package/dist/components/drawer/drawer.d.ts.map +1 -0
  200. package/dist/components/drawer/public.d.ts +2 -0
  201. package/dist/components/drawer/public.d.ts.map +1 -0
  202. package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -4
  203. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  204. package/dist/components/empty/empty.d.ts +23 -0
  205. package/dist/components/empty/empty.d.ts.map +1 -0
  206. package/dist/components/empty/public.d.ts +2 -0
  207. package/dist/components/empty/public.d.ts.map +1 -0
  208. package/dist/components/field/field.d.ts +33 -12
  209. package/dist/components/field/field.d.ts.map +1 -1
  210. package/dist/components/field/public.d.ts +1 -1
  211. package/dist/components/field/public.d.ts.map +1 -1
  212. package/dist/components/hover-card/hover-card.d.ts +33 -0
  213. package/dist/components/hover-card/hover-card.d.ts.map +1 -0
  214. package/dist/components/hover-card/public.d.ts +2 -0
  215. package/dist/components/hover-card/public.d.ts.map +1 -0
  216. package/dist/components/input-group/input-group.d.ts +38 -0
  217. package/dist/components/input-group/input-group.d.ts.map +1 -0
  218. package/dist/components/input-group/public.d.ts +2 -0
  219. package/dist/components/input-group/public.d.ts.map +1 -0
  220. package/dist/components/input-otp/input-otp.d.ts +17 -0
  221. package/dist/components/input-otp/input-otp.d.ts.map +1 -0
  222. package/dist/components/input-otp/public.d.ts +2 -0
  223. package/dist/components/input-otp/public.d.ts.map +1 -0
  224. package/dist/components/item/item.d.ts +47 -0
  225. package/dist/components/item/item.d.ts.map +1 -0
  226. package/dist/components/item/public.d.ts +2 -0
  227. package/dist/components/item/public.d.ts.map +1 -0
  228. package/dist/components/kbd/kbd.d.ts +8 -0
  229. package/dist/components/kbd/kbd.d.ts.map +1 -0
  230. package/dist/components/kbd/public.d.ts +2 -0
  231. package/dist/components/kbd/public.d.ts.map +1 -0
  232. package/dist/components/marker/marker.d.ts +19 -0
  233. package/dist/components/marker/marker.d.ts.map +1 -0
  234. package/dist/components/marker/public.d.ts +2 -0
  235. package/dist/components/marker/public.d.ts.map +1 -0
  236. package/dist/components/menubar/menubar.d.ts +57 -0
  237. package/dist/components/menubar/menubar.d.ts.map +1 -0
  238. package/dist/components/menubar/public.d.ts +2 -0
  239. package/dist/components/menubar/public.d.ts.map +1 -0
  240. package/dist/components/message/message.d.ts +35 -0
  241. package/dist/components/message/message.d.ts.map +1 -0
  242. package/dist/components/message/public.d.ts +2 -0
  243. package/dist/components/message/public.d.ts.map +1 -0
  244. package/dist/components/message-scroller/message-scroller.d.ts +75 -0
  245. package/dist/components/message-scroller/message-scroller.d.ts.map +1 -0
  246. package/dist/components/message-scroller/public.d.ts +2 -0
  247. package/dist/components/message-scroller/public.d.ts.map +1 -0
  248. package/dist/components/native-select/native-select.d.ts +14 -0
  249. package/dist/components/native-select/native-select.d.ts.map +1 -0
  250. package/dist/components/native-select/public.d.ts +2 -0
  251. package/dist/components/native-select/public.d.ts.map +1 -0
  252. package/dist/components/navigation-menu/navigation-menu.d.ts +83 -0
  253. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
  254. package/dist/components/navigation-menu/public.d.ts +2 -0
  255. package/dist/components/navigation-menu/public.d.ts.map +1 -0
  256. package/dist/components/pagination/pagination.d.ts +37 -0
  257. package/dist/components/pagination/pagination.d.ts.map +1 -0
  258. package/dist/components/pagination/public.d.ts +2 -0
  259. package/dist/components/pagination/public.d.ts.map +1 -0
  260. package/dist/components/popover/popover.d.ts +32 -0
  261. package/dist/components/popover/popover.d.ts.map +1 -0
  262. package/dist/components/popover/public.d.ts +2 -0
  263. package/dist/components/popover/public.d.ts.map +1 -0
  264. package/dist/components/progress/progress.d.ts +22 -0
  265. package/dist/components/progress/progress.d.ts.map +1 -0
  266. package/dist/components/progress/public.d.ts +2 -0
  267. package/dist/components/progress/public.d.ts.map +1 -0
  268. package/dist/components/questionnaire/public.d.ts +2 -0
  269. package/dist/components/questionnaire/public.d.ts.map +1 -0
  270. package/dist/components/questionnaire/questionnaire.d.ts +192 -0
  271. package/dist/components/questionnaire/questionnaire.d.ts.map +1 -0
  272. package/dist/components/resizable/public.d.ts +2 -0
  273. package/dist/components/resizable/public.d.ts.map +1 -0
  274. package/dist/components/resizable/resizable.d.ts +12 -0
  275. package/dist/components/resizable/resizable.d.ts.map +1 -0
  276. package/dist/components/scroll-area/public.d.ts +2 -0
  277. package/dist/components/scroll-area/public.d.ts.map +1 -0
  278. package/dist/components/scroll-area/scroll-area.d.ts +10 -0
  279. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
  280. package/dist/components/select/select.d.ts +3 -5
  281. package/dist/components/select/select.d.ts.map +1 -1
  282. package/dist/components/sheet/public.d.ts +2 -0
  283. package/dist/components/sheet/public.d.ts.map +1 -0
  284. package/dist/components/sheet/sheet.d.ts +56 -0
  285. package/dist/components/sheet/sheet.d.ts.map +1 -0
  286. package/dist/components/sidebar/public.d.ts +2 -0
  287. package/dist/components/sidebar/public.d.ts.map +1 -0
  288. package/dist/components/sidebar/sidebar.d.ts +167 -0
  289. package/dist/components/sidebar/sidebar.d.ts.map +1 -0
  290. package/dist/components/sidebar/use-mobile.d.ts +18 -0
  291. package/dist/components/sidebar/use-mobile.d.ts.map +1 -0
  292. package/dist/components/slider/public.d.ts +2 -0
  293. package/dist/components/slider/public.d.ts.map +1 -0
  294. package/dist/components/slider/slider.d.ts +6 -0
  295. package/dist/components/slider/slider.d.ts.map +1 -0
  296. package/dist/components/spinner/public.d.ts +2 -0
  297. package/dist/components/spinner/public.d.ts.map +1 -0
  298. package/dist/components/spinner/spinner.d.ts +4 -0
  299. package/dist/components/spinner/spinner.d.ts.map +1 -0
  300. package/dist/components/textarea/textarea.d.ts +1 -1
  301. package/dist/components/textarea/textarea.d.ts.map +1 -1
  302. package/dist/components/toast/toast.d.ts.map +1 -1
  303. package/dist/components/toggle/public.d.ts +2 -0
  304. package/dist/components/toggle/public.d.ts.map +1 -0
  305. package/dist/components/toggle/toggle.d.ts +11 -0
  306. package/dist/components/toggle/toggle.d.ts.map +1 -0
  307. package/dist/components/toggle-group/public.d.ts +2 -0
  308. package/dist/components/toggle-group/public.d.ts.map +1 -0
  309. package/dist/components/toggle-group/toggle-group.d.ts +13 -0
  310. package/dist/components/toggle-group/toggle-group.d.ts.map +1 -0
  311. package/dist/components/tooltip/tooltip.d.ts +1 -4
  312. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  313. package/dist/context-menu.d.ts +1 -0
  314. package/dist/context-menu.js +201 -0
  315. package/dist/context-menu.js.map +1 -0
  316. package/dist/data-table.d.ts +1 -0
  317. package/dist/data-table.js +162 -0
  318. package/dist/data-table.js.map +1 -0
  319. package/dist/date-picker.d.ts +1 -0
  320. package/dist/date-picker.js +175 -0
  321. package/dist/date-picker.js.map +1 -0
  322. package/dist/dialog.js +40 -55
  323. package/dist/dialog.js.map +1 -1
  324. package/dist/direction.d.ts +1 -0
  325. package/dist/direction.js +6 -0
  326. package/dist/direction.js.map +1 -0
  327. package/dist/docs/accordion.md +86 -0
  328. package/dist/docs/alert-dialog.md +151 -0
  329. package/dist/docs/alert.md +74 -0
  330. package/dist/docs/aspect-ratio.md +65 -0
  331. package/dist/docs/attachment.md +254 -0
  332. package/dist/docs/avatar.md +185 -0
  333. package/dist/docs/badge.md +72 -60
  334. package/dist/docs/breadcrumb.md +86 -0
  335. package/dist/docs/bubble.md +233 -0
  336. package/dist/docs/button-group.md +107 -0
  337. package/dist/docs/calendar.md +114 -0
  338. package/dist/docs/card.md +15 -7
  339. package/dist/docs/carousel.md +152 -0
  340. package/dist/docs/chart.md +174 -0
  341. package/dist/docs/collapsible.md +80 -0
  342. package/dist/docs/combobox.md +192 -0
  343. package/dist/docs/command.md +171 -0
  344. package/dist/docs/context-menu.md +173 -0
  345. package/dist/docs/data-table.md +183 -0
  346. package/dist/docs/date-picker.md +137 -0
  347. package/dist/docs/dialog.md +33 -0
  348. package/dist/docs/direction.md +51 -0
  349. package/dist/docs/drawer.md +242 -0
  350. package/dist/docs/empty.md +80 -0
  351. package/dist/docs/field.md +105 -38
  352. package/dist/docs/hover-card.md +81 -0
  353. package/dist/docs/input-group.md +158 -0
  354. package/dist/docs/input-otp.md +116 -0
  355. package/dist/docs/input.md +31 -20
  356. package/dist/docs/item.md +106 -0
  357. package/dist/docs/kbd.md +53 -0
  358. package/dist/docs/marker.md +178 -0
  359. package/dist/docs/menubar.md +108 -0
  360. package/dist/docs/message-scroller.md +221 -0
  361. package/dist/docs/message.md +183 -0
  362. package/dist/docs/native-select.md +93 -0
  363. package/dist/docs/navigation-menu.md +176 -0
  364. package/dist/docs/pagination.md +96 -0
  365. package/dist/docs/popover.md +87 -0
  366. package/dist/docs/progress.md +58 -0
  367. package/dist/docs/questionnaire.md +311 -0
  368. package/dist/docs/resizable.md +95 -0
  369. package/dist/docs/scroll-area.md +93 -0
  370. package/dist/docs/sheet.md +168 -0
  371. package/dist/docs/sidebar.md +309 -0
  372. package/dist/docs/slider.md +66 -0
  373. package/dist/docs/spinner.md +55 -0
  374. package/dist/docs/table.md +85 -20
  375. package/dist/docs/textarea.md +19 -2
  376. package/dist/docs/toggle-group.md +77 -0
  377. package/dist/docs/toggle.md +58 -0
  378. package/dist/docs/typeset.md +75 -0
  379. package/dist/drawer.d.ts +1 -0
  380. package/dist/drawer.js +120 -0
  381. package/dist/drawer.js.map +1 -0
  382. package/dist/dropdown-menu.js +98 -130
  383. package/dist/dropdown-menu.js.map +1 -1
  384. package/dist/empty.d.ts +1 -0
  385. package/dist/empty.js +50 -0
  386. package/dist/empty.js.map +1 -0
  387. package/dist/field.js +105 -20
  388. package/dist/field.js.map +1 -1
  389. package/dist/hover-card.d.ts +1 -0
  390. package/dist/hover-card.js +44 -0
  391. package/dist/hover-card.js.map +1 -0
  392. package/dist/index.d.ts +44 -0
  393. package/dist/index.d.ts.map +1 -1
  394. package/dist/index.js +431 -93
  395. package/dist/index.js.map +1 -1
  396. package/dist/input-group.d.ts +1 -0
  397. package/dist/input-group.js +91 -0
  398. package/dist/input-group.js.map +1 -0
  399. package/dist/input-otp.d.ts +1 -0
  400. package/dist/input-otp.js +28 -0
  401. package/dist/input-otp.js.map +1 -0
  402. package/dist/input.js +17 -17
  403. package/dist/item.d.ts +1 -0
  404. package/dist/item.js +107 -0
  405. package/dist/item.js.map +1 -0
  406. package/dist/kbd.d.ts +1 -0
  407. package/dist/kbd.js +17 -0
  408. package/dist/kbd.js.map +1 -0
  409. package/dist/marker.d.ts +1 -0
  410. package/dist/marker.js +52 -0
  411. package/dist/marker.js.map +1 -0
  412. package/dist/menubar.d.ts +1 -0
  413. package/dist/menubar.js +50 -0
  414. package/dist/menubar.js.map +1 -0
  415. package/dist/message-scroller.d.ts +1 -0
  416. package/dist/message-scroller.js +69 -0
  417. package/dist/message-scroller.js.map +1 -0
  418. package/dist/message.d.ts +1 -0
  419. package/dist/message.js +37 -0
  420. package/dist/message.js.map +1 -0
  421. package/dist/native-select.d.ts +1 -0
  422. package/dist/native-select.js +42 -0
  423. package/dist/native-select.js.map +1 -0
  424. package/dist/navigation-menu.d.ts +1 -0
  425. package/dist/navigation-menu.js +97 -0
  426. package/dist/navigation-menu.js.map +1 -0
  427. package/dist/pagination.d.ts +1 -0
  428. package/dist/pagination.js +104 -0
  429. package/dist/pagination.js.map +1 -0
  430. package/dist/popover.d.ts +1 -0
  431. package/dist/popover.js +59 -0
  432. package/dist/popover.js.map +1 -0
  433. package/dist/progress.d.ts +1 -0
  434. package/dist/progress.js +36 -0
  435. package/dist/progress.js.map +1 -0
  436. package/dist/questionnaire.d.ts +1 -0
  437. package/dist/questionnaire.js +209 -0
  438. package/dist/questionnaire.js.map +1 -0
  439. package/dist/radio-group.js +7 -7
  440. package/dist/resizable.d.ts +1 -0
  441. package/dist/resizable.js +24 -0
  442. package/dist/resizable.js.map +1 -0
  443. package/dist/scroll-area.d.ts +1 -0
  444. package/dist/scroll-area.js +32 -0
  445. package/dist/scroll-area.js.map +1 -0
  446. package/dist/select.js +83 -107
  447. package/dist/select.js.map +1 -1
  448. package/dist/sheet.d.ts +1 -0
  449. package/dist/sheet.js +94 -0
  450. package/dist/sheet.js.map +1 -0
  451. package/dist/sidebar.d.ts +1 -0
  452. package/dist/sidebar.js +386 -0
  453. package/dist/sidebar.js.map +1 -0
  454. package/dist/slider.d.ts +1 -0
  455. package/dist/slider.js +40 -0
  456. package/dist/slider.js.map +1 -0
  457. package/dist/spinner.d.ts +1 -0
  458. package/dist/spinner.js +21 -0
  459. package/dist/spinner.js.map +1 -0
  460. package/dist/switch.js +11 -11
  461. package/dist/table.js +34 -35
  462. package/dist/table.js.map +1 -1
  463. package/dist/tabs.js +17 -17
  464. package/dist/textarea.js +14 -7
  465. package/dist/textarea.js.map +1 -1
  466. package/dist/theme.css +35 -20
  467. package/dist/toast.js +54 -164
  468. package/dist/toast.js.map +1 -1
  469. package/dist/toggle-group.d.ts +1 -0
  470. package/dist/toggle-group.js +46 -0
  471. package/dist/toggle-group.js.map +1 -0
  472. package/dist/toggle.d.ts +1 -0
  473. package/dist/toggle.js +39 -0
  474. package/dist/toggle.js.map +1 -0
  475. package/dist/tooltip.js.map +1 -1
  476. package/dist/typeset.css +532 -0
  477. package/dist/utilities.css +583 -0
  478. package/llms.txt +268 -24
  479. package/package.json +15 -3
  480. package/dist/chunks/badge.BcdxDzJ7.css +0 -1
  481. package/dist/chunks/button.DNo8DTR3.css +0 -1
  482. package/dist/chunks/card.B0AcyAT1.css +0 -1
  483. package/dist/chunks/checkbox.D3kdAalh.css +0 -1
  484. package/dist/chunks/dialog.D6LS2vnG.css +0 -1
  485. package/dist/chunks/dropdown-menu.DmDZc5gB.css +0 -1
  486. package/dist/chunks/field.BNZx8HfN.css +0 -1
  487. package/dist/chunks/input.C8RDCC-a.css +0 -1
  488. package/dist/chunks/radio-group.zAFY9yCF.css +0 -1
  489. package/dist/chunks/select.Dt0diN4P.css +0 -1
  490. package/dist/chunks/switch.CsaIRnCA.css +0 -1
  491. package/dist/chunks/table.BuWHXL6e.css +0 -1
  492. package/dist/chunks/tabs.KEksCAxN.css +0 -1
  493. package/dist/chunks/textarea.N3iiWUuz.css +0 -1
@@ -0,0 +1 @@
1
+ ._wrapper_1swyv_33{--sidebar-width: 16rem;--sidebar-width-icon: 3rem;display:flex;min-height:100svh;width:100%}._wrapper_1swyv_33:has(>[data-variant=inset]){background-color:var(--sidebar)}._wrapper_1swyv_33 ._none_1swyv_74{display:flex;height:100%;width:var(--sidebar-width);flex-direction:column;background-color:var(--sidebar);color:var(--sidebar-foreground)}._root_1swyv_14{position:relative;color:var(--sidebar-foreground)}@media(max-width:767px){._root_1swyv_14{display:none}}._gap_1swyv_116{position:relative;background-color:transparent;transition:width .2s linear}._wrapper_1swyv_33 ._gap_1swyv_116{width:var(--sidebar-width)}@media(prefers-reduced-motion:reduce){._gap_1swyv_116{transition:none}}._root_1swyv_14[data-side=right] ._gap_1swyv_116{rotate:180deg}._wrapper_1swyv_33 ._root_1swyv_14[data-collapsible=offcanvas] ._gap_1swyv_116{width:0}._wrapper_1swyv_33 ._root_1swyv_14[data-collapsible=icon][data-variant=floating] ._gap_1swyv_116,._wrapper_1swyv_33 ._root_1swyv_14[data-collapsible=icon][data-variant=inset] ._gap_1swyv_116{width:calc(var(--sidebar-width-icon) + var(--space-4))}._wrapper_1swyv_33 ._root_1swyv_14[data-collapsible=icon][data-variant=sidebar] ._gap_1swyv_116{width:var(--sidebar-width-icon)}._container_1swyv_112{box-sizing:border-box;position:fixed;inset-block:0;z-index:10;display:none;transition:left .2s linear,right .2s linear,width .2s linear}._wrapper_1swyv_33 ._container_1swyv_112{width:var(--sidebar-width)}@media(prefers-reduced-motion:reduce){._container_1swyv_112{transition:none}}@media(min-width:768px){._container_1swyv_112{display:flex}}._container_1swyv_112[data-side=left]{left:0}._container_1swyv_112[data-side=right]{right:0}._wrapper_1swyv_33 ._root_1swyv_14[data-collapsible=offcanvas] ._container_1swyv_112[data-side=left]{left:calc(var(--sidebar-width) * -1)}._wrapper_1swyv_33 ._root_1swyv_14[data-collapsible=offcanvas] ._container_1swyv_112[data-side=right]{right:calc(var(--sidebar-width) * -1)}._root_1swyv_14[data-variant=sidebar][data-side=left] ._container_1swyv_112{border-right:var(--border-width) solid var(--sidebar-border)}._root_1swyv_14[data-variant=sidebar][data-side=right] ._container_1swyv_112{border-left:var(--border-width) solid var(--sidebar-border)}._wrapper_1swyv_33 ._root_1swyv_14[data-variant=sidebar][data-collapsible=icon] ._container_1swyv_112{width:var(--sidebar-width-icon)}._root_1swyv_14[data-variant=floating] ._container_1swyv_112,._root_1swyv_14[data-variant=inset] ._container_1swyv_112{padding:var(--space-2)}._wrapper_1swyv_33 ._root_1swyv_14[data-variant=floating][data-collapsible=icon] ._container_1swyv_112,._wrapper_1swyv_33 ._root_1swyv_14[data-variant=inset][data-collapsible=icon] ._container_1swyv_112{width:calc(var(--sidebar-width-icon) + var(--space-4) + 2px)}._inner_1swyv_238{display:flex;height:100%;width:100%;flex-direction:column;background-color:var(--sidebar);color:var(--sidebar-foreground)}._root_1swyv_14[data-variant=floating] ._inner_1swyv_238{border:var(--border-width) solid var(--sidebar-border);border-radius:var(--radius-lg);box-shadow:var(--popover-shadow)}._mobileContent_1swyv_81{--sidebar-width: 16rem;box-sizing:border-box;width:var(--sidebar-width);padding:0;background-color:var(--sidebar);color:var(--sidebar-foreground)}._mobileInner_1swyv_276{display:flex;height:100%;width:100%;flex-direction:column}._srOnly_1swyv_288{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}._triggerIcon_1swyv_303{width:var(--icon-size-sm);height:var(--icon-size-sm)}._rail_1swyv_308{position:absolute;inset-block:0;z-index:20;display:none;width:var(--space-4);border:none;padding:0;background:none;cursor:w-resize;transition:background-color .2s linear}@media(prefers-reduced-motion:reduce){._rail_1swyv_308{transition:none}}@media(min-width:640px){._rail_1swyv_308{display:block}}._rail_1swyv_308:after{content:"";position:absolute;inset-block:0;left:50%;width:2px;background-color:transparent;transition:background-color .2s linear}._rail_1swyv_308:hover:after{background-color:var(--sidebar-border)}@media(prefers-reduced-motion:reduce){._rail_1swyv_308:after{transition:none}}._root_1swyv_14[data-side=left] ._rail_1swyv_308{right:calc(var(--space-4) * -1);transform:translate(-50%)}._root_1swyv_14[data-side=right] ._rail_1swyv_308{left:calc(var(--space-4) * -1);transform:translate(50%);cursor:e-resize}._root_1swyv_14[data-side=left][data-state=collapsed] ._rail_1swyv_308{cursor:e-resize}._root_1swyv_14[data-side=right][data-state=collapsed] ._rail_1swyv_308{cursor:w-resize}._root_1swyv_14[data-collapsible=offcanvas] ._rail_1swyv_308{transform:none}._root_1swyv_14[data-collapsible=offcanvas] ._rail_1swyv_308:hover{background-color:var(--sidebar)}._root_1swyv_14[data-collapsible=offcanvas] ._rail_1swyv_308:after{left:100%}._root_1swyv_14[data-side=left][data-collapsible=offcanvas] ._rail_1swyv_308{right:calc(var(--space-2) * -1)}._root_1swyv_14[data-side=right][data-collapsible=offcanvas] ._rail_1swyv_308{left:calc(var(--space-2) * -1)}._inset_1swyv_406{position:relative;display:flex;width:100%;flex:1 1 0%;flex-direction:column;background-color:var(--background)}@media(min-width:768px){[data-variant=inset]~._inset_1swyv_406{margin:var(--space-2);margin-left:0;border-radius:var(--radius-xl);box-shadow:var(--popover-shadow)}[data-variant=inset][data-state=collapsed]~._inset_1swyv_406{margin-left:var(--space-2)}}._input_1swyv_449{width:100%;background-color:var(--surface-elevated)}._root_1swyv_14[data-collapsible=icon] ._input_1swyv_449{display:none}._separator_1swyv_469{background-color:var(--sidebar-border)}._separator_1swyv_469[data-orientation=horizontal]{width:auto;margin-inline:var(--space-2)}._header_1swyv_493,._footer_1swyv_494{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-2)}._content_1swyv_501{display:flex;min-height:0;flex:1 1 0%;flex-direction:column;gap:var(--space-2);overflow:auto}._root_1swyv_14[data-collapsible=icon] ._content_1swyv_501{overflow:hidden}._group_1swyv_528{box-sizing:border-box;position:relative;display:flex;width:100%;min-width:0;flex-direction:column;padding:var(--space-2)}._groupLabel_1swyv_538{display:flex;height:var(--control-height-sm);flex-shrink:0;align-items:center;padding-inline:var(--space-2);border-radius:var(--radius-md);color:color-mix(in oklab,var(--sidebar-foreground) 70%,transparent);font-size:var(--text-meta-size);line-height:var(--text-meta-line-height);font-weight:var(--text-label-weight);outline:none;transition:margin .2s linear,opacity .2s linear}._groupLabel_1swyv_538>svg{flex-shrink:0;width:var(--icon-size-sm);height:var(--icon-size-sm)}@media(prefers-reduced-motion:reduce){._groupLabel_1swyv_538{transition:none}}._groupAction_1swyv_579{box-sizing:border-box;position:absolute;top:calc(var(--space-2) + (var(--control-height-sm) - var(--space-5)) / 2);right:var(--space-3);display:flex;aspect-ratio:1;align-items:center;justify-content:center;width:var(--space-5);border:none;border-radius:var(--radius-md);padding:0;background:none;color:var(--sidebar-foreground);cursor:pointer;outline:none;transition:transform .15s ease}._groupAction_1swyv_579>svg{flex-shrink:0;width:var(--icon-size-sm);height:var(--icon-size-sm)}._groupAction_1swyv_579:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}._groupAction_1swyv_579:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:1px}._groupContent_1swyv_615{width:100%;font-size:var(--text-body-size);line-height:var(--text-body-line-height)}._root_1swyv_14[data-collapsible=icon] ._groupLabel_1swyv_538{margin-top:calc(var(--control-height-sm) * -1);opacity:0;pointer-events:none}._root_1swyv_14[data-collapsible=icon] ._groupAction_1swyv_579{display:none}._menu_1swyv_640{display:flex;width:100%;min-width:0;flex-direction:column;gap:var(--space-1);margin:0;padding:0;list-style:none}._menuItem_1swyv_651{position:relative}._menuButton_1swyv_659{box-sizing:border-box;display:flex;width:100%;align-items:center;gap:var(--space-2);overflow:hidden;border:none;border-radius:var(--radius-md);padding-inline:var(--space-2);background:none;color:inherit;text-align:left;text-decoration:none;cursor:pointer;outline:none;transition:width .2s linear,height .2s linear,padding .2s linear,color .15s ease,background-color .15s ease,border-color .15s ease}._menuItem_1swyv_651:has(._menuAction_1swyv_675) ._menuButton_1swyv_659,._menuItem_1swyv_651:has(._menuBadge_1swyv_708) ._menuButton_1swyv_659{padding-right:var(--space-8)}._menuButton_1swyv_659>svg{flex-shrink:0;width:var(--icon-size-sm);height:var(--icon-size-sm)}._menuButton_1swyv_659>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._menuButton_1swyv_659:hover,._menuButton_1swyv_659:active,._menuButton_1swyv_659:focus-visible,._menuButton_1swyv_659[data-popup-open]{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}._menuButton_1swyv_659:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:-2px}._menuButton_1swyv_659[data-active]{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground);font-weight:var(--text-label-weight)}._menuButton_1swyv_659:disabled,._menuButton_1swyv_659[aria-disabled=true]{pointer-events:none;opacity:.42}._variantOutline_1swyv_767{background-color:var(--background);box-shadow:0 0 0 1px var(--sidebar-border)}._variantOutline_1swyv_767:hover,._variantOutline_1swyv_767:focus-visible{box-shadow:0 0 0 1px var(--sidebar-accent)}._sizeDefault_1swyv_758{height:var(--control-height-sm);font-size:var(--text-body-size);line-height:var(--text-body-line-height)}._sizeSm_1swyv_783{height:calc(var(--control-height-sm) - var(--space-1));font-size:var(--text-label-size);line-height:var(--text-label-line-height)}._sizeLg_1swyv_798{height:calc(var(--control-height-lg) + var(--space-2));font-size:var(--text-body-size);line-height:var(--text-body-line-height)}._root_1swyv_14[data-collapsible=icon] ._menuButton_1swyv_659{width:var(--control-height-sm);height:var(--control-height-sm);justify-content:center;padding:var(--space-2)}._root_1swyv_14[data-collapsible=icon] ._sizeLg_1swyv_798{padding:0}._root_1swyv_14[data-collapsible=icon] ._menuButton_1swyv_659>*:not(:first-child){display:none}._menuAction_1swyv_675,._menuBadge_1swyv_708{top:calc((var(--control-height-sm) - var(--space-5)) / 2)}._menuItem_1swyv_651:has(._sizeSm_1swyv_783) ._menuAction_1swyv_675,._menuItem_1swyv_651:has(._sizeSm_1swyv_783) ._menuBadge_1swyv_708{top:calc((var(--control-height-sm) - var(--space-1) - var(--space-5)) / 2)}._menuItem_1swyv_651:has(._sizeLg_1swyv_798) ._menuAction_1swyv_675,._menuItem_1swyv_651:has(._sizeLg_1swyv_798) ._menuBadge_1swyv_708{top:calc((var(--control-height-lg) + var(--space-2) - var(--space-5)) / 2)}._menuAction_1swyv_675{box-sizing:border-box;position:absolute;right:var(--space-1);display:flex;aspect-ratio:1;align-items:center;justify-content:center;width:var(--space-5);border:none;border-radius:var(--radius-md);padding:0;background:none;color:var(--sidebar-foreground);cursor:pointer;outline:none;transition:transform .15s ease}._menuAction_1swyv_675>svg{flex-shrink:0;width:var(--icon-size-sm);height:var(--icon-size-sm)}._menuAction_1swyv_675:hover{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}._menuAction_1swyv_675:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:1px}._menuActionShowOnHover_1swyv_903{opacity:0}._menuItem_1swyv_651:hover ._menuActionShowOnHover_1swyv_903,._menuItem_1swyv_651:focus-within ._menuActionShowOnHover_1swyv_903,._menuActionShowOnHover_1swyv_903[aria-expanded=true],._menuActionShowOnHover_1swyv_903[data-popup-open]{opacity:1}._menuBadge_1swyv_708{box-sizing:border-box;position:absolute;right:var(--space-1);display:flex;height:var(--space-5);min-width:var(--space-5);align-items:center;justify-content:center;border-radius:var(--radius-md);padding-inline:var(--space-1);color:var(--sidebar-foreground);font-variant-numeric:tabular-nums;font-size:var(--text-meta-size);line-height:var(--text-meta-line-height);font-weight:var(--text-label-weight);-webkit-user-select:none;user-select:none;pointer-events:none}._menuItem_1swyv_651:has(._menuButton_1swyv_659:hover) ._menuBadge_1swyv_708,._menuItem_1swyv_651:has(._menuButton_1swyv_659[data-active]) ._menuBadge_1swyv_708{color:var(--sidebar-accent-foreground)}._root_1swyv_14[data-collapsible=icon] ._menuAction_1swyv_675,._root_1swyv_14[data-collapsible=icon] ._menuBadge_1swyv_708{display:none}._menuSkeleton_1swyv_955{box-sizing:border-box;display:flex;height:var(--control-height-sm);align-items:center;gap:var(--space-2);border-radius:var(--radius-md);padding-inline:var(--space-2)}._menuSkeletonIcon_1swyv_965{flex-shrink:0;width:var(--icon-size-sm);height:var(--icon-size-sm);border-radius:var(--radius-md)}._menuSkeletonText_1swyv_972{--skeleton-width: 100%;height:var(--text-meta-line-height);max-width:var(--skeleton-width);flex:1 1 0%;border-radius:var(--radius-sm)}._menuSub_1swyv_1003{display:flex;min-width:0;flex-direction:column;gap:var(--space-1);margin:0;margin-inline:var(--space-3);padding-block:var(--space-1);padding-inline:var(--space-3) 0;list-style:none;border-left:var(--border-width) solid var(--sidebar-border)}._menuSubItem_1swyv_1016{position:relative}._menuSubButton_1swyv_1026{box-sizing:border-box;display:flex;height:calc(var(--control-height-sm) - var(--space-1));min-width:0;align-items:center;gap:var(--space-2);overflow:hidden;border-radius:var(--radius-md);padding-inline:var(--space-2);color:var(--sidebar-foreground);text-decoration:none;cursor:pointer;outline:none;transition:color .15s ease,background-color .15s ease}._menuSubButton_1swyv_1026>svg{flex-shrink:0;width:var(--icon-size-sm);height:var(--icon-size-sm);color:var(--sidebar-accent-foreground)}._menuSubButton_1swyv_1026>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._menuSubButton_1swyv_1026:hover,._menuSubButton_1swyv_1026:active,._menuSubButton_1swyv_1026:focus-visible{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}._menuSubButton_1swyv_1026:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:-2px}._menuSubButton_1swyv_1026[data-active]{background-color:var(--sidebar-accent);color:var(--sidebar-accent-foreground)}._menuSubButton_1swyv_1026:disabled,._menuSubButton_1swyv_1026[aria-disabled=true]{pointer-events:none;opacity:.42}._subSizeSm_1swyv_1088{font-size:var(--text-label-size);line-height:var(--text-label-line-height)}._subSizeMd_1swyv_1093{font-size:var(--text-body-size);line-height:var(--text-body-line-height)}._root_1swyv_14[data-collapsible=icon] ._menuSub_1swyv_1003{display:none}._root_1swyv_14[data-collapsible=icon] ._menuSkeleton_1swyv_955{width:var(--control-height-sm);justify-content:center;padding:var(--space-2)}._root_1swyv_14[data-collapsible=icon] ._menuSkeletonText_1swyv_972{display:none}
@@ -0,0 +1 @@
1
+ ._root_umlo3_11{display:flex}._root_umlo3_11[data-orientation=horizontal]{width:100%}._root_umlo3_11[data-orientation=vertical]{height:100%}._control_umlo3_23{position:relative;display:flex;width:100%;align-items:center;touch-action:none;-webkit-user-select:none;user-select:none}._control_umlo3_23[data-orientation=vertical]{height:100%;width:auto;flex-direction:column}._control_umlo3_23[data-disabled]{opacity:.42}._track_umlo3_42{position:relative;flex-grow:1;overflow:hidden;border-radius:9999px;background-color:var(--secondary)}._control_umlo3_23[data-orientation=horizontal] ._track_umlo3_42{height:.375rem}._control_umlo3_23[data-orientation=vertical] ._track_umlo3_42{width:.375rem}._range_umlo3_58{position:relative;background-color:var(--primary)}._control_umlo3_23[data-orientation=horizontal] ._range_umlo3_58{height:100%}._control_umlo3_23[data-orientation=vertical] ._range_umlo3_58{width:100%}._thumb_umlo3_79{display:block;flex-shrink:0;width:1rem;height:1rem;border:var(--border-width-focus) solid var(--primary);border-radius:9999px;background-color:var(--surface-elevated);outline:none;transition:box-shadow .15s ease,border-color .15s ease}._thumb_umlo3_79:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:2px}@media(forced-colors:active){._thumb_umlo3_79:focus-visible{outline-color:Highlight}}._thumb_umlo3_79[data-disabled]{pointer-events:none}._thumb_umlo3_79[aria-invalid=true]{border-color:var(--destructive)}
@@ -0,0 +1 @@
1
+ ._spinner_247d8_6{width:var(--icon-size-sm);height:var(--icon-size-sm);animation:_spin_247d8_6 1s linear infinite}@keyframes _spin_247d8_6{to{rotate:360deg}}@media(prefers-reduced-motion:reduce){._spinner_247d8_6{animation-duration:2.4s}}
@@ -0,0 +1 @@
1
+ ._switch_89s1l_6{box-sizing:border-box;position:relative;display:inline-flex;align-items:center;flex-shrink:0;padding:0;border:var(--border-width) solid transparent;border-radius:9999px;outline:none;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}._switch_89s1l_6:after{content:"";position:absolute;inset:calc(-1 * var(--space-2)) calc(-1 * var(--space-3))}._switch_89s1l_6[data-checked]{background-color:var(--primary)}._switch_89s1l_6[data-unchecked]{background-color:var(--input)}._switch_89s1l_6:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:2px}@media(forced-colors:active){._switch_89s1l_6:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._switch_89s1l_6[data-disabled]{cursor:not-allowed;opacity:.42}._switch_89s1l_6[aria-invalid=true]{border-color:var(--destructive)}._sizeDefault_89s1l_10{height:1.375rem;width:2.375rem}._sizeSm_89s1l_10{height:.875rem;width:1.5rem}._thumb_89s1l_87{pointer-events:none;display:block;border-radius:9999px;background-color:var(--primary-foreground);transition:transform .15s ease}@media(prefers-reduced-motion:reduce){._thumb_89s1l_87{transition:none}}._sizeDefault_89s1l_10 ._thumb_89s1l_87{width:1rem;height:1rem;margin-inline-start:2px}._sizeDefault_89s1l_10 ._thumb_89s1l_87[data-checked]{transform:translate(100%)}._sizeSm_89s1l_10 ._thumb_89s1l_87{width:.75rem;height:.75rem}._thumb_89s1l_87[data-checked]{transform:translate(calc(100% - 2px))}._thumb_89s1l_87[data-unchecked]{transform:translate(0)}
@@ -0,0 +1 @@
1
+ ._tableContainer_1a7ht_8{position:relative;width:100%;overflow-x:auto}._tableContainer_1a7ht_8:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:2px}@media(forced-colors:active){._tableContainer_1a7ht_8:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._table_1a7ht_8{width:100%;border-collapse:collapse;caption-side:bottom;font-size:var(--text-meta-size);line-height:var(--text-meta-line-height);font-weight:var(--text-meta-weight);letter-spacing:var(--text-meta-tracking)}._tableRow_1a7ht_77{--table-row-fill: transparent;background-color:var(--table-row-fill);border-bottom:var(--border-width) solid var(--border);transition:color .15s ease,background-color .15s ease,border-color .15s ease}._tableBody_1a7ht_94:last-child ._tableRow_1a7ht_77:last-child{border-bottom:0}._tableBody_1a7ht_94 ._tableRow_1a7ht_77:hover,._tableBody_1a7ht_94 ._tableRow_1a7ht_77:has([aria-expanded=true]){--table-row-fill: var(--muted)}._tableBody_1a7ht_94 ._tableRow_1a7ht_77[data-state=selected]{--table-row-fill: var(--selection-subtle)}._tableBody_1a7ht_94 ._tableRow_1a7ht_77[data-state=stale]{--table-row-fill: var(--warning-soft)}._tableBody_1a7ht_94 ._tableRow_1a7ht_77[data-state=restricted]{--table-row-fill: var(--danger-soft)}._tableHead_1a7ht_62{box-sizing:border-box;height:var(--control-height-md);padding:0 var(--space-4);text-align:start;vertical-align:middle;font-family:var(--font-mono);font-size:var(--text-mono-size);line-height:var(--text-mono-line-height);font-weight:var(--text-mono-weight);letter-spacing:var(--text-mono-tracking);text-transform:uppercase;white-space:nowrap;color:var(--subtle-foreground)}._tableHead_1a7ht_62:has([role=checkbox]){padding-inline-end:0}._tableCell_1a7ht_210{box-sizing:border-box;padding:var(--space-3) var(--space-4);height:var(--control-height-lg);vertical-align:middle;white-space:nowrap}._tableCell_1a7ht_210:has([role=checkbox]){padding-inline-end:0}._densityCompact_1a7ht_278 ._tableHead_1a7ht_62{height:var(--control-height-sm)}._densityCompact_1a7ht_278 ._tableCell_1a7ht_210{padding-block:var(--space-2);height:auto}._tableCaption_1a7ht_287{margin-top:var(--space-4);font-size:var(--text-body-size);line-height:var(--text-body-line-height);color:var(--muted-foreground)}._tableFooter_1a7ht_309{font-weight:var(--text-label-weight)}._tableFooter_1a7ht_309 ._tableRow_1a7ht_77{--table-row-fill: var(--muted)}._tableFooter_1a7ht_309 ._tableRow_1a7ht_77:last-child{border-bottom:0}
@@ -0,0 +1 @@
1
+ ._tabs_n5qqe_28,._list_n5qqe_23,._trigger_n5qqe_5,._content_n5qqe_28{box-sizing:border-box}._tabs_n5qqe_28{display:flex;gap:var(--space-2)}._tabs_n5qqe_28[data-orientation=horizontal]{flex-direction:column}._list_n5qqe_23{display:inline-flex;width:fit-content;align-items:center;justify-content:center;border-radius:var(--radius-lg);gap:var(--space-1);color:var(--muted-foreground)}._list_n5qqe_23[data-orientation=horizontal]{height:var(--control-height-md)}._list_n5qqe_23[data-orientation=vertical]{height:fit-content;flex-direction:column}._variantDefault_n5qqe_84{background-color:transparent}._variantLine_n5qqe_88{background-color:transparent;border-radius:0}._trigger_n5qqe_5{position:relative;display:inline-flex;flex:1 1 0%;height:100%;align-items:center;justify-content:center;gap:var(--space-2);border:var(--border-width) solid transparent;border-radius:var(--radius-md);padding:var(--space-1) var(--space-3);background-color:transparent;color:var(--muted-foreground);font-family:inherit;font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-label-weight);letter-spacing:var(--text-label-tracking);white-space:nowrap;cursor:pointer;transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}._trigger_n5qqe_5[data-orientation=vertical]{width:100%;justify-content:flex-start}._trigger_n5qqe_5:hover{color:var(--foreground)}._trigger_n5qqe_5:focus-visible{outline:none;border-color:var(--ring);box-shadow:inset 0 0 0 var(--ring-inset) var(--ring)}@media(forced-colors:active){._trigger_n5qqe_5:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._trigger_n5qqe_5[data-disabled]{cursor:not-allowed;opacity:.42}._trigger_n5qqe_5[data-active]{background-color:var(--surface-elevated);color:var(--foreground)}._trigger_n5qqe_5:after{position:absolute;background-color:var(--foreground);opacity:0;transition:opacity .15s ease;content:""}._trigger_n5qqe_5[data-orientation=horizontal]:after{inset-inline:0;bottom:calc(-1 * var(--space-1));height:.125rem}._trigger_n5qqe_5[data-orientation=vertical]:after{inset-block:0;inset-inline-end:calc(-1 * var(--space-1));width:.125rem}._variantLine_n5qqe_88 ._trigger_n5qqe_5[data-active]{background-color:transparent;box-shadow:none}._variantLine_n5qqe_88 ._trigger_n5qqe_5[data-active]:after{opacity:1}._content_n5qqe_28{flex:1 1 0%;font-size:var(--text-body-size);line-height:var(--text-body-line-height);outline:none}._content_n5qqe_28:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:2px}@media(forced-colors:active){._content_n5qqe_28:focus-visible{outline:2px solid Highlight;outline-offset:2px}}
@@ -0,0 +1 @@
1
+ ._textarea_1cwzd_6{box-sizing:border-box;display:flex;field-sizing:content;--rows: 1;min-height:max(calc(var(--control-height-lg) + var(--space-4)),calc(var(--rows, 1) * 1.5rem + 2 * var(--space-3) + 2 * var(--border-width)));width:100%;padding:var(--space-3);border:var(--border-width) solid var(--input);border-radius:var(--radius-md);background-color:var(--surface-elevated);color:var(--foreground);font-family:inherit;font-size:1rem;line-height:1.5rem;outline:none;transition:color .15s ease,border-color .15s ease,box-shadow .15s ease}@media(min-width:768px){._textarea_1cwzd_6{font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-body-weight);letter-spacing:var(--text-label-tracking);min-height:max(calc(var(--control-height-lg) + var(--space-4)),calc(var(--rows, 1) * var(--text-label-line-height) + 2 * var(--space-3) + 2 * var(--border-width)))}}._textarea_1cwzd_6::placeholder{color:var(--muted-foreground)}._textarea_1cwzd_6:focus-visible{border-color:var(--ring);box-shadow:inset 0 0 0 var(--ring-inset) var(--ring)}@media(forced-colors:active){._textarea_1cwzd_6:focus-visible{outline:2px solid Highlight;outline-offset:2px}}._textarea_1cwzd_6:disabled{cursor:not-allowed;opacity:.42}._textarea_1cwzd_6[aria-invalid=true]{border-color:var(--destructive);box-shadow:inset 0 0 0 var(--ring-inset) var(--destructive)}
@@ -0,0 +1 @@
1
+ ._group_1wzou_19{display:inline-flex;align-items:center;gap:var(--space-1);width:fit-content}._group_1wzou_19[data-orientation=vertical]{flex-direction:column;align-items:stretch}._item_1wzou_35{flex-shrink:0}._item_1wzou_35:focus-visible{z-index:1}
@@ -0,0 +1 @@
1
+ ._toggle_12vt2_6{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);white-space:nowrap;border:var(--border-width) solid transparent;border-radius:var(--radius-md);background-color:transparent;color:var(--muted-foreground);font-family:inherit;font-size:var(--text-label-size);line-height:var(--text-label-line-height);font-weight:var(--text-label-weight);letter-spacing:var(--text-label-tracking);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}._toggle_12vt2_6:hover{background-color:var(--muted);color:var(--foreground)}._toggle_12vt2_6[data-pressed]{background-color:var(--accent);color:var(--accent-foreground)}._toggle_12vt2_6:focus-visible{outline:var(--border-width-focus) solid var(--ring);outline-offset:2px}@media(forced-colors:active){._toggle_12vt2_6:focus-visible{outline-color:Highlight}}._toggle_12vt2_6:disabled{pointer-events:none;opacity:.42}._variantOutline_12vt2_73{border-color:var(--border-strong);background-color:transparent}._variantOutline_12vt2_73:hover{background-color:var(--muted);color:var(--foreground)}._variantOutline_12vt2_73[data-pressed]{background-color:var(--accent);color:var(--accent-foreground);border-color:var(--border-strong)}._sizeDefault_12vt2_93{height:var(--control-height-md);padding:0 var(--space-3);min-width:var(--control-height-md)}._sizeSm_12vt2_99{height:var(--control-height-sm);padding:0 var(--space-2);min-width:var(--control-height-sm);border-radius:var(--radius-sm)}._sizeLg_12vt2_106{height:var(--control-height-lg);padding:0 var(--space-4);min-width:var(--control-height-lg)}._toggle_12vt2_6 svg{width:var(--icon-size-sm);height:var(--icon-size-sm);flex-shrink:0;pointer-events:none}
@@ -0,0 +1 @@
1
+ export * from './components/collapsible/public.js'
@@ -0,0 +1,22 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { Collapsible as e } from "@base-ui/react/collapsible";
3
+ import { cx as n } from "class-variance-authority";
4
+ import './chunks/collapsible.BQ-sU5sQ.css';const i = "_trigger_1mg60_18", s = "_content_1mg60_60", l = {
5
+ trigger: i,
6
+ content: s
7
+ };
8
+ function m({ className: t, ...o }) {
9
+ return /* @__PURE__ */ r(e.Root, { className: t, ...o });
10
+ }
11
+ function p({ className: t, ...o }) {
12
+ return /* @__PURE__ */ r(e.Trigger, { className: n(l.trigger, t), ...o });
13
+ }
14
+ function f({ className: t, ...o }) {
15
+ return /* @__PURE__ */ r(e.Panel, { className: n(l.content, t), ...o });
16
+ }
17
+ export {
18
+ m as Collapsible,
19
+ f as CollapsibleContent,
20
+ p as CollapsibleTrigger
21
+ };
22
+ //# sourceMappingURL=collapsible.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.js","sources":["../src/components/collapsible/collapsible.tsx"],"sourcesContent":["import { Collapsible as CollapsiblePrimitive } from '@base-ui/react/collapsible';\nimport { cx } from 'class-variance-authority';\n\nimport styles from './collapsible.module.css';\n\n/*\n * Upstream (apps/v4/registry/bases/base/ui/collapsible.tsx) is a bare\n * pass-through with no className handling at all on any of the three parts\n * — this kit still merges a kit class via `cx` on Trigger/Content (dropping\n * only `data-slot`, per the kit's standing decision, see card.tsx), since a\n * usable component needs a default focus ring on the trigger and a real\n * open/close height transition on the content — both hand-written in CSS\n * Modules (upstream leaves both entirely to the consumer, the same way it\n * does for Accordion).\n */\nexport interface CollapsibleProps extends Omit<CollapsiblePrimitive.Root.Props, 'className'> {\n className?: string;\n}\n\nexport function Collapsible({ className, ...props }: CollapsibleProps) {\n return <CollapsiblePrimitive.Root className={className} {...props} />;\n}\n\nexport interface CollapsibleTriggerProps\n extends Omit<CollapsiblePrimitive.Trigger.Props, 'className'> {\n className?: string;\n}\n\nexport function CollapsibleTrigger({ className, ...props }: CollapsibleTriggerProps) {\n return <CollapsiblePrimitive.Trigger className={cx(styles.trigger, className)} {...props} />;\n}\n\nexport interface CollapsibleContentProps\n extends Omit<CollapsiblePrimitive.Panel.Props, 'className'> {\n className?: string;\n}\n\nexport function CollapsibleContent({ className, ...props }: CollapsibleContentProps) {\n return <CollapsiblePrimitive.Panel className={cx(styles.content, className)} {...props} />;\n}\n"],"names":["Collapsible","className","props","CollapsiblePrimitive","CollapsibleTrigger","jsx","cx","styles","CollapsibleContent"],"mappings":";;;;;;;AAmBO,SAASA,EAAY,EAAE,WAAAC,GAAW,GAAGC,KAA2B;AACrE,2BAAQC,EAAqB,MAArB,EAA0B,WAAAF,GAAuB,GAAGC,GAAO;AACrE;AAOO,SAASE,EAAmB,EAAE,WAAAH,GAAW,GAAGC,KAAkC;AACnF,SAAO,gBAAAG,EAACF,EAAqB,SAArB,EAA6B,WAAWG,EAAGC,EAAO,SAASN,CAAS,GAAI,GAAGC,EAAA,CAAO;AAC5F;AAOO,SAASM,EAAmB,EAAE,WAAAP,GAAW,GAAGC,KAAkC;AACnF,SAAO,gBAAAG,EAACF,EAAqB,OAArB,EAA2B,WAAWG,EAAGC,EAAO,SAASN,CAAS,GAAI,GAAGC,EAAA,CAAO;AAC1F;"}
@@ -0,0 +1 @@
1
+ export * from './components/combobox/public.js'
@@ -0,0 +1,159 @@
1
+ "use client";
2
+ import { jsxs as l, jsx as n } from "react/jsx-runtime";
3
+ import { Combobox as r } from "@base-ui/react/combobox";
4
+ import { cx as a } from "class-variance-authority";
5
+ import { XIcon as _, CheckIcon as I, ChevronDownIcon as f } from "lucide-react";
6
+ import { useRef as x } from "react";
7
+ import './chunks/combobox.CtYpZAKB.css';const N = "_inputWrap_wt30a_15", v = "_input_wt30a_15", w = "_hasTrailingControl_wt30a_110", R = "_inputTrigger_wt30a_15", d = "_inputClear_wt30a_15", T = "_positioner_wt30a_176", L = "_popup_wt30a_181", y = "_list_wt30a_192", W = "_empty_wt30a_251", G = "_group_wt30a_259", P = "_groupLabel_wt30a_263", j = "_item_wt30a_270", E = "_itemIndicator_wt30a_276", S = "_separator_wt30a_322", V = "_chips_wt30a_333", k = "_chip_wt30a_333", A = "_chipRemove_wt30a_333", D = "_chipRemoveIcon_wt30a_435", X = "_chipsInput_wt30a_333", $ = "_svgIcon_wt30a_464", e = {
8
+ inputWrap: N,
9
+ input: v,
10
+ hasTrailingControl: w,
11
+ inputTrigger: R,
12
+ inputClear: d,
13
+ positioner: T,
14
+ popup: L,
15
+ list: y,
16
+ empty: W,
17
+ group: G,
18
+ groupLabel: P,
19
+ item: j,
20
+ itemIndicator: E,
21
+ separator: S,
22
+ chips: V,
23
+ chip: k,
24
+ chipRemove: A,
25
+ chipRemoveIcon: D,
26
+ chipsInput: X,
27
+ svgIcon: $
28
+ }, M = r.Root;
29
+ function O(o) {
30
+ return /* @__PURE__ */ n(r.Value, { ...o });
31
+ }
32
+ function q({ className: o, children: t, ...i }) {
33
+ return /* @__PURE__ */ n(r.Trigger, { className: a(e.inputTrigger, o), ...i, children: t ?? /* @__PURE__ */ n(f, { className: e.svgIcon }) });
34
+ }
35
+ function z({ className: o, ...t }) {
36
+ return /* @__PURE__ */ n(r.Clear, { className: a(e.inputClear, o), ...t, children: /* @__PURE__ */ n(_, { className: e.svgIcon }) });
37
+ }
38
+ function Q({
39
+ className: o,
40
+ children: t,
41
+ disabled: i = !1,
42
+ showTrigger: c = !0,
43
+ showClear: s = !1,
44
+ toggleLabel: p = "Toggle options",
45
+ clearLabel: u = "Clear value",
46
+ ...m
47
+ }) {
48
+ return /* @__PURE__ */ l("span", { className: e.inputWrap, children: [
49
+ /* @__PURE__ */ n(
50
+ r.Input,
51
+ {
52
+ className: a(
53
+ e.input,
54
+ (c || s) && e.hasTrailingControl,
55
+ o
56
+ ),
57
+ disabled: i,
58
+ ...m
59
+ }
60
+ ),
61
+ c && /* @__PURE__ */ n(q, { disabled: i, "aria-label": p }),
62
+ s && /* @__PURE__ */ n(z, { disabled: i, "aria-label": u }),
63
+ t
64
+ ] });
65
+ }
66
+ function U({
67
+ className: o,
68
+ children: t,
69
+ container: i,
70
+ anchor: c,
71
+ side: s = "bottom",
72
+ sideOffset: p = 6,
73
+ align: u = "start",
74
+ alignOffset: m = 0,
75
+ positionMethod: b,
76
+ collisionBoundary: h,
77
+ collisionPadding: C,
78
+ ...g
79
+ }) {
80
+ return /* @__PURE__ */ n(r.Portal, { container: i, children: /* @__PURE__ */ n(
81
+ r.Positioner,
82
+ {
83
+ anchor: c,
84
+ side: s,
85
+ sideOffset: p,
86
+ align: u,
87
+ alignOffset: m,
88
+ positionMethod: b,
89
+ collisionBoundary: h,
90
+ collisionPadding: C,
91
+ className: e.positioner,
92
+ children: /* @__PURE__ */ n(r.Popup, { className: a(e.popup, o), ...g, children: t })
93
+ }
94
+ ) });
95
+ }
96
+ function Y({ className: o, ...t }) {
97
+ return /* @__PURE__ */ n(r.List, { className: a(e.list, o), ...t });
98
+ }
99
+ function Z({ className: o, ...t }) {
100
+ return /* @__PURE__ */ n(r.Empty, { className: a(e.empty, o), ...t });
101
+ }
102
+ function oo({ className: o, ...t }) {
103
+ return /* @__PURE__ */ n(r.Group, { className: a(e.group, o), ...t });
104
+ }
105
+ function to({ className: o, ...t }) {
106
+ return /* @__PURE__ */ n(r.GroupLabel, { className: a(e.groupLabel, o), ...t });
107
+ }
108
+ function no(o) {
109
+ return /* @__PURE__ */ n(r.Collection, { ...o });
110
+ }
111
+ function eo({ className: o, children: t, ...i }) {
112
+ return /* @__PURE__ */ l(r.Item, { className: a(e.item, o), ...i, children: [
113
+ t,
114
+ /* @__PURE__ */ n(r.ItemIndicator, { render: /* @__PURE__ */ n("span", { className: e.itemIndicator }), children: /* @__PURE__ */ n(I, { className: e.svgIcon }) })
115
+ ] });
116
+ }
117
+ function ro({ className: o, ...t }) {
118
+ return /* @__PURE__ */ n(r.Separator, { className: a(e.separator, o), ...t });
119
+ }
120
+ function ao({ className: o, ...t }) {
121
+ return /* @__PURE__ */ n(r.Chips, { className: a(e.chips, o), ...t });
122
+ }
123
+ function io({
124
+ className: o,
125
+ children: t,
126
+ showRemove: i = !0,
127
+ removeLabel: c = "Remove",
128
+ ...s
129
+ }) {
130
+ return /* @__PURE__ */ l(r.Chip, { className: a(e.chip, o), ...s, children: [
131
+ t,
132
+ i && /* @__PURE__ */ n(r.ChipRemove, { className: e.chipRemove, "aria-label": c, children: /* @__PURE__ */ n(_, { className: a(e.svgIcon, e.chipRemoveIcon) }) })
133
+ ] });
134
+ }
135
+ function co({ className: o, ...t }) {
136
+ return /* @__PURE__ */ n(r.Input, { className: a(e.chipsInput, o), ...t });
137
+ }
138
+ function so() {
139
+ return x(null);
140
+ }
141
+ export {
142
+ M as Combobox,
143
+ io as ComboboxChip,
144
+ ao as ComboboxChips,
145
+ co as ComboboxChipsInput,
146
+ no as ComboboxCollection,
147
+ U as ComboboxContent,
148
+ Z as ComboboxEmpty,
149
+ oo as ComboboxGroup,
150
+ Q as ComboboxInput,
151
+ eo as ComboboxItem,
152
+ to as ComboboxLabel,
153
+ Y as ComboboxList,
154
+ ro as ComboboxSeparator,
155
+ q as ComboboxTrigger,
156
+ O as ComboboxValue,
157
+ so as useComboboxAnchor
158
+ };
159
+ //# sourceMappingURL=combobox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.js","sources":["../src/components/combobox/combobox.tsx"],"sourcesContent":["// Load-bearing: useComboboxAnchor calls useRef directly in its own body, so\n// this can't be dropped. Coupled to CLIENT_COMPONENTS in\n// scripts/verify-consumer.sh — keep both in sync if this ever changes.\n'use client';\n\nimport { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';\nimport { cx } from 'class-variance-authority';\nimport { CheckIcon, ChevronDownIcon, XIcon } from 'lucide-react';\nimport { type ComponentPropsWithRef, type ReactNode, useRef } from 'react';\n\nimport styles from './combobox.module.css';\n\nexport const Combobox = ComboboxPrimitive.Root;\n/**\n * Base UI pass-through; props type re-exported (see dialog.tsx). Generic\n * like the root itself: `Value` is the item value's type, `Multiple` widens\n * `value`/`onValueChange` (and the input's typed selection) to arrays when\n * true — same idiom as select.tsx's `SelectProps<Value, Multiple>`.\n */\nexport type ComboboxProps<\n Value,\n Multiple extends boolean | undefined = false,\n> = ComboboxPrimitive.Root.Props<Value, Multiple>;\n\n/*\n * Unlike Select — which always needs a separate SelectValue to render the\n * chosen label next to its button-only trigger — a single-select Combobox's\n * own <input> already displays the current value as editable text, so\n * ComboboxValue is normally unused there. It exists for the cases upstream\n * demonstrates it for: formatting a multi-select's array of values inside\n * ComboboxChips (see the combobox.md example). It renders no element of its\n * own (verified against the Base UI source), hence no className to merge —\n * matching upstream's own wrapper exactly.\n */\nexport type ComboboxValueProps = ComboboxPrimitive.Value.Props;\n\nexport function ComboboxValue(props: ComboboxValueProps) {\n return <ComboboxPrimitive.Value {...props} />;\n}\n\nexport interface ComboboxTriggerProps\n extends Omit<ComponentPropsWithRef<typeof ComboboxPrimitive.Trigger>, 'className'> {\n className?: string;\n children?: ReactNode;\n}\n\n/*\n * Exported standalone (upstream exports it too), but also reused below by\n * ComboboxInput's own `showTrigger` — the two are the same button, upstream\n * just composes it inline via `render={<ComboboxTrigger/>}` where this kit\n * has no InputGroup primitive to render it into (see ComboboxInput).\n */\nexport function ComboboxTrigger({ className, children, ...props }: ComboboxTriggerProps) {\n return (\n <ComboboxPrimitive.Trigger className={cx(styles.inputTrigger, className)} {...props}>\n {children ?? <ChevronDownIcon className={styles.svgIcon} />}\n </ComboboxPrimitive.Trigger>\n );\n}\n\n/*\n * NOT exported (upstream defines it but only exports Combobox/Combobox\n * Input/…/ComboboxTrigger/ComboboxValue/useComboboxAnchor at the bottom of\n * its file — Clear is missing from that list) — it only ever appears\n * composed into ComboboxInput via `showClear`, never as a kit-level part a\n * consumer reaches for on its own.\n */\ninterface ComboboxClearProps\n extends Omit<ComponentPropsWithRef<typeof ComboboxPrimitive.Clear>, 'className'> {\n className?: string;\n}\n\nfunction ComboboxClear({ className, ...props }: ComboboxClearProps) {\n return (\n <ComboboxPrimitive.Clear className={cx(styles.inputClear, className)} {...props}>\n <XIcon className={styles.svgIcon} />\n </ComboboxPrimitive.Clear>\n );\n}\n\nexport interface ComboboxInputProps extends Omit<ComboboxPrimitive.Input.Props, 'className'> {\n className?: string;\n /**\n * Renders the chevron button that opens the popup, trailing the field.\n * @default true\n */\n showTrigger?: boolean;\n /**\n * Renders a clear button trailing the field once a value is chosen. Base\n * UI's Clear part only mounts while there's something to clear (default\n * `keepMounted={false}`), and while it's mounted it visually replaces the\n * trigger in the same inline-end slot (see combobox.module.css's\n * `:has()` rule) rather than the two ever stacking.\n * @default false\n */\n showClear?: boolean;\n /**\n * Accessible name for the chevron button `showTrigger` renders. It is an\n * icon-only control, so this string IS its name — override it to ship a\n * combobox in any language but English, the same way `Dialog`'s\n * `closeLabel` and `SidebarTrigger`'s `label` work.\n * @default 'Toggle options'\n */\n toggleLabel?: string;\n /**\n * Accessible name for the clear button `showClear` renders.\n * @default 'Clear value'\n */\n clearLabel?: string;\n children?: ReactNode;\n}\n\n/*\n * Upstream composes this from a separate InputGroup/InputGroupAddon\n * registry component (its own generic field-plus-adornments primitive,\n * shared with other shadcn components) — this kit has no such primitive, so\n * the trailing trigger/clear are laid out here directly as an absolutely\n * positioned overlay instead, the same idiom input.tsx already uses for its\n * own icon/end slots.\n */\nexport function ComboboxInput({\n className,\n children,\n disabled = false,\n showTrigger = true,\n showClear = false,\n toggleLabel = 'Toggle options',\n clearLabel = 'Clear value',\n ...props\n}: ComboboxInputProps) {\n return (\n <span className={styles.inputWrap}>\n <ComboboxPrimitive.Input\n className={cx(\n styles.input,\n (showTrigger || showClear) && styles.hasTrailingControl,\n className,\n )}\n disabled={disabled}\n {...props}\n />\n {showTrigger && <ComboboxTrigger disabled={disabled} aria-label={toggleLabel} />}\n {showClear && <ComboboxClear disabled={disabled} aria-label={clearLabel} />}\n {children}\n </span>\n );\n}\n\nexport interface ComboboxContentProps\n extends Omit<ComboboxPrimitive.Popup.Props, 'className'>,\n Pick<\n ComboboxPrimitive.Positioner.Props,\n // positionMethod/collision*: see dropdown-menu.tsx — the escape hatch\n // for anchors inside a transform/filter container. `anchor`: lets a\n // multi-select point the popup at ComboboxChips instead of the\n // (nonexistent, in that mode) single-line input — see\n // useComboboxAnchor below.\n | 'anchor'\n | 'align'\n | 'alignOffset'\n | 'side'\n | 'sideOffset'\n | 'positionMethod'\n | 'collisionBoundary'\n | 'collisionPadding'\n > {\n className?: string;\n /**\n * Where to portal the popup. Defaults to <body>. Pass a themed container\n * when the theme is scoped to a subtree (data-theme on a section rather\n * than <html>) so the popup inherits its tokens and font.\n */\n container?: ComboboxPrimitive.Portal.Props['container'];\n}\n\n/*\n * Deliberately thinner than SelectContent: Select always fuses its content\n * with a List (plus scroll arrows) because every Select popup shows the\n * same shape. Combobox's own popup can hold a List, an Empty message, or\n * both side by side (see combobox.md) — upstream places List/Empty as\n * ComboboxContent's own children rather than having Content wrap them, and\n * there is no scroll-arrow pair to port (Base UI's Combobox has no\n * ScrollUp/DownArrow parts — the List just scrolls itself, see .list below).\n */\nexport function ComboboxContent({\n className,\n children,\n container,\n anchor,\n side = 'bottom',\n sideOffset = 6,\n align = 'start',\n alignOffset = 0,\n positionMethod,\n collisionBoundary,\n collisionPadding,\n ...props\n}: ComboboxContentProps) {\n return (\n <ComboboxPrimitive.Portal container={container}>\n <ComboboxPrimitive.Positioner\n anchor={anchor}\n side={side}\n sideOffset={sideOffset}\n align={align}\n alignOffset={alignOffset}\n positionMethod={positionMethod}\n collisionBoundary={collisionBoundary}\n collisionPadding={collisionPadding}\n className={styles.positioner}\n >\n <ComboboxPrimitive.Popup className={cx(styles.popup, className)} {...props}>\n {children}\n </ComboboxPrimitive.Popup>\n </ComboboxPrimitive.Positioner>\n </ComboboxPrimitive.Portal>\n );\n}\n\nexport interface ComboboxListProps extends Omit<ComboboxPrimitive.List.Props, 'className'> {\n className?: string;\n}\n\nexport function ComboboxList({ className, ...props }: ComboboxListProps) {\n return <ComboboxPrimitive.List className={cx(styles.list, className)} {...props} />;\n}\n\nexport interface ComboboxEmptyProps extends Omit<ComboboxPrimitive.Empty.Props, 'className'> {\n className?: string;\n}\n\nexport function ComboboxEmpty({ className, ...props }: ComboboxEmptyProps) {\n return <ComboboxPrimitive.Empty className={cx(styles.empty, className)} {...props} />;\n}\n\nexport interface ComboboxGroupProps extends Omit<ComboboxPrimitive.Group.Props, 'className'> {\n className?: string;\n}\n\nexport function ComboboxGroup({ className, ...props }: ComboboxGroupProps) {\n return <ComboboxPrimitive.Group className={cx(styles.group, className)} {...props} />;\n}\n\nexport interface ComboboxLabelProps extends Omit<ComboboxPrimitive.GroupLabel.Props, 'className'> {\n className?: string;\n}\n\n/* Kit name follows Select's own convention (SelectLabel wraps\n * SelectPrimitive.GroupLabel, not the unrelated standalone Label part) —\n * and matches what upstream itself calls this same wrapper. */\nexport function ComboboxLabel({ className, ...props }: ComboboxLabelProps) {\n return <ComboboxPrimitive.GroupLabel className={cx(styles.groupLabel, className)} {...props} />;\n}\n\nexport type ComboboxCollectionProps = ComboboxPrimitive.Collection.Props;\n\n/** Renders no element of its own — a render-prop pass-through for grouped\n * or virtualized lists, same as the Base UI part it wraps. */\nexport function ComboboxCollection(props: ComboboxCollectionProps) {\n return <ComboboxPrimitive.Collection {...props} />;\n}\n\nexport interface ComboboxItemProps extends Omit<ComboboxPrimitive.Item.Props, 'className'> {\n className?: string;\n children?: ReactNode;\n}\n\nexport function ComboboxItem({ className, children, ...props }: ComboboxItemProps) {\n return (\n <ComboboxPrimitive.Item className={cx(styles.item, className)} {...props}>\n {children}\n <ComboboxPrimitive.ItemIndicator render={<span className={styles.itemIndicator} />}>\n <CheckIcon className={styles.svgIcon} />\n </ComboboxPrimitive.ItemIndicator>\n </ComboboxPrimitive.Item>\n );\n}\n\nexport interface ComboboxSeparatorProps\n extends Omit<ComboboxPrimitive.Separator.Props, 'className'> {\n className?: string;\n}\n\nexport function ComboboxSeparator({ className, ...props }: ComboboxSeparatorProps) {\n return <ComboboxPrimitive.Separator className={cx(styles.separator, className)} {...props} />;\n}\n\nexport interface ComboboxChipsProps\n extends Omit<ComponentPropsWithRef<typeof ComboboxPrimitive.Chips>, 'className'> {\n className?: string;\n}\n\n/*\n * `ComponentPropsWithRef`, not `Omit<Chips.Props, 'className'>` like every\n * other part above: this is the one part a consumer forwards a ref INTO\n * (see useComboboxAnchor below), so its props type has to carry `ref`\n * itself — matching upstream's own identical typing for this one export.\n */\nexport function ComboboxChips({ className, ...props }: ComboboxChipsProps) {\n return <ComboboxPrimitive.Chips className={cx(styles.chips, className)} {...props} />;\n}\n\nexport interface ComboboxChipProps extends Omit<ComboboxPrimitive.Chip.Props, 'className'> {\n className?: string;\n children?: ReactNode;\n /**\n * Renders a remove button trailing the chip's label.\n * @default true\n */\n showRemove?: boolean;\n /**\n * Accessible name for that remove button. Reads better naming the chip\n * it removes (`removeLabel={`Remove ${label}`}`) once a form has several\n * of them.\n * @default 'Remove'\n */\n removeLabel?: string;\n}\n\nexport function ComboboxChip({\n className,\n children,\n showRemove = true,\n removeLabel = 'Remove',\n ...props\n}: ComboboxChipProps) {\n return (\n <ComboboxPrimitive.Chip className={cx(styles.chip, className)} {...props}>\n {children}\n {showRemove && (\n <ComboboxPrimitive.ChipRemove className={styles.chipRemove} aria-label={removeLabel}>\n <XIcon className={cx(styles.svgIcon, styles.chipRemoveIcon)} />\n </ComboboxPrimitive.ChipRemove>\n )}\n </ComboboxPrimitive.Chip>\n );\n}\n\nexport interface ComboboxChipsInputProps extends Omit<ComboboxPrimitive.Input.Props, 'className'> {\n className?: string;\n}\n\n/** The same Combobox.Input part as ComboboxInput above, styled bare instead\n * of field-bordered — it sits inline among the chips, which already carry\n * the field's own border. */\nexport function ComboboxChipsInput({ className, ...props }: ComboboxChipsInputProps) {\n return <ComboboxPrimitive.Input className={cx(styles.chipsInput, className)} {...props} />;\n}\n\n/**\n * A ref to anchor ComboboxContent's popup to ComboboxChips instead of the\n * single-line input a multi-select combobox no longer has room for — pass\n * the same ref to both `<ComboboxChips ref={...}>` and\n * `<ComboboxContent anchor={...}>` (see combobox.md's multi-select\n * example). Exported by upstream as a small convenience over\n * `useRef<HTMLDivElement>(null)`; this is the one call in this module that\n * invokes a hook directly in its own body, which is why the module carries\n * 'use client' — see the top-of-file comment.\n */\nexport function useComboboxAnchor() {\n return useRef<HTMLDivElement | null>(null);\n}\n"],"names":["Combobox","ComboboxPrimitive","ComboboxValue","props","jsx","ComboboxTrigger","className","children","cx","styles","ChevronDownIcon","ComboboxClear","XIcon","ComboboxInput","disabled","showTrigger","showClear","toggleLabel","clearLabel","jsxs","ComboboxContent","container","anchor","side","sideOffset","align","alignOffset","positionMethod","collisionBoundary","collisionPadding","ComboboxList","ComboboxEmpty","ComboboxGroup","ComboboxLabel","ComboboxCollection","ComboboxItem","CheckIcon","ComboboxSeparator","ComboboxChips","ComboboxChip","showRemove","removeLabel","ComboboxChipsInput","useComboboxAnchor","useRef"],"mappings":"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"}
@@ -0,0 +1 @@
1
+ export * from './components/command/public.js'
@@ -0,0 +1,75 @@
1
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
2
+ import { Command as r } from "cmdk";
3
+ import { cx as a } from "class-variance-authority";
4
+ import { SearchIcon as u } from "lucide-react";
5
+ import { Dialog as l, DialogHeader as _, DialogTitle as g, DialogDescription as d, DialogContent as f } from "./dialog.js";
6
+ import './chunks/command.Km60IuqD.css';const h = "_command_3ts3g_16", C = "_dialogPopup_3ts3g_38", I = "_srOnly_3ts3g_50", N = "_inputWrapper_3ts3g_67", y = "_inputIcon_3ts3g_75", D = "_input_3ts3g_67", v = "_list_3ts3g_111", P = "_empty_3ts3g_118", S = "_group_3ts3g_126", x = "_item_3ts3g_144", O = "_shortcut_3ts3g_185", W = "_separator_3ts3g_200", j = "_svgIcon_3ts3g_207", o = {
7
+ command: h,
8
+ dialogPopup: C,
9
+ srOnly: I,
10
+ inputWrapper: N,
11
+ inputIcon: y,
12
+ input: D,
13
+ list: v,
14
+ empty: P,
15
+ group: S,
16
+ item: x,
17
+ shortcut: O,
18
+ separator: W,
19
+ svgIcon: j
20
+ };
21
+ function E({ className: t, ...n }) {
22
+ return /* @__PURE__ */ s(r, { className: a(o.command, t), ...n });
23
+ }
24
+ function b({
25
+ title: t = "Command Palette",
26
+ description: n = "Search for a command to run...",
27
+ children: m,
28
+ className: e,
29
+ showCloseButton: i = !1,
30
+ ...p
31
+ }) {
32
+ return /* @__PURE__ */ c(l, { ...p, children: [
33
+ /* @__PURE__ */ c(_, { className: o.srOnly, children: [
34
+ /* @__PURE__ */ s(g, { children: t }),
35
+ /* @__PURE__ */ s(d, { children: n })
36
+ ] }),
37
+ /* @__PURE__ */ s(f, { className: a(o.dialogPopup, e), showCloseButton: i, children: /* @__PURE__ */ s(E, { className: o.command, children: m }) })
38
+ ] });
39
+ }
40
+ function k({ className: t, wrapperClassName: n, ...m }) {
41
+ return /* @__PURE__ */ c("div", { className: a(o.inputWrapper, n), children: [
42
+ /* @__PURE__ */ s(u, { className: a(o.svgIcon, o.inputIcon) }),
43
+ /* @__PURE__ */ s(r.Input, { className: a(o.input, t), ...m })
44
+ ] });
45
+ }
46
+ function q({ className: t, ...n }) {
47
+ return /* @__PURE__ */ s(r.List, { className: a(o.list, t), ...n });
48
+ }
49
+ function w({ className: t, ...n }) {
50
+ return /* @__PURE__ */ s(r.Empty, { className: a(o.empty, t), ...n });
51
+ }
52
+ function z({ className: t, ...n }) {
53
+ return /* @__PURE__ */ s(r.Group, { className: a(o.group, t), ...n });
54
+ }
55
+ function A({ className: t, ...n }) {
56
+ return /* @__PURE__ */ s(r.Item, { className: a(o.item, t), ...n });
57
+ }
58
+ function B({ className: t, ...n }) {
59
+ return /* @__PURE__ */ s("span", { className: a(o.shortcut, t), ...n });
60
+ }
61
+ function F({ className: t, ...n }) {
62
+ return /* @__PURE__ */ s(r.Separator, { className: a(o.separator, t), ...n });
63
+ }
64
+ export {
65
+ E as Command,
66
+ b as CommandDialog,
67
+ w as CommandEmpty,
68
+ z as CommandGroup,
69
+ k as CommandInput,
70
+ A as CommandItem,
71
+ q as CommandList,
72
+ F as CommandSeparator,
73
+ B as CommandShortcut
74
+ };
75
+ //# sourceMappingURL=command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.js","sources":["../src/components/command/command.tsx"],"sourcesContent":["import { Command as CommandPrimitive } from 'cmdk';\nimport { cx } from 'class-variance-authority';\nimport { SearchIcon } from 'lucide-react';\nimport type { ComponentProps, ReactNode } from 'react';\n\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,\n type DialogProps,\n} from '../dialog/public.js';\nimport styles from './command.module.css';\n\nexport type CommandProps = ComponentProps<typeof CommandPrimitive>;\n\nexport function Command({ className, ...props }: CommandProps) {\n return <CommandPrimitive className={cx(styles.command, className)} {...props} />;\n}\n\nexport interface CommandDialogProps extends Omit<DialogProps, 'children'> {\n /**\n * Accessible name for the palette — visually hidden, only reaches\n * screen readers via the dialog's title association. @default 'Command Palette'\n */\n title?: ReactNode;\n /** Accessible description, same visually-hidden treatment as `title`. @default 'Search for a command to run...' */\n description?: ReactNode;\n className?: string;\n /**\n * Renders DialogContent's built-in top-right close (X) button.\n * @default false — the palette already dismisses on Escape/outside-press\n * (Dialog's own behavior) and a close button competes with the search\n * input for the popup's one-line header, unlike a regular Dialog where\n * that header has room to spare.\n */\n showCloseButton?: boolean;\n children: ReactNode;\n}\n\nexport function CommandDialog({\n title = 'Command Palette',\n description = 'Search for a command to run...',\n children,\n className,\n showCloseButton = false,\n ...props\n}: CommandDialogProps) {\n return (\n <Dialog {...props}>\n <DialogHeader className={styles.srOnly}>\n <DialogTitle>{title}</DialogTitle>\n <DialogDescription>{description}</DialogDescription>\n </DialogHeader>\n <DialogContent className={cx(styles.dialogPopup, className)} showCloseButton={showCloseButton}>\n {/*\n * CommandInput/CommandList/CommandItem/CommandGroup all read their\n * shared state off the nearest ancestor <Command> root's React\n * context (cmdk's internal Provider pair) — without this wrapper\n * they don't just lose styling, `Command.Item`'s registration\n * effect throws trying to call a context value that doesn't exist.\n * cmdk's own bundled `Command.Dialog` (which this kit does NOT use,\n * composing its own Dialog instead — see command.md) wraps its\n * children in exactly this same root internally, for the same\n * reason.\n */}\n <Command className={styles.command}>{children}</Command>\n </DialogContent>\n </Dialog>\n );\n}\n\nexport interface CommandInputProps\n extends Omit<ComponentProps<typeof CommandPrimitive.Input>, 'className'> {\n className?: string;\n /** className for the wrapper div around the icon + input. */\n wrapperClassName?: string;\n}\n\nexport function CommandInput({ className, wrapperClassName, ...props }: CommandInputProps) {\n return (\n <div className={cx(styles.inputWrapper, wrapperClassName)}>\n <SearchIcon className={cx(styles.svgIcon, styles.inputIcon)} />\n <CommandPrimitive.Input className={cx(styles.input, className)} {...props} />\n </div>\n );\n}\n\nexport type CommandListProps = ComponentProps<typeof CommandPrimitive.List>;\n\nexport function CommandList({ className, ...props }: CommandListProps) {\n return <CommandPrimitive.List className={cx(styles.list, className)} {...props} />;\n}\n\nexport type CommandEmptyProps = ComponentProps<typeof CommandPrimitive.Empty>;\n\nexport function CommandEmpty({ className, ...props }: CommandEmptyProps) {\n return <CommandPrimitive.Empty className={cx(styles.empty, className)} {...props} />;\n}\n\nexport type CommandGroupProps = ComponentProps<typeof CommandPrimitive.Group>;\n\nexport function CommandGroup({ className, ...props }: CommandGroupProps) {\n return <CommandPrimitive.Group className={cx(styles.group, className)} {...props} />;\n}\n\nexport type CommandItemProps = ComponentProps<typeof CommandPrimitive.Item>;\n\nexport function CommandItem({ className, ...props }: CommandItemProps) {\n return <CommandPrimitive.Item className={cx(styles.item, className)} {...props} />;\n}\n\nexport type CommandShortcutProps = ComponentProps<'span'>;\n\nexport function CommandShortcut({ className, ...props }: CommandShortcutProps) {\n return <span className={cx(styles.shortcut, className)} {...props} />;\n}\n\nexport type CommandSeparatorProps = ComponentProps<typeof CommandPrimitive.Separator>;\n\nexport function CommandSeparator({ className, ...props }: CommandSeparatorProps) {\n return <CommandPrimitive.Separator className={cx(styles.separator, className)} {...props} />;\n}\n"],"names":["Command","className","props","jsx","CommandPrimitive","cx","styles","CommandDialog","title","description","children","showCloseButton","jsxs","Dialog","DialogHeader","DialogTitle","DialogDescription","DialogContent","CommandInput","wrapperClassName","SearchIcon","CommandList","CommandEmpty","CommandGroup","CommandItem","CommandShortcut","CommandSeparator"],"mappings":";;;;;;;;;;;;;;;;;;;;AAiBO,SAASA,EAAQ,EAAE,WAAAC,GAAW,GAAGC,KAAuB;AAC7D,SAAO,gBAAAC,EAACC,KAAiB,WAAWC,EAAGC,EAAO,SAASL,CAAS,GAAI,GAAGC,GAAO;AAChF;AAsBO,SAASK,EAAc;AAAA,EAC5B,OAAAC,IAAQ;AAAA,EACR,aAAAC,IAAc;AAAA,EACd,UAAAC;AAAA,EACA,WAAAT;AAAA,EACA,iBAAAU,IAAkB;AAAA,EAClB,GAAGT;AACL,GAAuB;AACrB,SACE,gBAAAU,EAACC,GAAA,EAAQ,GAAGX,GACV,UAAA;AAAA,IAAA,gBAAAU,EAACE,GAAA,EAAa,WAAWR,EAAO,QAC9B,UAAA;AAAA,MAAA,gBAAAH,EAACY,KAAa,UAAAP,EAAA,CAAM;AAAA,MACpB,gBAAAL,EAACa,KAAmB,UAAAP,EAAA,CAAY;AAAA,IAAA,GAClC;AAAA,IACA,gBAAAN,EAACc,GAAA,EAAc,WAAWZ,EAAGC,EAAO,aAAaL,CAAS,GAAG,iBAAAU,GAY3D,4BAACX,GAAA,EAAQ,WAAWM,EAAO,SAAU,UAAAI,GAAS,EAAA,CAChD;AAAA,EAAA,GACF;AAEJ;AASO,SAASQ,EAAa,EAAE,WAAAjB,GAAW,kBAAAkB,GAAkB,GAAGjB,KAA4B;AACzF,2BACG,OAAA,EAAI,WAAWG,EAAGC,EAAO,cAAca,CAAgB,GACtD,UAAA;AAAA,IAAA,gBAAAhB,EAACiB,KAAW,WAAWf,EAAGC,EAAO,SAASA,EAAO,SAAS,GAAG;AAAA,IAC7D,gBAAAH,EAACC,EAAiB,OAAjB,EAAuB,WAAWC,EAAGC,EAAO,OAAOL,CAAS,GAAI,GAAGC,EAAA,CAAO;AAAA,EAAA,GAC7E;AAEJ;AAIO,SAASmB,EAAY,EAAE,WAAApB,GAAW,GAAGC,KAA2B;AACrE,SAAO,gBAAAC,EAACC,EAAiB,MAAjB,EAAsB,WAAWC,EAAGC,EAAO,MAAML,CAAS,GAAI,GAAGC,EAAA,CAAO;AAClF;AAIO,SAASoB,EAAa,EAAE,WAAArB,GAAW,GAAGC,KAA4B;AACvE,SAAO,gBAAAC,EAACC,EAAiB,OAAjB,EAAuB,WAAWC,EAAGC,EAAO,OAAOL,CAAS,GAAI,GAAGC,EAAA,CAAO;AACpF;AAIO,SAASqB,EAAa,EAAE,WAAAtB,GAAW,GAAGC,KAA4B;AACvE,SAAO,gBAAAC,EAACC,EAAiB,OAAjB,EAAuB,WAAWC,EAAGC,EAAO,OAAOL,CAAS,GAAI,GAAGC,EAAA,CAAO;AACpF;AAIO,SAASsB,EAAY,EAAE,WAAAvB,GAAW,GAAGC,KAA2B;AACrE,SAAO,gBAAAC,EAACC,EAAiB,MAAjB,EAAsB,WAAWC,EAAGC,EAAO,MAAML,CAAS,GAAI,GAAGC,EAAA,CAAO;AAClF;AAIO,SAASuB,EAAgB,EAAE,WAAAxB,GAAW,GAAGC,KAA+B;AAC7E,SAAO,gBAAAC,EAAC,UAAK,WAAWE,EAAGC,EAAO,UAAUL,CAAS,GAAI,GAAGC,GAAO;AACrE;AAIO,SAASwB,EAAiB,EAAE,WAAAzB,GAAW,GAAGC,KAAgC;AAC/E,SAAO,gBAAAC,EAACC,EAAiB,WAAjB,EAA2B,WAAWC,EAAGC,EAAO,WAAWL,CAAS,GAAI,GAAGC,EAAA,CAAO;AAC5F;"}
@@ -0,0 +1,24 @@
1
+ import { Accordion as AccordionPrimitive } from '@base-ui/react/accordion';
2
+ /**
3
+ * Unlike the kit's popup-based overlays (Dialog/Popover/Tooltip/...), whose
4
+ * Root renders no DOM element of its own, Accordion.Root renders the
5
+ * top-level `<div>` — so it needs a real wrapper (for the base flex-column
6
+ * layout), not a bare pass-through re-export.
7
+ */
8
+ export interface AccordionProps<Value = unknown> extends Omit<AccordionPrimitive.Root.Props<Value>, 'className'> {
9
+ className?: string;
10
+ }
11
+ export declare function Accordion<Value = unknown>({ className, ...props }: AccordionProps<Value>): import("react").JSX.Element;
12
+ export interface AccordionItemProps extends Omit<AccordionPrimitive.Item.Props, 'className'> {
13
+ className?: string;
14
+ }
15
+ export declare function AccordionItem({ className, ...props }: AccordionItemProps): import("react").JSX.Element;
16
+ export interface AccordionTriggerProps extends Omit<AccordionPrimitive.Trigger.Props, 'className'> {
17
+ className?: string;
18
+ }
19
+ export declare function AccordionTrigger({ className, children, ...props }: AccordionTriggerProps): import("react").JSX.Element;
20
+ export interface AccordionContentProps extends Omit<AccordionPrimitive.Panel.Props, 'className'> {
21
+ className?: string;
22
+ }
23
+ export declare function AccordionContent({ className, children, ...props }: AccordionContentProps): import("react").JSX.Element;
24
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/accordion.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAM3E;;;;;GAKG;AACH,MAAM,WAAW,cAAc,CAAC,KAAK,GAAG,OAAO,CAC7C,SAAQ,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,SAAS,CAAC,KAAK,GAAG,OAAO,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,+BAExF;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAExE;AAED,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAaxF;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC;IAC9F,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAMxF"}
@@ -0,0 +1,2 @@
1
+ export { Accordion, type AccordionProps, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, AccordionTrigger, type AccordionTriggerProps, } from './accordion.js';
2
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,aAAa,EACb,KAAK,kBAAkB,EACvB,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ComponentProps } from 'react';
3
+ declare const alertVariants: (props?: ({
4
+ variant?: "default" | "destructive" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type AlertProps = ComponentProps<'div'> & VariantProps<typeof alertVariants>;
7
+ export declare function Alert({ className, variant, ...props }: AlertProps): import("react").JSX.Element;
8
+ export type AlertTitleProps = ComponentProps<'div'>;
9
+ export declare function AlertTitle({ className, ...props }: AlertTitleProps): import("react").JSX.Element;
10
+ export type AlertDescriptionProps = ComponentProps<'div'>;
11
+ export declare function AlertDescription({ className, ...props }: AlertDescriptionProps): import("react").JSX.Element;
12
+ /**
13
+ * Positions in the alert's top-right corner (see alert.module.css) — an
14
+ * `AlertAction` present as a direct child also reserves room in the
15
+ * alert's own padding so body text never runs under it, detected the same
16
+ * structural way (no prop to set).
17
+ */
18
+ export type AlertActionProps = ComponentProps<'div'>;
19
+ export declare function AlertAction({ className, ...props }: AlertActionProps): import("react").JSX.Element;
20
+ export {};
21
+ //# sourceMappingURL=alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAc5C,QAAA,MAAM,aAAa;;8EAUjB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpF,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAEjE;AAED,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEpD,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAElE;AAED,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE1D,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAE9E;AAED;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAErD,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAEpE"}
@@ -0,0 +1,2 @@
1
+ export { Alert, type AlertProps, AlertAction, type AlertActionProps, AlertDescription, type AlertDescriptionProps, AlertTitle, type AlertTitleProps, } from './alert.js';
2
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/alert/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,KAAK,UAAU,EACf,WAAW,EACX,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,UAAU,EACV,KAAK,eAAe,GACrB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,95 @@
1
+ import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';
2
+ import { ComponentProps } from 'react';
3
+ import { ButtonProps } from '../button/button';
4
+ export declare const AlertDialog: typeof AlertDialogPrimitive.Root;
5
+ /**
6
+ * Base UI pass-through; props type re-exported (see dialog.tsx).
7
+ */
8
+ export type AlertDialogProps = AlertDialogPrimitive.Root.Props;
9
+ export interface AlertDialogTriggerProps extends Omit<AlertDialogPrimitive.Trigger.Props, 'className'> {
10
+ className?: string;
11
+ }
12
+ export declare function AlertDialogTrigger({ className, ...props }: AlertDialogTriggerProps): import("react").JSX.Element;
13
+ export interface AlertDialogContentProps extends Omit<AlertDialogPrimitive.Popup.Props, 'className'> {
14
+ className?: string;
15
+ /**
16
+ * Where to portal the popup. Defaults to <body>. Pass a themed container
17
+ * when the theme is scoped to a subtree (data-theme on a container that
18
+ * isn't at document root) so the popup inherits its tokens and font.
19
+ */
20
+ container?: AlertDialogPrimitive.Portal.Props['container'];
21
+ /**
22
+ * Renders the dimming backdrop behind the popup. An alert dialog is
23
+ * always modal (Base UI does not offer a non-modal AlertDialog — unlike
24
+ * Dialog's `modal={false}`, there is no escape hatch to pair this with),
25
+ * so this only controls whether the scrim itself paints.
26
+ * @default true
27
+ */
28
+ showBackdrop?: boolean;
29
+ /**
30
+ * `sm` narrows the max width and stacks `AlertDialogAction`/
31
+ * `AlertDialogCancel` into two equal columns instead of a row.
32
+ * Read by `AlertDialogFooter`'s CSS off this popup's `data-size`
33
+ * attribute — the same "group" relationship upstream expresses with
34
+ * Tailwind's `group-data-*` variant, expressed here as a plain CSS
35
+ * Modules descendant selector.
36
+ * @default 'default'
37
+ */
38
+ size?: 'default' | 'sm';
39
+ }
40
+ export declare function AlertDialogContent({ className, children, container, showBackdrop, size, ...props }: AlertDialogContentProps): import("react").JSX.Element;
41
+ export type AlertDialogHeaderProps = ComponentProps<'div'>;
42
+ export declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): import("react").JSX.Element;
43
+ export type AlertDialogFooterProps = ComponentProps<'div'>;
44
+ export declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): import("react").JSX.Element;
45
+ /**
46
+ * An icon or small illustration slot beside the header text (e.g. a
47
+ * warning glyph for a destructive confirmation). Purely a styled
48
+ * container — pass any icon/image as children.
49
+ */
50
+ export type AlertDialogMediaProps = ComponentProps<'div'>;
51
+ export declare function AlertDialogMedia({ className, ...props }: AlertDialogMediaProps): import("react").JSX.Element;
52
+ export interface AlertDialogTitleProps extends Omit<AlertDialogPrimitive.Title.Props, 'className'> {
53
+ className?: string;
54
+ }
55
+ export declare function AlertDialogTitle({ className, ...props }: AlertDialogTitleProps): import("react").JSX.Element;
56
+ export interface AlertDialogDescriptionProps extends Omit<AlertDialogPrimitive.Description.Props, 'className'> {
57
+ className?: string;
58
+ }
59
+ export declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): import("react").JSX.Element;
60
+ export interface AlertDialogActionProps extends Omit<AlertDialogPrimitive.Close.Props, 'className'>, Pick<ButtonProps, 'variant' | 'size' | 'loading' | 'icon'> {
61
+ className?: string;
62
+ }
63
+ /**
64
+ * The dialog's confirming action — a Base UI `AlertDialog.Close` rendered as
65
+ * a kit `Button` (`default` variant unless overridden), the same
66
+ * `render`-prop idiom as `AlertDialogCancel`. Confirming dismisses the
67
+ * dialog, matching upstream, where this part is the primitive's own Action
68
+ * (a Close in everything but name).
69
+ *
70
+ * An `onClick` of your own still runs, and runs FIRST: Base UI merges the
71
+ * consumer handler ahead of its own close handler (see mergeProps'
72
+ * right-to-left order). An async confirm that must keep the dialog open
73
+ * while it works calls `event.preventBaseUIHandler()` in that handler and
74
+ * drives `open` itself.
75
+ *
76
+ * `loading` is the other half of that flow, and the reason this part takes
77
+ * more of `Button`'s surface than `AlertDialogCancel` does: the confirming
78
+ * action is the one that does work. A `loading` Button is disabled (see
79
+ * button.tsx), so the pattern completes itself — prevent the close, set
80
+ * `loading`, and the same button cannot be pressed a second time while the
81
+ * request is in flight. `icon` comes along for the ordinary reason any
82
+ * confirm button might carry a glyph; NEVER as a child (button.tsx's own
83
+ * doc says why).
84
+ */
85
+ export declare function AlertDialogAction({ className, variant, size, loading, icon, ...props }: AlertDialogActionProps): import("react").JSX.Element;
86
+ export interface AlertDialogCancelProps extends Omit<AlertDialogPrimitive.Close.Props, 'className'>, Pick<ButtonProps, 'variant' | 'size'> {
87
+ className?: string;
88
+ }
89
+ /**
90
+ * The dialog's dismissing action — a Base UI `AlertDialog.Close` rendered
91
+ * as a kit `Button` (`outline` variant by default), same `render`-prop
92
+ * idiom as `DialogContent`'s built-in close button.
93
+ */
94
+ export declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialogCancelProps): import("react").JSX.Element;
95
+ //# sourceMappingURL=alert-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/alert-dialog/alert-dialog.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export { AlertDialog, type AlertDialogProps, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogMedia, type AlertDialogMediaProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, } from './alert-dialog.js';
2
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/alert-dialog/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ComponentProps } from 'react';
2
+ export interface AspectRatioProps extends Omit<ComponentProps<'div'>, 'className'> {
3
+ className?: string;
4
+ /** Width-to-height ratio, e.g. `16 / 9` or `1`. */
5
+ ratio: number;
6
+ }
7
+ export declare function AspectRatio({ ratio, className, style, ...props }: AspectRatioProps): import("react").JSX.Element;
8
+ //# sourceMappingURL=aspect-ratio.d.ts.map