@matta-trade/ui 0.0.0-stage → 0.2.2

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 (472) hide show
  1. package/DESIGN.md +217 -0
  2. package/README.md +91 -2
  3. package/dist/alert/Alert.vue.d.ts +19 -0
  4. package/dist/alert/AlertDescription.vue.d.ts +17 -0
  5. package/dist/alert/AlertTitle.vue.d.ts +17 -0
  6. package/dist/alert/index.d.ts +8 -0
  7. package/dist/alert/index.js +62 -0
  8. package/dist/alert-dialog/AlertDialog.vue.d.ts +18 -0
  9. package/dist/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
  10. package/dist/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
  11. package/dist/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
  12. package/dist/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
  13. package/dist/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
  14. package/dist/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
  15. package/dist/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
  16. package/dist/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
  17. package/dist/alert-dialog/index.d.ts +9 -0
  18. package/dist/alert-dialog/index.js +177 -0
  19. package/dist/avatar/Avatar.vue.d.ts +27 -0
  20. package/dist/avatar/AvatarFallback.vue.d.ts +18 -0
  21. package/dist/avatar/AvatarImage.vue.d.ts +14 -0
  22. package/dist/avatar/index.d.ts +9 -0
  23. package/dist/avatar/index.js +120 -0
  24. package/dist/avatar-colors.d.ts +51 -0
  25. package/dist/badge/Badge.vue.d.ts +20 -0
  26. package/dist/badge/index.d.ts +6 -0
  27. package/dist/badge/index.js +58 -0
  28. package/dist/breadcrumb/Breadcrumb.vue.d.ts +17 -0
  29. package/dist/breadcrumb/BreadcrumbEllipsis.vue.d.ts +17 -0
  30. package/dist/breadcrumb/BreadcrumbItem.vue.d.ts +17 -0
  31. package/dist/breadcrumb/BreadcrumbLink.vue.d.ts +20 -0
  32. package/dist/breadcrumb/BreadcrumbList.vue.d.ts +17 -0
  33. package/dist/breadcrumb/BreadcrumbPage.vue.d.ts +17 -0
  34. package/dist/breadcrumb/BreadcrumbSeparator.vue.d.ts +17 -0
  35. package/dist/breadcrumb/index.d.ts +7 -0
  36. package/dist/breadcrumb/index.js +131 -0
  37. package/dist/button/Button.vue.d.ts +36 -0
  38. package/dist/button/index.d.ts +7 -0
  39. package/dist/button/index.js +2 -0
  40. package/dist/button-group/ButtonGroup.vue.d.ts +19 -0
  41. package/dist/button-group/ButtonGroupSeparator.vue.d.ts +10 -0
  42. package/dist/button-group/ButtonGroupText.vue.d.ts +22 -0
  43. package/dist/button-group/index.d.ts +8 -0
  44. package/dist/button-group/index.js +92 -0
  45. package/dist/calendar/Calendar.vue.d.ts +14 -0
  46. package/dist/calendar/CalendarCell.vue.d.ts +18 -0
  47. package/dist/calendar/CalendarCellTrigger.vue.d.ts +18 -0
  48. package/dist/calendar/CalendarGrid.vue.d.ts +18 -0
  49. package/dist/calendar/CalendarGridBody.vue.d.ts +14 -0
  50. package/dist/calendar/CalendarGridHead.vue.d.ts +14 -0
  51. package/dist/calendar/CalendarGridRow.vue.d.ts +18 -0
  52. package/dist/calendar/CalendarHeadCell.vue.d.ts +18 -0
  53. package/dist/calendar/CalendarHeader.vue.d.ts +18 -0
  54. package/dist/calendar/CalendarHeading.vue.d.ts +19 -0
  55. package/dist/calendar/CalendarNextButton.vue.d.ts +18 -0
  56. package/dist/calendar/CalendarPrevButton.vue.d.ts +18 -0
  57. package/dist/calendar/index.d.ts +12 -0
  58. package/dist/calendar/index.js +303 -0
  59. package/dist/card/Card.vue.d.ts +17 -0
  60. package/dist/card/CardContent.vue.d.ts +17 -0
  61. package/dist/card/CardDescription.vue.d.ts +17 -0
  62. package/dist/card/CardFooter.vue.d.ts +17 -0
  63. package/dist/card/CardHeader.vue.d.ts +17 -0
  64. package/dist/card/CardTitle.vue.d.ts +17 -0
  65. package/dist/card/index.d.ts +6 -0
  66. package/dist/card/index.js +2 -0
  67. package/dist/chart/ChartCrosshair.vue.d.ts +13 -0
  68. package/dist/chart/ChartLegend.vue.d.ts +15 -0
  69. package/dist/chart/ChartSingleTooltip.vue.d.ts +12 -0
  70. package/dist/chart/ChartTooltip.vue.d.ts +11 -0
  71. package/dist/chart/index.d.ts +6 -0
  72. package/dist/chart/index.js +177 -0
  73. package/dist/chart/interface.d.ts +63 -0
  74. package/dist/checkbox/Checkbox.vue.d.ts +22 -0
  75. package/dist/checkbox/index.d.ts +1 -0
  76. package/dist/checkbox/index.js +43 -0
  77. package/dist/chunks/avatar-colors-CCGh54Ve.js +37 -0
  78. package/dist/chunks/button-DcaKfSRM.js +100 -0
  79. package/dist/chunks/card-B9Fm3-hL.js +85 -0
  80. package/dist/chunks/dialog-Df5vNbNz.js +196 -0
  81. package/dist/chunks/input-BgkMak31.js +44 -0
  82. package/dist/chunks/scroll-area-COtrGbKj.js +68 -0
  83. package/dist/chunks/separator-DAL7ppX1.js +31 -0
  84. package/dist/chunks/sheet-tX6r4wAA.js +150 -0
  85. package/dist/chunks/tooltip-C80qPEs9.js +102 -0
  86. package/dist/chunks/utils-CX-Pz5p6.js +8 -0
  87. package/dist/combobox/Combobox.vue.d.ts +29 -0
  88. package/dist/combobox/ComboboxAnchor.vue.d.ts +18 -0
  89. package/dist/combobox/ComboboxEmpty.vue.d.ts +18 -0
  90. package/dist/combobox/ComboboxGroup.vue.d.ts +19 -0
  91. package/dist/combobox/ComboboxInput.vue.d.ts +22 -0
  92. package/dist/combobox/ComboboxItem.vue.d.ts +22 -0
  93. package/dist/combobox/ComboboxList.vue.d.ts +32 -0
  94. package/dist/combobox/ComboboxSeparator.vue.d.ts +18 -0
  95. package/dist/combobox/ComboboxTrigger.vue.d.ts +18 -0
  96. package/dist/combobox/index.d.ts +10 -0
  97. package/dist/combobox/index.js +262 -0
  98. package/dist/command/Command.vue.d.ts +36 -0
  99. package/dist/command/CommandDialog.vue.d.ts +18 -0
  100. package/dist/command/CommandEmpty.vue.d.ts +18 -0
  101. package/dist/command/CommandGroup.vue.d.ts +19 -0
  102. package/dist/command/CommandInput.vue.d.ts +8 -0
  103. package/dist/command/CommandItem.vue.d.ts +22 -0
  104. package/dist/command/CommandList.vue.d.ts +18 -0
  105. package/dist/command/CommandSeparator.vue.d.ts +18 -0
  106. package/dist/command/CommandShortcut.vue.d.ts +17 -0
  107. package/dist/command/index.d.ts +90 -0
  108. package/dist/command/index.js +297 -0
  109. package/dist/dialog/Dialog.vue.d.ts +18 -0
  110. package/dist/dialog/DialogClose.vue.d.ts +14 -0
  111. package/dist/dialog/DialogContent.vue.d.ts +32 -0
  112. package/dist/dialog/DialogDescription.vue.d.ts +18 -0
  113. package/dist/dialog/DialogFooter.vue.d.ts +17 -0
  114. package/dist/dialog/DialogHeader.vue.d.ts +17 -0
  115. package/dist/dialog/DialogScrollContent.vue.d.ts +32 -0
  116. package/dist/dialog/DialogTitle.vue.d.ts +18 -0
  117. package/dist/dialog/DialogTrigger.vue.d.ts +14 -0
  118. package/dist/dialog/index.d.ts +9 -0
  119. package/dist/dialog/index.js +2 -0
  120. package/dist/drawer/Drawer.vue.d.ts +30 -0
  121. package/dist/drawer/DrawerContent.vue.d.ts +32 -0
  122. package/dist/drawer/DrawerDescription.vue.d.ts +18 -0
  123. package/dist/drawer/DrawerFooter.vue.d.ts +17 -0
  124. package/dist/drawer/DrawerHeader.vue.d.ts +17 -0
  125. package/dist/drawer/DrawerOverlay.vue.d.ts +8 -0
  126. package/dist/drawer/DrawerTitle.vue.d.ts +18 -0
  127. package/dist/drawer/index.d.ts +8 -0
  128. package/dist/drawer/index.js +166 -0
  129. package/dist/dropdown-menu/DropdownMenu.vue.d.ts +18 -0
  130. package/dist/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
  131. package/dist/dropdown-menu/DropdownMenuItem.vue.d.ts +22 -0
  132. package/dist/dropdown-menu/DropdownMenuLabel.vue.d.ts +18 -0
  133. package/dist/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
  134. package/dist/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
  135. package/dist/dropdown-menu/index.d.ts +6 -0
  136. package/dist/dropdown-menu/index.js +149 -0
  137. package/dist/index.d.ts +2 -0
  138. package/dist/index.js +3 -0
  139. package/dist/input/Input.vue.d.ts +19 -0
  140. package/dist/input/index.d.ts +1 -0
  141. package/dist/input/index.js +2 -0
  142. package/dist/label/Label.vue.d.ts +18 -0
  143. package/dist/label/index.d.ts +1 -0
  144. package/dist/label/index.js +29 -0
  145. package/dist/lib/utils.d.ts +2 -0
  146. package/dist/popover/Popover.vue.d.ts +18 -0
  147. package/dist/popover/PopoverContent.vue.d.ts +35 -0
  148. package/dist/popover/PopoverTrigger.vue.d.ts +14 -0
  149. package/dist/popover/index.d.ts +3 -0
  150. package/dist/popover/index.js +96 -0
  151. package/dist/range-calendar/RangeCalendar.vue.d.ts +18 -0
  152. package/dist/range-calendar/RangeCalendarCell.vue.d.ts +18 -0
  153. package/dist/range-calendar/RangeCalendarCellTrigger.vue.d.ts +18 -0
  154. package/dist/range-calendar/RangeCalendarGrid.vue.d.ts +18 -0
  155. package/dist/range-calendar/RangeCalendarGridBody.vue.d.ts +14 -0
  156. package/dist/range-calendar/RangeCalendarGridHead.vue.d.ts +14 -0
  157. package/dist/range-calendar/RangeCalendarGridRow.vue.d.ts +18 -0
  158. package/dist/range-calendar/RangeCalendarHeadCell.vue.d.ts +18 -0
  159. package/dist/range-calendar/RangeCalendarHeader.vue.d.ts +18 -0
  160. package/dist/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
  161. package/dist/range-calendar/RangeCalendarNextButton.vue.d.ts +18 -0
  162. package/dist/range-calendar/RangeCalendarPrevButton.vue.d.ts +18 -0
  163. package/dist/range-calendar/index.d.ts +12 -0
  164. package/dist/range-calendar/index.js +311 -0
  165. package/dist/scroll-area/ScrollArea.vue.d.ts +19 -0
  166. package/dist/scroll-area/ScrollBar.vue.d.ts +10 -0
  167. package/dist/scroll-area/index.d.ts +2 -0
  168. package/dist/scroll-area/index.js +2 -0
  169. package/dist/select/Select.vue.d.ts +21 -0
  170. package/dist/select/SelectContent.vue.d.ts +28 -0
  171. package/dist/select/SelectGroup.vue.d.ts +18 -0
  172. package/dist/select/SelectItem.vue.d.ts +18 -0
  173. package/dist/select/SelectItemText.vue.d.ts +14 -0
  174. package/dist/select/SelectLabel.vue.d.ts +18 -0
  175. package/dist/select/SelectScrollDownButton.vue.d.ts +18 -0
  176. package/dist/select/SelectScrollUpButton.vue.d.ts +18 -0
  177. package/dist/select/SelectSeparator.vue.d.ts +8 -0
  178. package/dist/select/SelectTrigger.vue.d.ts +18 -0
  179. package/dist/select/SelectValue.vue.d.ts +14 -0
  180. package/dist/select/index.d.ts +11 -0
  181. package/dist/select/index.js +276 -0
  182. package/dist/separator/Separator.vue.d.ts +11 -0
  183. package/dist/separator/index.d.ts +1 -0
  184. package/dist/separator/index.js +2 -0
  185. package/dist/sheet/Sheet.vue.d.ts +18 -0
  186. package/dist/sheet/SheetClose.vue.d.ts +14 -0
  187. package/dist/sheet/SheetContent.vue.d.ts +39 -0
  188. package/dist/sheet/SheetDescription.vue.d.ts +18 -0
  189. package/dist/sheet/SheetHeader.vue.d.ts +17 -0
  190. package/dist/sheet/SheetTitle.vue.d.ts +18 -0
  191. package/dist/sheet/SheetTrigger.vue.d.ts +14 -0
  192. package/dist/sheet/index.d.ts +7 -0
  193. package/dist/sheet/index.js +2 -0
  194. package/dist/sidebar/Sidebar.vue.d.ts +28 -0
  195. package/dist/sidebar/SidebarContent.vue.d.ts +17 -0
  196. package/dist/sidebar/SidebarFooter.vue.d.ts +17 -0
  197. package/dist/sidebar/SidebarGroup.vue.d.ts +17 -0
  198. package/dist/sidebar/SidebarGroupAction.vue.d.ts +20 -0
  199. package/dist/sidebar/SidebarGroupContent.vue.d.ts +17 -0
  200. package/dist/sidebar/SidebarGroupLabel.vue.d.ts +20 -0
  201. package/dist/sidebar/SidebarHeader.vue.d.ts +17 -0
  202. package/dist/sidebar/SidebarInput.vue.d.ts +17 -0
  203. package/dist/sidebar/SidebarInset.vue.d.ts +17 -0
  204. package/dist/sidebar/SidebarMenu.vue.d.ts +17 -0
  205. package/dist/sidebar/SidebarMenuAction.vue.d.ts +21 -0
  206. package/dist/sidebar/SidebarMenuBadge.vue.d.ts +17 -0
  207. package/dist/sidebar/SidebarMenuButton.vue.d.ts +29 -0
  208. package/dist/sidebar/SidebarMenuItem.vue.d.ts +17 -0
  209. package/dist/sidebar/SidebarMenuSub.vue.d.ts +17 -0
  210. package/dist/sidebar/SidebarMenuSubButton.vue.d.ts +23 -0
  211. package/dist/sidebar/SidebarMenuSubItem.vue.d.ts +17 -0
  212. package/dist/sidebar/SidebarProvider.vue.d.ts +26 -0
  213. package/dist/sidebar/SidebarRail.vue.d.ts +7 -0
  214. package/dist/sidebar/SidebarSeparator.vue.d.ts +7 -0
  215. package/dist/sidebar/SidebarTrigger.vue.d.ts +7 -0
  216. package/dist/sidebar/index.d.ts +45 -0
  217. package/dist/sidebar/index.js +595 -0
  218. package/dist/sonner/Sonner.vue.d.ts +4 -0
  219. package/dist/sonner/index.d.ts +1 -0
  220. package/dist/sonner/index.js +59 -0
  221. package/dist/stepper/Stepper.vue.d.ts +17 -0
  222. package/dist/stepper/index.d.ts +1 -0
  223. package/dist/stepper/index.js +57 -0
  224. package/dist/switch/Switch.vue.d.ts +12 -0
  225. package/dist/switch/index.d.ts +1 -0
  226. package/dist/switch/index.js +46 -0
  227. package/dist/table/Table.vue.d.ts +17 -0
  228. package/dist/table/TableBody.vue.d.ts +17 -0
  229. package/dist/table/TableCell.vue.d.ts +17 -0
  230. package/dist/table/TableHead.vue.d.ts +17 -0
  231. package/dist/table/TableHeader.vue.d.ts +17 -0
  232. package/dist/table/TableRow.vue.d.ts +17 -0
  233. package/dist/table/index.d.ts +6 -0
  234. package/dist/table/index.js +84 -0
  235. package/dist/tabs/Tabs.vue.d.ts +19 -0
  236. package/dist/tabs/TabsContent.vue.d.ts +18 -0
  237. package/dist/tabs/TabsList.vue.d.ts +18 -0
  238. package/dist/tabs/TabsTrigger.vue.d.ts +18 -0
  239. package/dist/tabs/index.d.ts +4 -0
  240. package/dist/tabs/index.js +93 -0
  241. package/dist/tags-input/TagsInput.vue.d.ts +28 -0
  242. package/dist/tags-input/TagsInputInput.vue.d.ts +8 -0
  243. package/dist/tags-input/TagsInputItem.vue.d.ts +18 -0
  244. package/dist/tags-input/TagsInputItemDelete.vue.d.ts +18 -0
  245. package/dist/tags-input/TagsInputItemText.vue.d.ts +8 -0
  246. package/dist/tags-input/index.d.ts +5 -0
  247. package/dist/tags-input/index.js +130 -0
  248. package/dist/textarea/Textarea.vue.d.ts +19 -0
  249. package/dist/textarea/index.d.ts +1 -0
  250. package/dist/textarea/index.js +43 -0
  251. package/dist/tooltip/Tooltip.vue.d.ts +18 -0
  252. package/dist/tooltip/TooltipContent.vue.d.ts +26 -0
  253. package/dist/tooltip/TooltipProvider.vue.d.ts +14 -0
  254. package/dist/tooltip/TooltipRoot.vue.d.ts +18 -0
  255. package/dist/tooltip/TooltipTrigger.vue.d.ts +14 -0
  256. package/dist/tooltip/index.d.ts +4 -0
  257. package/dist/tooltip/index.js +2 -0
  258. package/package.json +89 -5
  259. package/src/alert/Alert.vue +17 -0
  260. package/src/alert/AlertDescription.vue +14 -0
  261. package/src/alert/AlertTitle.vue +14 -0
  262. package/src/alert/index.ts +29 -0
  263. package/src/alert-dialog/AlertDialog.vue +15 -0
  264. package/src/alert-dialog/AlertDialogAction.vue +18 -0
  265. package/src/alert-dialog/AlertDialogCancel.vue +18 -0
  266. package/src/alert-dialog/AlertDialogContent.vue +33 -0
  267. package/src/alert-dialog/AlertDialogDescription.vue +17 -0
  268. package/src/alert-dialog/AlertDialogFooter.vue +14 -0
  269. package/src/alert-dialog/AlertDialogHeader.vue +14 -0
  270. package/src/alert-dialog/AlertDialogTitle.vue +17 -0
  271. package/src/alert-dialog/AlertDialogTrigger.vue +12 -0
  272. package/src/alert-dialog/index.ts +9 -0
  273. package/src/avatar/Avatar.vue +76 -0
  274. package/src/avatar/AvatarFallback.vue +18 -0
  275. package/src/avatar/AvatarImage.vue +12 -0
  276. package/src/avatar/index.ts +30 -0
  277. package/src/avatar-colors.ts +24 -0
  278. package/src/badge/Badge.vue +44 -0
  279. package/src/badge/index.ts +33 -0
  280. package/src/breadcrumb/Breadcrumb.vue +13 -0
  281. package/src/breadcrumb/BreadcrumbEllipsis.vue +18 -0
  282. package/src/breadcrumb/BreadcrumbItem.vue +14 -0
  283. package/src/breadcrumb/BreadcrumbLink.vue +16 -0
  284. package/src/breadcrumb/BreadcrumbList.vue +14 -0
  285. package/src/breadcrumb/BreadcrumbPage.vue +14 -0
  286. package/src/breadcrumb/BreadcrumbSeparator.vue +17 -0
  287. package/src/breadcrumb/index.ts +7 -0
  288. package/src/button/Button.vue +64 -0
  289. package/src/button/index.ts +40 -0
  290. package/src/button-group/ButtonGroup.vue +22 -0
  291. package/src/button-group/ButtonGroupSeparator.vue +21 -0
  292. package/src/button-group/ButtonGroupText.vue +34 -0
  293. package/src/button-group/index.ts +23 -0
  294. package/src/calendar/Calendar.vue +57 -0
  295. package/src/calendar/CalendarCell.vue +27 -0
  296. package/src/calendar/CalendarCellTrigger.vue +38 -0
  297. package/src/calendar/CalendarGrid.vue +19 -0
  298. package/src/calendar/CalendarGridBody.vue +12 -0
  299. package/src/calendar/CalendarGridHead.vue +12 -0
  300. package/src/calendar/CalendarGridRow.vue +19 -0
  301. package/src/calendar/CalendarHeadCell.vue +19 -0
  302. package/src/calendar/CalendarHeader.vue +19 -0
  303. package/src/calendar/CalendarHeading.vue +25 -0
  304. package/src/calendar/CalendarNextButton.vue +26 -0
  305. package/src/calendar/CalendarPrevButton.vue +26 -0
  306. package/src/calendar/index.ts +12 -0
  307. package/src/card/Card.vue +14 -0
  308. package/src/card/CardContent.vue +14 -0
  309. package/src/card/CardDescription.vue +14 -0
  310. package/src/card/CardFooter.vue +14 -0
  311. package/src/card/CardHeader.vue +14 -0
  312. package/src/card/CardTitle.vue +14 -0
  313. package/src/card/index.ts +6 -0
  314. package/src/chart/ChartCrosshair.vue +47 -0
  315. package/src/chart/ChartLegend.vue +63 -0
  316. package/src/chart/ChartSingleTooltip.vue +61 -0
  317. package/src/chart/ChartTooltip.vue +35 -0
  318. package/src/chart/index.ts +18 -0
  319. package/src/chart/interface.ts +64 -0
  320. package/src/checkbox/Checkbox.vue +33 -0
  321. package/src/checkbox/index.ts +1 -0
  322. package/src/combobox/Combobox.vue +15 -0
  323. package/src/combobox/ComboboxAnchor.vue +19 -0
  324. package/src/combobox/ComboboxEmpty.vue +17 -0
  325. package/src/combobox/ComboboxGroup.vue +33 -0
  326. package/src/combobox/ComboboxInput.vue +33 -0
  327. package/src/combobox/ComboboxItem.vue +28 -0
  328. package/src/combobox/ComboboxList.vue +36 -0
  329. package/src/combobox/ComboboxSeparator.vue +17 -0
  330. package/src/combobox/ComboboxTrigger.vue +23 -0
  331. package/src/combobox/index.ts +11 -0
  332. package/src/command/Command.vue +85 -0
  333. package/src/command/CommandDialog.vue +23 -0
  334. package/src/command/CommandEmpty.vue +22 -0
  335. package/src/command/CommandGroup.vue +50 -0
  336. package/src/command/CommandInput.vue +42 -0
  337. package/src/command/CommandItem.vue +79 -0
  338. package/src/command/CommandList.vue +25 -0
  339. package/src/command/CommandSeparator.vue +17 -0
  340. package/src/command/CommandShortcut.vue +14 -0
  341. package/src/command/index.ts +25 -0
  342. package/src/dialog/Dialog.vue +15 -0
  343. package/src/dialog/DialogClose.vue +12 -0
  344. package/src/dialog/DialogContent.vue +41 -0
  345. package/src/dialog/DialogDescription.vue +19 -0
  346. package/src/dialog/DialogFooter.vue +12 -0
  347. package/src/dialog/DialogHeader.vue +14 -0
  348. package/src/dialog/DialogScrollContent.vue +49 -0
  349. package/src/dialog/DialogTitle.vue +19 -0
  350. package/src/dialog/DialogTrigger.vue +12 -0
  351. package/src/dialog/index.ts +9 -0
  352. package/src/drawer/Drawer.vue +20 -0
  353. package/src/drawer/DrawerContent.vue +31 -0
  354. package/src/drawer/DrawerDescription.vue +17 -0
  355. package/src/drawer/DrawerFooter.vue +14 -0
  356. package/src/drawer/DrawerHeader.vue +14 -0
  357. package/src/drawer/DrawerOverlay.vue +15 -0
  358. package/src/drawer/DrawerTitle.vue +17 -0
  359. package/src/drawer/index.ts +8 -0
  360. package/src/dropdown-menu/DropdownMenu.vue +26 -0
  361. package/src/dropdown-menu/DropdownMenuContent.vue +28 -0
  362. package/src/dropdown-menu/DropdownMenuItem.vue +23 -0
  363. package/src/dropdown-menu/DropdownMenuLabel.vue +13 -0
  364. package/src/dropdown-menu/DropdownMenuSeparator.vue +11 -0
  365. package/src/dropdown-menu/DropdownMenuTrigger.vue +11 -0
  366. package/src/dropdown-menu/index.ts +6 -0
  367. package/src/index.ts +2 -0
  368. package/src/input/Input.vue +43 -0
  369. package/src/input/index.ts +1 -0
  370. package/src/label/Label.vue +16 -0
  371. package/src/label/index.ts +1 -0
  372. package/src/lib/utils.ts +6 -0
  373. package/src/popover/Popover.vue +15 -0
  374. package/src/popover/PopoverContent.vue +39 -0
  375. package/src/popover/PopoverTrigger.vue +11 -0
  376. package/src/popover/index.ts +3 -0
  377. package/src/range-calendar/RangeCalendar.vue +57 -0
  378. package/src/range-calendar/RangeCalendarCell.vue +27 -0
  379. package/src/range-calendar/RangeCalendarCellTrigger.vue +40 -0
  380. package/src/range-calendar/RangeCalendarGrid.vue +19 -0
  381. package/src/range-calendar/RangeCalendarGridBody.vue +12 -0
  382. package/src/range-calendar/RangeCalendarGridHead.vue +12 -0
  383. package/src/range-calendar/RangeCalendarGridRow.vue +19 -0
  384. package/src/range-calendar/RangeCalendarHeadCell.vue +19 -0
  385. package/src/range-calendar/RangeCalendarHeader.vue +19 -0
  386. package/src/range-calendar/RangeCalendarHeading.vue +25 -0
  387. package/src/range-calendar/RangeCalendarNextButton.vue +26 -0
  388. package/src/range-calendar/RangeCalendarPrevButton.vue +26 -0
  389. package/src/range-calendar/index.ts +12 -0
  390. package/src/scroll-area/ScrollArea.vue +22 -0
  391. package/src/scroll-area/ScrollBar.vue +29 -0
  392. package/src/scroll-area/index.ts +2 -0
  393. package/src/select/Select.vue +15 -0
  394. package/src/select/SelectContent.vue +43 -0
  395. package/src/select/SelectGroup.vue +17 -0
  396. package/src/select/SelectItem.vue +36 -0
  397. package/src/select/SelectItemText.vue +12 -0
  398. package/src/select/SelectLabel.vue +14 -0
  399. package/src/select/SelectScrollDownButton.vue +22 -0
  400. package/src/select/SelectScrollUpButton.vue +22 -0
  401. package/src/select/SelectSeparator.vue +15 -0
  402. package/src/select/SelectTrigger.vue +31 -0
  403. package/src/select/SelectValue.vue +12 -0
  404. package/src/select/index.ts +11 -0
  405. package/src/separator/Separator.vue +21 -0
  406. package/src/separator/index.ts +1 -0
  407. package/src/sheet/Sheet.vue +15 -0
  408. package/src/sheet/SheetClose.vue +11 -0
  409. package/src/sheet/SheetContent.vue +54 -0
  410. package/src/sheet/SheetDescription.vue +13 -0
  411. package/src/sheet/SheetHeader.vue +14 -0
  412. package/src/sheet/SheetTitle.vue +13 -0
  413. package/src/sheet/SheetTrigger.vue +11 -0
  414. package/src/sheet/index.ts +7 -0
  415. package/src/sidebar/Sidebar.vue +101 -0
  416. package/src/sidebar/SidebarContent.vue +21 -0
  417. package/src/sidebar/SidebarFooter.vue +16 -0
  418. package/src/sidebar/SidebarGroup.vue +16 -0
  419. package/src/sidebar/SidebarGroupAction.vue +31 -0
  420. package/src/sidebar/SidebarGroupContent.vue +16 -0
  421. package/src/sidebar/SidebarGroupLabel.vue +31 -0
  422. package/src/sidebar/SidebarHeader.vue +16 -0
  423. package/src/sidebar/SidebarInput.vue +20 -0
  424. package/src/sidebar/SidebarInset.vue +25 -0
  425. package/src/sidebar/SidebarMenu.vue +16 -0
  426. package/src/sidebar/SidebarMenuAction.vue +37 -0
  427. package/src/sidebar/SidebarMenuBadge.vue +29 -0
  428. package/src/sidebar/SidebarMenuButton.vue +64 -0
  429. package/src/sidebar/SidebarMenuItem.vue +16 -0
  430. package/src/sidebar/SidebarMenuSub.vue +25 -0
  431. package/src/sidebar/SidebarMenuSubButton.vue +39 -0
  432. package/src/sidebar/SidebarMenuSubItem.vue +16 -0
  433. package/src/sidebar/SidebarProvider.vue +74 -0
  434. package/src/sidebar/SidebarRail.vue +34 -0
  435. package/src/sidebar/SidebarSeparator.vue +15 -0
  436. package/src/sidebar/SidebarTrigger.vue +28 -0
  437. package/src/sidebar/index.ts +70 -0
  438. package/src/sonner/Sonner.vue +54 -0
  439. package/src/sonner/index.ts +1 -0
  440. package/src/stepper/Stepper.vue +58 -0
  441. package/src/stepper/index.ts +1 -0
  442. package/src/switch/Switch.vue +41 -0
  443. package/src/switch/index.ts +1 -0
  444. package/src/table/Table.vue +16 -0
  445. package/src/table/TableBody.vue +14 -0
  446. package/src/table/TableCell.vue +14 -0
  447. package/src/table/TableHead.vue +14 -0
  448. package/src/table/TableHeader.vue +14 -0
  449. package/src/table/TableRow.vue +14 -0
  450. package/src/table/index.ts +6 -0
  451. package/src/tabs/Tabs.vue +15 -0
  452. package/src/tabs/TabsContent.vue +16 -0
  453. package/src/tabs/TabsList.vue +16 -0
  454. package/src/tabs/TabsTrigger.vue +21 -0
  455. package/src/tabs/index.ts +4 -0
  456. package/src/tags-input/TagsInput.vue +23 -0
  457. package/src/tags-input/TagsInputInput.vue +17 -0
  458. package/src/tags-input/TagsInputItem.vue +27 -0
  459. package/src/tags-input/TagsInputItemDelete.vue +22 -0
  460. package/src/tags-input/TagsInputItemText.vue +17 -0
  461. package/src/tags-input/index.ts +5 -0
  462. package/src/textarea/Textarea.vue +41 -0
  463. package/src/textarea/index.ts +1 -0
  464. package/src/tooltip/Tooltip.vue +15 -0
  465. package/src/tooltip/TooltipContent.vue +37 -0
  466. package/src/tooltip/TooltipProvider.vue +12 -0
  467. package/src/tooltip/TooltipRoot.vue +14 -0
  468. package/src/tooltip/TooltipTrigger.vue +12 -0
  469. package/src/tooltip/index.ts +4 -0
  470. package/styles/kit.css +100 -0
  471. package/styles/theme.css +950 -0
  472. package/styles/typography.css +430 -0
