@neynar/ui 0.1.1 → 0.1.3

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 (440) hide show
  1. package/dist/components/ui/accordion.d.ts +1 -25
  2. package/dist/components/ui/accordion.d.ts.map +1 -1
  3. package/dist/components/ui/alert-dialog.d.ts +240 -46
  4. package/dist/components/ui/alert-dialog.d.ts.map +1 -1
  5. package/dist/components/ui/alert.d.ts +73 -11
  6. package/dist/components/ui/alert.d.ts.map +1 -1
  7. package/dist/components/ui/aspect-ratio.d.ts +44 -10
  8. package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
  9. package/dist/components/ui/avatar.d.ts +117 -33
  10. package/dist/components/ui/avatar.d.ts.map +1 -1
  11. package/dist/components/ui/badge.d.ts +50 -71
  12. package/dist/components/ui/badge.d.ts.map +1 -1
  13. package/dist/components/ui/breadcrumb.d.ts +231 -49
  14. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  15. package/dist/components/ui/button.d.ts +189 -71
  16. package/dist/components/ui/button.d.ts.map +1 -1
  17. package/dist/components/ui/calendar.d.ts +197 -40
  18. package/dist/components/ui/calendar.d.ts.map +1 -1
  19. package/dist/components/ui/card.d.ts +7 -22
  20. package/dist/components/ui/card.d.ts.map +1 -1
  21. package/dist/components/ui/carousel.d.ts +369 -99
  22. package/dist/components/ui/carousel.d.ts.map +1 -1
  23. package/dist/components/ui/chart.d.ts.map +1 -1
  24. package/dist/components/ui/checkbox.d.ts +110 -38
  25. package/dist/components/ui/checkbox.d.ts.map +1 -1
  26. package/dist/components/ui/collapsible.d.ts +246 -61
  27. package/dist/components/ui/collapsible.d.ts.map +1 -1
  28. package/dist/components/ui/combobox.d.ts +207 -159
  29. package/dist/components/ui/combobox.d.ts.map +1 -1
  30. package/dist/components/ui/command.d.ts +336 -67
  31. package/dist/components/ui/command.d.ts.map +1 -1
  32. package/dist/components/ui/container.d.ts +159 -64
  33. package/dist/components/ui/container.d.ts.map +1 -1
  34. package/dist/components/ui/context-menu.d.ts +321 -39
  35. package/dist/components/ui/context-menu.d.ts.map +1 -1
  36. package/dist/components/ui/date-picker.d.ts +113 -86
  37. package/dist/components/ui/date-picker.d.ts.map +1 -1
  38. package/dist/components/ui/dialog.d.ts +106 -25
  39. package/dist/components/ui/dialog.d.ts.map +1 -1
  40. package/dist/components/ui/drawer.d.ts +388 -59
  41. package/dist/components/ui/drawer.d.ts.map +1 -1
  42. package/dist/components/ui/dropdown-menu.d.ts +521 -74
  43. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  44. package/dist/components/ui/empty-state.d.ts +148 -76
  45. package/dist/components/ui/empty-state.d.ts.map +1 -1
  46. package/dist/components/ui/hover-card.d.ts +253 -34
  47. package/dist/components/ui/hover-card.d.ts.map +1 -1
  48. package/dist/components/ui/input.d.ts +143 -44
  49. package/dist/components/ui/input.d.ts.map +1 -1
  50. package/dist/components/ui/label.d.ts +0 -8
  51. package/dist/components/ui/label.d.ts.map +1 -1
  52. package/dist/components/ui/menubar.d.ts +288 -46
  53. package/dist/components/ui/menubar.d.ts.map +1 -1
  54. package/dist/components/ui/navigation-menu.d.ts +444 -127
  55. package/dist/components/ui/navigation-menu.d.ts.map +1 -1
  56. package/dist/components/ui/pagination.d.ts +342 -66
  57. package/dist/components/ui/pagination.d.ts.map +1 -1
  58. package/dist/components/ui/popover.d.ts +0 -8
  59. package/dist/components/ui/popover.d.ts.map +1 -1
  60. package/dist/components/ui/progress.d.ts +88 -30
  61. package/dist/components/ui/progress.d.ts.map +1 -1
  62. package/dist/components/ui/radio-group.d.ts +189 -45
  63. package/dist/components/ui/radio-group.d.ts.map +1 -1
  64. package/dist/components/ui/resizable.d.ts +178 -62
  65. package/dist/components/ui/resizable.d.ts.map +1 -1
  66. package/dist/components/ui/scroll-area.d.ts +180 -21
  67. package/dist/components/ui/scroll-area.d.ts.map +1 -1
  68. package/dist/components/ui/select.d.ts +382 -60
  69. package/dist/components/ui/select.d.ts.map +1 -1
  70. package/dist/components/ui/separator.d.ts +52 -39
  71. package/dist/components/ui/separator.d.ts.map +1 -1
  72. package/dist/components/ui/sheet.d.ts +144 -27
  73. package/dist/components/ui/sheet.d.ts.map +1 -1
  74. package/dist/components/ui/sidebar.d.ts +81 -31
  75. package/dist/components/ui/sidebar.d.ts.map +1 -1
  76. package/dist/components/ui/skeleton.d.ts +94 -32
  77. package/dist/components/ui/skeleton.d.ts.map +1 -1
  78. package/dist/components/ui/slider.d.ts +37 -31
  79. package/dist/components/ui/slider.d.ts.map +1 -1
  80. package/dist/components/ui/sonner.d.ts +280 -46
  81. package/dist/components/ui/sonner.d.ts.map +1 -1
  82. package/dist/components/ui/stack.d.ts +289 -148
  83. package/dist/components/ui/stack.d.ts.map +1 -1
  84. package/dist/components/ui/stories/aspect-ratio.stories.d.ts +1 -2
  85. package/dist/components/ui/stories/aspect-ratio.stories.d.ts.map +1 -1
  86. package/dist/components/ui/stories/container.stories.d.ts +2 -3
  87. package/dist/components/ui/stories/container.stories.d.ts.map +1 -1
  88. package/dist/components/ui/stories/empty-state.stories.d.ts +2 -2
  89. package/dist/components/ui/stories/scroll-area.stories.d.ts +1 -2
  90. package/dist/components/ui/stories/scroll-area.stories.d.ts.map +1 -1
  91. package/dist/components/ui/stories/stack.stories.d.ts +1 -1
  92. package/dist/components/ui/stories/text-field.stories.d.ts +7 -1
  93. package/dist/components/ui/stories/text-field.stories.d.ts.map +1 -1
  94. package/dist/components/ui/switch.d.ts +44 -38
  95. package/dist/components/ui/switch.d.ts.map +1 -1
  96. package/dist/components/ui/table.d.ts +33 -0
  97. package/dist/components/ui/table.d.ts.map +1 -1
  98. package/dist/components/ui/tabs.d.ts +4 -22
  99. package/dist/components/ui/tabs.d.ts.map +1 -1
  100. package/dist/components/ui/text-field.d.ts +170 -84
  101. package/dist/components/ui/text-field.d.ts.map +1 -1
  102. package/dist/components/ui/textarea.d.ts +106 -29
  103. package/dist/components/ui/textarea.d.ts.map +1 -1
  104. package/dist/components/ui/theme-toggle.d.ts +190 -65
  105. package/dist/components/ui/theme-toggle.d.ts.map +1 -1
  106. package/dist/components/ui/theme.d.ts +107 -23
  107. package/dist/components/ui/theme.d.ts.map +1 -1
  108. package/dist/components/ui/toggle-group.d.ts +143 -67
  109. package/dist/components/ui/toggle-group.d.ts.map +1 -1
  110. package/dist/components/ui/toggle.d.ts +118 -30
  111. package/dist/components/ui/toggle.d.ts.map +1 -1
  112. package/dist/components/ui/tooltip.d.ts +152 -28
  113. package/dist/components/ui/tooltip.d.ts.map +1 -1
  114. package/dist/components/ui/typography.d.ts +452 -134
  115. package/dist/components/ui/typography.d.ts.map +1 -1
  116. package/dist/index.js +9388 -8281
  117. package/dist/index.js.map +1 -1
  118. package/dist/tsconfig.tsbuildinfo +1 -1
  119. package/llm-docs/a.llm.md +145 -0
  120. package/llm-docs/accordion-content.llm.md +67 -0
  121. package/llm-docs/accordion-item.llm.md +61 -0
  122. package/llm-docs/accordion-trigger.llm.md +69 -0
  123. package/llm-docs/accordion.llm.md +88 -0
  124. package/llm-docs/alert-description.llm.md +78 -0
  125. package/llm-docs/alert-dialog-action.llm.md +51 -0
  126. package/llm-docs/alert-dialog-cancel.llm.md +48 -0
  127. package/llm-docs/alert-dialog-content.llm.md +88 -0
  128. package/llm-docs/alert-dialog-description.llm.md +53 -0
  129. package/llm-docs/alert-dialog-footer.llm.md +41 -0
  130. package/llm-docs/alert-dialog-header.llm.md +39 -0
  131. package/llm-docs/alert-dialog-overlay.llm.md +44 -0
  132. package/llm-docs/alert-dialog-portal.llm.md +41 -0
  133. package/llm-docs/alert-dialog-title.llm.md +46 -0
  134. package/llm-docs/alert-dialog-trigger.llm.md +40 -0
  135. package/llm-docs/alert-dialog.llm.md +80 -0
  136. package/llm-docs/alert-title.llm.md +48 -0
  137. package/llm-docs/alert.llm.md +92 -0
  138. package/llm-docs/aspect-ratio.llm.md +41 -0
  139. package/llm-docs/avatar-fallback.llm.md +41 -0
  140. package/llm-docs/avatar-image.llm.md +48 -0
  141. package/llm-docs/avatar.llm.md +35 -0
  142. package/llm-docs/badge.llm.md +108 -0
  143. package/llm-docs/blockquote.llm.md +122 -0
  144. package/llm-docs/breadcrumb-ellipsis.llm.md +73 -0
  145. package/llm-docs/breadcrumb-item.llm.md +53 -0
  146. package/llm-docs/breadcrumb-link.llm.md +84 -0
  147. package/llm-docs/breadcrumb-list.llm.md +54 -0
  148. package/llm-docs/breadcrumb-page.llm.md +52 -0
  149. package/llm-docs/breadcrumb-separator.llm.md +60 -0
  150. package/llm-docs/breadcrumb.llm.md +110 -0
  151. package/llm-docs/button.llm.md +281 -0
  152. package/llm-docs/calendar-day-button.llm.md +57 -0
  153. package/llm-docs/calendar.llm.md +340 -0
  154. package/llm-docs/card-action.llm.md +64 -0
  155. package/llm-docs/card-content.llm.md +48 -0
  156. package/llm-docs/card-description.llm.md +46 -0
  157. package/llm-docs/card-footer.llm.md +56 -0
  158. package/llm-docs/card-header.llm.md +53 -0
  159. package/llm-docs/card-title.llm.md +43 -0
  160. package/llm-docs/card.llm.md +100 -0
  161. package/llm-docs/carousel-content.llm.md +77 -0
  162. package/llm-docs/carousel-item.llm.md +96 -0
  163. package/llm-docs/carousel-next.llm.md +95 -0
  164. package/llm-docs/carousel-previous.llm.md +95 -0
  165. package/llm-docs/carousel.llm.md +211 -0
  166. package/llm-docs/chart-config.llm.md +71 -0
  167. package/llm-docs/chart-container.llm.md +148 -0
  168. package/llm-docs/chart-legend-content.llm.md +85 -0
  169. package/llm-docs/chart-legend.llm.md +144 -0
  170. package/llm-docs/chart-style.llm.md +28 -0
  171. package/llm-docs/chart-tooltip-content.llm.md +149 -0
  172. package/llm-docs/chart-tooltip.llm.md +184 -0
  173. package/llm-docs/checkbox.llm.md +100 -0
  174. package/llm-docs/cn.llm.md +46 -0
  175. package/llm-docs/code.llm.md +108 -0
  176. package/llm-docs/collapsible-content.llm.md +109 -0
  177. package/llm-docs/collapsible-trigger.llm.md +75 -0
  178. package/llm-docs/collapsible.llm.md +109 -0
  179. package/llm-docs/combobox-option.llm.md +53 -0
  180. package/llm-docs/combobox.llm.md +208 -0
  181. package/llm-docs/command-dialog.llm.md +112 -0
  182. package/llm-docs/command-empty.llm.md +63 -0
  183. package/llm-docs/command-group.llm.md +83 -0
  184. package/llm-docs/command-input.llm.md +82 -0
  185. package/llm-docs/command-item.llm.md +97 -0
  186. package/llm-docs/command-list.llm.md +53 -0
  187. package/llm-docs/command-loading.llm.md +48 -0
  188. package/llm-docs/command-separator.llm.md +44 -0
  189. package/llm-docs/command-shortcut.llm.md +63 -0
  190. package/llm-docs/command.llm.md +147 -0
  191. package/llm-docs/container.llm.md +236 -0
  192. package/llm-docs/context-menu-checkbox-item.llm.md +97 -0
  193. package/llm-docs/context-menu-content.llm.md +91 -0
  194. package/llm-docs/context-menu-group.llm.md +61 -0
  195. package/llm-docs/context-menu-item.llm.md +94 -0
  196. package/llm-docs/context-menu-label.llm.md +60 -0
  197. package/llm-docs/context-menu-portal.llm.md +49 -0
  198. package/llm-docs/context-menu-radio-group.llm.md +66 -0
  199. package/llm-docs/context-menu-radio-item.llm.md +76 -0
  200. package/llm-docs/context-menu-separator.llm.md +51 -0
  201. package/llm-docs/context-menu-shortcut.llm.md +57 -0
  202. package/llm-docs/context-menu-sub-content.llm.md +90 -0
  203. package/llm-docs/context-menu-sub-trigger.llm.md +73 -0
  204. package/llm-docs/context-menu-sub.llm.md +61 -0
  205. package/llm-docs/context-menu-trigger.llm.md +53 -0
  206. package/llm-docs/context-menu.llm.md +103 -0
  207. package/llm-docs/date-picker.llm.md +90 -0
  208. package/llm-docs/dialog-close.llm.md +61 -0
  209. package/llm-docs/dialog-content.llm.md +128 -0
  210. package/llm-docs/dialog-description.llm.md +44 -0
  211. package/llm-docs/dialog-footer.llm.md +38 -0
  212. package/llm-docs/dialog-header.llm.md +40 -0
  213. package/llm-docs/dialog-overlay.llm.md +57 -0
  214. package/llm-docs/dialog-portal.llm.md +47 -0
  215. package/llm-docs/dialog-title.llm.md +41 -0
  216. package/llm-docs/dialog-trigger.llm.md +51 -0
  217. package/llm-docs/dialog.llm.md +113 -0
  218. package/llm-docs/drawer-close.llm.md +53 -0
  219. package/llm-docs/drawer-content.llm.md +58 -0
  220. package/llm-docs/drawer-description.llm.md +54 -0
  221. package/llm-docs/drawer-footer.llm.md +67 -0
  222. package/llm-docs/drawer-header.llm.md +60 -0
  223. package/llm-docs/drawer-overlay.llm.md +40 -0
  224. package/llm-docs/drawer-portal.llm.md +42 -0
  225. package/llm-docs/drawer-title.llm.md +51 -0
  226. package/llm-docs/drawer-trigger.llm.md +44 -0
  227. package/llm-docs/drawer.llm.md +194 -0
  228. package/llm-docs/dropdown-menu-checkbox-item.llm.md +111 -0
  229. package/llm-docs/dropdown-menu-content.llm.md +109 -0
  230. package/llm-docs/dropdown-menu-group.llm.md +38 -0
  231. package/llm-docs/dropdown-menu-item.llm.md +94 -0
  232. package/llm-docs/dropdown-menu-label.llm.md +66 -0
  233. package/llm-docs/dropdown-menu-portal.llm.md +32 -0
  234. package/llm-docs/dropdown-menu-radio-group.llm.md +73 -0
  235. package/llm-docs/dropdown-menu-radio-item.llm.md +92 -0
  236. package/llm-docs/dropdown-menu-separator.llm.md +55 -0
  237. package/llm-docs/dropdown-menu-shortcut.llm.md +74 -0
  238. package/llm-docs/dropdown-menu-sub-content.llm.md +80 -0
  239. package/llm-docs/dropdown-menu-sub-trigger.llm.md +84 -0
  240. package/llm-docs/dropdown-menu-sub.llm.md +74 -0
  241. package/llm-docs/dropdown-menu-trigger.llm.md +48 -0
  242. package/llm-docs/dropdown-menu.llm.md +120 -0
  243. package/llm-docs/empty-state.llm.md +174 -0
  244. package/llm-docs/h1.llm.md +113 -0
  245. package/llm-docs/h2.llm.md +113 -0
  246. package/llm-docs/h3.llm.md +111 -0
  247. package/llm-docs/h4.llm.md +109 -0
  248. package/llm-docs/h5.llm.md +110 -0
  249. package/llm-docs/h6.llm.md +110 -0
  250. package/llm-docs/hover-card-content.llm.md +167 -0
  251. package/llm-docs/hover-card-trigger.llm.md +65 -0
  252. package/llm-docs/hover-card.llm.md +121 -0
  253. package/llm-docs/input.llm.md +319 -0
  254. package/llm-docs/label.llm.md +145 -0
  255. package/llm-docs/lead.llm.md +119 -0
  256. package/llm-docs/menubar-checkbox-item.llm.md +66 -0
  257. package/llm-docs/menubar-content.llm.md +128 -0
  258. package/llm-docs/menubar-group.llm.md +40 -0
  259. package/llm-docs/menubar-item.llm.md +62 -0
  260. package/llm-docs/menubar-label.llm.md +40 -0
  261. package/llm-docs/menubar-menu.llm.md +32 -0
  262. package/llm-docs/menubar-portal.llm.md +38 -0
  263. package/llm-docs/menubar-radio-group.llm.md +39 -0
  264. package/llm-docs/menubar-radio-item.llm.md +59 -0
  265. package/llm-docs/menubar-separator.llm.md +35 -0
  266. package/llm-docs/menubar-shortcut.llm.md +37 -0
  267. package/llm-docs/menubar-sub-content.llm.md +127 -0
  268. package/llm-docs/menubar-sub-trigger.llm.md +51 -0
  269. package/llm-docs/menubar-sub.llm.md +53 -0
  270. package/llm-docs/menubar-trigger.llm.md +37 -0
  271. package/llm-docs/menubar.llm.md +115 -0
  272. package/llm-docs/navigation-menu-content.llm.md +116 -0
  273. package/llm-docs/navigation-menu-indicator.llm.md +68 -0
  274. package/llm-docs/navigation-menu-item.llm.md +62 -0
  275. package/llm-docs/navigation-menu-link.llm.md +109 -0
  276. package/llm-docs/navigation-menu-list.llm.md +52 -0
  277. package/llm-docs/navigation-menu-trigger-style.llm.md +22 -0
  278. package/llm-docs/navigation-menu-trigger.llm.md +57 -0
  279. package/llm-docs/navigation-menu-viewport.llm.md +51 -0
  280. package/llm-docs/navigation-menu.llm.md +184 -0
  281. package/llm-docs/p.llm.md +115 -0
  282. package/llm-docs/pagination-content.llm.md +60 -0
  283. package/llm-docs/pagination-ellipsis.llm.md +107 -0
  284. package/llm-docs/pagination-item.llm.md +59 -0
  285. package/llm-docs/pagination-link.llm.md +150 -0
  286. package/llm-docs/pagination-next.llm.md +115 -0
  287. package/llm-docs/pagination-previous.llm.md +115 -0
  288. package/llm-docs/pagination.llm.md +190 -0
  289. package/llm-docs/popover-anchor.llm.md +53 -0
  290. package/llm-docs/popover-content.llm.md +109 -0
  291. package/llm-docs/popover-trigger.llm.md +54 -0
  292. package/llm-docs/popover.llm.md +116 -0
  293. package/llm-docs/progress.llm.md +76 -0
  294. package/llm-docs/radio-group-indicator.llm.md +28 -0
  295. package/llm-docs/radio-group-item.llm.md +40 -0
  296. package/llm-docs/radio-group.llm.md +76 -0
  297. package/llm-docs/resizable-handle.llm.md +156 -0
  298. package/llm-docs/resizable-panel-group.llm.md +149 -0
  299. package/llm-docs/resizable-panel.llm.md +157 -0
  300. package/llm-docs/scroll-area-corner.llm.md +41 -0
  301. package/llm-docs/scroll-area-thumb.llm.md +39 -0
  302. package/llm-docs/scroll-area-viewport.llm.md +60 -0
  303. package/llm-docs/scroll-area.llm.md +125 -0
  304. package/llm-docs/scroll-bar.llm.md +78 -0
  305. package/llm-docs/sdk-items-registry.json +2638 -0
  306. package/llm-docs/select-content.llm.md +139 -0
  307. package/llm-docs/select-group.llm.md +60 -0
  308. package/llm-docs/select-item.llm.md +75 -0
  309. package/llm-docs/select-label.llm.md +62 -0
  310. package/llm-docs/select-scroll-down-button.llm.md +45 -0
  311. package/llm-docs/select-scroll-up-button.llm.md +45 -0
  312. package/llm-docs/select-separator.llm.md +59 -0
  313. package/llm-docs/select-trigger.llm.md +66 -0
  314. package/llm-docs/select-value.llm.md +67 -0
  315. package/llm-docs/select.llm.md +159 -0
  316. package/llm-docs/separator.llm.md +129 -0
  317. package/llm-docs/sheet-close.llm.md +49 -0
  318. package/llm-docs/sheet-content.llm.md +115 -0
  319. package/llm-docs/sheet-description.llm.md +62 -0
  320. package/llm-docs/sheet-footer.llm.md +64 -0
  321. package/llm-docs/sheet-header.llm.md +52 -0
  322. package/llm-docs/sheet-title.llm.md +53 -0
  323. package/llm-docs/sheet-trigger.llm.md +46 -0
  324. package/llm-docs/sheet.llm.md +126 -0
  325. package/llm-docs/sidebar-content.llm.md +63 -0
  326. package/llm-docs/sidebar-footer.llm.md +50 -0
  327. package/llm-docs/sidebar-group-action.llm.md +60 -0
  328. package/llm-docs/sidebar-group-content.llm.md +64 -0
  329. package/llm-docs/sidebar-group-label.llm.md +53 -0
  330. package/llm-docs/sidebar-group.llm.md +56 -0
  331. package/llm-docs/sidebar-header.llm.md +67 -0
  332. package/llm-docs/sidebar-input.llm.md +50 -0
  333. package/llm-docs/sidebar-inset.llm.md +52 -0
  334. package/llm-docs/sidebar-menu-action.llm.md +84 -0
  335. package/llm-docs/sidebar-menu-badge.llm.md +60 -0
  336. package/llm-docs/sidebar-menu-button.llm.md +103 -0
  337. package/llm-docs/sidebar-menu-item.llm.md +75 -0
  338. package/llm-docs/sidebar-menu-skeleton.llm.md +76 -0
  339. package/llm-docs/sidebar-menu-sub-button.llm.md +85 -0
  340. package/llm-docs/sidebar-menu-sub-item.llm.md +54 -0
  341. package/llm-docs/sidebar-menu-sub.llm.md +74 -0
  342. package/llm-docs/sidebar-menu.llm.md +65 -0
  343. package/llm-docs/sidebar-provider.llm.md +79 -0
  344. package/llm-docs/sidebar-rail.llm.md +34 -0
  345. package/llm-docs/sidebar-separator.llm.md +57 -0
  346. package/llm-docs/sidebar-trigger.llm.md +49 -0
  347. package/llm-docs/sidebar.llm.md +129 -0
  348. package/llm-docs/skeleton.llm.md +134 -0
  349. package/llm-docs/slider.llm.md +173 -0
  350. package/llm-docs/small.llm.md +115 -0
  351. package/llm-docs/span.llm.md +132 -0
  352. package/llm-docs/stack.llm.md +28 -0
  353. package/llm-docs/strong.llm.md +115 -0
  354. package/llm-docs/switch.llm.md +76 -0
  355. package/llm-docs/table-body.llm.md +36 -0
  356. package/llm-docs/table-caption.llm.md +48 -0
  357. package/llm-docs/table-cell.llm.md +53 -0
  358. package/llm-docs/table-footer.llm.md +41 -0
  359. package/llm-docs/table-head.llm.md +69 -0
  360. package/llm-docs/table-header.llm.md +41 -0
  361. package/llm-docs/table-row.llm.md +42 -0
  362. package/llm-docs/table.llm.md +123 -0
  363. package/llm-docs/tabs-content.llm.md +47 -0
  364. package/llm-docs/tabs-list.llm.md +41 -0
  365. package/llm-docs/tabs-trigger.llm.md +47 -0
  366. package/llm-docs/tabs.llm.md +71 -0
  367. package/llm-docs/text-field.llm.md +327 -0
  368. package/llm-docs/textarea.llm.md +311 -0
  369. package/llm-docs/theme-preference.llm.md +25 -0
  370. package/llm-docs/theme-toggle.llm.md +57 -0
  371. package/llm-docs/theme.llm.md +14 -0
  372. package/llm-docs/toast.llm.md +32 -0
  373. package/llm-docs/toaster.llm.md +193 -0
  374. package/llm-docs/toggle-group-item.llm.md +59 -0
  375. package/llm-docs/toggle-group.llm.md +101 -0
  376. package/llm-docs/toggle.llm.md +40 -0
  377. package/llm-docs/tooltip-content.llm.md +185 -0
  378. package/llm-docs/tooltip-provider.llm.md +68 -0
  379. package/llm-docs/tooltip-trigger.llm.md +70 -0
  380. package/llm-docs/tooltip.llm.md +129 -0
  381. package/llm-docs/typography.llm.md +175 -0
  382. package/llm-docs/use-carousel.llm.md +55 -0
  383. package/llm-docs/use-command-state.llm.md +32 -0
  384. package/llm-docs/use-is-mobile.llm.md +73 -0
  385. package/llm-docs/use-sidebar.llm.md +61 -0
  386. package/llms.txt +173 -3
  387. package/package.json +7 -3
  388. package/src/components/ui/accordion.tsx +112 -27
  389. package/src/components/ui/alert-dialog.tsx +401 -46
  390. package/src/components/ui/alert.tsx +114 -11
  391. package/src/components/ui/aspect-ratio.tsx +69 -14
  392. package/src/components/ui/avatar.tsx +179 -33
  393. package/src/components/ui/badge.tsx +74 -75
  394. package/src/components/ui/breadcrumb.tsx +335 -50
  395. package/src/components/ui/button.tsx +198 -90
  396. package/src/components/ui/calendar.tsx +867 -43
  397. package/src/components/ui/card.tsx +140 -33
  398. package/src/components/ui/carousel.tsx +529 -98
  399. package/src/components/ui/chart.tsx +222 -1
  400. package/src/components/ui/checkbox.tsx +176 -38
  401. package/src/components/ui/collapsible.tsx +321 -67
  402. package/src/components/ui/combobox.tsx +284 -83
  403. package/src/components/ui/command.tsx +527 -67
  404. package/src/components/ui/container.tsx +217 -65
  405. package/src/components/ui/context-menu.tsx +716 -51
  406. package/src/components/ui/date-picker.tsx +228 -38
  407. package/src/components/ui/dialog.tsx +270 -33
  408. package/src/components/ui/drawer.tsx +546 -67
  409. package/src/components/ui/dropdown-menu.tsx +657 -74
  410. package/src/components/ui/empty-state.tsx +241 -82
  411. package/src/components/ui/hover-card.tsx +328 -39
  412. package/src/components/ui/input.tsx +207 -44
  413. package/src/components/ui/label.tsx +98 -8
  414. package/src/components/ui/menubar.tsx +587 -54
  415. package/src/components/ui/navigation-menu.tsx +557 -128
  416. package/src/components/ui/pagination.tsx +561 -79
  417. package/src/components/ui/popover.tsx +119 -8
  418. package/src/components/ui/progress.tsx +131 -29
  419. package/src/components/ui/radio-group.tsx +260 -51
  420. package/src/components/ui/resizable.tsx +289 -63
  421. package/src/components/ui/scroll-area.tsx +377 -66
  422. package/src/components/ui/select.tsx +545 -60
  423. package/src/components/ui/separator.tsx +146 -40
  424. package/src/components/ui/sheet.tsx +348 -31
  425. package/src/components/ui/sidebar.tsx +471 -29
  426. package/src/components/ui/skeleton.tsx +114 -32
  427. package/src/components/ui/slider.tsx +77 -31
  428. package/src/components/ui/sonner.tsx +574 -46
  429. package/src/components/ui/stack.tsx +423 -101
  430. package/src/components/ui/switch.tsx +78 -39
  431. package/src/components/ui/table.tsx +170 -4
  432. package/src/components/ui/tabs.tsx +108 -22
  433. package/src/components/ui/text-field.tsx +226 -81
  434. package/src/components/ui/textarea.tsx +180 -29
  435. package/src/components/ui/theme-toggle.tsx +313 -65
  436. package/src/components/ui/theme.tsx +117 -23
  437. package/src/components/ui/toggle-group.tsx +280 -69
  438. package/src/components/ui/toggle.tsx +124 -35
  439. package/src/components/ui/tooltip.tsx +239 -29
  440. package/src/components/ui/typography.tsx +1115 -165
