@neynar/ui 0.1.1

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 (364) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +195 -0
  3. package/dist/components/ui/accordion.d.ts +229 -0
  4. package/dist/components/ui/accordion.d.ts.map +1 -0
  5. package/dist/components/ui/alert-dialog.d.ts +247 -0
  6. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  7. package/dist/components/ui/alert.d.ts +187 -0
  8. package/dist/components/ui/alert.d.ts.map +1 -0
  9. package/dist/components/ui/aspect-ratio.d.ts +94 -0
  10. package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
  11. package/dist/components/ui/avatar.d.ts +244 -0
  12. package/dist/components/ui/avatar.d.ts.map +1 -0
  13. package/dist/components/ui/badge.d.ts +163 -0
  14. package/dist/components/ui/badge.d.ts.map +1 -0
  15. package/dist/components/ui/breadcrumb.d.ts +281 -0
  16. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  17. package/dist/components/ui/button.d.ts +129 -0
  18. package/dist/components/ui/button.d.ts.map +1 -0
  19. package/dist/components/ui/calendar.d.ts +169 -0
  20. package/dist/components/ui/calendar.d.ts.map +1 -0
  21. package/dist/components/ui/card.d.ts +365 -0
  22. package/dist/components/ui/card.d.ts.map +1 -0
  23. package/dist/components/ui/carousel.d.ts +369 -0
  24. package/dist/components/ui/carousel.d.ts.map +1 -0
  25. package/dist/components/ui/chart.d.ts +442 -0
  26. package/dist/components/ui/chart.d.ts.map +1 -0
  27. package/dist/components/ui/checkbox.d.ts +88 -0
  28. package/dist/components/ui/checkbox.d.ts.map +1 -0
  29. package/dist/components/ui/collapsible.d.ts +182 -0
  30. package/dist/components/ui/collapsible.d.ts.map +1 -0
  31. package/dist/components/ui/combobox.d.ts +270 -0
  32. package/dist/components/ui/combobox.d.ts.map +1 -0
  33. package/dist/components/ui/command.d.ts +355 -0
  34. package/dist/components/ui/command.d.ts.map +1 -0
  35. package/dist/components/ui/container.d.ts +102 -0
  36. package/dist/components/ui/container.d.ts.map +1 -0
  37. package/dist/components/ui/context-menu.d.ts +339 -0
  38. package/dist/components/ui/context-menu.d.ts.map +1 -0
  39. package/dist/components/ui/date-picker.d.ts +145 -0
  40. package/dist/components/ui/date-picker.d.ts.map +1 -0
  41. package/dist/components/ui/dialog.d.ts +322 -0
  42. package/dist/components/ui/dialog.d.ts.map +1 -0
  43. package/dist/components/ui/drawer.d.ts +154 -0
  44. package/dist/components/ui/drawer.d.ts.map +1 -0
  45. package/dist/components/ui/dropdown-menu.d.ts +349 -0
  46. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  47. package/dist/components/ui/empty-state.d.ts +133 -0
  48. package/dist/components/ui/empty-state.d.ts.map +1 -0
  49. package/dist/components/ui/hover-card.d.ts +109 -0
  50. package/dist/components/ui/hover-card.d.ts.map +1 -0
  51. package/dist/components/ui/input.d.ts +89 -0
  52. package/dist/components/ui/input.d.ts.map +1 -0
  53. package/dist/components/ui/label.d.ts +93 -0
  54. package/dist/components/ui/label.d.ts.map +1 -0
  55. package/dist/components/ui/menubar.d.ts +306 -0
  56. package/dist/components/ui/menubar.d.ts.map +1 -0
  57. package/dist/components/ui/navigation-menu.d.ts +318 -0
  58. package/dist/components/ui/navigation-menu.d.ts.map +1 -0
  59. package/dist/components/ui/pagination.d.ts +343 -0
  60. package/dist/components/ui/pagination.d.ts.map +1 -0
  61. package/dist/components/ui/popover.d.ts +178 -0
  62. package/dist/components/ui/popover.d.ts.map +1 -0
  63. package/dist/components/ui/progress.d.ts +64 -0
  64. package/dist/components/ui/progress.d.ts.map +1 -0
  65. package/dist/components/ui/radio-group.d.ts +144 -0
  66. package/dist/components/ui/radio-group.d.ts.map +1 -0
  67. package/dist/components/ui/resizable.d.ts +164 -0
  68. package/dist/components/ui/resizable.d.ts.map +1 -0
  69. package/dist/components/ui/scroll-area.d.ts +82 -0
  70. package/dist/components/ui/scroll-area.d.ts.map +1 -0
  71. package/dist/components/ui/select.d.ts +316 -0
  72. package/dist/components/ui/select.d.ts.map +1 -0
  73. package/dist/components/ui/separator.d.ts +80 -0
  74. package/dist/components/ui/separator.d.ts.map +1 -0
  75. package/dist/components/ui/sheet.d.ts +346 -0
  76. package/dist/components/ui/sheet.d.ts.map +1 -0
  77. package/dist/components/ui/sidebar.d.ts +1561 -0
  78. package/dist/components/ui/sidebar.d.ts.map +1 -0
  79. package/dist/components/ui/skeleton.d.ts +66 -0
  80. package/dist/components/ui/skeleton.d.ts.map +1 -0
  81. package/dist/components/ui/slider.d.ts +95 -0
  82. package/dist/components/ui/slider.d.ts.map +1 -0
  83. package/dist/components/ui/sonner.d.ts +101 -0
  84. package/dist/components/ui/sonner.d.ts.map +1 -0
  85. package/dist/components/ui/stack.d.ts +192 -0
  86. package/dist/components/ui/stack.d.ts.map +1 -0
  87. package/dist/components/ui/stories/accordion.stories.d.ts +71 -0
  88. package/dist/components/ui/stories/accordion.stories.d.ts.map +1 -0
  89. package/dist/components/ui/stories/alert-dialog.stories.d.ts +39 -0
  90. package/dist/components/ui/stories/alert-dialog.stories.d.ts.map +1 -0
  91. package/dist/components/ui/stories/alert.stories.d.ts +48 -0
  92. package/dist/components/ui/stories/alert.stories.d.ts.map +1 -0
  93. package/dist/components/ui/stories/aspect-ratio.stories.d.ts +53 -0
  94. package/dist/components/ui/stories/aspect-ratio.stories.d.ts.map +1 -0
  95. package/dist/components/ui/stories/avatar.stories.d.ts +49 -0
  96. package/dist/components/ui/stories/avatar.stories.d.ts.map +1 -0
  97. package/dist/components/ui/stories/badge.stories.d.ts +64 -0
  98. package/dist/components/ui/stories/badge.stories.d.ts.map +1 -0
  99. package/dist/components/ui/stories/breadcrumb.stories.d.ts +27 -0
  100. package/dist/components/ui/stories/breadcrumb.stories.d.ts.map +1 -0
  101. package/dist/components/ui/stories/button.stories.d.ts +92 -0
  102. package/dist/components/ui/stories/button.stories.d.ts.map +1 -0
  103. package/dist/components/ui/stories/calendar.stories.d.ts +94 -0
  104. package/dist/components/ui/stories/calendar.stories.d.ts.map +1 -0
  105. package/dist/components/ui/stories/card.stories.d.ts +29 -0
  106. package/dist/components/ui/stories/card.stories.d.ts.map +1 -0
  107. package/dist/components/ui/stories/carousel.stories.d.ts +42 -0
  108. package/dist/components/ui/stories/carousel.stories.d.ts.map +1 -0
  109. package/dist/components/ui/stories/chart.stories.d.ts +51 -0
  110. package/dist/components/ui/stories/chart.stories.d.ts.map +1 -0
  111. package/dist/components/ui/stories/checkbox.stories.d.ts +72 -0
  112. package/dist/components/ui/stories/checkbox.stories.d.ts.map +1 -0
  113. package/dist/components/ui/stories/cn.stories.d.ts +19 -0
  114. package/dist/components/ui/stories/cn.stories.d.ts.map +1 -0
  115. package/dist/components/ui/stories/collapsible.stories.d.ts +51 -0
  116. package/dist/components/ui/stories/collapsible.stories.d.ts.map +1 -0
  117. package/dist/components/ui/stories/colors.stories.d.ts +31 -0
  118. package/dist/components/ui/stories/colors.stories.d.ts.map +1 -0
  119. package/dist/components/ui/stories/combobox.stories.d.ts +89 -0
  120. package/dist/components/ui/stories/combobox.stories.d.ts.map +1 -0
  121. package/dist/components/ui/stories/command.stories.d.ts +69 -0
  122. package/dist/components/ui/stories/command.stories.d.ts.map +1 -0
  123. package/dist/components/ui/stories/container.stories.d.ts +42 -0
  124. package/dist/components/ui/stories/container.stories.d.ts.map +1 -0
  125. package/dist/components/ui/stories/context-menu.stories.d.ts +32 -0
  126. package/dist/components/ui/stories/context-menu.stories.d.ts.map +1 -0
  127. package/dist/components/ui/stories/date-picker.stories.d.ts +67 -0
  128. package/dist/components/ui/stories/date-picker.stories.d.ts.map +1 -0
  129. package/dist/components/ui/stories/dialog.stories.d.ts +48 -0
  130. package/dist/components/ui/stories/dialog.stories.d.ts.map +1 -0
  131. package/dist/components/ui/stories/drawer.stories.d.ts +33 -0
  132. package/dist/components/ui/stories/drawer.stories.d.ts.map +1 -0
  133. package/dist/components/ui/stories/dropdown-menu.stories.d.ts +31 -0
  134. package/dist/components/ui/stories/dropdown-menu.stories.d.ts.map +1 -0
  135. package/dist/components/ui/stories/empty-state.stories.d.ts +74 -0
  136. package/dist/components/ui/stories/empty-state.stories.d.ts.map +1 -0
  137. package/dist/components/ui/stories/hover-card.stories.d.ts +35 -0
  138. package/dist/components/ui/stories/hover-card.stories.d.ts.map +1 -0
  139. package/dist/components/ui/stories/input.stories.d.ts +69 -0
  140. package/dist/components/ui/stories/input.stories.d.ts.map +1 -0
  141. package/dist/components/ui/stories/label.stories.d.ts +47 -0
  142. package/dist/components/ui/stories/label.stories.d.ts.map +1 -0
  143. package/dist/components/ui/stories/menubar.stories.d.ts +39 -0
  144. package/dist/components/ui/stories/menubar.stories.d.ts.map +1 -0
  145. package/dist/components/ui/stories/navigation-menu.stories.d.ts +44 -0
  146. package/dist/components/ui/stories/navigation-menu.stories.d.ts.map +1 -0
  147. package/dist/components/ui/stories/pagination.stories.d.ts +33 -0
  148. package/dist/components/ui/stories/pagination.stories.d.ts.map +1 -0
  149. package/dist/components/ui/stories/popover.stories.d.ts +36 -0
  150. package/dist/components/ui/stories/popover.stories.d.ts.map +1 -0
  151. package/dist/components/ui/stories/progress.stories.d.ts +38 -0
  152. package/dist/components/ui/stories/progress.stories.d.ts.map +1 -0
  153. package/dist/components/ui/stories/radio-group.stories.d.ts +76 -0
  154. package/dist/components/ui/stories/radio-group.stories.d.ts.map +1 -0
  155. package/dist/components/ui/stories/resizable.stories.d.ts +49 -0
  156. package/dist/components/ui/stories/resizable.stories.d.ts.map +1 -0
  157. package/dist/components/ui/stories/scroll-area.stories.d.ts +35 -0
  158. package/dist/components/ui/stories/scroll-area.stories.d.ts.map +1 -0
  159. package/dist/components/ui/stories/select.stories.d.ts +51 -0
  160. package/dist/components/ui/stories/select.stories.d.ts.map +1 -0
  161. package/dist/components/ui/stories/separator.stories.d.ts +58 -0
  162. package/dist/components/ui/stories/separator.stories.d.ts.map +1 -0
  163. package/dist/components/ui/stories/sheet.stories.d.ts +43 -0
  164. package/dist/components/ui/stories/sheet.stories.d.ts.map +1 -0
  165. package/dist/components/ui/stories/sidebar.stories.d.ts +60 -0
  166. package/dist/components/ui/stories/sidebar.stories.d.ts.map +1 -0
  167. package/dist/components/ui/stories/skeleton.stories.d.ts +42 -0
  168. package/dist/components/ui/stories/skeleton.stories.d.ts.map +1 -0
  169. package/dist/components/ui/stories/slider.stories.d.ts +99 -0
  170. package/dist/components/ui/stories/slider.stories.d.ts.map +1 -0
  171. package/dist/components/ui/stories/sonner.stories.d.ts +9 -0
  172. package/dist/components/ui/stories/sonner.stories.d.ts.map +1 -0
  173. package/dist/components/ui/stories/stack.stories.d.ts +39 -0
  174. package/dist/components/ui/stories/stack.stories.d.ts.map +1 -0
  175. package/dist/components/ui/stories/switch.stories.d.ts +71 -0
  176. package/dist/components/ui/stories/switch.stories.d.ts.map +1 -0
  177. package/dist/components/ui/stories/table.stories.d.ts +40 -0
  178. package/dist/components/ui/stories/table.stories.d.ts.map +1 -0
  179. package/dist/components/ui/stories/tabs.stories.d.ts +62 -0
  180. package/dist/components/ui/stories/tabs.stories.d.ts.map +1 -0
  181. package/dist/components/ui/stories/text-field.stories.d.ts +78 -0
  182. package/dist/components/ui/stories/text-field.stories.d.ts.map +1 -0
  183. package/dist/components/ui/stories/textarea.stories.d.ts +57 -0
  184. package/dist/components/ui/stories/textarea.stories.d.ts.map +1 -0
  185. package/dist/components/ui/stories/theme-toggle.stories.d.ts +71 -0
  186. package/dist/components/ui/stories/theme-toggle.stories.d.ts.map +1 -0
  187. package/dist/components/ui/stories/theme.stories.d.ts +51 -0
  188. package/dist/components/ui/stories/theme.stories.d.ts.map +1 -0
  189. package/dist/components/ui/stories/toggle-group.stories.d.ts +71 -0
  190. package/dist/components/ui/stories/toggle-group.stories.d.ts.map +1 -0
  191. package/dist/components/ui/stories/toggle.stories.d.ts +78 -0
  192. package/dist/components/ui/stories/toggle.stories.d.ts.map +1 -0
  193. package/dist/components/ui/stories/tooltip.stories.d.ts +37 -0
  194. package/dist/components/ui/stories/tooltip.stories.d.ts.map +1 -0
  195. package/dist/components/ui/stories/typography.stories.d.ts +137 -0
  196. package/dist/components/ui/stories/typography.stories.d.ts.map +1 -0
  197. package/dist/components/ui/stories/use-mobile.stories.d.ts +20 -0
  198. package/dist/components/ui/stories/use-mobile.stories.d.ts.map +1 -0
  199. package/dist/components/ui/stories/use-theme.stories.d.ts +23 -0
  200. package/dist/components/ui/stories/use-theme.stories.d.ts.map +1 -0
  201. package/dist/components/ui/switch.d.ts +84 -0
  202. package/dist/components/ui/switch.d.ts.map +1 -0
  203. package/dist/components/ui/table.d.ts +321 -0
  204. package/dist/components/ui/table.d.ts.map +1 -0
  205. package/dist/components/ui/tabs.d.ts +260 -0
  206. package/dist/components/ui/tabs.d.ts.map +1 -0
  207. package/dist/components/ui/text-field.d.ts +157 -0
  208. package/dist/components/ui/text-field.d.ts.map +1 -0
  209. package/dist/components/ui/textarea.d.ts +84 -0
  210. package/dist/components/ui/textarea.d.ts.map +1 -0
  211. package/dist/components/ui/theme-toggle.d.ts +105 -0
  212. package/dist/components/ui/theme-toggle.d.ts.map +1 -0
  213. package/dist/components/ui/theme.d.ts +110 -0
  214. package/dist/components/ui/theme.d.ts.map +1 -0
  215. package/dist/components/ui/toggle-group.d.ts +133 -0
  216. package/dist/components/ui/toggle-group.d.ts.map +1 -0
  217. package/dist/components/ui/toggle.d.ts +84 -0
  218. package/dist/components/ui/toggle.d.ts.map +1 -0
  219. package/dist/components/ui/tooltip.d.ts +202 -0
  220. package/dist/components/ui/tooltip.d.ts.map +1 -0
  221. package/dist/components/ui/typography.d.ts +287 -0
  222. package/dist/components/ui/typography.d.ts.map +1 -0
  223. package/dist/hooks/use-mobile.d.ts +74 -0
  224. package/dist/hooks/use-mobile.d.ts.map +1 -0
  225. package/dist/hooks/use-theme.d.ts +142 -0
  226. package/dist/hooks/use-theme.d.ts.map +1 -0
  227. package/dist/index.d.ts +57 -0
  228. package/dist/index.d.ts.map +1 -0
  229. package/dist/index.js +27498 -0
  230. package/dist/index.js.map +1 -0
  231. package/dist/lib/utils.d.ts +43 -0
  232. package/dist/lib/utils.d.ts.map +1 -0
  233. package/dist/tsconfig.tsbuildinfo +1 -0
  234. package/docs/llm/colors.md +273 -0
  235. package/docs/llm/components/buttons.md +68 -0
  236. package/docs/llm/components/cards.md +53 -0
  237. package/docs/llm/components/display.md +134 -0
  238. package/docs/llm/components/feedback.md +96 -0
  239. package/docs/llm/components/forms.md +90 -0
  240. package/docs/llm/components/layout.md +59 -0
  241. package/docs/llm/components/menus.md +70 -0
  242. package/docs/llm/components/navigation.md +80 -0
  243. package/docs/llm/components/overlays.md +83 -0
  244. package/docs/llm/components/tables.md +73 -0
  245. package/docs/llm/components/typography.md +199 -0
  246. package/docs/llm/components/utilities.md +114 -0
  247. package/docs/llm/guide.md +165 -0
  248. package/llms.txt +122 -0
  249. package/package.json +104 -0
  250. package/src/components/ui/accordion.tsx +285 -0
  251. package/src/components/ui/alert-dialog.tsx +387 -0
  252. package/src/components/ui/alert.tsx +243 -0
  253. package/src/components/ui/aspect-ratio.tsx +99 -0
  254. package/src/components/ui/avatar.tsx +288 -0
  255. package/src/components/ui/badge.tsx +205 -0
  256. package/src/components/ui/breadcrumb.tsx +378 -0
  257. package/src/components/ui/button.tsx +195 -0
  258. package/src/components/ui/calendar.tsx +371 -0
  259. package/src/components/ui/card.tsx +447 -0
  260. package/src/components/ui/carousel.tsx +624 -0
  261. package/src/components/ui/chart.tsx +802 -0
  262. package/src/components/ui/checkbox.tsx +113 -0
  263. package/src/components/ui/collapsible.tsx +207 -0
  264. package/src/components/ui/combobox.tsx +373 -0
  265. package/src/components/ui/command.tsx +518 -0
  266. package/src/components/ui/container.tsx +114 -0
  267. package/src/components/ui/context-menu.tsx +563 -0
  268. package/src/components/ui/date-picker.tsx +213 -0
  269. package/src/components/ui/dialog.tsx +447 -0
  270. package/src/components/ui/drawer.tsx +273 -0
  271. package/src/components/ui/dropdown-menu.tsx +578 -0
  272. package/src/components/ui/empty-state.tsx +145 -0
  273. package/src/components/ui/hover-card.tsx +144 -0
  274. package/src/components/ui/input.tsx +106 -0
  275. package/src/components/ui/label.tsx +110 -0
  276. package/src/components/ui/menubar.tsx +553 -0
  277. package/src/components/ui/navigation-menu.tsx +471 -0
  278. package/src/components/ui/pagination.tsx +456 -0
  279. package/src/components/ui/popover.tsx +216 -0
  280. package/src/components/ui/progress.tsx +88 -0
  281. package/src/components/ui/radio-group.tsx +183 -0
  282. package/src/components/ui/resizable.tsx +209 -0
  283. package/src/components/ui/scroll-area.tsx +132 -0
  284. package/src/components/ui/select.tsx +485 -0
  285. package/src/components/ui/separator.tsx +101 -0
  286. package/src/components/ui/sheet.tsx +495 -0
  287. package/src/components/ui/sidebar.tsx +2211 -0
  288. package/src/components/ui/skeleton.tsx +76 -0
  289. package/src/components/ui/slider.tsx +147 -0
  290. package/src/components/ui/sonner.tsx +120 -0
  291. package/src/components/ui/stack.tsx +180 -0
  292. package/src/components/ui/stories/accordion.stories.tsx +429 -0
  293. package/src/components/ui/stories/alert-dialog.stories.tsx +519 -0
  294. package/src/components/ui/stories/alert.stories.tsx +228 -0
  295. package/src/components/ui/stories/aspect-ratio.stories.tsx +200 -0
  296. package/src/components/ui/stories/avatar.stories.tsx +317 -0
  297. package/src/components/ui/stories/badge.stories.tsx +260 -0
  298. package/src/components/ui/stories/breadcrumb.stories.tsx +482 -0
  299. package/src/components/ui/stories/button.stories.tsx +266 -0
  300. package/src/components/ui/stories/calendar.stories.tsx +375 -0
  301. package/src/components/ui/stories/card.stories.tsx +308 -0
  302. package/src/components/ui/stories/carousel.stories.tsx +328 -0
  303. package/src/components/ui/stories/chart.stories.tsx +430 -0
  304. package/src/components/ui/stories/checkbox.stories.tsx +297 -0
  305. package/src/components/ui/stories/cn.stories.tsx +433 -0
  306. package/src/components/ui/stories/collapsible.stories.tsx +256 -0
  307. package/src/components/ui/stories/colors.stories.tsx +502 -0
  308. package/src/components/ui/stories/combobox.stories.tsx +301 -0
  309. package/src/components/ui/stories/command.stories.tsx +632 -0
  310. package/src/components/ui/stories/container.stories.tsx +250 -0
  311. package/src/components/ui/stories/context-menu.stories.tsx +446 -0
  312. package/src/components/ui/stories/date-picker.stories.tsx +378 -0
  313. package/src/components/ui/stories/dialog.stories.tsx +535 -0
  314. package/src/components/ui/stories/drawer.stories.tsx +364 -0
  315. package/src/components/ui/stories/dropdown-menu.stories.tsx +374 -0
  316. package/src/components/ui/stories/empty-state.stories.tsx +244 -0
  317. package/src/components/ui/stories/hover-card.stories.tsx +355 -0
  318. package/src/components/ui/stories/input.stories.tsx +289 -0
  319. package/src/components/ui/stories/label.stories.tsx +294 -0
  320. package/src/components/ui/stories/menubar.stories.tsx +764 -0
  321. package/src/components/ui/stories/navigation-menu.stories.tsx +539 -0
  322. package/src/components/ui/stories/pagination.stories.tsx +604 -0
  323. package/src/components/ui/stories/popover.stories.tsx +392 -0
  324. package/src/components/ui/stories/progress.stories.tsx +218 -0
  325. package/src/components/ui/stories/radio-group.stories.tsx +400 -0
  326. package/src/components/ui/stories/resizable.stories.tsx +417 -0
  327. package/src/components/ui/stories/scroll-area.stories.tsx +180 -0
  328. package/src/components/ui/stories/select.stories.tsx +389 -0
  329. package/src/components/ui/stories/separator.stories.tsx +192 -0
  330. package/src/components/ui/stories/sheet.stories.tsx +468 -0
  331. package/src/components/ui/stories/sidebar.stories.tsx +731 -0
  332. package/src/components/ui/stories/skeleton.stories.tsx +216 -0
  333. package/src/components/ui/stories/slider.stories.tsx +321 -0
  334. package/src/components/ui/stories/sonner.stories.tsx +373 -0
  335. package/src/components/ui/stories/stack.stories.tsx +222 -0
  336. package/src/components/ui/stories/switch.stories.tsx +202 -0
  337. package/src/components/ui/stories/table.stories.tsx +541 -0
  338. package/src/components/ui/stories/tabs.stories.tsx +544 -0
  339. package/src/components/ui/stories/text-field.stories.tsx +280 -0
  340. package/src/components/ui/stories/textarea.stories.tsx +245 -0
  341. package/src/components/ui/stories/theme-toggle.stories.tsx +275 -0
  342. package/src/components/ui/stories/theme.stories.tsx +412 -0
  343. package/src/components/ui/stories/toggle-group.stories.tsx +337 -0
  344. package/src/components/ui/stories/toggle.stories.tsx +325 -0
  345. package/src/components/ui/stories/tooltip.stories.tsx +444 -0
  346. package/src/components/ui/stories/typography.stories.tsx +1586 -0
  347. package/src/components/ui/stories/use-mobile.stories.tsx +420 -0
  348. package/src/components/ui/stories/use-theme.stories.tsx +531 -0
  349. package/src/components/ui/switch.tsx +106 -0
  350. package/src/components/ui/table.tsx +424 -0
  351. package/src/components/ui/tabs.tsx +316 -0
  352. package/src/components/ui/text-field.tsx +206 -0
  353. package/src/components/ui/textarea.tsx +98 -0
  354. package/src/components/ui/theme-toggle.tsx +185 -0
  355. package/src/components/ui/theme.tsx +148 -0
  356. package/src/components/ui/toggle-group.tsx +196 -0
  357. package/src/components/ui/toggle.tsx +115 -0
  358. package/src/components/ui/tooltip.tsx +253 -0
  359. package/src/components/ui/typography.tsx +468 -0
  360. package/src/hooks/use-mobile.ts +91 -0
  361. package/src/hooks/use-theme.ts +319 -0
  362. package/src/index.ts +77 -0
  363. package/src/lib/utils.ts +57 -0
  364. package/src/styles/globals.css +160 -0
