@reinvented/design 0.4.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/README.md +1 -1
  2. package/SKILL.md +214 -0
  3. package/package.json +58 -23
  4. package/skills/apps/analytics.md +103 -0
  5. package/skills/apps/booking-scheduling.md +97 -0
  6. package/skills/apps/content-management.md +52 -0
  7. package/skills/apps/crm.md +80 -0
  8. package/skills/apps/e-commerce.md +109 -0
  9. package/skills/apps/education.md +79 -0
  10. package/skills/apps/finance.md +68 -0
  11. package/skills/apps/health-fitness.md +72 -0
  12. package/skills/apps/marketplace.md +99 -0
  13. package/skills/apps/messaging.md +84 -0
  14. package/skills/apps/portfolio-personal.md +90 -0
  15. package/skills/apps/project-management.md +95 -0
  16. package/skills/apps/saas-dashboard.md +104 -0
  17. package/skills/apps/social-platform.md +50 -0
  18. package/skills/blocks/auth.md +106 -0
  19. package/skills/blocks/communication.md +98 -0
  20. package/skills/blocks/content.md +107 -0
  21. package/skills/blocks/data-management.md +109 -0
  22. package/skills/blocks/data-viz.md +92 -0
  23. package/skills/blocks/ecommerce.md +126 -0
  24. package/skills/blocks/feedback.md +97 -0
  25. package/skills/blocks/filtering.md +127 -0
  26. package/skills/blocks/marketing.md +136 -0
  27. package/skills/blocks/media.md +102 -0
  28. package/skills/blocks/navigation.md +136 -0
  29. package/skills/blocks/onboarding.md +75 -0
  30. package/skills/blocks/profiles.md +131 -0
  31. package/skills/blocks/scheduling.md +117 -0
  32. package/skills/blocks/settings.md +102 -0
  33. package/skills/components/advanced-components.md +142 -0
  34. package/skills/components/avatar.md +92 -0
  35. package/skills/components/badge.md +105 -0
  36. package/skills/components/button.md +87 -0
  37. package/skills/components/card.md +144 -0
  38. package/skills/components/chart.md +88 -0
  39. package/skills/components/dialog.md +109 -0
  40. package/skills/components/dropdown-menu.md +117 -0
  41. package/skills/components/extended-components.md +187 -0
  42. package/skills/components/feedback.md +165 -0
  43. package/skills/components/form.md +112 -0
  44. package/skills/components/input.md +107 -0
  45. package/skills/components/map.md +53 -0
  46. package/skills/components/navigation.md +73 -0
  47. package/skills/components/overlay.md +77 -0
  48. package/skills/components/page-header.md +51 -0
  49. package/skills/components/select.md +175 -0
  50. package/skills/components/table.md +102 -0
  51. package/skills/components/tabs.md +105 -0
  52. package/skills/components/utilities.md +138 -0
  53. package/skills/devices/desktop.md +43 -0
  54. package/skills/devices/mobile.md +77 -0
  55. package/skills/foundation/design-principles.md +77 -0
  56. package/skills/foundation/design-tokens.md +121 -0
  57. package/skills/foundation/mockup-generation.md +118 -0
  58. package/skills/foundation/rules.md +54 -0
  59. package/skills/foundation/tailwind-usage.md +204 -0
  60. package/skills/layouts/dashboard.md +71 -0
  61. package/skills/layouts/full-page-form.md +75 -0
  62. package/skills/layouts/list-detail.md +70 -0
  63. package/skills/layouts/marketing.md +70 -0
  64. package/skills/layouts/responsive.md +67 -0
  65. package/skills/layouts/settings-page.md +106 -0
  66. package/skills/layouts/sidebar.md +73 -0
  67. package/skills/layouts/topbar.md +68 -0
  68. package/skills/patterns/auth.md +131 -0
  69. package/skills/patterns/content-display.md +164 -0
  70. package/skills/patterns/dashboards.md +104 -0
  71. package/skills/patterns/data-tables.md +113 -0
  72. package/skills/patterns/empty-states.md +71 -0
  73. package/skills/patterns/error-states.md +73 -0
  74. package/skills/patterns/forms.md +136 -0
  75. package/skills/patterns/loading-states.md +92 -0
  76. package/skills/patterns/navigation.md +113 -0
  77. package/skills/patterns/notifications.md +91 -0
  78. package/skills/patterns/onboarding.md +42 -0
  79. package/skills/patterns/search.md +55 -0
  80. package/skills/patterns/settings.md +132 -0
  81. package/skills/patterns/user-profiles.md +67 -0
  82. package/skills/personas/business-operator.md +114 -0
  83. package/skills/personas/consumer-casual.md +60 -0
  84. package/skills/personas/consumer-power-user.md +109 -0
  85. package/skills/personas/creative-professional.md +109 -0
  86. package/skills/personas/enterprise-admin.md +134 -0
  87. package/skills/visual/color-usage.md +62 -0
  88. package/skills/visual/dark-mode.md +50 -0
  89. package/skills/visual/polish-techniques.md +101 -0
  90. package/skills/visual/spacing-composition.md +69 -0
  91. package/skills/visual/transitions-animations.md +66 -0
  92. package/skills/visual/typography-hierarchy.md +66 -0
  93. package/src/components/blocks/auth/auth-card/AuthCard.tsx +62 -0
  94. package/src/components/blocks/auth/auth-card/index.ts +1 -0
  95. package/src/components/blocks/auth/index.ts +3 -0
  96. package/src/components/blocks/auth/social-login/SocialLoginGroup.tsx +75 -0
  97. package/src/components/blocks/auth/social-login/index.ts +1 -0
  98. package/src/components/blocks/auth/two-factor/TwoFactorForm.tsx +59 -0
  99. package/src/components/blocks/auth/two-factor/index.ts +1 -0
  100. package/src/components/blocks/communication/activity-item/ActivityItem.tsx +17 -0
  101. package/src/components/blocks/communication/activity-item/ActivityItemAvatar.tsx +21 -0
  102. package/src/components/blocks/communication/activity-item/ActivityItemContent.tsx +16 -0
  103. package/src/components/blocks/communication/activity-item/index.ts +3 -0
  104. package/src/components/blocks/communication/chat-bubble/ChatBubble.tsx +21 -0
  105. package/src/components/blocks/communication/chat-bubble/ChatBubbleAvatar.tsx +19 -0
  106. package/src/components/blocks/communication/chat-bubble/ChatBubbleMessage.tsx +35 -0
  107. package/src/components/blocks/communication/chat-bubble/ChatBubbleTimestamp.tsx +15 -0
  108. package/src/components/blocks/communication/chat-bubble/index.ts +4 -0
  109. package/src/components/blocks/communication/index.ts +2 -0
  110. package/src/components/blocks/content/article-header/ArticleHeader.tsx +73 -0
  111. package/src/components/blocks/content/article-header/index.ts +1 -0
  112. package/src/components/blocks/content/author-card/AuthorCard.tsx +46 -0
  113. package/src/components/blocks/content/author-card/index.ts +1 -0
  114. package/src/components/blocks/content/index.ts +3 -0
  115. package/src/components/blocks/content/rich-text/RichTextContent.tsx +27 -0
  116. package/src/components/blocks/content/rich-text/index.ts +1 -0
  117. package/src/components/blocks/data-management/index.ts +2 -0
  118. package/src/components/blocks/data-management/kanban/KanbanBoard.tsx +10 -0
  119. package/src/components/blocks/data-management/kanban/KanbanCard.tsx +102 -0
  120. package/src/components/blocks/data-management/kanban/KanbanColumn.tsx +41 -0
  121. package/src/components/blocks/data-management/kanban/index.ts +3 -0
  122. package/src/components/blocks/data-management/tree-view/TreeItem.tsx +68 -0
  123. package/src/components/blocks/data-management/tree-view/TreeView.tsx +10 -0
  124. package/src/components/blocks/data-management/tree-view/index.ts +2 -0
  125. package/src/components/blocks/data-viz/financial-ticker/FinancialTicker.tsx +35 -0
  126. package/src/components/blocks/data-viz/financial-ticker/index.ts +1 -0
  127. package/src/components/blocks/data-viz/index.ts +3 -0
  128. package/src/components/blocks/data-viz/kpi-card/KpiCard.tsx +61 -0
  129. package/src/components/blocks/data-viz/kpi-card/index.ts +1 -0
  130. package/src/components/blocks/data-viz/stat-grid/StatGrid.tsx +28 -0
  131. package/src/components/blocks/data-viz/stat-grid/index.ts +1 -0
  132. package/src/components/blocks/ecommerce/index.ts +3 -0
  133. package/src/components/blocks/ecommerce/pricing-tier/PricingFeatureList.tsx +27 -0
  134. package/src/components/blocks/ecommerce/pricing-tier/PricingHeader.tsx +25 -0
  135. package/src/components/blocks/ecommerce/pricing-tier/PricingTier.tsx +31 -0
  136. package/src/components/blocks/ecommerce/pricing-tier/index.ts +3 -0
  137. package/src/components/blocks/ecommerce/product-card/ProductCard.tsx +17 -0
  138. package/src/components/blocks/ecommerce/product-card/ProductCardContent.tsx +15 -0
  139. package/src/components/blocks/ecommerce/product-card/ProductCardImage.tsx +20 -0
  140. package/src/components/blocks/ecommerce/product-card/ProductCardPrice.tsx +20 -0
  141. package/src/components/blocks/ecommerce/product-card/index.ts +4 -0
  142. package/src/components/blocks/ecommerce/rating-summary/RatingStars.tsx +32 -0
  143. package/src/components/blocks/ecommerce/rating-summary/index.ts +1 -0
  144. package/src/components/blocks/feedback/empty-state/EmptyState.tsx +53 -0
  145. package/src/components/blocks/feedback/empty-state/index.ts +1 -0
  146. package/src/components/blocks/feedback/error-state/ErrorState.tsx +50 -0
  147. package/src/components/blocks/feedback/error-state/index.ts +1 -0
  148. package/src/components/blocks/feedback/index.ts +3 -0
  149. package/src/components/blocks/feedback/not-found/NotFoundState.tsx +47 -0
  150. package/src/components/blocks/feedback/not-found/index.ts +1 -0
  151. package/src/components/blocks/filtering/faceted-sidebar/FacetedGroup.tsx +32 -0
  152. package/src/components/blocks/filtering/faceted-sidebar/FacetedSidebar.tsx +26 -0
  153. package/src/components/blocks/filtering/faceted-sidebar/index.ts +2 -0
  154. package/src/components/blocks/filtering/filter-bar/FilterBar.tsx +85 -0
  155. package/src/components/blocks/filtering/filter-bar/index.ts +1 -0
  156. package/src/components/blocks/filtering/index.ts +3 -0
  157. package/src/components/blocks/filtering/search-result/SearchResultItem.tsx +70 -0
  158. package/src/components/blocks/filtering/search-result/index.ts +1 -0
  159. package/src/components/blocks/index.ts +21 -0
  160. package/src/components/blocks/marketing/cta-block/CtaBlock.tsx +80 -0
  161. package/src/components/blocks/marketing/cta-block/index.ts +1 -0
  162. package/src/components/blocks/marketing/feature-grid/FeatureGrid.tsx +47 -0
  163. package/src/components/blocks/marketing/feature-grid/index.ts +1 -0
  164. package/src/components/blocks/marketing/hero-section/HeroSection.tsx +89 -0
  165. package/src/components/blocks/marketing/hero-section/index.ts +1 -0
  166. package/src/components/blocks/marketing/index.ts +4 -0
  167. package/src/components/blocks/marketing/testimonial-card/TestimonialCard.tsx +71 -0
  168. package/src/components/blocks/marketing/testimonial-card/index.ts +1 -0
  169. package/src/components/blocks/media/call-controls/CallControlButton.tsx +52 -0
  170. package/src/components/blocks/media/call-controls/CallControls.tsx +10 -0
  171. package/src/components/blocks/media/call-controls/index.ts +2 -0
  172. package/src/components/blocks/media/index.ts +2 -0
  173. package/src/components/blocks/media/media-player/MediaPlayer.tsx +20 -0
  174. package/src/components/blocks/media/media-player/MediaPlayerControls.tsx +16 -0
  175. package/src/components/blocks/media/media-player/MediaPlayerScrubber.tsx +29 -0
  176. package/src/components/blocks/media/media-player/MediaPlayerVideo.tsx +25 -0
  177. package/src/components/blocks/media/media-player/index.ts +4 -0
  178. package/src/components/blocks/navigation/app-sidebar/AppSidebar.tsx +32 -0
  179. package/src/components/blocks/navigation/app-sidebar/NavItem.tsx +43 -0
  180. package/src/components/blocks/navigation/app-sidebar/index.ts +2 -0
  181. package/src/components/blocks/navigation/context-switcher/ContextSwitcher.tsx +77 -0
  182. package/src/components/blocks/navigation/context-switcher/index.ts +1 -0
  183. package/src/components/blocks/navigation/index.ts +3 -0
  184. package/src/components/blocks/navigation/top-navbar/TopNavbar.tsx +47 -0
  185. package/src/components/blocks/navigation/top-navbar/index.ts +1 -0
  186. package/src/components/blocks/onboarding/index.ts +2 -0
  187. package/src/components/blocks/onboarding/onboarding-welcome/OnboardingWelcome.tsx +74 -0
  188. package/src/components/blocks/onboarding/onboarding-welcome/index.ts +1 -0
  189. package/src/components/blocks/onboarding/step-wizard/StepWizard.tsx +72 -0
  190. package/src/components/blocks/onboarding/step-wizard/index.ts +1 -0
  191. package/src/components/blocks/profiles/connection-list/ConnectionItem.tsx +35 -0
  192. package/src/components/blocks/profiles/connection-list/ConnectionList.tsx +16 -0
  193. package/src/components/blocks/profiles/connection-list/index.ts +2 -0
  194. package/src/components/blocks/profiles/index.ts +3 -0
  195. package/src/components/blocks/profiles/profile-header/ProfileHeader.tsx +88 -0
  196. package/src/components/blocks/profiles/profile-header/index.ts +1 -0
  197. package/src/components/blocks/profiles/profile-stats/ProfileStats.tsx +20 -0
  198. package/src/components/blocks/profiles/profile-stats/index.ts +1 -0
  199. package/src/components/blocks/scheduling/booking-slot/BookingSlot.tsx +44 -0
  200. package/src/components/blocks/scheduling/booking-slot/index.ts +1 -0
  201. package/src/components/blocks/scheduling/event-card/EventCard.tsx +85 -0
  202. package/src/components/blocks/scheduling/event-card/index.ts +1 -0
  203. package/src/components/blocks/scheduling/index.ts +3 -0
  204. package/src/components/blocks/scheduling/timeline-row/TimelineRow.tsx +82 -0
  205. package/src/components/blocks/scheduling/timeline-row/index.ts +1 -0
  206. package/src/components/blocks/settings/billing-usage/BillingUsage.tsx +49 -0
  207. package/src/components/blocks/settings/billing-usage/index.ts +1 -0
  208. package/src/components/blocks/settings/index.ts +3 -0
  209. package/src/components/blocks/settings/integration-card/IntegrationCard.tsx +62 -0
  210. package/src/components/blocks/settings/integration-card/index.ts +1 -0
  211. package/src/components/blocks/settings/settings-section/SettingsSection.tsx +23 -0
  212. package/src/components/blocks/settings/settings-section/index.ts +1 -0
  213. package/src/components/ui/accordion.tsx +56 -0
  214. package/src/components/ui/alert-dialog.tsx +141 -0
  215. package/src/components/ui/alert.tsx +59 -0
  216. package/src/components/ui/aspect-ratio.tsx +5 -0
  217. package/src/components/ui/avatar.tsx +50 -0
  218. package/src/components/ui/badge.tsx +36 -0
  219. package/src/components/ui/breadcrumb.tsx +115 -0
  220. package/src/components/ui/button.tsx +56 -0
  221. package/src/components/ui/calendar.tsx +211 -0
  222. package/src/components/ui/card.tsx +79 -0
  223. package/src/components/ui/carousel.tsx +262 -0
  224. package/src/components/ui/chart.tsx +367 -0
  225. package/src/components/ui/checkbox.tsx +28 -0
  226. package/src/components/ui/collapsible.tsx +11 -0
  227. package/src/components/ui/command.tsx +153 -0
  228. package/src/components/ui/component-placeholder.tsx +38 -0
  229. package/src/components/ui/context-menu.tsx +198 -0
  230. package/src/components/ui/dialog.tsx +122 -0
  231. package/src/components/ui/drawer.tsx +116 -0
  232. package/src/components/ui/dropdown-menu.tsx +200 -0
  233. package/src/components/ui/form.tsx +176 -0
  234. package/src/components/ui/hover-card.tsx +27 -0
  235. package/src/components/ui/input-otp.tsx +69 -0
  236. package/src/components/ui/input.tsx +22 -0
  237. package/src/components/ui/label.tsx +24 -0
  238. package/src/components/ui/menubar.tsx +256 -0
  239. package/src/components/ui/navigation-menu.tsx +128 -0
  240. package/src/components/ui/pagination.tsx +117 -0
  241. package/src/components/ui/popover.tsx +29 -0
  242. package/src/components/ui/progress.tsx +28 -0
  243. package/src/components/ui/radio-group.tsx +42 -0
  244. package/src/components/ui/resizable.tsx +45 -0
  245. package/src/components/ui/scroll-area.tsx +46 -0
  246. package/src/components/ui/select.tsx +160 -0
  247. package/src/components/ui/separator.tsx +29 -0
  248. package/src/components/ui/sheet.tsx +140 -0
  249. package/src/components/ui/skeleton.tsx +15 -0
  250. package/src/components/ui/slider.tsx +26 -0
  251. package/src/components/ui/sonner.tsx +45 -0
  252. package/src/components/ui/switch.tsx +27 -0
  253. package/src/components/ui/table.tsx +117 -0
  254. package/src/components/ui/tabs.tsx +53 -0
  255. package/src/components/ui/textarea.tsx +22 -0
  256. package/src/components/ui/toast.tsx +127 -0
  257. package/src/components/ui/toaster.tsx +33 -0
  258. package/src/components/ui/toggle-group.tsx +61 -0
  259. package/src/components/ui/toggle.tsx +45 -0
  260. package/src/components/ui/tooltip.tsx +28 -0
  261. package/src/hooks/use-toast.ts +194 -0
  262. package/src/index.ts +53 -56
  263. package/src/styles/tokens.css +30 -14
  264. package/tailwind.config.js +120 -98
  265. package/tsconfig.json +2 -2
  266. package/DESIGN_GUIDE.md +0 -148
  267. package/src/components/ui/accordion/Accordion.vue +0 -13
  268. package/src/components/ui/accordion/AccordionContent.vue +0 -20
  269. package/src/components/ui/accordion/AccordionItem.vue +0 -15
  270. package/src/components/ui/accordion/AccordionTrigger.vue +0 -25
  271. package/src/components/ui/accordion/index.ts +0 -4
  272. package/src/components/ui/alert/Alert.vue +0 -38
  273. package/src/components/ui/alert/AlertDescription.vue +0 -12
  274. package/src/components/ui/alert/AlertTitle.vue +0 -12
  275. package/src/components/ui/alert/index.ts +0 -3
  276. package/src/components/ui/alert-dialog/AlertDialog.vue +0 -13
  277. package/src/components/ui/alert-dialog/AlertDialogAction.vue +0 -21
  278. package/src/components/ui/alert-dialog/AlertDialogCancel.vue +0 -21
  279. package/src/components/ui/alert-dialog/AlertDialogContent.vue +0 -39
  280. package/src/components/ui/alert-dialog/AlertDialogDescription.vue +0 -15
  281. package/src/components/ui/alert-dialog/AlertDialogFooter.vue +0 -12
  282. package/src/components/ui/alert-dialog/AlertDialogHeader.vue +0 -12
  283. package/src/components/ui/alert-dialog/AlertDialogTitle.vue +0 -15
  284. package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +0 -11
  285. package/src/components/ui/alert-dialog/index.ts +0 -9
  286. package/src/components/ui/avatar/Avatar.vue +0 -14
  287. package/src/components/ui/avatar/index.ts +0 -1
  288. package/src/components/ui/badge/Badge.vue +0 -27
  289. package/src/components/ui/badge/index.ts +0 -1
  290. package/src/components/ui/breadcrumb/Breadcrumb.vue +0 -6
  291. package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +0 -12
  292. package/src/components/ui/breadcrumb/BreadcrumbItem.vue +0 -6
  293. package/src/components/ui/breadcrumb/BreadcrumbLink.vue +0 -20
  294. package/src/components/ui/breadcrumb/BreadcrumbList.vue +0 -6
  295. package/src/components/ui/breadcrumb/BreadcrumbPage.vue +0 -6
  296. package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +0 -11
  297. package/src/components/ui/breadcrumb/index.ts +0 -7
  298. package/src/components/ui/button/Button.vue +0 -65
  299. package/src/components/ui/button/index.ts +0 -1
  300. package/src/components/ui/card/Card.vue +0 -13
  301. package/src/components/ui/card/CardContent.vue +0 -7
  302. package/src/components/ui/card/CardDescription.vue +0 -7
  303. package/src/components/ui/card/CardFooter.vue +0 -7
  304. package/src/components/ui/card/CardHeader.vue +0 -9
  305. package/src/components/ui/card/CardTitle.vue +0 -7
  306. package/src/components/ui/card/index.ts +0 -6
  307. package/src/components/ui/checkbox/Checkbox.vue +0 -25
  308. package/src/components/ui/checkbox/index.ts +0 -1
  309. package/src/components/ui/collapsible/Collapsible.vue +0 -13
  310. package/src/components/ui/collapsible/index.ts +0 -2
  311. package/src/components/ui/command/Command.vue +0 -16
  312. package/src/components/ui/command/CommandEmpty.vue +0 -5
  313. package/src/components/ui/command/CommandGroup.vue +0 -22
  314. package/src/components/ui/command/CommandInput.vue +0 -21
  315. package/src/components/ui/command/CommandItem.vue +0 -22
  316. package/src/components/ui/command/CommandList.vue +0 -17
  317. package/src/components/ui/command/CommandSeparator.vue +0 -5
  318. package/src/components/ui/command/index.ts +0 -7
  319. package/src/components/ui/context-menu/ContextMenuContent.vue +0 -24
  320. package/src/components/ui/context-menu/ContextMenuItem.vue +0 -16
  321. package/src/components/ui/context-menu/ContextMenuLabel.vue +0 -9
  322. package/src/components/ui/context-menu/ContextMenuSeparator.vue +0 -9
  323. package/src/components/ui/context-menu/ContextMenuSubContent.vue +0 -14
  324. package/src/components/ui/context-menu/index.ts +0 -9
  325. package/src/components/ui/dialog/Dialog.vue +0 -14
  326. package/src/components/ui/dialog/DialogClose.vue +0 -12
  327. package/src/components/ui/dialog/DialogContent.vue +0 -48
  328. package/src/components/ui/dialog/DialogDescription.vue +0 -23
  329. package/src/components/ui/dialog/DialogFooter.vue +0 -12
  330. package/src/components/ui/dialog/DialogHeader.vue +0 -12
  331. package/src/components/ui/dialog/DialogScrollContent.vue +0 -47
  332. package/src/components/ui/dialog/DialogTitle.vue +0 -23
  333. package/src/components/ui/dialog/DialogTrigger.vue +0 -12
  334. package/src/components/ui/dialog/index.ts +0 -9
  335. package/src/components/ui/dropdown-menu/DropdownMenu.vue +0 -13
  336. package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -28
  337. package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -33
  338. package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -11
  339. package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -27
  340. package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -23
  341. package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -13
  342. package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -27
  343. package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -13
  344. package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -12
  345. package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -13
  346. package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -27
  347. package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -23
  348. package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -11
  349. package/src/components/ui/dropdown-menu/index.ts +0 -14
  350. package/src/components/ui/form/FormControl.vue +0 -3
  351. package/src/components/ui/form/FormDescription.vue +0 -6
  352. package/src/components/ui/form/FormItem.vue +0 -6
  353. package/src/components/ui/form/FormLabel.vue +0 -10
  354. package/src/components/ui/form/FormMessage.vue +0 -10
  355. package/src/components/ui/form/index.ts +0 -9
  356. package/src/components/ui/hover-card/HoverCard.vue +0 -13
  357. package/src/components/ui/hover-card/HoverCardContent.vue +0 -26
  358. package/src/components/ui/hover-card/HoverCardTrigger.vue +0 -11
  359. package/src/components/ui/hover-card/index.ts +0 -3
  360. package/src/components/ui/input/Input.vue +0 -23
  361. package/src/components/ui/input/index.ts +0 -1
  362. package/src/components/ui/label/Label.vue +0 -18
  363. package/src/components/ui/label/index.ts +0 -1
  364. package/src/components/ui/lib/utils.ts +0 -2
  365. package/src/components/ui/menubar/MenubarContent.vue +0 -15
  366. package/src/components/ui/menubar/MenubarItem.vue +0 -13
  367. package/src/components/ui/menubar/MenubarTrigger.vue +0 -13
  368. package/src/components/ui/menubar/index.ts +0 -5
  369. package/src/components/ui/navigation-menu/NavigationMenuContent.vue +0 -14
  370. package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +0 -15
  371. package/src/components/ui/navigation-menu/index.ts +0 -4
  372. package/src/components/ui/pagination/PaginationContent.vue +0 -13
  373. package/src/components/ui/pagination/PaginationEllipsis.vue +0 -12
  374. package/src/components/ui/pagination/PaginationNext.vue +0 -14
  375. package/src/components/ui/pagination/PaginationPrev.vue +0 -14
  376. package/src/components/ui/pagination/index.ts +0 -6
  377. package/src/components/ui/popover/Popover.vue +0 -13
  378. package/src/components/ui/popover/PopoverContent.vue +0 -27
  379. package/src/components/ui/popover/PopoverTrigger.vue +0 -11
  380. package/src/components/ui/popover/index.ts +0 -3
  381. package/src/components/ui/progress/Progress.vue +0 -21
  382. package/src/components/ui/progress/index.ts +0 -1
  383. package/src/components/ui/radio-group/RadioGroup.vue +0 -16
  384. package/src/components/ui/radio-group/RadioGroupItem.vue +0 -24
  385. package/src/components/ui/radio-group/index.ts +0 -2
  386. package/src/components/ui/scroll-area/ScrollArea.vue +0 -13
  387. package/src/components/ui/scroll-area/index.ts +0 -1
  388. package/src/components/ui/select/Select.vue +0 -13
  389. package/src/components/ui/select/SelectContent.vue +0 -40
  390. package/src/components/ui/select/SelectGroup.vue +0 -15
  391. package/src/components/ui/select/SelectItem.vue +0 -30
  392. package/src/components/ui/select/SelectLabel.vue +0 -15
  393. package/src/components/ui/select/SelectSeparator.vue +0 -13
  394. package/src/components/ui/select/SelectTrigger.vue +0 -23
  395. package/src/components/ui/select/SelectValue.vue +0 -11
  396. package/src/components/ui/select/index.ts +0 -8
  397. package/src/components/ui/separator/Separator.vue +0 -16
  398. package/src/components/ui/separator/index.ts +0 -1
  399. package/src/components/ui/sheet/Sheet.vue +0 -13
  400. package/src/components/ui/sheet/SheetClose.vue +0 -11
  401. package/src/components/ui/sheet/SheetContent.vue +0 -65
  402. package/src/components/ui/sheet/SheetDescription.vue +0 -15
  403. package/src/components/ui/sheet/SheetFooter.vue +0 -12
  404. package/src/components/ui/sheet/SheetHeader.vue +0 -12
  405. package/src/components/ui/sheet/SheetTitle.vue +0 -15
  406. package/src/components/ui/sheet/SheetTrigger.vue +0 -11
  407. package/src/components/ui/sheet/index.ts +0 -8
  408. package/src/components/ui/skeleton/Skeleton.vue +0 -9
  409. package/src/components/ui/skeleton/index.ts +0 -1
  410. package/src/components/ui/slider/Slider.vue +0 -26
  411. package/src/components/ui/slider/index.ts +0 -1
  412. package/src/components/ui/switch/Switch.vue +0 -24
  413. package/src/components/ui/switch/index.ts +0 -1
  414. package/src/components/ui/table/Table.vue +0 -13
  415. package/src/components/ui/table/TableBody.vue +0 -6
  416. package/src/components/ui/table/TableCaption.vue +0 -6
  417. package/src/components/ui/table/TableCell.vue +0 -6
  418. package/src/components/ui/table/TableFooter.vue +0 -6
  419. package/src/components/ui/table/TableHead.vue +0 -6
  420. package/src/components/ui/table/TableHeader.vue +0 -6
  421. package/src/components/ui/table/TableRow.vue +0 -6
  422. package/src/components/ui/table/index.ts +0 -8
  423. package/src/components/ui/tabs/Tabs.vue +0 -13
  424. package/src/components/ui/tabs/TabsContent.vue +0 -21
  425. package/src/components/ui/tabs/TabsList.vue +0 -21
  426. package/src/components/ui/tabs/TabsTrigger.vue +0 -21
  427. package/src/components/ui/tabs/index.ts +0 -4
  428. package/src/components/ui/textarea/Textarea.vue +0 -29
  429. package/src/components/ui/textarea/index.ts +0 -1
  430. package/src/components/ui/toggle/Toggle.vue +0 -40
  431. package/src/components/ui/toggle/index.ts +0 -1
  432. package/src/components/ui/toggle-group/ToggleGroup.vue +0 -16
  433. package/src/components/ui/toggle-group/ToggleGroupItem.vue +0 -21
  434. package/src/components/ui/toggle-group/index.ts +0 -2
  435. package/src/components/ui/tooltip/Tooltip.vue +0 -13
  436. package/src/components/ui/tooltip/TooltipContent.vue +0 -27
  437. package/src/components/ui/tooltip/TooltipProvider.vue +0 -12
  438. package/src/components/ui/tooltip/TooltipTrigger.vue +0 -11
  439. package/src/components/ui/tooltip/index.ts +0 -4
