@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
package/dist/sidebar.js
DELETED
|
@@ -1,807 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import { c as cva } from "./index-FpH8cK6B.js";
|
|
3
|
-
import { defineComponent, openBlock, createElementBlock, mergeProps, unref, renderSlot, createBlock, withCtx, createVNode, normalizeStyle, createTextVNode, createElementVNode, normalizeClass, normalizeProps, guardReactiveProps, Fragment, toDisplayString, resolveDynamicComponent, createCommentVNode, ref, computed } from "vue";
|
|
4
|
-
import { c as cn } from "./utils-Bz4m9VPB.js";
|
|
5
|
-
import { _ as _sfc_main$o, a as _sfc_main$p, c as _sfc_main$q, d as _sfc_main$r, b as _sfc_main$s } from "./SheetTitle.vue_vue_type_script_setup_true_lang-Ja7-gmXd.js";
|
|
6
|
-
import { c as createContext } from "./createContext-BabAT1K8.js";
|
|
7
|
-
import { P as Primitive } from "./Primitive-D3IcFg81.js";
|
|
8
|
-
import { _ as _sfc_main$t } from "./Input.vue_vue_type_script_setup_true_lang-KQETSF2I.js";
|
|
9
|
-
import { _ as _sfc_main$u, b as _sfc_main$v, a as _sfc_main$w, T as TooltipProvider_default } from "./TooltipTrigger.vue_vue_type_script_setup_true_lang-BMdZRPa3.js";
|
|
10
|
-
import { _ as _sfc_main$x } from "./Skeleton.vue_vue_type_script_setup_true_lang-BSbVyZz7.js";
|
|
11
|
-
import { g as useMediaQuery, a as useVModel, c as useEventListener, h as defaultDocument } from "./index-Dw56kNV0.js";
|
|
12
|
-
import { _ as _sfc_main$y } from "./Separator.vue_vue_type_script_setup_true_lang-D9BozdWD.js";
|
|
13
|
-
import { h as m7 } from "./index.min-CZ9FIOXr.js";
|
|
14
|
-
import { H as HugeiconsIcon } from "./HugeiconsIcon.vue-By2RXWWz.js";
|
|
15
|
-
import { Button as _sfc_main$z } from "./button.js";
|
|
16
|
-
import { r as reactiveOmit } from "./index-DDJjWaIl.js";
|
|
17
|
-
const SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
18
|
-
const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
19
|
-
const SIDEBAR_WIDTH = "16rem";
|
|
20
|
-
const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
21
|
-
const SIDEBAR_WIDTH_ICON = "3rem";
|
|
22
|
-
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
23
|
-
const [useSidebar, provideSidebarContext] = createContext("Sidebar");
|
|
24
|
-
const _hoisted_1 = ["data-state", "data-collapsible", "data-variant", "data-side"];
|
|
25
|
-
const _hoisted_2 = {
|
|
26
|
-
"data-sidebar": "sidebar",
|
|
27
|
-
class: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
|
|
28
|
-
};
|
|
29
|
-
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
30
|
-
...{
|
|
31
|
-
inheritAttrs: false
|
|
32
|
-
},
|
|
33
|
-
__name: "Sidebar",
|
|
34
|
-
props: {
|
|
35
|
-
side: { default: "left" },
|
|
36
|
-
variant: { default: "sidebar" },
|
|
37
|
-
collapsible: { default: "offcanvas" },
|
|
38
|
-
compact: { type: Boolean, default: false },
|
|
39
|
-
class: {}
|
|
40
|
-
},
|
|
41
|
-
setup(__props) {
|
|
42
|
-
const props = __props;
|
|
43
|
-
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
44
|
-
function handleMobileSidebarClick(event) {
|
|
45
|
-
const target = event.target;
|
|
46
|
-
if (target == null ? void 0 : target.closest('[data-sidebar="menu-button"]')) {
|
|
47
|
-
setOpenMobile(false);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
return (_ctx, _cache) => {
|
|
51
|
-
return _ctx.collapsible === "none" ? (openBlock(), createElementBlock("div", mergeProps({
|
|
52
|
-
key: 0,
|
|
53
|
-
"data-slot": "sidebar",
|
|
54
|
-
class: unref(cn)("group/sidebar-wrapper bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
|
|
55
|
-
}, _ctx.$attrs), [
|
|
56
|
-
renderSlot(_ctx.$slots, "default")
|
|
57
|
-
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$o), mergeProps({
|
|
58
|
-
key: 1,
|
|
59
|
-
open: unref(openMobile)
|
|
60
|
-
}, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
|
|
61
|
-
default: withCtx(() => [
|
|
62
|
-
createVNode(unref(_sfc_main$p), {
|
|
63
|
-
"data-sidebar": "sidebar",
|
|
64
|
-
"data-slot": "sidebar",
|
|
65
|
-
"data-mobile": "true",
|
|
66
|
-
"data-compact": props.compact ? "true" : "false",
|
|
67
|
-
side: _ctx.side,
|
|
68
|
-
class: "group/sidebar-wrapper border-sidebar-border bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
69
|
-
style: normalizeStyle({
|
|
70
|
-
"--sidebar-width": unref(SIDEBAR_WIDTH_MOBILE)
|
|
71
|
-
})
|
|
72
|
-
}, {
|
|
73
|
-
default: withCtx(() => [
|
|
74
|
-
createVNode(_sfc_main$q, { class: "sr-only" }, {
|
|
75
|
-
default: withCtx(() => [
|
|
76
|
-
createVNode(_sfc_main$r, null, {
|
|
77
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
78
|
-
createTextVNode("Sidebar")
|
|
79
|
-
])),
|
|
80
|
-
_: 1
|
|
81
|
-
}),
|
|
82
|
-
createVNode(_sfc_main$s, null, {
|
|
83
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
84
|
-
createTextVNode("Displays the mobile sidebar.")
|
|
85
|
-
])),
|
|
86
|
-
_: 1
|
|
87
|
-
})
|
|
88
|
-
]),
|
|
89
|
-
_: 1
|
|
90
|
-
}),
|
|
91
|
-
createElementVNode("div", {
|
|
92
|
-
class: "flex h-full w-full flex-col",
|
|
93
|
-
onClick: handleMobileSidebarClick
|
|
94
|
-
}, [
|
|
95
|
-
renderSlot(_ctx.$slots, "default")
|
|
96
|
-
])
|
|
97
|
-
]),
|
|
98
|
-
_: 3
|
|
99
|
-
}, 8, ["data-compact", "side", "style"])
|
|
100
|
-
]),
|
|
101
|
-
_: 3
|
|
102
|
-
}, 16, ["open", "onUpdate:open"])) : (openBlock(), createElementBlock("div", {
|
|
103
|
-
key: 2,
|
|
104
|
-
class: "group/sidebar-wrapper group peer text-sidebar-foreground hidden md:block",
|
|
105
|
-
"data-slot": "sidebar",
|
|
106
|
-
"data-state": unref(state),
|
|
107
|
-
"data-collapsible": unref(state) === "collapsed" ? _ctx.collapsible : "",
|
|
108
|
-
"data-variant": _ctx.variant,
|
|
109
|
-
"data-side": _ctx.side
|
|
110
|
-
}, [
|
|
111
|
-
createElementVNode("div", {
|
|
112
|
-
class: normalizeClass(unref(cn)(
|
|
113
|
-
"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
|
|
114
|
-
"group-data-[collapsible=offcanvas]:w-0",
|
|
115
|
-
"group-data-[side=right]:rotate-180",
|
|
116
|
-
_ctx.variant === "floating" || _ctx.variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
|
|
117
|
-
))
|
|
118
|
-
}, null, 2),
|
|
119
|
-
createElementVNode("div", mergeProps({
|
|
120
|
-
class: unref(cn)(
|
|
121
|
-
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
122
|
-
_ctx.side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
123
|
-
// Adjust the padding for floating and inset variants.
|
|
124
|
-
_ctx.variant === "floating" || _ctx.variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "border-sidebar-border group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
125
|
-
props.class
|
|
126
|
-
)
|
|
127
|
-
}, _ctx.$attrs), [
|
|
128
|
-
createElementVNode("div", _hoisted_2, [
|
|
129
|
-
renderSlot(_ctx.$slots, "default")
|
|
130
|
-
])
|
|
131
|
-
], 16)
|
|
132
|
-
], 8, _hoisted_1));
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
137
|
-
__name: "SidebarContent",
|
|
138
|
-
props: {
|
|
139
|
-
class: {}
|
|
140
|
-
},
|
|
141
|
-
setup(__props) {
|
|
142
|
-
const props = __props;
|
|
143
|
-
return (_ctx, _cache) => {
|
|
144
|
-
return openBlock(), createElementBlock("div", {
|
|
145
|
-
"data-slot": "sidebar-content",
|
|
146
|
-
"data-sidebar": "content",
|
|
147
|
-
class: normalizeClass(unref(cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[collapsible=icon]:overflow-hidden", props.class))
|
|
148
|
-
}, [
|
|
149
|
-
renderSlot(_ctx.$slots, "default")
|
|
150
|
-
], 2);
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
155
|
-
__name: "SidebarFooter",
|
|
156
|
-
props: {
|
|
157
|
-
class: {}
|
|
158
|
-
},
|
|
159
|
-
setup(__props) {
|
|
160
|
-
const props = __props;
|
|
161
|
-
return (_ctx, _cache) => {
|
|
162
|
-
return openBlock(), createElementBlock("div", {
|
|
163
|
-
"data-slot": "sidebar-footer",
|
|
164
|
-
"data-sidebar": "footer",
|
|
165
|
-
class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:p-2.5", props.class))
|
|
166
|
-
}, [
|
|
167
|
-
renderSlot(_ctx.$slots, "default")
|
|
168
|
-
], 2);
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
173
|
-
__name: "SidebarGroup",
|
|
174
|
-
props: {
|
|
175
|
-
class: {}
|
|
176
|
-
},
|
|
177
|
-
setup(__props) {
|
|
178
|
-
const props = __props;
|
|
179
|
-
return (_ctx, _cache) => {
|
|
180
|
-
return openBlock(), createElementBlock("div", {
|
|
181
|
-
"data-slot": "sidebar-group",
|
|
182
|
-
"data-sidebar": "group",
|
|
183
|
-
class: normalizeClass(unref(cn)("relative flex w-full min-w-0 flex-col p-2 group-data-[compact=true]/sidebar-wrapper:p-2.5", props.class))
|
|
184
|
-
}, [
|
|
185
|
-
renderSlot(_ctx.$slots, "default")
|
|
186
|
-
], 2);
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
191
|
-
__name: "SidebarGroupAction",
|
|
192
|
-
props: {
|
|
193
|
-
asChild: { type: Boolean },
|
|
194
|
-
as: {},
|
|
195
|
-
class: {}
|
|
196
|
-
},
|
|
197
|
-
setup(__props) {
|
|
198
|
-
const props = __props;
|
|
199
|
-
return (_ctx, _cache) => {
|
|
200
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
201
|
-
"data-slot": "sidebar-group-action",
|
|
202
|
-
"data-sidebar": "group-action",
|
|
203
|
-
as: _ctx.as,
|
|
204
|
-
"as-child": _ctx.asChild,
|
|
205
|
-
class: normalizeClass(unref(cn)(
|
|
206
|
-
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
207
|
-
"after:absolute after:-inset-2 md:after:hidden",
|
|
208
|
-
"group-data-[collapsible=icon]:hidden",
|
|
209
|
-
props.class
|
|
210
|
-
))
|
|
211
|
-
}, {
|
|
212
|
-
default: withCtx(() => [
|
|
213
|
-
renderSlot(_ctx.$slots, "default")
|
|
214
|
-
]),
|
|
215
|
-
_: 3
|
|
216
|
-
}, 8, ["as", "as-child", "class"]);
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
221
|
-
__name: "SidebarGroupContent",
|
|
222
|
-
props: {
|
|
223
|
-
class: {}
|
|
224
|
-
},
|
|
225
|
-
setup(__props) {
|
|
226
|
-
const props = __props;
|
|
227
|
-
return (_ctx, _cache) => {
|
|
228
|
-
return openBlock(), createElementBlock("div", {
|
|
229
|
-
"data-slot": "sidebar-group-content",
|
|
230
|
-
"data-sidebar": "group-content",
|
|
231
|
-
class: normalizeClass(unref(cn)("w-full text-sm", props.class))
|
|
232
|
-
}, [
|
|
233
|
-
renderSlot(_ctx.$slots, "default")
|
|
234
|
-
], 2);
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
239
|
-
__name: "SidebarGroupLabel",
|
|
240
|
-
props: {
|
|
241
|
-
asChild: { type: Boolean },
|
|
242
|
-
as: {},
|
|
243
|
-
class: {}
|
|
244
|
-
},
|
|
245
|
-
setup(__props) {
|
|
246
|
-
const props = __props;
|
|
247
|
-
return (_ctx, _cache) => {
|
|
248
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
249
|
-
"data-slot": "sidebar-group-label",
|
|
250
|
-
"data-sidebar": "group-label",
|
|
251
|
-
as: _ctx.as,
|
|
252
|
-
"as-child": _ctx.asChild,
|
|
253
|
-
class: normalizeClass(unref(cn)(
|
|
254
|
-
"text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-semibold outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 group-data-[compact=true]/sidebar-wrapper:h-7 group-data-[compact=true]/sidebar-wrapper:px-1.5 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
255
|
-
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
256
|
-
props.class
|
|
257
|
-
))
|
|
258
|
-
}, {
|
|
259
|
-
default: withCtx(() => [
|
|
260
|
-
renderSlot(_ctx.$slots, "default")
|
|
261
|
-
]),
|
|
262
|
-
_: 3
|
|
263
|
-
}, 8, ["as", "as-child", "class"]);
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
268
|
-
__name: "SidebarHeader",
|
|
269
|
-
props: {
|
|
270
|
-
class: {}
|
|
271
|
-
},
|
|
272
|
-
setup(__props) {
|
|
273
|
-
const props = __props;
|
|
274
|
-
return (_ctx, _cache) => {
|
|
275
|
-
return openBlock(), createElementBlock("div", {
|
|
276
|
-
"data-slot": "sidebar-header",
|
|
277
|
-
"data-sidebar": "header",
|
|
278
|
-
class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:p-2.5", props.class))
|
|
279
|
-
}, [
|
|
280
|
-
renderSlot(_ctx.$slots, "default")
|
|
281
|
-
], 2);
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
});
|
|
285
|
-
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
286
|
-
__name: "SidebarInput",
|
|
287
|
-
props: {
|
|
288
|
-
class: {}
|
|
289
|
-
},
|
|
290
|
-
setup(__props) {
|
|
291
|
-
const props = __props;
|
|
292
|
-
return (_ctx, _cache) => {
|
|
293
|
-
return openBlock(), createBlock(unref(_sfc_main$t), {
|
|
294
|
-
"data-slot": "sidebar-input",
|
|
295
|
-
"data-sidebar": "input",
|
|
296
|
-
class: normalizeClass(unref(cn)(
|
|
297
|
-
"bg-background h-8 w-full shadow-none group-data-[compact=true]/sidebar-wrapper:h-7 group-data-[compact=true]/sidebar-wrapper:text-xs",
|
|
298
|
-
props.class
|
|
299
|
-
))
|
|
300
|
-
}, {
|
|
301
|
-
default: withCtx(() => [
|
|
302
|
-
renderSlot(_ctx.$slots, "default")
|
|
303
|
-
]),
|
|
304
|
-
_: 3
|
|
305
|
-
}, 8, ["class"]);
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
310
|
-
__name: "SidebarInset",
|
|
311
|
-
props: {
|
|
312
|
-
class: {}
|
|
313
|
-
},
|
|
314
|
-
setup(__props) {
|
|
315
|
-
const props = __props;
|
|
316
|
-
return (_ctx, _cache) => {
|
|
317
|
-
return openBlock(), createElementBlock("main", {
|
|
318
|
-
"data-slot": "sidebar-inset",
|
|
319
|
-
class: normalizeClass(unref(cn)(
|
|
320
|
-
"bg-background relative flex w-full flex-1 flex-col",
|
|
321
|
-
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
322
|
-
props.class
|
|
323
|
-
))
|
|
324
|
-
}, [
|
|
325
|
-
renderSlot(_ctx.$slots, "default")
|
|
326
|
-
], 2);
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
});
|
|
330
|
-
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
331
|
-
__name: "SidebarMenu",
|
|
332
|
-
props: {
|
|
333
|
-
class: {}
|
|
334
|
-
},
|
|
335
|
-
setup(__props) {
|
|
336
|
-
const props = __props;
|
|
337
|
-
return (_ctx, _cache) => {
|
|
338
|
-
return openBlock(), createElementBlock("ul", {
|
|
339
|
-
"data-slot": "sidebar-menu",
|
|
340
|
-
"data-sidebar": "menu",
|
|
341
|
-
class: normalizeClass(unref(cn)("flex w-full min-w-0 flex-col gap-1", props.class))
|
|
342
|
-
}, [
|
|
343
|
-
renderSlot(_ctx.$slots, "default")
|
|
344
|
-
], 2);
|
|
345
|
-
};
|
|
346
|
-
}
|
|
347
|
-
});
|
|
348
|
-
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
349
|
-
__name: "SidebarMenuAction",
|
|
350
|
-
props: {
|
|
351
|
-
asChild: { type: Boolean },
|
|
352
|
-
as: { default: "button" },
|
|
353
|
-
showOnHover: { type: Boolean },
|
|
354
|
-
class: {}
|
|
355
|
-
},
|
|
356
|
-
setup(__props) {
|
|
357
|
-
const props = __props;
|
|
358
|
-
return (_ctx, _cache) => {
|
|
359
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
360
|
-
"data-slot": "sidebar-menu-action",
|
|
361
|
-
"data-sidebar": "menu-action",
|
|
362
|
-
class: normalizeClass(unref(cn)(
|
|
363
|
-
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
364
|
-
"after:absolute after:-inset-2 md:after:hidden",
|
|
365
|
-
"peer-data-[size=sm]/menu-button:top-1",
|
|
366
|
-
"peer-data-[size=default]/menu-button:top-1.5",
|
|
367
|
-
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
368
|
-
"group-data-[compact=true]/sidebar-wrapper:top-1",
|
|
369
|
-
"group-data-[collapsible=icon]:hidden",
|
|
370
|
-
_ctx.showOnHover && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
|
|
371
|
-
props.class
|
|
372
|
-
)),
|
|
373
|
-
as: _ctx.as,
|
|
374
|
-
"as-child": _ctx.asChild
|
|
375
|
-
}, {
|
|
376
|
-
default: withCtx(() => [
|
|
377
|
-
renderSlot(_ctx.$slots, "default")
|
|
378
|
-
]),
|
|
379
|
-
_: 3
|
|
380
|
-
}, 8, ["class", "as", "as-child"]);
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
|
-
});
|
|
384
|
-
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
385
|
-
__name: "SidebarMenuBadge",
|
|
386
|
-
props: {
|
|
387
|
-
class: {}
|
|
388
|
-
},
|
|
389
|
-
setup(__props) {
|
|
390
|
-
const props = __props;
|
|
391
|
-
return (_ctx, _cache) => {
|
|
392
|
-
return openBlock(), createElementBlock("div", {
|
|
393
|
-
"data-slot": "sidebar-menu-badge",
|
|
394
|
-
"data-sidebar": "menu-badge",
|
|
395
|
-
class: normalizeClass(unref(cn)(
|
|
396
|
-
"text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-semibold tabular-nums select-none",
|
|
397
|
-
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
398
|
-
"peer-data-[size=sm]/menu-button:top-1",
|
|
399
|
-
"peer-data-[size=default]/menu-button:top-1.5",
|
|
400
|
-
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
401
|
-
"group-data-[compact=true]/sidebar-wrapper:top-1",
|
|
402
|
-
"group-data-[collapsible=icon]:hidden",
|
|
403
|
-
props.class
|
|
404
|
-
))
|
|
405
|
-
}, [
|
|
406
|
-
renderSlot(_ctx.$slots, "default")
|
|
407
|
-
], 2);
|
|
408
|
-
};
|
|
409
|
-
}
|
|
410
|
-
});
|
|
411
|
-
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
412
|
-
__name: "SidebarMenuButtonChild",
|
|
413
|
-
props: {
|
|
414
|
-
variant: { default: "default" },
|
|
415
|
-
size: { default: "default" },
|
|
416
|
-
isActive: { type: Boolean },
|
|
417
|
-
class: {},
|
|
418
|
-
asChild: { type: Boolean },
|
|
419
|
-
as: { default: "button" }
|
|
420
|
-
},
|
|
421
|
-
setup(__props) {
|
|
422
|
-
const props = __props;
|
|
423
|
-
return (_ctx, _cache) => {
|
|
424
|
-
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
425
|
-
"data-slot": "sidebar-menu-button",
|
|
426
|
-
"data-sidebar": "menu-button",
|
|
427
|
-
"data-size": _ctx.size,
|
|
428
|
-
"data-active": _ctx.isActive,
|
|
429
|
-
class: unref(cn)(unref(sidebarMenuButtonVariants)({ variant: _ctx.variant, size: _ctx.size }), props.class),
|
|
430
|
-
as: _ctx.as,
|
|
431
|
-
"as-child": _ctx.asChild
|
|
432
|
-
}, _ctx.$attrs), {
|
|
433
|
-
default: withCtx(() => [
|
|
434
|
-
renderSlot(_ctx.$slots, "default")
|
|
435
|
-
]),
|
|
436
|
-
_: 3
|
|
437
|
-
}, 16, ["data-size", "data-active", "class", "as", "as-child"]);
|
|
438
|
-
};
|
|
439
|
-
}
|
|
440
|
-
});
|
|
441
|
-
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
442
|
-
...{
|
|
443
|
-
inheritAttrs: false
|
|
444
|
-
},
|
|
445
|
-
__name: "SidebarMenuButton",
|
|
446
|
-
props: {
|
|
447
|
-
variant: { default: "default" },
|
|
448
|
-
size: { default: "default" },
|
|
449
|
-
isActive: { type: Boolean },
|
|
450
|
-
class: {},
|
|
451
|
-
asChild: { type: Boolean },
|
|
452
|
-
as: { default: "button" },
|
|
453
|
-
tooltip: {}
|
|
454
|
-
},
|
|
455
|
-
setup(__props) {
|
|
456
|
-
const props = __props;
|
|
457
|
-
const { isMobile, state } = useSidebar();
|
|
458
|
-
const delegatedProps = reactiveOmit(props, "tooltip");
|
|
459
|
-
return (_ctx, _cache) => {
|
|
460
|
-
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$a, normalizeProps(mergeProps({ key: 0 }, { ...unref(delegatedProps), ..._ctx.$attrs })), {
|
|
461
|
-
default: withCtx(() => [
|
|
462
|
-
renderSlot(_ctx.$slots, "default")
|
|
463
|
-
]),
|
|
464
|
-
_: 3
|
|
465
|
-
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$u), { key: 1 }, {
|
|
466
|
-
default: withCtx(() => [
|
|
467
|
-
createVNode(unref(_sfc_main$v), { "as-child": "" }, {
|
|
468
|
-
default: withCtx(() => [
|
|
469
|
-
createVNode(_sfc_main$a, normalizeProps(guardReactiveProps({ ...unref(delegatedProps), ..._ctx.$attrs })), {
|
|
470
|
-
default: withCtx(() => [
|
|
471
|
-
renderSlot(_ctx.$slots, "default")
|
|
472
|
-
]),
|
|
473
|
-
_: 3
|
|
474
|
-
}, 16)
|
|
475
|
-
]),
|
|
476
|
-
_: 3
|
|
477
|
-
}),
|
|
478
|
-
createVNode(unref(_sfc_main$w), {
|
|
479
|
-
side: "right",
|
|
480
|
-
align: "center",
|
|
481
|
-
hidden: unref(state) !== "collapsed" || unref(isMobile)
|
|
482
|
-
}, {
|
|
483
|
-
default: withCtx(() => [
|
|
484
|
-
typeof _ctx.tooltip === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
485
|
-
createTextVNode(toDisplayString(_ctx.tooltip), 1)
|
|
486
|
-
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.tooltip), { key: 1 }))
|
|
487
|
-
]),
|
|
488
|
-
_: 1
|
|
489
|
-
}, 8, ["hidden"])
|
|
490
|
-
]),
|
|
491
|
-
_: 3
|
|
492
|
-
}));
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
});
|
|
496
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
497
|
-
__name: "SidebarMenuItem",
|
|
498
|
-
props: {
|
|
499
|
-
class: {}
|
|
500
|
-
},
|
|
501
|
-
setup(__props) {
|
|
502
|
-
const props = __props;
|
|
503
|
-
return (_ctx, _cache) => {
|
|
504
|
-
return openBlock(), createElementBlock("li", {
|
|
505
|
-
"data-slot": "sidebar-menu-item",
|
|
506
|
-
"data-sidebar": "menu-item",
|
|
507
|
-
class: normalizeClass(unref(cn)("group/menu-item relative", props.class))
|
|
508
|
-
}, [
|
|
509
|
-
renderSlot(_ctx.$slots, "default")
|
|
510
|
-
], 2);
|
|
511
|
-
};
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
const width = "72%";
|
|
515
|
-
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
516
|
-
__name: "SidebarMenuSkeleton",
|
|
517
|
-
props: {
|
|
518
|
-
showIcon: { type: Boolean },
|
|
519
|
-
class: {}
|
|
520
|
-
},
|
|
521
|
-
setup(__props) {
|
|
522
|
-
const props = __props;
|
|
523
|
-
return (_ctx, _cache) => {
|
|
524
|
-
return openBlock(), createElementBlock("div", {
|
|
525
|
-
"data-slot": "sidebar-menu-skeleton",
|
|
526
|
-
"data-sidebar": "menu-skeleton",
|
|
527
|
-
class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2 group-data-[compact=true]/sidebar-wrapper:h-7 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:px-1.5", props.class))
|
|
528
|
-
}, [
|
|
529
|
-
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$x), {
|
|
530
|
-
key: 0,
|
|
531
|
-
class: "size-4 rounded-md group-data-[compact=true]/sidebar-wrapper:size-3.5",
|
|
532
|
-
"data-sidebar": "menu-skeleton-icon"
|
|
533
|
-
})) : createCommentVNode("", true),
|
|
534
|
-
createVNode(unref(_sfc_main$x), {
|
|
535
|
-
class: "h-4 max-w-(--skeleton-width) flex-1",
|
|
536
|
-
"data-sidebar": "menu-skeleton-text",
|
|
537
|
-
style: normalizeStyle({ "--skeleton-width": width })
|
|
538
|
-
}, null, 8, ["style"])
|
|
539
|
-
], 2);
|
|
540
|
-
};
|
|
541
|
-
}
|
|
542
|
-
});
|
|
543
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
544
|
-
__name: "SidebarMenuSub",
|
|
545
|
-
props: {
|
|
546
|
-
class: {}
|
|
547
|
-
},
|
|
548
|
-
setup(__props) {
|
|
549
|
-
const props = __props;
|
|
550
|
-
return (_ctx, _cache) => {
|
|
551
|
-
return openBlock(), createElementBlock("ul", {
|
|
552
|
-
"data-slot": "sidebar-menu-sub",
|
|
553
|
-
"data-sidebar": "menu-badge",
|
|
554
|
-
class: normalizeClass(unref(cn)(
|
|
555
|
-
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
|
|
556
|
-
"group-data-[collapsible=icon]:hidden",
|
|
557
|
-
props.class
|
|
558
|
-
))
|
|
559
|
-
}, [
|
|
560
|
-
renderSlot(_ctx.$slots, "default")
|
|
561
|
-
], 2);
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
});
|
|
565
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
566
|
-
__name: "SidebarMenuSubButton",
|
|
567
|
-
props: {
|
|
568
|
-
asChild: { type: Boolean },
|
|
569
|
-
as: { default: "a" },
|
|
570
|
-
size: { default: "md" },
|
|
571
|
-
isActive: { type: Boolean },
|
|
572
|
-
class: {}
|
|
573
|
-
},
|
|
574
|
-
setup(__props) {
|
|
575
|
-
const props = __props;
|
|
576
|
-
return (_ctx, _cache) => {
|
|
577
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
578
|
-
"data-slot": "sidebar-menu-sub-button",
|
|
579
|
-
"data-sidebar": "menu-sub-button",
|
|
580
|
-
as: _ctx.as,
|
|
581
|
-
"as-child": _ctx.asChild,
|
|
582
|
-
"data-size": _ctx.size,
|
|
583
|
-
"data-active": _ctx.isActive,
|
|
584
|
-
class: normalizeClass(unref(cn)(
|
|
585
|
-
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex min-h-7 min-w-0 -translate-x-px items-center gap-2 rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[compact=true]/sidebar-wrapper:min-h-6 group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:px-1.5 group-data-[compact=true]/sidebar-wrapper:[&>svg]:size-3.5 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
586
|
-
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
587
|
-
_ctx.size === "sm" && "text-xs",
|
|
588
|
-
_ctx.size === "md" && "text-sm group-data-[compact=true]/sidebar-wrapper:text-xs",
|
|
589
|
-
"group-data-[collapsible=icon]:hidden",
|
|
590
|
-
props.class
|
|
591
|
-
))
|
|
592
|
-
}, {
|
|
593
|
-
default: withCtx(() => [
|
|
594
|
-
renderSlot(_ctx.$slots, "default")
|
|
595
|
-
]),
|
|
596
|
-
_: 3
|
|
597
|
-
}, 8, ["as", "as-child", "data-size", "data-active", "class"]);
|
|
598
|
-
};
|
|
599
|
-
}
|
|
600
|
-
});
|
|
601
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
602
|
-
__name: "SidebarMenuSubItem",
|
|
603
|
-
props: {
|
|
604
|
-
class: {}
|
|
605
|
-
},
|
|
606
|
-
setup(__props) {
|
|
607
|
-
const props = __props;
|
|
608
|
-
return (_ctx, _cache) => {
|
|
609
|
-
return openBlock(), createElementBlock("li", {
|
|
610
|
-
"data-slot": "sidebar-menu-sub-item",
|
|
611
|
-
"data-sidebar": "menu-sub-item",
|
|
612
|
-
class: normalizeClass(unref(cn)("group/menu-sub-item relative", props.class))
|
|
613
|
-
}, [
|
|
614
|
-
renderSlot(_ctx.$slots, "default")
|
|
615
|
-
], 2);
|
|
616
|
-
};
|
|
617
|
-
}
|
|
618
|
-
});
|
|
619
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
620
|
-
__name: "SidebarProvider",
|
|
621
|
-
props: {
|
|
622
|
-
defaultOpen: { type: Boolean, default: !((_a = defaultDocument) == null ? void 0 : _a.cookie.includes(`${SIDEBAR_COOKIE_NAME}=false`)) },
|
|
623
|
-
open: { type: Boolean, default: void 0 },
|
|
624
|
-
compact: { type: Boolean, default: false },
|
|
625
|
-
class: {}
|
|
626
|
-
},
|
|
627
|
-
emits: ["update:open"],
|
|
628
|
-
setup(__props, { emit: __emit }) {
|
|
629
|
-
const props = __props;
|
|
630
|
-
const emits = __emit;
|
|
631
|
-
const isMobile = useMediaQuery("(max-width: 768px)");
|
|
632
|
-
const openMobile = ref(false);
|
|
633
|
-
const open = useVModel(props, "open", emits, {
|
|
634
|
-
defaultValue: props.defaultOpen ?? false,
|
|
635
|
-
passive: props.open === void 0
|
|
636
|
-
});
|
|
637
|
-
function setOpen(value) {
|
|
638
|
-
open.value = value;
|
|
639
|
-
document.cookie = `${SIDEBAR_COOKIE_NAME}=${open.value}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
|
|
640
|
-
}
|
|
641
|
-
function setOpenMobile(value) {
|
|
642
|
-
openMobile.value = value;
|
|
643
|
-
}
|
|
644
|
-
function toggleSidebar() {
|
|
645
|
-
return isMobile.value ? setOpenMobile(!openMobile.value) : setOpen(!open.value);
|
|
646
|
-
}
|
|
647
|
-
useEventListener("keydown", (event) => {
|
|
648
|
-
if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
|
|
649
|
-
event.preventDefault();
|
|
650
|
-
toggleSidebar();
|
|
651
|
-
}
|
|
652
|
-
});
|
|
653
|
-
const state = computed(() => open.value ? "expanded" : "collapsed");
|
|
654
|
-
provideSidebarContext({
|
|
655
|
-
state,
|
|
656
|
-
open,
|
|
657
|
-
setOpen,
|
|
658
|
-
isMobile,
|
|
659
|
-
openMobile,
|
|
660
|
-
setOpenMobile,
|
|
661
|
-
toggleSidebar
|
|
662
|
-
});
|
|
663
|
-
return (_ctx, _cache) => {
|
|
664
|
-
return openBlock(), createBlock(unref(TooltipProvider_default), { "delay-duration": 0 }, {
|
|
665
|
-
default: withCtx(() => [
|
|
666
|
-
createElementVNode("div", mergeProps({
|
|
667
|
-
"data-slot": "sidebar-wrapper",
|
|
668
|
-
style: {
|
|
669
|
-
"--sidebar-width": unref(SIDEBAR_WIDTH),
|
|
670
|
-
"--sidebar-width-icon": unref(SIDEBAR_WIDTH_ICON)
|
|
671
|
-
},
|
|
672
|
-
class: unref(cn)("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", props.class)
|
|
673
|
-
}, _ctx.$attrs), [
|
|
674
|
-
renderSlot(_ctx.$slots, "default")
|
|
675
|
-
], 16)
|
|
676
|
-
]),
|
|
677
|
-
_: 3
|
|
678
|
-
});
|
|
679
|
-
};
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
683
|
-
__name: "SidebarRail",
|
|
684
|
-
props: {
|
|
685
|
-
class: {}
|
|
686
|
-
},
|
|
687
|
-
setup(__props) {
|
|
688
|
-
const props = __props;
|
|
689
|
-
const { toggleSidebar } = useSidebar();
|
|
690
|
-
return (_ctx, _cache) => {
|
|
691
|
-
return openBlock(), createElementBlock("button", {
|
|
692
|
-
"data-sidebar": "rail",
|
|
693
|
-
"data-slot": "sidebar-rail",
|
|
694
|
-
"aria-label": "Toggle Sidebar",
|
|
695
|
-
tabindex: -1,
|
|
696
|
-
title: "Toggle Sidebar",
|
|
697
|
-
class: normalizeClass(unref(cn)(
|
|
698
|
-
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
699
|
-
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
700
|
-
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
701
|
-
"hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
|
|
702
|
-
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
703
|
-
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
|
|
704
|
-
props.class
|
|
705
|
-
)),
|
|
706
|
-
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
707
|
-
(...args) => unref(toggleSidebar) && unref(toggleSidebar)(...args))
|
|
708
|
-
}, [
|
|
709
|
-
renderSlot(_ctx.$slots, "default")
|
|
710
|
-
], 2);
|
|
711
|
-
};
|
|
712
|
-
}
|
|
713
|
-
});
|
|
714
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
715
|
-
__name: "SidebarSeparator",
|
|
716
|
-
props: {
|
|
717
|
-
class: {}
|
|
718
|
-
},
|
|
719
|
-
setup(__props) {
|
|
720
|
-
const props = __props;
|
|
721
|
-
return (_ctx, _cache) => {
|
|
722
|
-
return openBlock(), createBlock(unref(_sfc_main$y), {
|
|
723
|
-
"data-slot": "sidebar-separator",
|
|
724
|
-
"data-sidebar": "separator",
|
|
725
|
-
class: normalizeClass(unref(cn)("bg-sidebar-border mx-2 w-auto", props.class))
|
|
726
|
-
}, {
|
|
727
|
-
default: withCtx(() => [
|
|
728
|
-
renderSlot(_ctx.$slots, "default")
|
|
729
|
-
]),
|
|
730
|
-
_: 3
|
|
731
|
-
}, 8, ["class"]);
|
|
732
|
-
};
|
|
733
|
-
}
|
|
734
|
-
});
|
|
735
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
736
|
-
__name: "SidebarTrigger",
|
|
737
|
-
props: {
|
|
738
|
-
class: {}
|
|
739
|
-
},
|
|
740
|
-
setup(__props) {
|
|
741
|
-
const props = __props;
|
|
742
|
-
const { toggleSidebar } = useSidebar();
|
|
743
|
-
return (_ctx, _cache) => {
|
|
744
|
-
return openBlock(), createBlock(unref(_sfc_main$z), {
|
|
745
|
-
"data-sidebar": "trigger",
|
|
746
|
-
"data-slot": "sidebar-trigger",
|
|
747
|
-
variant: "secondary",
|
|
748
|
-
size: "icon",
|
|
749
|
-
class: normalizeClass(unref(cn)(props.class)),
|
|
750
|
-
onClick: unref(toggleSidebar)
|
|
751
|
-
}, {
|
|
752
|
-
default: withCtx(() => [
|
|
753
|
-
createVNode(unref(HugeiconsIcon), { icon: unref(m7) }, null, 8, ["icon"]),
|
|
754
|
-
_cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Toggle Sidebar", -1))
|
|
755
|
-
]),
|
|
756
|
-
_: 1
|
|
757
|
-
}, 8, ["class", "onClick"]);
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
});
|
|
761
|
-
const sidebarMenuButtonVariants = cva(
|
|
762
|
-
"peer/menu-button flex w-full items-center gap-2 rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,min-height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-semibold data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! group-data-[compact=true]/sidebar-wrapper:gap-1.5 group-data-[compact=true]/sidebar-wrapper:p-2.5 group-data-[compact=true]/sidebar-wrapper:[&>svg]:size-3.5 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
763
|
-
{
|
|
764
|
-
variants: {
|
|
765
|
-
variant: {
|
|
766
|
-
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
767
|
-
outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
|
|
768
|
-
},
|
|
769
|
-
size: {
|
|
770
|
-
default: "min-h-8 text-sm group-data-[compact=true]/sidebar-wrapper:min-h-7 group-data-[compact=true]/sidebar-wrapper:text-xs",
|
|
771
|
-
sm: "min-h-7 text-xs group-data-[compact=true]/sidebar-wrapper:min-h-6",
|
|
772
|
-
lg: "min-h-12 text-sm group-data-[compact=true]/sidebar-wrapper:min-h-10 group-data-[collapsible=icon]:p-0!"
|
|
773
|
-
}
|
|
774
|
-
},
|
|
775
|
-
defaultVariants: {
|
|
776
|
-
variant: "default",
|
|
777
|
-
size: "default"
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
);
|
|
781
|
-
export {
|
|
782
|
-
_sfc_main$n as Sidebar,
|
|
783
|
-
_sfc_main$m as SidebarContent,
|
|
784
|
-
_sfc_main$l as SidebarFooter,
|
|
785
|
-
_sfc_main$k as SidebarGroup,
|
|
786
|
-
_sfc_main$j as SidebarGroupAction,
|
|
787
|
-
_sfc_main$i as SidebarGroupContent,
|
|
788
|
-
_sfc_main$h as SidebarGroupLabel,
|
|
789
|
-
_sfc_main$g as SidebarHeader,
|
|
790
|
-
_sfc_main$f as SidebarInput,
|
|
791
|
-
_sfc_main$e as SidebarInset,
|
|
792
|
-
_sfc_main$d as SidebarMenu,
|
|
793
|
-
_sfc_main$c as SidebarMenuAction,
|
|
794
|
-
_sfc_main$b as SidebarMenuBadge,
|
|
795
|
-
_sfc_main$9 as SidebarMenuButton,
|
|
796
|
-
_sfc_main$8 as SidebarMenuItem,
|
|
797
|
-
_sfc_main$7 as SidebarMenuSkeleton,
|
|
798
|
-
_sfc_main$6 as SidebarMenuSub,
|
|
799
|
-
_sfc_main$5 as SidebarMenuSubButton,
|
|
800
|
-
_sfc_main$4 as SidebarMenuSubItem,
|
|
801
|
-
_sfc_main$3 as SidebarProvider,
|
|
802
|
-
_sfc_main$2 as SidebarRail,
|
|
803
|
-
_sfc_main$1 as SidebarSeparator,
|
|
804
|
-
_sfc_main as SidebarTrigger,
|
|
805
|
-
sidebarMenuButtonVariants,
|
|
806
|
-
useSidebar
|
|
807
|
-
};
|