@nuxt/ui 3.3.3 → 4.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +12 -16
- 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 +3 -3
- package/dist/module.mjs +68 -7
- package/dist/runtime/components/Accordion.vue +1 -1
- package/dist/runtime/components/Accordion.vue.d.ts +6 -4
- package/dist/runtime/components/Alert.vue +2 -2
- package/dist/runtime/components/Alert.vue.d.ts +4 -4
- 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 +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +3 -3
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue +7 -7
- 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 +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +5 -4
- package/dist/runtime/components/Button.vue +7 -7
- package/dist/runtime/components/Button.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +4 -4
- package/dist/runtime/components/Calendar.vue.d.ts +6 -6
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +2 -2
- package/dist/runtime/components/Carousel.vue.d.ts +4 -4
- 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 +2 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +4 -3
- package/dist/runtime/components/CheckboxGroup.vue +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 +6 -6
- package/dist/runtime/components/CommandPalette.vue.d.ts +9 -9
- package/dist/runtime/components/ContextMenu.vue +3 -3
- package/dist/runtime/components/ContextMenu.vue.d.ts +7 -6
- package/dist/runtime/components/ContextMenuContent.vue +3 -3
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +6 -5
- 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 +3 -3
- package/dist/runtime/components/DropdownMenu.vue.d.ts +7 -6
- package/dist/runtime/components/DropdownMenuContent.vue +3 -3
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +6 -5
- 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 +3 -3
- package/dist/runtime/components/FileUpload.vue.d.ts +5 -5
- 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/Icon.vue +3 -2
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +12 -9
- package/dist/runtime/components/Input.vue.d.ts +4 -8
- package/dist/runtime/components/InputMenu.vue +10 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +8 -7
- package/dist/runtime/components/InputNumber.vue +16 -10
- package/dist/runtime/components/InputNumber.vue.d.ts +8 -4
- package/dist/runtime/components/InputTags.vue +9 -9
- package/dist/runtime/components/InputTags.vue.d.ts +3 -2
- 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 +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +4 -3
- package/dist/runtime/components/NavigationMenu.vue +2 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +7 -6
- 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 +5 -5
- package/dist/runtime/components/Pagination.vue.d.ts +9 -9
- 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 +9 -9
- package/dist/runtime/components/Select.vue.d.ts +6 -5
- package/dist/runtime/components/SelectMenu.vue +9 -9
- package/dist/runtime/components/SelectMenu.vue.d.ts +7 -6
- package/dist/runtime/components/Separator.vue +1 -1
- package/dist/runtime/components/Separator.vue.d.ts +3 -3
- package/dist/runtime/components/Slideover.vue +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +4 -3
- package/dist/runtime/components/Slider.vue.d.ts +1 -1
- package/dist/runtime/components/Stepper.vue.d.ts +7 -5
- package/dist/runtime/components/Switch.vue +3 -3
- package/dist/runtime/components/Switch.vue.d.ts +5 -4
- package/dist/runtime/components/Table.vue.d.ts +1 -1
- package/dist/runtime/components/Tabs.vue.d.ts +4 -3
- package/dist/runtime/components/Textarea.vue +8 -5
- package/dist/runtime/components/Textarea.vue.d.ts +3 -8
- package/dist/runtime/components/Timeline.vue.d.ts +4 -3
- package/dist/runtime/components/Toast.vue +2 -2
- package/dist/runtime/components/Toast.vue.d.ts +7 -6
- 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 +3 -3
- package/dist/runtime/components/Tree.vue.d.ts +8 -6
- 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 +59 -0
- package/dist/runtime/components/content/ContentToc.vue +148 -0
- package/dist/runtime/components/content/ContentToc.vue.d.ts +88 -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 +47 -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 +7 -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 +39 -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 +26 -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/useComponentIcons.d.ts +5 -5
- 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/input.d.ts +8 -0
- package/dist/runtime/types/input.js +0 -0
- 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 +3 -0
- package/dist/runtime/utils/index.js +14 -0
- package/dist/runtime/vue/components/Icon.vue +3 -2
- package/dist/runtime/vue/components/Icon.vue.d.ts +2 -1
- 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.BEZXPd3d.mjs} +3664 -1382
- package/dist/unplugin.d.mts +21 -0
- package/dist/unplugin.mjs +37 -18
- package/dist/vite.mjs +4 -4
- package/package.json +14 -11
- 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,70 @@
|
|
|
1
|
+
const variant = [
|
|
2
|
+
"solid",
|
|
3
|
+
"outline",
|
|
4
|
+
"soft",
|
|
5
|
+
"subtle",
|
|
6
|
+
"naked"
|
|
7
|
+
] as const
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
"slots": {
|
|
11
|
+
"root": "relative isolate rounded-xl overflow-hidden",
|
|
12
|
+
"container": "flex flex-col lg:grid px-6 py-12 sm:px-12 sm:py-24 lg:px-16 lg:py-24 gap-8 sm:gap-16",
|
|
13
|
+
"wrapper": "",
|
|
14
|
+
"header": "",
|
|
15
|
+
"title": "text-3xl sm:text-4xl text-pretty tracking-tight font-bold text-highlighted",
|
|
16
|
+
"description": "text-base sm:text-lg text-muted",
|
|
17
|
+
"body": "mt-8",
|
|
18
|
+
"footer": "mt-8",
|
|
19
|
+
"links": "flex flex-wrap gap-x-6 gap-y-3"
|
|
20
|
+
},
|
|
21
|
+
"variants": {
|
|
22
|
+
"orientation": {
|
|
23
|
+
"horizontal": {
|
|
24
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
25
|
+
"description": "text-pretty"
|
|
26
|
+
},
|
|
27
|
+
"vertical": {
|
|
28
|
+
"container": "",
|
|
29
|
+
"title": "text-center",
|
|
30
|
+
"description": "text-center text-balance",
|
|
31
|
+
"links": "justify-center"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"reverse": {
|
|
35
|
+
"true": {
|
|
36
|
+
"wrapper": "lg:order-last"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"variant": {
|
|
40
|
+
"solid": {
|
|
41
|
+
"root": "bg-inverted text-inverted",
|
|
42
|
+
"title": "text-inverted",
|
|
43
|
+
"description": "text-dimmed"
|
|
44
|
+
},
|
|
45
|
+
"outline": {
|
|
46
|
+
"root": "bg-default ring ring-default",
|
|
47
|
+
"description": "text-muted"
|
|
48
|
+
},
|
|
49
|
+
"soft": {
|
|
50
|
+
"root": "bg-elevated/50",
|
|
51
|
+
"description": "text-toned"
|
|
52
|
+
},
|
|
53
|
+
"subtle": {
|
|
54
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
55
|
+
"description": "text-toned"
|
|
56
|
+
},
|
|
57
|
+
"naked": {
|
|
58
|
+
"description": "text-muted"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"title": {
|
|
62
|
+
"true": {
|
|
63
|
+
"description": "mt-6"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"defaultVariants": {
|
|
68
|
+
"variant": "outline" as typeof variant[number]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative",
|
|
4
|
+
"wrapper": "",
|
|
5
|
+
"leading": "inline-flex items-center justify-center",
|
|
6
|
+
"leadingIcon": "size-5 shrink-0 text-primary",
|
|
7
|
+
"title": "text-base text-pretty font-semibold text-highlighted",
|
|
8
|
+
"description": "text-[15px] text-pretty text-muted"
|
|
9
|
+
},
|
|
10
|
+
"variants": {
|
|
11
|
+
"orientation": {
|
|
12
|
+
"horizontal": {
|
|
13
|
+
"root": "flex items-start gap-2.5",
|
|
14
|
+
"leading": "p-0.5"
|
|
15
|
+
},
|
|
16
|
+
"vertical": {
|
|
17
|
+
"leading": "mb-2.5"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"title": {
|
|
21
|
+
"true": {
|
|
22
|
+
"description": "mt-1"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative border-b border-default py-8",
|
|
4
|
+
"container": "",
|
|
5
|
+
"wrapper": "flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",
|
|
6
|
+
"headline": "mb-2.5 text-sm font-semibold text-primary flex items-center gap-1.5",
|
|
7
|
+
"title": "text-3xl sm:text-4xl text-pretty font-bold text-highlighted",
|
|
8
|
+
"description": "text-lg text-pretty text-muted",
|
|
9
|
+
"links": "flex flex-wrap items-center gap-1.5"
|
|
10
|
+
},
|
|
11
|
+
"variants": {
|
|
12
|
+
"title": {
|
|
13
|
+
"true": {
|
|
14
|
+
"description": "mt-4"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative isolate",
|
|
4
|
+
"container": "flex flex-col lg:grid py-24 sm:py-32 lg:py-40 gap-16 sm:gap-y-24",
|
|
5
|
+
"wrapper": "",
|
|
6
|
+
"header": "",
|
|
7
|
+
"headline": "mb-4",
|
|
8
|
+
"title": "text-5xl sm:text-7xl text-pretty tracking-tight font-bold text-highlighted",
|
|
9
|
+
"description": "text-lg sm:text-xl/8 text-muted",
|
|
10
|
+
"body": "mt-10",
|
|
11
|
+
"footer": "mt-10",
|
|
12
|
+
"links": "flex flex-wrap gap-x-6 gap-y-3"
|
|
13
|
+
},
|
|
14
|
+
"variants": {
|
|
15
|
+
"orientation": {
|
|
16
|
+
"horizontal": {
|
|
17
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
18
|
+
"description": "text-pretty"
|
|
19
|
+
},
|
|
20
|
+
"vertical": {
|
|
21
|
+
"container": "",
|
|
22
|
+
"headline": "justify-center",
|
|
23
|
+
"wrapper": "text-center",
|
|
24
|
+
"description": "text-balance",
|
|
25
|
+
"links": "justify-center"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"reverse": {
|
|
29
|
+
"true": {
|
|
30
|
+
"wrapper": "order-last"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"headline": {
|
|
34
|
+
"true": {
|
|
35
|
+
"headline": "font-semibold text-primary flex items-center gap-1.5"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"title": {
|
|
39
|
+
"true": {
|
|
40
|
+
"description": "mt-6"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "flex flex-col gap-3",
|
|
4
|
+
"title": "text-sm font-semibold flex items-center gap-1.5",
|
|
5
|
+
"list": "flex flex-col gap-2",
|
|
6
|
+
"item": "relative",
|
|
7
|
+
"link": "group text-sm flex items-center gap-1.5 focus-visible:outline-primary",
|
|
8
|
+
"linkLeadingIcon": "size-5 shrink-0",
|
|
9
|
+
"linkLabel": "truncate",
|
|
10
|
+
"linkLabelExternalIcon": "size-3 absolute top-0 text-dimmed"
|
|
11
|
+
},
|
|
12
|
+
"variants": {
|
|
13
|
+
"active": {
|
|
14
|
+
"true": {
|
|
15
|
+
"link": "text-primary font-medium"
|
|
16
|
+
},
|
|
17
|
+
"false": {
|
|
18
|
+
"link": [
|
|
19
|
+
"text-muted hover:text-default",
|
|
20
|
+
"transition-colors"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative overflow-hidden",
|
|
4
|
+
"title": "text-lg text-center font-semibold text-highlighted",
|
|
5
|
+
"logos": "mt-10",
|
|
6
|
+
"logo": "size-10 shrink-0"
|
|
7
|
+
},
|
|
8
|
+
"variants": {
|
|
9
|
+
"marquee": {
|
|
10
|
+
"false": {
|
|
11
|
+
"logos": "flex items-center shrink-0 justify-around gap-(--gap) [--gap:--spacing(16)]"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
"slots": {
|
|
8
|
+
"root": "relative isolate",
|
|
9
|
+
"container": "flex flex-col lg:grid py-16 sm:py-24 lg:py-32 gap-8 sm:gap-16",
|
|
10
|
+
"wrapper": "",
|
|
11
|
+
"header": "",
|
|
12
|
+
"leading": "flex items-center mb-6",
|
|
13
|
+
"leadingIcon": "size-10 shrink-0 text-primary",
|
|
14
|
+
"headline": "mb-3",
|
|
15
|
+
"title": "text-3xl sm:text-4xl lg:text-5xl text-pretty tracking-tight font-bold text-highlighted",
|
|
16
|
+
"description": "text-base sm:text-lg text-muted",
|
|
17
|
+
"body": "mt-8",
|
|
18
|
+
"features": "grid",
|
|
19
|
+
"footer": "mt-8",
|
|
20
|
+
"links": "flex flex-wrap gap-x-6 gap-y-3"
|
|
21
|
+
},
|
|
22
|
+
"variants": {
|
|
23
|
+
"orientation": {
|
|
24
|
+
"horizontal": {
|
|
25
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
26
|
+
"description": "text-pretty",
|
|
27
|
+
"features": "gap-4"
|
|
28
|
+
},
|
|
29
|
+
"vertical": {
|
|
30
|
+
"container": "",
|
|
31
|
+
"headline": "justify-center",
|
|
32
|
+
"leading": "justify-center",
|
|
33
|
+
"title": "text-center",
|
|
34
|
+
"description": "text-center text-balance",
|
|
35
|
+
"links": "justify-center",
|
|
36
|
+
"features": "sm:grid-cols-2 lg:grid-cols-3 gap-8"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"reverse": {
|
|
40
|
+
"true": {
|
|
41
|
+
"wrapper": "lg:order-last"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"headline": {
|
|
45
|
+
"true": {
|
|
46
|
+
"headline": "font-semibold text-primary flex items-center gap-1.5"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"title": {
|
|
50
|
+
"true": {
|
|
51
|
+
"description": "mt-6"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"description": {
|
|
55
|
+
"true": ""
|
|
56
|
+
},
|
|
57
|
+
"body": {
|
|
58
|
+
"true": ""
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"compoundVariants": [
|
|
62
|
+
{
|
|
63
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
64
|
+
"title": true,
|
|
65
|
+
"class": {
|
|
66
|
+
"body": "mt-16"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
71
|
+
"description": true,
|
|
72
|
+
"class": {
|
|
73
|
+
"body": "mt-16"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
78
|
+
"body": true,
|
|
79
|
+
"class": {
|
|
80
|
+
"footer": "mt-16"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
package/.nuxt/ui/page.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "flex flex-col lg:grid lg:grid-cols-10 lg:gap-10",
|
|
4
|
+
"left": "lg:col-span-2",
|
|
5
|
+
"center": "lg:col-span-8",
|
|
6
|
+
"right": "lg:col-span-2 order-first lg:order-last"
|
|
7
|
+
},
|
|
8
|
+
"variants": {
|
|
9
|
+
"left": {
|
|
10
|
+
"true": ""
|
|
11
|
+
},
|
|
12
|
+
"right": {
|
|
13
|
+
"true": ""
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"compoundVariants": [
|
|
17
|
+
{
|
|
18
|
+
"left": true,
|
|
19
|
+
"right": true,
|
|
20
|
+
"class": {
|
|
21
|
+
"center": "lg:col-span-6"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"left": false,
|
|
26
|
+
"right": false,
|
|
27
|
+
"class": {
|
|
28
|
+
"center": "lg:col-span-10"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const variant = [
|
|
7
|
+
"solid",
|
|
8
|
+
"outline",
|
|
9
|
+
"soft",
|
|
10
|
+
"subtle"
|
|
11
|
+
] as const
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
"slots": {
|
|
15
|
+
"root": "relative grid rounded-lg p-6 lg:p-8 xl:p-10 gap-6",
|
|
16
|
+
"header": "",
|
|
17
|
+
"body": "flex flex-col min-w-0",
|
|
18
|
+
"footer": "flex flex-col gap-6 items-center",
|
|
19
|
+
"titleWrapper": "flex items-center gap-3",
|
|
20
|
+
"title": "text-highlighted text-2xl sm:text-3xl text-pretty font-semibold",
|
|
21
|
+
"description": "text-muted text-base text-pretty mt-2",
|
|
22
|
+
"priceWrapper": "flex items-center gap-1",
|
|
23
|
+
"price": "text-highlighted text-3xl sm:text-4xl font-semibold",
|
|
24
|
+
"discount": "text-muted line-through text-xl sm:text-2xl",
|
|
25
|
+
"billing": "flex flex-col justify-between min-w-0",
|
|
26
|
+
"billingPeriod": "text-toned truncate text-xs font-medium",
|
|
27
|
+
"billingCycle": "text-muted truncate text-xs font-medium",
|
|
28
|
+
"features": "flex flex-col gap-3 flex-1 mt-6 grow-0",
|
|
29
|
+
"feature": "flex items-center gap-2 min-w-0",
|
|
30
|
+
"featureIcon": "size-5 shrink-0 text-primary",
|
|
31
|
+
"featureTitle": "text-muted text-sm truncate",
|
|
32
|
+
"badge": "",
|
|
33
|
+
"button": "",
|
|
34
|
+
"tagline": "text-base font-semibold text-default",
|
|
35
|
+
"terms": "text-xs/5 text-muted text-center text-balance"
|
|
36
|
+
},
|
|
37
|
+
"variants": {
|
|
38
|
+
"orientation": {
|
|
39
|
+
"horizontal": {
|
|
40
|
+
"root": "grid-cols-1 lg:grid-cols-3 justify-between divide-y lg:divide-y-0 lg:divide-x divide-default",
|
|
41
|
+
"body": "lg:col-span-2 pb-6 lg:pb-0 lg:pr-6 justify-center",
|
|
42
|
+
"footer": "lg:justify-center lg:items-center lg:p-6 lg:max-w-xs lg:w-full lg:mx-auto",
|
|
43
|
+
"features": "lg:grid lg:grid-cols-2 lg:mt-12"
|
|
44
|
+
},
|
|
45
|
+
"vertical": {
|
|
46
|
+
"footer": "justify-end",
|
|
47
|
+
"priceWrapper": "mt-6"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"variant": {
|
|
51
|
+
"solid": {
|
|
52
|
+
"root": "bg-inverted",
|
|
53
|
+
"title": "text-inverted",
|
|
54
|
+
"description": "text-dimmed",
|
|
55
|
+
"price": "text-inverted",
|
|
56
|
+
"discount": "text-dimmed",
|
|
57
|
+
"billingCycle": "text-dimmed",
|
|
58
|
+
"billingPeriod": "text-dimmed",
|
|
59
|
+
"featureTitle": "text-dimmed"
|
|
60
|
+
},
|
|
61
|
+
"outline": {
|
|
62
|
+
"root": "bg-default ring ring-default"
|
|
63
|
+
},
|
|
64
|
+
"soft": {
|
|
65
|
+
"root": "bg-elevated/50"
|
|
66
|
+
},
|
|
67
|
+
"subtle": {
|
|
68
|
+
"root": "bg-elevated/50 ring ring-default"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"highlight": {
|
|
72
|
+
"true": {
|
|
73
|
+
"root": "ring-2 ring-inset ring-primary"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"scale": {
|
|
77
|
+
"true": {
|
|
78
|
+
"root": "lg:scale-[1.1] lg:z-[1]"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"compoundVariants": [
|
|
83
|
+
{
|
|
84
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
85
|
+
"variant": "soft" as typeof variant[number],
|
|
86
|
+
"class": {
|
|
87
|
+
"root": "divide-accented"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
92
|
+
"variant": "subtle" as typeof variant[number],
|
|
93
|
+
"class": {
|
|
94
|
+
"root": "divide-accented"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"defaultVariants": {
|
|
99
|
+
"variant": "outline" as typeof variant[number]
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"base": "flex flex-col gap-y-8",
|
|
3
|
+
"variants": {
|
|
4
|
+
"orientation": {
|
|
5
|
+
"horizontal": "lg:grid lg:grid-cols-[repeat(var(--count),minmax(0,1fr))]",
|
|
6
|
+
"vertical": ""
|
|
7
|
+
},
|
|
8
|
+
"compact": {
|
|
9
|
+
"false": "gap-x-8"
|
|
10
|
+
},
|
|
11
|
+
"scale": {
|
|
12
|
+
"true": ""
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"compoundVariants": [
|
|
16
|
+
{
|
|
17
|
+
"compact": false,
|
|
18
|
+
"scale": true,
|
|
19
|
+
"class": "lg:gap-x-13"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "w-full relative",
|
|
4
|
+
"table": "w-full table-fixed border-separate border-spacing-x-0 hidden md:table",
|
|
5
|
+
"list": "md:hidden flex flex-col gap-6 w-full",
|
|
6
|
+
"item": "p-6 flex flex-col border border-default rounded-lg",
|
|
7
|
+
"caption": "sr-only",
|
|
8
|
+
"thead": "",
|
|
9
|
+
"tbody": "",
|
|
10
|
+
"tr": "",
|
|
11
|
+
"th": "py-4 font-normal text-left border-b border-default",
|
|
12
|
+
"td": "px-6 py-4 text-center border-b border-default",
|
|
13
|
+
"tier": "p-6 text-left font-normal",
|
|
14
|
+
"tierTitleWrapper": "flex items-center gap-3",
|
|
15
|
+
"tierTitle": "text-lg font-semibold text-highlighted",
|
|
16
|
+
"tierDescription": "text-sm font-normal text-muted mt-1",
|
|
17
|
+
"tierBadge": "truncate",
|
|
18
|
+
"tierPriceWrapper": "flex items-center gap-1 mt-4",
|
|
19
|
+
"tierPrice": "text-highlighted text-3xl sm:text-4xl font-semibold",
|
|
20
|
+
"tierDiscount": "text-muted line-through text-xl sm:text-2xl",
|
|
21
|
+
"tierBilling": "flex flex-col justify-between min-w-0",
|
|
22
|
+
"tierBillingPeriod": "text-toned truncate text-xs font-medium",
|
|
23
|
+
"tierBillingCycle": "text-muted truncate text-xs font-medium",
|
|
24
|
+
"tierButton": "mt-6",
|
|
25
|
+
"tierFeatureIcon": "size-5 shrink-0",
|
|
26
|
+
"section": "mt-6 flex flex-col gap-2",
|
|
27
|
+
"sectionTitle": "font-semibold text-sm text-highlighted",
|
|
28
|
+
"feature": "flex items-center justify-between gap-1",
|
|
29
|
+
"featureTitle": "text-sm text-default",
|
|
30
|
+
"featureValue": "text-sm text-muted flex justify-center min-w-5"
|
|
31
|
+
},
|
|
32
|
+
"variants": {
|
|
33
|
+
"section": {
|
|
34
|
+
"true": {
|
|
35
|
+
"tr": "*:pt-8"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"active": {
|
|
39
|
+
"true": {
|
|
40
|
+
"tierFeatureIcon": "text-primary"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"highlight": {
|
|
44
|
+
"true": {
|
|
45
|
+
"tier": "bg-elevated/50 border-x border-t border-default rounded-t-lg",
|
|
46
|
+
"td": "bg-elevated/50 border-x border-default",
|
|
47
|
+
"item": "bg-elevated/50"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"base": [
|
|
3
|
+
"text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary",
|
|
4
|
+
"transition-colors [&>code]:transition-colors"
|
|
5
|
+
]
|
|
6
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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
|
+
"base": [
|
|
14
|
+
"group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0",
|
|
15
|
+
"transition-colors"
|
|
16
|
+
],
|
|
17
|
+
"icon": [
|
|
18
|
+
"size-4 shrink-0 align-sub me-1.5",
|
|
19
|
+
"transition-colors"
|
|
20
|
+
],
|
|
21
|
+
"externalIcon": [
|
|
22
|
+
"size-4 align-top absolute right-2 top-2 pointer-events-none",
|
|
23
|
+
"transition-colors"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"variants": {
|
|
27
|
+
"color": {
|
|
28
|
+
"primary": {
|
|
29
|
+
"base": "border border-primary/25 bg-primary/10 text-primary-600 dark:text-primary-300 [&_a]:text-primary [&_a]:hover:border-primary [&_code]:text-primary-600 dark:[&_code]:text-primary-300 [&_code]:border-primary/25 [&_a]:hover:[&>code]:border-primary [&_a]:hover:[&>code]:text-primary [&>ul]:marker:text-primary/50",
|
|
30
|
+
"icon": "text-primary",
|
|
31
|
+
"externalIcon": "text-primary-600 dark:text-primary-300"
|
|
32
|
+
},
|
|
33
|
+
"secondary": {
|
|
34
|
+
"base": "border border-secondary/25 bg-secondary/10 text-secondary-600 dark:text-secondary-300 [&_a]:text-secondary [&_a]:hover:border-secondary [&_code]:text-secondary-600 dark:[&_code]:text-secondary-300 [&_code]:border-secondary/25 [&_a]:hover:[&>code]:border-secondary [&_a]:hover:[&>code]:text-secondary [&>ul]:marker:text-secondary/50",
|
|
35
|
+
"icon": "text-secondary",
|
|
36
|
+
"externalIcon": "text-secondary-600 dark:text-secondary-300"
|
|
37
|
+
},
|
|
38
|
+
"success": {
|
|
39
|
+
"base": "border border-success/25 bg-success/10 text-success-600 dark:text-success-300 [&_a]:text-success [&_a]:hover:border-success [&_code]:text-success-600 dark:[&_code]:text-success-300 [&_code]:border-success/25 [&_a]:hover:[&>code]:border-success [&_a]:hover:[&>code]:text-success [&>ul]:marker:text-success/50",
|
|
40
|
+
"icon": "text-success",
|
|
41
|
+
"externalIcon": "text-success-600 dark:text-success-300"
|
|
42
|
+
},
|
|
43
|
+
"info": {
|
|
44
|
+
"base": "border border-info/25 bg-info/10 text-info-600 dark:text-info-300 [&_a]:text-info [&_a]:hover:border-info [&_code]:text-info-600 dark:[&_code]:text-info-300 [&_code]:border-info/25 [&_a]:hover:[&>code]:border-info [&_a]:hover:[&>code]:text-info [&>ul]:marker:text-info/50",
|
|
45
|
+
"icon": "text-info",
|
|
46
|
+
"externalIcon": "text-info-600 dark:text-info-300"
|
|
47
|
+
},
|
|
48
|
+
"warning": {
|
|
49
|
+
"base": "border border-warning/25 bg-warning/10 text-warning-600 dark:text-warning-300 [&_a]:text-warning [&_a]:hover:border-warning [&_code]:text-warning-600 dark:[&_code]:text-warning-300 [&_code]:border-warning/25 [&_a]:hover:[&>code]:border-warning [&_a]:hover:[&>code]:text-warning [&>ul]:marker:text-warning/50",
|
|
50
|
+
"icon": "text-warning",
|
|
51
|
+
"externalIcon": "text-warning-600 dark:text-warning-300"
|
|
52
|
+
},
|
|
53
|
+
"error": {
|
|
54
|
+
"base": "border border-error/25 bg-error/10 text-error-600 dark:text-error-300 [&_a]:text-error [&_a]:hover:border-error [&_code]:text-error-600 dark:[&_code]:text-error-300 [&_code]:border-error/25 [&_a]:hover:[&>code]:border-error [&_a]:hover:[&>code]:text-error [&>ul]:marker:text-error/50",
|
|
55
|
+
"icon": "text-error",
|
|
56
|
+
"externalIcon": "text-error-600 dark:text-error-300"
|
|
57
|
+
},
|
|
58
|
+
"neutral": {
|
|
59
|
+
"base": "border border-muted bg-muted text-default",
|
|
60
|
+
"icon": "text-highlighted",
|
|
61
|
+
"externalIcon": "text-dimmed"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"to": {
|
|
65
|
+
"true": "border-dashed"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"compoundVariants": [
|
|
69
|
+
{
|
|
70
|
+
"color": "primary" as typeof color[number],
|
|
71
|
+
"to": true,
|
|
72
|
+
"class": {
|
|
73
|
+
"base": "hover:border-primary",
|
|
74
|
+
"externalIcon": "group-hover:text-primary"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"color": "secondary" as typeof color[number],
|
|
79
|
+
"to": true,
|
|
80
|
+
"class": {
|
|
81
|
+
"base": "hover:border-secondary",
|
|
82
|
+
"externalIcon": "group-hover:text-secondary"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"color": "success" as typeof color[number],
|
|
87
|
+
"to": true,
|
|
88
|
+
"class": {
|
|
89
|
+
"base": "hover:border-success",
|
|
90
|
+
"externalIcon": "group-hover:text-success"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"color": "info" as typeof color[number],
|
|
95
|
+
"to": true,
|
|
96
|
+
"class": {
|
|
97
|
+
"base": "hover:border-info",
|
|
98
|
+
"externalIcon": "group-hover:text-info"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"color": "warning" as typeof color[number],
|
|
103
|
+
"to": true,
|
|
104
|
+
"class": {
|
|
105
|
+
"base": "hover:border-warning",
|
|
106
|
+
"externalIcon": "group-hover:text-warning"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"color": "error" as typeof color[number],
|
|
111
|
+
"to": true,
|
|
112
|
+
"class": {
|
|
113
|
+
"base": "hover:border-error",
|
|
114
|
+
"externalIcon": "group-hover:text-error"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"color": "neutral" as typeof color[number],
|
|
119
|
+
"to": true,
|
|
120
|
+
"class": {
|
|
121
|
+
"base": "hover:border-inverted",
|
|
122
|
+
"externalIcon": "group-hover:text-highlighted"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"defaultVariants": {
|
|
127
|
+
"color": "neutral" as typeof color[number]
|
|
128
|
+
}
|
|
129
|
+
}
|