@@ -3,6 +3,125 @@ import * as PopoverPrimitive from "@radix-ui/react-popover";
3
3
 
4
4
  import { cn } from "@/lib/utils";
5
5
 
6
+ /**
7
+ * Props for Popover root component (Documentation only - NOT used in component implementation)
8
+ * Controls the open/closed state and behavior of the popover system.
9
+ */
10
+ // eslint-disable-next-line unused-imports/no-unused-vars
11
+ type PopoverDocsProps = {
12
+ /** Whether the popover is open. Use for controlled state management. */
13
+ open?: boolean;
14
+ /** Callback fired when the open state changes. Use for controlled state management. */
15
+ onOpenChange?: (open: boolean) => void;
16
+ /** The initial open state for uncontrolled usage @default false */
17
+ defaultOpen?: boolean;
18
+ /** Whether the popover should be modal, preventing interaction with elements behind it @default false */
19
+ modal?: boolean;
20
+ /** Direction of text reading for proper positioning @default "ltr" */
21
+ dir?: "ltr" | "rtl";
22
+ /** The children components - typically PopoverTrigger and PopoverContent */
23
+ children?: React.ReactNode;
24
+ };
25
+
26
+ /**
27
+ * Props for PopoverTrigger component (Documentation only - NOT used in component implementation)
28
+ * The interactive element that opens/closes the popover when activated.
29
+ */
30
+ // eslint-disable-next-line unused-imports/no-unused-vars
31
+ type PopoverTriggerDocsProps = {
32
+ /**
33
+ * Changes the default rendered element to the one passed as a child, merging their props and behavior.
34
+ * Use this when you want to wrap a custom component instead of rendering a default button element.
35
+ * @default false
36
+ */
37
+ asChild?: boolean;
38
+ /** The content to display inside the trigger element */
39
+ children?: React.ReactNode;
40
+ /** Additional CSS classes to apply to the trigger */
41
+ className?: string;
42
+ /** Whether the trigger is disabled @default false */
43
+ disabled?: boolean;
44
+ } & React.ButtonHTMLAttributes<HTMLButtonElement>;
45
+
46
+ /**
47
+ * Props for PopoverContent component (Documentation only - NOT used in component implementation)
48
+ * The container that displays the popover content with positioning and styling.
49
+ */
50
+ // eslint-disable-next-line unused-imports/no-unused-vars
51
+ type PopoverContentDocsProps = {
52
+ /**
53
+ * The preferred side of the trigger to render the popover against
54
+ * @default "bottom"
55
+ */
56
+ side?: "top" | "right" | "bottom" | "left";
57
+ /**
58
+ * How to align the popover relative to the trigger along the cross axis
59
+ * @default "center"
60
+ */
61
+ align?: "start" | "center" | "end";
62
+ /**
63
+ * Distance in pixels from the trigger element
64
+ * @default 4
65
+ */
66
+ sideOffset?: number;
67
+ /**
68
+ * Offset in pixels along the alignment axis
69
+ * @default 0
70
+ */
71
+ alignOffset?: number;
72
+ /**
73
+ * Whether to automatically reposition to avoid collisions with viewport edges
74
+ * @default true
75
+ */
76
+ avoidCollisions?: boolean;
77
+ /**
78
+ * The boundary area to consider for collision detection. Can be an element, array of elements, or boundary descriptor.
79
+ * @default "clippingAncestors"
80
+ */
81
+ collisionBoundary?: Element | Element[] | null;
82
+ /**
83
+ * The padding between the boundary and the content during collision detection
84
+ * @default 0
85
+ */
86
+ collisionPadding?:
87
+ | number
88
+ | Partial<Record<"top" | "right" | "bottom" | "left", number>>;
89
+ /**
90
+ * Whether to stick to the boundary edges when repositioning due to collisions
91
+ * @default "partial"
92
+ */
93
+ sticky?: "partial" | "always";
94
+ /**
95
+ * Whether to hide the content when the trigger is fully occluded
96
+ * @default false
97
+ */
98
+ hideWhenDetached?: boolean;
99
+ /** The content to display inside the popover */
100
+ children?: React.ReactNode;
101
+ /** Additional CSS classes to apply to the content container */
102
+ className?: string;
103
+ /** Custom inline styles */
104
+ style?: React.CSSProperties;
105
+ } & React.HTMLAttributes<HTMLDivElement>;
106
+
107
+ /**
108
+ * Props for PopoverAnchor component (Documentation only - NOT used in component implementation)
109
+ * Optional element to use as positioning reference instead of the trigger.
110
+ */
111
+ // eslint-disable-next-line unused-imports/no-unused-vars
112
+ type PopoverAnchorDocsProps = {
113
+ /**
114
+ * Changes the default rendered element to the one passed as a child, merging their props and behavior.
115
+ * Use this to wrap your own component that should serve as the positioning anchor.
116
+ * @default false
117
+ */
118
+ asChild?: boolean;
119
+ /** The content that will serve as the positioning reference */
120
+ children?: React.ReactNode;
121
+ /** Additional CSS classes to apply to the anchor */
122
+ className?: string;
123
+ } & React.HTMLAttributes<HTMLElement>;
124
+
6
125
  /**
7
126
  * Popover displays rich content in a portal, triggered by a button
8
127
  *
@@ -86,14 +205,6 @@ import { cn } from "@/lib/utils";
86
205
  * @see {@link https://www.radix-ui.com/primitives/docs/components/popover} Radix Popover Primitive
87
206
  * @since 1.0.0
88
207
  */
