@brumaombra/ui-vintage 0.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 (297) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +78 -0
  3. package/dist/AlertDialogTitle.vue_vue_type_script_setup_true_lang-CWCr2erD.js +360 -0
  4. package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-vNwxOYhM.js +158 -0
  5. package/dist/BackgroundGrid-Cxvbtefm.js +13 -0
  6. package/dist/Busy-B65Nd9ec.js +62 -0
  7. package/dist/BusyIndicator-CnWzSMDb.js +4 -0
  8. package/dist/BusyIndicator.vue_vue_type_script_setup_true_lang-CYeXMI_V.js +66 -0
  9. package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-C-WnFnvj.js +3805 -0
  10. package/dist/Card.vue_vue_type_script_setup_true_lang-6ol3rxy1.js +27 -0
  11. package/dist/CardTitle.vue_vue_type_script_setup_true_lang-DVAd7AWF.js +112 -0
  12. package/dist/Collection-CmOoLBo7.js +76 -0
  13. package/dist/ConfigProvider-D2O0Jles.js +6 -0
  14. package/dist/ConfirmDialog-DEsvF0b_.js +4 -0
  15. package/dist/ConfirmDialog.vue_vue_type_script_setup_true_lang-BAd1l1zF.js +230 -0
  16. package/dist/DashboardShell.vue_vue_type_script_setup_true_lang-CT2SQBXv.js +171 -0
  17. package/dist/DatePicker.vue_vue_type_script_setup_true_lang-D8mev2ha.js +92 -0
  18. package/dist/DialogClose-BNlqG4G2.js +36 -0
  19. package/dist/DialogTitle-DXj0nkXn.js +522 -0
  20. package/dist/DialogTitle.vue_vue_type_script_setup_true_lang-Bw40D4AK.js +174 -0
  21. package/dist/DialogTrigger-CpyKnu11.js +52 -0
  22. package/dist/DialogTrigger.vue_vue_type_script_setup_true_lang-DLrFiCsw.js +141 -0
  23. package/dist/FocusScope-C3mcVwsf.js +454 -0
  24. package/dist/Input.vue_vue_type_script_setup_true_lang-U778IWa0.js +37 -0
  25. package/dist/Label.vue_vue_type_script_setup_true_lang-B_fwvfJ-.js +65 -0
  26. package/dist/MessageDialog-BrowppID.js +4 -0
  27. package/dist/MessageDialog.vue_vue_type_script_setup_true_lang-Ddih5Isd.js +242 -0
  28. package/dist/NativeSelectOption.vue_vue_type_script_setup_true_lang-DS87OTLT.js +73 -0
  29. package/dist/PopoverAnchor.vue_vue_type_script_setup_true_lang-CsfybvZp.js +61 -0
  30. package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-KTcg6Jnl.js +798 -0
  31. package/dist/PopperContent-BiM0YLO3.js +2144 -0
  32. package/dist/Primitive-D3IcFg81.js +61 -0
  33. package/dist/SelectValue.vue_vue_type_script_setup_true_lang-DGAI4hw5.js +2124 -0
  34. package/dist/Separator-CFm_M4pb.js +87 -0
  35. package/dist/Separator.vue_vue_type_script_setup_true_lang-COrZ60NR.js +29 -0
  36. package/dist/SheetTitle.vue_vue_type_script_setup_true_lang-DLoXGMbx.js +175 -0
  37. package/dist/SheetTrigger.vue_vue_type_script_setup_true_lang-CE2XJNHy.js +62 -0
  38. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js +20 -0
  39. package/dist/Slider.vue_vue_type_script_setup_true_lang-D-cAN-4Q.js +802 -0
  40. package/dist/SliderFormComponent.vue_vue_type_script_setup_true_lang-KPzC_Lmr.js +59 -0
  41. package/dist/Switch.vue_vue_type_script_setup_true_lang-BWKCycMm.js +226 -0
  42. package/dist/SwitchFormComponent.vue_vue_type_script_setup_true_lang-XOBEs3pa.js +39 -0
  43. package/dist/Teleport-CuUn4UkG.js +493 -0
  44. package/dist/TooltipProvider.vue_vue_type_script_setup_true_lang-DwIfCQjY.js +28 -0
  45. package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-BRyHTWgw.js +1117 -0
  46. package/dist/VisuallyHidden-udQT2Fmo.js +60 -0
  47. package/dist/VisuallyHiddenInput-DLAsRwUw.js +142 -0
  48. package/dist/_plugin-vue_export-helper-1tPrXgE0.js +10 -0
  49. package/dist/alert-dialog.d.ts +2 -0
  50. package/dist/alert-dialog.js +13 -0
  51. package/dist/alert.d.ts +2 -0
  52. package/dist/alert.js +76 -0
  53. package/dist/background-grid.d.ts +6 -0
  54. package/dist/background-grid.js +5 -0
  55. package/dist/busy-indicator.d.ts +2 -0
  56. package/dist/busy-indicator.js +6 -0
  57. package/dist/busy.d.ts +2 -0
  58. package/dist/busy.js +4 -0
  59. package/dist/button.d.ts +2 -0
  60. package/dist/button.js +63 -0
  61. package/dist/calendar.d.ts +2 -0
  62. package/dist/calendar.js +15 -0
  63. package/dist/card.d.ts +2 -0
  64. package/dist/card.js +11 -0
  65. package/dist/check-iejznCzf.js +11 -0
  66. package/dist/chevron-down-DP-oz-sL.js +13 -0
  67. package/dist/clamp-D5Ye0kJT.js +6 -0
  68. package/dist/command.d.ts +2 -0
  69. package/dist/command.js +1122 -0
  70. package/dist/components/background-grid/BackgroundGrid.vue.d.ts +2 -0
  71. package/dist/components/background-grid/index.d.ts +2 -0
  72. package/dist/components/busy-indicator/BusyIndicator.vue.d.ts +2 -0
  73. package/dist/components/busy-indicator/busy-indicator-state.d.ts +15 -0
  74. package/dist/components/busy-indicator/index.d.ts +3 -0
  75. package/dist/components/confirm-dialog/ConfirmDialog.vue.d.ts +2 -0
  76. package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +37 -0
  77. package/dist/components/confirm-dialog/index.d.ts +3 -0
  78. package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +54 -0
  79. package/dist/components/dashboard-shell/index.d.ts +2 -0
  80. package/dist/components/message-dialog/MessageDialog.vue.d.ts +2 -0
  81. package/dist/components/message-dialog/index.d.ts +3 -0
  82. package/dist/components/message-dialog/message-dialog-state.d.ts +28 -0
  83. package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +23 -0
  84. package/dist/components/slider-form-component/index.d.ts +2 -0
  85. package/dist/components/switch-form-component/SwitchFormComponent.vue.d.ts +12 -0
  86. package/dist/components/switch-form-component/index.d.ts +2 -0
  87. package/dist/components/ui/alert/Alert.vue.d.ts +23 -0
  88. package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
  89. package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
  90. package/dist/components/ui/alert/index.d.ts +8 -0
  91. package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +25 -0
  92. package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +22 -0
  93. package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +22 -0
  94. package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +36 -0
  95. package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +22 -0
  96. package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +21 -0
  97. package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +21 -0
  98. package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +22 -0
  99. package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +18 -0
  100. package/dist/components/ui/alert-dialog/index.d.ts +9 -0
  101. package/dist/components/ui/busy/Busy.vue.d.ts +27 -0
  102. package/dist/components/ui/busy/index.d.ts +1 -0
  103. package/dist/components/ui/button/Button.vue.d.ts +27 -0
  104. package/dist/components/ui/button/index.d.ts +7 -0
  105. package/dist/components/ui/calendar/Calendar.vue.d.ts +44 -0
  106. package/dist/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
  107. package/dist/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
  108. package/dist/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
  109. package/dist/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
  110. package/dist/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
  111. package/dist/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
  112. package/dist/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
  113. package/dist/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
  114. package/dist/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
  115. package/dist/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
  116. package/dist/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
  117. package/dist/components/ui/calendar/index.d.ts +13 -0
  118. package/dist/components/ui/card/Card.vue.d.ts +21 -0
  119. package/dist/components/ui/card/CardAction.vue.d.ts +21 -0
  120. package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
  121. package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
  122. package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
  123. package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
  124. package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
  125. package/dist/components/ui/card/index.d.ts +7 -0
  126. package/dist/components/ui/command/Command.vue.d.ts +40 -0
  127. package/dist/components/ui/command/CommandDialog.vue.d.ts +32 -0
  128. package/dist/components/ui/command/CommandEmpty.vue.d.ts +22 -0
  129. package/dist/components/ui/command/CommandGroup.vue.d.ts +23 -0
  130. package/dist/components/ui/command/CommandInput.vue.d.ts +7 -0
  131. package/dist/components/ui/command/CommandItem.vue.d.ts +30 -0
  132. package/dist/components/ui/command/CommandList.vue.d.ts +22 -0
  133. package/dist/components/ui/command/CommandSeparator.vue.d.ts +22 -0
  134. package/dist/components/ui/command/CommandShortcut.vue.d.ts +21 -0
  135. package/dist/components/ui/command/index.d.ts +90 -0
  136. package/dist/components/ui/date-picker/DatePicker.vue.d.ts +19 -0
  137. package/dist/components/ui/date-picker/index.d.ts +2 -0
  138. package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
  139. package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
  140. package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
  141. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
  142. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +24 -0
  143. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
  144. package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
  145. package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
  146. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
  147. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
  148. package/dist/components/ui/dialog/index.d.ts +10 -0
  149. package/dist/components/ui/field/Field.vue.d.ts +23 -0
  150. package/dist/components/ui/field/FieldContent.vue.d.ts +21 -0
  151. package/dist/components/ui/field/FieldDescription.vue.d.ts +21 -0
  152. package/dist/components/ui/field/FieldError.vue.d.ts +24 -0
  153. package/dist/components/ui/field/FieldGroup.vue.d.ts +21 -0
  154. package/dist/components/ui/field/FieldLabel.vue.d.ts +21 -0
  155. package/dist/components/ui/field/FieldLegend.vue.d.ts +22 -0
  156. package/dist/components/ui/field/FieldSeparator.vue.d.ts +21 -0
  157. package/dist/components/ui/field/FieldSet.vue.d.ts +21 -0
  158. package/dist/components/ui/field/FieldTitle.vue.d.ts +21 -0
  159. package/dist/components/ui/field/index.d.ts +15 -0
  160. package/dist/components/ui/input/Input.vue.d.ts +12 -0
  161. package/dist/components/ui/input/index.d.ts +1 -0
  162. package/dist/components/ui/label/Label.vue.d.ts +22 -0
  163. package/dist/components/ui/label/index.d.ts +1 -0
  164. package/dist/components/ui/native-select/NativeSelect.vue.d.ts +27 -0
  165. package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +21 -0
  166. package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +21 -0
  167. package/dist/components/ui/native-select/index.d.ts +3 -0
  168. package/dist/components/ui/popover/Popover.vue.d.ts +25 -0
  169. package/dist/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
  170. package/dist/components/ui/popover/PopoverContent.vue.d.ts +39 -0
  171. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
  172. package/dist/components/ui/popover/index.d.ts +4 -0
  173. package/dist/components/ui/select/Select.vue.d.ts +28 -0
  174. package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
  175. package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
  176. package/dist/components/ui/select/SelectItem.vue.d.ts +24 -0
  177. package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
  178. package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
  179. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
  180. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
  181. package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  182. package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
  183. package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
  184. package/dist/components/ui/select/index.d.ts +11 -0
  185. package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
  186. package/dist/components/ui/separator/index.d.ts +1 -0
  187. package/dist/components/ui/sheet/Sheet.vue.d.ts +25 -0
  188. package/dist/components/ui/sheet/SheetClose.vue.d.ts +18 -0
  189. package/dist/components/ui/sheet/SheetContent.vue.d.ts +39 -0
  190. package/dist/components/ui/sheet/SheetDescription.vue.d.ts +22 -0
  191. package/dist/components/ui/sheet/SheetFooter.vue.d.ts +21 -0
  192. package/dist/components/ui/sheet/SheetHeader.vue.d.ts +21 -0
  193. package/dist/components/ui/sheet/SheetOverlay.vue.d.ts +22 -0
  194. package/dist/components/ui/sheet/SheetTitle.vue.d.ts +22 -0
  195. package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +18 -0
  196. package/dist/components/ui/sheet/index.d.ts +8 -0
  197. package/dist/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
  198. package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
  199. package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
  200. package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
  201. package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +22 -0
  202. package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
  203. package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
  204. package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
  205. package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +21 -0
  206. package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
  207. package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
  208. package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
  209. package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
  210. package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +27 -0
  211. package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
  212. package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
  213. package/dist/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
  214. package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
  215. package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
  216. package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
  217. package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +30 -0
  218. package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
  219. package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +21 -0
  220. package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
  221. package/dist/components/ui/sidebar/index.d.ts +37 -0
  222. package/dist/components/ui/sidebar/utils.d.ts +56 -0
  223. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
  224. package/dist/components/ui/skeleton/index.d.ts +1 -0
  225. package/dist/components/ui/slider/Slider.vue.d.ts +13 -0
  226. package/dist/components/ui/slider/index.d.ts +1 -0
  227. package/dist/components/ui/switch/Switch.vue.d.ts +29 -0
  228. package/dist/components/ui/switch/index.d.ts +1 -0
  229. package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
  230. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
  231. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
  232. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
  233. package/dist/components/ui/tooltip/index.d.ts +4 -0
  234. package/dist/confirm-dialog.d.ts +2 -0
  235. package/dist/confirm-dialog.js +9 -0
  236. package/dist/createLucideIcon-CCMB2vDW.js +130 -0
  237. package/dist/dashboard-shell.d.ts +6 -0
  238. package/dist/dashboard-shell.js +5 -0
  239. package/dist/date-picker.d.ts +6 -0
  240. package/dist/date-picker.js +5 -0
  241. package/dist/dialog.d.ts +2 -0
  242. package/dist/dialog.js +14 -0
  243. package/dist/field.d.ts +2 -0
  244. package/dist/field.js +294 -0
  245. package/dist/index-C1_fxYhb.js +251 -0
  246. package/dist/index-Dfi5ESP2.js +299 -0
  247. package/dist/index-FpH8cK6B.js +44 -0
  248. package/dist/index.d.ts +28 -0
  249. package/dist/index.js +171 -0
  250. package/dist/info-DZrSmi42.js +15 -0
  251. package/dist/input.d.ts +2 -0
  252. package/dist/input.js +4 -0
  253. package/dist/label.d.ts +2 -0
  254. package/dist/label.js +4 -0
  255. package/dist/lib/utils.d.ts +2 -0
  256. package/dist/message-dialog.d.ts +2 -0
  257. package/dist/message-dialog.js +8 -0
  258. package/dist/native-select.d.ts +2 -0
  259. package/dist/native-select.js +25 -0
  260. package/dist/popover.d.ts +2 -0
  261. package/dist/popover.js +8 -0
  262. package/dist/select.d.ts +2 -0
  263. package/dist/select.js +14 -0
  264. package/dist/separator.d.ts +2 -0
  265. package/dist/separator.js +4 -0
  266. package/dist/sheet.d.ts +2 -0
  267. package/dist/sheet.js +12 -0
  268. package/dist/sidebar.d.ts +2 -0
  269. package/dist/sidebar.js +813 -0
  270. package/dist/skeleton.d.ts +2 -0
  271. package/dist/skeleton.js +4 -0
  272. package/dist/slider-form-component.d.ts +6 -0
  273. package/dist/slider-form-component.js +5 -0
  274. package/dist/slider.d.ts +2 -0
  275. package/dist/slider.js +4 -0
  276. package/dist/style.css +4021 -0
  277. package/dist/switch-form-component.d.ts +6 -0
  278. package/dist/switch-form-component.js +5 -0
  279. package/dist/switch.d.ts +2 -0
  280. package/dist/switch.js +4 -0
  281. package/dist/tooltip.d.ts +2 -0
  282. package/dist/tooltip.js +8 -0
  283. package/dist/useDirection-SIyEYNxv.js +12 -0
  284. package/dist/useFocusGuards-tgErlvMF.js +29 -0
  285. package/dist/useFormControl-7ytzz-r7.js +11 -0
  286. package/dist/useForwardExpose-CNVHwdF2.js +58 -0
  287. package/dist/useForwardPropsEmits-DmumnZO5.js +63 -0
  288. package/dist/useKbd-JjFOu4f7.js +41 -0
  289. package/dist/usePrimitiveElement-CijaRBgF.js +16 -0
  290. package/dist/useSize-DO9Z3wC4.js +51 -0
  291. package/dist/useTypeahead-Dqe1QXq1.js +159 -0
  292. package/dist/utils-Bz4m9VPB.js +3192 -0
  293. package/dist/utils-RRmyeqLm.js +16 -0
  294. package/dist/utils.d.ts +2 -0
  295. package/dist/utils.js +4 -0
  296. package/dist/x-2_VzbDS9.js +48 -0
  297. package/package.json +186 -0
