@brumaombra/ui-vintage 0.6.7 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -51
- package/module.mjs +75 -0
- package/package.json +81 -264
- package/src/components/background-grid/BackgroundGrid.vue +5 -0
- package/src/components/background-grid/index.ts +2 -0
- package/src/components/blog/AllPostsSection.vue +46 -0
- package/src/components/blog/BlogFAQSection.vue +71 -0
- package/src/components/blog/BlogHeaderSection.vue +35 -0
- package/src/components/blog/BlogInfoSection.vue +70 -0
- package/src/components/blog/BlogSectionTitle.vue +12 -0
- package/src/components/blog/CategoriesList.vue +17 -0
- package/src/components/blog/CategoriesSection.vue +14 -0
- package/src/components/blog/CategoryCard.vue +34 -0
- package/src/components/blog/HeaderCarousel.vue +194 -0
- package/src/components/blog/PostCard.vue +56 -0
- package/src/components/blog/PostsList.vue +16 -0
- package/src/components/blog/SocialShareSidebar.vue +94 -0
- package/src/components/blog/TableOfContents.vue +114 -0
- package/src/components/blog/index.ts +13 -0
- package/src/components/busy-indicator/BusyIndicator.vue +14 -0
- package/src/components/busy-indicator/busy-indicator-state.ts +88 -0
- package/src/components/busy-indicator/index.ts +3 -0
- package/src/components/card-grid/CardGrid.vue +47 -0
- package/src/components/card-grid/index.ts +2 -0
- package/src/components/chip/Chip.vue +40 -0
- package/src/components/chip/index.ts +2 -0
- package/src/components/confirm-dialog/ConfirmDialog.vue +60 -0
- package/src/components/confirm-dialog/confirm-dialog-state.ts +200 -0
- package/src/components/confirm-dialog/index.ts +12 -0
- package/src/components/content/BlogList.vue +60 -0
- package/src/components/content/BlogTable.vue +56 -0
- package/src/components/content/ProseHr.vue +26 -0
- package/src/components/content/index.ts +3 -0
- package/src/components/dashboard-shell/DashboardShell.vue +205 -0
- package/src/components/dashboard-shell/index.ts +2 -0
- package/src/components/data-list/DataList.vue +19 -0
- package/src/components/data-list/DataListItem.vue +17 -0
- package/src/components/data-list/DataListLabel.vue +17 -0
- package/src/components/data-list/DataListText.vue +17 -0
- package/src/components/data-list/DataListValue.vue +17 -0
- package/src/components/data-list/index.ts +5 -0
- package/src/components/empty-state-card/EmptyStateCard.vue +54 -0
- package/{dist/components/empty-state-card/index.d.ts → src/components/empty-state-card/index.ts} +1 -1
- package/src/components/error-page/ErrorPage.vue +118 -0
- package/src/components/error-page/index.ts +2 -0
- package/src/components/info-card/InfoCard.vue +42 -0
- package/src/components/info-card/index.ts +2 -0
- package/src/components/landing/index.ts +6 -0
- package/src/components/landing/landing-content/LandingContent.vue +17 -0
- package/src/components/landing/landing-content/index.ts +2 -0
- package/src/components/landing/landing-footer/LandingFooter.vue +151 -0
- package/src/components/landing/landing-footer/index.ts +3 -0
- package/src/components/landing/landing-navbar/LandingNavbar.vue +48 -0
- package/src/components/landing/landing-navbar/index.ts +2 -0
- package/src/components/landing/landing-shell/LandingShell.vue +58 -0
- package/src/components/landing/landing-shell/index.ts +2 -0
- package/src/components/language-flag/LanguageFlag.vue +54 -0
- package/src/components/language-flag/flags/ChineseFlag.vue +10 -0
- package/src/components/language-flag/flags/EnglishFlag.vue +9 -0
- package/src/components/language-flag/flags/FrenchFlag.vue +7 -0
- package/src/components/language-flag/flags/GermanFlag.vue +7 -0
- package/src/components/language-flag/flags/ItalianFlag.vue +9 -0
- package/src/components/language-flag/flags/JapaneseFlag.vue +6 -0
- package/src/components/language-flag/flags/PortugueseFlag.vue +59 -0
- package/src/components/language-flag/flags/RussianFlag.vue +7 -0
- package/src/components/language-flag/flags/SpanishFlag.vue +6 -0
- package/{dist/components/language-flag/index.d.ts → src/components/language-flag/index.ts} +1 -1
- package/src/components/language-selector/LanguageSelector.vue +154 -0
- package/{dist/components/language-selector/index.d.ts → src/components/language-selector/index.ts} +1 -1
- package/src/components/load-more-button/LoadMoreButton.vue +44 -0
- package/{dist/components/load-more-button/index.d.ts → src/components/load-more-button/index.ts} +1 -1
- package/src/components/loading-state-card/LoadingStateCard.vue +43 -0
- package/{dist/components/loading-state-card/index.d.ts → src/components/loading-state-card/index.ts} +1 -1
- package/src/components/message-dialog/MessageDialog.vue +101 -0
- package/src/components/message-dialog/index.ts +11 -0
- package/src/components/message-dialog/message-dialog-state.ts +168 -0
- package/src/components/message-toast/MessageToast.vue +75 -0
- package/src/components/message-toast/index.ts +9 -0
- package/src/components/message-toast/message-toast-state.ts +167 -0
- package/src/components/page-header/PageHeader.vue +52 -0
- package/src/components/page-header/index.ts +2 -0
- package/src/components/progress-component/ProgressComponent.vue +45 -0
- package/{dist/components/progress-component/index.d.ts → src/components/progress-component/index.ts} +1 -1
- package/src/components/single-value-card/SingleValueCard.vue +51 -0
- package/{dist/components/single-value-card/index.d.ts → src/components/single-value-card/index.ts} +1 -1
- package/src/components/slider-form-component/SliderFormComponent.vue +71 -0
- package/src/components/slider-form-component/index.ts +2 -0
- package/src/components/switch-form-component/SwitchFormComponent.vue +39 -0
- package/src/components/switch-form-component/index.ts +2 -0
- package/src/components/text-link/TextLink.vue +33 -0
- package/src/components/text-link/index.ts +2 -0
- package/src/components/theme-selector/ThemeSelector.vue +129 -0
- package/src/components/theme-selector/index.ts +2 -0
- package/src/components/ui/alert/Alert.vue +17 -0
- package/src/components/ui/alert/AlertDescription.vue +14 -0
- package/src/components/ui/alert/AlertTitle.vue +14 -0
- package/src/components/ui/alert/index.ts +15 -0
- package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +22 -0
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +36 -0
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +19 -0
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +18 -0
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +14 -0
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +17 -0
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
- package/src/components/ui/alert-dialog/index.ts +9 -0
- package/src/components/ui/badge/Badge.vue +26 -0
- package/src/components/ui/badge/index.ts +1 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +24 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +23 -0
- package/src/components/ui/breadcrumb/index.ts +7 -0
- package/src/components/ui/busy/Busy.vue +45 -0
- package/src/components/ui/busy/index.ts +1 -0
- package/src/components/ui/button/Button.vue +24 -0
- package/src/components/ui/button/index.ts +41 -0
- package/src/components/ui/calendar/Calendar.vue +139 -0
- package/src/components/ui/calendar/CalendarCell.vue +23 -0
- package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
- package/src/components/ui/calendar/CalendarGrid.vue +23 -0
- package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
- package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
- package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
- package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
- package/src/components/ui/calendar/CalendarHeader.vue +23 -0
- package/src/components/ui/calendar/CalendarHeading.vue +30 -0
- package/src/components/ui/calendar/CalendarNextButton.vue +32 -0
- package/src/components/ui/calendar/CalendarPrevButton.vue +32 -0
- package/src/components/ui/calendar/index.ts +14 -0
- package/src/components/ui/card/Card.vue +31 -0
- package/src/components/ui/card/CardAction.vue +14 -0
- package/src/components/ui/card/CardContent.vue +14 -0
- package/src/components/ui/card/CardDescription.vue +14 -0
- package/src/components/ui/card/CardFooter.vue +14 -0
- package/src/components/ui/card/CardHeader.vue +14 -0
- package/src/components/ui/card/CardText.vue +14 -0
- package/src/components/ui/card/CardTitle.vue +14 -0
- package/src/components/ui/card/index.ts +8 -0
- package/src/components/ui/command/Command.vue +83 -0
- package/src/components/ui/command/CommandDialog.vue +31 -0
- package/src/components/ui/command/CommandEmpty.vue +27 -0
- package/src/components/ui/command/CommandGroup.vue +47 -0
- package/src/components/ui/command/CommandInput.vue +31 -0
- package/src/components/ui/command/CommandItem.vue +76 -0
- package/src/components/ui/command/CommandList.vue +25 -0
- package/src/components/ui/command/CommandSeparator.vue +17 -0
- package/src/components/ui/command/CommandShortcut.vue +14 -0
- package/src/components/ui/command/index.ts +25 -0
- package/src/components/ui/date-picker/DatePicker.vue +67 -0
- package/src/components/ui/date-picker/index.ts +2 -0
- package/src/components/ui/date-time-picker/DateTimePicker.vue +170 -0
- package/{dist/components/ui/date-time-picker/index.d.ts → src/components/ui/date-time-picker/index.ts} +2 -2
- package/src/components/ui/dialog/Dialog.vue +15 -0
- package/src/components/ui/dialog/DialogClose.vue +15 -0
- package/src/components/ui/dialog/DialogContent.vue +54 -0
- package/src/components/ui/dialog/DialogDescription.vue +19 -0
- package/src/components/ui/dialog/DialogFooter.vue +18 -0
- package/src/components/ui/dialog/DialogHeader.vue +14 -0
- package/src/components/ui/dialog/DialogOverlay.vue +17 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +57 -0
- package/src/components/ui/dialog/DialogTitle.vue +19 -0
- package/src/components/ui/dialog/DialogTrigger.vue +12 -0
- package/src/components/ui/dialog/index.ts +10 -0
- package/src/components/ui/field/Field.vue +20 -0
- package/src/components/ui/field/FieldContent.vue +17 -0
- package/src/components/ui/field/FieldDescription.vue +19 -0
- package/src/components/ui/field/FieldError.vue +48 -0
- package/src/components/ui/field/FieldGroup.vue +17 -0
- package/src/components/ui/field/FieldLabel.vue +20 -0
- package/src/components/ui/field/FieldLegend.vue +20 -0
- package/src/components/ui/field/FieldSeparator.vue +21 -0
- package/src/components/ui/field/FieldSet.vue +18 -0
- package/src/components/ui/field/FieldTitle.vue +17 -0
- package/src/components/ui/field/index.ts +41 -0
- package/src/components/ui/input/Input.vue +29 -0
- package/src/components/ui/input/index.ts +1 -0
- package/src/components/ui/label/Label.vue +21 -0
- package/src/components/ui/label/index.ts +1 -0
- package/src/components/ui/native-select/NativeSelect.vue +52 -0
- package/src/components/ui/native-select/NativeSelectOptGroup.vue +12 -0
- package/src/components/ui/native-select/NativeSelectOption.vue +12 -0
- package/src/components/ui/native-select/index.ts +3 -0
- package/src/components/ui/popover/Popover.vue +15 -0
- package/src/components/ui/popover/PopoverAnchor.vue +12 -0
- package/src/components/ui/popover/PopoverContent.vue +40 -0
- package/src/components/ui/popover/PopoverTrigger.vue +12 -0
- package/src/components/ui/popover/index.ts +4 -0
- package/src/components/ui/progress/Progress.vue +38 -0
- package/src/components/ui/progress/index.ts +1 -0
- package/src/components/ui/scroll-area/ScrollArea.vue +33 -0
- package/src/components/ui/scroll-area/ScrollBar.vue +32 -0
- package/src/components/ui/scroll-area/index.ts +2 -0
- package/src/components/ui/select/Select.vue +15 -0
- package/src/components/ui/select/SelectContent.vue +50 -0
- package/src/components/ui/select/SelectGroup.vue +12 -0
- package/src/components/ui/select/SelectItem.vue +50 -0
- package/src/components/ui/select/SelectItemContent.vue +40 -0
- package/src/components/ui/select/SelectItemText.vue +12 -0
- package/src/components/ui/select/SelectLabel.vue +14 -0
- package/src/components/ui/select/SelectScrollDownButton.vue +23 -0
- package/src/components/ui/select/SelectScrollUpButton.vue +23 -0
- package/src/components/ui/select/SelectSeparator.vue +15 -0
- package/src/components/ui/select/SelectTrigger.vue +31 -0
- package/src/components/ui/select/SelectValue.vue +12 -0
- package/src/components/ui/select/SelectValueContent.vue +44 -0
- package/src/components/ui/select/index.ts +13 -0
- package/src/components/ui/separator/Separator.vue +24 -0
- package/src/components/ui/separator/index.ts +1 -0
- package/src/components/ui/sheet/Sheet.vue +15 -0
- package/src/components/ui/sheet/SheetClose.vue +12 -0
- package/src/components/ui/sheet/SheetContent.vue +49 -0
- package/src/components/ui/sheet/SheetDescription.vue +17 -0
- package/src/components/ui/sheet/SheetFooter.vue +12 -0
- package/src/components/ui/sheet/SheetHeader.vue +12 -0
- package/src/components/ui/sheet/SheetOverlay.vue +17 -0
- package/src/components/ui/sheet/SheetTitle.vue +17 -0
- package/src/components/ui/sheet/SheetTrigger.vue +12 -0
- package/src/components/ui/sheet/index.ts +8 -0
- package/src/components/ui/sidebar/Sidebar.vue +77 -0
- package/src/components/ui/sidebar/SidebarContent.vue +14 -0
- package/src/components/ui/sidebar/SidebarFooter.vue +14 -0
- package/src/components/ui/sidebar/SidebarGroup.vue +14 -0
- package/src/components/ui/sidebar/SidebarGroupAction.vue +21 -0
- package/src/components/ui/sidebar/SidebarGroupContent.vue +14 -0
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +19 -0
- package/src/components/ui/sidebar/SidebarHeader.vue +14 -0
- package/src/components/ui/sidebar/SidebarInput.vue +18 -0
- package/src/components/ui/sidebar/SidebarInset.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenu.vue +14 -0
- package/src/components/ui/sidebar/SidebarMenuAction.vue +30 -0
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +23 -0
- package/src/components/ui/sidebar/SidebarMenuButton.vue +44 -0
- package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +27 -0
- package/src/components/ui/sidebar/SidebarMenuItem.vue +14 -0
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +20 -0
- package/src/components/ui/sidebar/SidebarMenuSub.vue +18 -0
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +28 -0
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +14 -0
- package/src/components/ui/sidebar/SidebarProvider.vue +79 -0
- package/src/components/ui/sidebar/SidebarRail.vue +25 -0
- package/src/components/ui/sidebar/SidebarSeparator.vue +15 -0
- package/src/components/ui/sidebar/SidebarTrigger.vue +21 -0
- package/src/components/ui/sidebar/index.ts +64 -0
- package/src/components/ui/sidebar/utils.ts +19 -0
- package/src/components/ui/skeleton/Skeleton.vue +14 -0
- package/src/components/ui/skeleton/index.ts +1 -0
- package/src/components/ui/slider/Slider.vue +27 -0
- package/src/components/ui/slider/index.ts +1 -0
- package/src/components/ui/switch/Switch.vue +30 -0
- package/src/components/ui/switch/index.ts +1 -0
- package/src/components/ui/table/Table.vue +16 -0
- package/src/components/ui/table/TableBody.vue +17 -0
- package/src/components/ui/table/TableCaption.vue +17 -0
- package/src/components/ui/table/TableCell.vue +22 -0
- package/src/components/ui/table/TableEmpty.vue +34 -0
- package/src/components/ui/table/TableFooter.vue +17 -0
- package/src/components/ui/table/TableHead.vue +17 -0
- package/src/components/ui/table/TableHeader.vue +17 -0
- package/src/components/ui/table/TableRow.vue +17 -0
- package/src/components/ui/table/index.ts +9 -0
- package/src/components/ui/tabs/Tabs.vue +24 -0
- package/src/components/ui/tabs/TabsContent.vue +21 -0
- package/src/components/ui/tabs/TabsList.vue +24 -0
- package/src/components/ui/tabs/TabsTrigger.vue +26 -0
- package/src/components/ui/tabs/index.ts +4 -0
- package/src/components/ui/textarea/Textarea.vue +29 -0
- package/src/components/ui/textarea/index.ts +1 -0
- package/src/components/ui/time-picker/TimePicker.vue +56 -0
- package/src/components/ui/time-picker/index.ts +2 -0
- package/src/components/ui/tooltip/Tooltip.vue +15 -0
- package/src/components/ui/tooltip/TooltipContent.vue +30 -0
- package/src/components/ui/tooltip/TooltipProvider.vue +14 -0
- package/src/components/ui/tooltip/TooltipTrigger.vue +12 -0
- package/src/components/ui/tooltip/index.ts +4 -0
- package/{dist/i18n/de.json.d.ts → src/i18n/de.json} +26 -4
- package/{dist/i18n/en.json.d.ts → src/i18n/en.json} +26 -4
- package/{dist/i18n/es.json.d.ts → src/i18n/es.json} +26 -4
- package/{dist/i18n/fr.json.d.ts → src/i18n/fr.json} +26 -4
- package/{dist/i18n/it.json.d.ts → src/i18n/it.json} +26 -4
- package/{dist/i18n/ja.json.d.ts → src/i18n/ja.json} +26 -4
- package/{dist/i18n/pt.json.d.ts → src/i18n/pt.json} +26 -4
- package/{dist/i18n/ru.json.d.ts → src/i18n/ru.json} +26 -4
- package/{dist/i18n/zh.json.d.ts → src/i18n/zh.json} +26 -4
- package/src/lib/color-tokens.ts +51 -0
- package/src/lib/i18n.ts +85 -0
- package/src/lib/utils.ts +29 -0
- package/src/nuxt-components.d.ts +5 -0
- package/src/runtime/ui-vintage-i18n-plugin.js +48 -0
- package/src/shims-vue.d.ts +5 -0
- package/src/styles.css +224 -0
- package/dist/AlertDialogTitle.vue_vue_type_script_setup_true_lang-_UW48pv7.js +0 -361
- package/dist/BackgroundGrid-BJDDcLzF.js +0 -13
- package/dist/Busy-DRHkNObd.js +0 -55
- package/dist/BusyIndicator-D-4YHN2L.js +0 -4
- package/dist/CalendarPrevButton.vue_vue_type_script_setup_true_lang-D4jkKsDX.js +0 -3800
- package/dist/Card.vue_vue_type_script_setup_true_lang-DwBhZuSq.js +0 -30
- package/dist/CardContent.vue_vue_type_script_setup_true_lang-dBzO0q1t.js +0 -22
- package/dist/CardFooter.vue_vue_type_script_setup_true_lang-B5EqgrgN.js +0 -22
- package/dist/CardText.vue_vue_type_script_setup_true_lang-CJ66un34.js +0 -22
- package/dist/ChineseFlag-CVrOCbRz.js +0 -18
- package/dist/Collection-4P3HQ4uU.js +0 -76
- package/dist/ConfigProvider-DYO65bNW.js +0 -6
- package/dist/ConfirmDialog-Zu4m9TY-.js +0 -4
- package/dist/DatePicker.vue_vue_type_script_setup_true_lang-C_bocxOu.js +0 -88
- package/dist/DialogClose-DxCTEp0d.js +0 -36
- package/dist/DialogPortal-BiMJAKLg.js +0 -36
- package/dist/DialogTitle-jKgSCoXM.js +0 -526
- package/dist/DialogTitle.vue_vue_type_script_setup_true_lang-B79YbKSf.js +0 -184
- package/dist/DialogTrigger-Cb3rLcid.js +0 -52
- package/dist/EmptyStateCard.vue_vue_type_script_setup_true_lang-B2-mxoaA.js +0 -59
- package/dist/EnglishFlag-BrpG8XMW.js +0 -18
- package/dist/FocusScope-mzbqk6Y_.js +0 -448
- package/dist/FrenchFlag-CUdQacS3.js +0 -35
- package/dist/GermanFlag-Bc1CeEHw.js +0 -35
- package/dist/HugeiconsIcon.vue-By2RXWWz.js +0 -111
- package/dist/Input.vue_vue_type_script_setup_true_lang-KQETSF2I.js +0 -37
- package/dist/ItalianFlag-BAdg13z7.js +0 -34
- package/dist/JapaneseFlag-Dnd2ITzZ.js +0 -27
- package/dist/Label.vue_vue_type_script_setup_true_lang-BzHEIagR.js +0 -65
- package/dist/LandingContent.vue_vue_type_script_setup_true_lang-Wgtl_yeD.js +0 -21
- package/dist/LandingFooter.vue_vue_type_script_setup_true_lang-Dxc03HyK.js +0 -159
- package/dist/LandingNavbar.vue_vue_type_script_setup_true_lang-DDB1dSjS.js +0 -63
- package/dist/LandingShell.vue_vue_type_script_setup_true_lang-B1PnJ78g.js +0 -49
- package/dist/LoadMoreButton.vue_vue_type_script_setup_true_lang-DkaLgfxc.js +0 -61
- package/dist/LoadingStateCard.vue_vue_type_script_setup_true_lang-BSErG9UN.js +0 -53
- package/dist/MessageDialog-ChS4d2qN.js +0 -4
- package/dist/MessageToast-DBztWhRL.js +0 -79
- package/dist/NativeSelectOption.vue_vue_type_script_setup_true_lang-CNcUI9Yh.js +0 -75
- package/dist/PopoverTrigger.vue_vue_type_script_setup_true_lang-Cf33q_yT.js +0 -801
- package/dist/PopperContent-DUJ8a4i0.js +0 -2144
- package/dist/PortugueseFlag-DU2jEbaQ.js +0 -19
- package/dist/Presence-CTmUEdMR.js +0 -168
- package/dist/Primitive-D3IcFg81.js +0 -61
- package/dist/Progress.vue_vue_type_script_setup_true_lang-BDJfyW-d.js +0 -188
- package/dist/RussianFlag-Cnc4PHmq.js +0 -29
- package/dist/Separator-CFm_M4pb.js +0 -87
- package/dist/Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js +0 -29
- package/dist/SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js +0 -167
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js +0 -20
- package/dist/Slider.vue_vue_type_script_setup_true_lang-CSOSwGGr.js +0 -803
- package/dist/SpanishFlag-Dy-C9kGk.js +0 -28
- package/dist/Switch.vue_vue_type_script_setup_true_lang-C8mqOepU.js +0 -227
- package/dist/Teleport-DTOwRCqx.js +0 -315
- package/dist/TimePicker.vue_vue_type_script_setup_true_lang-CwuwDICo.js +0 -51
- package/dist/TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js +0 -1120
- package/dist/VisuallyHidden-udQT2Fmo.js +0 -60
- package/dist/VisuallyHiddenInput-D5eipDQU.js +0 -142
- package/dist/_plugin-vue_export-helper-1tPrXgE0.js +0 -10
- package/dist/alert-dialog.js +0 -165
- package/dist/alert.js +0 -66
- package/dist/background-grid.js +0 -5
- package/dist/badge.js +0 -33
- package/dist/breadcrumb.js +0 -159
- package/dist/busy-indicator.js +0 -66
- package/dist/busy.js +0 -4
- package/dist/button.js +0 -67
- package/dist/calendar.js +0 -15
- package/dist/card-grid.js +0 -58
- package/dist/card.js +0 -84
- package/dist/chip.js +0 -47
- package/dist/clamp-D5Ye0kJT.js +0 -6
- package/dist/color-tokens-D9BviGPK.js +0 -40
- package/dist/command.js +0 -1099
- package/dist/components/background-grid/BackgroundGrid.vue.d.ts +0 -2
- package/dist/components/background-grid/index.d.ts +0 -2
- package/dist/components/busy-indicator/BusyIndicator.vue.d.ts +0 -2
- package/dist/components/busy-indicator/busy-indicator-state.d.ts +0 -15
- package/dist/components/busy-indicator/index.d.ts +0 -3
- package/dist/components/card-grid/CardGrid.vue.d.ts +0 -88
- package/dist/components/card-grid/index.d.ts +0 -2
- package/dist/components/chip/Chip.vue.d.ts +0 -17
- package/dist/components/chip/index.d.ts +0 -2
- package/dist/components/confirm-dialog/ConfirmDialog.vue.d.ts +0 -2
- package/dist/components/confirm-dialog/confirm-dialog-state.d.ts +0 -40
- package/dist/components/confirm-dialog/index.d.ts +0 -3
- package/dist/components/dashboard-shell/DashboardShell.vue.d.ts +0 -67
- package/dist/components/dashboard-shell/index.d.ts +0 -2
- package/dist/components/data-list/DataList.vue.d.ts +0 -21
- package/dist/components/data-list/DataListItem.vue.d.ts +0 -21
- package/dist/components/data-list/DataListLabel.vue.d.ts +0 -21
- package/dist/components/data-list/DataListText.vue.d.ts +0 -21
- package/dist/components/data-list/DataListValue.vue.d.ts +0 -21
- package/dist/components/data-list/index.d.ts +0 -5
- package/dist/components/empty-state-card/EmptyStateCard.vue.d.ts +0 -73
- package/dist/components/error-page/ErrorPage.vue.d.ts +0 -51
- package/dist/components/error-page/index.d.ts +0 -2
- package/dist/components/info-card/InfoCard.vue.d.ts +0 -46
- package/dist/components/info-card/index.d.ts +0 -2
- package/dist/components/landing/index.d.ts +0 -6
- package/dist/components/landing/landing-content/LandingContent.vue.d.ts +0 -21
- package/dist/components/landing/landing-content/index.d.ts +0 -2
- package/dist/components/landing/landing-footer/LandingFooter.vue.d.ts +0 -39
- package/dist/components/landing/landing-footer/index.d.ts +0 -3
- package/dist/components/landing/landing-navbar/LandingNavbar.vue.d.ts +0 -32
- package/dist/components/landing/landing-navbar/index.d.ts +0 -2
- package/dist/components/landing/landing-shell/LandingShell.vue.d.ts +0 -31
- package/dist/components/landing/landing-shell/index.d.ts +0 -2
- package/dist/components/language-flag/LanguageFlag.vue.d.ts +0 -14
- package/dist/components/language-flag/flags/ChineseFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/EnglishFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/FrenchFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/GermanFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/ItalianFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/JapaneseFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/PortugueseFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/RussianFlag.vue.d.ts +0 -2
- package/dist/components/language-flag/flags/SpanishFlag.vue.d.ts +0 -2
- package/dist/components/language-selector/LanguageSelector.vue.d.ts +0 -31
- package/dist/components/load-more-button/LoadMoreButton.vue.d.ts +0 -36
- package/dist/components/loading-state-card/LoadingStateCard.vue.d.ts +0 -55
- package/dist/components/message-dialog/MessageDialog.vue.d.ts +0 -2
- package/dist/components/message-dialog/index.d.ts +0 -3
- package/dist/components/message-dialog/message-dialog-state.d.ts +0 -30
- package/dist/components/message-toast/MessageToast.vue.d.ts +0 -2
- package/dist/components/message-toast/index.d.ts +0 -2
- package/dist/components/message-toast/message-toast-state.d.ts +0 -18
- package/dist/components/page-header/PageHeader.vue.d.ts +0 -48
- package/dist/components/page-header/index.d.ts +0 -2
- package/dist/components/progress-component/ProgressComponent.vue.d.ts +0 -47
- package/dist/components/single-value-card/SingleValueCard.vue.d.ts +0 -40
- package/dist/components/slider-form-component/SliderFormComponent.vue.d.ts +0 -23
- package/dist/components/slider-form-component/index.d.ts +0 -2
- package/dist/components/switch-form-component/SwitchFormComponent.vue.d.ts +0 -12
- package/dist/components/switch-form-component/index.d.ts +0 -2
- package/dist/components/text-link/TextLink.vue.d.ts +0 -35
- package/dist/components/text-link/index.d.ts +0 -2
- package/dist/components/theme-selector/ThemeSelector.vue.d.ts +0 -2
- package/dist/components/theme-selector/index.d.ts +0 -2
- package/dist/components/ui/alert/Alert.vue.d.ts +0 -23
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +0 -21
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +0 -21
- package/dist/components/ui/alert/index.d.ts +0 -9
- package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +0 -25
- package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +0 -36
- package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +0 -21
- package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +0 -21
- package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +0 -22
- package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +0 -18
- package/dist/components/ui/alert-dialog/index.d.ts +0 -9
- package/dist/components/ui/badge/Badge.vue.d.ts +0 -16
- package/dist/components/ui/badge/index.d.ts +0 -1
- package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +0 -24
- package/dist/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +0 -21
- package/dist/components/ui/breadcrumb/index.d.ts +0 -7
- package/dist/components/ui/busy/Busy.vue.d.ts +0 -27
- package/dist/components/ui/busy/index.d.ts +0 -1
- package/dist/components/ui/button/Button.vue.d.ts +0 -27
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/calendar/Calendar.vue.d.ts +0 -44
- package/dist/components/ui/calendar/CalendarCell.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarCellTrigger.vue.d.ts +0 -24
- package/dist/components/ui/calendar/CalendarGrid.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarGridBody.vue.d.ts +0 -18
- package/dist/components/ui/calendar/CalendarGridHead.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarGridRow.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarHeadCell.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarHeader.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarHeading.vue.d.ts +0 -28
- package/dist/components/ui/calendar/CalendarNextButton.vue.d.ts +0 -22
- package/dist/components/ui/calendar/CalendarPrevButton.vue.d.ts +0 -22
- package/dist/components/ui/calendar/index.d.ts +0 -13
- package/dist/components/ui/card/Card.vue.d.ts +0 -24
- package/dist/components/ui/card/CardAction.vue.d.ts +0 -21
- package/dist/components/ui/card/CardContent.vue.d.ts +0 -21
- package/dist/components/ui/card/CardDescription.vue.d.ts +0 -21
- package/dist/components/ui/card/CardFooter.vue.d.ts +0 -21
- package/dist/components/ui/card/CardHeader.vue.d.ts +0 -21
- package/dist/components/ui/card/CardText.vue.d.ts +0 -21
- package/dist/components/ui/card/CardTitle.vue.d.ts +0 -21
- package/dist/components/ui/card/index.d.ts +0 -8
- package/dist/components/ui/command/Command.vue.d.ts +0 -40
- package/dist/components/ui/command/CommandDialog.vue.d.ts +0 -32
- package/dist/components/ui/command/CommandEmpty.vue.d.ts +0 -22
- package/dist/components/ui/command/CommandGroup.vue.d.ts +0 -23
- package/dist/components/ui/command/CommandInput.vue.d.ts +0 -7
- package/dist/components/ui/command/CommandItem.vue.d.ts +0 -30
- package/dist/components/ui/command/CommandList.vue.d.ts +0 -22
- package/dist/components/ui/command/CommandSeparator.vue.d.ts +0 -22
- package/dist/components/ui/command/CommandShortcut.vue.d.ts +0 -21
- package/dist/components/ui/command/index.d.ts +0 -90
- package/dist/components/ui/date-picker/DatePicker.vue.d.ts +0 -21
- package/dist/components/ui/date-picker/index.d.ts +0 -2
- package/dist/components/ui/date-time-picker/DateTimePicker.vue.d.ts +0 -27
- package/dist/components/ui/dialog/Dialog.vue.d.ts +0 -25
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +0 -18
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -39
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +0 -22
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +0 -21
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +0 -21
- package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +0 -22
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -39
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +0 -22
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +0 -18
- package/dist/components/ui/dialog/index.d.ts +0 -10
- package/dist/components/ui/field/Field.vue.d.ts +0 -23
- package/dist/components/ui/field/FieldContent.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldDescription.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldError.vue.d.ts +0 -24
- package/dist/components/ui/field/FieldGroup.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldLabel.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldLegend.vue.d.ts +0 -22
- package/dist/components/ui/field/FieldSeparator.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldSet.vue.d.ts +0 -21
- package/dist/components/ui/field/FieldTitle.vue.d.ts +0 -21
- package/dist/components/ui/field/index.d.ts +0 -15
- package/dist/components/ui/input/Input.vue.d.ts +0 -12
- package/dist/components/ui/input/index.d.ts +0 -1
- package/dist/components/ui/label/Label.vue.d.ts +0 -22
- package/dist/components/ui/label/index.d.ts +0 -1
- package/dist/components/ui/native-select/NativeSelect.vue.d.ts +0 -27
- package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +0 -21
- package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +0 -21
- package/dist/components/ui/native-select/index.d.ts +0 -3
- package/dist/components/ui/popover/Popover.vue.d.ts +0 -25
- package/dist/components/ui/popover/PopoverAnchor.vue.d.ts +0 -18
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -39
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -18
- package/dist/components/ui/popover/index.d.ts +0 -4
- package/dist/components/ui/progress/Progress.vue.d.ts +0 -9
- package/dist/components/ui/progress/index.d.ts +0 -1
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +0 -22
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +0 -9
- package/dist/components/ui/scroll-area/index.d.ts +0 -2
- package/dist/components/ui/select/Select.vue.d.ts +0 -28
- package/dist/components/ui/select/SelectContent.vue.d.ts +0 -35
- package/dist/components/ui/select/SelectGroup.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectItem.vue.d.ts +0 -24
- package/dist/components/ui/select/SelectItemContent.vue.d.ts +0 -15
- package/dist/components/ui/select/SelectItemText.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectLabel.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -22
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +0 -7
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +0 -25
- package/dist/components/ui/select/SelectValue.vue.d.ts +0 -18
- package/dist/components/ui/select/SelectValueContent.vue.d.ts +0 -16
- package/dist/components/ui/select/index.d.ts +0 -13
- package/dist/components/ui/separator/Separator.vue.d.ts +0 -10
- package/dist/components/ui/separator/index.d.ts +0 -1
- package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -25
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -39
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -22
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -21
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -21
- package/dist/components/ui/sheet/SheetOverlay.vue.d.ts +0 -22
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -22
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -18
- package/dist/components/ui/sheet/index.d.ts +0 -8
- package/dist/components/ui/sidebar/Sidebar.vue.d.ts +0 -25
- package/dist/components/ui/sidebar/SidebarContent.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarFooter.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarGroup.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarGroupAction.vue.d.ts +0 -22
- package/dist/components/ui/sidebar/SidebarGroupContent.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +0 -22
- package/dist/components/ui/sidebar/SidebarHeader.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarInput.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarInset.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenu.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuAction.vue.d.ts +0 -25
- package/dist/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuButton.vue.d.ts +0 -27
- package/dist/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +0 -30
- package/dist/components/ui/sidebar/SidebarMenuItem.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +0 -7
- package/dist/components/ui/sidebar/SidebarMenuSub.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +0 -27
- package/dist/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarProvider.vue.d.ts +0 -32
- package/dist/components/ui/sidebar/SidebarRail.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarSeparator.vue.d.ts +0 -21
- package/dist/components/ui/sidebar/SidebarTrigger.vue.d.ts +0 -6
- package/dist/components/ui/sidebar/index.d.ts +0 -38
- package/dist/components/ui/sidebar/utils.d.ts +0 -56
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +0 -6
- package/dist/components/ui/skeleton/index.d.ts +0 -1
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -13
- package/dist/components/ui/slider/index.d.ts +0 -1
- package/dist/components/ui/switch/Switch.vue.d.ts +0 -29
- package/dist/components/ui/switch/index.d.ts +0 -1
- package/dist/components/ui/table/Table.vue.d.ts +0 -21
- package/dist/components/ui/table/TableBody.vue.d.ts +0 -21
- package/dist/components/ui/table/TableCaption.vue.d.ts +0 -21
- package/dist/components/ui/table/TableCell.vue.d.ts +0 -21
- package/dist/components/ui/table/TableEmpty.vue.d.ts +0 -24
- package/dist/components/ui/table/TableFooter.vue.d.ts +0 -21
- package/dist/components/ui/table/TableHead.vue.d.ts +0 -21
- package/dist/components/ui/table/TableHeader.vue.d.ts +0 -21
- package/dist/components/ui/table/TableRow.vue.d.ts +0 -21
- package/dist/components/ui/table/index.d.ts +0 -9
- package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -28
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -22
- package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -22
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -22
- package/dist/components/ui/tabs/index.d.ts +0 -4
- package/dist/components/ui/textarea/Textarea.vue.d.ts +0 -12
- package/dist/components/ui/textarea/index.d.ts +0 -1
- package/dist/components/ui/time-picker/TimePicker.vue.d.ts +0 -21
- package/dist/components/ui/time-picker/index.d.ts +0 -2
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +0 -24
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +0 -30
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +0 -20
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +0 -18
- package/dist/components/ui/tooltip/index.d.ts +0 -4
- package/dist/confirm-dialog.js +0 -228
- package/dist/createContext-BabAT1K8.js +0 -19
- package/dist/dashboard-shell.js +0 -231
- package/dist/data-list.js +0 -97
- package/dist/date-picker.js +0 -5
- package/dist/date-time-picker.js +0 -140
- package/dist/dialog.js +0 -147
- package/dist/empty-state-card.js +0 -5
- package/dist/error-page.js +0 -115
- package/dist/field.js +0 -294
- package/dist/getActiveElement-Bmy6QsUb.js +0 -9
- package/dist/i18n.js +0 -562
- package/dist/index-DDJjWaIl.js +0 -363
- package/dist/index-Dw56kNV0.js +0 -251
- package/dist/index-FpH8cK6B.js +0 -44
- package/dist/index.min-CZ9FIOXr.js +0 -23
- package/dist/info-card.js +0 -65
- package/dist/input.js +0 -4
- package/dist/label.js +0 -4
- package/dist/landing-content.js +0 -5
- package/dist/landing-footer.js +0 -5
- package/dist/landing-navbar.js +0 -5
- package/dist/landing-shell.js +0 -5
- package/dist/landing.js +0 -11
- package/dist/language-flag.js +0 -61
- package/dist/language-selector.js +0 -169
- package/dist/lib/color-tokens.d.ts +0 -6
- package/dist/lib/i18n.d.ts +0 -985
- package/dist/lib/utils.d.ts +0 -2
- package/dist/load-more-button.js +0 -5
- package/dist/loading-state-card.js +0 -5
- package/dist/message-dialog.js +0 -226
- package/dist/message-toast.js +0 -103
- package/dist/native-select.js +0 -25
- package/dist/nullish-D3tMkl6i.js +0 -6
- package/dist/page-header.js +0 -57
- package/dist/popover.js +0 -65
- package/dist/progress-component.js +0 -51
- package/dist/progress.js +0 -4
- package/dist/scroll-area.js +0 -1080
- package/dist/select.js +0 -2222
- package/dist/separator.js +0 -4
- package/dist/sheet.js +0 -68
- package/dist/sidebar.js +0 -807
- package/dist/single-value-card.js +0 -64
- package/dist/skeleton.js +0 -4
- package/dist/slider-form-component.js +0 -60
- package/dist/slider.js +0 -4
- package/dist/style.css +0 -5128
- package/dist/style.d.ts +0 -0
- package/dist/style.js +0 -1
- package/dist/switch-form-component.js +0 -40
- package/dist/switch.js +0 -4
- package/dist/table.js +0 -193
- package/dist/tabs.js +0 -658
- package/dist/text-link.js +0 -39
- package/dist/textarea.js +0 -37
- package/dist/theme-selector.js +0 -159
- package/dist/time-picker.js +0 -5
- package/dist/tooltip.js +0 -32
- package/dist/useDirection-B2bMgzzV.js +0 -12
- package/dist/useFocusGuards-2C1jyYW5.js +0 -29
- package/dist/useFormControl-DZ4LnB9F.js +0 -11
- package/dist/useForwardExpose-BcX3VRdS.js +0 -58
- package/dist/useForwardPropsEmits-GlUGKcIz.js +0 -47
- package/dist/useId-CF6wz41D.js +0 -16
- package/dist/useKbd-JjFOu4f7.js +0 -41
- package/dist/useNonce-CWj1JlPB.js +0 -12
- package/dist/usePrimitiveElement-BCpwlakH.js +0 -16
- package/dist/useSize-DUgGY9t1.js +0 -51
- package/dist/useTypeahead-4RK0Emcv.js +0 -159
- package/dist/utils-Bz4m9VPB.js +0 -3192
- package/dist/utils-DbR1EZn-.js +0 -16
- package/dist/utils-hdwtyAF3.js +0 -44
- package/dist/utils.js +0 -4
|
@@ -1,526 +0,0 @@
|
|
|
1
|
-
import { b as useEmitAsProps } from "./useForwardPropsEmits-GlUGKcIz.js";
|
|
2
|
-
import { u as useForwardExpose } from "./useForwardExpose-BcX3VRdS.js";
|
|
3
|
-
import { P as Presence_default } from "./Presence-CTmUEdMR.js";
|
|
4
|
-
import { F as FocusScope_default, u as useHideOthers, a as useBodyScrollLock } from "./FocusScope-mzbqk6Y_.js";
|
|
5
|
-
import { g as getActiveElement } from "./getActiveElement-Bmy6QsUb.js";
|
|
6
|
-
import { u as useId } from "./useId-CF6wz41D.js";
|
|
7
|
-
import { D as DismissableLayer_default } from "./Teleport-DTOwRCqx.js";
|
|
8
|
-
import { g as getOpenState } from "./utils-DbR1EZn-.js";
|
|
9
|
-
import { defineComponent, ref, toRefs, renderSlot, unref, onMounted, openBlock, createBlock, withCtx, createVNode, mergeProps, createCommentVNode } from "vue";
|
|
10
|
-
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
11
|
-
import { c as createContext } from "./createContext-BabAT1K8.js";
|
|
12
|
-
import { a as useVModel } from "./index-Dw56kNV0.js";
|
|
13
|
-
const [injectDialogRootContext, provideDialogRootContext] = createContext("DialogRoot");
|
|
14
|
-
var DialogRoot_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
15
|
-
inheritAttrs: false,
|
|
16
|
-
__name: "DialogRoot",
|
|
17
|
-
props: {
|
|
18
|
-
open: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
required: false,
|
|
21
|
-
default: void 0
|
|
22
|
-
},
|
|
23
|
-
defaultOpen: {
|
|
24
|
-
type: Boolean,
|
|
25
|
-
required: false,
|
|
26
|
-
default: false
|
|
27
|
-
},
|
|
28
|
-
modal: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
required: false,
|
|
31
|
-
default: true
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
emits: ["update:open"],
|
|
35
|
-
setup(__props, { emit: __emit }) {
|
|
36
|
-
const props = __props;
|
|
37
|
-
const emit = __emit;
|
|
38
|
-
const open = useVModel(props, "open", emit, {
|
|
39
|
-
defaultValue: props.defaultOpen,
|
|
40
|
-
passive: props.open === void 0
|
|
41
|
-
});
|
|
42
|
-
const triggerElement = ref();
|
|
43
|
-
const contentElement = ref();
|
|
44
|
-
const { modal } = toRefs(props);
|
|
45
|
-
provideDialogRootContext({
|
|
46
|
-
open,
|
|
47
|
-
modal,
|
|
48
|
-
openModal: () => {
|
|
49
|
-
open.value = true;
|
|
50
|
-
},
|
|
51
|
-
onOpenChange: (value) => {
|
|
52
|
-
open.value = value;
|
|
53
|
-
},
|
|
54
|
-
onOpenToggle: () => {
|
|
55
|
-
open.value = !open.value;
|
|
56
|
-
},
|
|
57
|
-
contentId: "",
|
|
58
|
-
titleId: "",
|
|
59
|
-
descriptionId: "",
|
|
60
|
-
triggerElement,
|
|
61
|
-
contentElement
|
|
62
|
-
});
|
|
63
|
-
return (_ctx, _cache) => {
|
|
64
|
-
return renderSlot(_ctx.$slots, "default", {
|
|
65
|
-
open: unref(open),
|
|
66
|
-
close: () => open.value = false
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
var DialogRoot_default = DialogRoot_vue_vue_type_script_setup_true_lang_default;
|
|
72
|
-
const DEFAULT_TITLE_NAME = "DialogTitle";
|
|
73
|
-
const DEFAULT_CONTENT_NAME = "DialogContent";
|
|
74
|
-
function useWarning({ titleName = DEFAULT_TITLE_NAME, contentName = DEFAULT_CONTENT_NAME, componentLink = "dialog.html#title", titleId, descriptionId, contentElement }) {
|
|
75
|
-
const TITLE_MESSAGE = `Warning: \`${contentName}\` requires a \`${titleName}\` for the component to be accessible for screen reader users.
|
|
76
|
-
|
|
77
|
-
If you want to hide the \`${titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
78
|
-
|
|
79
|
-
For more information, see https://www.reka-ui.com/docs/components/${componentLink}`;
|
|
80
|
-
const DESCRIPTION_MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${contentName}.`;
|
|
81
|
-
onMounted(() => {
|
|
82
|
-
var _a;
|
|
83
|
-
const hasTitle = document.getElementById(titleId);
|
|
84
|
-
if (!hasTitle) console.warn(TITLE_MESSAGE);
|
|
85
|
-
const describedById = (_a = contentElement.value) == null ? void 0 : _a.getAttribute("aria-describedby");
|
|
86
|
-
if (descriptionId && describedById) {
|
|
87
|
-
const hasDescription = document.getElementById(descriptionId);
|
|
88
|
-
if (!hasDescription) console.warn(DESCRIPTION_MESSAGE);
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
var DialogContentImpl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
93
|
-
__name: "DialogContentImpl",
|
|
94
|
-
props: {
|
|
95
|
-
forceMount: {
|
|
96
|
-
type: Boolean,
|
|
97
|
-
required: false
|
|
98
|
-
},
|
|
99
|
-
trapFocus: {
|
|
100
|
-
type: Boolean,
|
|
101
|
-
required: false
|
|
102
|
-
},
|
|
103
|
-
disableOutsidePointerEvents: {
|
|
104
|
-
type: Boolean,
|
|
105
|
-
required: false
|
|
106
|
-
},
|
|
107
|
-
asChild: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
required: false
|
|
110
|
-
},
|
|
111
|
-
as: {
|
|
112
|
-
type: null,
|
|
113
|
-
required: false
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
emits: [
|
|
117
|
-
"escapeKeyDown",
|
|
118
|
-
"pointerDownOutside",
|
|
119
|
-
"focusOutside",
|
|
120
|
-
"interactOutside",
|
|
121
|
-
"openAutoFocus",
|
|
122
|
-
"closeAutoFocus"
|
|
123
|
-
],
|
|
124
|
-
setup(__props, { emit: __emit }) {
|
|
125
|
-
const props = __props;
|
|
126
|
-
const emits = __emit;
|
|
127
|
-
const rootContext = injectDialogRootContext();
|
|
128
|
-
const { forwardRef, currentElement: contentElement } = useForwardExpose();
|
|
129
|
-
rootContext.titleId || (rootContext.titleId = useId(void 0, "reka-dialog-title"));
|
|
130
|
-
rootContext.descriptionId || (rootContext.descriptionId = useId(void 0, "reka-dialog-description"));
|
|
131
|
-
onMounted(() => {
|
|
132
|
-
rootContext.contentElement = contentElement;
|
|
133
|
-
if (getActiveElement() !== document.body) rootContext.triggerElement.value = getActiveElement();
|
|
134
|
-
});
|
|
135
|
-
if (process.env.NODE_ENV !== "production") useWarning({
|
|
136
|
-
titleName: "DialogTitle",
|
|
137
|
-
contentName: "DialogContent",
|
|
138
|
-
componentLink: "dialog.html#title",
|
|
139
|
-
titleId: rootContext.titleId,
|
|
140
|
-
descriptionId: rootContext.descriptionId,
|
|
141
|
-
contentElement
|
|
142
|
-
});
|
|
143
|
-
return (_ctx, _cache) => {
|
|
144
|
-
return openBlock(), createBlock(unref(FocusScope_default), {
|
|
145
|
-
"as-child": "",
|
|
146
|
-
loop: "",
|
|
147
|
-
trapped: props.trapFocus,
|
|
148
|
-
onMountAutoFocus: _cache[5] || (_cache[5] = ($event) => emits("openAutoFocus", $event)),
|
|
149
|
-
onUnmountAutoFocus: _cache[6] || (_cache[6] = ($event) => emits("closeAutoFocus", $event))
|
|
150
|
-
}, {
|
|
151
|
-
default: withCtx(() => [createVNode(unref(DismissableLayer_default), mergeProps({
|
|
152
|
-
id: unref(rootContext).contentId,
|
|
153
|
-
ref: unref(forwardRef),
|
|
154
|
-
as: _ctx.as,
|
|
155
|
-
"as-child": _ctx.asChild,
|
|
156
|
-
"disable-outside-pointer-events": _ctx.disableOutsidePointerEvents,
|
|
157
|
-
role: "dialog",
|
|
158
|
-
"aria-describedby": unref(rootContext).descriptionId,
|
|
159
|
-
"aria-labelledby": unref(rootContext).titleId,
|
|
160
|
-
"data-state": unref(getOpenState)(unref(rootContext).open.value)
|
|
161
|
-
}, _ctx.$attrs, {
|
|
162
|
-
onDismiss: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(false)),
|
|
163
|
-
onEscapeKeyDown: _cache[1] || (_cache[1] = ($event) => emits("escapeKeyDown", $event)),
|
|
164
|
-
onFocusOutside: _cache[2] || (_cache[2] = ($event) => emits("focusOutside", $event)),
|
|
165
|
-
onInteractOutside: _cache[3] || (_cache[3] = ($event) => emits("interactOutside", $event)),
|
|
166
|
-
onPointerDownOutside: _cache[4] || (_cache[4] = ($event) => emits("pointerDownOutside", $event))
|
|
167
|
-
}), {
|
|
168
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
169
|
-
_: 3
|
|
170
|
-
}, 16, [
|
|
171
|
-
"id",
|
|
172
|
-
"as",
|
|
173
|
-
"as-child",
|
|
174
|
-
"disable-outside-pointer-events",
|
|
175
|
-
"aria-describedby",
|
|
176
|
-
"aria-labelledby",
|
|
177
|
-
"data-state"
|
|
178
|
-
])]),
|
|
179
|
-
_: 3
|
|
180
|
-
}, 8, ["trapped"]);
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
var DialogContentImpl_default = DialogContentImpl_vue_vue_type_script_setup_true_lang_default;
|
|
185
|
-
var DialogContentModal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
186
|
-
__name: "DialogContentModal",
|
|
187
|
-
props: {
|
|
188
|
-
forceMount: {
|
|
189
|
-
type: Boolean,
|
|
190
|
-
required: false
|
|
191
|
-
},
|
|
192
|
-
trapFocus: {
|
|
193
|
-
type: Boolean,
|
|
194
|
-
required: false
|
|
195
|
-
},
|
|
196
|
-
disableOutsidePointerEvents: {
|
|
197
|
-
type: Boolean,
|
|
198
|
-
required: false
|
|
199
|
-
},
|
|
200
|
-
asChild: {
|
|
201
|
-
type: Boolean,
|
|
202
|
-
required: false
|
|
203
|
-
},
|
|
204
|
-
as: {
|
|
205
|
-
type: null,
|
|
206
|
-
required: false
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
emits: [
|
|
210
|
-
"escapeKeyDown",
|
|
211
|
-
"pointerDownOutside",
|
|
212
|
-
"focusOutside",
|
|
213
|
-
"interactOutside",
|
|
214
|
-
"openAutoFocus",
|
|
215
|
-
"closeAutoFocus"
|
|
216
|
-
],
|
|
217
|
-
setup(__props, { emit: __emit }) {
|
|
218
|
-
const props = __props;
|
|
219
|
-
const emits = __emit;
|
|
220
|
-
const rootContext = injectDialogRootContext();
|
|
221
|
-
const emitsAsProps = useEmitAsProps(emits);
|
|
222
|
-
const { forwardRef, currentElement } = useForwardExpose();
|
|
223
|
-
useHideOthers(currentElement);
|
|
224
|
-
return (_ctx, _cache) => {
|
|
225
|
-
return openBlock(), createBlock(DialogContentImpl_default, mergeProps({
|
|
226
|
-
...props,
|
|
227
|
-
...unref(emitsAsProps)
|
|
228
|
-
}, {
|
|
229
|
-
ref: unref(forwardRef),
|
|
230
|
-
"trap-focus": unref(rootContext).open.value,
|
|
231
|
-
"disable-outside-pointer-events": true,
|
|
232
|
-
onCloseAutoFocus: _cache[0] || (_cache[0] = (event) => {
|
|
233
|
-
var _a;
|
|
234
|
-
if (!event.defaultPrevented) {
|
|
235
|
-
event.preventDefault();
|
|
236
|
-
(_a = unref(rootContext).triggerElement.value) == null ? void 0 : _a.focus();
|
|
237
|
-
}
|
|
238
|
-
}),
|
|
239
|
-
onPointerDownOutside: _cache[1] || (_cache[1] = (event) => {
|
|
240
|
-
const originalEvent = event.detail.originalEvent;
|
|
241
|
-
const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;
|
|
242
|
-
const isRightClick = originalEvent.button === 2 || ctrlLeftClick;
|
|
243
|
-
if (isRightClick) event.preventDefault();
|
|
244
|
-
}),
|
|
245
|
-
onFocusOutside: _cache[2] || (_cache[2] = (event) => {
|
|
246
|
-
event.preventDefault();
|
|
247
|
-
})
|
|
248
|
-
}), {
|
|
249
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
250
|
-
_: 3
|
|
251
|
-
}, 16, ["trap-focus"]);
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
var DialogContentModal_default = DialogContentModal_vue_vue_type_script_setup_true_lang_default;
|
|
256
|
-
var DialogContentNonModal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
257
|
-
__name: "DialogContentNonModal",
|
|
258
|
-
props: {
|
|
259
|
-
forceMount: {
|
|
260
|
-
type: Boolean,
|
|
261
|
-
required: false
|
|
262
|
-
},
|
|
263
|
-
trapFocus: {
|
|
264
|
-
type: Boolean,
|
|
265
|
-
required: false
|
|
266
|
-
},
|
|
267
|
-
disableOutsidePointerEvents: {
|
|
268
|
-
type: Boolean,
|
|
269
|
-
required: false
|
|
270
|
-
},
|
|
271
|
-
asChild: {
|
|
272
|
-
type: Boolean,
|
|
273
|
-
required: false
|
|
274
|
-
},
|
|
275
|
-
as: {
|
|
276
|
-
type: null,
|
|
277
|
-
required: false
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
emits: [
|
|
281
|
-
"escapeKeyDown",
|
|
282
|
-
"pointerDownOutside",
|
|
283
|
-
"focusOutside",
|
|
284
|
-
"interactOutside",
|
|
285
|
-
"openAutoFocus",
|
|
286
|
-
"closeAutoFocus"
|
|
287
|
-
],
|
|
288
|
-
setup(__props, { emit: __emit }) {
|
|
289
|
-
const props = __props;
|
|
290
|
-
const emits = __emit;
|
|
291
|
-
const emitsAsProps = useEmitAsProps(emits);
|
|
292
|
-
useForwardExpose();
|
|
293
|
-
const rootContext = injectDialogRootContext();
|
|
294
|
-
const hasInteractedOutsideRef = ref(false);
|
|
295
|
-
const hasPointerDownOutsideRef = ref(false);
|
|
296
|
-
return (_ctx, _cache) => {
|
|
297
|
-
return openBlock(), createBlock(DialogContentImpl_default, mergeProps({
|
|
298
|
-
...props,
|
|
299
|
-
...unref(emitsAsProps)
|
|
300
|
-
}, {
|
|
301
|
-
"trap-focus": false,
|
|
302
|
-
"disable-outside-pointer-events": false,
|
|
303
|
-
onCloseAutoFocus: _cache[0] || (_cache[0] = (event) => {
|
|
304
|
-
var _a;
|
|
305
|
-
if (!event.defaultPrevented) {
|
|
306
|
-
if (!hasInteractedOutsideRef.value) (_a = unref(rootContext).triggerElement.value) == null ? void 0 : _a.focus();
|
|
307
|
-
event.preventDefault();
|
|
308
|
-
}
|
|
309
|
-
hasInteractedOutsideRef.value = false;
|
|
310
|
-
hasPointerDownOutsideRef.value = false;
|
|
311
|
-
}),
|
|
312
|
-
onInteractOutside: _cache[1] || (_cache[1] = (event) => {
|
|
313
|
-
var _a;
|
|
314
|
-
if (!event.defaultPrevented) {
|
|
315
|
-
hasInteractedOutsideRef.value = true;
|
|
316
|
-
if (event.detail.originalEvent.type === "pointerdown") hasPointerDownOutsideRef.value = true;
|
|
317
|
-
}
|
|
318
|
-
const target = event.target;
|
|
319
|
-
const targetIsTrigger = (_a = unref(rootContext).triggerElement.value) == null ? void 0 : _a.contains(target);
|
|
320
|
-
if (targetIsTrigger) event.preventDefault();
|
|
321
|
-
if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.value) event.preventDefault();
|
|
322
|
-
})
|
|
323
|
-
}), {
|
|
324
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
325
|
-
_: 3
|
|
326
|
-
}, 16);
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
});
|
|
330
|
-
var DialogContentNonModal_default = DialogContentNonModal_vue_vue_type_script_setup_true_lang_default;
|
|
331
|
-
var DialogContent_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
332
|
-
__name: "DialogContent",
|
|
333
|
-
props: {
|
|
334
|
-
forceMount: {
|
|
335
|
-
type: Boolean,
|
|
336
|
-
required: false
|
|
337
|
-
},
|
|
338
|
-
disableOutsidePointerEvents: {
|
|
339
|
-
type: Boolean,
|
|
340
|
-
required: false
|
|
341
|
-
},
|
|
342
|
-
asChild: {
|
|
343
|
-
type: Boolean,
|
|
344
|
-
required: false
|
|
345
|
-
},
|
|
346
|
-
as: {
|
|
347
|
-
type: null,
|
|
348
|
-
required: false
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
emits: [
|
|
352
|
-
"escapeKeyDown",
|
|
353
|
-
"pointerDownOutside",
|
|
354
|
-
"focusOutside",
|
|
355
|
-
"interactOutside",
|
|
356
|
-
"openAutoFocus",
|
|
357
|
-
"closeAutoFocus"
|
|
358
|
-
],
|
|
359
|
-
setup(__props, { emit: __emit }) {
|
|
360
|
-
const props = __props;
|
|
361
|
-
const emits = __emit;
|
|
362
|
-
const rootContext = injectDialogRootContext();
|
|
363
|
-
const emitsAsProps = useEmitAsProps(emits);
|
|
364
|
-
const { forwardRef } = useForwardExpose();
|
|
365
|
-
return (_ctx, _cache) => {
|
|
366
|
-
return openBlock(), createBlock(unref(Presence_default), { present: _ctx.forceMount || unref(rootContext).open.value }, {
|
|
367
|
-
default: withCtx(() => [unref(rootContext).modal.value ? (openBlock(), createBlock(DialogContentModal_default, mergeProps({
|
|
368
|
-
key: 0,
|
|
369
|
-
ref: unref(forwardRef)
|
|
370
|
-
}, {
|
|
371
|
-
...props,
|
|
372
|
-
...unref(emitsAsProps),
|
|
373
|
-
..._ctx.$attrs
|
|
374
|
-
}), {
|
|
375
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
376
|
-
_: 3
|
|
377
|
-
}, 16)) : (openBlock(), createBlock(DialogContentNonModal_default, mergeProps({
|
|
378
|
-
key: 1,
|
|
379
|
-
ref: unref(forwardRef)
|
|
380
|
-
}, {
|
|
381
|
-
...props,
|
|
382
|
-
...unref(emitsAsProps),
|
|
383
|
-
..._ctx.$attrs
|
|
384
|
-
}), {
|
|
385
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
386
|
-
_: 3
|
|
387
|
-
}, 16))]),
|
|
388
|
-
_: 3
|
|
389
|
-
}, 8, ["present"]);
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
});
|
|
393
|
-
var DialogContent_default = DialogContent_vue_vue_type_script_setup_true_lang_default;
|
|
394
|
-
var DialogDescription_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
395
|
-
__name: "DialogDescription",
|
|
396
|
-
props: {
|
|
397
|
-
asChild: {
|
|
398
|
-
type: Boolean,
|
|
399
|
-
required: false
|
|
400
|
-
},
|
|
401
|
-
as: {
|
|
402
|
-
type: null,
|
|
403
|
-
required: false,
|
|
404
|
-
default: "p"
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
setup(__props) {
|
|
408
|
-
const props = __props;
|
|
409
|
-
useForwardExpose();
|
|
410
|
-
const rootContext = injectDialogRootContext();
|
|
411
|
-
return (_ctx, _cache) => {
|
|
412
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, { id: unref(rootContext).descriptionId }), {
|
|
413
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
414
|
-
_: 3
|
|
415
|
-
}, 16, ["id"]);
|
|
416
|
-
};
|
|
417
|
-
}
|
|
418
|
-
});
|
|
419
|
-
var DialogDescription_default = DialogDescription_vue_vue_type_script_setup_true_lang_default;
|
|
420
|
-
var DialogOverlayImpl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
421
|
-
__name: "DialogOverlayImpl",
|
|
422
|
-
props: {
|
|
423
|
-
asChild: {
|
|
424
|
-
type: Boolean,
|
|
425
|
-
required: false
|
|
426
|
-
},
|
|
427
|
-
as: {
|
|
428
|
-
type: null,
|
|
429
|
-
required: false
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
setup(__props) {
|
|
433
|
-
const rootContext = injectDialogRootContext();
|
|
434
|
-
useBodyScrollLock(true);
|
|
435
|
-
useForwardExpose();
|
|
436
|
-
return (_ctx, _cache) => {
|
|
437
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
438
|
-
as: _ctx.as,
|
|
439
|
-
"as-child": _ctx.asChild,
|
|
440
|
-
"data-state": unref(rootContext).open.value ? "open" : "closed",
|
|
441
|
-
style: { "pointer-events": "auto" }
|
|
442
|
-
}, {
|
|
443
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
444
|
-
_: 3
|
|
445
|
-
}, 8, [
|
|
446
|
-
"as",
|
|
447
|
-
"as-child",
|
|
448
|
-
"data-state"
|
|
449
|
-
]);
|
|
450
|
-
};
|
|
451
|
-
}
|
|
452
|
-
});
|
|
453
|
-
var DialogOverlayImpl_default = DialogOverlayImpl_vue_vue_type_script_setup_true_lang_default;
|
|
454
|
-
var DialogOverlay_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
455
|
-
__name: "DialogOverlay",
|
|
456
|
-
props: {
|
|
457
|
-
forceMount: {
|
|
458
|
-
type: Boolean,
|
|
459
|
-
required: false
|
|
460
|
-
},
|
|
461
|
-
asChild: {
|
|
462
|
-
type: Boolean,
|
|
463
|
-
required: false
|
|
464
|
-
},
|
|
465
|
-
as: {
|
|
466
|
-
type: null,
|
|
467
|
-
required: false
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
setup(__props) {
|
|
471
|
-
const rootContext = injectDialogRootContext();
|
|
472
|
-
const { forwardRef } = useForwardExpose();
|
|
473
|
-
return (_ctx, _cache) => {
|
|
474
|
-
var _a;
|
|
475
|
-
return ((_a = unref(rootContext)) == null ? void 0 : _a.modal.value) ? (openBlock(), createBlock(unref(Presence_default), {
|
|
476
|
-
key: 0,
|
|
477
|
-
present: _ctx.forceMount || unref(rootContext).open.value
|
|
478
|
-
}, {
|
|
479
|
-
default: withCtx(() => [createVNode(DialogOverlayImpl_default, mergeProps(_ctx.$attrs, {
|
|
480
|
-
ref: unref(forwardRef),
|
|
481
|
-
as: _ctx.as,
|
|
482
|
-
"as-child": _ctx.asChild
|
|
483
|
-
}), {
|
|
484
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
485
|
-
_: 3
|
|
486
|
-
}, 16, ["as", "as-child"])]),
|
|
487
|
-
_: 3
|
|
488
|
-
}, 8, ["present"])) : createCommentVNode("v-if", true);
|
|
489
|
-
};
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
var DialogOverlay_default = DialogOverlay_vue_vue_type_script_setup_true_lang_default;
|
|
493
|
-
var DialogTitle_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
494
|
-
__name: "DialogTitle",
|
|
495
|
-
props: {
|
|
496
|
-
asChild: {
|
|
497
|
-
type: Boolean,
|
|
498
|
-
required: false
|
|
499
|
-
},
|
|
500
|
-
as: {
|
|
501
|
-
type: null,
|
|
502
|
-
required: false,
|
|
503
|
-
default: "h2"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
setup(__props) {
|
|
507
|
-
const props = __props;
|
|
508
|
-
const rootContext = injectDialogRootContext();
|
|
509
|
-
useForwardExpose();
|
|
510
|
-
return (_ctx, _cache) => {
|
|
511
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps(props, { id: unref(rootContext).titleId }), {
|
|
512
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
513
|
-
_: 3
|
|
514
|
-
}, 16, ["id"]);
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
});
|
|
518
|
-
var DialogTitle_default = DialogTitle_vue_vue_type_script_setup_true_lang_default;
|
|
519
|
-
export {
|
|
520
|
-
DialogOverlay_default as D,
|
|
521
|
-
DialogContent_default as a,
|
|
522
|
-
DialogRoot_default as b,
|
|
523
|
-
DialogDescription_default as c,
|
|
524
|
-
DialogTitle_default as d,
|
|
525
|
-
injectDialogRootContext as i
|
|
526
|
-
};
|
|
@@ -1,184 +0,0 @@
|
|
|
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-GlUGKcIz.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-jKgSCoXM.js";
|
|
4
|
-
import { D as DialogClose_default } from "./DialogClose-DxCTEp0d.js";
|
|
5
|
-
import { D as DialogPortal_default } from "./DialogPortal-BiMJAKLg.js";
|
|
6
|
-
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
7
|
-
import { Button as _sfc_main$6 } from "./button.js";
|
|
8
|
-
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
9
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
10
|
-
__name: "Dialog",
|
|
11
|
-
props: {
|
|
12
|
-
open: { type: Boolean },
|
|
13
|
-
defaultOpen: { type: Boolean },
|
|
14
|
-
modal: { type: Boolean }
|
|
15
|
-
},
|
|
16
|
-
emits: ["update:open"],
|
|
17
|
-
setup(__props, { emit: __emit }) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
const emits = __emit;
|
|
20
|
-
const forwarded = useForwardPropsEmits(props, emits);
|
|
21
|
-
return (_ctx, _cache) => {
|
|
22
|
-
return openBlock(), createBlock(unref(DialogRoot_default), mergeProps({ "data-slot": "dialog" }, unref(forwarded)), {
|
|
23
|
-
default: withCtx((slotProps) => [
|
|
24
|
-
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))
|
|
25
|
-
]),
|
|
26
|
-
_: 3
|
|
27
|
-
}, 16);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
32
|
-
__name: "DialogOverlay",
|
|
33
|
-
props: {
|
|
34
|
-
forceMount: { type: Boolean },
|
|
35
|
-
asChild: { type: Boolean },
|
|
36
|
-
as: {},
|
|
37
|
-
class: {}
|
|
38
|
-
},
|
|
39
|
-
setup(__props) {
|
|
40
|
-
const props = __props;
|
|
41
|
-
const delegatedProps = reactiveOmit(props, "class");
|
|
42
|
-
return (_ctx, _cache) => {
|
|
43
|
-
return openBlock(), createBlock(unref(DialogOverlay_default), mergeProps({ "data-slot": "dialog-overlay" }, unref(delegatedProps), {
|
|
44
|
-
class: unref(cn)("fixed inset-0 isolate 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
|
-
}), {
|
|
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: "DialogContent",
|
|
59
|
-
props: {
|
|
60
|
-
forceMount: { type: Boolean },
|
|
61
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
62
|
-
asChild: { type: Boolean },
|
|
63
|
-
as: {},
|
|
64
|
-
class: {},
|
|
65
|
-
showCloseButton: { type: Boolean, default: false }
|
|
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");
|
|
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({ "data-slot": "dialog-content" }, { ..._ctx.$attrs, ...unref(forwarded) }, {
|
|
78
|
-
class: unref(cn)(
|
|
79
|
-
"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-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded border border-border p-6 outline-none duration-200 sm:max-w-[425px]",
|
|
80
|
-
props.class
|
|
81
|
-
)
|
|
82
|
-
}), {
|
|
83
|
-
default: withCtx(() => [
|
|
84
|
-
renderSlot(_ctx.$slots, "default"),
|
|
85
|
-
props.showCloseButton ? (openBlock(), createBlock(unref(DialogClose_default), {
|
|
86
|
-
key: 0,
|
|
87
|
-
"data-slot": "dialog-close",
|
|
88
|
-
"as-child": ""
|
|
89
|
-
}, {
|
|
90
|
-
default: withCtx(() => [
|
|
91
|
-
createVNode(unref(_sfc_main$6), {
|
|
92
|
-
variant: "ghost",
|
|
93
|
-
size: "icon-sm",
|
|
94
|
-
class: "absolute top-4 right-4 p-0.5"
|
|
95
|
-
}, {
|
|
96
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
97
|
-
createElementVNode("span", { "aria-hidden": "true" }, "X", -1),
|
|
98
|
-
createElementVNode("span", { class: "sr-only" }, "Close", -1)
|
|
99
|
-
])),
|
|
100
|
-
_: 1
|
|
101
|
-
})
|
|
102
|
-
]),
|
|
103
|
-
_: 1
|
|
104
|
-
})) : createCommentVNode("", true)
|
|
105
|
-
]),
|
|
106
|
-
_: 3
|
|
107
|
-
}, 16, ["class"])
|
|
108
|
-
]),
|
|
109
|
-
_: 3
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
115
|
-
__name: "DialogDescription",
|
|
116
|
-
props: {
|
|
117
|
-
asChild: { type: Boolean },
|
|
118
|
-
as: {},
|
|
119
|
-
class: {}
|
|
120
|
-
},
|
|
121
|
-
setup(__props) {
|
|
122
|
-
const props = __props;
|
|
123
|
-
const delegatedProps = reactiveOmit(props, "class");
|
|
124
|
-
const forwardedProps = useForwardProps(delegatedProps);
|
|
125
|
-
return (_ctx, _cache) => {
|
|
126
|
-
return openBlock(), createBlock(unref(DialogDescription_default), mergeProps({ "data-slot": "dialog-description" }, unref(forwardedProps), {
|
|
127
|
-
class: unref(cn)("text-xs sm:text-sm leading-6 text-muted-foreground", props.class)
|
|
128
|
-
}), {
|
|
129
|
-
default: withCtx(() => [
|
|
130
|
-
renderSlot(_ctx.$slots, "default")
|
|
131
|
-
]),
|
|
132
|
-
_: 3
|
|
133
|
-
}, 16, ["class"]);
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
138
|
-
__name: "DialogHeader",
|
|
139
|
-
props: {
|
|
140
|
-
class: {}
|
|
141
|
-
},
|
|
142
|
-
setup(__props) {
|
|
143
|
-
const props = __props;
|
|
144
|
-
return (_ctx, _cache) => {
|
|
145
|
-
return openBlock(), createElementBlock("div", {
|
|
146
|
-
"data-slot": "dialog-header",
|
|
147
|
-
class: normalizeClass(unref(cn)("flex flex-col gap-1.5", props.class))
|
|
148
|
-
}, [
|
|
149
|
-
renderSlot(_ctx.$slots, "default")
|
|
150
|
-
], 2);
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
155
|
-
__name: "DialogTitle",
|
|
156
|
-
props: {
|
|
157
|
-
asChild: { type: Boolean },
|
|
158
|
-
as: {},
|
|
159
|
-
class: {}
|
|
160
|
-
},
|
|
161
|
-
setup(__props) {
|
|
162
|
-
const props = __props;
|
|
163
|
-
const delegatedProps = reactiveOmit(props, "class");
|
|
164
|
-
const forwardedProps = useForwardProps(delegatedProps);
|
|
165
|
-
return (_ctx, _cache) => {
|
|
166
|
-
return openBlock(), createBlock(unref(DialogTitle_default), mergeProps({ "data-slot": "dialog-title" }, unref(forwardedProps), {
|
|
167
|
-
class: unref(cn)("text-base font-semibold", props.class)
|
|
168
|
-
}), {
|
|
169
|
-
default: withCtx(() => [
|
|
170
|
-
renderSlot(_ctx.$slots, "default")
|
|
171
|
-
]),
|
|
172
|
-
_: 3
|
|
173
|
-
}, 16, ["class"]);
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
export {
|
|
178
|
-
_sfc_main$5 as _,
|
|
179
|
-
_sfc_main$3 as a,
|
|
180
|
-
_sfc_main$2 as b,
|
|
181
|
-
_sfc_main$1 as c,
|
|
182
|
-
_sfc_main$4 as d,
|
|
183
|
-
_sfc_main as e
|
|
184
|
-
};
|