89
- /**
90
- * Root popover component that manages open/closed state
91
- *
92
- * @param open - Controls the open state of the popover
93
- * @param onOpenChange - Event handler called when the open state changes
94
- * @param defaultOpen - The initial open state for uncontrolled usage
95
- * @param modal - Whether the popover should be modal (default: false)
96
- */
97
208
  function Popover({
98
209
  ...props
99
210
  }: React.ComponentProps<typeof PopoverPrimitive.Root>) {
@@ -4,67 +4,166 @@ import * as ProgressPrimitive from "@radix-ui/react-progress";
4
4
  import { cn } from "@/lib/utils";
5
5
 
6
6
  /**
7
- * Progress component displays completion progress of tasks and operations
7
+ * Props for Progress component (Documentation only - NOT used in component implementation)
8
+ * These types are for documentation generation and should not replace Radix inferred types
9
+ */
10
+ // eslint-disable-next-line unused-imports/no-unused-vars
11
+ type ProgressDocsProps = {
12
+ /** The progress value from 0 to 100. When undefined, shows an indeterminate state. */
13
+ value?: number | null;
14
+ /** The maximum progress value. @default 100 */
15
+ max?: number;
16
+ /**
17
+ * A function to get the accessible label text representing the current value in a human-readable format.
18
+ * If not provided, the value label will be read as the numeric value as a percentage of the max value.
19
+ * @param value Current progress value
20
+ * @param max Maximum progress value
21
+ * @returns Human-readable progress description
22
+ */
23
+ getValueLabel?: (value: number, max: number) => string;
24
+ /** Additional CSS classes for styling customization */
25
+ className?: string;
26
+ /**
27
+ * Change the default rendered element for the one passed as a child,
28
+ * merging their props and behavior. @default false
29
+ */
30
+ asChild?: boolean;
31
+ /** ARIA label for screen readers describing the progress element */
32
+ "aria-label"?: string;
33
+ /** ARIA text value providing human-readable description of progress */
34
+ "aria-valuetext"?: string;
35
+ /** ARIA description of the progress element */
36
+ "aria-describedby"?: string;
37
+ /** ARIA label referenced by element ID */
38
+ "aria-labelledby"?: string;
39
+ /** Unique identifier for the progress element */
40
+ id?: string;
41
+ /** Custom data attributes */
42
+ [key: `data-${string}`]: string | number | boolean | undefined;
43
+ } & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "max">;
44
+
45
+ /**
46
+ * Progress - Visual progress indicator for tasks and operations
8
47
  *
9
- * A visual progress indicator built on Radix UI primitives that shows the
10
- * completion state of tasks, file uploads, multi-step processes, and other
11
- * operations requiring user feedback about progress status.
48
+ * A customizable progress bar component built on Radix UI Progress primitive that displays
49
+ * the completion status of tasks, file uploads, multi-step processes, and other operations
50
+ * requiring user feedback. Features smooth animations, accessibility support, and flexible
51
+ * styling options.
12
52
  *
13
- * @example Basic usage
53
+ * @example Basic progress bar
14
54
  * ```tsx
15
55
  * <Progress value={60} />
16
56
  * ```
17
57
  *
18
- * @example With label and percentage
58
+ * @example With custom maximum value
59
+ * ```tsx
60
+ * <Progress value={30} max={50} />
61
+ * ```
62
+ *
63
+ * @example Indeterminate state (loading)
64
+ * ```tsx
65
+ * <Progress />
66
+ * ```
67
+ *
68
+ * @example With accessible label
69
+ * ```tsx
70
+ * <Progress
71
+ * value={75}
72
+ * aria-label="Installation progress"
73
+ * getValueLabel={(value, max) => `${value} of ${max} files installed`}
74
+ * />
75
+ * ```
76
+ *
77
+ * @example File upload progress with label
78
+ * ```tsx
79
+ * <div className="space-y-2">
80
+ * <div className="flex justify-between text-sm">
81
+ * <span>Uploading image.jpg</span>
82
+ * <span>{uploadProgress}%</span>
83
+ * </div>
84
+ * <Progress value={uploadProgress} />
85
+ * </div>
86
+ * ```
87
+ *
88
+ * @example Custom styling with different heights and colors
19
89
  * ```tsx
90
+ * <div className="space-y-4">
91
+ * <Progress value={25} className="h-1" />
92
+ * <Progress value={50} className="h-3" />
93
+ * <Progress value={75} className="h-4 [&>div]:bg-green-500" />
94
+ * <Progress value={100} className="h-6 [&>div]:bg-gradient-to-r [&>div]:from-blue-500 [&>div]:to-purple-500" />
95
+ * </div>
96
+ * ```
97
+ *
98
+ * @example Multi-step process indicator
99
+ * ```tsx
100
+ * const currentStep = 3;
101
+ * const totalSteps = 5;
102
+ * const stepProgress = (currentStep / totalSteps) * 100;
103
+ *
20
104
  * <div className="space-y-2">
21
105
  * <div className="flex justify-between text-sm">
22
- * <span>Loading data...</span>
23
- * <span>{progress}%</span>
106
+ * <span>Step {currentStep} of {totalSteps}</span>
107
+ * <span>{Math.round(stepProgress)}%</span>
24
108
  * </div>
25
- * <Progress value={progress} />
109
+ * <Progress
110
+ * value={stepProgress}
111
+ * getValueLabel={(value, max) => `Step ${currentStep} of ${totalSteps} complete`}
112
+ * />
26
113
  * </div>
27
114
  * ```
28
115
  *
29
- * @example File upload progress
116
+ * @example Form validation progress
30
117
  * ```tsx
118
+ * const validFields = 4;
119
+ * const totalFields = 6;
120
+ * const validationProgress = (validFields / totalFields) * 100;
121
+ *
31
122
  * <div className="space-y-2">
32
- * <Progress value={uploadProgress} />
33
123
  * <p className="text-sm text-muted-foreground">
34
- * {uploadProgress}% of 2.4 MB uploaded
124
+ * Form completion: {validFields}/{totalFields} fields
35
125
  * </p>
126
+ * <Progress
127
+ * value={validationProgress}
128
+ * className="[&>div]:bg-emerald-500"
129
+ * aria-label="Form completion progress"
130
+ * />
36
131
  * </div>
37
132
  * ```
38
133
  *
39
- * @example Custom height and colors
134
+ * @example Reading progress indicator
40
135
  * ```tsx
136
+ * const scrollProgress = Math.min(100, (scrollY / (documentHeight - windowHeight)) * 100);
137
+ *
41
138
  * <Progress
42
- * value={85}
43
- * className="h-4 [&>div]:bg-green-500"
139
+ * value={scrollProgress}
140
+ * className="fixed top-0 left-0 right-0 z-50 h-1 rounded-none"
141
+ * aria-label={`Reading progress: ${Math.round(scrollProgress)}%`}
44
142
  * />
45
143
  * ```
46
144
  *
47
- * @example Multi-step process
48
- * ```tsx
49
- * const stepProgress = (currentStep / totalSteps) * 100;
50
- * <Progress value={stepProgress} />
51
- * ```
52
- *
53
- * @param value - Progress value from 0 to 100. Undefined shows no progress.
54
- * @param className - Additional CSS classes for styling customization
55
- *
56
145
  * @accessibility
57
- * - Built on Radix UI Progress primitive with proper ARIA attributes
58
- * - Announces progress changes to screen readers
59
- * - Supports custom aria-label and aria-valuetext for enhanced descriptions
60
- * - Smooth visual transitions provide clear feedback
146
+ * - Built on Radix UI Progress primitive with full ARIA support
147
+ * - Automatically announces progress changes to screen readers via `aria-valuenow`, `aria-valuemin`, and `aria-valuemax`
148
+ * - Supports custom `aria-label` for descriptive labeling
149
+ * - Uses `getValueLabel` to provide human-readable progress descriptions
150
+ * - Includes `role="progressbar"` for proper semantic meaning
151
+ * - Supports `aria-valuetext` for custom progress descriptions
152
+ * - Visual progress changes are communicated through color, position, and optional text
153
+ * - Keyboard navigation is not required as this is a read-only indicator
154
+ * - Compatible with screen readers and other assistive technologies
155
+ * - Respects user's motion preferences for animations
61
156
  *
62
- * @see {@link https://ui.shadcn.com/docs/components/progress} for design patterns
157
+ * @see {@link https://www.radix-ui.com/docs/primitives/components/progress} Radix UI Progress Documentation
158
+ * @see {@link https://ui.shadcn.com/docs/components/progress} shadcn/ui Progress Component
159
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/progressbar_role} MDN progressbar role
63
160
  * @since 1.0.0
64
161
  */
65
162
  function Progress({
66
163
  className,
67
164
  value,
165
+ max = 100,
166
+ getValueLabel,
68
167
  ...props
69
168
  }: React.ComponentProps<typeof ProgressPrimitive.Root>) {
70
169
  return (
@@ -74,6 +173,9 @@ function Progress({
74
173
  "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
75
174
  className,
76
175
  )}
176
+ value={value}
177
+ max={max}
178
+ getValueLabel={getValueLabel}
77
179
  {...props}
78
180
  >
79
181
  <ProgressPrimitive.Indicator