@nuxt/ui 4.3.0 → 4.4.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/README.md +4 -4
- package/cli/package.json +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +4 -4
- package/dist/runtime/components/Accordion.d.vue.ts +15 -6
- package/dist/runtime/components/Accordion.vue +2 -1
- package/dist/runtime/components/Accordion.vue.d.ts +15 -6
- package/dist/runtime/components/Alert.d.vue.ts +5 -3
- package/dist/runtime/components/Alert.vue.d.ts +5 -3
- package/dist/runtime/components/App.d.vue.ts +8 -6
- package/dist/runtime/components/App.vue.d.ts +8 -6
- package/dist/runtime/components/AuthForm.d.vue.ts +87 -7
- package/dist/runtime/components/AuthForm.vue.d.ts +87 -7
- package/dist/runtime/components/Avatar.d.vue.ts +2 -2
- package/dist/runtime/components/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/AvatarGroup.d.vue.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.d.vue.ts +3 -1
- package/dist/runtime/components/Badge.vue.d.ts +3 -1
- package/dist/runtime/components/Banner.d.vue.ts +3 -4
- package/dist/runtime/components/Banner.vue +49 -23
- package/dist/runtime/components/Banner.vue.d.ts +3 -4
- package/dist/runtime/components/BlogPost.d.vue.ts +4 -1
- package/dist/runtime/components/BlogPost.vue.d.ts +4 -1
- package/dist/runtime/components/BlogPosts.d.vue.ts +8 -6
- package/dist/runtime/components/BlogPosts.vue.d.ts +8 -6
- package/dist/runtime/components/Breadcrumb.d.vue.ts +8 -6
- package/dist/runtime/components/Breadcrumb.vue.d.ts +8 -6
- package/dist/runtime/components/Button.d.vue.ts +1 -1
- package/dist/runtime/components/Button.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.d.vue.ts +14 -6
- package/dist/runtime/components/Calendar.vue +13 -2
- package/dist/runtime/components/Calendar.vue.d.ts +14 -6
- package/dist/runtime/components/Card.d.vue.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.d.vue.ts +10 -6
- package/dist/runtime/components/Carousel.vue.d.ts +10 -6
- package/dist/runtime/components/ChangelogVersion.d.vue.ts +4 -1
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +4 -1
- package/dist/runtime/components/ChangelogVersions.d.vue.ts +12 -8
- package/dist/runtime/components/ChangelogVersions.vue +3 -2
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +12 -8
- package/dist/runtime/components/ChatMessage.d.vue.ts +3 -1
- package/dist/runtime/components/ChatMessage.vue.d.ts +3 -1
- package/dist/runtime/components/ChatMessages.d.vue.ts +6 -1
- package/dist/runtime/components/ChatMessages.vue.d.ts +6 -1
- package/dist/runtime/components/ChatPalette.d.vue.ts +1 -1
- package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPrompt.d.vue.ts +9 -4
- package/dist/runtime/components/ChatPrompt.vue.d.ts +9 -4
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +11 -3
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +11 -3
- package/dist/runtime/components/Checkbox.d.vue.ts +2 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +12 -7
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +12 -7
- package/dist/runtime/components/Chip.d.vue.ts +6 -3
- package/dist/runtime/components/Chip.vue.d.ts +6 -3
- package/dist/runtime/components/Collapsible.d.vue.ts +5 -3
- package/dist/runtime/components/Collapsible.vue.d.ts +5 -3
- package/dist/runtime/components/ColorPicker.d.vue.ts +7 -3
- package/dist/runtime/components/ColorPicker.vue.d.ts +7 -3
- package/dist/runtime/components/CommandPalette.d.vue.ts +36 -13
- package/dist/runtime/components/CommandPalette.vue +26 -18
- package/dist/runtime/components/CommandPalette.vue.d.ts +36 -13
- package/dist/runtime/components/Container.d.vue.ts +1 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +10 -6
- package/dist/runtime/components/ContextMenu.vue.d.ts +10 -6
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +14 -6
- package/dist/runtime/components/ContextMenuContent.vue +10 -11
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +14 -6
- package/dist/runtime/components/DashboardGroup.d.vue.ts +6 -1
- package/dist/runtime/components/DashboardGroup.vue.d.ts +6 -1
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +4 -1
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +4 -1
- package/dist/runtime/components/DashboardPanel.d.vue.ts +4 -1
- package/dist/runtime/components/DashboardPanel.vue.d.ts +4 -1
- package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +1 -1
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSearch.d.vue.ts +13 -4
- package/dist/runtime/components/DashboardSearch.vue +3 -1
- package/dist/runtime/components/DashboardSearch.vue.d.ts +13 -4
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +6 -1
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +6 -1
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +12 -7
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +12 -7
- package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +5 -1
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +5 -1
- package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +5 -1
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +5 -1
- package/dist/runtime/components/DashboardToolbar.d.vue.ts +1 -1
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.d.vue.ts +10 -3
- package/dist/runtime/components/Drawer.vue.d.ts +10 -3
- package/dist/runtime/components/DropdownMenu.d.vue.ts +10 -6
- package/dist/runtime/components/DropdownMenu.vue.d.ts +10 -6
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +14 -6
- package/dist/runtime/components/DropdownMenuContent.vue +10 -11
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +14 -6
- package/dist/runtime/components/Editor.d.vue.ts +29 -15
- package/dist/runtime/components/Editor.vue +30 -16
- package/dist/runtime/components/Editor.vue.d.ts +29 -15
- package/dist/runtime/components/EditorDragHandle.d.vue.ts +7 -3
- package/dist/runtime/components/EditorDragHandle.vue.d.ts +7 -3
- package/dist/runtime/components/EditorEmojiMenu.d.vue.ts +12 -6
- package/dist/runtime/components/EditorEmojiMenu.vue +4 -1
- package/dist/runtime/components/EditorEmojiMenu.vue.d.ts +12 -6
- package/dist/runtime/components/EditorMentionMenu.d.vue.ts +18 -8
- package/dist/runtime/components/EditorMentionMenu.vue +9 -2
- package/dist/runtime/components/EditorMentionMenu.vue.d.ts +18 -8
- package/dist/runtime/components/EditorSuggestionMenu.d.vue.ts +12 -6
- package/dist/runtime/components/EditorSuggestionMenu.vue +4 -1
- package/dist/runtime/components/EditorSuggestionMenu.vue.d.ts +12 -6
- package/dist/runtime/components/EditorToolbar.d.vue.ts +8 -6
- package/dist/runtime/components/EditorToolbar.vue +6 -6
- package/dist/runtime/components/EditorToolbar.vue.d.ts +8 -6
- package/dist/runtime/components/Empty.d.vue.ts +1 -1
- package/dist/runtime/components/Empty.vue.d.ts +1 -1
- package/dist/runtime/components/Error.d.vue.ts +6 -2
- package/dist/runtime/components/Error.vue +1 -1
- package/dist/runtime/components/Error.vue.d.ts +6 -2
- package/dist/runtime/components/FieldGroup.d.vue.ts +3 -1
- package/dist/runtime/components/FieldGroup.vue.d.ts +3 -1
- package/dist/runtime/components/FileUpload.d.vue.ts +12 -7
- package/dist/runtime/components/FileUpload.vue +2 -2
- package/dist/runtime/components/FileUpload.vue.d.ts +12 -7
- package/dist/runtime/components/Footer.d.vue.ts +3 -1
- package/dist/runtime/components/Footer.vue.d.ts +3 -1
- package/dist/runtime/components/FooterColumns.d.vue.ts +8 -6
- package/dist/runtime/components/FooterColumns.vue.d.ts +8 -6
- package/dist/runtime/components/Form.d.vue.ts +11 -6
- package/dist/runtime/components/Form.vue.d.ts +11 -6
- package/dist/runtime/components/FormField.d.vue.ts +3 -1
- package/dist/runtime/components/FormField.vue.d.ts +3 -1
- package/dist/runtime/components/Header.d.vue.ts +11 -7
- package/dist/runtime/components/Header.vue.d.ts +11 -7
- package/dist/runtime/components/Icon.d.vue.ts +1 -1
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.d.vue.ts +13 -7
- package/dist/runtime/components/Input.vue.d.ts +13 -7
- package/dist/runtime/components/InputDate.d.vue.ts +14 -6
- package/dist/runtime/components/InputDate.vue.d.ts +14 -6
- package/dist/runtime/components/InputMenu.d.vue.ts +42 -15
- package/dist/runtime/components/InputMenu.vue +42 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +42 -15
- package/dist/runtime/components/InputNumber.d.vue.ts +14 -8
- package/dist/runtime/components/InputNumber.vue +1 -1
- package/dist/runtime/components/InputNumber.vue.d.ts +14 -8
- package/dist/runtime/components/InputTags.d.vue.ts +17 -7
- package/dist/runtime/components/InputTags.vue.d.ts +17 -7
- package/dist/runtime/components/InputTime.d.vue.ts +5 -3
- package/dist/runtime/components/InputTime.vue.d.ts +5 -3
- package/dist/runtime/components/Kbd.d.vue.ts +3 -1
- package/dist/runtime/components/Kbd.vue.d.ts +3 -1
- package/dist/runtime/components/Link.d.vue.ts +6 -1
- package/dist/runtime/components/Link.vue.d.ts +6 -1
- package/dist/runtime/components/LinkBase.d.vue.ts +6 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +6 -3
- package/dist/runtime/components/Main.d.vue.ts +4 -2
- package/dist/runtime/components/Main.vue +1 -1
- package/dist/runtime/components/Main.vue.d.ts +4 -2
- package/dist/runtime/components/Marquee.d.vue.ts +5 -1
- package/dist/runtime/components/Marquee.vue.d.ts +5 -1
- package/dist/runtime/components/Modal.d.vue.ts +10 -3
- package/dist/runtime/components/Modal.vue.d.ts +10 -3
- package/dist/runtime/components/NavigationMenu.d.vue.ts +16 -7
- package/dist/runtime/components/NavigationMenu.vue +3 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +16 -7
- package/dist/runtime/components/Page.d.vue.ts +1 -1
- package/dist/runtime/components/Page.vue.d.ts +1 -1
- package/dist/runtime/components/PageAnchors.d.vue.ts +8 -6
- package/dist/runtime/components/PageAnchors.vue.d.ts +8 -6
- package/dist/runtime/components/PageAside.d.vue.ts +3 -1
- package/dist/runtime/components/PageAside.vue.d.ts +3 -1
- package/dist/runtime/components/PageBody.d.vue.ts +1 -1
- package/dist/runtime/components/PageBody.vue.d.ts +1 -1
- package/dist/runtime/components/PageCTA.d.vue.ts +4 -1
- package/dist/runtime/components/PageCTA.vue.d.ts +4 -1
- package/dist/runtime/components/PageCard.d.vue.ts +3 -1
- package/dist/runtime/components/PageCard.vue.d.ts +3 -1
- package/dist/runtime/components/PageColumns.d.vue.ts +1 -1
- package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
- package/dist/runtime/components/PageFeature.d.vue.ts +3 -1
- package/dist/runtime/components/PageFeature.vue.d.ts +3 -1
- package/dist/runtime/components/PageGrid.d.vue.ts +1 -1
- package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
- package/dist/runtime/components/PageHeader.d.vue.ts +1 -1
- package/dist/runtime/components/PageHeader.vue.d.ts +1 -1
- package/dist/runtime/components/PageHero.d.vue.ts +3 -1
- package/dist/runtime/components/PageHero.vue.d.ts +3 -1
- package/dist/runtime/components/PageLinks.d.vue.ts +8 -6
- package/dist/runtime/components/PageLinks.vue.d.ts +8 -6
- package/dist/runtime/components/PageList.d.vue.ts +3 -1
- package/dist/runtime/components/PageList.vue.d.ts +3 -1
- package/dist/runtime/components/PageLogos.d.vue.ts +3 -1
- package/dist/runtime/components/PageLogos.vue.d.ts +3 -1
- package/dist/runtime/components/PageSection.d.vue.ts +4 -1
- package/dist/runtime/components/PageSection.vue.d.ts +4 -1
- package/dist/runtime/components/Pagination.d.vue.ts +13 -3
- package/dist/runtime/components/Pagination.vue.d.ts +13 -3
- package/dist/runtime/components/PinInput.d.vue.ts +13 -6
- package/dist/runtime/components/PinInput.vue.d.ts +13 -6
- package/dist/runtime/components/Popover.d.vue.ts +11 -6
- package/dist/runtime/components/Popover.vue.d.ts +11 -6
- package/dist/runtime/components/PricingPlan.d.vue.ts +3 -1
- package/dist/runtime/components/PricingPlan.vue.d.ts +3 -1
- package/dist/runtime/components/PricingPlans.d.vue.ts +8 -6
- package/dist/runtime/components/PricingPlans.vue.d.ts +8 -6
- package/dist/runtime/components/PricingTable.d.vue.ts +8 -6
- package/dist/runtime/components/PricingTable.vue.d.ts +8 -6
- package/dist/runtime/components/Progress.d.vue.ts +7 -3
- package/dist/runtime/components/Progress.vue.d.ts +7 -3
- package/dist/runtime/components/RadioGroup.d.vue.ts +12 -7
- package/dist/runtime/components/RadioGroup.vue.d.ts +12 -7
- package/dist/runtime/components/ScrollArea.d.vue.ts +10 -6
- package/dist/runtime/components/ScrollArea.vue.d.ts +10 -6
- package/dist/runtime/components/Select.d.vue.ts +20 -6
- package/dist/runtime/components/Select.vue +10 -5
- package/dist/runtime/components/Select.vue.d.ts +20 -6
- package/dist/runtime/components/SelectMenu.d.vue.ts +41 -15
- package/dist/runtime/components/SelectMenu.vue +44 -11
- package/dist/runtime/components/SelectMenu.vue.d.ts +41 -15
- package/dist/runtime/components/Separator.d.vue.ts +4 -2
- package/dist/runtime/components/Separator.vue.d.ts +4 -2
- package/dist/runtime/components/Skeleton.d.vue.ts +2 -2
- package/dist/runtime/components/Skeleton.vue.d.ts +2 -2
- package/dist/runtime/components/Slideover.d.vue.ts +11 -3
- package/dist/runtime/components/Slideover.vue.d.ts +11 -3
- package/dist/runtime/components/Slider.d.vue.ts +13 -8
- package/dist/runtime/components/Slider.vue.d.ts +13 -8
- package/dist/runtime/components/Stepper.d.vue.ts +23 -9
- package/dist/runtime/components/Stepper.vue +20 -16
- package/dist/runtime/components/Stepper.vue.d.ts +23 -9
- package/dist/runtime/components/Switch.d.vue.ts +2 -2
- package/dist/runtime/components/Switch.vue.d.ts +2 -2
- package/dist/runtime/components/Table.d.vue.ts +24 -9
- package/dist/runtime/components/Table.vue.d.ts +24 -9
- package/dist/runtime/components/Tabs.d.vue.ts +16 -7
- package/dist/runtime/components/Tabs.vue +5 -4
- package/dist/runtime/components/Tabs.vue.d.ts +16 -7
- package/dist/runtime/components/Textarea.d.vue.ts +13 -7
- package/dist/runtime/components/Textarea.vue.d.ts +13 -7
- package/dist/runtime/components/Timeline.d.vue.ts +24 -10
- package/dist/runtime/components/Timeline.vue +26 -17
- package/dist/runtime/components/Timeline.vue.d.ts +24 -10
- package/dist/runtime/components/Toast.d.vue.ts +7 -3
- package/dist/runtime/components/Toast.vue.d.ts +7 -3
- package/dist/runtime/components/Toaster.d.vue.ts +7 -1
- package/dist/runtime/components/Toaster.vue.d.ts +7 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +5 -3
- package/dist/runtime/components/Tooltip.vue.d.ts +5 -3
- package/dist/runtime/components/Tree.d.vue.ts +13 -8
- package/dist/runtime/components/Tree.vue.d.ts +13 -8
- package/dist/runtime/components/User.d.vue.ts +3 -1
- package/dist/runtime/components/User.vue.d.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +4 -1
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +4 -1
- package/dist/runtime/components/color-mode/ColorModeImage.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +4 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +3 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentNavigation.d.vue.ts +10 -6
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +10 -6
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +16 -8
- package/dist/runtime/components/content/ContentSearch.vue +3 -1
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +16 -8
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +6 -1
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +6 -1
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +8 -6
- package/dist/runtime/components/content/ContentSurround.vue +1 -1
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +8 -6
- package/dist/runtime/components/content/ContentToc.d.vue.ts +11 -6
- package/dist/runtime/components/content/ContentToc.vue.d.ts +11 -6
- package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +7 -3
- package/dist/runtime/components/locale/LocaleSelect.vue +4 -0
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +7 -3
- package/dist/runtime/components/prose/A.d.vue.ts +1 -1
- package/dist/runtime/components/prose/A.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Accordion.d.vue.ts +3 -1
- package/dist/runtime/components/prose/Accordion.vue.d.ts +3 -1
- package/dist/runtime/components/prose/AccordionItem.d.vue.ts +1 -1
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Badge.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Blockquote.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Callout.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Callout.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Card.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Card.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CardGroup.d.vue.ts +1 -1
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Code.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeCollapse.d.vue.ts +2 -2
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +2 -2
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +5 -3
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +5 -3
- package/dist/runtime/components/prose/CodeIcon.d.vue.ts +1 -1
- package/dist/runtime/components/prose/CodeIcon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodePreview.d.vue.ts +1 -1
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeTree.d.vue.ts +2 -2
- package/dist/runtime/components/prose/CodeTree.vue +6 -3
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +2 -2
- package/dist/runtime/components/prose/Collapsible.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Em.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
- 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/FieldGroup.d.vue.ts +1 -1
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H1.d.vue.ts +1 -1
- package/dist/runtime/components/prose/H1.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H2.d.vue.ts +1 -1
- package/dist/runtime/components/prose/H2.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H3.d.vue.ts +1 -1
- package/dist/runtime/components/prose/H3.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H4.d.vue.ts +1 -1
- package/dist/runtime/components/prose/H4.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Hr.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Hr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Icon.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Img.d.vue.ts +3 -1
- package/dist/runtime/components/prose/Img.vue.d.ts +3 -1
- package/dist/runtime/components/prose/Kbd.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Li.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ol.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
- package/dist/runtime/components/prose/P.d.vue.ts +1 -1
- package/dist/runtime/components/prose/P.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Pre.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Pre.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Steps.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Strong.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Table.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Table.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tabs.d.vue.ts +5 -3
- package/dist/runtime/components/prose/Tabs.vue.d.ts +5 -3
- package/dist/runtime/components/prose/TabsItem.d.vue.ts +1 -1
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tbody.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Td.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Td.vue +2 -1
- package/dist/runtime/components/prose/Td.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Th.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Th.vue +2 -1
- package/dist/runtime/components/prose/Th.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Thead.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tr.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ul.d.vue.ts +1 -1
- package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Caution.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.d.vue.ts +2 -2
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +2 -2
- package/dist/runtime/composables/defineShortcuts.js +1 -1
- package/dist/runtime/composables/useEditorMenu.d.ts +12 -1
- package/dist/runtime/composables/useEditorMenu.js +131 -144
- package/dist/runtime/composables/useOverlay.d.ts +3 -1
- package/dist/runtime/locale/cs.js +2 -2
- package/dist/runtime/locale/sk.js +2 -2
- package/dist/runtime/types/editor.d.ts +2 -1
- package/dist/runtime/utils/ai.d.ts +7 -0
- package/dist/runtime/utils/editor.d.ts +1 -1
- package/dist/runtime/utils/editor.js +28 -10
- package/dist/runtime/utils/fuse.js +22 -3
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +2 -2
- package/dist/runtime/utils/virtualizer.d.ts +1 -3
- package/dist/runtime/utils/virtualizer.js +15 -6
- package/dist/runtime/vue/components/Icon.d.vue.ts +1 -1
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +3 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +4 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +3 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.d.vue.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/vue/overrides/inertia/Link.d.vue.ts +6 -1
- package/dist/runtime/vue/overrides/inertia/Link.vue.d.ts +6 -1
- package/dist/runtime/vue/overrides/inertia/LinkBase.d.vue.ts +6 -3
- package/dist/runtime/vue/overrides/inertia/LinkBase.vue.d.ts +6 -3
- package/dist/runtime/vue/overrides/none/Link.d.vue.ts +6 -1
- package/dist/runtime/vue/overrides/none/Link.vue +11 -3
- package/dist/runtime/vue/overrides/none/Link.vue.d.ts +6 -1
- package/dist/runtime/vue/overrides/vue-router/Link.d.vue.ts +6 -1
- package/dist/runtime/vue/overrides/vue-router/Link.vue +2 -2
- package/dist/runtime/vue/overrides/vue-router/Link.vue.d.ts +6 -1
- package/dist/runtime/vue/plugins/router.d.ts +4 -0
- package/dist/runtime/vue/plugins/router.js +7 -0
- package/dist/shared/{ui.DegC4tw1.mjs → ui.Ddb3hKxo.mjs} +238 -30
- package/dist/unplugin.mjs +5 -3
- package/dist/vite.d.mts +2 -3
- package/dist/vite.mjs +1 -1
- package/package.json +44 -28
|
@@ -134,10 +134,10 @@ function applyDefaultVariants(result, defaultVariants) {
|
|
|
134
134
|
if (!result || !defaultVariants) {
|
|
135
135
|
return result;
|
|
136
136
|
}
|
|
137
|
-
if (result.defaultVariants?.color && defaultVariants.color) {
|
|
137
|
+
if (defaultVariants.color && result.defaultVariants?.color && result.defaultVariants.color === "primary") {
|
|
138
138
|
result.defaultVariants.color = defaultVariants.color;
|
|
139
139
|
}
|
|
140
|
-
if (result.defaultVariants?.size && defaultVariants.size) {
|
|
140
|
+
if (defaultVariants.size && result.defaultVariants?.size && result.defaultVariants.size === "md") {
|
|
141
141
|
result.defaultVariants.size = defaultVariants.size;
|
|
142
142
|
}
|
|
143
143
|
return result;
|
|
@@ -987,8 +987,10 @@ const calendar = (options) => ({
|
|
|
987
987
|
gridWeekDaysRow: "mb-1 grid w-full grid-cols-7",
|
|
988
988
|
gridBody: "grid",
|
|
989
989
|
headCell: "rounded-md",
|
|
990
|
+
headCellWeek: "rounded-md text-muted",
|
|
990
991
|
cell: "relative text-center",
|
|
991
|
-
cellTrigger: ["m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none data-disabled:text-muted data-unavailable:line-through data-unavailable:text-muted data-unavailable:pointer-events-none data-today:font-semibold data-[outside-view]:text-muted", options.theme.transitions && "transition"]
|
|
992
|
+
cellTrigger: ["m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none data-disabled:text-muted data-unavailable:line-through data-unavailable:text-muted data-unavailable:pointer-events-none data-today:font-semibold data-[outside-view]:text-muted", options.theme.transitions && "transition"],
|
|
993
|
+
cellWeek: "relative text-center text-muted"
|
|
992
994
|
},
|
|
993
995
|
variants: {
|
|
994
996
|
color: {
|
|
@@ -1011,32 +1013,46 @@ const calendar = (options) => ({
|
|
|
1011
1013
|
xs: {
|
|
1012
1014
|
heading: "text-xs",
|
|
1013
1015
|
cell: "text-xs",
|
|
1016
|
+
cellWeek: "text-xs",
|
|
1014
1017
|
headCell: "text-[10px]",
|
|
1018
|
+
headCellWeek: "text-[10px]",
|
|
1015
1019
|
cellTrigger: "size-7",
|
|
1016
1020
|
body: "space-y-2 pt-2"
|
|
1017
1021
|
},
|
|
1018
1022
|
sm: {
|
|
1019
1023
|
heading: "text-xs",
|
|
1020
1024
|
headCell: "text-xs",
|
|
1025
|
+
headCellWeek: "text-xs",
|
|
1026
|
+
cellWeek: "text-xs",
|
|
1021
1027
|
cell: "text-xs",
|
|
1022
1028
|
cellTrigger: "size-7"
|
|
1023
1029
|
},
|
|
1024
1030
|
md: {
|
|
1025
1031
|
heading: "text-sm",
|
|
1026
1032
|
headCell: "text-xs",
|
|
1033
|
+
headCellWeek: "text-xs",
|
|
1034
|
+
cellWeek: "text-xs",
|
|
1027
1035
|
cell: "text-sm",
|
|
1028
1036
|
cellTrigger: "size-8"
|
|
1029
1037
|
},
|
|
1030
1038
|
lg: {
|
|
1031
1039
|
heading: "text-md",
|
|
1032
1040
|
headCell: "text-md",
|
|
1041
|
+
headCellWeek: "text-md",
|
|
1033
1042
|
cellTrigger: "size-9 text-md"
|
|
1034
1043
|
},
|
|
1035
1044
|
xl: {
|
|
1036
1045
|
heading: "text-lg",
|
|
1037
1046
|
headCell: "text-lg",
|
|
1047
|
+
headCellWeek: "text-lg",
|
|
1038
1048
|
cellTrigger: "size-10 text-lg"
|
|
1039
1049
|
}
|
|
1050
|
+
},
|
|
1051
|
+
weekNumbers: {
|
|
1052
|
+
true: {
|
|
1053
|
+
gridRow: "grid-cols-8",
|
|
1054
|
+
gridWeekDaysRow: "grid-cols-8 [&>*:first-child]:col-start-2"
|
|
1055
|
+
}
|
|
1040
1056
|
}
|
|
1041
1057
|
},
|
|
1042
1058
|
compoundVariants: [...(options.theme.colors || []).map((color) => ({
|
|
@@ -1715,26 +1731,26 @@ const colorPicker = {
|
|
|
1715
1731
|
const commandPalette = (options) => ({
|
|
1716
1732
|
slots: {
|
|
1717
1733
|
root: "flex flex-col min-h-0 min-w-0 divide-y divide-default",
|
|
1718
|
-
input: "
|
|
1734
|
+
input: "",
|
|
1719
1735
|
close: "",
|
|
1720
1736
|
back: "p-0",
|
|
1721
1737
|
content: "relative overflow-hidden flex flex-col",
|
|
1722
1738
|
footer: "p-1",
|
|
1723
1739
|
viewport: "relative scroll-py-1 overflow-y-auto flex-1 focus:outline-none",
|
|
1724
1740
|
group: "p-1 isolate",
|
|
1725
|
-
empty: "
|
|
1726
|
-
label: "
|
|
1727
|
-
item: "group relative w-full flex items-start
|
|
1728
|
-
itemLeadingIcon: "shrink-0
|
|
1741
|
+
empty: "text-center text-muted",
|
|
1742
|
+
label: "font-semibold text-highlighted",
|
|
1743
|
+
item: "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
|
|
1744
|
+
itemLeadingIcon: "shrink-0",
|
|
1729
1745
|
itemLeadingAvatar: "shrink-0",
|
|
1730
|
-
itemLeadingAvatarSize: "
|
|
1731
|
-
itemLeadingChip: "shrink-0
|
|
1732
|
-
itemLeadingChipSize: "
|
|
1733
|
-
itemTrailing: "ms-auto inline-flex
|
|
1734
|
-
itemTrailingIcon: "shrink-0
|
|
1735
|
-
itemTrailingHighlightedIcon: "shrink-0
|
|
1736
|
-
itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0
|
|
1737
|
-
itemTrailingKbdsSize: "
|
|
1746
|
+
itemLeadingAvatarSize: "",
|
|
1747
|
+
itemLeadingChip: "shrink-0",
|
|
1748
|
+
itemLeadingChipSize: "",
|
|
1749
|
+
itemTrailing: "ms-auto inline-flex items-center",
|
|
1750
|
+
itemTrailingIcon: "shrink-0",
|
|
1751
|
+
itemTrailingHighlightedIcon: "shrink-0 text-dimmed hidden group-data-highlighted:inline-flex",
|
|
1752
|
+
itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0",
|
|
1753
|
+
itemTrailingKbdsSize: "",
|
|
1738
1754
|
itemWrapper: "flex-1 flex flex-col text-start min-w-0",
|
|
1739
1755
|
itemLabel: "truncate space-x-1 text-dimmed",
|
|
1740
1756
|
itemDescription: "truncate text-muted",
|
|
@@ -1751,6 +1767,83 @@ const commandPalette = (options) => ({
|
|
|
1751
1767
|
viewport: "divide-y divide-default"
|
|
1752
1768
|
}
|
|
1753
1769
|
},
|
|
1770
|
+
size: {
|
|
1771
|
+
xs: {
|
|
1772
|
+
input: "[&>input]:h-10",
|
|
1773
|
+
empty: "py-3 text-xs",
|
|
1774
|
+
label: "p-1 text-[10px]/3 gap-1",
|
|
1775
|
+
item: "p-1 text-xs gap-1",
|
|
1776
|
+
itemLeadingIcon: "size-4",
|
|
1777
|
+
itemLeadingAvatarSize: "3xs",
|
|
1778
|
+
itemLeadingChip: "size-4",
|
|
1779
|
+
itemLeadingChipSize: "sm",
|
|
1780
|
+
itemTrailing: "gap-1",
|
|
1781
|
+
itemTrailingIcon: "size-4",
|
|
1782
|
+
itemTrailingHighlightedIcon: "size-4",
|
|
1783
|
+
itemTrailingKbds: "gap-0.5",
|
|
1784
|
+
itemTrailingKbdsSize: "sm"
|
|
1785
|
+
},
|
|
1786
|
+
sm: {
|
|
1787
|
+
input: "[&>input]:h-11",
|
|
1788
|
+
empty: "py-4 text-xs",
|
|
1789
|
+
label: "p-1.5 text-[10px]/3 gap-1.5",
|
|
1790
|
+
item: "p-1.5 text-xs gap-1.5",
|
|
1791
|
+
itemLeadingIcon: "size-4",
|
|
1792
|
+
itemLeadingAvatarSize: "3xs",
|
|
1793
|
+
itemLeadingChip: "size-4",
|
|
1794
|
+
itemLeadingChipSize: "sm",
|
|
1795
|
+
itemTrailing: "gap-1.5",
|
|
1796
|
+
itemTrailingIcon: "size-4",
|
|
1797
|
+
itemTrailingHighlightedIcon: "size-4",
|
|
1798
|
+
itemTrailingKbds: "gap-0.5",
|
|
1799
|
+
itemTrailingKbdsSize: "sm"
|
|
1800
|
+
},
|
|
1801
|
+
md: {
|
|
1802
|
+
input: "[&>input]:h-12",
|
|
1803
|
+
empty: "py-6 text-sm",
|
|
1804
|
+
label: "p-1.5 text-xs gap-1.5",
|
|
1805
|
+
item: "p-1.5 text-sm gap-1.5",
|
|
1806
|
+
itemLeadingIcon: "size-5",
|
|
1807
|
+
itemLeadingAvatarSize: "2xs",
|
|
1808
|
+
itemLeadingChip: "size-5",
|
|
1809
|
+
itemLeadingChipSize: "md",
|
|
1810
|
+
itemTrailing: "gap-1.5",
|
|
1811
|
+
itemTrailingIcon: "size-5",
|
|
1812
|
+
itemTrailingHighlightedIcon: "size-5",
|
|
1813
|
+
itemTrailingKbds: "gap-0.5",
|
|
1814
|
+
itemTrailingKbdsSize: "md"
|
|
1815
|
+
},
|
|
1816
|
+
lg: {
|
|
1817
|
+
input: "[&>input]:h-13",
|
|
1818
|
+
empty: "py-7 text-sm",
|
|
1819
|
+
label: "p-2 text-xs gap-2",
|
|
1820
|
+
item: "p-2 text-sm gap-2",
|
|
1821
|
+
itemLeadingIcon: "size-5",
|
|
1822
|
+
itemLeadingAvatarSize: "2xs",
|
|
1823
|
+
itemLeadingChip: "size-5",
|
|
1824
|
+
itemLeadingChipSize: "md",
|
|
1825
|
+
itemTrailing: "gap-2",
|
|
1826
|
+
itemTrailingIcon: "size-5",
|
|
1827
|
+
itemTrailingHighlightedIcon: "size-5",
|
|
1828
|
+
itemTrailingKbds: "gap-0.5",
|
|
1829
|
+
itemTrailingKbdsSize: "md"
|
|
1830
|
+
},
|
|
1831
|
+
xl: {
|
|
1832
|
+
input: "[&>input]:h-14",
|
|
1833
|
+
empty: "py-8 text-base",
|
|
1834
|
+
label: "p-2 text-sm gap-2",
|
|
1835
|
+
item: "p-2 text-base gap-2",
|
|
1836
|
+
itemLeadingIcon: "size-6",
|
|
1837
|
+
itemLeadingAvatarSize: "xs",
|
|
1838
|
+
itemLeadingChip: "size-6",
|
|
1839
|
+
itemLeadingChipSize: "lg",
|
|
1840
|
+
itemTrailing: "gap-2",
|
|
1841
|
+
itemTrailingIcon: "size-6",
|
|
1842
|
+
itemTrailingHighlightedIcon: "size-6",
|
|
1843
|
+
itemTrailingKbds: "gap-0.5",
|
|
1844
|
+
itemTrailingKbdsSize: "lg"
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1754
1847
|
active: {
|
|
1755
1848
|
true: {
|
|
1756
1849
|
item: "text-highlighted before:bg-elevated",
|
|
@@ -1766,6 +1859,9 @@ const commandPalette = (options) => ({
|
|
|
1766
1859
|
itemLeadingIcon: "animate-spin"
|
|
1767
1860
|
}
|
|
1768
1861
|
}
|
|
1862
|
+
},
|
|
1863
|
+
defaultVariants: {
|
|
1864
|
+
size: "md"
|
|
1769
1865
|
}
|
|
1770
1866
|
});
|
|
1771
1867
|
|
|
@@ -1932,14 +2028,34 @@ const dashboardResizeHandle = {
|
|
|
1932
2028
|
const dashboardSearch = {
|
|
1933
2029
|
slots: {
|
|
1934
2030
|
modal: "",
|
|
1935
|
-
input: "
|
|
2031
|
+
input: ""
|
|
1936
2032
|
},
|
|
1937
2033
|
variants: {
|
|
1938
2034
|
fullscreen: {
|
|
1939
2035
|
false: {
|
|
1940
2036
|
modal: "sm:max-w-3xl h-full sm:h-[28rem]"
|
|
1941
2037
|
}
|
|
2038
|
+
},
|
|
2039
|
+
size: {
|
|
2040
|
+
xs: {
|
|
2041
|
+
input: "[&>input]:text-sm"
|
|
2042
|
+
},
|
|
2043
|
+
sm: {
|
|
2044
|
+
input: "[&>input]:text-sm"
|
|
2045
|
+
},
|
|
2046
|
+
md: {
|
|
2047
|
+
input: "[&>input]:text-base/5"
|
|
2048
|
+
},
|
|
2049
|
+
lg: {
|
|
2050
|
+
input: "[&>input]:text-base/5"
|
|
2051
|
+
},
|
|
2052
|
+
xl: {
|
|
2053
|
+
input: "[&>input]:text-lg"
|
|
2054
|
+
}
|
|
1942
2055
|
}
|
|
2056
|
+
},
|
|
2057
|
+
defaultVariants: {
|
|
2058
|
+
size: "md"
|
|
1943
2059
|
}
|
|
1944
2060
|
};
|
|
1945
2061
|
|
|
@@ -2268,25 +2384,27 @@ const editor = (options) => ({
|
|
|
2268
2384
|
content: "relative size-full flex-1",
|
|
2269
2385
|
base: [
|
|
2270
2386
|
"w-full outline-none *:my-5 *:first:mt-0 *:last:mb-0 sm:px-8 selection:bg-primary/20",
|
|
2271
|
-
// Placeholder
|
|
2272
|
-
"[&_:is(p,h1,h2,h3,h4).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4).is-empty]:before:text-dimmed [&_:is(p,h1,h2,h3,h4).is-empty]:before:float-left [&_:is(p,h1,h2,h3,h4).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4).is-empty]:before:pointer-events-none",
|
|
2273
|
-
"[&_li_.is-empty]:before:content-none",
|
|
2274
2387
|
// Paragraph
|
|
2275
2388
|
"[&_p]:leading-7",
|
|
2276
2389
|
// Links
|
|
2277
2390
|
"[&_a]:text-primary [&_a]:border-b [&_a]:border-transparent [&_a]:hover:border-primary [&_a]:font-medium",
|
|
2278
2391
|
options.theme?.transitions && "[&_a]:transition-colors",
|
|
2392
|
+
// Code inside links
|
|
2393
|
+
"[&_a>code]:border-dashed [&_a:hover>code]:border-primary [&_a:hover>code]:text-primary",
|
|
2394
|
+
options.theme?.transitions && "[&_a>code]:transition-colors",
|
|
2279
2395
|
// Mentions
|
|
2280
2396
|
"[&_.mention]:text-primary [&_.mention]:font-medium",
|
|
2281
2397
|
// Headings - shared styles
|
|
2282
|
-
"[&_:is(h1,h2,h3,h4)]:text-highlighted [&_:is(h1,h2,h3,h4)]:font-bold",
|
|
2398
|
+
"[&_:is(h1,h2,h3,h4,h5,h6)]:text-highlighted [&_:is(h1,h2,h3,h4,h5,h6)]:font-bold",
|
|
2283
2399
|
// Headings - unique styles
|
|
2284
2400
|
"[&_h1]:text-3xl",
|
|
2285
2401
|
"[&_h2]:text-2xl",
|
|
2286
2402
|
"[&_h3]:text-xl",
|
|
2287
2403
|
"[&_h4]:text-lg",
|
|
2404
|
+
"[&_h5]:text-base",
|
|
2405
|
+
"[&_h6]:text-base",
|
|
2288
2406
|
// Code inside headings
|
|
2289
|
-
"[&_:is(h1,h2,h3,h4)>code]:border-dashed [&_:is(h1,h2,h3,h4)>code]:font-bold",
|
|
2407
|
+
"[&_:is(h1,h2,h3,h4,h5,h6)>code]:border-dashed [&_:is(h1,h2,h3,h4,h5,h6)>code]:font-bold",
|
|
2290
2408
|
"[&_h2>code]:text-xl/6",
|
|
2291
2409
|
"[&_h3>code]:text-lg/5",
|
|
2292
2410
|
// Blockquote & HR
|
|
@@ -2308,6 +2426,19 @@ const editor = (options) => ({
|
|
|
2308
2426
|
// Selected nodes
|
|
2309
2427
|
"[&_.ProseMirror-selectednode:not(img):not(pre):not([data-node-view-wrapper])]:bg-primary/20"
|
|
2310
2428
|
]
|
|
2429
|
+
},
|
|
2430
|
+
variants: {
|
|
2431
|
+
placeholderMode: {
|
|
2432
|
+
firstLine: {
|
|
2433
|
+
base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:float-left [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:pointer-events-none"
|
|
2434
|
+
},
|
|
2435
|
+
everyLine: {
|
|
2436
|
+
base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:float-left [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:pointer-events-none"
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
defaultVariants: {
|
|
2441
|
+
placeholderMode: "everyLine"
|
|
2311
2442
|
}
|
|
2312
2443
|
});
|
|
2313
2444
|
|
|
@@ -2323,18 +2454,50 @@ const editorSuggestionMenu = (options) => ({
|
|
|
2323
2454
|
content: "min-w-48 max-w-60 max-h-96 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",
|
|
2324
2455
|
viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
2325
2456
|
group: "p-1 isolate",
|
|
2326
|
-
label: "w-full flex items-center font-semibold text-highlighted
|
|
2457
|
+
label: "w-full flex items-center font-semibold text-highlighted",
|
|
2327
2458
|
separator: "-mx-1 my-1 h-px bg-border",
|
|
2328
|
-
item: "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75
|
|
2329
|
-
itemLeadingIcon: "shrink-0
|
|
2459
|
+
item: "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
|
|
2460
|
+
itemLeadingIcon: "shrink-0 flex items-center justify-center",
|
|
2330
2461
|
itemLeadingAvatar: "shrink-0",
|
|
2331
|
-
itemLeadingAvatarSize: "
|
|
2462
|
+
itemLeadingAvatarSize: "",
|
|
2332
2463
|
itemWrapper: "flex-1 flex flex-col text-start min-w-0",
|
|
2333
2464
|
itemLabel: "truncate",
|
|
2334
2465
|
itemDescription: "truncate text-muted",
|
|
2335
2466
|
itemLabelExternalIcon: "inline-block size-3 align-top text-dimmed"
|
|
2336
2467
|
},
|
|
2337
2468
|
variants: {
|
|
2469
|
+
size: {
|
|
2470
|
+
xs: {
|
|
2471
|
+
label: "p-1 text-[10px]/3 gap-1",
|
|
2472
|
+
item: "p-1 text-xs gap-1",
|
|
2473
|
+
itemLeadingIcon: "size-4 text-sm",
|
|
2474
|
+
itemLeadingAvatarSize: "3xs"
|
|
2475
|
+
},
|
|
2476
|
+
sm: {
|
|
2477
|
+
label: "p-1.5 text-[10px]/3 gap-1.5",
|
|
2478
|
+
item: "p-1.5 text-xs gap-1.5",
|
|
2479
|
+
itemLeadingIcon: "size-4 text-sm",
|
|
2480
|
+
itemLeadingAvatarSize: "3xs"
|
|
2481
|
+
},
|
|
2482
|
+
md: {
|
|
2483
|
+
label: "p-1.5 text-xs gap-1.5",
|
|
2484
|
+
item: "p-1.5 text-sm gap-1.5",
|
|
2485
|
+
itemLeadingIcon: "size-5 text-base",
|
|
2486
|
+
itemLeadingAvatarSize: "2xs"
|
|
2487
|
+
},
|
|
2488
|
+
lg: {
|
|
2489
|
+
label: "p-2 text-xs gap-2",
|
|
2490
|
+
item: "p-2 text-sm gap-2",
|
|
2491
|
+
itemLeadingIcon: "size-5 text-base",
|
|
2492
|
+
itemLeadingAvatarSize: "2xs"
|
|
2493
|
+
},
|
|
2494
|
+
xl: {
|
|
2495
|
+
label: "p-2 text-sm gap-2",
|
|
2496
|
+
item: "p-2 text-base gap-2",
|
|
2497
|
+
itemLeadingIcon: "size-6 text-xl",
|
|
2498
|
+
itemLeadingAvatarSize: "xs"
|
|
2499
|
+
}
|
|
2500
|
+
},
|
|
2338
2501
|
active: {
|
|
2339
2502
|
true: {
|
|
2340
2503
|
item: "text-highlighted before:bg-elevated/75",
|
|
@@ -2345,6 +2508,9 @@ const editorSuggestionMenu = (options) => ({
|
|
|
2345
2508
|
itemLeadingIcon: ["text-dimmed group-data-highlighted:not-group-data-disabled:text-default", options.theme.transitions && "transition-colors"]
|
|
2346
2509
|
}
|
|
2347
2510
|
}
|
|
2511
|
+
},
|
|
2512
|
+
defaultVariants: {
|
|
2513
|
+
size: "md"
|
|
2348
2514
|
}
|
|
2349
2515
|
});
|
|
2350
2516
|
|
|
@@ -2978,6 +3144,7 @@ const inputMenu = (options) => {
|
|
|
2978
3144
|
slots: {
|
|
2979
3145
|
base: () => ["rounded-md", options.theme.transitions && "transition-colors"],
|
|
2980
3146
|
trailing: "group absolute inset-y-0 end-0 flex items-center disabled:cursor-not-allowed disabled:opacity-75",
|
|
3147
|
+
trailingClear: "p-0",
|
|
2981
3148
|
arrow: "fill-default",
|
|
2982
3149
|
content: "max-h-60 w-(--reka-combobox-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-combobox-content-transform-origin) pointer-events-auto flex flex-col",
|
|
2983
3150
|
viewport: "relative scroll-py-1 overflow-y-auto flex-1",
|
|
@@ -5069,7 +5236,8 @@ const selectMenu = (options) => {
|
|
|
5069
5236
|
input: "border-b border-default",
|
|
5070
5237
|
focusScope: "flex flex-col min-h-0",
|
|
5071
5238
|
viewport: "relative scroll-py-1 overflow-y-auto flex-1",
|
|
5072
|
-
content: (content) => [content, "origin-(--reka-combobox-content-transform-origin) w-(--reka-combobox-trigger-width)"]
|
|
5239
|
+
content: (content) => [content, "origin-(--reka-combobox-content-transform-origin) w-(--reka-combobox-trigger-width)"],
|
|
5240
|
+
trailingClear: "p-0"
|
|
5073
5241
|
},
|
|
5074
5242
|
variants: {
|
|
5075
5243
|
virtualize: {
|
|
@@ -6929,11 +7097,31 @@ const tbody = {
|
|
|
6929
7097
|
};
|
|
6930
7098
|
|
|
6931
7099
|
const td = {
|
|
6932
|
-
base: "py-3 px-4 text-sm
|
|
7100
|
+
base: "py-3 px-4 text-sm align-top border-e border-b first:border-s border-muted [&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5",
|
|
7101
|
+
variants: {
|
|
7102
|
+
align: {
|
|
7103
|
+
left: "text-left",
|
|
7104
|
+
center: "text-center",
|
|
7105
|
+
right: "text-right"
|
|
7106
|
+
}
|
|
7107
|
+
},
|
|
7108
|
+
defaultVariants: {
|
|
7109
|
+
align: "left"
|
|
7110
|
+
}
|
|
6933
7111
|
};
|
|
6934
7112
|
|
|
6935
7113
|
const th = {
|
|
6936
|
-
base: "py-3 px-4 font-semibold text-sm
|
|
7114
|
+
base: "py-3 px-4 font-semibold text-sm border-e border-b first:border-s border-t border-muted",
|
|
7115
|
+
variants: {
|
|
7116
|
+
align: {
|
|
7117
|
+
left: "text-left",
|
|
7118
|
+
center: "text-center",
|
|
7119
|
+
right: "text-right"
|
|
7120
|
+
}
|
|
7121
|
+
},
|
|
7122
|
+
defaultVariants: {
|
|
7123
|
+
align: "left"
|
|
7124
|
+
}
|
|
6937
7125
|
};
|
|
6938
7126
|
|
|
6939
7127
|
const thead = {
|
|
@@ -7150,14 +7338,34 @@ const contentNavigation = (options) => ({
|
|
|
7150
7338
|
const contentSearch = {
|
|
7151
7339
|
slots: {
|
|
7152
7340
|
modal: "",
|
|
7153
|
-
input: "
|
|
7341
|
+
input: ""
|
|
7154
7342
|
},
|
|
7155
7343
|
variants: {
|
|
7156
7344
|
fullscreen: {
|
|
7157
7345
|
false: {
|
|
7158
7346
|
modal: "sm:max-w-3xl h-full sm:h-[28rem]"
|
|
7159
7347
|
}
|
|
7348
|
+
},
|
|
7349
|
+
size: {
|
|
7350
|
+
xs: {
|
|
7351
|
+
input: "[&>input]:text-sm"
|
|
7352
|
+
},
|
|
7353
|
+
sm: {
|
|
7354
|
+
input: "[&>input]:text-sm"
|
|
7355
|
+
},
|
|
7356
|
+
md: {
|
|
7357
|
+
input: "[&>input]:text-base/5"
|
|
7358
|
+
},
|
|
7359
|
+
lg: {
|
|
7360
|
+
input: "[&>input]:text-base/5"
|
|
7361
|
+
},
|
|
7362
|
+
xl: {
|
|
7363
|
+
input: "[&>input]:text-lg"
|
|
7364
|
+
}
|
|
7160
7365
|
}
|
|
7366
|
+
},
|
|
7367
|
+
defaultVariants: {
|
|
7368
|
+
size: "md"
|
|
7161
7369
|
}
|
|
7162
7370
|
};
|
|
7163
7371
|
|
package/dist/unplugin.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
|
|
|
3
3
|
import { createUnplugin } from 'unplugin';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import tailwind from '@tailwindcss/vite';
|
|
6
|
-
import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultConfig } from './shared/ui.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultConfig } from './shared/ui.Ddb3hKxo.mjs';
|
|
7
7
|
import fs from 'node:fs';
|
|
8
8
|
import path from 'node:path';
|
|
9
9
|
import MagicString from 'magic-string';
|
|
@@ -65,6 +65,7 @@ function TemplatePlugin(options, appConfig) {
|
|
|
65
65
|
|
|
66
66
|
function PluginsPlugin(options) {
|
|
67
67
|
const plugins = globSync(["**/*", "!*.d.ts"], { cwd: join(runtimeDir, "plugins"), absolute: true });
|
|
68
|
+
plugins.unshift(resolvePathSync("../runtime/vue/plugins/router", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
68
69
|
plugins.unshift(resolvePathSync("../runtime/vue/plugins/head", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
69
70
|
if (options.colorMode) {
|
|
70
71
|
plugins.push(resolvePathSync("../runtime/vue/plugins/color-mode", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
@@ -93,9 +94,10 @@ function PluginsPlugin(options) {
|
|
|
93
94
|
load() {
|
|
94
95
|
return `
|
|
95
96
|
${plugins.map((p) => `import ${genSafeVariableName(p)} from "${p}"`).join("\n")}
|
|
97
|
+
|
|
96
98
|
export default {
|
|
97
|
-
install (app) {
|
|
98
|
-
${plugins.map((p) => ` app.use(${genSafeVariableName(p)})`).join("\n")}
|
|
99
|
+
install (app, pluginOptions = {}) {
|
|
100
|
+
${plugins.map((p) => ` app.use(${genSafeVariableName(p)}, pluginOptions)`).join("\n")}
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
103
|
`;
|
package/dist/vite.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as unplugin from 'unplugin';
|
|
2
2
|
import { NuxtUIOptions } from './unplugin.mjs';
|
|
3
|
-
import 'unplugin';
|
|
4
3
|
import 'unplugin-auto-import/types';
|
|
5
4
|
import 'unplugin-vue-components/types';
|
|
6
5
|
import 'tailwindcss/colors';
|
|
@@ -10,6 +9,6 @@ import '@nuxt/schema';
|
|
|
10
9
|
import '../dist/runtime/types/index.js';
|
|
11
10
|
import '../dist/runtime/types/tv.js';
|
|
12
11
|
|
|
13
|
-
declare const _default: (options?: NuxtUIOptions | undefined) =>
|
|
12
|
+
declare const _default: (options?: NuxtUIOptions | undefined) => unplugin.VitePlugin<any> | unplugin.VitePlugin<any>[];
|
|
14
13
|
|
|
15
14
|
export { NuxtUIOptions, _default as default };
|
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
3
|
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
|
|
4
|
-
"version": "4.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "4.4.0",
|
|
5
|
+
"packageManager": "pnpm@10.28.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/nuxt/ui.git"
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://ui.nuxt.com",
|
|
11
11
|
"type": "module",
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
14
|
+
},
|
|
12
15
|
"license": "MIT",
|
|
13
16
|
"exports": {
|
|
14
17
|
".": {
|
|
@@ -120,11 +123,12 @@
|
|
|
120
123
|
"release": "release-it"
|
|
121
124
|
},
|
|
122
125
|
"dependencies": {
|
|
126
|
+
"@floating-ui/dom": "^1.7.4",
|
|
123
127
|
"@iconify/vue": "^5.0.0",
|
|
124
128
|
"@internationalized/date": "^3.10.1",
|
|
125
129
|
"@internationalized/number": "^3.6.5",
|
|
126
130
|
"@nuxt/fonts": "^0.12.1",
|
|
127
|
-
"@nuxt/icon": "^2.
|
|
131
|
+
"@nuxt/icon": "^2.2.1",
|
|
128
132
|
"@nuxt/kit": "^4.2.2",
|
|
129
133
|
"@nuxt/schema": "^4.2.2",
|
|
130
134
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
@@ -132,23 +136,28 @@
|
|
|
132
136
|
"@tailwindcss/postcss": "^4.1.18",
|
|
133
137
|
"@tailwindcss/vite": "^4.1.18",
|
|
134
138
|
"@tanstack/vue-table": "^8.21.3",
|
|
135
|
-
"@tanstack/vue-virtual": "^3.13.
|
|
136
|
-
"@tiptap/core": "3.
|
|
137
|
-
"@tiptap/extension-bubble-menu": "3.
|
|
138
|
-
"@tiptap/extension-
|
|
139
|
-
"@tiptap/extension-
|
|
140
|
-
"@tiptap/extension-
|
|
141
|
-
"@tiptap/extension-
|
|
142
|
-
"@tiptap/extension-
|
|
143
|
-
"@tiptap/extension-
|
|
144
|
-
"@tiptap/
|
|
145
|
-
"@tiptap/
|
|
146
|
-
"@tiptap/
|
|
147
|
-
"@tiptap/
|
|
148
|
-
"@tiptap/
|
|
149
|
-
"@
|
|
139
|
+
"@tanstack/vue-virtual": "^3.13.18",
|
|
140
|
+
"@tiptap/core": "^3.15.3",
|
|
141
|
+
"@tiptap/extension-bubble-menu": "^3.15.3",
|
|
142
|
+
"@tiptap/extension-code": "^3.15.3",
|
|
143
|
+
"@tiptap/extension-collaboration": "^3.15.3",
|
|
144
|
+
"@tiptap/extension-drag-handle": "^3.15.3",
|
|
145
|
+
"@tiptap/extension-drag-handle-vue-3": "^3.15.3",
|
|
146
|
+
"@tiptap/extension-floating-menu": "^3.15.3",
|
|
147
|
+
"@tiptap/extension-horizontal-rule": "^3.15.3",
|
|
148
|
+
"@tiptap/extension-image": "^3.15.3",
|
|
149
|
+
"@tiptap/extension-mention": "^3.15.3",
|
|
150
|
+
"@tiptap/extension-node-range": "^3.15.3",
|
|
151
|
+
"@tiptap/extension-placeholder": "^3.15.3",
|
|
152
|
+
"@tiptap/markdown": "^3.15.3",
|
|
153
|
+
"@tiptap/pm": "^3.15.3",
|
|
154
|
+
"@tiptap/starter-kit": "^3.15.3",
|
|
155
|
+
"@tiptap/suggestion": "^3.15.3",
|
|
156
|
+
"@tiptap/vue-3": "^3.15.3",
|
|
157
|
+
"@unhead/vue": "^2.1.2",
|
|
150
158
|
"@vueuse/core": "^14.1.0",
|
|
151
159
|
"@vueuse/integrations": "^14.1.0",
|
|
160
|
+
"@vueuse/shared": "^14.1.0",
|
|
152
161
|
"colortranslator": "^5.0.0",
|
|
153
162
|
"consola": "^3.4.2",
|
|
154
163
|
"defu": "^6.1.4",
|
|
@@ -164,43 +173,49 @@
|
|
|
164
173
|
"knitwork": "^1.3.0",
|
|
165
174
|
"magic-string": "^0.30.21",
|
|
166
175
|
"mlly": "^1.8.0",
|
|
167
|
-
"motion-v": "^1.
|
|
176
|
+
"motion-v": "^1.9.0",
|
|
168
177
|
"ohash": "^2.0.11",
|
|
169
178
|
"pathe": "^2.0.3",
|
|
170
|
-
"reka-ui": "2.
|
|
179
|
+
"reka-ui": "2.7.0",
|
|
171
180
|
"scule": "^1.3.0",
|
|
172
181
|
"tailwind-merge": "^3.4.0",
|
|
173
182
|
"tailwind-variants": "^3.2.2",
|
|
174
183
|
"tailwindcss": "^4.1.18",
|
|
175
184
|
"tinyglobby": "^0.2.15",
|
|
185
|
+
"ufo": "^1.6.3",
|
|
176
186
|
"unplugin": "^2.3.11",
|
|
177
|
-
"unplugin-auto-import": "^
|
|
178
|
-
"unplugin-vue-components": "^
|
|
187
|
+
"unplugin-auto-import": "^21.0.0",
|
|
188
|
+
"unplugin-vue-components": "^31.0.0",
|
|
179
189
|
"vaul-vue": "0.4.1",
|
|
180
|
-
"vue-component-type-helpers": "^3.
|
|
190
|
+
"vue-component-type-helpers": "^3.2.2"
|
|
181
191
|
},
|
|
182
192
|
"devDependencies": {
|
|
183
193
|
"@nuxt/eslint-config": "^1.12.1",
|
|
184
194
|
"@nuxt/module-builder": "^1.0.2",
|
|
185
|
-
"@nuxt/test-utils": "^3.
|
|
195
|
+
"@nuxt/test-utils": "^3.23.0",
|
|
186
196
|
"@release-it/conventional-changelog": "^10.0.4",
|
|
197
|
+
"@tanstack/table-core": "^8.21.3",
|
|
198
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
187
199
|
"@vue/test-utils": "^2.4.6",
|
|
188
|
-
"ai": "^
|
|
200
|
+
"ai": "^6.0.42",
|
|
189
201
|
"embla-carousel": "^8.6.0",
|
|
190
202
|
"eslint": "^9.39.2",
|
|
191
|
-
"happy-dom": "^20.
|
|
203
|
+
"happy-dom": "^20.3.4",
|
|
192
204
|
"nuxt": "^4.2.2",
|
|
193
|
-
"release-it": "^19.
|
|
205
|
+
"release-it": "^19.2.4",
|
|
206
|
+
"unbuild": "^3.6.1",
|
|
194
207
|
"vitest": "^3.2.4",
|
|
195
208
|
"vitest-axe": "^0.1.0",
|
|
196
209
|
"vitest-environment-nuxt": "^1.0.1",
|
|
197
|
-
"vue
|
|
210
|
+
"vue": "^3.5.25",
|
|
211
|
+
"vue-tsc": "^3.2.2"
|
|
198
212
|
},
|
|
199
213
|
"peerDependencies": {
|
|
200
214
|
"@inertiajs/vue3": "^2.0.7",
|
|
201
215
|
"@nuxt/content": "^3.0.0",
|
|
202
216
|
"joi": "^18.0.0",
|
|
203
217
|
"superstruct": "^2.0.0",
|
|
218
|
+
"tailwindcss": "^4.0.0",
|
|
204
219
|
"typescript": "^5.6.3",
|
|
205
220
|
"valibot": "^1.0.0",
|
|
206
221
|
"vue-router": "^4.5.0",
|
|
@@ -236,6 +251,7 @@
|
|
|
236
251
|
"resolutions": {
|
|
237
252
|
"@nuxt/kit": "^4.2.2",
|
|
238
253
|
"@nuxt/ui": "workspace:*",
|
|
254
|
+
"nitropack": "^2.13.0",
|
|
239
255
|
"typescript": "5.8.3",
|
|
240
256
|
"unplugin": "^2.3.11",
|
|
241
257
|
"c12": "^3.3.2"
|