@nuxt/ui 3.3.1 → 4.0.0-alpha.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/.nuxt/ui/auth-form.ts +20 -0
- package/.nuxt/ui/badge.ts +1 -1
- package/.nuxt/ui/banner.ts +108 -0
- package/.nuxt/ui/blog-post.ts +142 -0
- package/.nuxt/ui/blog-posts.ts +9 -0
- package/.nuxt/ui/button.ts +1 -1
- package/.nuxt/ui/changelog-version.ts +41 -0
- package/.nuxt/ui/changelog-versions.ts +8 -0
- package/.nuxt/ui/chat-message.ts +129 -0
- package/.nuxt/ui/chat-messages.ts +14 -0
- package/.nuxt/ui/chat-palette.ts +8 -0
- package/.nuxt/ui/chat-prompt-submit.ts +5 -0
- package/.nuxt/ui/chat-prompt.ts +35 -0
- package/.nuxt/ui/content/content-navigation.ts +367 -0
- package/.nuxt/ui/content/content-search-button.ts +6 -0
- package/.nuxt/ui/content/content-search.ts +6 -0
- package/.nuxt/ui/content/content-surround.ts +34 -0
- package/.nuxt/ui/content/content-toc.ts +155 -0
- package/.nuxt/ui/dashboard-group.ts +3 -0
- package/.nuxt/ui/dashboard-navbar.ts +21 -0
- package/.nuxt/ui/dashboard-panel.ts +17 -0
- package/.nuxt/ui/dashboard-resize-handle.ts +3 -0
- package/.nuxt/ui/dashboard-search-button.ts +6 -0
- package/.nuxt/ui/dashboard-search.ts +6 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar.ts +37 -0
- package/.nuxt/ui/dashboard-toolbar.ts +7 -0
- package/.nuxt/ui/error.ts +9 -0
- package/.nuxt/ui/footer-columns.ts +28 -0
- package/.nuxt/ui/footer.ts +11 -0
- package/.nuxt/ui/header.ts +25 -0
- package/.nuxt/ui/index.ts +54 -2
- package/.nuxt/ui/input-menu.ts +1 -1
- package/.nuxt/ui/input-number.ts +1 -1
- package/.nuxt/ui/input-tags.ts +1 -1
- package/.nuxt/ui/input.ts +1 -1
- package/.nuxt/ui/main.ts +3 -0
- package/.nuxt/ui/marquee.ts +66 -0
- package/.nuxt/ui/page-anchors.ts +30 -0
- package/.nuxt/ui/page-aside.ts +10 -0
- package/.nuxt/ui/page-body.ts +3 -0
- package/.nuxt/ui/page-card.ts +279 -0
- package/.nuxt/ui/page-columns.ts +3 -0
- package/.nuxt/ui/page-cta.ts +70 -0
- package/.nuxt/ui/page-feature.ts +26 -0
- package/.nuxt/ui/page-grid.ts +3 -0
- package/.nuxt/ui/page-header.ts +18 -0
- package/.nuxt/ui/page-hero.ts +44 -0
- package/.nuxt/ui/page-links.ts +25 -0
- package/.nuxt/ui/page-list.ts +8 -0
- package/.nuxt/ui/page-logos.ts +15 -0
- package/.nuxt/ui/page-section.ts +84 -0
- package/.nuxt/ui/page.ts +32 -0
- package/.nuxt/ui/pricing-plan.ts +101 -0
- package/.nuxt/ui/pricing-plans.ts +22 -0
- package/.nuxt/ui/pricing-table.ts +51 -0
- package/.nuxt/ui/prose/a.ts +6 -0
- package/.nuxt/ui/prose/accordion-item.ts +3 -0
- package/.nuxt/ui/prose/accordion.ts +6 -0
- package/.nuxt/ui/prose/badge.ts +3 -0
- package/.nuxt/ui/prose/blockquote.ts +3 -0
- package/.nuxt/ui/prose/callout.ts +129 -0
- package/.nuxt/ui/prose/card-group.ts +3 -0
- package/.nuxt/ui/prose/card.ts +119 -0
- package/.nuxt/ui/prose/code-collapse.ts +19 -0
- package/.nuxt/ui/prose/code-group.ts +13 -0
- package/.nuxt/ui/prose/code-icon.ts +66 -0
- package/.nuxt/ui/prose/code-preview.ts +14 -0
- package/.nuxt/ui/prose/code-tree.ts +28 -0
- package/.nuxt/ui/prose/code.ts +27 -0
- package/.nuxt/ui/prose/collapsible.ts +12 -0
- package/.nuxt/ui/prose/em.ts +3 -0
- package/.nuxt/ui/prose/field-group.ts +3 -0
- package/.nuxt/ui/prose/field.ts +11 -0
- package/.nuxt/ui/prose/h1.ts +6 -0
- package/.nuxt/ui/prose/h2.ts +14 -0
- package/.nuxt/ui/prose/h3.ts +14 -0
- package/.nuxt/ui/prose/h4.ts +6 -0
- package/.nuxt/ui/prose/hr.ts +3 -0
- package/.nuxt/ui/prose/icon.ts +3 -0
- package/.nuxt/ui/prose/img.ts +22 -0
- package/.nuxt/ui/prose/index.ts +41 -0
- package/.nuxt/ui/prose/kbd.ts +3 -0
- package/.nuxt/ui/prose/li.ts +3 -0
- package/.nuxt/ui/prose/ol.ts +3 -0
- package/.nuxt/ui/prose/p.ts +3 -0
- package/.nuxt/ui/prose/pre.ts +17 -0
- package/.nuxt/ui/prose/steps.ts +19 -0
- package/.nuxt/ui/prose/strong.ts +3 -0
- package/.nuxt/ui/prose/table.ts +6 -0
- package/.nuxt/ui/prose/tabs-item.ts +3 -0
- package/.nuxt/ui/prose/tabs.ts +5 -0
- package/.nuxt/ui/prose/tbody.ts +3 -0
- package/.nuxt/ui/prose/td.ts +3 -0
- package/.nuxt/ui/prose/th.ts +3 -0
- package/.nuxt/ui/prose/thead.ts +3 -0
- package/.nuxt/ui/prose/tr.ts +3 -0
- package/.nuxt/ui/prose/ul.ts +3 -0
- package/.nuxt/ui/select-menu.ts +1 -1
- package/.nuxt/ui/select.ts +1 -1
- package/.nuxt/ui/textarea.ts +1 -1
- package/.nuxt/ui/user.ts +101 -0
- package/README.md +7 -11
- package/cli/commands/make/component.mjs +2 -15
- package/cli/templates.mjs +19 -28
- package/dist/module.d.mts +24 -6
- package/dist/module.json +2 -2
- package/dist/module.mjs +67 -6
- package/dist/runtime/components/Accordion.vue.d.ts +2 -1
- package/dist/runtime/components/Alert.vue.d.ts +1 -1
- package/dist/runtime/components/App.vue.d.ts +2 -1
- package/dist/runtime/components/AuthForm.vue +214 -0
- package/dist/runtime/components/AuthForm.vue.d.ts +90 -0
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue +4 -4
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Banner.vue +117 -0
- package/dist/runtime/components/Banner.vue.d.ts +72 -0
- package/dist/runtime/components/BlogPost.vue +145 -0
- package/dist/runtime/components/BlogPost.vue.d.ts +60 -0
- package/dist/runtime/components/BlogPosts.vue +33 -0
- package/dist/runtime/components/BlogPosts.vue.d.ts +31 -0
- package/dist/runtime/components/Breadcrumb.vue.d.ts +2 -1
- package/dist/runtime/components/Button.vue +3 -3
- package/dist/runtime/components/Button.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/ChangelogVersion.vue +166 -0
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +59 -0
- package/dist/runtime/components/ChangelogVersions.vue +55 -0
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +78 -0
- package/dist/runtime/components/ChatMessage.vue +89 -0
- package/dist/runtime/components/ChatMessage.vue.d.ts +67 -0
- package/dist/runtime/components/ChatMessages.vue +209 -0
- package/dist/runtime/components/ChatMessages.vue.d.ts +83 -0
- package/dist/runtime/components/ChatPalette.vue +32 -0
- package/dist/runtime/components/ChatPalette.vue.d.ts +24 -0
- package/dist/runtime/components/ChatPrompt.vue +79 -0
- package/dist/runtime/components/ChatPrompt.vue.d.ts +61 -0
- package/dist/runtime/components/ChatPromptSubmit.vue +79 -0
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +100 -0
- package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Chip.vue.d.ts +1 -1
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.vue.d.ts +2 -2
- package/dist/runtime/components/CommandPalette.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +2 -1
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +2 -1
- package/dist/runtime/components/DashboardGroup.vue +48 -0
- package/dist/runtime/components/DashboardGroup.vue.d.ts +24 -0
- package/dist/runtime/components/DashboardNavbar.vue +72 -0
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +52 -0
- package/dist/runtime/components/DashboardPanel.vue +62 -0
- package/dist/runtime/components/DashboardPanel.vue.d.ts +30 -0
- package/dist/runtime/components/DashboardResizeHandle.vue +27 -0
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +18 -0
- package/dist/runtime/components/DashboardSearch.vue +124 -0
- package/dist/runtime/components/DashboardSearch.vue.d.ts +91 -0
- package/dist/runtime/components/DashboardSearchButton.vue +82 -0
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +59 -0
- package/dist/runtime/components/DashboardSidebar.vue +162 -0
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +75 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue +36 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +19 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue +36 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +19 -0
- package/dist/runtime/components/DashboardToolbar.vue +32 -0
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +25 -0
- package/dist/runtime/components/Drawer.vue.d.ts +3 -2
- package/dist/runtime/components/DropdownMenu.vue.d.ts +2 -1
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +3 -2
- package/dist/runtime/components/Error.vue +60 -0
- package/dist/runtime/components/Error.vue.d.ts +47 -0
- package/dist/runtime/components/{ButtonGroup.vue → FieldGroup.vue} +4 -4
- package/dist/runtime/components/FieldGroup.vue.d.ts +34 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +1 -1
- package/dist/runtime/components/Footer.vue +45 -0
- package/dist/runtime/components/Footer.vue.d.ts +29 -0
- package/dist/runtime/components/FooterColumns.vue +71 -0
- package/dist/runtime/components/FooterColumns.vue.d.ts +57 -0
- package/dist/runtime/components/FormField.vue.d.ts +1 -1
- package/dist/runtime/components/Header.vue +141 -0
- package/dist/runtime/components/Header.vue.d.ts +68 -0
- package/dist/runtime/components/Input.vue +4 -4
- package/dist/runtime/components/Input.vue.d.ts +2 -1
- package/dist/runtime/components/InputMenu.vue +4 -4
- package/dist/runtime/components/InputMenu.vue.d.ts +3 -2
- package/dist/runtime/components/InputNumber.vue +4 -4
- package/dist/runtime/components/InputNumber.vue.d.ts +1 -1
- package/dist/runtime/components/InputTags.vue +4 -4
- package/dist/runtime/components/InputTags.vue.d.ts +1 -1
- package/dist/runtime/components/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/Main.vue +23 -0
- package/dist/runtime/components/Main.vue.d.ts +20 -0
- package/dist/runtime/components/Marquee.vue +40 -0
- package/dist/runtime/components/Marquee.vue.d.ts +32 -0
- package/dist/runtime/components/Modal.vue.d.ts +2 -1
- package/dist/runtime/components/NavigationMenu.vue.d.ts +2 -1
- package/dist/runtime/components/Page.vue +37 -0
- package/dist/runtime/components/Page.vue.d.ts +25 -0
- package/dist/runtime/components/PageAnchors.vue +53 -0
- package/dist/runtime/components/PageAnchors.vue.d.ts +47 -0
- package/dist/runtime/components/PageAside.vue +36 -0
- package/dist/runtime/components/PageAside.vue.d.ts +27 -0
- package/dist/runtime/components/PageBody.vue +23 -0
- package/dist/runtime/components/PageBody.vue.d.ts +18 -0
- package/dist/runtime/components/PageCTA.vue +76 -0
- package/dist/runtime/components/PageCTA.vue.d.ts +56 -0
- package/dist/runtime/components/PageCard.vue +122 -0
- package/dist/runtime/components/PageCard.vue.d.ts +72 -0
- package/dist/runtime/components/PageColumns.vue +23 -0
- package/dist/runtime/components/PageColumns.vue.d.ts +18 -0
- package/dist/runtime/components/PageFeature.vue +73 -0
- package/dist/runtime/components/PageFeature.vue.d.ts +44 -0
- package/dist/runtime/components/PageGrid.vue +23 -0
- package/dist/runtime/components/PageGrid.vue.d.ts +18 -0
- package/dist/runtime/components/PageHeader.vue +59 -0
- package/dist/runtime/components/PageHeader.vue.d.ts +36 -0
- package/dist/runtime/components/PageHero.vue +81 -0
- package/dist/runtime/components/PageHero.vue.d.ts +53 -0
- package/dist/runtime/components/PageLinks.vue +58 -0
- package/dist/runtime/components/PageLinks.vue.d.ts +49 -0
- package/dist/runtime/components/PageList.vue +24 -0
- package/dist/runtime/components/PageList.vue.d.ts +21 -0
- package/dist/runtime/components/PageLogos.vue +65 -0
- package/dist/runtime/components/PageLogos.vue.d.ts +33 -0
- package/dist/runtime/components/PageSection.vue +104 -0
- package/dist/runtime/components/PageSection.vue.d.ts +68 -0
- package/dist/runtime/components/Pagination.vue.d.ts +3 -3
- package/dist/runtime/components/PinInput.vue.d.ts +3 -3
- package/dist/runtime/components/Popover.vue.d.ts +2 -1
- package/dist/runtime/components/PricingPlan.vue +137 -0
- package/dist/runtime/components/PricingPlan.vue.d.ts +112 -0
- package/dist/runtime/components/PricingPlans.vue +45 -0
- package/dist/runtime/components/PricingPlans.vue.d.ts +44 -0
- package/dist/runtime/components/PricingTable.vue +239 -0
- package/dist/runtime/components/PricingTable.vue.d.ts +105 -0
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Select.vue +4 -4
- package/dist/runtime/components/Select.vue.d.ts +2 -1
- package/dist/runtime/components/SelectMenu.vue +4 -4
- package/dist/runtime/components/SelectMenu.vue.d.ts +3 -2
- package/dist/runtime/components/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +2 -1
- package/dist/runtime/components/Slider.vue.d.ts +1 -1
- package/dist/runtime/components/Stepper.vue.d.ts +5 -4
- package/dist/runtime/components/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/Table.vue.d.ts +1 -1
- package/dist/runtime/components/Tabs.vue.d.ts +2 -1
- package/dist/runtime/components/Textarea.vue.d.ts +1 -1
- package/dist/runtime/components/Timeline.vue.d.ts +2 -1
- package/dist/runtime/components/Toast.vue.d.ts +4 -3
- package/dist/runtime/components/Toaster.vue.d.ts +2 -2
- package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
- package/dist/runtime/components/Tree.vue.d.ts +2 -1
- package/dist/runtime/components/User.vue +72 -0
- package/dist/runtime/components/User.vue.d.ts +47 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +17 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +7 -0
- package/dist/runtime/components/color-mode/ColorModeButton.vue +46 -0
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +23 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue +13 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +6 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +51 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +5 -0
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +45 -0
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +5 -0
- package/dist/runtime/components/content/ContentNavigation.vue +137 -0
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +102 -0
- package/dist/runtime/components/content/ContentSearch.vue +174 -0
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +114 -0
- package/dist/runtime/components/content/ContentSearchButton.vue +81 -0
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +59 -0
- package/dist/runtime/components/content/ContentSurround.vue +64 -0
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +58 -0
- package/dist/runtime/components/content/ContentToc.vue +148 -0
- package/dist/runtime/components/content/ContentToc.vue.d.ts +87 -0
- package/dist/runtime/components/locale/LocaleSelect.vue +90 -0
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +15 -0
- package/dist/runtime/components/prose/A.vue +24 -0
- package/dist/runtime/components/prose/A.vue.d.ts +15 -0
- package/dist/runtime/components/prose/Accordion.vue +44 -0
- package/dist/runtime/components/prose/Accordion.vue.d.ts +16 -0
- package/dist/runtime/components/prose/AccordionItem.vue +25 -0
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +15 -0
- package/dist/runtime/components/prose/Badge.vue +22 -0
- package/dist/runtime/components/prose/Badge.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Blockquote.vue +21 -0
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Callout.vue +46 -0
- package/dist/runtime/components/prose/Callout.vue.d.ts +26 -0
- package/dist/runtime/components/prose/Card.vue +61 -0
- package/dist/runtime/components/prose/Card.vue.d.ts +29 -0
- package/dist/runtime/components/prose/CardGroup.vue +21 -0
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Code.vue +23 -0
- package/dist/runtime/components/prose/Code.vue.d.ts +22 -0
- package/dist/runtime/components/prose/CodeCollapse.vue +45 -0
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +46 -0
- package/dist/runtime/components/prose/CodeGroup.vue +70 -0
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +37 -0
- package/dist/runtime/components/prose/CodeIcon.vue +32 -0
- package/dist/runtime/components/prose/CodeIcon.vue.d.ts +6 -0
- package/dist/runtime/components/prose/CodePreview.vue +28 -0
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +19 -0
- package/dist/runtime/components/prose/CodeTree.vue +149 -0
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +28 -0
- package/dist/runtime/components/prose/Collapsible.vue +43 -0
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +38 -0
- package/dist/runtime/components/prose/Em.vue +19 -0
- package/dist/runtime/components/prose/Em.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Field.vue +48 -0
- package/dist/runtime/components/prose/Field.vue.d.ts +39 -0
- package/dist/runtime/components/prose/FieldGroup.vue +23 -0
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +18 -0
- package/dist/runtime/components/prose/H1.vue +28 -0
- package/dist/runtime/components/prose/H1.vue.d.ts +19 -0
- package/dist/runtime/components/prose/H2.vue +33 -0
- package/dist/runtime/components/prose/H2.vue.d.ts +19 -0
- package/dist/runtime/components/prose/H3.vue +33 -0
- package/dist/runtime/components/prose/H3.vue.d.ts +19 -0
- package/dist/runtime/components/prose/H4.vue +28 -0
- package/dist/runtime/components/prose/H4.vue.d.ts +19 -0
- package/dist/runtime/components/prose/Hr.vue +18 -0
- package/dist/runtime/components/prose/Hr.vue.d.ts +5 -0
- package/dist/runtime/components/prose/Icon.vue +20 -0
- package/dist/runtime/components/prose/Icon.vue.d.ts +6 -0
- package/dist/runtime/components/prose/Img.vue +82 -0
- package/dist/runtime/components/prose/Img.vue.d.ts +21 -0
- package/dist/runtime/components/prose/Kbd.vue +20 -0
- package/dist/runtime/components/prose/Kbd.vue.d.ts +6 -0
- package/dist/runtime/components/prose/Li.vue +21 -0
- package/dist/runtime/components/prose/Li.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Ol.vue +21 -0
- package/dist/runtime/components/prose/Ol.vue.d.ts +13 -0
- package/dist/runtime/components/prose/P.vue +21 -0
- package/dist/runtime/components/prose/P.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Pre.vue +56 -0
- package/dist/runtime/components/prose/Pre.vue.d.ts +25 -0
- package/dist/runtime/components/prose/Script.vue +12 -0
- package/dist/runtime/components/prose/Script.vue.d.ts +5 -0
- package/dist/runtime/components/prose/Steps.vue +22 -0
- package/dist/runtime/components/prose/Steps.vue.d.ts +22 -0
- package/dist/runtime/components/prose/Strong.vue +21 -0
- package/dist/runtime/components/prose/Strong.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Table.vue +24 -0
- package/dist/runtime/components/prose/Table.vue.d.ts +18 -0
- package/dist/runtime/components/prose/Tabs.vue +79 -0
- package/dist/runtime/components/prose/Tabs.vue.d.ts +36 -0
- package/dist/runtime/components/prose/TabsItem.vue +25 -0
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +15 -0
- package/dist/runtime/components/prose/Tbody.vue +21 -0
- package/dist/runtime/components/prose/Tbody.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Td.vue +21 -0
- package/dist/runtime/components/prose/Td.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Th.vue +21 -0
- package/dist/runtime/components/prose/Th.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Thead.vue +21 -0
- package/dist/runtime/components/prose/Thead.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Tr.vue +21 -0
- package/dist/runtime/components/prose/Tr.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Ul.vue +21 -0
- package/dist/runtime/components/prose/Ul.vue.d.ts +13 -0
- package/dist/runtime/components/prose/callout/Caution.vue +11 -0
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +14 -0
- package/dist/runtime/components/prose/callout/Note.vue +11 -0
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +14 -0
- package/dist/runtime/components/prose/callout/Tip.vue +11 -0
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +14 -0
- package/dist/runtime/components/prose/callout/Warning.vue +11 -0
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +14 -0
- package/dist/runtime/composables/color-mode/useColorMode.d.ts +3 -0
- package/dist/runtime/composables/color-mode/useColorMode.js +5 -0
- package/dist/runtime/composables/useContentSearch.d.ts +5 -0
- package/dist/runtime/composables/useContentSearch.js +9 -0
- package/dist/runtime/composables/{useButtonGroup.d.ts → useFieldGroup.d.ts} +5 -5
- package/dist/runtime/composables/useFieldGroup.js +9 -0
- package/dist/runtime/composables/useResizable.d.ts +76 -0
- package/dist/runtime/composables/useResizable.js +203 -0
- package/dist/runtime/composables/useScrollspy.d.ts +5 -0
- package/dist/runtime/composables/useScrollspy.js +41 -0
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -1
- package/dist/runtime/locale/ar.js +100 -30
- package/dist/runtime/locale/az.js +100 -30
- package/dist/runtime/locale/bg.js +100 -30
- package/dist/runtime/locale/bn.js +100 -30
- package/dist/runtime/locale/ca.js +100 -30
- package/dist/runtime/locale/ckb.js +100 -30
- package/dist/runtime/locale/cs.js +100 -30
- package/dist/runtime/locale/da.js +100 -30
- package/dist/runtime/locale/de.js +100 -30
- package/dist/runtime/locale/el.js +100 -30
- package/dist/runtime/locale/en.js +100 -30
- package/dist/runtime/locale/es.js +100 -30
- package/dist/runtime/locale/et.js +100 -30
- package/dist/runtime/locale/fa_ir.js +100 -30
- package/dist/runtime/locale/fi.js +100 -30
- package/dist/runtime/locale/fr.js +100 -30
- package/dist/runtime/locale/he.js +100 -28
- package/dist/runtime/locale/hi.js +100 -30
- package/dist/runtime/locale/hu.js +100 -30
- package/dist/runtime/locale/hy.js +100 -30
- package/dist/runtime/locale/id.js +100 -30
- package/dist/runtime/locale/it.js +100 -30
- package/dist/runtime/locale/ja.js +100 -30
- package/dist/runtime/locale/kk.js +99 -29
- package/dist/runtime/locale/km.js +100 -30
- package/dist/runtime/locale/ko.js +100 -30
- package/dist/runtime/locale/ky.js +100 -30
- package/dist/runtime/locale/lb.js +100 -30
- package/dist/runtime/locale/lt.js +100 -30
- package/dist/runtime/locale/mn.js +100 -30
- package/dist/runtime/locale/ms.js +100 -30
- package/dist/runtime/locale/nb_no.js +100 -30
- package/dist/runtime/locale/nl.js +100 -30
- package/dist/runtime/locale/pl.js +100 -30
- package/dist/runtime/locale/pt.js +100 -30
- package/dist/runtime/locale/pt_br.js +100 -30
- package/dist/runtime/locale/ro.js +100 -30
- package/dist/runtime/locale/ru.js +100 -30
- package/dist/runtime/locale/sk.js +100 -30
- package/dist/runtime/locale/sl.js +100 -30
- package/dist/runtime/locale/sv.js +100 -30
- package/dist/runtime/locale/th.js +100 -30
- package/dist/runtime/locale/tj.js +100 -30
- package/dist/runtime/locale/tr.js +100 -30
- package/dist/runtime/locale/ug_cn.js +99 -29
- package/dist/runtime/locale/uk.js +100 -30
- package/dist/runtime/locale/ur.js +100 -30
- package/dist/runtime/locale/uz.js +100 -30
- package/dist/runtime/locale/vi.js +100 -30
- package/dist/runtime/locale/zh_cn.js +100 -30
- package/dist/runtime/locale/zh_tw.js +100 -30
- package/dist/runtime/types/content.d.ts +4 -0
- package/dist/runtime/types/content.js +4 -0
- package/dist/runtime/types/index.d.ts +53 -2
- package/dist/runtime/types/index.js +53 -2
- package/dist/runtime/types/locale.d.ts +108 -28
- package/dist/runtime/types/prose.d.ts +42 -0
- package/dist/runtime/types/prose.js +42 -0
- package/dist/runtime/types/tv.d.ts +4 -4
- package/dist/runtime/types/utils.d.ts +1 -1
- package/dist/runtime/types/utils.js +0 -1
- package/dist/runtime/utils/ai.d.ts +2 -0
- package/dist/runtime/utils/ai.js +3 -0
- package/dist/runtime/utils/content.d.ts +14 -0
- package/dist/runtime/utils/content.js +25 -0
- package/dist/runtime/utils/dashboard.d.ts +10 -0
- package/dist/runtime/utils/dashboard.js +2 -0
- package/dist/runtime/utils/index.d.ts +4 -1
- package/dist/runtime/utils/index.js +14 -0
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +35 -0
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +16 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +38 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +5 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +33 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +5 -0
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/shared/{ui.BTUFJHYJ.mjs → ui.DT-jTZu1.mjs} +3664 -1382
- package/dist/unplugin.d.mts +21 -0
- package/dist/unplugin.mjs +26 -15
- package/dist/vite.mjs +4 -4
- package/package.json +16 -13
- package/dist/runtime/components/ButtonGroup.vue.d.ts +0 -34
- package/dist/runtime/composables/useButtonGroup.js +0 -9
- /package/.nuxt/ui/{button-group.ts → field-group.ts} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "w-full space-y-6",
|
|
4
|
+
"header": "flex flex-col text-center",
|
|
5
|
+
"leading": "mb-2",
|
|
6
|
+
"leadingIcon": "size-8 shrink-0 inline-block",
|
|
7
|
+
"title": "text-xl text-pretty font-semibold text-highlighted",
|
|
8
|
+
"description": "mt-1 text-base text-pretty text-muted",
|
|
9
|
+
"body": "gap-y-6 flex flex-col",
|
|
10
|
+
"providers": "space-y-3",
|
|
11
|
+
"checkbox": "",
|
|
12
|
+
"select": "",
|
|
13
|
+
"password": "w-full",
|
|
14
|
+
"otp": "w-full justify-center",
|
|
15
|
+
"input": "w-full",
|
|
16
|
+
"separator": "",
|
|
17
|
+
"form": "space-y-5",
|
|
18
|
+
"footer": "text-sm text-center text-muted mt-2"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/.nuxt/ui/badge.ts
CHANGED
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
"trailingIcon": "shrink-0"
|
|
34
34
|
},
|
|
35
35
|
"variants": {
|
|
36
|
-
"
|
|
36
|
+
"fieldGroup": {
|
|
37
37
|
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
38
38
|
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
39
39
|
},
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
"slots": {
|
|
13
|
+
"root": [
|
|
14
|
+
"relative z-50 w-full",
|
|
15
|
+
"transition-colors"
|
|
16
|
+
],
|
|
17
|
+
"container": "flex items-center justify-between gap-3 h-12",
|
|
18
|
+
"left": "hidden lg:flex-1 lg:flex lg:items-center",
|
|
19
|
+
"center": "flex items-center gap-1.5 min-w-0",
|
|
20
|
+
"right": "lg:flex-1 flex items-center justify-end",
|
|
21
|
+
"icon": "size-5 shrink-0 text-inverted pointer-events-none",
|
|
22
|
+
"title": "text-sm text-inverted font-medium truncate",
|
|
23
|
+
"actions": "flex gap-1.5 shrink-0 isolate",
|
|
24
|
+
"close": "text-inverted hover:bg-default/10 focus-visible:bg-default/10 -me-1.5 lg:me-0"
|
|
25
|
+
},
|
|
26
|
+
"variants": {
|
|
27
|
+
"color": {
|
|
28
|
+
"primary": {
|
|
29
|
+
"root": "bg-primary"
|
|
30
|
+
},
|
|
31
|
+
"secondary": {
|
|
32
|
+
"root": "bg-secondary"
|
|
33
|
+
},
|
|
34
|
+
"success": {
|
|
35
|
+
"root": "bg-success"
|
|
36
|
+
},
|
|
37
|
+
"info": {
|
|
38
|
+
"root": "bg-info"
|
|
39
|
+
},
|
|
40
|
+
"warning": {
|
|
41
|
+
"root": "bg-warning"
|
|
42
|
+
},
|
|
43
|
+
"error": {
|
|
44
|
+
"root": "bg-error"
|
|
45
|
+
},
|
|
46
|
+
"neutral": {
|
|
47
|
+
"root": "bg-inverted"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"to": {
|
|
51
|
+
"true": ""
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"compoundVariants": [
|
|
55
|
+
{
|
|
56
|
+
"color": "primary" as typeof color[number],
|
|
57
|
+
"to": true,
|
|
58
|
+
"class": {
|
|
59
|
+
"root": "hover:bg-primary/90"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"color": "secondary" as typeof color[number],
|
|
64
|
+
"to": true,
|
|
65
|
+
"class": {
|
|
66
|
+
"root": "hover:bg-secondary/90"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"color": "success" as typeof color[number],
|
|
71
|
+
"to": true,
|
|
72
|
+
"class": {
|
|
73
|
+
"root": "hover:bg-success/90"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"color": "info" as typeof color[number],
|
|
78
|
+
"to": true,
|
|
79
|
+
"class": {
|
|
80
|
+
"root": "hover:bg-info/90"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"color": "warning" as typeof color[number],
|
|
85
|
+
"to": true,
|
|
86
|
+
"class": {
|
|
87
|
+
"root": "hover:bg-warning/90"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"color": "error" as typeof color[number],
|
|
92
|
+
"to": true,
|
|
93
|
+
"class": {
|
|
94
|
+
"root": "hover:bg-error/90"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"color": "neutral" as typeof color[number],
|
|
99
|
+
"to": true,
|
|
100
|
+
"class": {
|
|
101
|
+
"root": "hover:bg-inverted/90"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"defaultVariants": {
|
|
106
|
+
"color": "primary" as typeof color[number]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const variant = [
|
|
7
|
+
"outline",
|
|
8
|
+
"soft",
|
|
9
|
+
"subtle",
|
|
10
|
+
"ghost",
|
|
11
|
+
"naked"
|
|
12
|
+
] as const
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
"slots": {
|
|
16
|
+
"root": "relative group/blog-post flex flex-col rounded-lg overflow-hidden",
|
|
17
|
+
"header": "relative overflow-hidden aspect-[16/9] w-full pointer-events-none",
|
|
18
|
+
"body": "min-w-0 flex-1 flex flex-col",
|
|
19
|
+
"footer": "",
|
|
20
|
+
"image": "object-cover object-top w-full h-full",
|
|
21
|
+
"title": "text-xl text-pretty font-semibold text-highlighted",
|
|
22
|
+
"description": "mt-1 text-base text-pretty",
|
|
23
|
+
"authors": "pt-4 mt-auto flex flex-wrap gap-x-3 gap-y-1.5",
|
|
24
|
+
"avatar": "",
|
|
25
|
+
"meta": "flex items-center gap-2 mb-2",
|
|
26
|
+
"date": "text-sm",
|
|
27
|
+
"badge": ""
|
|
28
|
+
},
|
|
29
|
+
"variants": {
|
|
30
|
+
"orientation": {
|
|
31
|
+
"horizontal": {
|
|
32
|
+
"root": "lg:grid lg:grid-cols-2 lg:items-center gap-x-8",
|
|
33
|
+
"body": "justify-center p-4 sm:p-6 lg:px-0"
|
|
34
|
+
},
|
|
35
|
+
"vertical": {
|
|
36
|
+
"root": "flex flex-col",
|
|
37
|
+
"body": "p-4 sm:p-6"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"variant": {
|
|
41
|
+
"outline": {
|
|
42
|
+
"root": "bg-default ring ring-default",
|
|
43
|
+
"date": "text-toned",
|
|
44
|
+
"description": "text-muted"
|
|
45
|
+
},
|
|
46
|
+
"soft": {
|
|
47
|
+
"root": "bg-elevated/50",
|
|
48
|
+
"date": "text-muted",
|
|
49
|
+
"description": "text-toned"
|
|
50
|
+
},
|
|
51
|
+
"subtle": {
|
|
52
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
53
|
+
"date": "text-muted",
|
|
54
|
+
"description": "text-toned"
|
|
55
|
+
},
|
|
56
|
+
"ghost": {
|
|
57
|
+
"date": "text-toned",
|
|
58
|
+
"description": "text-muted",
|
|
59
|
+
"header": "shadow-lg rounded-lg"
|
|
60
|
+
},
|
|
61
|
+
"naked": {
|
|
62
|
+
"root": "p-0 sm:p-0",
|
|
63
|
+
"date": "text-toned",
|
|
64
|
+
"description": "text-muted",
|
|
65
|
+
"header": "shadow-lg rounded-lg"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"to": {
|
|
69
|
+
"true": {
|
|
70
|
+
"root": [
|
|
71
|
+
"transition"
|
|
72
|
+
],
|
|
73
|
+
"image": "transform transition-transform duration-200 group-hover/blog-post:scale-110",
|
|
74
|
+
"avatar": "transform transition-transform duration-200 hover:scale-115"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"image": {
|
|
78
|
+
"true": ""
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"compoundVariants": [
|
|
82
|
+
{
|
|
83
|
+
"variant": "outline" as typeof variant[number],
|
|
84
|
+
"to": true,
|
|
85
|
+
"class": {
|
|
86
|
+
"root": "hover:bg-elevated/50"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"variant": "soft" as typeof variant[number],
|
|
91
|
+
"to": true,
|
|
92
|
+
"class": {
|
|
93
|
+
"root": "hover:bg-elevated"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"variant": "subtle" as typeof variant[number],
|
|
98
|
+
"to": true,
|
|
99
|
+
"class": {
|
|
100
|
+
"root": "hover:bg-elevated hover:ring-accented"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"variant": "ghost" as typeof variant[number],
|
|
105
|
+
"to": true,
|
|
106
|
+
"class": {
|
|
107
|
+
"root": "hover:bg-elevated/50",
|
|
108
|
+
"header": [
|
|
109
|
+
"group-hover/blog-post:shadow-none",
|
|
110
|
+
"transition-all"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"variant": "ghost" as typeof variant[number],
|
|
116
|
+
"to": true,
|
|
117
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
118
|
+
"class": {
|
|
119
|
+
"header": "group-hover/blog-post:rounded-b-none"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"variant": "ghost" as typeof variant[number],
|
|
124
|
+
"to": true,
|
|
125
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
126
|
+
"class": {
|
|
127
|
+
"header": "group-hover/blog-post:rounded-r-none"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
132
|
+
"image": false,
|
|
133
|
+
"variant": "naked" as typeof variant[number],
|
|
134
|
+
"class": {
|
|
135
|
+
"body": "p-0 sm:p-0"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"defaultVariants": {
|
|
140
|
+
"variant": "outline" as typeof variant[number]
|
|
141
|
+
}
|
|
142
|
+
}
|
package/.nuxt/ui/button.ts
CHANGED
|
@@ -38,7 +38,7 @@ export default {
|
|
|
38
38
|
"trailingIcon": "shrink-0"
|
|
39
39
|
},
|
|
40
40
|
"variants": {
|
|
41
|
-
"
|
|
41
|
+
"fieldGroup": {
|
|
42
42
|
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
43
43
|
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
44
44
|
},
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative",
|
|
4
|
+
"container": "flex flex-col mx-auto max-w-2xl",
|
|
5
|
+
"header": "",
|
|
6
|
+
"meta": "flex items-center gap-3 mb-2",
|
|
7
|
+
"date": "text-sm/6 text-toned truncate",
|
|
8
|
+
"badge": "",
|
|
9
|
+
"title": "relative text-xl text-pretty font-semibold text-highlighted",
|
|
10
|
+
"description": "text-base text-pretty text-muted mt-1",
|
|
11
|
+
"imageWrapper": "relative overflow-hidden rounded-lg aspect-[16/9] mt-5 group/changelog-version-image",
|
|
12
|
+
"image": "object-cover object-top w-full h-full",
|
|
13
|
+
"authors": "flex flex-wrap gap-x-4 gap-y-1.5",
|
|
14
|
+
"footer": "border-t border-default pt-5 flex items-center justify-between",
|
|
15
|
+
"indicator": "absolute left-0 top-0 w-32 hidden lg:flex items-center justify-end gap-3 min-w-0",
|
|
16
|
+
"dot": "size-4 rounded-full bg-default ring ring-default flex items-center justify-center my-1",
|
|
17
|
+
"dotInner": "size-2 rounded-full bg-primary"
|
|
18
|
+
},
|
|
19
|
+
"variants": {
|
|
20
|
+
"body": {
|
|
21
|
+
"false": {
|
|
22
|
+
"footer": "mt-5"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"badge": {
|
|
26
|
+
"false": {
|
|
27
|
+
"meta": "lg:hidden"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"to": {
|
|
31
|
+
"true": {
|
|
32
|
+
"image": "transform transition-transform duration-200 group-hover/changelog-version-image:scale-105"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"hidden": {
|
|
36
|
+
"true": {
|
|
37
|
+
"date": "lg:hidden"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative",
|
|
4
|
+
"container": "flex flex-col gap-y-8 sm:gap-y-12 lg:gap-y-16",
|
|
5
|
+
"indicator": "absolute hidden lg:block overflow-hidden inset-y-3 left-32 h-full w-px bg-border -ml-[8.5px]",
|
|
6
|
+
"beam": "absolute left-0 top-0 w-full bg-primary will-change-[height]"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
const variant = [
|
|
2
|
+
"solid",
|
|
3
|
+
"outline",
|
|
4
|
+
"soft",
|
|
5
|
+
"subtle",
|
|
6
|
+
"naked"
|
|
7
|
+
] as const
|
|
8
|
+
|
|
9
|
+
const side = [
|
|
10
|
+
"left",
|
|
11
|
+
"right"
|
|
12
|
+
] as const
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
"slots": {
|
|
16
|
+
"root": "group/message relative w-full",
|
|
17
|
+
"container": "relative flex items-start group-data-[role=user]/message:max-w-[75%]",
|
|
18
|
+
"leading": "inline-flex items-center justify-center min-h-6",
|
|
19
|
+
"leadingIcon": "shrink-0",
|
|
20
|
+
"leadingAvatar": "shrink-0",
|
|
21
|
+
"leadingAvatarSize": "",
|
|
22
|
+
"content": "relative text-pretty min-w-0",
|
|
23
|
+
"actions": [
|
|
24
|
+
"opacity-0 group-hover/message:opacity-100 absolute bottom-0 flex items-center",
|
|
25
|
+
"transition-opacity"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"variants": {
|
|
29
|
+
"variant": {
|
|
30
|
+
"solid": {
|
|
31
|
+
"content": "bg-inverted text-inverted"
|
|
32
|
+
},
|
|
33
|
+
"outline": {
|
|
34
|
+
"content": "bg-default ring ring-default"
|
|
35
|
+
},
|
|
36
|
+
"soft": {
|
|
37
|
+
"content": "bg-elevated/50"
|
|
38
|
+
},
|
|
39
|
+
"subtle": {
|
|
40
|
+
"content": "bg-elevated/50 ring ring-default"
|
|
41
|
+
},
|
|
42
|
+
"naked": {
|
|
43
|
+
"content": ""
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"side": {
|
|
47
|
+
"left": {
|
|
48
|
+
"container": "rtl:justify-end"
|
|
49
|
+
},
|
|
50
|
+
"right": {
|
|
51
|
+
"container": "ltr:justify-end ms-auto"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"leading": {
|
|
55
|
+
"true": ""
|
|
56
|
+
},
|
|
57
|
+
"actions": {
|
|
58
|
+
"true": ""
|
|
59
|
+
},
|
|
60
|
+
"compact": {
|
|
61
|
+
"true": {
|
|
62
|
+
"root": "scroll-mt-3",
|
|
63
|
+
"container": "gap-1.5 pb-3",
|
|
64
|
+
"leadingIcon": "size-5",
|
|
65
|
+
"leadingAvatarSize": "2xs"
|
|
66
|
+
},
|
|
67
|
+
"false": {
|
|
68
|
+
"root": "scroll-mt-4 sm:scroll-mt-6",
|
|
69
|
+
"container": "gap-3 pb-8",
|
|
70
|
+
"leadingIcon": "size-8",
|
|
71
|
+
"leadingAvatarSize": "md"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"compoundVariants": [
|
|
76
|
+
{
|
|
77
|
+
"compact": true,
|
|
78
|
+
"actions": true,
|
|
79
|
+
"class": {
|
|
80
|
+
"container": "pb-8"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"leading": true,
|
|
85
|
+
"compact": false,
|
|
86
|
+
"side": "left" as typeof side[number],
|
|
87
|
+
"class": {
|
|
88
|
+
"actions": "left-11"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"leading": true,
|
|
93
|
+
"compact": true,
|
|
94
|
+
"side": "left" as typeof side[number],
|
|
95
|
+
"class": {
|
|
96
|
+
"actions": "left-6.5"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"variant": [
|
|
101
|
+
"solid" as typeof variant[number],
|
|
102
|
+
"outline" as typeof variant[number],
|
|
103
|
+
"soft" as typeof variant[number],
|
|
104
|
+
"subtle" as typeof variant[number]
|
|
105
|
+
],
|
|
106
|
+
"compact": false,
|
|
107
|
+
"class": {
|
|
108
|
+
"content": "px-4 py-3 rounded-lg min-h-12",
|
|
109
|
+
"leading": "mt-2"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"variant": [
|
|
114
|
+
"solid" as typeof variant[number],
|
|
115
|
+
"outline" as typeof variant[number],
|
|
116
|
+
"soft" as typeof variant[number],
|
|
117
|
+
"subtle" as typeof variant[number]
|
|
118
|
+
],
|
|
119
|
+
"compact": true,
|
|
120
|
+
"class": {
|
|
121
|
+
"content": "px-2 py-1 rounded-lg min-h-8",
|
|
122
|
+
"leading": "mt-1"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"defaultVariants": {
|
|
127
|
+
"variant": "naked" as typeof variant[number]
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "w-full flex flex-col gap-1 flex-1 px-2.5 [&>article]:last-of-type:min-h-(--last-message-height)",
|
|
4
|
+
"indicator": "h-6 flex items-center gap-1 py-3 *:size-2 *:rounded-full *:bg-elevated [&>*:nth-child(1)]:animate-[bounce_1s_infinite] [&>*:nth-child(2)]:animate-[bounce_1s_0.15s_infinite] [&>*:nth-child(3)]:animate-[bounce_1s_0.3s_infinite]",
|
|
5
|
+
"viewport": "absolute inset-x-0 top-[86%] data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
|
|
6
|
+
"autoScroll": "rounded-full absolute right-1/2 translate-x-1/2 bottom-0"
|
|
7
|
+
},
|
|
8
|
+
"variants": {
|
|
9
|
+
"compact": {
|
|
10
|
+
"true": "",
|
|
11
|
+
"false": ""
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const variant = [
|
|
2
|
+
"outline",
|
|
3
|
+
"soft",
|
|
4
|
+
"subtle",
|
|
5
|
+
"naked"
|
|
6
|
+
] as const
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
"slots": {
|
|
10
|
+
"root": "relative flex flex-col items-stretch gap-2 px-2.5 py-2 w-full rounded-lg backdrop-blur",
|
|
11
|
+
"header": "flex items-center gap-1.5",
|
|
12
|
+
"body": "items-start",
|
|
13
|
+
"footer": "flex items-center justify-between gap-1.5",
|
|
14
|
+
"base": "text-base/5"
|
|
15
|
+
},
|
|
16
|
+
"variants": {
|
|
17
|
+
"variant": {
|
|
18
|
+
"outline": {
|
|
19
|
+
"root": "bg-default/75 ring ring-default"
|
|
20
|
+
},
|
|
21
|
+
"soft": {
|
|
22
|
+
"root": "bg-elevated/50"
|
|
23
|
+
},
|
|
24
|
+
"subtle": {
|
|
25
|
+
"root": "bg-elevated/50 ring ring-default"
|
|
26
|
+
},
|
|
27
|
+
"naked": {
|
|
28
|
+
"root": ""
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"defaultVariants": {
|
|
33
|
+
"variant": "outline" as typeof variant[number]
|
|
34
|
+
}
|
|
35
|
+
}
|