@minidev.fun/ui 1.0.3 → 1.0.5

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 (329) hide show
  1. package/dist/accordion.d.ts +36 -0
  2. package/dist/alert-dialog.d.ts +114 -0
  3. package/dist/alert.d.ts +41 -0
  4. package/dist/aspect-ratio.d.ts +14 -0
  5. package/dist/avatar.d.ts +55 -0
  6. package/dist/badge.d.ts +22 -0
  7. package/dist/breadcrumb.d.ts +54 -0
  8. package/dist/button-group.d.ts +45 -0
  9. package/dist/button.d.ts +46 -0
  10. package/dist/calendar.d.ts +68 -0
  11. package/dist/card.d.ts +45 -0
  12. package/dist/carousel.d.ts +116 -0
  13. package/dist/chart.d.ts +85 -0
  14. package/dist/checkbox.d.ts +14 -0
  15. package/dist/collapsible.d.ts +28 -0
  16. package/dist/combobox.d.ts +113 -0
  17. package/dist/command.d.ts +90 -0
  18. package/dist/components/minidev.fun/color-mode/color-mode-toggle.js +2 -2
  19. package/dist/components/minidev.fun/color-mode/index.js +9 -0
  20. package/dist/components/minidev.fun/first-light/first-light-filters.js +114 -0
  21. package/dist/components/minidev.fun/first-light/first-light-filters.js.map +1 -0
  22. package/dist/components/minidev.fun/first-light/index.js +5 -0
  23. package/dist/components/minidev.fun/first-light/index.js.map +1 -0
  24. package/dist/components/minidev.fun/typography/blockquote.js +23 -0
  25. package/dist/components/minidev.fun/typography/blockquote.js.map +1 -0
  26. package/dist/components/minidev.fun/typography/code.js +23 -0
  27. package/dist/components/minidev.fun/typography/code.js.map +1 -0
  28. package/dist/components/minidev.fun/typography/index.js +15 -0
  29. package/dist/components/minidev.fun/typography/index.js.map +1 -0
  30. package/dist/components/minidev.fun/typography/list-item.js +19 -0
  31. package/dist/components/minidev.fun/typography/list-item.js.map +1 -0
  32. package/dist/components/minidev.fun/typography/text.js +59 -0
  33. package/dist/components/minidev.fun/typography/text.js.map +1 -0
  34. package/dist/components/minidev.fun/typography/title.js +47 -0
  35. package/dist/components/minidev.fun/typography/title.js.map +1 -0
  36. package/dist/components/ui/{src/components/ui/accordion.js → accordion.js} +8 -8
  37. package/dist/components/ui/accordion.js.map +1 -0
  38. package/dist/components/ui/{src/components/ui/alert-dialog.js → alert-dialog.js} +9 -9
  39. package/dist/components/ui/alert-dialog.js.map +1 -0
  40. package/dist/components/ui/{src/components/ui/alert.js → alert.js} +2 -2
  41. package/dist/components/ui/alert.js.map +1 -0
  42. package/dist/components/ui/{src/components/ui/aspect-ratio.js → aspect-ratio.js} +1 -1
  43. package/dist/components/ui/aspect-ratio.js.map +1 -0
  44. package/dist/components/ui/{src/components/ui/avatar.js → avatar.js} +4 -4
  45. package/dist/components/ui/avatar.js.map +1 -0
  46. package/dist/components/ui/{src/components/ui/badge.js → badge.js} +4 -4
  47. package/dist/components/ui/badge.js.map +1 -0
  48. package/dist/components/ui/{src/components/ui/breadcrumb.js → breadcrumb.js} +5 -5
  49. package/dist/components/ui/breadcrumb.js.map +1 -0
  50. package/dist/components/ui/{src/components/ui/button-group.js → button-group.js} +4 -4
  51. package/dist/components/ui/button-group.js.map +1 -0
  52. package/dist/components/ui/{src/components/ui/button.js → button.js} +3 -3
  53. package/dist/components/ui/button.js.map +1 -0
  54. package/dist/components/ui/{src/components/ui/calendar.js → calendar.js} +4 -4
  55. package/dist/components/ui/calendar.js.map +1 -0
  56. package/dist/components/ui/{src/components/ui/card.js → card.js} +1 -1
  57. package/dist/components/ui/card.js.map +1 -0
  58. package/dist/components/ui/{src/components/ui/carousel.js → carousel.js} +3 -3
  59. package/dist/components/ui/carousel.js.map +1 -0
  60. package/dist/components/ui/{src/components/ui/chart.js → chart.js} +1 -1
  61. package/dist/components/ui/chart.js.map +1 -0
  62. package/dist/components/ui/{src/components/ui/checkbox.js → checkbox.js} +4 -4
  63. package/dist/components/ui/checkbox.js.map +1 -0
  64. package/dist/components/ui/{src/components/ui/collapsible.js → collapsible.js} +3 -3
  65. package/dist/components/ui/collapsible.js.map +1 -0
  66. package/dist/components/ui/{src/components/ui/combobox.js → combobox.js} +23 -23
  67. package/dist/components/ui/combobox.js.map +1 -0
  68. package/dist/components/ui/{src/components/ui/command.js → command.js} +4 -4
  69. package/dist/components/ui/command.js.map +1 -0
  70. package/dist/components/ui/{src/components/ui/context-menu.js → context-menu.js} +20 -20
  71. package/dist/components/ui/context-menu.js.map +1 -0
  72. package/dist/components/ui/{src/components/ui/dialog.js → dialog.js} +10 -10
  73. package/dist/components/ui/dialog.js.map +1 -0
  74. package/dist/components/ui/{src/components/ui/drawer.js → drawer.js} +2 -2
  75. package/dist/components/ui/drawer.js.map +1 -0
  76. package/dist/components/ui/{src/components/ui/dropdown-menu.js → dropdown-menu.js} +20 -20
  77. package/dist/components/ui/dropdown-menu.js.map +1 -0
  78. package/dist/components/ui/{src/components/ui/empty.js → empty.js} +2 -2
  79. package/dist/components/ui/empty.js.map +1 -0
  80. package/dist/components/ui/{src/components/ui/field.js → field.js} +2 -2
  81. package/dist/components/ui/field.js.map +1 -0
  82. package/dist/components/ui/{src/components/ui/hover-card.js → hover-card.js} +6 -6
  83. package/dist/components/ui/hover-card.js.map +1 -0
  84. package/dist/components/ui/{src/components/ui/input-group.js → input-group.js} +2 -2
  85. package/dist/components/ui/input-group.js.map +1 -0
  86. package/dist/components/ui/{src/components/ui/input-otp.js → input-otp.js} +2 -2
  87. package/dist/components/ui/input-otp.js.map +1 -0
  88. package/dist/components/ui/{src/components/ui/input.js → input.js} +2 -2
  89. package/dist/components/ui/input.js.map +1 -0
  90. package/dist/components/ui/{src/components/ui/item.js → item.js} +4 -4
  91. package/dist/components/ui/item.js.map +1 -0
  92. package/dist/components/ui/{src/components/ui/kbd.js → kbd.js} +1 -1
  93. package/dist/components/ui/kbd.js.map +1 -0
  94. package/dist/components/ui/{src/components/ui/label.js → label.js} +1 -1
  95. package/dist/components/ui/label.js.map +1 -0
  96. package/dist/components/ui/{src/components/ui/menubar.js → menubar.js} +9 -9
  97. package/dist/components/ui/menubar.js.map +1 -0
  98. package/dist/components/ui/{src/components/ui/modal.js → modal.js} +9 -9
  99. package/dist/components/ui/modal.js.map +1 -0
  100. package/dist/components/ui/{src/components/ui/navigation-menu.js → navigation-menu.js} +14 -14
  101. package/dist/components/ui/navigation-menu.js.map +1 -0
  102. package/dist/components/ui/{src/components/ui/pagination.js → pagination.js} +4 -4
  103. package/dist/components/ui/pagination.js.map +1 -0
  104. package/dist/components/ui/{src/components/ui/popover.js → popover.js} +8 -8
  105. package/dist/components/ui/popover.js.map +1 -0
  106. package/dist/components/ui/{src/components/ui/progress.js → progress.js} +6 -6
  107. package/dist/components/ui/progress.js.map +1 -0
  108. package/dist/components/ui/{src/components/ui/radio-group.js → radio-group.js} +5 -5
  109. package/dist/components/ui/radio-group.js.map +1 -0
  110. package/dist/components/ui/{src/components/ui/resizable.js → resizable.js} +2 -2
  111. package/dist/components/ui/resizable.js.map +1 -0
  112. package/dist/components/ui/{src/components/ui/scroll-area.js → scroll-area.js} +6 -6
  113. package/dist/components/ui/scroll-area.js.map +1 -0
  114. package/dist/components/ui/{src/components/ui/select.js → select.js} +20 -20
  115. package/dist/components/ui/select.js.map +1 -0
  116. package/dist/components/ui/{src/components/ui/separator.js → separator.js} +2 -2
  117. package/dist/components/ui/separator.js.map +1 -0
  118. package/dist/components/ui/{src/components/ui/sheet.js → sheet.js} +10 -10
  119. package/dist/components/ui/sheet.js.map +1 -0
  120. package/dist/components/ui/{src/components/ui/sidebar.js → sidebar.js} +6 -6
  121. package/dist/components/ui/sidebar.js.map +1 -0
  122. package/dist/components/ui/{src/components/ui/skeleton.js → skeleton.js} +1 -1
  123. package/dist/components/ui/skeleton.js.map +1 -0
  124. package/dist/components/ui/{src/components/ui/slider.js → slider.js} +6 -6
  125. package/dist/components/ui/slider.js.map +1 -0
  126. package/dist/components/ui/{src/components/ui/sonner.js → sonner.js} +7 -7
  127. package/dist/components/ui/sonner.js.map +1 -0
  128. package/dist/components/ui/{src/components/ui/spinner.js → spinner.js} +2 -2
  129. package/dist/components/ui/spinner.js.map +1 -0
  130. package/dist/components/ui/{src/components/ui/switch.js → switch.js} +3 -3
  131. package/dist/components/ui/switch.js.map +1 -0
  132. package/dist/components/ui/{src/components/ui/table.js → table.js} +1 -1
  133. package/dist/components/ui/table.js.map +1 -0
  134. package/dist/components/ui/{src/components/ui/tabs.js → tabs.js} +6 -6
  135. package/dist/components/ui/tabs.js.map +1 -0
  136. package/dist/components/ui/{src/components/ui/textarea.js → textarea.js} +1 -1
  137. package/dist/components/ui/textarea.js.map +1 -0
  138. package/dist/components/ui/{src/components/ui/toast.js → toast.js} +6 -6
  139. package/dist/components/ui/toast.js.map +1 -0
  140. package/dist/components/ui/{src/components/ui/toggle-group.js → toggle-group.js} +3 -3
  141. package/dist/components/ui/toggle-group.js.map +1 -0
  142. package/dist/components/ui/{src/components/ui/toggle.js → toggle.js} +3 -3
  143. package/dist/components/ui/toggle.js.map +1 -0
  144. package/dist/components/ui/{src/components/ui/tooltip.js → tooltip.js} +8 -8
  145. package/dist/components/ui/tooltip.js.map +1 -0
  146. package/dist/context-menu.d.ts +97 -0
  147. package/dist/dialog.d.ts +90 -0
  148. package/dist/drawer.d.ts +61 -0
  149. package/dist/dropdown-menu.d.ts +121 -0
  150. package/dist/empty.d.ts +56 -0
  151. package/dist/field.d.ts +109 -0
  152. package/dist/hooks/use-mobile.js.map +1 -0
  153. package/dist/hover-card.d.ts +28 -0
  154. package/dist/index.d.ts +290 -0
  155. package/dist/input-group.d.ts +106 -0
  156. package/dist/input-otp.d.ts +43 -0
  157. package/dist/input.d.ts +14 -0
  158. package/dist/item.d.ts +101 -0
  159. package/dist/kbd.d.ts +19 -0
  160. package/dist/label.d.ts +12 -0
  161. package/dist/lib/variants.js +103 -1
  162. package/dist/lib/variants.js.map +1 -1
  163. package/dist/menubar.d.ts +205 -0
  164. package/dist/modal.d.ts +104 -0
  165. package/dist/navigation-menu.d.ts +66 -0
  166. package/dist/pagination.d.ts +99 -0
  167. package/dist/popover.d.ts +55 -0
  168. package/dist/progress.d.ts +41 -0
  169. package/dist/radio-group.d.ts +21 -0
  170. package/dist/resizable.d.ts +47 -0
  171. package/dist/scroll-area.d.ts +69 -0
  172. package/dist/select.d.ts +79 -0
  173. package/dist/separator.d.ts +12 -0
  174. package/dist/sheet.d.ts +68 -0
  175. package/dist/sidebar.d.ts +288 -0
  176. package/dist/skeleton.d.ts +11 -0
  177. package/dist/slider.d.ts +24 -0
  178. package/dist/sonner.d.ts +27 -0
  179. package/dist/spinner.d.ts +11 -0
  180. package/dist/switch.d.ts +15 -0
  181. package/dist/table.d.ts +68 -0
  182. package/dist/tabs.d.ts +42 -0
  183. package/dist/textarea.d.ts +21 -0
  184. package/dist/toast.d.ts +15 -0
  185. package/dist/toggle-group.d.ts +36 -0
  186. package/dist/toggle.d.ts +19 -0
  187. package/dist/tooltip.d.ts +36 -0
  188. package/dist/use-mobile.d.ts +19 -0
  189. package/dist/utils.d.ts +25 -0
  190. package/package.json +1 -1
  191. package/dist/components/minidev.fun/color-mode/color-mode-initializer.d.ts +0 -46
  192. package/dist/components/minidev.fun/color-mode/color-mode-initializer.d.ts.map +0 -1
  193. package/dist/components/minidev.fun/color-mode/color-mode-toggle.d.ts +0 -106
  194. package/dist/components/minidev.fun/color-mode/color-mode-toggle.d.ts.map +0 -1
  195. package/dist/components/minidev.fun/color-mode/index.d.ts.map +0 -1
  196. package/dist/components/minidev.fun/color-mode/use-color-mode.d.ts +0 -91
  197. package/dist/components/minidev.fun/color-mode/use-color-mode.d.ts.map +0 -1
  198. package/dist/components/minidev.fun/first-light/first-light-filters.d.ts +0 -27
  199. package/dist/components/minidev.fun/first-light/first-light-filters.d.ts.map +0 -1
  200. package/dist/components/minidev.fun/first-light/index.d.ts.map +0 -1
  201. package/dist/components/minidev.fun/typography/blockquote.d.ts +0 -13
  202. package/dist/components/minidev.fun/typography/blockquote.d.ts.map +0 -1
  203. package/dist/components/minidev.fun/typography/code.d.ts +0 -13
  204. package/dist/components/minidev.fun/typography/code.d.ts.map +0 -1
  205. package/dist/components/minidev.fun/typography/index.d.ts.map +0 -1
  206. package/dist/components/minidev.fun/typography/list-item.d.ts +0 -27
  207. package/dist/components/minidev.fun/typography/list-item.d.ts.map +0 -1
  208. package/dist/components/minidev.fun/typography/text.d.ts +0 -44
  209. package/dist/components/minidev.fun/typography/text.d.ts.map +0 -1
  210. package/dist/components/minidev.fun/typography/title.d.ts +0 -22
  211. package/dist/components/minidev.fun/typography/title.d.ts.map +0 -1
  212. package/dist/components/minidev.fun/undefined/index.js +0 -9
  213. package/dist/components/ui/accordion.d.ts.map +0 -1
  214. package/dist/components/ui/alert-dialog.d.ts.map +0 -1
  215. package/dist/components/ui/alert.d.ts.map +0 -1
  216. package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
  217. package/dist/components/ui/avatar.d.ts.map +0 -1
  218. package/dist/components/ui/badge.d.ts.map +0 -1
  219. package/dist/components/ui/breadcrumb.d.ts.map +0 -1
  220. package/dist/components/ui/button-group.d.ts.map +0 -1
  221. package/dist/components/ui/button.d.ts.map +0 -1
  222. package/dist/components/ui/calendar.d.ts.map +0 -1
  223. package/dist/components/ui/card.d.ts.map +0 -1
  224. package/dist/components/ui/carousel.d.ts.map +0 -1
  225. package/dist/components/ui/chart.d.ts.map +0 -1
  226. package/dist/components/ui/checkbox.d.ts.map +0 -1
  227. package/dist/components/ui/collapsible.d.ts.map +0 -1
  228. package/dist/components/ui/combobox.d.ts.map +0 -1
  229. package/dist/components/ui/command.d.ts.map +0 -1
  230. package/dist/components/ui/context-menu.d.ts.map +0 -1
  231. package/dist/components/ui/dialog.d.ts.map +0 -1
  232. package/dist/components/ui/drawer.d.ts.map +0 -1
  233. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  234. package/dist/components/ui/empty.d.ts.map +0 -1
  235. package/dist/components/ui/field.d.ts.map +0 -1
  236. package/dist/components/ui/hover-card.d.ts.map +0 -1
  237. package/dist/components/ui/input-group.d.ts.map +0 -1
  238. package/dist/components/ui/input-otp.d.ts.map +0 -1
  239. package/dist/components/ui/input.d.ts.map +0 -1
  240. package/dist/components/ui/item.d.ts.map +0 -1
  241. package/dist/components/ui/kbd.d.ts.map +0 -1
  242. package/dist/components/ui/label.d.ts.map +0 -1
  243. package/dist/components/ui/menubar.d.ts.map +0 -1
  244. package/dist/components/ui/modal.d.ts.map +0 -1
  245. package/dist/components/ui/navigation-menu.d.ts.map +0 -1
  246. package/dist/components/ui/pagination.d.ts.map +0 -1
  247. package/dist/components/ui/popover.d.ts.map +0 -1
  248. package/dist/components/ui/progress.d.ts.map +0 -1
  249. package/dist/components/ui/radio-group.d.ts.map +0 -1
  250. package/dist/components/ui/resizable.d.ts.map +0 -1
  251. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  252. package/dist/components/ui/select.d.ts.map +0 -1
  253. package/dist/components/ui/separator.d.ts.map +0 -1
  254. package/dist/components/ui/sheet.d.ts.map +0 -1
  255. package/dist/components/ui/sidebar.d.ts.map +0 -1
  256. package/dist/components/ui/skeleton.d.ts.map +0 -1
  257. package/dist/components/ui/slider.d.ts.map +0 -1
  258. package/dist/components/ui/sonner.d.ts.map +0 -1
  259. package/dist/components/ui/spinner.d.ts.map +0 -1
  260. package/dist/components/ui/src/components/ui/accordion.js.map +0 -1
  261. package/dist/components/ui/src/components/ui/alert-dialog.js.map +0 -1
  262. package/dist/components/ui/src/components/ui/alert.js.map +0 -1
  263. package/dist/components/ui/src/components/ui/aspect-ratio.js.map +0 -1
  264. package/dist/components/ui/src/components/ui/avatar.js.map +0 -1
  265. package/dist/components/ui/src/components/ui/badge.js.map +0 -1
  266. package/dist/components/ui/src/components/ui/breadcrumb.js.map +0 -1
  267. package/dist/components/ui/src/components/ui/button-group.js.map +0 -1
  268. package/dist/components/ui/src/components/ui/button.js.map +0 -1
  269. package/dist/components/ui/src/components/ui/calendar.js.map +0 -1
  270. package/dist/components/ui/src/components/ui/card.js.map +0 -1
  271. package/dist/components/ui/src/components/ui/carousel.js.map +0 -1
  272. package/dist/components/ui/src/components/ui/chart.js.map +0 -1
  273. package/dist/components/ui/src/components/ui/checkbox.js.map +0 -1
  274. package/dist/components/ui/src/components/ui/collapsible.js.map +0 -1
  275. package/dist/components/ui/src/components/ui/combobox.js.map +0 -1
  276. package/dist/components/ui/src/components/ui/command.js.map +0 -1
  277. package/dist/components/ui/src/components/ui/context-menu.js.map +0 -1
  278. package/dist/components/ui/src/components/ui/dialog.js.map +0 -1
  279. package/dist/components/ui/src/components/ui/drawer.js.map +0 -1
  280. package/dist/components/ui/src/components/ui/dropdown-menu.js.map +0 -1
  281. package/dist/components/ui/src/components/ui/empty.js.map +0 -1
  282. package/dist/components/ui/src/components/ui/field.js.map +0 -1
  283. package/dist/components/ui/src/components/ui/hover-card.js.map +0 -1
  284. package/dist/components/ui/src/components/ui/input-group.js.map +0 -1
  285. package/dist/components/ui/src/components/ui/input-otp.js.map +0 -1
  286. package/dist/components/ui/src/components/ui/input.js.map +0 -1
  287. package/dist/components/ui/src/components/ui/item.js.map +0 -1
  288. package/dist/components/ui/src/components/ui/kbd.js.map +0 -1
  289. package/dist/components/ui/src/components/ui/label.js.map +0 -1
  290. package/dist/components/ui/src/components/ui/menubar.js.map +0 -1
  291. package/dist/components/ui/src/components/ui/modal.js.map +0 -1
  292. package/dist/components/ui/src/components/ui/navigation-menu.js.map +0 -1
  293. package/dist/components/ui/src/components/ui/pagination.js.map +0 -1
  294. package/dist/components/ui/src/components/ui/popover.js.map +0 -1
  295. package/dist/components/ui/src/components/ui/progress.js.map +0 -1
  296. package/dist/components/ui/src/components/ui/radio-group.js.map +0 -1
  297. package/dist/components/ui/src/components/ui/resizable.js.map +0 -1
  298. package/dist/components/ui/src/components/ui/scroll-area.js.map +0 -1
  299. package/dist/components/ui/src/components/ui/select.js.map +0 -1
  300. package/dist/components/ui/src/components/ui/separator.js.map +0 -1
  301. package/dist/components/ui/src/components/ui/sheet.js.map +0 -1
  302. package/dist/components/ui/src/components/ui/sidebar.js.map +0 -1
  303. package/dist/components/ui/src/components/ui/skeleton.js.map +0 -1
  304. package/dist/components/ui/src/components/ui/slider.js.map +0 -1
  305. package/dist/components/ui/src/components/ui/sonner.js.map +0 -1
  306. package/dist/components/ui/src/components/ui/spinner.js.map +0 -1
  307. package/dist/components/ui/src/components/ui/switch.js.map +0 -1
  308. package/dist/components/ui/src/components/ui/table.js.map +0 -1
  309. package/dist/components/ui/src/components/ui/tabs.js.map +0 -1
  310. package/dist/components/ui/src/components/ui/textarea.js.map +0 -1
  311. package/dist/components/ui/src/components/ui/toast.js.map +0 -1
  312. package/dist/components/ui/src/components/ui/toggle-group.js.map +0 -1
  313. package/dist/components/ui/src/components/ui/toggle.js.map +0 -1
  314. package/dist/components/ui/src/components/ui/tooltip.js.map +0 -1
  315. package/dist/components/ui/switch.d.ts.map +0 -1
  316. package/dist/components/ui/table.d.ts.map +0 -1
  317. package/dist/components/ui/tabs.d.ts.map +0 -1
  318. package/dist/components/ui/textarea.d.ts.map +0 -1
  319. package/dist/components/ui/toast.d.ts.map +0 -1
  320. package/dist/components/ui/toggle-group.d.ts.map +0 -1
  321. package/dist/components/ui/toggle.d.ts.map +0 -1
  322. package/dist/components/ui/tooltip.d.ts.map +0 -1
  323. package/dist/hooks/src/hooks/use-mobile.js.map +0 -1
  324. package/dist/hooks/use-mobile.d.ts.map +0 -1
  325. package/dist/lib/utils.d.ts.map +0 -1
  326. package/dist/lib/variants.d.ts +0 -107
  327. package/dist/lib/variants.d.ts.map +0 -1
  328. /package/dist/components/minidev.fun/{undefined → color-mode}/index.js.map +0 -0
  329. /package/dist/hooks/{src/hooks/use-mobile.js → use-mobile.js} +0 -0