@@ -0,0 +1,51 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { Collapsible } from "../collapsible";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Collapsible;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {
16
+ open: {
17
+ control: "boolean";
18
+ description: string;
19
+ };
20
+ defaultOpen: {
21
+ control: "boolean";
22
+ description: string;
23
+ };
24
+ disabled: {
25
+ control: "boolean";
26
+ description: string;
27
+ };
28
+ onOpenChange: {
29
+ action: string;
30
+ description: string;
31
+ };
32
+ };
33
+ };
34
+ export default meta;
35
+ type Story = StoryObj<typeof meta>;
36
+ /**
37
+ * Interactive playground for testing all collapsible props and behaviors.
38
+ * Use the controls panel to experiment with different configurations.
39
+ */
40
+ export declare const Interactive: Story;
41
+ /**
42
+ * Showcase of different collapsible variants and styling approaches.
43
+ * Demonstrates various visual styles and use cases.
44
+ */
45
+ export declare const Variants: Story;
46
+ /**
47
+ * Real-world usage example showing collapsibles in a dashboard settings context.
48
+ * Demonstrates how designers and business teams might use this component.
49
+ */
50
+ export declare const InContext: Story;
51
+ //# sourceMappingURL=collapsible.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/collapsible.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,WAAW,EAA0C,MAAM,gBAAgB,CAAC;AAGrF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B0B,CAAC;AAErC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAqCzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAkFtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KA8EvB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ /**
3
+ * The @neynar/ui color system uses semantic color tokens that automatically adapt between light and dark themes.
4
+ * All colors are based on CSS custom properties and use the OKLCH color space for better color consistency and accessibility.
5
+ *
6
+ * This comprehensive reference shows all 35+ semantic color tokens with live examples, usage guidelines, and technical details.
7
+ */
8
+ declare const meta: {
9
+ title: string;
10
+ parameters: {
11
+ layout: string;
12
+ docs: {
13
+ description: {
14
+ component: string;
15
+ };
16
+ };
17
+ };
18
+ tags: string[];
19
+ };
20
+ export default meta;
21
+ type Story = StoryObj<typeof meta>;
22
+ /**
23
+ * Complete color palette showing all semantic color tokens with live theme switching.
24
+ * This is the definitive reference for all available colors in the design system.
25
+ */
26
+ export declare const CompleteColorReference: Story;
27
+ /**
28
+ * Component usage examples demonstrating proper color application in real UI patterns.
29
+ */
30
+ export declare const ComponentExamples: Story;
31
+ //# sourceMappingURL=colors.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/colors.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D;;;;;GAKG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;CA8BM,CAAC;AAEjB,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,KA4SpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAmJ/B,CAAC"}
@@ -0,0 +1,89 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { Combobox } from "../combobox";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Combobox;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {
16
+ options: {
17
+ control: {
18
+ type: "object";
19
+ };
20
+ description: string;
21
+ };
22
+ value: {
23
+ control: {
24
+ type: "text";
25
+ };
26
+ description: string;
27
+ };
28
+ placeholder: {
29
+ control: {
30
+ type: "text";
31
+ };
32
+ description: string;
33
+ };
34
+ emptyText: {
35
+ control: {
36
+ type: "text";
37
+ };
38
+ description: string;
39
+ };
40
+ searchPlaceholder: {
41
+ control: {
42
+ type: "text";
43
+ };
44
+ description: string;
45
+ };
46
+ disabled: {
47
+ control: {
48
+ type: "boolean";
49
+ };
50
+ description: string;
51
+ };
52
+ className: {
53
+ control: {
54
+ type: "text";
55
+ };
56
+ description: string;
57
+ };
58
+ buttonClassName: {
59
+ control: {
60
+ type: "text";
61
+ };
62
+ description: string;
63
+ };
64
+ popoverClassName: {
65
+ control: {
66
+ type: "text";
67
+ };
68
+ description: string;
69
+ };
70
+ };
71
+ };
72
+ export default meta;
73
+ type Story = StoryObj<typeof meta>;
74
+ /**
75
+ * Interactive playground showcasing all combobox props and variants.
76
+ * Use the controls panel to experiment with different configurations.
77
+ */
78
+ export declare const Interactive: Story;
79
+ /**
80
+ * Systematic display of all combobox variants and states.
81
+ * Shows different configurations, disabled options, and styling variations.
82
+ */
83
+ export declare const Variants: Story;
84
+ /**
85
+ * Real-world usage examples showing combobox in practical UI contexts.
86
+ * Demonstrates form integration, configuration panels, and user selection flows.
87
+ */
88
+ export declare const InContext: Story;
89
+ //# sourceMappingURL=combobox.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/combobox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAUvC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDuB,CAAC;AAElC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA8BnC;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAgBzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAyFtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAmFvB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { Command } from "../command";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Command;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {
16
+ className: {
17
+ control: "text";
18
+ description: string;
19
+ };
20
+ value: {
21
+ control: "text";
22
+ description: string;
23
+ };
24
+ onValueChange: {
25
+ action: string;
26
+ description: string;
27
+ };
28
+ filter: {
29
+ control: "boolean";
30
+ description: string;
31
+ table: {
32
+ defaultValue: {
33
+ summary: string;
34
+ };
35
+ };
36
+ };
37
+ shouldFilter: {
38
+ control: "boolean";
39
+ description: string;
40
+ };
41
+ loop: {
42
+ control: "boolean";
43
+ description: string;
44
+ table: {
45
+ defaultValue: {
46
+ summary: string;
47
+ };
48
+ };
49
+ };
50
+ };
51
+ };
52
+ export default meta;
53
+ type Story = StoryObj<typeof meta>;
54
+ /**
55
+ * Interactive playground to test all Command component features and props.
56
+ * Experiment with different configurations, search functionality, and keyboard navigation.
57
+ */
58
+ export declare const Interactive: Story;
59
+ /**
60
+ * Showcase of all available component variants and configurations.
61
+ * Demonstrates different layouts, groupings, and feature combinations.
62
+ */
63
+ export declare const Variants: Story;
64
+ /**
65
+ * Real-world usage example showing Command in a practical application context.
66
+ * Perfect for demonstrating to designers and business teams how the component works in production.
67
+ */
68
+ export declare const InContext: Story;
69
+ //# sourceMappingURL=command.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/command.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAmB5D,OAAO,EACL,OAAO,EASR,MAAM,YAAY,CAAC;AAGpB,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAuLzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAuHtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KA2OvB,CAAC"}
@@ -0,0 +1,42 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
5
+ size?: "sm" | "md" | "lg" | "xl" | "full";
6
+ } & import("react").RefAttributes<HTMLDivElement>>;
7
+ parameters: {
8
+ layout: string;
9
+ docs: {
10
+ description: {
11
+ component: string;
12
+ };
13
+ };
14
+ };
15
+ tags: string[];
16
+ argTypes: {
17
+ size: {
18
+ control: {
19
+ type: "select";
20
+ };
21
+ options: string[];
22
+ description: string;
23
+ defaultValue: string;
24
+ };
25
+ className: {
26
+ control: {
27
+ type: "text";
28
+ };
29
+ description: string;
30
+ };
31
+ children: {
32
+ control: false;
33
+ description: string;
34
+ };
35
+ };
36
+ };
37
+ export default meta;
38
+ type Story = StoryObj<typeof meta>;
39
+ export declare const Interactive: Story;
40
+ export declare const Variants: Story;
41
+ export declare const InContext: Story;
42
+ //# sourceMappingURL=container.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/container.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,WAAW,EAAE,KA6BzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KA+DtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAmHvB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { ContextMenu } from "../context-menu";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof ContextMenu;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {
16
+ onOpenChange: {
17
+ description: string;
18
+ control: false;
19
+ };
20
+ modal: {
21
+ description: string;
22
+ control: "boolean";
23
+ defaultValue: boolean;
24
+ };
25
+ };
26
+ };
27
+ export default meta;
28
+ type Story = StoryObj<typeof meta>;
29
+ export declare const Interactive: Story;
30
+ export declare const Variants: Story;
31
+ export declare const InContext: Story;
32
+ //# sourceMappingURL=context-menu.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-menu.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/context-menu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAkB5D,OAAO,EACL,WAAW,EAcZ,MAAM,iBAAiB,CAAC;AAEzB,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;CAyB0B,CAAC;AAErC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,WAAW,EAAE,KAyGzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAqGtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KA0KvB,CAAC"}
@@ -0,0 +1,67 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { DatePicker } from "../date-picker";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof DatePicker;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {
16
+ date: {
17
+ control: {
18
+ type: "date";
19
+ };
20
+ description: string;
21
+ };
22
+ onDateChange: {
23
+ action: string;
24
+ description: string;
25
+ };
26
+ placeholder: {
27
+ control: {
28
+ type: "text";
29
+ };
30
+ description: string;
31
+ };
32
+ disabled: {
33
+ control: {
34
+ type: "boolean";
35
+ };
36
+ description: string;
37
+ };
38
+ className: {
39
+ control: {
40
+ type: "text";
41
+ };
42
+ description: string;
43
+ };
44
+ };
45
+ args: {
46
+ placeholder: string;
47
+ disabled: false;
48
+ };
49
+ };
50
+ export default meta;
51
+ type Story = StoryObj<typeof meta>;
52
+ /**
53
+ * Interactive playground for testing all DatePicker props and behaviors.
54
+ * Use the controls panel to experiment with different configurations.
55
+ */
56
+ export declare const Interactive: Story;
57
+ /**
58
+ * Comprehensive showcase of all DatePicker variants and configurations.
59
+ * Displays different states, sizes, and styling options side by side.
60
+ */
61
+ export declare const Variants: Story;
62
+ /**
63
+ * Real-world usage examples showing DatePicker in typical application contexts.
64
+ * Demonstrates common patterns like date ranges, form integration, and validation.
65
+ */
66
+ export declare const InContext: Story;
67
+ //# sourceMappingURL=date-picker.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-picker.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/date-picker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAI5C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KA8DzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KA4FtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KA6JvB,CAAC"}
@@ -0,0 +1,48 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { Dialog } from "../dialog";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Dialog;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {
16
+ open: {
17
+ control: "boolean";
18
+ description: string;
19
+ };
20
+ onOpenChange: {
21
+ action: string;
22
+ description: string;
23
+ };
24
+ modal: {
25
+ control: "boolean";
26
+ description: string;
27
+ defaultValue: boolean;
28
+ };
29
+ };
30
+ };
31
+ export default meta;
32
+ type Story = StoryObj<typeof meta>;
33
+ /**
34
+ * Interactive playground story with all dialog props and controls
35
+ * Allows testing all dialog features and customization options
36
+ */
37
+ export declare const Interactive: Story;
38
+ /**
39
+ * Showcase of all dialog variants and common patterns
40
+ * Displays multiple dialog types side by side for comparison
41
+ */
42
+ export declare const Variants: Story;
43
+ /**
44
+ * Real-world context showing dialog in a typical application scenario
45
+ * Demonstrates practical usage for designers and business teams
46
+ */
47
+ export declare const InContext: Story;
48
+ //# sourceMappingURL=dialog.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EACL,MAAM,EAQP,MAAM,WAAW,CAAC;AAMnB,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAoDzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAqKtB,CAAC;AAqCF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAqNvB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { Drawer } from "../drawer";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Drawer;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ };
16
+ export default meta;
17
+ type Story = StoryObj<typeof meta>;
18
+ /**
19
+ * Interactive playground for testing all drawer props and variants.
20
+ * Use the controls panel to experiment with different configurations.
21
+ */
22
+ export declare const Interactive: Story;
23
+ /**
24
+ * Systematic display of all drawer directions and configurations.
25
+ * Shows how the drawer behaves from different screen edges.
26
+ */
27
+ export declare const Variants: Story;
28
+ /**
29
+ * Real-world mobile app scenario showing drawer in context.
30
+ * Demonstrates a typical mobile navigation and user profile pattern.
31
+ */
32
+ export declare const InContext: Story;
33
+ //# sourceMappingURL=drawer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/drawer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EACL,MAAM,EAQP,MAAM,WAAW,CAAC;AAMnB,QAAA,MAAM,IAAI;;;;;;;;;;;;CAaqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,KAmDzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAgHtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAoJvB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { DropdownMenu } from "../dropdown-menu";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof DropdownMenu;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {};
16
+ };
17
+ export default meta;
18
+ type Story = StoryObj<typeof meta>;
19
+ /**
20
+ * Interactive playground for testing all dropdown menu features
21
+ */
22
+ export declare const Interactive: Story;
23
+ /**
24
+ * Showcase of all dropdown menu variants and item types
25
+ */
26
+ export declare const Variants: Story;
27
+ /**
28
+ * Real-world usage example in a user profile context
29
+ */
30
+ export declare const InContext: Story;
31
+ //# sourceMappingURL=dropdown-menu.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/dropdown-menu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAiB5D,OAAO,EACL,YAAY,EAeb,MAAM,kBAAkB,CAAC;AAG1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;CAiB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAsFzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAuHtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAiGvB,CAAC"}
@@ -0,0 +1,74 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
5
+ title: string;
6
+ description?: string;
7
+ icon?: React.ReactNode;
8
+ action?: {
9
+ label: string;
10
+ onClick: () => void;
11
+ };
12
+ } & import("react").RefAttributes<HTMLDivElement>>;
13
+ parameters: {
14
+ layout: string;
15
+ docs: {
16
+ description: {
17
+ component: string;
18
+ };
19
+ };
20
+ };
21
+ tags: string[];
22
+ argTypes: {
23
+ title: {
24
+ control: {
25
+ type: "text";
26
+ };
27
+ description: string;
28
+ };
29
+ description: {
30
+ control: {
31
+ type: "text";
32
+ };
33
+ description: string;
34
+ };
35
+ icon: {
36
+ control: false;
37
+ description: string;
38
+ };
39
+ action: {
40
+ control: false;
41
+ description: string;
42
+ };
43
+ className: {
44
+ control: {
45
+ type: "text";
46
+ };
47
+ description: string;
48
+ };
49
+ };
50
+ };
51
+ export default meta;
52
+ type Story = StoryObj<typeof meta>;
53
+ /**
54
+ * Interactive Playground - Test all props and variations
55
+ *
56
+ * Use the controls below to test different combinations of props
57
+ * and see how the EmptyState component responds to various configurations.
58
+ */
59
+ export declare const Interactive: Story;
60
+ /**
61
+ * Variants Showcase - Display all common empty state patterns
62
+ *
63
+ * Shows the most common empty state variations that design teams
64
+ * typically need: basic text-only, with icon, and with action button.
65
+ */
66
+ export declare const Variants: Story;
67
+ /**
68
+ * Real-world Context - EmptyState in realistic application scenarios
69
+ *
70
+ * Shows how EmptyState looks and behaves in actual application contexts
71
+ * that business teams and designers would recognize from real products.
72
+ */
73
+ export declare const InContext: Story;
74
+ //# sourceMappingURL=empty-state.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-state.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/empty-state.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAa5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,KAezB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,KAyEtB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,KA+EvB,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { HoverCard } from "../hover-card";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof HoverCard;
6
+ parameters: {
7
+ layout: string;
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ tags: string[];
15
+ argTypes: {
16
+ openDelay: {
17
+ control: {
18
+ type: "number";
19
+ };
20
+ description: string;
21
+ };
22
+ closeDelay: {
23
+ control: {
24
+ type: "number";
25
+ };
26
+ description: string;
27
+ };
28
+ };
29
+ };
30
+ export default meta;
31
+ type Story = StoryObj<typeof meta>;
32
+ export declare const Interactive: Story;
33
+ export declare const Variants: Story;
34
+ export declare const InContext: Story;
35
+ //# sourceMappingURL=hover-card.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hover-card.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/stories/hover-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAK5D,OAAO,EAAE,SAAS,EAAsC,MAAM,eAAe,CAAC;AAE9E,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,WAAW,EAAE,KAmDzB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAqHtB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAgJvB,CAAC"}