@nuxt/ui 4.0.1 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/templates.mjs +16 -4
- package/dist/module.d.mts +25 -0
- package/dist/module.json +2 -2
- package/dist/module.mjs +7 -4
- package/dist/runtime/components/Accordion.d.vue.ts +7 -1
- package/dist/runtime/components/Accordion.vue +13 -12
- package/dist/runtime/components/Accordion.vue.d.ts +7 -1
- package/dist/runtime/components/Alert.d.vue.ts +4 -4
- package/dist/runtime/components/Alert.vue +10 -9
- package/dist/runtime/components/Alert.vue.d.ts +4 -4
- package/dist/runtime/components/App.d.vue.ts +1 -1
- package/dist/runtime/components/App.vue +2 -1
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/AuthForm.d.vue.ts +12 -9
- package/dist/runtime/components/AuthForm.vue +29 -21
- package/dist/runtime/components/AuthForm.vue.d.ts +12 -9
- package/dist/runtime/components/Avatar.d.vue.ts +7 -5
- package/dist/runtime/components/Avatar.vue +14 -5
- package/dist/runtime/components/Avatar.vue.d.ts +7 -5
- package/dist/runtime/components/AvatarGroup.vue +3 -3
- package/dist/runtime/components/Badge.d.vue.ts +9 -3
- package/dist/runtime/components/Badge.vue +8 -8
- package/dist/runtime/components/Badge.vue.d.ts +9 -3
- package/dist/runtime/components/Banner.d.vue.ts +4 -2
- package/dist/runtime/components/Banner.vue +10 -9
- package/dist/runtime/components/Banner.vue.d.ts +4 -2
- package/dist/runtime/components/BlogPost.d.vue.ts +9 -3
- package/dist/runtime/components/BlogPost.vue +21 -12
- package/dist/runtime/components/BlogPost.vue.d.ts +9 -3
- package/dist/runtime/components/BlogPosts.d.vue.ts +22 -13
- package/dist/runtime/components/BlogPosts.vue +8 -2
- package/dist/runtime/components/BlogPosts.vue.d.ts +22 -13
- package/dist/runtime/components/Breadcrumb.d.vue.ts +19 -4
- package/dist/runtime/components/Breadcrumb.vue +14 -14
- package/dist/runtime/components/Breadcrumb.vue.d.ts +19 -4
- package/dist/runtime/components/Button.d.vue.ts +9 -3
- package/dist/runtime/components/Button.vue +9 -7
- package/dist/runtime/components/Button.vue.d.ts +9 -3
- package/dist/runtime/components/Calendar.d.vue.ts +4 -0
- package/dist/runtime/components/Calendar.vue +15 -9
- package/dist/runtime/components/Calendar.vue.d.ts +4 -0
- package/dist/runtime/components/Card.vue +4 -4
- package/dist/runtime/components/Carousel.vue +10 -5
- package/dist/runtime/components/ChangelogVersion.d.vue.ts +12 -4
- package/dist/runtime/components/ChangelogVersion.vue +25 -17
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +12 -4
- package/dist/runtime/components/ChangelogVersions.d.vue.ts +8 -36
- package/dist/runtime/components/ChangelogVersions.vue +6 -6
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +8 -36
- package/dist/runtime/components/ChatMessage.d.vue.ts +1 -0
- package/dist/runtime/components/ChatMessage.vue +8 -8
- package/dist/runtime/components/ChatMessage.vue.d.ts +1 -0
- package/dist/runtime/components/ChatMessages.d.vue.ts +14 -15
- package/dist/runtime/components/ChatMessages.vue +28 -10
- package/dist/runtime/components/ChatMessages.vue.d.ts +14 -15
- package/dist/runtime/components/ChatPalette.vue +3 -3
- package/dist/runtime/components/ChatPrompt.d.vue.ts +3 -6
- package/dist/runtime/components/ChatPrompt.vue +23 -14
- package/dist/runtime/components/ChatPrompt.vue.d.ts +3 -6
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +4 -4
- package/dist/runtime/components/ChatPromptSubmit.vue +51 -4
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +4 -4
- package/dist/runtime/components/Checkbox.d.vue.ts +2 -1
- package/dist/runtime/components/Checkbox.vue +9 -8
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -1
- package/dist/runtime/components/CheckboxGroup.vue +7 -4
- package/dist/runtime/components/Chip.vue +2 -2
- package/dist/runtime/components/Collapsible.vue +2 -2
- package/dist/runtime/components/ColorPicker.vue +7 -3
- package/dist/runtime/components/CommandPalette.d.vue.ts +43 -12
- package/dist/runtime/components/CommandPalette.vue +175 -84
- package/dist/runtime/components/CommandPalette.vue.d.ts +43 -12
- package/dist/runtime/components/ContextMenu.d.vue.ts +28 -6
- package/dist/runtime/components/ContextMenu.vue +2 -0
- package/dist/runtime/components/ContextMenu.vue.d.ts +28 -6
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +2 -3
- package/dist/runtime/components/ContextMenuContent.vue +35 -23
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +2 -3
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +9 -3
- package/dist/runtime/components/DashboardNavbar.vue +10 -9
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +9 -3
- package/dist/runtime/components/DashboardPanel.vue +3 -1
- package/dist/runtime/components/DashboardSearch.d.vue.ts +3 -1
- package/dist/runtime/components/DashboardSearch.vue +4 -3
- package/dist/runtime/components/DashboardSearch.vue.d.ts +3 -1
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +2 -3
- package/dist/runtime/components/DashboardSearchButton.vue +48 -10
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +2 -3
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +5 -1
- package/dist/runtime/components/DashboardSidebar.vue +13 -10
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +5 -1
- package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +7 -4
- package/dist/runtime/components/DashboardSidebarCollapse.vue +51 -7
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +7 -4
- package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +7 -4
- package/dist/runtime/components/DashboardSidebarToggle.vue +52 -7
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +7 -4
- package/dist/runtime/components/DashboardToolbar.vue +3 -3
- package/dist/runtime/components/Drawer.d.vue.ts +1 -1
- package/dist/runtime/components/Drawer.vue +11 -14
- package/dist/runtime/components/Drawer.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.d.vue.ts +28 -6
- package/dist/runtime/components/DropdownMenu.vue +3 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +28 -6
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +8 -5
- package/dist/runtime/components/DropdownMenuContent.vue +35 -23
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +8 -5
- package/dist/runtime/components/Empty.d.vue.ts +53 -0
- package/dist/runtime/components/Empty.vue +68 -0
- package/dist/runtime/components/Empty.vue.d.ts +53 -0
- package/dist/runtime/components/Error.d.vue.ts +1 -2
- package/dist/runtime/components/Error.vue +6 -6
- package/dist/runtime/components/Error.vue.d.ts +1 -2
- package/dist/runtime/components/FileUpload.d.vue.ts +14 -3
- package/dist/runtime/components/FileUpload.vue +41 -30
- package/dist/runtime/components/FileUpload.vue.d.ts +14 -3
- package/dist/runtime/components/Footer.vue +7 -7
- package/dist/runtime/components/FooterColumns.d.vue.ts +9 -2
- package/dist/runtime/components/FooterColumns.vue +13 -13
- package/dist/runtime/components/FooterColumns.vue.d.ts +9 -2
- package/dist/runtime/components/Form.d.vue.ts +3 -2
- package/dist/runtime/components/Form.vue +3 -4
- package/dist/runtime/components/Form.vue.d.ts +3 -2
- package/dist/runtime/components/FormField.vue +8 -8
- package/dist/runtime/components/Header.d.vue.ts +4 -1
- package/dist/runtime/components/Header.vue +12 -11
- package/dist/runtime/components/Header.vue.d.ts +4 -1
- package/dist/runtime/components/Input.d.vue.ts +15 -9
- package/dist/runtime/components/Input.vue +12 -11
- package/dist/runtime/components/Input.vue.d.ts +15 -9
- package/dist/runtime/components/InputDate.d.vue.ts +89 -0
- package/dist/runtime/components/InputDate.vue +161 -0
- package/dist/runtime/components/InputDate.vue.d.ts +89 -0
- package/dist/runtime/components/InputMenu.d.vue.ts +46 -137
- package/dist/runtime/components/InputMenu.vue +143 -83
- package/dist/runtime/components/InputMenu.vue.d.ts +46 -137
- package/dist/runtime/components/InputNumber.d.vue.ts +26 -127
- package/dist/runtime/components/InputNumber.vue +13 -12
- package/dist/runtime/components/InputNumber.vue.d.ts +26 -127
- package/dist/runtime/components/InputTags.d.vue.ts +15 -111
- package/dist/runtime/components/InputTags.vue +24 -20
- package/dist/runtime/components/InputTags.vue.d.ts +15 -111
- package/dist/runtime/components/InputTime.d.vue.ts +72 -0
- package/dist/runtime/components/InputTime.vue +137 -0
- package/dist/runtime/components/InputTime.vue.d.ts +72 -0
- package/dist/runtime/components/Link.d.vue.ts +4 -49
- package/dist/runtime/components/Link.vue +1 -0
- package/dist/runtime/components/Link.vue.d.ts +4 -49
- package/dist/runtime/components/Main.d.vue.ts +2 -4
- package/dist/runtime/components/Main.vue +1 -1
- package/dist/runtime/components/Main.vue.d.ts +2 -4
- package/dist/runtime/components/Marquee.d.vue.ts +1 -1
- package/dist/runtime/components/Marquee.vue +2 -6
- package/dist/runtime/components/Marquee.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.d.vue.ts +8 -6
- package/dist/runtime/components/Modal.vue +55 -22
- package/dist/runtime/components/Modal.vue.d.ts +8 -6
- package/dist/runtime/components/NavigationMenu.d.vue.ts +60 -13
- package/dist/runtime/components/NavigationMenu.vue +86 -49
- package/dist/runtime/components/NavigationMenu.vue.d.ts +60 -13
- package/dist/runtime/components/Page.vue +4 -4
- package/dist/runtime/components/PageAnchors.d.vue.ts +9 -2
- package/dist/runtime/components/PageAnchors.vue +10 -10
- package/dist/runtime/components/PageAnchors.vue.d.ts +9 -2
- package/dist/runtime/components/PageAside.vue +6 -6
- package/dist/runtime/components/PageCTA.vue +9 -9
- package/dist/runtime/components/PageCard.d.vue.ts +3 -1
- package/dist/runtime/components/PageCard.vue +12 -11
- package/dist/runtime/components/PageCard.vue.d.ts +3 -1
- package/dist/runtime/components/PageFeature.d.vue.ts +3 -1
- package/dist/runtime/components/PageFeature.vue +7 -7
- package/dist/runtime/components/PageFeature.vue.d.ts +3 -1
- package/dist/runtime/components/PageHeader.vue +7 -7
- package/dist/runtime/components/PageHero.vue +10 -10
- package/dist/runtime/components/PageLinks.d.vue.ts +9 -2
- package/dist/runtime/components/PageLinks.vue +10 -10
- package/dist/runtime/components/PageLinks.vue.d.ts +9 -2
- package/dist/runtime/components/PageLogos.vue +6 -3
- package/dist/runtime/components/PageSection.d.vue.ts +3 -1
- package/dist/runtime/components/PageSection.vue +14 -14
- package/dist/runtime/components/PageSection.vue.d.ts +3 -1
- package/dist/runtime/components/Pagination.d.vue.ts +5 -3
- package/dist/runtime/components/Pagination.vue +9 -9
- package/dist/runtime/components/Pagination.vue.d.ts +5 -3
- package/dist/runtime/components/PinInput.d.vue.ts +2 -2
- package/dist/runtime/components/PinInput.vue +2 -0
- package/dist/runtime/components/PinInput.vue.d.ts +2 -2
- package/dist/runtime/components/Popover.d.vue.ts +24 -23
- package/dist/runtime/components/Popover.vue +6 -6
- package/dist/runtime/components/Popover.vue.d.ts +24 -23
- package/dist/runtime/components/PricingPlan.d.vue.ts +9 -3
- package/dist/runtime/components/PricingPlan.vue +31 -24
- package/dist/runtime/components/PricingPlan.vue.d.ts +9 -3
- package/dist/runtime/components/PricingPlans.d.vue.ts +20 -13
- package/dist/runtime/components/PricingPlans.vue +7 -1
- package/dist/runtime/components/PricingPlans.vue.d.ts +20 -13
- package/dist/runtime/components/PricingTable.vue +35 -31
- package/dist/runtime/components/Progress.d.vue.ts +1 -1
- package/dist/runtime/components/Progress.vue +6 -6
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.d.vue.ts +5 -5
- package/dist/runtime/components/RadioGroup.vue +13 -11
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -5
- package/dist/runtime/components/Select.d.vue.ts +25 -115
- package/dist/runtime/components/Select.vue +41 -29
- package/dist/runtime/components/Select.vue.d.ts +25 -115
- package/dist/runtime/components/SelectMenu.d.vue.ts +43 -114
- package/dist/runtime/components/SelectMenu.vue +145 -78
- package/dist/runtime/components/SelectMenu.vue.d.ts +43 -114
- package/dist/runtime/components/Separator.d.vue.ts +3 -1
- package/dist/runtime/components/Separator.vue +8 -8
- package/dist/runtime/components/Separator.vue.d.ts +3 -1
- package/dist/runtime/components/Slideover.d.vue.ts +3 -6
- package/dist/runtime/components/Slideover.vue +12 -13
- package/dist/runtime/components/Slideover.vue.d.ts +3 -6
- package/dist/runtime/components/Slider.vue +5 -4
- package/dist/runtime/components/Stepper.d.vue.ts +4 -1
- package/dist/runtime/components/Stepper.vue +13 -11
- package/dist/runtime/components/Stepper.vue.d.ts +4 -1
- package/dist/runtime/components/Switch.d.vue.ts +2 -1
- package/dist/runtime/components/Switch.vue +10 -9
- package/dist/runtime/components/Switch.vue.d.ts +2 -1
- package/dist/runtime/components/Table.d.vue.ts +25 -4
- package/dist/runtime/components/Table.vue +156 -71
- package/dist/runtime/components/Table.vue.d.ts +25 -4
- package/dist/runtime/components/Tabs.d.vue.ts +8 -3
- package/dist/runtime/components/Tabs.vue +13 -10
- package/dist/runtime/components/Tabs.vue.d.ts +8 -3
- package/dist/runtime/components/Textarea.d.vue.ts +15 -8
- package/dist/runtime/components/Textarea.vue +12 -11
- package/dist/runtime/components/Textarea.vue.d.ts +15 -8
- package/dist/runtime/components/Timeline.vue +16 -7
- package/dist/runtime/components/Toast.d.vue.ts +4 -4
- package/dist/runtime/components/Toast.vue +16 -13
- package/dist/runtime/components/Toast.vue.d.ts +4 -4
- package/dist/runtime/components/Toaster.d.vue.ts +6 -0
- package/dist/runtime/components/Toaster.vue +8 -3
- package/dist/runtime/components/Toaster.vue.d.ts +6 -0
- package/dist/runtime/components/Tooltip.d.vue.ts +3 -1
- package/dist/runtime/components/Tooltip.vue +5 -5
- package/dist/runtime/components/Tooltip.vue.d.ts +3 -1
- package/dist/runtime/components/Tree.d.vue.ts +43 -5
- package/dist/runtime/components/Tree.vue +176 -81
- package/dist/runtime/components/Tree.vue.d.ts +43 -5
- package/dist/runtime/components/User.d.vue.ts +3 -1
- package/dist/runtime/components/User.vue +14 -7
- package/dist/runtime/components/User.vue.d.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.d.vue.ts +3 -3
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +16 -4
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +3 -3
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +6 -13
- package/dist/runtime/components/color-mode/ColorModeButton.vue +59 -18
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +6 -13
- package/dist/runtime/components/color-mode/ColorModeImage.d.vue.ts +4 -3
- package/dist/runtime/components/color-mode/ColorModeImage.vue +4 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +4 -3
- package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +5 -3
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +45 -5
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +5 -3
- package/dist/runtime/components/color-mode/ColorModeSwitch.d.vue.ts +2 -2
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +29 -5
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +2 -2
- package/dist/runtime/components/content/ContentNavigation.d.vue.ts +1 -0
- package/dist/runtime/components/content/ContentNavigation.vue +18 -17
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +1 -0
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +3 -1
- package/dist/runtime/components/content/ContentSearch.vue +64 -67
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +3 -1
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +2 -3
- package/dist/runtime/components/content/ContentSearchButton.vue +48 -10
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +2 -3
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +1 -0
- package/dist/runtime/components/content/ContentSurround.vue +10 -10
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +1 -0
- package/dist/runtime/components/content/ContentToc.d.vue.ts +2 -0
- package/dist/runtime/components/content/ContentToc.vue +17 -17
- package/dist/runtime/components/content/ContentToc.vue.d.ts +2 -0
- package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +10 -6
- package/dist/runtime/components/locale/LocaleSelect.vue +54 -6
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +10 -6
- package/dist/runtime/components/prose/Accordion.d.vue.ts +6 -0
- package/dist/runtime/components/prose/Accordion.vue +3 -2
- package/dist/runtime/components/prose/Accordion.vue.d.ts +6 -0
- package/dist/runtime/components/prose/CodeTree.vue +40 -36
- package/dist/runtime/components/prose/Collapsible.d.vue.ts +2 -2
- package/dist/runtime/components/prose/Collapsible.vue +2 -2
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +2 -2
- package/dist/runtime/components/prose/Field.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Img.vue +14 -3
- package/dist/runtime/components/prose/Tabs.d.vue.ts +6 -0
- package/dist/runtime/components/prose/Tabs.vue +3 -2
- package/dist/runtime/components/prose/Tabs.vue.d.ts +6 -0
- package/dist/runtime/composables/index.d.ts +8 -0
- package/dist/runtime/composables/index.js +8 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useContentSearch.d.ts +5 -0
- package/dist/runtime/composables/useContentSearch.js +31 -1
- package/dist/runtime/composables/useFieldGroup.d.ts +1 -1
- package/dist/runtime/composables/useFileUpload.d.ts +2 -1
- package/dist/runtime/composables/useFileUpload.js +13 -4
- package/dist/runtime/composables/useFormField.d.ts +1 -1
- package/dist/runtime/composables/useKbd.js +1 -1
- package/dist/runtime/composables/useToast.d.ts +3 -1
- package/dist/runtime/composables/useToast.js +4 -3
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/components/Link.d.vue.ts +17 -10
- package/dist/runtime/inertia/components/Link.vue +19 -13
- package/dist/runtime/inertia/components/Link.vue.d.ts +17 -10
- package/dist/runtime/inertia/stubs.js +1 -1
- package/dist/runtime/keyframes.css +1 -1
- package/dist/runtime/locale/gl.d.ts +3 -0
- package/dist/runtime/locale/gl.js +129 -0
- package/dist/runtime/locale/hr.d.ts +3 -0
- package/dist/runtime/locale/hr.js +129 -0
- package/dist/runtime/locale/index.d.ts +3 -0
- package/dist/runtime/locale/index.js +3 -0
- package/dist/runtime/locale/sq.d.ts +3 -0
- package/dist/runtime/locale/sq.js +129 -0
- package/dist/runtime/plugins/colors.js +8 -6
- package/dist/runtime/types/html.d.ts +8 -0
- package/dist/runtime/types/html.js +0 -0
- package/dist/runtime/types/index.d.ts +7 -1
- package/dist/runtime/types/index.js +7 -1
- package/dist/runtime/types/input.d.ts +5 -5
- package/dist/runtime/types/tv.d.ts +6 -0
- package/dist/runtime/types/utils.d.ts +2 -0
- package/dist/runtime/utils/content.d.ts +2 -2
- package/dist/runtime/utils/link.d.ts +1 -0
- package/dist/runtime/utils/link.js +40 -24
- package/dist/runtime/utils/virtualizer.d.ts +6 -0
- package/dist/runtime/utils/virtualizer.js +30 -0
- package/dist/runtime/vue/components/Link.d.vue.ts +8 -37
- package/dist/runtime/vue/components/Link.vue +5 -10
- package/dist/runtime/vue/components/Link.vue.d.ts +8 -37
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +5 -3
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +44 -3
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +5 -3
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.d.vue.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +24 -3
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/runtime/vue/stubs.js +1 -1
- package/dist/shared/{ui.D-FDXAUi.mjs → ui.B77q-Dvh.mjs} +679 -102
- package/dist/unplugin.d.mts +1 -0
- package/dist/unplugin.mjs +31 -2
- package/dist/vite.mjs +5 -2
- package/package.json +46 -40
- package/.nuxt/ui/accordion.ts +0 -20
- package/.nuxt/ui/alert.ts +0 -264
- package/.nuxt/ui/auth-form.ts +0 -20
- package/.nuxt/ui/avatar-group.ts +0 -52
- package/.nuxt/ui/avatar.ts +0 -54
- package/.nuxt/ui/badge.ts +0 -263
- package/.nuxt/ui/banner.ts +0 -108
- package/.nuxt/ui/blog-post.ts +0 -142
- package/.nuxt/ui/blog-posts.ts +0 -9
- package/.nuxt/ui/breadcrumb.ts +0 -45
- package/.nuxt/ui/button.ts +0 -378
- package/.nuxt/ui/calendar.ts +0 -103
- package/.nuxt/ui/card.ts +0 -34
- package/.nuxt/ui/carousel.ts +0 -38
- package/.nuxt/ui/changelog-version.ts +0 -41
- package/.nuxt/ui/changelog-versions.ts +0 -8
- package/.nuxt/ui/chat-message.ts +0 -129
- package/.nuxt/ui/chat-messages.ts +0 -14
- package/.nuxt/ui/chat-palette.ts +0 -8
- package/.nuxt/ui/chat-prompt-submit.ts +0 -5
- package/.nuxt/ui/chat-prompt.ts +0 -35
- package/.nuxt/ui/checkbox-group.ts +0 -204
- package/.nuxt/ui/checkbox.ts +0 -236
- package/.nuxt/ui/chip.ts +0 -96
- package/.nuxt/ui/collapsible.ts +0 -6
- package/.nuxt/ui/color-picker.ts +0 -47
- package/.nuxt/ui/command-palette.ts +0 -52
- package/.nuxt/ui/container.ts +0 -3
- package/.nuxt/ui/content/content-navigation.ts +0 -368
- package/.nuxt/ui/content/content-search-button.ts +0 -6
- package/.nuxt/ui/content/content-search.ts +0 -13
- package/.nuxt/ui/content/content-surround.ts +0 -34
- package/.nuxt/ui/content/content-toc.ts +0 -155
- package/.nuxt/ui/context-menu.ts +0 -217
- package/.nuxt/ui/dashboard-group.ts +0 -3
- package/.nuxt/ui/dashboard-navbar.ts +0 -21
- package/.nuxt/ui/dashboard-panel.ts +0 -17
- package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
- package/.nuxt/ui/dashboard-search-button.ts +0 -6
- package/.nuxt/ui/dashboard-search.ts +0 -13
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
- package/.nuxt/ui/dashboard-sidebar.ts +0 -37
- package/.nuxt/ui/dashboard-toolbar.ts +0 -7
- package/.nuxt/ui/drawer.ts +0 -149
- package/.nuxt/ui/dropdown-menu.ts +0 -218
- package/.nuxt/ui/error.ts +0 -9
- package/.nuxt/ui/field-group.ts +0 -16
- package/.nuxt/ui/file-upload.ts +0 -290
- package/.nuxt/ui/footer-columns.ts +0 -28
- package/.nuxt/ui/footer.ts +0 -11
- package/.nuxt/ui/form-field.ts +0 -48
- package/.nuxt/ui/form.ts +0 -3
- package/.nuxt/ui/header.ts +0 -25
- package/.nuxt/ui/index.ts +0 -105
- package/.nuxt/ui/input-menu.ts +0 -450
- package/.nuxt/ui/input-number.ts +0 -245
- package/.nuxt/ui/input-tags.ts +0 -310
- package/.nuxt/ui/input.ts +0 -289
- package/.nuxt/ui/kbd.ts +0 -195
- package/.nuxt/ui/link.ts +0 -22
- package/.nuxt/ui/main.ts +0 -3
- package/.nuxt/ui/marquee.ts +0 -66
- package/.nuxt/ui/modal.ts +0 -29
- package/.nuxt/ui/navigation-menu.ts +0 -510
- package/.nuxt/ui/page-anchors.ts +0 -30
- package/.nuxt/ui/page-aside.ts +0 -10
- package/.nuxt/ui/page-body.ts +0 -3
- package/.nuxt/ui/page-card.ts +0 -279
- package/.nuxt/ui/page-columns.ts +0 -3
- package/.nuxt/ui/page-cta.ts +0 -70
- package/.nuxt/ui/page-feature.ts +0 -26
- package/.nuxt/ui/page-grid.ts +0 -3
- package/.nuxt/ui/page-header.ts +0 -18
- package/.nuxt/ui/page-hero.ts +0 -44
- package/.nuxt/ui/page-links.ts +0 -25
- package/.nuxt/ui/page-list.ts +0 -8
- package/.nuxt/ui/page-logos.ts +0 -15
- package/.nuxt/ui/page-section.ts +0 -84
- package/.nuxt/ui/page.ts +0 -32
- package/.nuxt/ui/pagination.ts +0 -13
- package/.nuxt/ui/pin-input.ts +0 -171
- package/.nuxt/ui/popover.ts +0 -6
- package/.nuxt/ui/pricing-plan.ts +0 -101
- package/.nuxt/ui/pricing-plans.ts +0 -22
- package/.nuxt/ui/pricing-table.ts +0 -51
- package/.nuxt/ui/progress.ts +0 -297
- package/.nuxt/ui/prose/a.ts +0 -6
- package/.nuxt/ui/prose/accordion-item.ts +0 -3
- package/.nuxt/ui/prose/accordion.ts +0 -6
- package/.nuxt/ui/prose/badge.ts +0 -3
- package/.nuxt/ui/prose/blockquote.ts +0 -3
- package/.nuxt/ui/prose/callout.ts +0 -129
- package/.nuxt/ui/prose/card-group.ts +0 -3
- package/.nuxt/ui/prose/card.ts +0 -119
- package/.nuxt/ui/prose/code-collapse.ts +0 -19
- package/.nuxt/ui/prose/code-group.ts +0 -13
- package/.nuxt/ui/prose/code-icon.ts +0 -66
- package/.nuxt/ui/prose/code-preview.ts +0 -14
- package/.nuxt/ui/prose/code-tree.ts +0 -28
- package/.nuxt/ui/prose/code.ts +0 -27
- package/.nuxt/ui/prose/collapsible.ts +0 -12
- package/.nuxt/ui/prose/em.ts +0 -3
- package/.nuxt/ui/prose/field-group.ts +0 -3
- package/.nuxt/ui/prose/field.ts +0 -11
- package/.nuxt/ui/prose/h1.ts +0 -6
- package/.nuxt/ui/prose/h2.ts +0 -14
- package/.nuxt/ui/prose/h3.ts +0 -14
- package/.nuxt/ui/prose/h4.ts +0 -6
- package/.nuxt/ui/prose/hr.ts +0 -3
- package/.nuxt/ui/prose/icon.ts +0 -3
- package/.nuxt/ui/prose/img.ts +0 -22
- package/.nuxt/ui/prose/index.ts +0 -41
- package/.nuxt/ui/prose/kbd.ts +0 -3
- package/.nuxt/ui/prose/li.ts +0 -3
- package/.nuxt/ui/prose/ol.ts +0 -3
- package/.nuxt/ui/prose/p.ts +0 -3
- package/.nuxt/ui/prose/pre.ts +0 -17
- package/.nuxt/ui/prose/steps.ts +0 -19
- package/.nuxt/ui/prose/strong.ts +0 -3
- package/.nuxt/ui/prose/table.ts +0 -6
- package/.nuxt/ui/prose/tabs-item.ts +0 -3
- package/.nuxt/ui/prose/tabs.ts +0 -5
- package/.nuxt/ui/prose/tbody.ts +0 -3
- package/.nuxt/ui/prose/td.ts +0 -3
- package/.nuxt/ui/prose/th.ts +0 -3
- package/.nuxt/ui/prose/thead.ts +0 -3
- package/.nuxt/ui/prose/tr.ts +0 -3
- package/.nuxt/ui/prose/ul.ts +0 -3
- package/.nuxt/ui/radio-group.ts +0 -350
- package/.nuxt/ui/select-menu.ts +0 -351
- package/.nuxt/ui/select.ts +0 -346
- package/.nuxt/ui/separator.ts +0 -172
- package/.nuxt/ui/skeleton.ts +0 -3
- package/.nuxt/ui/slideover.ts +0 -71
- package/.nuxt/ui/slider.ts +0 -171
- package/.nuxt/ui/stepper.ts +0 -202
- package/.nuxt/ui/switch.ts +0 -131
- package/.nuxt/ui/table.ts +0 -156
- package/.nuxt/ui/tabs.ts +0 -258
- package/.nuxt/ui/textarea.ts +0 -294
- package/.nuxt/ui/timeline.ts +0 -321
- package/.nuxt/ui/toast.ts +0 -74
- package/.nuxt/ui/toaster.ts +0 -91
- package/.nuxt/ui/tooltip.ts +0 -9
- package/.nuxt/ui/tree.ts +0 -154
- package/.nuxt/ui/user.ts +0 -101
- package/.nuxt/ui.css +0 -146
- package/dist/runtime/vue/components/color-mode/ColorModeButton.d.vue.ts +0 -17
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +0 -35
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +0 -17
package/.nuxt/ui/switch.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"primary",
|
|
3
|
-
"secondary",
|
|
4
|
-
"success",
|
|
5
|
-
"info",
|
|
6
|
-
"warning",
|
|
7
|
-
"error",
|
|
8
|
-
"neutral"
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
const size = [
|
|
12
|
-
"xs",
|
|
13
|
-
"sm",
|
|
14
|
-
"md",
|
|
15
|
-
"lg",
|
|
16
|
-
"xl"
|
|
17
|
-
] as const
|
|
18
|
-
|
|
19
|
-
export default {
|
|
20
|
-
"slots": {
|
|
21
|
-
"root": "relative flex items-start",
|
|
22
|
-
"base": [
|
|
23
|
-
"inline-flex items-center shrink-0 rounded-full border-2 border-transparent focus-visible:outline-2 focus-visible:outline-offset-2 data-[state=unchecked]:bg-accented",
|
|
24
|
-
"transition-[background] duration-200"
|
|
25
|
-
],
|
|
26
|
-
"container": "flex items-center",
|
|
27
|
-
"thumb": "group pointer-events-none rounded-full bg-default shadow-lg ring-0 transition-transform duration-200 data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:-translate-x-0 flex items-center justify-center",
|
|
28
|
-
"icon": [
|
|
29
|
-
"absolute shrink-0 group-data-[state=unchecked]:text-dimmed opacity-0 size-10/12",
|
|
30
|
-
"transition-[color,opacity] duration-200"
|
|
31
|
-
],
|
|
32
|
-
"wrapper": "ms-2",
|
|
33
|
-
"label": "block font-medium text-default",
|
|
34
|
-
"description": "text-muted"
|
|
35
|
-
},
|
|
36
|
-
"variants": {
|
|
37
|
-
"color": {
|
|
38
|
-
"primary": {
|
|
39
|
-
"base": "data-[state=checked]:bg-primary focus-visible:outline-primary",
|
|
40
|
-
"icon": "group-data-[state=checked]:text-primary"
|
|
41
|
-
},
|
|
42
|
-
"secondary": {
|
|
43
|
-
"base": "data-[state=checked]:bg-secondary focus-visible:outline-secondary",
|
|
44
|
-
"icon": "group-data-[state=checked]:text-secondary"
|
|
45
|
-
},
|
|
46
|
-
"success": {
|
|
47
|
-
"base": "data-[state=checked]:bg-success focus-visible:outline-success",
|
|
48
|
-
"icon": "group-data-[state=checked]:text-success"
|
|
49
|
-
},
|
|
50
|
-
"info": {
|
|
51
|
-
"base": "data-[state=checked]:bg-info focus-visible:outline-info",
|
|
52
|
-
"icon": "group-data-[state=checked]:text-info"
|
|
53
|
-
},
|
|
54
|
-
"warning": {
|
|
55
|
-
"base": "data-[state=checked]:bg-warning focus-visible:outline-warning",
|
|
56
|
-
"icon": "group-data-[state=checked]:text-warning"
|
|
57
|
-
},
|
|
58
|
-
"error": {
|
|
59
|
-
"base": "data-[state=checked]:bg-error focus-visible:outline-error",
|
|
60
|
-
"icon": "group-data-[state=checked]:text-error"
|
|
61
|
-
},
|
|
62
|
-
"neutral": {
|
|
63
|
-
"base": "data-[state=checked]:bg-inverted focus-visible:outline-inverted",
|
|
64
|
-
"icon": "group-data-[state=checked]:text-highlighted"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"size": {
|
|
68
|
-
"xs": {
|
|
69
|
-
"base": "w-7",
|
|
70
|
-
"container": "h-4",
|
|
71
|
-
"thumb": "size-3 data-[state=checked]:translate-x-3 data-[state=checked]:rtl:-translate-x-3",
|
|
72
|
-
"wrapper": "text-xs"
|
|
73
|
-
},
|
|
74
|
-
"sm": {
|
|
75
|
-
"base": "w-8",
|
|
76
|
-
"container": "h-4",
|
|
77
|
-
"thumb": "size-3.5 data-[state=checked]:translate-x-3.5 data-[state=checked]:rtl:-translate-x-3.5",
|
|
78
|
-
"wrapper": "text-xs"
|
|
79
|
-
},
|
|
80
|
-
"md": {
|
|
81
|
-
"base": "w-9",
|
|
82
|
-
"container": "h-5",
|
|
83
|
-
"thumb": "size-4 data-[state=checked]:translate-x-4 data-[state=checked]:rtl:-translate-x-4",
|
|
84
|
-
"wrapper": "text-sm"
|
|
85
|
-
},
|
|
86
|
-
"lg": {
|
|
87
|
-
"base": "w-10",
|
|
88
|
-
"container": "h-5",
|
|
89
|
-
"thumb": "size-4.5 data-[state=checked]:translate-x-4.5 data-[state=checked]:rtl:-translate-x-4.5",
|
|
90
|
-
"wrapper": "text-sm"
|
|
91
|
-
},
|
|
92
|
-
"xl": {
|
|
93
|
-
"base": "w-11",
|
|
94
|
-
"container": "h-6",
|
|
95
|
-
"thumb": "size-5 data-[state=checked]:translate-x-5 data-[state=checked]:rtl:-translate-x-5",
|
|
96
|
-
"wrapper": "text-base"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"checked": {
|
|
100
|
-
"true": {
|
|
101
|
-
"icon": "group-data-[state=checked]:opacity-100"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"unchecked": {
|
|
105
|
-
"true": {
|
|
106
|
-
"icon": "group-data-[state=unchecked]:opacity-100"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"loading": {
|
|
110
|
-
"true": {
|
|
111
|
-
"icon": "animate-spin"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"required": {
|
|
115
|
-
"true": {
|
|
116
|
-
"label": "after:content-['*'] after:ms-0.5 after:text-error"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"disabled": {
|
|
120
|
-
"true": {
|
|
121
|
-
"base": "cursor-not-allowed opacity-75",
|
|
122
|
-
"label": "cursor-not-allowed opacity-75",
|
|
123
|
-
"description": "cursor-not-allowed opacity-75"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"defaultVariants": {
|
|
128
|
-
"color": "primary" as typeof color[number],
|
|
129
|
-
"size": "md" as typeof size[number]
|
|
130
|
-
}
|
|
131
|
-
}
|
package/.nuxt/ui/table.ts
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
const loadingAnimation = [
|
|
2
|
-
"carousel",
|
|
3
|
-
"carousel-inverse",
|
|
4
|
-
"swing",
|
|
5
|
-
"elastic"
|
|
6
|
-
] as const
|
|
7
|
-
|
|
8
|
-
const loadingColor = [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error",
|
|
15
|
-
"neutral"
|
|
16
|
-
] as const
|
|
17
|
-
|
|
18
|
-
export default {
|
|
19
|
-
"slots": {
|
|
20
|
-
"root": "relative overflow-auto",
|
|
21
|
-
"base": "min-w-full overflow-clip",
|
|
22
|
-
"caption": "sr-only",
|
|
23
|
-
"thead": "relative",
|
|
24
|
-
"tbody": "divide-y divide-default [&>tr]:data-[selectable=true]:hover:bg-elevated/50 [&>tr]:data-[selectable=true]:focus-visible:outline-primary",
|
|
25
|
-
"tfoot": "relative",
|
|
26
|
-
"tr": "data-[selected=true]:bg-elevated/50",
|
|
27
|
-
"th": "px-4 py-3.5 text-sm text-highlighted text-left rtl:text-right font-semibold [&:has([role=checkbox])]:pe-0",
|
|
28
|
-
"td": "p-4 text-sm text-muted whitespace-nowrap [&:has([role=checkbox])]:pe-0",
|
|
29
|
-
"separator": "absolute z-[1] left-0 w-full h-px bg-(--ui-border-accented)",
|
|
30
|
-
"empty": "py-6 text-center text-sm text-muted",
|
|
31
|
-
"loading": "py-6 text-center"
|
|
32
|
-
},
|
|
33
|
-
"variants": {
|
|
34
|
-
"pinned": {
|
|
35
|
-
"true": {
|
|
36
|
-
"th": "sticky bg-default/75 data-[pinned=left]:left-0 data-[pinned=right]:right-0",
|
|
37
|
-
"td": "sticky bg-default/75 data-[pinned=left]:left-0 data-[pinned=right]:right-0"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"sticky": {
|
|
41
|
-
"true": {
|
|
42
|
-
"thead": "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur",
|
|
43
|
-
"tfoot": "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
|
|
44
|
-
},
|
|
45
|
-
"header": {
|
|
46
|
-
"thead": "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
|
|
47
|
-
},
|
|
48
|
-
"footer": {
|
|
49
|
-
"tfoot": "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"loading": {
|
|
53
|
-
"true": {
|
|
54
|
-
"thead": "after:absolute after:z-[1] after:h-px"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"loadingAnimation": {
|
|
58
|
-
"carousel": "",
|
|
59
|
-
"carousel-inverse": "",
|
|
60
|
-
"swing": "",
|
|
61
|
-
"elastic": ""
|
|
62
|
-
},
|
|
63
|
-
"loadingColor": {
|
|
64
|
-
"primary": "",
|
|
65
|
-
"secondary": "",
|
|
66
|
-
"success": "",
|
|
67
|
-
"info": "",
|
|
68
|
-
"warning": "",
|
|
69
|
-
"error": "",
|
|
70
|
-
"neutral": ""
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"compoundVariants": [
|
|
74
|
-
{
|
|
75
|
-
"loading": true,
|
|
76
|
-
"loadingColor": "primary" as typeof loadingColor[number],
|
|
77
|
-
"class": {
|
|
78
|
-
"thead": "after:bg-primary"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"loading": true,
|
|
83
|
-
"loadingColor": "secondary" as typeof loadingColor[number],
|
|
84
|
-
"class": {
|
|
85
|
-
"thead": "after:bg-secondary"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"loading": true,
|
|
90
|
-
"loadingColor": "success" as typeof loadingColor[number],
|
|
91
|
-
"class": {
|
|
92
|
-
"thead": "after:bg-success"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"loading": true,
|
|
97
|
-
"loadingColor": "info" as typeof loadingColor[number],
|
|
98
|
-
"class": {
|
|
99
|
-
"thead": "after:bg-info"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"loading": true,
|
|
104
|
-
"loadingColor": "warning" as typeof loadingColor[number],
|
|
105
|
-
"class": {
|
|
106
|
-
"thead": "after:bg-warning"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"loading": true,
|
|
111
|
-
"loadingColor": "error" as typeof loadingColor[number],
|
|
112
|
-
"class": {
|
|
113
|
-
"thead": "after:bg-error"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"loading": true,
|
|
118
|
-
"loadingColor": "neutral" as typeof loadingColor[number],
|
|
119
|
-
"class": {
|
|
120
|
-
"thead": "after:bg-inverted"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"loading": true,
|
|
125
|
-
"loadingAnimation": "carousel" as typeof loadingAnimation[number],
|
|
126
|
-
"class": {
|
|
127
|
-
"thead": "after:animate-[carousel_2s_ease-in-out_infinite] rtl:after:animate-[carousel-rtl_2s_ease-in-out_infinite]"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"loading": true,
|
|
132
|
-
"loadingAnimation": "carousel-inverse" as typeof loadingAnimation[number],
|
|
133
|
-
"class": {
|
|
134
|
-
"thead": "after:animate-[carousel-inverse_2s_ease-in-out_infinite] rtl:after:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"loading": true,
|
|
139
|
-
"loadingAnimation": "swing" as typeof loadingAnimation[number],
|
|
140
|
-
"class": {
|
|
141
|
-
"thead": "after:animate-[swing_2s_ease-in-out_infinite]"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"loading": true,
|
|
146
|
-
"loadingAnimation": "elastic" as typeof loadingAnimation[number],
|
|
147
|
-
"class": {
|
|
148
|
-
"thead": "after:animate-[elastic_2s_ease-in-out_infinite]"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"defaultVariants": {
|
|
153
|
-
"loadingColor": "primary" as typeof loadingColor[number],
|
|
154
|
-
"loadingAnimation": "carousel" as typeof loadingAnimation[number]
|
|
155
|
-
}
|
|
156
|
-
}
|
package/.nuxt/ui/tabs.ts
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"primary",
|
|
3
|
-
"secondary",
|
|
4
|
-
"success",
|
|
5
|
-
"info",
|
|
6
|
-
"warning",
|
|
7
|
-
"error",
|
|
8
|
-
"neutral"
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
const variant = [
|
|
12
|
-
"pill",
|
|
13
|
-
"link"
|
|
14
|
-
] as const
|
|
15
|
-
|
|
16
|
-
const orientation = [
|
|
17
|
-
"horizontal",
|
|
18
|
-
"vertical"
|
|
19
|
-
] as const
|
|
20
|
-
|
|
21
|
-
const size = [
|
|
22
|
-
"xs",
|
|
23
|
-
"sm",
|
|
24
|
-
"md",
|
|
25
|
-
"lg",
|
|
26
|
-
"xl"
|
|
27
|
-
] as const
|
|
28
|
-
|
|
29
|
-
export default {
|
|
30
|
-
"slots": {
|
|
31
|
-
"root": "flex items-center gap-2",
|
|
32
|
-
"list": "relative flex p-1 group",
|
|
33
|
-
"indicator": "absolute transition-[translate,width] duration-200",
|
|
34
|
-
"trigger": [
|
|
35
|
-
"group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75",
|
|
36
|
-
"transition-colors"
|
|
37
|
-
],
|
|
38
|
-
"leadingIcon": "shrink-0",
|
|
39
|
-
"leadingAvatar": "shrink-0",
|
|
40
|
-
"leadingAvatarSize": "",
|
|
41
|
-
"label": "truncate",
|
|
42
|
-
"trailingBadge": "shrink-0",
|
|
43
|
-
"trailingBadgeSize": "sm",
|
|
44
|
-
"content": "focus:outline-none w-full"
|
|
45
|
-
},
|
|
46
|
-
"variants": {
|
|
47
|
-
"color": {
|
|
48
|
-
"primary": "",
|
|
49
|
-
"secondary": "",
|
|
50
|
-
"success": "",
|
|
51
|
-
"info": "",
|
|
52
|
-
"warning": "",
|
|
53
|
-
"error": "",
|
|
54
|
-
"neutral": ""
|
|
55
|
-
},
|
|
56
|
-
"variant": {
|
|
57
|
-
"pill": {
|
|
58
|
-
"list": "bg-elevated rounded-lg",
|
|
59
|
-
"trigger": "grow",
|
|
60
|
-
"indicator": "rounded-md shadow-xs"
|
|
61
|
-
},
|
|
62
|
-
"link": {
|
|
63
|
-
"list": "border-default",
|
|
64
|
-
"indicator": "rounded-full",
|
|
65
|
-
"trigger": "focus:outline-none"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"orientation": {
|
|
69
|
-
"horizontal": {
|
|
70
|
-
"root": "flex-col",
|
|
71
|
-
"list": "w-full",
|
|
72
|
-
"indicator": "left-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position)",
|
|
73
|
-
"trigger": "justify-center"
|
|
74
|
-
},
|
|
75
|
-
"vertical": {
|
|
76
|
-
"list": "flex-col",
|
|
77
|
-
"indicator": "top-0 h-(--reka-tabs-indicator-size) translate-y-(--reka-tabs-indicator-position)"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"size": {
|
|
81
|
-
"xs": {
|
|
82
|
-
"trigger": "px-2 py-1 text-xs gap-1",
|
|
83
|
-
"leadingIcon": "size-4",
|
|
84
|
-
"leadingAvatarSize": "3xs"
|
|
85
|
-
},
|
|
86
|
-
"sm": {
|
|
87
|
-
"trigger": "px-2.5 py-1.5 text-xs gap-1.5",
|
|
88
|
-
"leadingIcon": "size-4",
|
|
89
|
-
"leadingAvatarSize": "3xs"
|
|
90
|
-
},
|
|
91
|
-
"md": {
|
|
92
|
-
"trigger": "px-3 py-1.5 text-sm gap-1.5",
|
|
93
|
-
"leadingIcon": "size-5",
|
|
94
|
-
"leadingAvatarSize": "2xs"
|
|
95
|
-
},
|
|
96
|
-
"lg": {
|
|
97
|
-
"trigger": "px-3 py-2 text-sm gap-2",
|
|
98
|
-
"leadingIcon": "size-5",
|
|
99
|
-
"leadingAvatarSize": "2xs"
|
|
100
|
-
},
|
|
101
|
-
"xl": {
|
|
102
|
-
"trigger": "px-3 py-2 text-base gap-2",
|
|
103
|
-
"leadingIcon": "size-6",
|
|
104
|
-
"leadingAvatarSize": "xs"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"compoundVariants": [
|
|
109
|
-
{
|
|
110
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
111
|
-
"variant": "pill" as typeof variant[number],
|
|
112
|
-
"class": {
|
|
113
|
-
"indicator": "inset-y-1"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
118
|
-
"variant": "link" as typeof variant[number],
|
|
119
|
-
"class": {
|
|
120
|
-
"list": "border-b -mb-px",
|
|
121
|
-
"indicator": "-bottom-px h-px"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
126
|
-
"variant": "pill" as typeof variant[number],
|
|
127
|
-
"class": {
|
|
128
|
-
"indicator": "inset-x-1",
|
|
129
|
-
"list": "items-center"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
134
|
-
"variant": "link" as typeof variant[number],
|
|
135
|
-
"class": {
|
|
136
|
-
"list": "border-s -ms-px",
|
|
137
|
-
"indicator": "-start-px w-px"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"color": "primary" as typeof color[number],
|
|
142
|
-
"variant": "pill" as typeof variant[number],
|
|
143
|
-
"class": {
|
|
144
|
-
"indicator": "bg-primary",
|
|
145
|
-
"trigger": "data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"color": "secondary" as typeof color[number],
|
|
150
|
-
"variant": "pill" as typeof variant[number],
|
|
151
|
-
"class": {
|
|
152
|
-
"indicator": "bg-secondary",
|
|
153
|
-
"trigger": "data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"color": "success" as typeof color[number],
|
|
158
|
-
"variant": "pill" as typeof variant[number],
|
|
159
|
-
"class": {
|
|
160
|
-
"indicator": "bg-success",
|
|
161
|
-
"trigger": "data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"color": "info" as typeof color[number],
|
|
166
|
-
"variant": "pill" as typeof variant[number],
|
|
167
|
-
"class": {
|
|
168
|
-
"indicator": "bg-info",
|
|
169
|
-
"trigger": "data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"color": "warning" as typeof color[number],
|
|
174
|
-
"variant": "pill" as typeof variant[number],
|
|
175
|
-
"class": {
|
|
176
|
-
"indicator": "bg-warning",
|
|
177
|
-
"trigger": "data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"color": "error" as typeof color[number],
|
|
182
|
-
"variant": "pill" as typeof variant[number],
|
|
183
|
-
"class": {
|
|
184
|
-
"indicator": "bg-error",
|
|
185
|
-
"trigger": "data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"color": "neutral" as typeof color[number],
|
|
190
|
-
"variant": "pill" as typeof variant[number],
|
|
191
|
-
"class": {
|
|
192
|
-
"indicator": "bg-inverted",
|
|
193
|
-
"trigger": "data-[state=active]:text-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"color": "primary" as typeof color[number],
|
|
198
|
-
"variant": "link" as typeof variant[number],
|
|
199
|
-
"class": {
|
|
200
|
-
"indicator": "bg-primary",
|
|
201
|
-
"trigger": "data-[state=active]:text-primary focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"color": "secondary" as typeof color[number],
|
|
206
|
-
"variant": "link" as typeof variant[number],
|
|
207
|
-
"class": {
|
|
208
|
-
"indicator": "bg-secondary",
|
|
209
|
-
"trigger": "data-[state=active]:text-secondary focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"color": "success" as typeof color[number],
|
|
214
|
-
"variant": "link" as typeof variant[number],
|
|
215
|
-
"class": {
|
|
216
|
-
"indicator": "bg-success",
|
|
217
|
-
"trigger": "data-[state=active]:text-success focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"color": "info" as typeof color[number],
|
|
222
|
-
"variant": "link" as typeof variant[number],
|
|
223
|
-
"class": {
|
|
224
|
-
"indicator": "bg-info",
|
|
225
|
-
"trigger": "data-[state=active]:text-info focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"color": "warning" as typeof color[number],
|
|
230
|
-
"variant": "link" as typeof variant[number],
|
|
231
|
-
"class": {
|
|
232
|
-
"indicator": "bg-warning",
|
|
233
|
-
"trigger": "data-[state=active]:text-warning focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"color": "error" as typeof color[number],
|
|
238
|
-
"variant": "link" as typeof variant[number],
|
|
239
|
-
"class": {
|
|
240
|
-
"indicator": "bg-error",
|
|
241
|
-
"trigger": "data-[state=active]:text-error focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"color": "neutral" as typeof color[number],
|
|
246
|
-
"variant": "link" as typeof variant[number],
|
|
247
|
-
"class": {
|
|
248
|
-
"indicator": "bg-inverted",
|
|
249
|
-
"trigger": "data-[state=active]:text-highlighted focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
"defaultVariants": {
|
|
254
|
-
"color": "primary" as typeof color[number],
|
|
255
|
-
"variant": "pill" as typeof variant[number],
|
|
256
|
-
"size": "md" as typeof size[number]
|
|
257
|
-
}
|
|
258
|
-
}
|