@@ -0,0 +1,36 @@
1
+ import { Accordion as Accordion_2 } from '@base-ui/react/accordion';
2
+ import { JSX } from 'react/jsx-runtime';
3
+
4
+ /**
5
+ * Root container for accordion items. Manages expand/collapse state and keyboard navigation.
6
+ * Supports single or multiple open items simultaneously.
7
+ */
8
+ export declare function Accordion({ className, ...props }: Accordion_2.Root.Props): JSX.Element;
9
+
10
+ /**
11
+ * Collapsible panel containing the accordion item's content.
12
+ * Automatically animates height on open/close with slide animation.
13
+ */
14
+ export declare function AccordionContent({ className, children, ...props }: Accordion_2.Panel.Props): JSX.Element;
15
+
16
+ export declare type AccordionContentProps = Accordion_2.Panel.Props;
17
+
18
+ /**
19
+ * Container for a single accordion item. Groups trigger and content panel.
20
+ * Each item must have a unique `value` prop.
21
+ */
22
+ export declare function AccordionItem({ className, ...props }: Accordion_2.Item.Props): JSX.Element;
23
+
24
+ export declare type AccordionItemProps = Accordion_2.Item.Props;
25
+
26
+ export declare type AccordionProps = Accordion_2.Root.Props;
27
+
28
+ /**
29
+ * Button that toggles the accordion item open/closed.
30
+ * Automatically includes chevron icons that flip based on open state.
31
+ */
32
+ export declare function AccordionTrigger({ className, children, ...props }: Accordion_2.Trigger.Props): JSX.Element;
33
+
34
+ export declare type AccordionTriggerProps = Accordion_2.Trigger.Props;
35
+
36
+ export { }
@@ -0,0 +1,114 @@
1
+ import { AlertDialog as AlertDialog_2 } from '@base-ui/react/alert-dialog';
2
+ import { Button as Button_2 } from '@base-ui/react/button';
3
+ import { ClassProp } from 'class-variance-authority/types';
4
+ import { JSX } from 'react/jsx-runtime';
5
+ import * as React_2 from 'react';
6
+ import { VariantProps } from 'class-variance-authority';
7
+
8
+ /** Root container for alert dialog. Manages open state and accessibility. */
9
+ export declare function AlertDialog({ ...props }: AlertDialogProps): JSX.Element;
10
+
11
+ /** Primary action button. Inherits all Button variants. */
12
+ export declare function AlertDialogAction({ className, ...props }: AlertDialogActionProps): JSX.Element;
13
+
14
+ export declare type AlertDialogActionProps = React_2.ComponentProps<typeof Button>;
15
+
16
+ /** Cancel button that closes the alert dialog. Defaults to outline variant. */
17
+ export declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialogCancelProps): JSX.Element;
18
+
19
+ export declare type AlertDialogCancelProps = AlertDialog_2.Close.Props & Pick<React_2.ComponentProps<typeof Button>, "variant" | "size">;
20
+
21
+ /**
22
+ * Alert dialog content with automatic portal and backdrop.
23
+ * Centered, animated popup with two size variants.
24
+ */
25
+ export declare function AlertDialogContent({ className, size, ...props }: AlertDialogContentProps): JSX.Element;
26
+
27
+ export declare type AlertDialogContentProps = AlertDialog_2.Popup.Props & {
28
+ /** Dialog size variant. @default "default" */
29
+ size?: "default" | "sm";
30
+ };
31
+
32
+ /** Alert dialog description text. Supports links with automatic styling. */
33
+ export declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): JSX.Element;
34
+
35
+ export declare type AlertDialogDescriptionProps = React_2.ComponentProps<typeof AlertDialog_2.Description>;
36
+
37
+ /** Footer section for action and cancel buttons. */
38
+ export declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): JSX.Element;
39
+
40
+ export declare type AlertDialogFooterProps = React_2.ComponentProps<"div">;
41
+
42
+ /** Header section for title, description, and optional media icon. */
43
+ export declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): JSX.Element;
44
+
45
+ export declare type AlertDialogHeaderProps = React_2.ComponentProps<"div">;
46
+
47
+ /** Optional visual indicator icon container. Commonly used for warnings or errors. */
48
+ export declare function AlertDialogMedia({ className, ...props }: AlertDialogMediaProps): JSX.Element;
49
+
50
+ export declare type AlertDialogMediaProps = React_2.ComponentProps<"div">;
51
+
52
+ /** Semi-transparent backdrop overlay with frosted glass effect. */
53
+ export declare function AlertDialogOverlay({ className, ...props }: AlertDialogOverlayProps): JSX.Element;
54
+
55
+ export declare type AlertDialogOverlayProps = AlertDialog_2.Backdrop.Props;
56
+
57
+ /** Portal container for alert dialog content and overlay. */
58
+ export declare function AlertDialogPortal({ ...props }: AlertDialogPortalProps): JSX.Element;
59
+
60
+ export declare type AlertDialogPortalProps = AlertDialog_2.Portal.Props;
61
+
62
+ export declare type AlertDialogProps = AlertDialog_2.Root.Props;
63
+
64
+ /** Alert dialog title. Automatically announced by screen readers. */
65
+ export declare function AlertDialogTitle({ className, ...props }: AlertDialogTitleProps): JSX.Element;
66
+
67
+ export declare type AlertDialogTitleProps = React_2.ComponentProps<typeof AlertDialog_2.Title>;
68
+
69
+ /** Button that opens the alert dialog. Use `render` prop to customize. */
70
+ export declare function AlertDialogTrigger({ ...props }: AlertDialogTriggerProps): JSX.Element;
71
+
72
+ export declare type AlertDialogTriggerProps = AlertDialog_2.Trigger.Props;
73
+
74
+ /**
75
+ * Versatile button component with multiple visual variants and sizes.
76
+ *
77
+ * Supports icon placement via `data-icon="inline-start"` or `data-icon="inline-end"` attributes
78
+ * on child elements. Use the `render` prop to compose with other components or change the
79
+ * underlying element while maintaining button semantics.
80
+ *
81
+ * @example
82
+ * ```tsx
83
+ * // Basic button
84
+ * <Button variant="default">Click me</Button>
85
+ *
86
+ * // With icon
87
+ * <Button>
88
+ * <PlusIcon data-icon="inline-start" />
89
+ * Create
90
+ * </Button>
91
+ *
92
+ * // Icon only
93
+ * <Button size="icon" aria-label="Settings">
94
+ * <SettingsIcon />
95
+ * </Button>
96
+ *
97
+ * // Custom element
98
+ * <Button render={<a href="/login" />}>Sign in</Button>
99
+ * ```
100
+ */
101
+ declare function Button({ className, variant, size, ...props }: ButtonProps): JSX.Element;
102
+
103
+ /**
104
+ * Props for the Button component.
105
+ * Combines Base UI Button props with variant styling options.
106
+ */
107
+ declare type ButtonProps = Button_2.Props & VariantProps<typeof buttonVariants>;
108
+
109
+ declare const buttonVariants: (props?: ({
110
+ variant?: "link" | "default" | "outline" | "success" | "destructive" | "info" | "primary" | "secondary" | "ghost" | "warning" | null | undefined;
111
+ size?: "default" | "icon" | "sm" | "lg" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
112
+ } & ClassProp) | undefined) => string;
113
+
114
+ export { }
@@ -0,0 +1,41 @@
1
+ import { ClassProp } from 'class-variance-authority/types';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ import * as React_2 from 'react';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ /**
7
+ * Alert component for displaying contextual messages with optional icons and actions.
8
+ * Supports multiple semantic variants for different message types.
9
+ */
10
+ export declare function Alert({ className, variant, ...props }: AlertProps): JSX.Element;
11
+
12
+ /**
13
+ * Action area positioned in top-right of alert. Use for dismiss buttons or action CTAs.
14
+ */
15
+ export declare function AlertAction({ className, ...props }: AlertActionProps): JSX.Element;
16
+
17
+ export declare type AlertActionProps = React_2.ComponentProps<"div">;
18
+
19
+ /**
20
+ * Description content for the alert. Supports inline links and paragraph formatting.
21
+ * Uses muted foreground color that adapts to variant.
22
+ */
23
+ export declare function AlertDescription({ className, ...props }: AlertDescriptionProps): JSX.Element;
24
+
25
+ export declare type AlertDescriptionProps = React_2.ComponentProps<"div">;
26
+
27
+ export declare type AlertProps = React_2.ComponentProps<"div"> & VariantProps<typeof alertVariants>;
28
+
29
+ /**
30
+ * Title heading for the alert. Automatically positions next to icon when present.
31
+ * Supports inline links with hover styling.
32
+ */
33
+ export declare function AlertTitle({ className, ...props }: AlertTitleProps): JSX.Element;
34
+
35
+ export declare type AlertTitleProps = React_2.ComponentProps<"div">;
36
+
37
+ export declare const alertVariants: (props?: ({
38
+ variant?: "default" | "success" | "destructive" | "info" | "warning" | null | undefined;
39
+ } & ClassProp) | undefined) => string;
40
+
41
+ export { }
@@ -0,0 +1,14 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+
3
+ /**
4
+ * Container that maintains a consistent aspect ratio.
5
+ * Automatically adjusts height based on width to preserve proportions.
6
+ */
7
+ export declare function AspectRatio({ ratio, className, ...props }: AspectRatioProps): JSX.Element;
8
+
9
+ export declare type AspectRatioProps = React.ComponentProps<"div"> & {
10
+ /** Aspect ratio as width/height (e.g., 16/9, 1, 4/3) */
11
+ ratio: number;
12
+ };
13
+
14
+ export { }
@@ -0,0 +1,55 @@
1
+ import { Avatar as Avatar_2 } from '@base-ui/react/avatar';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ import * as React_2 from 'react';
4
+
5
+ /**
6
+ * Avatar root component with size variants.
7
+ * Displays user profile images with automatic fallback support.
8
+ */
9
+ export declare function Avatar({ className, size, ...props }: AvatarProps): JSX.Element;
10
+
11
+ /**
12
+ * Badge positioned at bottom-right of avatar.
13
+ * Use for status indicators, verification badges, or notification dots.
14
+ */
15
+ export declare function AvatarBadge({ className, ...props }: AvatarBadgeProps): JSX.Element;
16
+
17
+ export declare type AvatarBadgeProps = React_2.ComponentProps<"span">;
18
+
19
+ /**
20
+ * Fallback content shown when image is unavailable.
21
+ * Typically displays user initials or an icon.
22
+ */
23
+ export declare function AvatarFallback({ className, ...props }: AvatarFallbackProps): JSX.Element;
24
+
25
+ export declare type AvatarFallbackProps = Avatar_2.Fallback.Props;
26
+
27
+ /**
28
+ * Container for stacked avatars with ring borders.
29
+ * Used to show team members or collaborators.
30
+ */
31
+ export declare function AvatarGroup({ className, ...props }: AvatarGroupProps): JSX.Element;
32
+
33
+ /**
34
+ * Counter badge showing additional hidden avatars in a group.
35
+ * Typically displays "+N" to indicate overflow count.
36
+ */
37
+ export declare function AvatarGroupCount({ className, ...props }: AvatarGroupCountProps): JSX.Element;
38
+
39
+ export declare type AvatarGroupCountProps = React_2.ComponentProps<"div">;
40
+
41
+ export declare type AvatarGroupProps = React_2.ComponentProps<"div">;
42
+
43
+ /**
44
+ * Avatar image element. Automatically shows fallback if image fails to load.
45
+ */
46
+ export declare function AvatarImage({ className, ...props }: AvatarImageProps): JSX.Element;
47
+
48
+ export declare type AvatarImageProps = Avatar_2.Image.Props;
49
+
50
+ export declare type AvatarProps = Avatar_2.Root.Props & {
51
+ /** Avatar size variant. @default "default" */
52
+ size?: "default" | "sm" | "lg";
53
+ };
54
+
55
+ export { }
@@ -0,0 +1,22 @@
1
+ import { ClassProp } from 'class-variance-authority/types';
2
+ import { JSXElementConstructor } from 'react';
3
+ import { ReactElement } from 'react';
4
+ import { useRender } from '@base-ui/react/use-render';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ /**
8
+ * Badge component for displaying labels, counts, and status indicators.
9
+ *
10
+ * Supports multiple visual variants (default, outline, ghost, etc.) and semantic variants
11
+ * (success, warning, destructive, info). Icons can be added using `data-icon="inline-start"` or
12
+ * `data-icon="inline-end"` attributes on icon elements.
13
+ */
14
+ export declare function Badge({ className, variant, render, ...props }: BadgeProps): ReactElement<unknown, string | JSXElementConstructor<any>>;
15
+
16
+ export declare type BadgeProps = useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>;
17
+
18
+ export declare const badgeVariants: (props?: ({
19
+ variant?: "link" | "default" | "outline" | "success" | "destructive" | "info" | "secondary" | "ghost" | "warning" | null | undefined;
20
+ } & ClassProp) | undefined) => string;
21
+
22
+ export { }
@@ -0,0 +1,54 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import * as React_2 from 'react';
3
+ import { useRender } from '@base-ui/react/use-render';
4
+
5
+ /**
6
+ * Root breadcrumb navigation container with semantic HTML and accessibility attributes.
7
+ */
8
+ export declare function Breadcrumb({ className, ...props }: BreadcrumbProps): JSX.Element;
9
+
10
+ /**
11
+ * Ellipsis indicator for collapsed breadcrumb sections in long paths.
12
+ */
13
+ export declare function BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): JSX.Element;
14
+
15
+ export declare type BreadcrumbEllipsisProps = React_2.ComponentProps<"span">;
16
+
17
+ /**
18
+ * Individual breadcrumb item wrapper. Contains links, pages, or ellipsis components.
19
+ */
20
+ export declare function BreadcrumbItem({ className, ...props }: BreadcrumbItemProps): JSX.Element;
21
+
22
+ export declare type BreadcrumbItemProps = React_2.ComponentProps<"li">;
23
+
24
+ /**
25
+ * Interactive breadcrumb link for navigable parent pages. Supports custom rendering with `render` prop.
26
+ */
27
+ export declare function BreadcrumbLink({ className, render, ...props }: BreadcrumbLinkProps): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
28
+
29
+ export declare type BreadcrumbLinkProps = useRender.ComponentProps<"a">;
30
+
31
+ /**
32
+ * Ordered list container for breadcrumb items. Automatically styled with responsive spacing.
33
+ */
34
+ export declare function BreadcrumbList({ className, ...props }: BreadcrumbListProps): JSX.Element;
35
+
36
+ export declare type BreadcrumbListProps = React_2.ComponentProps<"ol">;
37
+
38
+ /**
39
+ * Current page indicator (non-interactive). Rendered with higher contrast and accessibility attributes.
40
+ */
41
+ export declare function BreadcrumbPage({ className, ...props }: BreadcrumbPageProps): JSX.Element;
42
+
43
+ export declare type BreadcrumbPageProps = React_2.ComponentProps<"span">;
44
+
45
+ export declare type BreadcrumbProps = React_2.ComponentProps<"nav">;
46
+
47
+ /**
48
+ * Visual separator between breadcrumb items. Defaults to ChevronRightIcon but accepts custom children.
49
+ */
50
+ export declare function BreadcrumbSeparator({ children, className, ...props }: BreadcrumbSeparatorProps): JSX.Element;
51
+
52
+ export declare type BreadcrumbSeparatorProps = React_2.ComponentProps<"li">;
53
+
54
+ export { }
@@ -0,0 +1,45 @@
1
+ import { ClassProp } from 'class-variance-authority/types';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ import { JSXElementConstructor } from 'react';
4
+ import { ReactElement } from 'react';
5
+ import { Separator as Separator_2 } from '@base-ui/react/separator';
6
+ import { useRender } from '@base-ui/react/use-render';
7
+ import { VariantProps } from 'class-variance-authority';
8
+
9
+ /**
10
+ * Groups related buttons together with fused borders and shared styling.
11
+ * Supports horizontal and vertical orientations.
12
+ */
13
+ export declare function ButtonGroup({ className, orientation, ...props }: ButtonGroupProps): JSX.Element;
14
+
15
+ export declare type ButtonGroupProps = React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>;
16
+
17
+ /**
18
+ * Visual separator between button groups or sections within a group.
19
+ * Automatically orients based on parent ButtonGroup orientation.
20
+ */
21
+ export declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): JSX.Element;
22
+
23
+ export declare type ButtonGroupSeparatorProps = React.ComponentProps<typeof Separator>;
24
+
25
+ /**
26
+ * Text or status display element within a button group.
27
+ * Use `render` prop to customize the underlying element.
28
+ */
29
+ export declare function ButtonGroupText({ className, render, ...props }: ButtonGroupTextProps): ReactElement<unknown, string | JSXElementConstructor<any>>;
30
+
31
+ export declare type ButtonGroupTextProps = useRender.ComponentProps<"div">;
32
+
33
+ export declare const buttonGroupVariants: (props?: ({
34
+ orientation?: "horizontal" | "vertical" | null | undefined;
35
+ } & ClassProp) | undefined) => string;
36
+
37
+ /**
38
+ * Visual divider for separating content sections.
39
+ * Supports both horizontal (default) and vertical orientations.
40
+ */
41
+ declare function Separator({ className, orientation, ...props }: SeparatorProps): JSX.Element;
42
+
43
+ declare type SeparatorProps = Separator_2.Props;
44
+
45
+ export { }
@@ -0,0 +1,46 @@
1
+ import { Button as Button_2 } from '@base-ui/react/button';
2
+ import { ClassProp } from 'class-variance-authority/types';
3
+ import { JSX } from 'react/jsx-runtime';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ /**
7
+ * Versatile button component with multiple visual variants and sizes.
8
+ *
9
+ * Supports icon placement via `data-icon="inline-start"` or `data-icon="inline-end"` attributes
10
+ * on child elements. Use the `render` prop to compose with other components or change the
11
+ * underlying element while maintaining button semantics.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * // Basic button
16
+ * <Button variant="default">Click me</Button>
17
+ *
18
+ * // With icon
19
+ * <Button>
20
+ * <PlusIcon data-icon="inline-start" />
21
+ * Create
22
+ * </Button>
23
+ *
24
+ * // Icon only
25
+ * <Button size="icon" aria-label="Settings">
26
+ * <SettingsIcon />
27
+ * </Button>
28
+ *
29
+ * // Custom element
30
+ * <Button render={<a href="/login" />}>Sign in</Button>
31
+ * ```
32
+ */
33
+ export declare function Button({ className, variant, size, ...props }: ButtonProps): JSX.Element;
34
+
35
+ /**
36
+ * Props for the Button component.
37
+ * Combines Base UI Button props with variant styling options.
38
+ */
39
+ export declare type ButtonProps = Button_2.Props & VariantProps<typeof buttonVariants>;
40
+
41
+ export declare const buttonVariants: (props?: ({
42
+ variant?: "link" | "default" | "outline" | "success" | "destructive" | "info" | "primary" | "secondary" | "ghost" | "warning" | null | undefined;
43
+ size?: "default" | "icon" | "sm" | "lg" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
44
+ } & ClassProp) | undefined) => string;
45
+
46
+ export { }
@@ -0,0 +1,68 @@
1
+ import { Button as Button_2 } from '@base-ui/react/button';
2
+ import { ClassProp } from 'class-variance-authority/types';
3
+ import { DayButton } from 'react-day-picker';
4
+ import { DayPicker } from 'react-day-picker';
5
+ import { JSX } from 'react/jsx-runtime';
6
+ import * as React_2 from 'react';
7
+ import { VariantProps } from 'class-variance-authority';
8
+
9
+ /**
10
+ * Versatile button component with multiple visual variants and sizes.
11
+ *
12
+ * Supports icon placement via `data-icon="inline-start"` or `data-icon="inline-end"` attributes
13
+ * on child elements. Use the `render` prop to compose with other components or change the
14
+ * underlying element while maintaining button semantics.
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * // Basic button
19
+ * <Button variant="default">Click me</Button>
20
+ *
21
+ * // With icon
22
+ * <Button>
23
+ * <PlusIcon data-icon="inline-start" />
24
+ * Create
25
+ * </Button>
26
+ *
27
+ * // Icon only
28
+ * <Button size="icon" aria-label="Settings">
29
+ * <SettingsIcon />
30
+ * </Button>
31
+ *
32
+ * // Custom element
33
+ * <Button render={<a href="/login" />}>Sign in</Button>
34
+ * ```
35
+ */
36
+ declare function Button({ className, variant, size, ...props }: ButtonProps): JSX.Element;
37
+
38
+ /**
39
+ * Props for the Button component.
40
+ * Combines Base UI Button props with variant styling options.
41
+ */
42
+ declare type ButtonProps = Button_2.Props & VariantProps<typeof buttonVariants>;
43
+
44
+ declare const buttonVariants: (props?: ({
45
+ variant?: "link" | "default" | "outline" | "success" | "destructive" | "info" | "primary" | "secondary" | "ghost" | "warning" | null | undefined;
46
+ size?: "default" | "icon" | "sm" | "lg" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
47
+ } & ClassProp) | undefined) => string;
48
+
49
+ /**
50
+ * Calendar component for date selection with single, range, or multiple modes.
51
+ * Built on react-day-picker with customizable appearance and navigation.
52
+ */
53
+ export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: CalendarProps): JSX.Element;
54
+
55
+ /**
56
+ * Internal day button component with range and selection state styling.
57
+ * Handles focus management and applies appropriate styles for single, range, and multiple selection modes.
58
+ */
59
+ export declare function CalendarDayButton({ className, day, modifiers, ...props }: CalendarDayButtonProps): JSX.Element;
60
+
61
+ export declare type CalendarDayButtonProps = React_2.ComponentProps<typeof DayButton>;
62
+
63
+ export declare type CalendarProps = React_2.ComponentProps<typeof DayPicker> & {
64
+ /** Visual style variant for navigation buttons. @default "ghost" */
65
+ buttonVariant?: React_2.ComponentProps<typeof Button>["variant"];
66
+ };
67
+
68
+ export { }
package/dist/card.d.ts ADDED
@@ -0,0 +1,45 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import * as React_2 from 'react';
3
+
4
+ /**
5
+ * Card container with shadow, border, and rounded corners.
6
+ * Use compound components (CardHeader, CardContent, etc.) to compose card layouts.
7
+ */
8
+ export declare function Card({ className, size, ...props }: CardProps): JSX.Element;
9
+
10
+ /** Action button or control positioned in top-right corner of CardHeader. */
11
+ export declare function CardAction({ className, ...props }: CardActionProps): JSX.Element;
12
+
13
+ export declare type CardActionProps = React_2.ComponentProps<"div">;
14
+
15
+ /** Main content area of the card. */
16
+ export declare function CardContent({ className, ...props }: CardContentProps): JSX.Element;
17
+
18
+ export declare type CardContentProps = React_2.ComponentProps<"div">;
19
+
20
+ /** Card description providing secondary context below the title. */
21
+ export declare function CardDescription({ className, ...props }: CardDescriptionProps): JSX.Element;
22
+
23
+ export declare type CardDescriptionProps = React_2.ComponentProps<"div">;
24
+
25
+ /** Card footer for actions or metadata. Add `border-t` class for visual separation. */
26
+ export declare function CardFooter({ className, ...props }: CardFooterProps): JSX.Element;
27
+
28
+ export declare type CardFooterProps = React_2.ComponentProps<"div">;
29
+
30
+ /** Card header with grid layout supporting title, description, and optional action button. */
31
+ export declare function CardHeader({ className, ...props }: CardHeaderProps): JSX.Element;
32
+
33
+ export declare type CardHeaderProps = React_2.ComponentProps<"div">;
34
+
35
+ export declare type CardProps = React_2.ComponentProps<"div"> & {
36
+ /** Card size affecting padding and spacing. @default "default" */
37
+ size?: "default" | "sm";
38
+ };
39
+
40
+ /** Card title, typically a heading or name. */
41
+ export declare function CardTitle({ className, ...props }: CardTitleProps): JSX.Element;
42
+
43
+ export declare type CardTitleProps = React_2.ComponentProps<"div">;
44
+
45
+ export { }
@@ -0,0 +1,116 @@
1
+ import { Button as Button_2 } from '@base-ui/react/button';
2
+ import { ClassProp } from 'class-variance-authority/types';
3
+ import { default as default_2 } from 'embla-carousel-react';
4
+ import { JSX } from 'react/jsx-runtime';
5
+ import * as React_2 from 'react';
6
+ import { UseEmblaCarouselType } from 'embla-carousel-react';
7
+ import { VariantProps } from 'class-variance-authority';
8
+
9
+ /**
10
+ * Versatile button component with multiple visual variants and sizes.
11
+ *
12
+ * Supports icon placement via `data-icon="inline-start"` or `data-icon="inline-end"` attributes
13
+ * on child elements. Use the `render` prop to compose with other components or change the
14
+ * underlying element while maintaining button semantics.
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * // Basic button
19
+ * <Button variant="default">Click me</Button>
20
+ *
21
+ * // With icon
22
+ * <Button>
23
+ * <PlusIcon data-icon="inline-start" />
24
+ * Create
25
+ * </Button>
26
+ *
27
+ * // Icon only
28
+ * <Button size="icon" aria-label="Settings">
29
+ * <SettingsIcon />
30
+ * </Button>
31
+ *
32
+ * // Custom element
33
+ * <Button render={<a href="/login" />}>Sign in</Button>
34
+ * ```
35
+ */
36
+ declare function Button({ className, variant, size, ...props }: ButtonProps): JSX.Element;
37
+
38
+ /**
39
+ * Props for the Button component.
40
+ * Combines Base UI Button props with variant styling options.
41
+ */
42
+ declare type ButtonProps = Button_2.Props & VariantProps<typeof buttonVariants>;
43
+
44
+ declare const buttonVariants: (props?: ({
45
+ variant?: "link" | "default" | "outline" | "success" | "destructive" | "info" | "primary" | "secondary" | "ghost" | "warning" | null | undefined;
46
+ size?: "default" | "icon" | "sm" | "lg" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
47
+ } & ClassProp) | undefined) => string;
48
+
49
+ /**
50
+ * Carousel root component. Provides context and manages scroll state.
51
+ * Supports both horizontal and vertical orientations with keyboard navigation.
52
+ */
53
+ export declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: CarouselProps): JSX.Element;
54
+
55
+ export declare type CarouselApi = UseEmblaCarouselType[1];
56
+
57
+ /**
58
+ * Container for carousel items. Handles overflow and flex layout.
59
+ */
60
+ export declare function CarouselContent({ className, ...props }: CarouselContentProps): JSX.Element;
61
+
62
+ export declare type CarouselContentProps = React_2.ComponentProps<"div">;
63
+
64
+ declare type CarouselContextProps = {
65
+ carouselRef: ReturnType<typeof default_2>[0];
66
+ api: ReturnType<typeof default_2>[1];
67
+ scrollPrev: () => void;
68
+ scrollNext: () => void;
69
+ canScrollPrev: boolean;
70
+ canScrollNext: boolean;
71
+ } & CarouselProps;
72
+
73
+ /**
74
+ * Individual carousel slide. Use `basis-*` classes to control items per view.
75
+ */
76
+ export declare function CarouselItem({ className, ...props }: CarouselItemProps): JSX.Element;
77
+
78
+ export declare type CarouselItemProps = React_2.ComponentProps<"div">;
79
+
80
+ /**
81
+ * Button to navigate to next slide. Automatically disabled when at end (unless loop is enabled).
82
+ */
83
+ export declare function CarouselNext({ className, variant, size, ...props }: CarouselNextProps): JSX.Element;
84
+
85
+ export declare type CarouselNextProps = React_2.ComponentProps<typeof Button>;
86
+
87
+ declare type CarouselOptions = UseCarouselParameters[0];
88
+
89
+ declare type CarouselPlugin = UseCarouselParameters[1];
90
+
91
+ /**
92
+ * Button to navigate to previous slide. Automatically disabled when at start (unless loop is enabled).
93
+ */
94
+ export declare function CarouselPrevious({ className, variant, size, ...props }: CarouselPreviousProps): JSX.Element;
95
+
96
+ export declare type CarouselPreviousProps = React_2.ComponentProps<typeof Button>;
97
+
98
+ export declare type CarouselProps = React_2.ComponentProps<"div"> & {
99
+ /** Embla carousel options (loop, align, slidesToScroll, etc.) */
100
+ opts?: CarouselOptions;
101
+ /** Embla carousel plugins */
102
+ plugins?: CarouselPlugin;
103
+ /** Carousel scroll direction. @default "horizontal" */
104
+ orientation?: "horizontal" | "vertical";
105
+ /** Callback to receive the carousel API instance for programmatic control */
106
+ setApi?: (api: CarouselApi) => void;
107
+ };
108
+
109
+ /**
110
+ * Hook to access carousel context. Must be used within a Carousel component.
111
+ */
112
+ export declare function useCarousel(): CarouselContextProps;
113
+
114
+ declare type UseCarouselParameters = Parameters<typeof default_2>;
115
+
116
+ export { }