@@ -0,0 +1,174 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps, createVNode, createElementVNode, createCommentVNode, createElementBlock, normalizeClass } from "vue";
2
+ import { u as useForwardPropsEmits, a as useForwardProps } from "./useForwardPropsEmits-DmumnZO5.js";
3
+ import { b as DialogRoot_default, D as DialogOverlay_default, a as DialogContent_default, c as DialogDescription_default, d as DialogTitle_default } from "./DialogTitle-DXj0nkXn.js";
4
+ import { D as DialogClose_default } from "./DialogClose-BNlqG4G2.js";
5
+ import { D as DialogPortal_default, X } from "./x-2_VzbDS9.js";
6
+ import { c as cn } from "./utils-Bz4m9VPB.js";
7
+ import { r as reactiveOmit } from "./index-Dfi5ESP2.js";
8
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
9
+ __name: "Dialog",
10
+ props: {
11
+ open: { type: Boolean },
12
+ defaultOpen: { type: Boolean },
13
+ modal: { type: Boolean }
14
+ },
15
+ emits: ["update:open"],
16
+ setup(__props, { emit: __emit }) {
17
+ const props = __props;
18
+ const emits = __emit;
19
+ const forwarded = useForwardPropsEmits(props, emits);
20
+ return (_ctx, _cache) => {
21
+ return openBlock(), createBlock(unref(DialogRoot_default), mergeProps({ "data-slot": "dialog" }, unref(forwarded)), {
22
+ default: withCtx((slotProps) => [
23
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))
24
+ ]),
25
+ _: 3
26
+ }, 16);
27
+ };
28
+ }
29
+ });
30
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
31
+ __name: "DialogOverlay",
32
+ props: {
33
+ forceMount: { type: Boolean },
34
+ asChild: { type: Boolean },
35
+ as: {},
36
+ class: {}
37
+ },
38
+ setup(__props) {
39
+ const props = __props;
40
+ const delegatedProps = reactiveOmit(props, "class");
41
+ return (_ctx, _cache) => {
42
+ return openBlock(), createBlock(unref(DialogOverlay_default), mergeProps({ "data-slot": "dialog-overlay" }, unref(delegatedProps), {
43
+ class: unref(cn)("fixed inset-0 z-50 bg-black/45 backdrop-blur-[2px] transition-[opacity,backdrop-filter] ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", props.class)
44
+ }), {
45
+ default: withCtx(() => [
46
+ renderSlot(_ctx.$slots, "default")
47
+ ]),
48
+ _: 3
49
+ }, 16, ["class"]);
50
+ };
51
+ }
52
+ });
53
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54
+ ...{
55
+ inheritAttrs: false
56
+ },
57
+ __name: "DialogContent",
58
+ props: {
59
+ forceMount: { type: Boolean },
60
+ disableOutsidePointerEvents: { type: Boolean },
61
+ asChild: { type: Boolean },
62
+ as: {},
63
+ class: {},
64
+ showCloseButton: { type: Boolean, default: true }
65
+ },
66
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
67
+ setup(__props, { emit: __emit }) {
68
+ const props = __props;
69
+ const emits = __emit;
70
+ const delegatedProps = reactiveOmit(props, "class");
71
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
72
+ return (_ctx, _cache) => {
73
+ return openBlock(), createBlock(unref(DialogPortal_default), null, {
74
+ default: withCtx(() => [
75
+ createVNode(_sfc_main$4),
76
+ createVNode(unref(DialogContent_default), mergeProps({ "data-slot": "dialog-content" }, { ..._ctx.$attrs, ...unref(forwarded) }, {
77
+ class: unref(cn)(
78
+ "bg-card text-card-foreground 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 fixed top-[50%] left-[50%] z-50 grid w-[95%] max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-0 overflow-hidden rounded border border-border shadow-2xl duration-200 sm:max-w-lg",
79
+ props.class
80
+ )
81
+ }), {
82
+ default: withCtx(() => [
83
+ renderSlot(_ctx.$slots, "default"),
84
+ _ctx.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
85
+ key: 0,
86
+ "data-slot": "dialog-close",
87
+ class: "ring-offset-background focus:ring-ring absolute top-4 right-4 rounded border border-border bg-card p-1 text-muted-foreground opacity-80 transition-all duration-200 hover:bg-accent hover:text-foreground hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
88
+ }, {
89
+ default: withCtx(() => [
90
+ createVNode(unref(X)),
91
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
92
+ ]),
93
+ _: 1
94
+ })) : createCommentVNode("", true)
95
+ ]),
96
+ _: 3
97
+ }, 16, ["class"])
98
+ ]),
99
+ _: 3
100
+ });
101
+ };
102
+ }
103
+ });
104
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
105
+ __name: "DialogDescription",
106
+ props: {
107
+ asChild: { type: Boolean },
108
+ as: {},
109
+ class: {}
110
+ },
111
+ setup(__props) {
112
+ const props = __props;
113
+ const delegatedProps = reactiveOmit(props, "class");
114
+ const forwardedProps = useForwardProps(delegatedProps);
115
+ return (_ctx, _cache) => {
116
+ return openBlock(), createBlock(unref(DialogDescription_default), mergeProps({ "data-slot": "dialog-description" }, unref(forwardedProps), {
117
+ class: unref(cn)("text-sm leading-6 text-muted-foreground", props.class)
118
+ }), {
119
+ default: withCtx(() => [
120
+ renderSlot(_ctx.$slots, "default")
121
+ ]),
122
+ _: 3
123
+ }, 16, ["class"]);
124
+ };
125
+ }
126
+ });
127
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
128
+ __name: "DialogHeader",
129
+ props: {
130
+ class: {}
131
+ },
132
+ setup(__props) {
133
+ const props = __props;
134
+ return (_ctx, _cache) => {
135
+ return openBlock(), createElementBlock("div", {
136
+ "data-slot": "dialog-header",
137
+ class: normalizeClass(unref(cn)("flex flex-col gap-1.5 text-center sm:text-left", props.class))
138
+ }, [
139
+ renderSlot(_ctx.$slots, "default")
140
+ ], 2);
141
+ };
142
+ }
143
+ });
144
+ const _sfc_main = /* @__PURE__ */ defineComponent({
145
+ __name: "DialogTitle",
146
+ props: {
147
+ asChild: { type: Boolean },
148
+ as: {},
149
+ class: {}
150
+ },
151
+ setup(__props) {
152
+ const props = __props;
153
+ const delegatedProps = reactiveOmit(props, "class");
154
+ const forwardedProps = useForwardProps(delegatedProps);
155
+ return (_ctx, _cache) => {
156
+ return openBlock(), createBlock(unref(DialogTitle_default), mergeProps({ "data-slot": "dialog-title" }, unref(forwardedProps), {
157
+ class: unref(cn)("text-base font-semibold", props.class)
158
+ }), {
159
+ default: withCtx(() => [
160
+ renderSlot(_ctx.$slots, "default")
161
+ ]),
162
+ _: 3
163
+ }, 16, ["class"]);
164
+ };
165
+ }
166
+ });
167
+ export {
168
+ _sfc_main$5 as _,
169
+ _sfc_main$3 as a,
170
+ _sfc_main$2 as b,
171
+ _sfc_main$1 as c,
172
+ _sfc_main$4 as d,
173
+ _sfc_main as e
174
+ };
@@ -0,0 +1,52 @@
1
+ import { u as useForwardExpose } from "./useForwardExpose-CNVHwdF2.js";
2
+ import { u as useId } from "./Teleport-CuUn4UkG.js";
3
+ import { P as Primitive } from "./Primitive-D3IcFg81.js";
4
+ import { i as injectDialogRootContext } from "./DialogTitle-DXj0nkXn.js";
5
+ import { defineComponent, onMounted, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
6
+ var DialogTrigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
7
+ __name: "DialogTrigger",
8
+ props: {
9
+ asChild: {
10
+ type: Boolean,
11
+ required: false
12
+ },
13
+ as: {
14
+ type: null,
15
+ required: false,
16
+ default: "button"
17
+ }
18
+ },
19
+ setup(__props) {
20
+ const props = __props;
21
+ const rootContext = injectDialogRootContext();
22
+ const { forwardRef, currentElement } = useForwardExpose();
23
+ rootContext.contentId || (rootContext.contentId = useId(void 0, "reka-dialog-content"));
24
+ onMounted(() => {
25
+ rootContext.triggerElement.value = currentElement.value;
26
+ });
27
+ return (_ctx, _cache) => {
28
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
29
+ ref: unref(forwardRef),
30
+ type: _ctx.as === "button" ? "button" : void 0,
31
+ "aria-haspopup": "dialog",
32
+ "aria-expanded": unref(rootContext).open.value || false,
33
+ "aria-controls": unref(rootContext).open.value ? unref(rootContext).contentId : void 0,
34
+ "data-state": unref(rootContext).open.value ? "open" : "closed",
35
+ onClick: unref(rootContext).onOpenToggle
36
+ }), {
37
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
38
+ _: 3
39
+ }, 16, [
40
+ "type",
41
+ "aria-expanded",
42
+ "aria-controls",
43
+ "data-state",
44
+ "onClick"
45
+ ]);
46
+ };
47
+ }
48
+ });
49
+ var DialogTrigger_default = DialogTrigger_vue_vue_type_script_setup_true_lang_default;
50
+ export {
51
+ DialogTrigger_default as D
52
+ };
@@ -0,0 +1,141 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, normalizeClass, createVNode, createTextVNode, createCommentVNode, createElementVNode } from "vue";
2
+ import { D as DialogClose_default } from "./DialogClose-BNlqG4G2.js";
3
+ import { c as cn } from "./utils-Bz4m9VPB.js";
4
+ import { Button as _sfc_main$4 } from "./button.js";
5
+ import { u as useForwardPropsEmits } from "./useForwardPropsEmits-DmumnZO5.js";
6
+ import { D as DialogOverlay_default, a as DialogContent_default } from "./DialogTitle-DXj0nkXn.js";
7
+ import { D as DialogPortal_default, X } from "./x-2_VzbDS9.js";
8
+ import { r as reactiveOmit } from "./index-Dfi5ESP2.js";
9
+ import { D as DialogTrigger_default } from "./DialogTrigger-CpyKnu11.js";
10
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
11
+ __name: "DialogClose",
12
+ props: {
13
+ asChild: { type: Boolean },
14
+ as: {}
15
+ },
16
+ setup(__props) {
17
+ const props = __props;
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createBlock(unref(DialogClose_default), mergeProps({ "data-slot": "dialog-close" }, props), {
20
+ default: withCtx(() => [
21
+ renderSlot(_ctx.$slots, "default")
22
+ ]),
23
+ _: 3
24
+ }, 16);
25
+ };
26
+ }
27
+ });
28
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
29
+ __name: "DialogFooter",
30
+ props: {
31
+ class: {},
32
+ showCloseButton: { type: Boolean, default: false }
33
+ },
34
+ setup(__props) {
35
+ const props = __props;
36
+ return (_ctx, _cache) => {
37
+ return openBlock(), createElementBlock("div", {
38
+ "data-slot": "dialog-footer",
39
+ class: normalizeClass(unref(cn)("flex flex-col-reverse gap-3 border-t border-border px-5 py-4 sm:flex-row-reverse sm:px-6", props.class))
40
+ }, [
41
+ renderSlot(_ctx.$slots, "default"),
42
+ _ctx.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
43
+ key: 0,
44
+ "as-child": ""
45
+ }, {
46
+ default: withCtx(() => [
47
+ createVNode(unref(_sfc_main$4), { variant: "outline" }, {
48
+ default: withCtx(() => _cache[0] || (_cache[0] = [
49
+ createTextVNode(" Close ")
50
+ ])),
51
+ _: 1
52
+ })
53
+ ]),
54
+ _: 1
55
+ })) : createCommentVNode("", true)
56
+ ], 2);
57
+ };
58
+ }
59
+ });
60
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
61
+ ...{
62
+ inheritAttrs: false
63
+ },
64
+ __name: "DialogScrollContent",
65
+ props: {
66
+ forceMount: { type: Boolean },
67
+ disableOutsidePointerEvents: { type: Boolean },
68
+ asChild: { type: Boolean },
69
+ as: {},
70
+ class: {}
71
+ },
72
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
73
+ setup(__props, { emit: __emit }) {
74
+ const props = __props;
75
+ const emits = __emit;
76
+ const delegatedProps = reactiveOmit(props, "class");
77
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
78
+ return (_ctx, _cache) => {
79
+ return openBlock(), createBlock(unref(DialogPortal_default), null, {
80
+ default: withCtx(() => [
81
+ createVNode(unref(DialogOverlay_default), { class: "fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/45 backdrop-blur-[2px] transition-[opacity,backdrop-filter] ease-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }, {
82
+ default: withCtx(() => [
83
+ createVNode(unref(DialogContent_default), mergeProps({
84
+ class: unref(cn)(
85
+ "relative z-50 my-8 grid w-[95%] max-w-lg gap-0 overflow-hidden rounded border border-border bg-card text-card-foreground shadow-2xl duration-200 md:w-full",
86
+ props.class
87
+ )
88
+ }, { ..._ctx.$attrs, ...unref(forwarded) }, {
89
+ onPointerDownOutside: _cache[0] || (_cache[0] = (event) => {
90
+ const originalEvent = event.detail.originalEvent;
91
+ const target = originalEvent.target;
92
+ if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
93
+ event.preventDefault();
94
+ }
95
+ })
96
+ }), {
97
+ default: withCtx(() => [
98
+ renderSlot(_ctx.$slots, "default"),
99
+ createVNode(unref(DialogClose_default), { class: "absolute top-4 right-4 rounded border border-border bg-card p-1 text-muted-foreground transition-all duration-200 hover:bg-accent hover:text-foreground" }, {
100
+ default: withCtx(() => [
101
+ createVNode(unref(X), { class: "w-4 h-4" }),
102
+ _cache[1] || (_cache[1] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
103
+ ]),
104
+ _: 1
105
+ })
106
+ ]),
107
+ _: 3
108
+ }, 16, ["class"])
109
+ ]),
110
+ _: 3
111
+ })
112
+ ]),
113
+ _: 3
114
+ });
115
+ };
116
+ }
117
+ });
118
+ const _sfc_main = /* @__PURE__ */ defineComponent({
119
+ __name: "DialogTrigger",
120
+ props: {
121
+ asChild: { type: Boolean },
122
+ as: {}
123
+ },
124
+ setup(__props) {
125
+ const props = __props;
126
+ return (_ctx, _cache) => {
127
+ return openBlock(), createBlock(unref(DialogTrigger_default), mergeProps({ "data-slot": "dialog-trigger" }, props), {
128
+ default: withCtx(() => [
129
+ renderSlot(_ctx.$slots, "default")
130
+ ]),
131
+ _: 3
132
+ }, 16);
133
+ };
134
+ }
135
+ });
136
+ export {
137
+ _sfc_main$3 as _,
138
+ _sfc_main$2 as a,
139
+ _sfc_main$1 as b,
140
+ _sfc_main as c
141
+ };