@@ -0,0 +1,595 @@
1
+ import { t as e } from "../chunks/utils-CX-Pz5p6.js";
2
+ import { n as t } from "../chunks/button-DcaKfSRM.js";
3
+ import { t as n } from "../chunks/separator-DAL7ppX1.js";
4
+ import { t as r } from "../chunks/scroll-area-COtrGbKj.js";
5
+ import { t as i } from "../chunks/input-BgkMak31.js";
6
+ import { i as a, s as o } from "../chunks/sheet-tX6r4wAA.js";
7
+ import { i as s, n as c, r as l, t as u } from "../chunks/tooltip-C80qPEs9.js";
8
+ import { cva as ee } from "class-variance-authority";
9
+ import { computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, mergeProps as y, normalizeClass as b, normalizeStyle as x, openBlock as S, ref as te, renderSlot as C, toDisplayString as ne, unref as w, withCtx as T } from "vue";
10
+ import { Primitive as E, createContext as re } from "reka-ui";
11
+ import { useEventListener as ie, useMediaQuery as ae, useVModel as oe } from "@vueuse/core";
12
+ import { PanelLeft as se } from "lucide-vue-next";
13
+ //#region src/sidebar/Sidebar.vue?vue&type=script&setup=true&lang.ts
14
+ var D = { class: "flex h-full w-full flex-col" }, O = [
15
+ "data-state",
16
+ "data-collapsible",
17
+ "data-variant",
18
+ "data-side"
19
+ ], k = /* @__PURE__ */ v({
20
+ inheritAttrs: !1,
21
+ __name: "Sidebar",
22
+ props: {
23
+ side: { default: "left" },
24
+ variant: { default: "sidebar" },
25
+ collapsible: { default: "offcanvas" },
26
+ class: { type: [
27
+ Boolean,
28
+ null,
29
+ String,
30
+ Object,
31
+ Array
32
+ ] }
33
+ },
34
+ setup(t) {
35
+ let n = t, { isMobile: r, state: i, openMobile: s, setOpenMobile: c } = Z(), l = d(() => i.value === "collapsed" ? n.collapsible === "icon" ? "var(--sidebar-width-icon)" : "0px" : "var(--sidebar-width)");
36
+ return (u, ee) => t.collapsible === "none" ? (S(), m("div", y({
37
+ key: 0,
38
+ class: w(e)("flex h-full w-[var(--sidebar-width)] shrink-0 flex-col border-r border-border-secondary bg-primary text-primary", n.class)
39
+ }, u.$attrs), [C(u.$slots, "default")], 16)) : w(r) ? (S(), f(w(o), y({
40
+ key: 1,
41
+ open: w(s)
42
+ }, u.$attrs, { "onUpdate:open": w(c) }), {
43
+ default: T(() => [_(w(a), {
44
+ "data-sidebar": "sidebar",
45
+ "data-mobile": "true",
46
+ side: t.side,
47
+ class: "p-0 w-[var(--sidebar-width)] border-border-secondary bg-primary text-primary [&>button]:hidden",
48
+ style: x({ "--sidebar-width": w(Y) })
49
+ }, {
50
+ default: T(() => [h("div", D, [C(u.$slots, "default")])]),
51
+ _: 3
52
+ }, 8, ["side", "style"])]),
53
+ _: 3
54
+ }, 16, ["open", "onUpdate:open"])) : (S(), m("div", {
55
+ key: 2,
56
+ class: "group peer md:block hidden shrink-0 text-primary",
57
+ "data-state": w(i),
58
+ "data-collapsible": w(i) === "collapsed" ? t.collapsible : "",
59
+ "data-variant": t.variant,
60
+ "data-side": t.side
61
+ }, [h("div", {
62
+ class: "relative h-svh shrink-0 bg-transparent transition-[width] duration-200 ease-linear",
63
+ style: x({ width: l.value })
64
+ }, null, 4), h("div", y({
65
+ class: w(e)("inset-y-0 md:flex fixed z-10 hidden h-svh transition-[left,right,width] duration-200 ease-linear", t.side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]", t.variant === "floating" || t.variant === "inset" ? "p-2" : "border-border-secondary group-data-[side=left]:border-r group-data-[side=right]:border-l", n.class),
66
+ style: { width: l.value }
67
+ }, u.$attrs), [h("div", {
68
+ "data-sidebar": "sidebar",
69
+ class: b(w(e)("flex h-full w-full flex-col border-border-secondary bg-primary text-primary", t.variant === "floating" && "rounded-xl border shadow-sm", t.variant === "inset" && "rounded-xl border shadow-sm"))
70
+ }, [C(u.$slots, "default")], 2)], 16)], 8, O));
71
+ }
72
+ }), A = {
73
+ "data-sidebar": "content",
74
+ class: "min-h-0 flex flex-1 flex-col group-data-[collapsible=icon]:overflow-hidden"
75
+ }, j = /* @__PURE__ */ v({
76
+ __name: "SidebarContent",
77
+ props: { class: { type: [
78
+ Boolean,
79
+ null,
80
+ String,
81
+ Object,
82
+ Array
83
+ ] } },
84
+ setup(t) {
85
+ let n = t;
86
+ return (t, i) => (S(), m("div", A, [_(w(r), { class: "min-h-0 flex-1" }, {
87
+ default: T(() => [h("div", { class: b(w(e)("gap-2 p-2 flex flex-col", n.class)) }, [C(t.$slots, "default")], 2)]),
88
+ _: 3
89
+ })]));
90
+ }
91
+ }), M = /* @__PURE__ */ v({
92
+ __name: "SidebarFooter",
93
+ props: { class: { type: [
94
+ Boolean,
95
+ null,
96
+ String,
97
+ Object,
98
+ Array
99
+ ] } },
100
+ setup(t) {
101
+ let n = t;
102
+ return (t, r) => (S(), m("div", {
103
+ "data-sidebar": "footer",
104
+ class: b(w(e)("gap-2 p-3 flex flex-col border-t border-border-secondary", n.class))
105
+ }, [C(t.$slots, "default")], 2));
106
+ }
107
+ }), N = /* @__PURE__ */ v({
108
+ __name: "SidebarGroup",
109
+ props: { class: { type: [
110
+ Boolean,
111
+ null,
112
+ String,
113
+ Object,
114
+ Array
115
+ ] } },
116
+ setup(t) {
117
+ let n = t;
118
+ return (t, r) => (S(), m("div", {
119
+ "data-sidebar": "group",
120
+ class: b(w(e)("min-w-0 p-2 relative flex w-full flex-col", n.class))
121
+ }, [C(t.$slots, "default")], 2));
122
+ }
123
+ }), P = /* @__PURE__ */ v({
124
+ __name: "SidebarGroupAction",
125
+ props: {
126
+ class: { type: [
127
+ Boolean,
128
+ null,
129
+ String,
130
+ Object,
131
+ Array
132
+ ] },
133
+ asChild: { type: Boolean },
134
+ as: { default: "button" }
135
+ },
136
+ setup(t) {
137
+ let n = t;
138
+ return (r, i) => (S(), f(w(E), {
139
+ "data-sidebar": "group-action",
140
+ as: t.as,
141
+ "as-child": t.asChild,
142
+ class: b(w(e)("right-3 top-3.5 w-5 p-0 [&>svg]:size-4 absolute flex aspect-square cursor-pointer items-center justify-center rounded-md text-tertiary transition-transform outline-none hover:bg-secondary hover:text-primary focus-visible:ring-2 [&>svg]:shrink-0", "group-data-[collapsible=icon]:hidden", n.class))
143
+ }, {
144
+ default: T(() => [C(r.$slots, "default")]),
145
+ _: 3
146
+ }, 8, [
147
+ "as",
148
+ "as-child",
149
+ "class"
150
+ ]));
151
+ }
152
+ }), F = /* @__PURE__ */ v({
153
+ __name: "SidebarGroupContent",
154
+ props: { class: { type: [
155
+ Boolean,
156
+ null,
157
+ String,
158
+ Object,
159
+ Array
160
+ ] } },
161
+ setup(t) {
162
+ let n = t;
163
+ return (t, r) => (S(), m("div", {
164
+ "data-sidebar": "group-content",
165
+ class: b(w(e)("w-full text-sm", n.class))
166
+ }, [C(t.$slots, "default")], 2));
167
+ }
168
+ }), I = /* @__PURE__ */ v({
169
+ __name: "SidebarGroupLabel",
170
+ props: {
171
+ class: { type: [
172
+ Boolean,
173
+ null,
174
+ String,
175
+ Object,
176
+ Array
177
+ ] },
178
+ asChild: { type: Boolean },
179
+ as: { default: "div" }
180
+ },
181
+ setup(t) {
182
+ let n = t;
183
+ return (r, i) => (S(), f(w(E), {
184
+ "data-sidebar": "group-label",
185
+ as: t.as,
186
+ "as-child": t.asChild,
187
+ class: b(w(e)("h-8 px-2 font-semibold tracking-wider [&>svg]:size-4 flex shrink-0 items-center rounded-md text-xs text-tertiary uppercase transition-[margin,opacity] duration-200 ease-linear outline-none focus-visible:ring-2 [&>svg]:shrink-0", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", n.class))
188
+ }, {
189
+ default: T(() => [C(r.$slots, "default")]),
190
+ _: 3
191
+ }, 8, [
192
+ "as",
193
+ "as-child",
194
+ "class"
195
+ ]));
196
+ }
197
+ }), L = /* @__PURE__ */ v({
198
+ __name: "SidebarHeader",
199
+ props: { class: { type: [
200
+ Boolean,
201
+ null,
202
+ String,
203
+ Object,
204
+ Array
205
+ ] } },
206
+ setup(t) {
207
+ let n = t;
208
+ return (t, r) => (S(), m("div", {
209
+ "data-sidebar": "header",
210
+ class: b(w(e)("gap-2 p-3 flex flex-col border-b border-border-secondary", n.class))
211
+ }, [C(t.$slots, "default")], 2));
212
+ }
213
+ }), R = /* @__PURE__ */ v({
214
+ __name: "SidebarInput",
215
+ props: { class: { type: [
216
+ Boolean,
217
+ null,
218
+ String,
219
+ Object,
220
+ Array
221
+ ] } },
222
+ setup(t) {
223
+ let n = t;
224
+ return (t, r) => (S(), f(w(i), {
225
+ "data-sidebar": "input",
226
+ class: b(w(e)("h-8 w-full border-border-secondary bg-primary shadow-none focus-visible:ring-2 focus-visible:ring-brand-500", n.class))
227
+ }, {
228
+ default: T(() => [C(t.$slots, "default")]),
229
+ _: 3
230
+ }, 8, ["class"]));
231
+ }
232
+ }), z = /* @__PURE__ */ v({
233
+ __name: "SidebarInset",
234
+ props: { class: { type: [
235
+ Boolean,
236
+ null,
237
+ String,
238
+ Object,
239
+ Array
240
+ ] } },
241
+ setup(t) {
242
+ let n = t;
243
+ return (t, r) => (S(), m("main", {
244
+ "data-sidebar": "inset",
245
+ class: b(w(e)("min-w-0 relative flex min-h-svh flex-1 flex-col bg-primary", "md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))]", n.class))
246
+ }, [C(t.$slots, "default")], 2));
247
+ }
248
+ }), B = /* @__PURE__ */ v({
249
+ __name: "SidebarMenu",
250
+ props: { class: { type: [
251
+ Boolean,
252
+ null,
253
+ String,
254
+ Object,
255
+ Array
256
+ ] } },
257
+ setup(t) {
258
+ let n = t;
259
+ return (t, r) => (S(), m("ul", {
260
+ "data-sidebar": "menu",
261
+ class: b(w(e)("min-w-0 gap-1 flex w-full flex-col", n.class))
262
+ }, [C(t.$slots, "default")], 2));
263
+ }
264
+ }), V = /* @__PURE__ */ v({
265
+ __name: "SidebarMenuAction",
266
+ props: {
267
+ showOnHover: { type: Boolean },
268
+ class: { type: [
269
+ Boolean,
270
+ null,
271
+ String,
272
+ Object,
273
+ Array
274
+ ] },
275
+ asChild: { type: Boolean },
276
+ as: { default: "button" }
277
+ },
278
+ setup(t) {
279
+ let n = t;
280
+ return (r, i) => (S(), f(w(E), {
281
+ "data-sidebar": "menu-action",
282
+ as: t.as,
283
+ "as-child": t.asChild,
284
+ class: b(w(e)("right-1 top-1.5 w-5 p-0 [&>svg]:size-4 absolute flex aspect-square cursor-pointer items-center justify-center rounded-md text-tertiary transition-transform outline-none hover:bg-secondary hover:text-primary focus-visible:ring-2 [&>svg]:shrink-0", "after:-inset-2 md:after:hidden after:absolute", "peer-data-[size=sm]/menu-button:top-1", "peer-data-[size=default]/menu-button:top-1.5", "peer-data-[size=lg]/menu-button:top-2.5", "group-data-[collapsible=icon]:hidden", t.showOnHover && "md:opacity-0 group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100", n.class))
285
+ }, {
286
+ default: T(() => [C(r.$slots, "default")]),
287
+ _: 3
288
+ }, 8, [
289
+ "as",
290
+ "as-child",
291
+ "class"
292
+ ]));
293
+ }
294
+ }), ce = /* @__PURE__ */ v({
295
+ __name: "SidebarMenuBadge",
296
+ props: { class: { type: [
297
+ Boolean,
298
+ null,
299
+ String,
300
+ Object,
301
+ Array
302
+ ] } },
303
+ setup(t) {
304
+ let n = t;
305
+ return (t, r) => (S(), m("div", {
306
+ "data-sidebar": "menu-badge",
307
+ class: b(w(e)("right-2 h-5 min-w-5 px-1 font-medium pointer-events-none absolute flex items-center justify-center rounded-md bg-secondary text-xs text-secondary tabular-nums select-none", "peer-hover/menu-button:text-primary peer-data-[active=true]/menu-button:bg-brand-100 peer-data-[active=true]/menu-button:text-brand-700", "peer-data-[size=sm]/menu-button:top-1.5", "peer-data-[size=default]/menu-button:top-2", "peer-data-[size=lg]/menu-button:top-3.5", "group-data-[collapsible=icon]:hidden", n.class))
308
+ }, [C(t.$slots, "default")], 2));
309
+ }
310
+ }), H = /* @__PURE__ */ v({
311
+ inheritAttrs: !1,
312
+ __name: "SidebarMenuButton",
313
+ props: {
314
+ variant: { default: "default" },
315
+ size: { default: "default" },
316
+ isActive: { type: Boolean },
317
+ class: { type: [
318
+ Boolean,
319
+ null,
320
+ String,
321
+ Object,
322
+ Array
323
+ ] },
324
+ tooltip: {},
325
+ asChild: { type: Boolean },
326
+ as: { default: "button" }
327
+ },
328
+ setup(t) {
329
+ let n = t, { isMobile: r, state: i } = Z();
330
+ return (a, o) => t.tooltip ? (S(), f(w(c), { key: 1 }, {
331
+ default: T(() => [_(w(s), null, {
332
+ default: T(() => [_(w(u), { "as-child": "" }, {
333
+ default: T(() => [_(w(E), y({
334
+ "data-sidebar": "menu-button",
335
+ "data-size": t.size,
336
+ "data-active": t.isActive,
337
+ class: w(e)(w($)({
338
+ variant: t.variant,
339
+ size: t.size
340
+ }), n.class),
341
+ as: t.as,
342
+ "as-child": t.asChild
343
+ }, a.$attrs), {
344
+ default: T(() => [C(a.$slots, "default")]),
345
+ _: 3
346
+ }, 16, [
347
+ "data-size",
348
+ "data-active",
349
+ "class",
350
+ "as",
351
+ "as-child"
352
+ ])]),
353
+ _: 3
354
+ }), w(i) === "collapsed" && !w(r) ? (S(), f(w(l), {
355
+ key: 0,
356
+ side: "right",
357
+ align: "center"
358
+ }, {
359
+ default: T(() => [g(ne(t.tooltip), 1)]),
360
+ _: 1
361
+ })) : p("", !0)]),
362
+ _: 3
363
+ })]),
364
+ _: 3
365
+ })) : (S(), f(w(E), y({
366
+ key: 0,
367
+ "data-sidebar": "menu-button",
368
+ "data-size": t.size,
369
+ "data-active": t.isActive,
370
+ class: w(e)(w($)({
371
+ variant: t.variant,
372
+ size: t.size
373
+ }), n.class),
374
+ as: t.as,
375
+ "as-child": t.asChild
376
+ }, a.$attrs), {
377
+ default: T(() => [C(a.$slots, "default")]),
378
+ _: 3
379
+ }, 16, [
380
+ "data-size",
381
+ "data-active",
382
+ "class",
383
+ "as",
384
+ "as-child"
385
+ ]));
386
+ }
387
+ }), U = /* @__PURE__ */ v({
388
+ __name: "SidebarMenuItem",
389
+ props: { class: { type: [
390
+ Boolean,
391
+ null,
392
+ String,
393
+ Object,
394
+ Array
395
+ ] } },
396
+ setup(t) {
397
+ let n = t;
398
+ return (t, r) => (S(), m("li", {
399
+ "data-sidebar": "menu-item",
400
+ class: b(w(e)("group/menu-item relative list-none", n.class))
401
+ }, [C(t.$slots, "default")], 2));
402
+ }
403
+ }), W = /* @__PURE__ */ v({
404
+ __name: "SidebarMenuSub",
405
+ props: { class: { type: [
406
+ Boolean,
407
+ null,
408
+ String,
409
+ Object,
410
+ Array
411
+ ] } },
412
+ setup(t) {
413
+ let n = t;
414
+ return (t, r) => (S(), m("ul", {
415
+ "data-sidebar": "menu-sub",
416
+ class: b(w(e)("mx-3.5 min-w-0 gap-1 px-2.5 py-0.5 flex translate-x-px flex-col border-l border-border-secondary", "group-data-[collapsible=icon]:hidden", n.class))
417
+ }, [C(t.$slots, "default")], 2));
418
+ }
419
+ }), G = /* @__PURE__ */ v({
420
+ __name: "SidebarMenuSubButton",
421
+ props: {
422
+ size: { default: "md" },
423
+ isActive: { type: Boolean },
424
+ class: { type: [
425
+ Boolean,
426
+ null,
427
+ String,
428
+ Object,
429
+ Array
430
+ ] },
431
+ asChild: { type: Boolean },
432
+ as: { default: "a" }
433
+ },
434
+ setup(t) {
435
+ let n = t;
436
+ return (r, i) => (S(), f(w(E), {
437
+ "data-sidebar": "menu-sub-button",
438
+ as: t.as,
439
+ "as-child": t.asChild,
440
+ "data-size": t.size,
441
+ "data-active": t.isActive,
442
+ class: b(w(e)("h-7 min-w-0 gap-2 px-2 [&>svg]:size-4 flex -translate-x-px cursor-pointer items-center overflow-hidden rounded-md text-secondary ring-sidebar-ring outline-none hover:bg-secondary hover:text-primary focus-visible:ring-2 active:bg-secondary active:text-primary disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0", "data-[active=true]:font-medium data-[active=true]:bg-brand-50 data-[active=true]:text-brand-700", t.size === "sm" && "text-xs", t.size === "md" && "text-sm", "group-data-[collapsible=icon]:hidden", n.class))
443
+ }, {
444
+ default: T(() => [C(r.$slots, "default")]),
445
+ _: 3
446
+ }, 8, [
447
+ "as",
448
+ "as-child",
449
+ "data-size",
450
+ "data-active",
451
+ "class"
452
+ ]));
453
+ }
454
+ }), le = /* @__PURE__ */ v({
455
+ __name: "SidebarMenuSubItem",
456
+ props: { class: { type: [
457
+ Boolean,
458
+ null,
459
+ String,
460
+ Object,
461
+ Array
462
+ ] } },
463
+ setup(t) {
464
+ let n = t;
465
+ return (t, r) => (S(), m("li", { class: b(w(e)("list-none", n.class)) }, [C(t.$slots, "default")], 2));
466
+ }
467
+ }), ue = /* @__PURE__ */ v({
468
+ __name: "SidebarProvider",
469
+ props: {
470
+ defaultOpen: {
471
+ type: Boolean,
472
+ default: !0
473
+ },
474
+ open: {
475
+ type: Boolean,
476
+ default: void 0
477
+ },
478
+ class: { type: [
479
+ Boolean,
480
+ null,
481
+ String,
482
+ Object,
483
+ Array
484
+ ] }
485
+ },
486
+ emits: ["update:open"],
487
+ setup(t, { emit: n }) {
488
+ let r = t, i = n, a = ae("(max-width: 768px)"), o = te(!1), s = oe(r, "open", i, {
489
+ defaultValue: r.defaultOpen,
490
+ passive: r.open === void 0
491
+ });
492
+ function c(e) {
493
+ s.value = e, document.cookie = `${K}=${e}; path=/; max-age=${q}`;
494
+ }
495
+ function l(e) {
496
+ o.value = e;
497
+ }
498
+ function u() {
499
+ return a.value ? l(!o.value) : c(!s.value);
500
+ }
501
+ return ie("keydown", (e) => {
502
+ e.key === "b" && (e.metaKey || e.ctrlKey) && (e.preventDefault(), u());
503
+ }), Q({
504
+ state: d(() => s.value ? "expanded" : "collapsed"),
505
+ open: s,
506
+ setOpen: c,
507
+ isMobile: a,
508
+ openMobile: o,
509
+ setOpenMobile: l,
510
+ toggleSidebar: u
511
+ }), (t, n) => (S(), m("div", {
512
+ style: x({
513
+ "--sidebar-width": w(J),
514
+ "--sidebar-width-icon": w(X)
515
+ }),
516
+ class: b(w(e)("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar", r.class))
517
+ }, [C(t.$slots, "default")], 6));
518
+ }
519
+ }), de = /* @__PURE__ */ v({
520
+ __name: "SidebarRail",
521
+ props: { class: { type: [
522
+ Boolean,
523
+ null,
524
+ String,
525
+ Object,
526
+ Array
527
+ ] } },
528
+ setup(t) {
529
+ let n = t, { toggleSidebar: r } = Z();
530
+ return (t, i) => (S(), m("button", {
531
+ "data-sidebar": "rail",
532
+ "aria-label": "Toggle Sidebar",
533
+ tabindex: -1,
534
+ title: "Toggle Sidebar",
535
+ class: b(w(e)("inset-y-0 w-4 after:inset-y-0 group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex absolute z-20 hidden -translate-x-1/2 cursor-pointer transition-all ease-linear after:absolute after:left-1/2 after:w-[2px] hover:after:bg-border-secondary", "[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar", "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2", n.class)),
536
+ onClick: i[0] ||= (...e) => w(r) && w(r)(...e)
537
+ }, null, 2));
538
+ }
539
+ }), fe = /* @__PURE__ */ v({
540
+ __name: "SidebarSeparator",
541
+ props: { class: { type: [
542
+ Boolean,
543
+ null,
544
+ String,
545
+ Object,
546
+ Array
547
+ ] } },
548
+ setup(t) {
549
+ let r = t;
550
+ return (t, i) => (S(), f(w(n), {
551
+ "data-sidebar": "separator",
552
+ class: b(w(e)("mx-2 w-auto bg-border-secondary", r.class))
553
+ }, null, 8, ["class"]));
554
+ }
555
+ }), pe = /* @__PURE__ */ v({
556
+ __name: "SidebarTrigger",
557
+ props: { class: { type: [
558
+ Boolean,
559
+ null,
560
+ String,
561
+ Object,
562
+ Array
563
+ ] } },
564
+ setup(n) {
565
+ let r = n, { toggleSidebar: i } = Z();
566
+ return (n, a) => (S(), f(w(t), {
567
+ "data-sidebar": "trigger",
568
+ variant: "ghost",
569
+ size: "icon-sm",
570
+ class: b(w(e)("h-8 w-8 cursor-pointer text-secondary hover:bg-secondary hover:text-primary", r.class)),
571
+ onClick: w(i)
572
+ }, {
573
+ default: T(() => [_(w(se), { class: "h-4 w-4" }), a[0] ||= h("span", { class: "sr-only" }, "Toggle Sidebar", -1)]),
574
+ _: 1
575
+ }, 8, ["class", "onClick"]));
576
+ }
577
+ }), K = "sidebar_state", q = 604800, J = "16rem", Y = "18rem", X = "4.5rem", me = "b", [Z, Q] = re("Sidebar"), $ = ee("peer/menu-button gap-2 p-2 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 data-[active=true]:font-medium group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:gap-0 [&>svg]:size-4 flex w-full cursor-pointer items-center overflow-hidden rounded-lg text-left text-sm ring-sidebar-ring transition-[width,height,padding] outline-none select-none group-data-[collapsible=icon]:mx-auto group-data-[collapsible=icon]:justify-center hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate group-data-[collapsible=icon]:[&>span:last-child]:hidden [&>svg]:shrink-0", {
578
+ variants: {
579
+ variant: {
580
+ default: "hover:bg-secondary hover:text-primary data-[active=true]:bg-brand-50 data-[active=true]:text-brand-700 data-[active=true]:dark:bg-brand-950/50 data-[active=true]:dark:text-brand-300",
581
+ outline: "border border-border-secondary bg-primary shadow-xs hover:bg-secondary hover:text-primary data-[active=true]:border-brand-500 data-[active=true]:text-brand-700"
582
+ },
583
+ size: {
584
+ default: "h-9 text-sm",
585
+ sm: "h-8 text-xs",
586
+ lg: "h-12 group-data-[collapsible=icon]:!size-8 text-sm"
587
+ }
588
+ },
589
+ defaultVariants: {
590
+ variant: "default",
591
+ size: "default"
592
+ }
593
+ });
594
+ //#endregion
595
+ export { q as SIDEBAR_COOKIE_MAX_AGE, K as SIDEBAR_COOKIE_NAME, me as SIDEBAR_KEYBOARD_SHORTCUT, J as SIDEBAR_WIDTH, X as SIDEBAR_WIDTH_ICON, Y as SIDEBAR_WIDTH_MOBILE, k as Sidebar, j as SidebarContent, M as SidebarFooter, N as SidebarGroup, P as SidebarGroupAction, F as SidebarGroupContent, I as SidebarGroupLabel, L as SidebarHeader, R as SidebarInput, z as SidebarInset, B as SidebarMenu, V as SidebarMenuAction, ce as SidebarMenuBadge, H as SidebarMenuButton, U as SidebarMenuItem, W as SidebarMenuSub, G as SidebarMenuSubButton, le as SidebarMenuSubItem, ue as SidebarProvider, de as SidebarRail, fe as SidebarSeparator, pe as SidebarTrigger, Q as provideSidebarContext, $ as sidebarMenuButtonVariants, Z as useSidebar };
@@ -0,0 +1,4 @@
1
+ import { ToasterProps } from 'vue-sonner';
2
+ declare const __VLS_export: import('vue').DefineComponent<ToasterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ToasterProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Toaster } from './Sonner.vue';
@@ -0,0 +1,59 @@
1
+ import { createBlock as e, createElementVNode as t, createVNode as n, defineComponent as r, mergeProps as i, openBlock as a, unref as o, withCtx as s } from "vue";
2
+ import { reactiveOmit as c } from "@vueuse/core";
3
+ import { CircleCheckIcon as l, InfoIcon as u, Loader2Icon as d, OctagonXIcon as f, TriangleAlertIcon as p, XIcon as m } from "lucide-vue-next";
4
+ import { Toaster as h } from "vue-sonner";
5
+ import "vue-sonner/style.css";
6
+ //#endregion
7
+ //#region src/sonner/Sonner.vue
8
+ var g = /* @__PURE__ */ r({
9
+ __name: "Sonner",
10
+ props: {
11
+ id: {},
12
+ invert: { type: Boolean },
13
+ theme: {},
14
+ position: {},
15
+ closeButtonPosition: {},
16
+ hotkey: {},
17
+ richColors: { type: Boolean },
18
+ expand: { type: Boolean },
19
+ duration: {},
20
+ gap: {},
21
+ visibleToasts: {},
22
+ closeButton: { type: Boolean },
23
+ toastOptions: {},
24
+ class: {},
25
+ style: {},
26
+ offset: {},
27
+ mobileOffset: {},
28
+ dir: {},
29
+ swipeDirections: {},
30
+ icons: {},
31
+ containerAriaLabel: {}
32
+ },
33
+ setup(r) {
34
+ let g = c(r, "toastOptions");
35
+ return (r, c) => (a(), e(o(h), i({
36
+ class: "toaster group",
37
+ "toast-options": { classes: {
38
+ toast: "group toast group-[.toaster]:bg-white dark:group-[.toaster]:bg-gray-900 group-[.toaster]:text-gray-900 dark:group-[.toaster]:text-white group-[.toaster]:border-gray-200 dark:group-[.toaster]:border-gray-800 group-[.toaster]:shadow-xl group-[.toaster]:rounded-xl group-[.toaster]:p-4 group-[.toaster]:border",
39
+ description: "group-[.toast]:text-gray-500 dark:group-[.toast]:text-gray-400 group-[.toast]:text-xs",
40
+ actionButton: "group-[.toast]:bg-brand-600 group-[.toast]:text-white group-[.toast]:rounded-lg group-[.toast]:px-3 group-[.toast]:py-1.5 group-[.toast]:text-xs group-[.toast]:font-medium hover:group-[.toast]:bg-brand-700",
41
+ cancelButton: "group-[.toast]:bg-gray-100 dark:group-[.toast]:bg-gray-800 group-[.toast]:text-gray-700 dark:group-[.toast]:text-gray-200 group-[.toast]:rounded-lg group-[.toast]:px-3 group-[.toast]:py-1.5 group-[.toast]:text-xs",
42
+ success: "group-[.toaster]:!bg-utility-green-50 dark:group-[.toaster]:!bg-utility-green-950 group-[.toaster]:!text-utility-green-700 dark:group-[.toaster]:!text-utility-green-300 group-[.toaster]:!border-utility-green-200 dark:group-[.toaster]:!border-utility-green-800",
43
+ error: "group-[.toaster]:!bg-utility-red-50 dark:group-[.toaster]:!bg-utility-red-950 group-[.toaster]:!text-utility-red-700 dark:group-[.toaster]:!text-utility-red-300 group-[.toaster]:!border-utility-red-200 dark:group-[.toaster]:!border-utility-red-800",
44
+ warning: "group-[.toaster]:!bg-utility-orange-50 dark:group-[.toaster]:!bg-utility-orange-950 group-[.toaster]:!text-utility-orange-700 dark:group-[.toaster]:!text-utility-orange-300 group-[.toaster]:!border-utility-orange-200 dark:group-[.toaster]:!border-utility-orange-800",
45
+ info: "group-[.toaster]:!bg-utility-blue-50 group-[.toaster]:!text-utility-blue-700 group-[.toaster]:!border-utility-blue-200"
46
+ } }
47
+ }, o(g)), {
48
+ "success-icon": s(() => [n(o(l), { class: "size-4 text-emerald-500" })]),
49
+ "info-icon": s(() => [n(o(u), { class: "size-4 text-blue-500" })]),
50
+ "warning-icon": s(() => [n(o(p), { class: "size-4 text-amber-500" })]),
51
+ "error-icon": s(() => [n(o(f), { class: "size-4 text-rose-500" })]),
52
+ "loading-icon": s(() => [t("div", null, [n(o(d), { class: "size-4 animate-spin text-brand-600" })])]),
53
+ "close-icon": s(() => [n(o(m), { class: "size-4 text-gray-400 hover:text-gray-600" })]),
54
+ _: 1
55
+ }, 16));
56
+ }
57
+ });
58
+ //#endregion
59
+ export { g as Toaster };
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ /**
3
+ * Horizontal step indicator for multi-step forms. `current` is 0-based; steps
4
+ * before it show a check and can be clicked to jump back.
5
+ */
6
+ type __VLS_Props = {
7
+ steps: readonly string[];
8
+ current: number;
9
+ class?: HTMLAttributes["class"];
10
+ };
11
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ select: (index: number) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onSelect?: ((index: number) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Stepper } from './Stepper.vue';