@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,87 @@
1
+ import { P as Primitive } from "./Primitive-D3IcFg81.js";
2
+ import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
3
+ var BaseSeparator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
4
+ __name: "BaseSeparator",
5
+ props: {
6
+ orientation: {
7
+ type: String,
8
+ required: false,
9
+ default: "horizontal"
10
+ },
11
+ decorative: {
12
+ type: Boolean,
13
+ required: false
14
+ },
15
+ asChild: {
16
+ type: Boolean,
17
+ required: false
18
+ },
19
+ as: {
20
+ type: null,
21
+ required: false
22
+ }
23
+ },
24
+ setup(__props) {
25
+ const props = __props;
26
+ const ORIENTATIONS = ["horizontal", "vertical"];
27
+ function isValidOrientation(orientation) {
28
+ return ORIENTATIONS.includes(orientation);
29
+ }
30
+ const computedOrientation = computed(() => isValidOrientation(props.orientation) ? props.orientation : "horizontal");
31
+ const ariaOrientation = computed(() => computedOrientation.value === "vertical" ? props.orientation : void 0);
32
+ const semanticProps = computed(() => props.decorative ? { role: "none" } : {
33
+ "aria-orientation": ariaOrientation.value,
34
+ "role": "separator"
35
+ });
36
+ return (_ctx, _cache) => {
37
+ return openBlock(), createBlock(unref(Primitive), mergeProps({
38
+ as: _ctx.as,
39
+ "as-child": _ctx.asChild,
40
+ "data-orientation": computedOrientation.value
41
+ }, semanticProps.value), {
42
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
43
+ _: 3
44
+ }, 16, [
45
+ "as",
46
+ "as-child",
47
+ "data-orientation"
48
+ ]);
49
+ };
50
+ }
51
+ });
52
+ var BaseSeparator_default = BaseSeparator_vue_vue_type_script_setup_true_lang_default;
53
+ var Separator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
54
+ __name: "Separator",
55
+ props: {
56
+ orientation: {
57
+ type: String,
58
+ required: false,
59
+ default: "horizontal"
60
+ },
61
+ decorative: {
62
+ type: Boolean,
63
+ required: false
64
+ },
65
+ asChild: {
66
+ type: Boolean,
67
+ required: false
68
+ },
69
+ as: {
70
+ type: null,
71
+ required: false
72
+ }
73
+ },
74
+ setup(__props) {
75
+ const props = __props;
76
+ return (_ctx, _cache) => {
77
+ return openBlock(), createBlock(BaseSeparator_default, normalizeProps(guardReactiveProps(props)), {
78
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
79
+ _: 3
80
+ }, 16);
81
+ };
82
+ }
83
+ });
84
+ var Separator_default = Separator_vue_vue_type_script_setup_true_lang_default;
85
+ export {
86
+ Separator_default as S
87
+ };
@@ -0,0 +1,29 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
2
+ import { S as Separator_default } from "./Separator-CFm_M4pb.js";
3
+ import { c as cn } from "./utils-Bz4m9VPB.js";
4
+ import { r as reactiveOmit } from "./index-Dfi5ESP2.js";
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "Separator",
7
+ props: {
8
+ orientation: { default: "horizontal" },
9
+ decorative: { type: Boolean, default: true },
10
+ asChild: { type: Boolean },
11
+ as: {},
12
+ class: {}
13
+ },
14
+ setup(__props) {
15
+ const props = __props;
16
+ const delegatedProps = reactiveOmit(props, "class");
17
+ return (_ctx, _cache) => {
18
+ return openBlock(), createBlock(unref(Separator_default), mergeProps({ "data-slot": "separator" }, unref(delegatedProps), {
19
+ class: unref(cn)(
20
+ "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
21
+ props.class
22
+ )
23
+ }), null, 16, ["class"]);
24
+ };
25
+ }
26
+ });
27
+ export {
28
+ _sfc_main as _
29
+ };
@@ -0,0 +1,175 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps, createVNode, createElementVNode, createElementBlock, normalizeClass } from "vue";
2
+ import { u as useForwardPropsEmits } 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: "Sheet",
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": "sheet" }, 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: "SheetOverlay",
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({
43
+ "data-slot": "sheet-overlay",
44
+ 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)
45
+ }, unref(delegatedProps)), {
46
+ default: withCtx(() => [
47
+ renderSlot(_ctx.$slots, "default")
48
+ ]),
49
+ _: 3
50
+ }, 16, ["class"]);
51
+ };
52
+ }
53
+ });
54
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
55
+ ...{
56
+ inheritAttrs: false
57
+ },
58
+ __name: "SheetContent",
59
+ props: {
60
+ class: {},
61
+ side: { default: "right" },
62
+ forceMount: { type: Boolean },
63
+ disableOutsidePointerEvents: { type: Boolean },
64
+ asChild: { type: Boolean },
65
+ as: {}
66
+ },
67
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
68
+ setup(__props, { emit: __emit }) {
69
+ const props = __props;
70
+ const emits = __emit;
71
+ const delegatedProps = reactiveOmit(props, "class", "side");
72
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
73
+ return (_ctx, _cache) => {
74
+ return openBlock(), createBlock(unref(DialogPortal_default), null, {
75
+ default: withCtx(() => [
76
+ createVNode(_sfc_main$4),
77
+ createVNode(unref(DialogContent_default), mergeProps({
78
+ "data-slot": "sheet-content",
79
+ class: unref(cn)(
80
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
81
+ _ctx.side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
82
+ _ctx.side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
83
+ _ctx.side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
84
+ _ctx.side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
85
+ props.class
86
+ )
87
+ }, { ..._ctx.$attrs, ...unref(forwarded) }), {
88
+ default: withCtx(() => [
89
+ renderSlot(_ctx.$slots, "default"),
90
+ createVNode(unref(DialogClose_default), { class: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none" }, {
91
+ default: withCtx(() => [
92
+ createVNode(unref(X), { class: "size-4" }),
93
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
94
+ ]),
95
+ _: 1
96
+ })
97
+ ]),
98
+ _: 3
99
+ }, 16, ["class"])
100
+ ]),
101
+ _: 3
102
+ });
103
+ };
104
+ }
105
+ });
106
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
107
+ __name: "SheetDescription",
108
+ props: {
109
+ asChild: { type: Boolean },
110
+ as: {},
111
+ class: {}
112
+ },
113
+ setup(__props) {
114
+ const props = __props;
115
+ const delegatedProps = reactiveOmit(props, "class");
116
+ return (_ctx, _cache) => {
117
+ return openBlock(), createBlock(unref(DialogDescription_default), mergeProps({
118
+ "data-slot": "sheet-description",
119
+ class: unref(cn)("text-muted-foreground text-sm", props.class)
120
+ }, unref(delegatedProps)), {
121
+ default: withCtx(() => [
122
+ renderSlot(_ctx.$slots, "default")
123
+ ]),
124
+ _: 3
125
+ }, 16, ["class"]);
126
+ };
127
+ }
128
+ });
129
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
130
+ __name: "SheetHeader",
131
+ props: {
132
+ class: {}
133
+ },
134
+ setup(__props) {
135
+ const props = __props;
136
+ return (_ctx, _cache) => {
137
+ return openBlock(), createElementBlock("div", {
138
+ "data-slot": "sheet-header",
139
+ class: normalizeClass(unref(cn)("flex flex-col gap-1.5 p-4", props.class))
140
+ }, [
141
+ renderSlot(_ctx.$slots, "default")
142
+ ], 2);
143
+ };
144
+ }
145
+ });
146
+ const _sfc_main = /* @__PURE__ */ defineComponent({
147
+ __name: "SheetTitle",
148
+ props: {
149
+ asChild: { type: Boolean },
150
+ as: {},
151
+ class: {}
152
+ },
153
+ setup(__props) {
154
+ const props = __props;
155
+ const delegatedProps = reactiveOmit(props, "class");
156
+ return (_ctx, _cache) => {
157
+ return openBlock(), createBlock(unref(DialogTitle_default), mergeProps({
158
+ "data-slot": "sheet-title",
159
+ class: unref(cn)("text-foreground font-semibold", props.class)
160
+ }, unref(delegatedProps)), {
161
+ default: withCtx(() => [
162
+ renderSlot(_ctx.$slots, "default")
163
+ ]),
164
+ _: 3
165
+ }, 16, ["class"]);
166
+ };
167
+ }
168
+ });
169
+ export {
170
+ _sfc_main$5 as _,
171
+ _sfc_main$3 as a,
172
+ _sfc_main$2 as b,
173
+ _sfc_main$1 as c,
174
+ _sfc_main as d
175
+ };
@@ -0,0 +1,62 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, normalizeClass } from "vue";
2
+ import { D as DialogClose_default } from "./DialogClose-BNlqG4G2.js";
3
+ import { c as cn } from "./utils-Bz4m9VPB.js";
4
+ import { D as DialogTrigger_default } from "./DialogTrigger-CpyKnu11.js";
5
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6
+ __name: "SheetClose",
7
+ props: {
8
+ asChild: { type: Boolean },
9
+ as: {}
10
+ },
11
+ setup(__props) {
12
+ const props = __props;
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createBlock(unref(DialogClose_default), mergeProps({ "data-slot": "sheet-close" }, props), {
15
+ default: withCtx(() => [
16
+ renderSlot(_ctx.$slots, "default")
17
+ ]),
18
+ _: 3
19
+ }, 16);
20
+ };
21
+ }
22
+ });
23
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
24
+ __name: "SheetFooter",
25
+ props: {
26
+ class: {}
27
+ },
28
+ setup(__props) {
29
+ const props = __props;
30
+ return (_ctx, _cache) => {
31
+ return openBlock(), createElementBlock("div", {
32
+ "data-slot": "sheet-footer",
33
+ class: normalizeClass(unref(cn)("mt-auto flex flex-col gap-2 p-4", props.class))
34
+ }, [
35
+ renderSlot(_ctx.$slots, "default")
36
+ ], 2);
37
+ };
38
+ }
39
+ });
40
+ const _sfc_main = /* @__PURE__ */ defineComponent({
41
+ __name: "SheetTrigger",
42
+ props: {
43
+ asChild: { type: Boolean },
44
+ as: {}
45
+ },
46
+ setup(__props) {
47
+ const props = __props;
48
+ return (_ctx, _cache) => {
49
+ return openBlock(), createBlock(unref(DialogTrigger_default), mergeProps({ "data-slot": "sheet-trigger" }, props), {
50
+ default: withCtx(() => [
51
+ renderSlot(_ctx.$slots, "default")
52
+ ]),
53
+ _: 3
54
+ }, 16);
55
+ };
56
+ }
57
+ });
58
+ export {
59
+ _sfc_main$2 as _,
60
+ _sfc_main$1 as a,
61
+ _sfc_main as b
62
+ };
@@ -0,0 +1,20 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref } from "vue";
2
+ import { c as cn } from "./utils-Bz4m9VPB.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "Skeleton",
5
+ props: {
6
+ class: {}
7
+ },
8
+ setup(__props) {
9
+ const props = __props;
10
+ return (_ctx, _cache) => {
11
+ return openBlock(), createElementBlock("div", {
12
+ "data-slot": "skeleton",
13
+ class: normalizeClass(unref(cn)(props.class, "animate-pulse rounded border border-(--border-light) bg-(--bg-surface-light) transition-colors duration-300 ease-in-out dark:border-(--border-dark) dark:bg-(--bg-surface-dark)"))
14
+ }, null, 2);
15
+ };
16
+ }
17
+ });
18
+ export {
19
+ _sfc_main as _
20
+ };