@@ -1,21 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { AlertDialogAction, type AlertDialogActionProps, useForwardProps } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<AlertDialogActionProps & { class?: HTMLAttributes['class'] }>()
7
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
8
- const forwardedProps = useForwardProps(delegatedProps)
9
- </script>
10
-
11
- <template>
12
- <AlertDialogAction
13
- v-bind="forwardedProps"
14
- :class="cn(
15
- 'inline-flex h-10 items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground ring-offset-background transition-colors hover:bg-primary/90 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
16
- props.class,
17
- )"
18
- >
19
- <slot />
20
- </AlertDialogAction>
21
- </template>
@@ -1,21 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { AlertDialogCancel, type AlertDialogCancelProps, useForwardProps } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<AlertDialogCancelProps & { class?: HTMLAttributes['class'] }>()
7
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
8
- const forwardedProps = useForwardProps(delegatedProps)
9
- </script>
10
-
11
- <template>
12
- <AlertDialogCancel
13
- v-bind="forwardedProps"
14
- :class="cn(
15
- 'inline-flex h-10 items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-semibold ring-offset-background transition-colors hover:bg-accent hover:text-accent-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 mt-2 sm:mt-0',
16
- props.class,
17
- )"
18
- >
19
- <slot />
20
- </AlertDialogCancel>
21
- </template>
@@ -1,39 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import {
4
- AlertDialogContent,
5
- type AlertDialogContentEmits,
6
- type AlertDialogContentProps,
7
- AlertDialogOverlay,
8
- AlertDialogPortal,
9
- useForwardPropsEmits,
10
- } from 'radix-vue'
11
- import { cn } from '../lib/utils'
12
-
13
- const props = defineProps<AlertDialogContentProps & { class?: HTMLAttributes['class'] }>()
14
- const emits = defineEmits<AlertDialogContentEmits>()
15
-
16
- const delegatedProps = computed(() => {
17
- const { class: _, ...delegated } = props
18
- return delegated
19
- })
20
-
21
- const forwarded = useForwardPropsEmits(delegatedProps, emits)
22
- </script>
23
-
24
- <template>
25
- <AlertDialogPortal>
26
- <AlertDialogOverlay
27
- class="fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
28
- />
29
- <AlertDialogContent
30
- v-bind="forwarded"
31
- :class="cn(
32
- 'fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',
33
- props.class,
34
- )"
35
- >
36
- <slot />
37
- </AlertDialogContent>
38
- </AlertDialogPortal>
39
- </template>
@@ -1,15 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { AlertDialogDescription, type AlertDialogDescriptionProps, useForwardProps } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<AlertDialogDescriptionProps & { class?: HTMLAttributes['class'] }>()
7
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
8
- const forwardedProps = useForwardProps(delegatedProps)
9
- </script>
10
-
11
- <template>
12
- <AlertDialogDescription v-bind="forwardedProps" :class="cn('text-sm text-muted-foreground', props.class)">
13
- <slot />
14
- </AlertDialogDescription>
15
- </template>
@@ -1,12 +0,0 @@
1
- <script setup lang="ts">
2
- import type { HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
-
5
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
6
- </script>
7
-
8
- <template>
9
- <div :class="cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2', props.class)">
10
- <slot />
11
- </div>
12
- </template>
@@ -1,12 +0,0 @@
1
- <script setup lang="ts">
2
- import type { HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
-
5
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
6
- </script>
7
-
8
- <template>
9
- <div :class="cn('flex flex-col gap-y-2 text-center sm:text-left', props.class)">
10
- <slot />
11
- </div>
12
- </template>
@@ -1,15 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { AlertDialogTitle, type AlertDialogTitleProps, useForwardProps } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<AlertDialogTitleProps & { class?: HTMLAttributes['class'] }>()
7
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
8
- const forwardedProps = useForwardProps(delegatedProps)
9
- </script>
10
-
11
- <template>
12
- <AlertDialogTitle v-bind="forwardedProps" :class="cn('text-lg font-semibold', props.class)">
13
- <slot />
14
- </AlertDialogTitle>
15
- </template>
@@ -1,11 +0,0 @@
1
- <script setup lang="ts">
2
- import { AlertDialogTrigger, type AlertDialogTriggerProps } from 'radix-vue'
3
-
4
- const props = defineProps<AlertDialogTriggerProps>()
5
- </script>
6
-
7
- <template>
8
- <AlertDialogTrigger v-bind="props">
9
- <slot />
10
- </AlertDialogTrigger>
11
- </template>
@@ -1,9 +0,0 @@
1
- export { default as AlertDialog } from './AlertDialog.vue'
2
- export { default as AlertDialogAction } from './AlertDialogAction.vue'
3
- export { default as AlertDialogCancel } from './AlertDialogCancel.vue'
4
- export { default as AlertDialogContent } from './AlertDialogContent.vue'
5
- export { default as AlertDialogDescription } from './AlertDialogDescription.vue'
6
- export { default as AlertDialogFooter } from './AlertDialogFooter.vue'
7
- export { default as AlertDialogHeader } from './AlertDialogHeader.vue'
8
- export { default as AlertDialogTitle } from './AlertDialogTitle.vue'
9
- export { default as AlertDialogTrigger } from './AlertDialogTrigger.vue'
@@ -1,14 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- interface Props { class?: HTMLAttributes['class']; src?: string; alt?: string; fallback?: string }
5
- const props = defineProps<Props>()
6
- </script>
7
- <template>
8
- <span :class="cn('relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full', props.class)">
9
- <img v-if="src" :src="src" :alt="alt" class="aspect-square h-full w-full object-cover" />
10
- <span v-else class="flex h-full w-full items-center justify-center rounded-full bg-muted text-sm font-medium">
11
- {{ fallback || '?' }}
12
- </span>
13
- </span>
14
- </template>
@@ -1 +0,0 @@
1
- export { default as Avatar } from './Avatar.vue'
@@ -1,27 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { cva, type VariantProps } from 'class-variance-authority'
4
- import { cn } from '../lib/utils'
5
-
6
- const badgeVariants = cva(
7
- 'inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',
8
- {
9
- variants: {
10
- variant: {
11
- default: 'border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80',
12
- secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
13
- destructive: 'border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80',
14
- outline: 'text-foreground',
15
- success: 'border-transparent bg-success text-success-foreground shadow',
16
- warning: 'border-transparent bg-warning text-warning-foreground shadow',
17
- },
18
- },
19
- defaultVariants: { variant: 'default' },
20
- }
21
- )
22
-
23
- type BadgeVariants = VariantProps<typeof badgeVariants>
24
- interface Props { variant?: BadgeVariants['variant']; class?: HTMLAttributes['class'] }
25
- const props = withDefaults(defineProps<Props>(), { variant: 'default' })
26
- </script>
27
- <template><div :class="cn(badgeVariants({ variant }), props.class)"><slot /></div></template>
@@ -1 +0,0 @@
1
- export { default as Badge } from './Badge.vue'
@@ -1,6 +0,0 @@
1
- <script setup lang="ts">
2
- import type { HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
5
- </script>
6
- <template><nav aria-label="breadcrumb" :class="cn('', props.class)"><slot /></nav></template>
@@ -1,12 +0,0 @@
1
- <script setup lang="ts">
2
- import { MoreHorizontal } from 'lucide-vue-next'
3
- import type { HTMLAttributes } from 'vue'
4
- import { cn } from '../lib/utils'
5
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
6
- </script>
7
- <template>
8
- <span role="presentation" aria-hidden="true" :class="cn('flex h-9 w-9 items-center justify-center', props.class)">
9
- <slot><MoreHorizontal class="h-4 w-4" /></slot>
10
- <span class="sr-only">More</span>
11
- </span>
12
- </template>
@@ -1,6 +0,0 @@
1
- <script setup lang="ts">
2
- import type { HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
5
- </script>
6
- <template><li :class="cn('inline-flex items-center gap-1.5', props.class)"><slot /></li></template>
@@ -1,20 +0,0 @@
1
- <script setup lang="ts">
2
- import type { HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
-
5
- const props = defineProps<{
6
- class?: HTMLAttributes['class']
7
- as?: string
8
- href?: string
9
- }>()
10
- </script>
11
-
12
- <template>
13
- <component
14
- :is="as ?? 'a'"
15
- :href="href"
16
- :class="cn('transition-colors hover:text-foreground', props.class)"
17
- >
18
- <slot />
19
- </component>
20
- </template>
@@ -1,6 +0,0 @@
1
- <script setup lang="ts">
2
- import type { HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
5
- </script>
6
- <template><ol :class="cn('flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5', props.class)"><slot /></ol></template>
@@ -1,6 +0,0 @@
1
- <script setup lang="ts">
2
- import type { HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
5
- </script>
6
- <template><span role="link" aria-disabled="true" aria-current="page" :class="cn('font-normal text-foreground', props.class)"><slot /></span></template>
@@ -1,11 +0,0 @@
1
- <script setup lang="ts">
2
- import { ChevronRight } from 'lucide-vue-next'
3
- import type { HTMLAttributes } from 'vue'
4
- import { cn } from '../lib/utils'
5
- const props = defineProps<{ class?: HTMLAttributes['class'] }>()
6
- </script>
7
- <template>
8
- <li role="presentation" aria-hidden="true" :class="cn('[&>svg]:size-3.5', props.class)">
9
- <slot><ChevronRight /></slot>
10
- </li>
11
- </template>
@@ -1,7 +0,0 @@
1
- export { default as Breadcrumb } from './Breadcrumb.vue'
2
- export { default as BreadcrumbEllipsis } from './BreadcrumbEllipsis.vue'
3
- export { default as BreadcrumbItem } from './BreadcrumbItem.vue'
4
- export { default as BreadcrumbLink } from './BreadcrumbLink.vue'
5
- export { default as BreadcrumbList } from './BreadcrumbList.vue'
6
- export { default as BreadcrumbPage } from './BreadcrumbPage.vue'
7
- export { default as BreadcrumbSeparator } from './BreadcrumbSeparator.vue'
@@ -1,65 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { cva, type VariantProps } from 'class-variance-authority'
4
- import { cn } from '../lib/utils'
5
-
6
- const buttonVariants = cva(
7
- 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
8
- {
9
- variants: {
10
- variant: {
11
- default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90',
12
- destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',
13
- outline: 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground',
14
- secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',
15
- ghost: 'hover:bg-accent hover:text-accent-foreground',
16
- link: 'text-primary underline-offset-4 hover:underline',
17
- success: 'bg-success text-success-foreground shadow-sm hover:bg-success/90',
18
- },
19
- size: {
20
- default: 'h-9 px-4 py-2',
21
- xs: 'h-7 rounded px-2 text-xs',
22
- sm: 'h-8 rounded-md px-3 text-xs',
23
- lg: 'h-10 rounded-md px-8',
24
- xl: 'h-12 rounded-lg px-10 text-base',
25
- icon: 'h-9 w-9',
26
- },
27
- },
28
- defaultVariants: {
29
- variant: 'default',
30
- size: 'default',
31
- },
32
- }
33
- )
34
-
35
- export type ButtonVariants = VariantProps<typeof buttonVariants>
36
-
37
- interface Props {
38
- variant?: ButtonVariants['variant']
39
- size?: ButtonVariants['size']
40
- as?: string
41
- class?: HTMLAttributes['class']
42
- disabled?: boolean
43
- }
44
-
45
- const props = withDefaults(defineProps<Props>(), {
46
- as: 'button',
47
- variant: 'default',
48
- size: 'default',
49
- })
50
-
51
- const delegatedProps = computed(() => {
52
- const { class: _, ...rest } = props
53
- return rest
54
- })
55
- </script>
56
-
57
- <template>
58
- <component
59
- :is="as"
60
- :class="cn(buttonVariants({ variant, size }), props.class)"
61
- v-bind="delegatedProps"
62
- >
63
- <slot />
64
- </component>
65
- </template>
@@ -1 +0,0 @@
1
- export { default as Button } from './Button.vue'
@@ -1,13 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { cn } from '../lib/utils'
4
-
5
- interface Props { class?: HTMLAttributes['class'] }
6
- const props = defineProps<Props>()
7
- </script>
8
-
9
- <template>
10
- <div :class="cn('rounded-xl border bg-card text-card-foreground shadow', props.class)">
11
- <slot />
12
- </div>
13
- </template>
@@ -1,7 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- interface Props { class?: HTMLAttributes['class'] }
5
- const props = defineProps<Props>()
6
- </script>
7
- <template><div :class="cn('p-6 pt-0', props.class)"><slot /></div></template>
@@ -1,7 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- interface Props { class?: HTMLAttributes['class'] }
5
- const props = defineProps<Props>()
6
- </script>
7
- <template><p :class="cn('text-sm text-muted-foreground', props.class)"><slot /></p></template>
@@ -1,7 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- interface Props { class?: HTMLAttributes['class'] }
5
- const props = defineProps<Props>()
6
- </script>
7
- <template><div :class="cn('flex items-center p-6 pt-0', props.class)"><slot /></div></template>
@@ -1,9 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- interface Props { class?: HTMLAttributes['class'] }
5
- const props = defineProps<Props>()
6
- </script>
7
- <template>
8
- <div :class="cn('flex flex-col space-y-1.5 p-6', props.class)"><slot /></div>
9
- </template>
@@ -1,7 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes } from 'vue'
3
- import { cn } from '../lib/utils'
4
- interface Props { class?: HTMLAttributes['class'] }
5
- const props = defineProps<Props>()
6
- </script>
7
- <template><h3 :class="cn('font-semibold leading-none tracking-tight', props.class)"><slot /></h3></template>
@@ -1,6 +0,0 @@
1
- export { default as Card } from './Card.vue'
2
- export { default as CardHeader } from './CardHeader.vue'
3
- export { default as CardTitle } from './CardTitle.vue'
4
- export { default as CardDescription } from './CardDescription.vue'
5
- export { default as CardContent } from './CardContent.vue'
6
- export { default as CardFooter } from './CardFooter.vue'
@@ -1,25 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { CheckboxIndicator, CheckboxRoot, type CheckboxRootEmits, type CheckboxRootProps, useForwardPropsEmits } from 'radix-vue'
4
- import { Check } from 'lucide-vue-next'
5
- import { cn } from '../lib/utils'
6
-
7
- const props = defineProps<CheckboxRootProps & { class?: HTMLAttributes['class'] }>()
8
- const emits = defineEmits<CheckboxRootEmits>()
9
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
10
- const forwarded = useForwardPropsEmits(delegatedProps, emits)
11
- </script>
12
-
13
- <template>
14
- <CheckboxRoot
15
- v-bind="forwarded"
16
- :class="cn(
17
- 'peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
18
- props.class,
19
- )"
20
- >
21
- <CheckboxIndicator class="flex items-center justify-center text-current">
22
- <Check class="h-4 w-4" />
23
- </CheckboxIndicator>
24
- </CheckboxRoot>
25
- </template>
@@ -1 +0,0 @@
1
- export { default as Checkbox } from './Checkbox.vue'
@@ -1,13 +0,0 @@
1
- <script setup lang="ts">
2
- import { CollapsibleRoot, type CollapsibleRootEmits, type CollapsibleRootProps, useForwardPropsEmits } from 'radix-vue'
3
-
4
- const props = defineProps<CollapsibleRootProps>()
5
- const emits = defineEmits<CollapsibleRootEmits>()
6
- const forwarded = useForwardPropsEmits(props, emits)
7
- </script>
8
-
9
- <template>
10
- <CollapsibleRoot v-bind="forwarded">
11
- <slot />
12
- </CollapsibleRoot>
13
- </template>
@@ -1,2 +0,0 @@
1
- export { CollapsibleTrigger, CollapsibleContent } from 'radix-vue'
2
- export { default as Collapsible } from './Collapsible.vue'
@@ -1,16 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { ComboboxRoot, type ComboboxRootEmits, type ComboboxRootProps, useForwardPropsEmits } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<ComboboxRootProps & { class?: HTMLAttributes['class'] }>()
7
- const emits = defineEmits<ComboboxRootEmits>()
8
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
9
- const forwarded = useForwardPropsEmits(delegatedProps, emits)
10
- </script>
11
-
12
- <template>
13
- <ComboboxRoot v-bind="forwarded" :class="cn('flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground', props.class)">
14
- <slot />
15
- </ComboboxRoot>
16
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts">
2
- import { ComboboxEmpty, type ComboboxEmptyProps } from 'radix-vue'
3
- const props = defineProps<ComboboxEmptyProps>()
4
- </script>
5
- <template><ComboboxEmpty v-bind="props" class="py-6 text-center text-sm"><slot /></ComboboxEmpty></template>
@@ -1,22 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { ComboboxGroup, type ComboboxGroupProps, useForwardProps } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<ComboboxGroupProps & { class?: HTMLAttributes['class']; heading?: string }>()
7
- const delegatedProps = computed(() => { const { class: _, heading: _h, ...d } = props; return d })
8
- const forwardedProps = useForwardProps(delegatedProps)
9
- </script>
10
-
11
- <template>
12
- <ComboboxGroup v-bind="forwardedProps" :class="cn('overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground', props.class)">
13
- <ComboboxLabel v-if="heading" class="px-2 py-1.5 text-xs font-medium text-muted-foreground">
14
- {{ heading }}
15
- </ComboboxLabel>
16
- <slot />
17
- </ComboboxGroup>
18
- </template>
19
-
20
- <script lang="ts">
21
- import { ComboboxLabel } from 'radix-vue'
22
- </script>
@@ -1,21 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { ComboboxInput, type ComboboxInputProps, useForwardProps } from 'radix-vue'
4
- import { Search } from 'lucide-vue-next'
5
- import { cn } from '../lib/utils'
6
-
7
- const props = defineProps<ComboboxInputProps & { class?: HTMLAttributes['class'] }>()
8
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
9
- const forwardedProps = useForwardProps(delegatedProps)
10
- </script>
11
-
12
- <template>
13
- <div class="flex items-center border-b px-3" cmdk-input-wrapper>
14
- <Search class="mr-2 h-4 w-4 shrink-0 opacity-50" />
15
- <ComboboxInput
16
- v-bind="forwardedProps"
17
- auto-focus
18
- :class="cn('flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50', props.class)"
19
- />
20
- </div>
21
- </template>
@@ -1,22 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { ComboboxItem, type ComboboxItemEmits, type ComboboxItemProps, useForwardPropsEmits } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<ComboboxItemProps & { class?: HTMLAttributes['class'] }>()
7
- const emits = defineEmits<ComboboxItemEmits>()
8
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
9
- const forwarded = useForwardPropsEmits(delegatedProps, emits)
10
- </script>
11
-
12
- <template>
13
- <ComboboxItem
14
- v-bind="forwarded"
15
- :class="cn(
16
- 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
17
- props.class,
18
- )"
19
- >
20
- <slot />
21
- </ComboboxItem>
22
- </template>
@@ -1,17 +0,0 @@
1
- <script setup lang="ts">
2
- import { type HTMLAttributes, computed } from 'vue'
3
- import { ComboboxContent, type ComboboxContentProps, useForwardProps } from 'radix-vue'
4
- import { cn } from '../lib/utils'
5
-
6
- const props = defineProps<ComboboxContentProps & { class?: HTMLAttributes['class'] }>()
7
- const delegatedProps = computed(() => { const { class: _, ...d } = props; return d })
8
- const forwardedProps = useForwardProps(delegatedProps)
9
- </script>
10
-
11
- <template>
12
- <ComboboxContent v-bind="forwardedProps" :class="cn('max-h-[300px] overflow-y-auto overflow-x-hidden', props.class)">
13
- <div role="presentation">
14
- <slot />
15
- </div>
16
- </ComboboxContent>
17
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts">
2
- import { ComboboxSeparator, type ComboboxSeparatorProps } from 'radix-vue'
3
- const props = defineProps<ComboboxSeparatorProps>()
4
- </script>
5
- <template><ComboboxSeparator v-bind="props" class="-mx-1 h-px bg-border" /></template>
@@ -1,7 +0,0 @@
1
- export { default as Command } from './Command.vue'
2
- export { default as CommandEmpty } from './CommandEmpty.vue'
3
- export { default as CommandGroup } from './CommandGroup.vue'
4
- export { default as CommandInput } from './CommandInput.vue'
5
- export { default as CommandItem } from './CommandItem.vue'
6
- export { default as CommandList } from './CommandList.vue'
7
- export { default as CommandSeparator } from './CommandSeparator.vue'