@nuxt/ui 4.1.0 → 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 +2 -2
- package/dist/module.d.mts +10 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +7 -7
- package/dist/runtime/components/Accordion.vue +9 -8
- package/dist/runtime/components/Alert.vue +9 -8
- 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 +9 -8
- package/dist/runtime/components/AuthForm.vue +28 -20
- package/dist/runtime/components/AuthForm.vue.d.ts +9 -8
- package/dist/runtime/components/Avatar.d.vue.ts +2 -1
- package/dist/runtime/components/Avatar.vue +4 -2
- package/dist/runtime/components/Avatar.vue.d.ts +2 -1
- package/dist/runtime/components/AvatarGroup.vue +3 -3
- package/dist/runtime/components/Badge.vue +5 -5
- package/dist/runtime/components/Banner.vue +9 -8
- package/dist/runtime/components/BlogPost.vue +19 -10
- package/dist/runtime/components/Breadcrumb.vue +9 -9
- package/dist/runtime/components/Button.vue +6 -4
- package/dist/runtime/components/Calendar.vue +12 -8
- package/dist/runtime/components/Card.vue +4 -4
- package/dist/runtime/components/Carousel.vue +10 -5
- package/dist/runtime/components/ChangelogVersion.vue +22 -14
- package/dist/runtime/components/ChangelogVersions.vue +4 -4
- package/dist/runtime/components/ChatMessage.vue +7 -7
- package/dist/runtime/components/ChatMessages.vue +4 -2
- 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.vue +62 -37
- package/dist/runtime/components/ContextMenuContent.vue +19 -17
- package/dist/runtime/components/DashboardNavbar.vue +7 -6
- package/dist/runtime/components/DashboardPanel.vue +3 -1
- package/dist/runtime/components/DashboardSearch.vue +2 -1
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +2 -3
- package/dist/runtime/components/DashboardSearchButton.vue +47 -9
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +2 -3
- package/dist/runtime/components/DashboardSidebar.vue +9 -6
- 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 +9 -9
- package/dist/runtime/components/Drawer.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.vue +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue +19 -17
- package/dist/runtime/components/Empty.vue +8 -8
- package/dist/runtime/components/Error.d.vue.ts +1 -1
- package/dist/runtime/components/Error.vue +5 -5
- package/dist/runtime/components/Error.vue.d.ts +1 -1
- package/dist/runtime/components/FileUpload.d.vue.ts +8 -2
- package/dist/runtime/components/FileUpload.vue +34 -24
- package/dist/runtime/components/FileUpload.vue.d.ts +8 -2
- package/dist/runtime/components/Footer.vue +7 -7
- package/dist/runtime/components/FooterColumns.vue +11 -11
- 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.vue +9 -8
- package/dist/runtime/components/Input.d.vue.ts +6 -6
- package/dist/runtime/components/Input.vue +9 -8
- package/dist/runtime/components/Input.vue.d.ts +6 -6
- 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 +6 -127
- package/dist/runtime/components/InputMenu.vue +50 -42
- package/dist/runtime/components/InputMenu.vue.d.ts +6 -127
- package/dist/runtime/components/InputNumber.d.vue.ts +24 -127
- package/dist/runtime/components/InputNumber.vue +8 -9
- package/dist/runtime/components/InputNumber.vue.d.ts +24 -127
- package/dist/runtime/components/InputTags.d.vue.ts +5 -108
- package/dist/runtime/components/InputTags.vue +19 -15
- package/dist/runtime/components/InputTags.vue.d.ts +5 -108
- 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/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 +7 -2
- package/dist/runtime/components/Modal.vue +52 -16
- package/dist/runtime/components/Modal.vue.d.ts +7 -2
- package/dist/runtime/components/NavigationMenu.d.vue.ts +44 -9
- package/dist/runtime/components/NavigationMenu.vue +73 -43
- package/dist/runtime/components/NavigationMenu.vue.d.ts +44 -9
- package/dist/runtime/components/Page.vue +4 -4
- package/dist/runtime/components/PageAnchors.vue +8 -8
- package/dist/runtime/components/PageAside.vue +6 -6
- package/dist/runtime/components/PageCTA.vue +9 -9
- package/dist/runtime/components/PageCard.vue +11 -10
- package/dist/runtime/components/PageFeature.vue +6 -6
- package/dist/runtime/components/PageHeader.vue +7 -7
- package/dist/runtime/components/PageHero.vue +10 -10
- package/dist/runtime/components/PageLinks.vue +8 -8
- package/dist/runtime/components/PageLogos.vue +6 -3
- package/dist/runtime/components/PageSection.vue +13 -13
- package/dist/runtime/components/Pagination.d.vue.ts +2 -2
- package/dist/runtime/components/Pagination.vue +8 -8
- package/dist/runtime/components/Pagination.vue.d.ts +2 -2
- 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.vue +2 -2
- package/dist/runtime/components/PricingPlan.vue +28 -21
- 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 +5 -106
- package/dist/runtime/components/Select.vue +26 -23
- package/dist/runtime/components/Select.vue.d.ts +5 -106
- package/dist/runtime/components/SelectMenu.d.vue.ts +6 -105
- package/dist/runtime/components/SelectMenu.vue +54 -40
- package/dist/runtime/components/SelectMenu.vue.d.ts +6 -105
- package/dist/runtime/components/Separator.vue +7 -7
- package/dist/runtime/components/Slideover.d.vue.ts +2 -2
- package/dist/runtime/components/Slideover.vue +9 -7
- package/dist/runtime/components/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/Slider.vue +5 -4
- package/dist/runtime/components/Stepper.vue +12 -10
- 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 +7 -6
- package/dist/runtime/components/Table.vue +37 -18
- package/dist/runtime/components/Table.vue.d.ts +7 -6
- package/dist/runtime/components/Tabs.vue +10 -7
- package/dist/runtime/components/Textarea.d.vue.ts +6 -5
- package/dist/runtime/components/Textarea.vue +9 -8
- package/dist/runtime/components/Textarea.vue.d.ts +6 -5
- package/dist/runtime/components/Timeline.vue +16 -7
- package/dist/runtime/components/Toast.vue +15 -12
- package/dist/runtime/components/Toaster.d.vue.ts +1 -1
- package/dist/runtime/components/Toaster.vue +2 -0
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +4 -4
- package/dist/runtime/components/Tree.d.vue.ts +1 -1
- package/dist/runtime/components/Tree.vue +18 -11
- package/dist/runtime/components/Tree.vue.d.ts +1 -1
- package/dist/runtime/components/User.vue +13 -6
- 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.vue +13 -12
- package/dist/runtime/components/content/ContentSearch.vue +60 -65
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +2 -3
- package/dist/runtime/components/content/ContentSearchButton.vue +47 -9
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +2 -3
- package/dist/runtime/components/content/ContentSurround.vue +6 -6
- package/dist/runtime/components/content/ContentToc.vue +15 -15
- 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/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/index.css +1 -1
- package/dist/runtime/inertia/components/Link.d.vue.ts +17 -10
- package/dist/runtime/inertia/components/Link.vue +7 -6
- 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/index.d.ts +2 -0
- package/dist/runtime/locale/index.js +2 -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 +5 -0
- package/dist/runtime/types/index.js +5 -0
- package/dist/runtime/types/input.d.ts +5 -5
- 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.Cmctwxv6.mjs → ui.B77q-Dvh.mjs} +397 -153
- package/dist/unplugin.d.mts +1 -0
- package/dist/unplugin.mjs +31 -3
- package/dist/vite.mjs +5 -3
- package/package.json +39 -34
- 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 -315
- 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 -136
- 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 -62
- 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 -219
- 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 -220
- package/.nuxt/ui/empty.ts +0 -83
- 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 -106
- package/.nuxt/ui/input-menu.ts +0 -460
- package/.nuxt/ui/input-number.ts +0 -256
- 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 -23
- 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 -361
- package/.nuxt/ui/select.ts +0 -348
- 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 -162
- 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 -168
- 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/prose/table.ts
DELETED
package/.nuxt/ui/prose/tabs.ts
DELETED
package/.nuxt/ui/prose/tbody.ts
DELETED
package/.nuxt/ui/prose/td.ts
DELETED
package/.nuxt/ui/prose/th.ts
DELETED
package/.nuxt/ui/prose/thead.ts
DELETED
package/.nuxt/ui/prose/tr.ts
DELETED
package/.nuxt/ui/prose/ul.ts
DELETED
package/.nuxt/ui/radio-group.ts
DELETED
|
@@ -1,350 +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
|
-
"list",
|
|
13
|
-
"card",
|
|
14
|
-
"table"
|
|
15
|
-
] as const
|
|
16
|
-
|
|
17
|
-
const orientation = [
|
|
18
|
-
"horizontal",
|
|
19
|
-
"vertical"
|
|
20
|
-
] as const
|
|
21
|
-
|
|
22
|
-
const indicator = [
|
|
23
|
-
"start",
|
|
24
|
-
"end",
|
|
25
|
-
"hidden"
|
|
26
|
-
] as const
|
|
27
|
-
|
|
28
|
-
const size = [
|
|
29
|
-
"xs",
|
|
30
|
-
"sm",
|
|
31
|
-
"md",
|
|
32
|
-
"lg",
|
|
33
|
-
"xl"
|
|
34
|
-
] as const
|
|
35
|
-
|
|
36
|
-
export default {
|
|
37
|
-
"slots": {
|
|
38
|
-
"root": "relative",
|
|
39
|
-
"fieldset": "flex gap-x-2",
|
|
40
|
-
"legend": "mb-1 block font-medium text-default",
|
|
41
|
-
"item": "flex items-start",
|
|
42
|
-
"container": "flex items-center",
|
|
43
|
-
"base": "rounded-full ring ring-inset ring-accented overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
44
|
-
"indicator": "flex items-center justify-center size-full after:bg-default after:rounded-full" as typeof indicator[number],
|
|
45
|
-
"wrapper": "w-full",
|
|
46
|
-
"label": "block font-medium text-default",
|
|
47
|
-
"description": "text-muted"
|
|
48
|
-
},
|
|
49
|
-
"variants": {
|
|
50
|
-
"color": {
|
|
51
|
-
"primary": {
|
|
52
|
-
"base": "focus-visible:outline-primary",
|
|
53
|
-
"indicator": "bg-primary" as typeof indicator[number]
|
|
54
|
-
},
|
|
55
|
-
"secondary": {
|
|
56
|
-
"base": "focus-visible:outline-secondary",
|
|
57
|
-
"indicator": "bg-secondary" as typeof indicator[number]
|
|
58
|
-
},
|
|
59
|
-
"success": {
|
|
60
|
-
"base": "focus-visible:outline-success",
|
|
61
|
-
"indicator": "bg-success" as typeof indicator[number]
|
|
62
|
-
},
|
|
63
|
-
"info": {
|
|
64
|
-
"base": "focus-visible:outline-info",
|
|
65
|
-
"indicator": "bg-info" as typeof indicator[number]
|
|
66
|
-
},
|
|
67
|
-
"warning": {
|
|
68
|
-
"base": "focus-visible:outline-warning",
|
|
69
|
-
"indicator": "bg-warning" as typeof indicator[number]
|
|
70
|
-
},
|
|
71
|
-
"error": {
|
|
72
|
-
"base": "focus-visible:outline-error",
|
|
73
|
-
"indicator": "bg-error" as typeof indicator[number]
|
|
74
|
-
},
|
|
75
|
-
"neutral": {
|
|
76
|
-
"base": "focus-visible:outline-inverted",
|
|
77
|
-
"indicator": "bg-inverted" as typeof indicator[number]
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"variant": {
|
|
81
|
-
"list": {
|
|
82
|
-
"item": ""
|
|
83
|
-
},
|
|
84
|
-
"card": {
|
|
85
|
-
"item": "border border-muted rounded-lg"
|
|
86
|
-
},
|
|
87
|
-
"table": {
|
|
88
|
-
"item": "border border-muted"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"orientation": {
|
|
92
|
-
"horizontal": {
|
|
93
|
-
"fieldset": "flex-row"
|
|
94
|
-
},
|
|
95
|
-
"vertical": {
|
|
96
|
-
"fieldset": "flex-col"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"indicator": {
|
|
100
|
-
"start": {
|
|
101
|
-
"item": "flex-row",
|
|
102
|
-
"wrapper": "ms-2"
|
|
103
|
-
},
|
|
104
|
-
"end": {
|
|
105
|
-
"item": "flex-row-reverse",
|
|
106
|
-
"wrapper": "me-2"
|
|
107
|
-
},
|
|
108
|
-
"hidden": {
|
|
109
|
-
"base": "sr-only",
|
|
110
|
-
"wrapper": "text-center"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"size": {
|
|
114
|
-
"xs": {
|
|
115
|
-
"fieldset": "gap-y-0.5",
|
|
116
|
-
"legend": "text-xs",
|
|
117
|
-
"base": "size-3",
|
|
118
|
-
"item": "text-xs",
|
|
119
|
-
"container": "h-4",
|
|
120
|
-
"indicator": "after:size-1" as typeof indicator[number]
|
|
121
|
-
},
|
|
122
|
-
"sm": {
|
|
123
|
-
"fieldset": "gap-y-0.5",
|
|
124
|
-
"legend": "text-xs",
|
|
125
|
-
"base": "size-3.5",
|
|
126
|
-
"item": "text-xs",
|
|
127
|
-
"container": "h-4",
|
|
128
|
-
"indicator": "after:size-1" as typeof indicator[number]
|
|
129
|
-
},
|
|
130
|
-
"md": {
|
|
131
|
-
"fieldset": "gap-y-1",
|
|
132
|
-
"legend": "text-sm",
|
|
133
|
-
"base": "size-4",
|
|
134
|
-
"item": "text-sm",
|
|
135
|
-
"container": "h-5",
|
|
136
|
-
"indicator": "after:size-1.5" as typeof indicator[number]
|
|
137
|
-
},
|
|
138
|
-
"lg": {
|
|
139
|
-
"fieldset": "gap-y-1",
|
|
140
|
-
"legend": "text-sm",
|
|
141
|
-
"base": "size-4.5",
|
|
142
|
-
"item": "text-sm",
|
|
143
|
-
"container": "h-5",
|
|
144
|
-
"indicator": "after:size-1.5" as typeof indicator[number]
|
|
145
|
-
},
|
|
146
|
-
"xl": {
|
|
147
|
-
"fieldset": "gap-y-1.5",
|
|
148
|
-
"legend": "text-base",
|
|
149
|
-
"base": "size-5",
|
|
150
|
-
"item": "text-base",
|
|
151
|
-
"container": "h-6",
|
|
152
|
-
"indicator": "after:size-2" as typeof indicator[number]
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"disabled": {
|
|
156
|
-
"true": {
|
|
157
|
-
"base": "cursor-not-allowed opacity-75",
|
|
158
|
-
"label": "cursor-not-allowed opacity-75"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"required": {
|
|
162
|
-
"true": {
|
|
163
|
-
"legend": "after:content-['*'] after:ms-0.5 after:text-error"
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"compoundVariants": [
|
|
168
|
-
{
|
|
169
|
-
"size": "xs" as typeof size[number],
|
|
170
|
-
"variant": [
|
|
171
|
-
"card" as typeof variant[number],
|
|
172
|
-
"table" as typeof variant[number]
|
|
173
|
-
],
|
|
174
|
-
"class": {
|
|
175
|
-
"item": "p-2.5"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"size": "sm" as typeof size[number],
|
|
180
|
-
"variant": [
|
|
181
|
-
"card" as typeof variant[number],
|
|
182
|
-
"table" as typeof variant[number]
|
|
183
|
-
],
|
|
184
|
-
"class": {
|
|
185
|
-
"item": "p-3"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"size": "md" as typeof size[number],
|
|
190
|
-
"variant": [
|
|
191
|
-
"card" as typeof variant[number],
|
|
192
|
-
"table" as typeof variant[number]
|
|
193
|
-
],
|
|
194
|
-
"class": {
|
|
195
|
-
"item": "p-3.5"
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"size": "lg" as typeof size[number],
|
|
200
|
-
"variant": [
|
|
201
|
-
"card" as typeof variant[number],
|
|
202
|
-
"table" as typeof variant[number]
|
|
203
|
-
],
|
|
204
|
-
"class": {
|
|
205
|
-
"item": "p-4"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"size": "xl" as typeof size[number],
|
|
210
|
-
"variant": [
|
|
211
|
-
"card" as typeof variant[number],
|
|
212
|
-
"table" as typeof variant[number]
|
|
213
|
-
],
|
|
214
|
-
"class": {
|
|
215
|
-
"item": "p-4.5"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
220
|
-
"variant": "table" as typeof variant[number],
|
|
221
|
-
"class": {
|
|
222
|
-
"item": "first-of-type:rounded-s-lg last-of-type:rounded-e-lg",
|
|
223
|
-
"fieldset": "gap-0 -space-x-px"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
228
|
-
"variant": "table" as typeof variant[number],
|
|
229
|
-
"class": {
|
|
230
|
-
"item": "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
231
|
-
"fieldset": "gap-0 -space-y-px"
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"color": "primary" as typeof color[number],
|
|
236
|
-
"variant": "card" as typeof variant[number],
|
|
237
|
-
"class": {
|
|
238
|
-
"item": "has-data-[state=checked]:border-primary"
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"color": "secondary" as typeof color[number],
|
|
243
|
-
"variant": "card" as typeof variant[number],
|
|
244
|
-
"class": {
|
|
245
|
-
"item": "has-data-[state=checked]:border-secondary"
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"color": "success" as typeof color[number],
|
|
250
|
-
"variant": "card" as typeof variant[number],
|
|
251
|
-
"class": {
|
|
252
|
-
"item": "has-data-[state=checked]:border-success"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"color": "info" as typeof color[number],
|
|
257
|
-
"variant": "card" as typeof variant[number],
|
|
258
|
-
"class": {
|
|
259
|
-
"item": "has-data-[state=checked]:border-info"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"color": "warning" as typeof color[number],
|
|
264
|
-
"variant": "card" as typeof variant[number],
|
|
265
|
-
"class": {
|
|
266
|
-
"item": "has-data-[state=checked]:border-warning"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"color": "error" as typeof color[number],
|
|
271
|
-
"variant": "card" as typeof variant[number],
|
|
272
|
-
"class": {
|
|
273
|
-
"item": "has-data-[state=checked]:border-error"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"color": "neutral" as typeof color[number],
|
|
278
|
-
"variant": "card" as typeof variant[number],
|
|
279
|
-
"class": {
|
|
280
|
-
"item": "has-data-[state=checked]:border-inverted"
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"color": "primary" as typeof color[number],
|
|
285
|
-
"variant": "table" as typeof variant[number],
|
|
286
|
-
"class": {
|
|
287
|
-
"item": "has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"color": "secondary" as typeof color[number],
|
|
292
|
-
"variant": "table" as typeof variant[number],
|
|
293
|
-
"class": {
|
|
294
|
-
"item": "has-data-[state=checked]:bg-secondary/10 has-data-[state=checked]:border-secondary/50 has-data-[state=checked]:z-[1]"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"color": "success" as typeof color[number],
|
|
299
|
-
"variant": "table" as typeof variant[number],
|
|
300
|
-
"class": {
|
|
301
|
-
"item": "has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"color": "info" as typeof color[number],
|
|
306
|
-
"variant": "table" as typeof variant[number],
|
|
307
|
-
"class": {
|
|
308
|
-
"item": "has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"color": "warning" as typeof color[number],
|
|
313
|
-
"variant": "table" as typeof variant[number],
|
|
314
|
-
"class": {
|
|
315
|
-
"item": "has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"color": "error" as typeof color[number],
|
|
320
|
-
"variant": "table" as typeof variant[number],
|
|
321
|
-
"class": {
|
|
322
|
-
"item": "has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]"
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"color": "neutral" as typeof color[number],
|
|
327
|
-
"variant": "table" as typeof variant[number],
|
|
328
|
-
"class": {
|
|
329
|
-
"item": "has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"variant": [
|
|
334
|
-
"card" as typeof variant[number],
|
|
335
|
-
"table" as typeof variant[number]
|
|
336
|
-
],
|
|
337
|
-
"disabled": true,
|
|
338
|
-
"class": {
|
|
339
|
-
"item": "cursor-not-allowed opacity-75"
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
],
|
|
343
|
-
"defaultVariants": {
|
|
344
|
-
"size": "md" as typeof size[number],
|
|
345
|
-
"color": "primary" as typeof color[number],
|
|
346
|
-
"variant": "list" as typeof variant[number],
|
|
347
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
348
|
-
"indicator": "start" as typeof indicator[number]
|
|
349
|
-
}
|
|
350
|
-
}
|