@eslamdevui/ui 3.2.0-beta.2 → 3.2.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/banner.ts +105 -0
- package/.nuxt/ui/blog-post.ts +140 -0
- package/.nuxt/ui/blog-posts.ts +14 -0
- package/.nuxt/ui/changelog-version.ts +41 -0
- package/.nuxt/ui/changelog-versions.ts +8 -0
- package/.nuxt/ui/chat-palette.ts +8 -0
- package/.nuxt/ui/content/content-navigation.ts +6 -4
- package/.nuxt/ui/content-navigation.ts +6 -4
- package/.nuxt/ui/footer-columns.ts +28 -0
- package/.nuxt/ui/footer.ts +11 -0
- package/.nuxt/ui/header.ts +30 -0
- package/.nuxt/ui/index.ts +32 -1
- package/.nuxt/ui/main.ts +3 -0
- package/.nuxt/ui/page-accordion.ts +7 -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 +276 -0
- package/.nuxt/ui/page-columns.ts +3 -0
- package/.nuxt/ui/page-cta.ts +72 -0
- package/.nuxt/ui/page-feature.ts +31 -0
- package/.nuxt/ui/page-grid.ts +3 -0
- package/.nuxt/ui/page-header.ts +18 -0
- package/.nuxt/ui/page-hero.ts +46 -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-marquee.ts +66 -0
- package/.nuxt/ui/page-section.ts +88 -0
- package/.nuxt/ui/page.ts +32 -0
- package/.nuxt/ui/pricing-plan.ts +101 -0
- package/.nuxt/ui/pricing-plans.ts +27 -0
- package/.nuxt/ui/pricing-table.ts +51 -0
- package/.nuxt/ui/user.ts +106 -0
- package/LICENSE.md +9 -9
- package/README.md +147 -147
- package/cli/commands/make/component.mjs +95 -95
- package/cli/commands/make/index.mjs +14 -14
- package/cli/commands/make/locale.mjs +64 -64
- package/cli/index.mjs +15 -15
- package/cli/package.json +13 -13
- package/cli/templates.mjs +236 -236
- package/cli/utils.mjs +31 -31
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Accordion.vue +36 -36
- package/dist/runtime/components/Alert.vue +46 -46
- package/dist/runtime/components/App.vue +10 -10
- package/dist/runtime/components/AuthForm.vue +195 -0
- package/dist/runtime/components/AuthForm.vue.d.ts +85 -0
- package/dist/runtime/components/Avatar.vue +27 -27
- package/dist/runtime/components/AvatarGroup.vue +4 -4
- package/dist/runtime/components/Badge.vue +16 -16
- package/dist/runtime/components/Banner.vue +113 -0
- package/dist/runtime/components/Banner.vue.d.ts +68 -0
- package/dist/runtime/components/BlogPost.vue +141 -0
- package/dist/runtime/components/BlogPost.vue.d.ts +59 -0
- package/dist/runtime/components/BlogPosts.vue +33 -0
- package/dist/runtime/components/BlogPosts.vue.d.ts +30 -0
- package/dist/runtime/components/Breadcrumb.vue +32 -32
- package/dist/runtime/components/Button.vue +28 -28
- package/dist/runtime/components/ButtonGroup.vue +3 -3
- package/dist/runtime/components/Calendar.vue +74 -74
- package/dist/runtime/components/Card.vue +13 -13
- package/dist/runtime/components/Carousel.vue +58 -58
- package/dist/runtime/components/ChangelogVersion.vue +165 -0
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +58 -0
- package/dist/runtime/components/ChangelogVersions.vue +54 -0
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +74 -0
- package/dist/runtime/components/ChatMessage.vue +35 -35
- package/dist/runtime/components/ChatMessages.vue +55 -55
- package/dist/runtime/components/ChatPalette.vue +32 -0
- package/dist/runtime/components/ChatPalette.vue.d.ts +24 -0
- package/dist/runtime/components/ChatPrompt.vue +26 -26
- package/dist/runtime/components/ChatPrompt.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPromptSubmit.vue +10 -10
- package/dist/runtime/components/Checkbox.vue +33 -33
- package/dist/runtime/components/CheckboxGroup.vue +32 -32
- package/dist/runtime/components/Chip.vue +11 -11
- package/dist/runtime/components/Collapsible.vue +9 -9
- package/dist/runtime/components/ColorPicker.vue +30 -30
- package/dist/runtime/components/CommandPalette.vue +117 -117
- package/dist/runtime/components/CommandPalette.vue.d.ts +3 -3
- package/dist/runtime/components/Container.vue +3 -3
- package/dist/runtime/components/ContextMenu.vue +22 -22
- package/dist/runtime/components/ContextMenuContent.vue +105 -105
- package/dist/runtime/components/DashboardGroup.vue +3 -3
- package/dist/runtime/components/DashboardNavbar.vue +40 -40
- package/dist/runtime/components/DashboardPanel.vue +27 -27
- package/dist/runtime/components/DashboardResizeHandle.vue +7 -7
- package/dist/runtime/components/DashboardSearch.vue +20 -20
- package/dist/runtime/components/DashboardSearchButton.vue +43 -43
- package/dist/runtime/components/DashboardSidebar.vue +74 -74
- package/dist/runtime/components/DashboardSidebarCollapse.vue +7 -7
- package/dist/runtime/components/DashboardSidebarToggle.vue +7 -7
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.vue +55 -55
- package/dist/runtime/components/DropdownMenu.vue +24 -24
- package/dist/runtime/components/DropdownMenuContent.vue +107 -107
- package/dist/runtime/components/Error.vue +22 -22
- package/dist/runtime/components/Error.vue.d.ts +1 -1
- package/dist/runtime/components/Footer.vue +44 -0
- package/dist/runtime/components/Footer.vue.d.ts +29 -0
- package/dist/runtime/components/FooterColumns.vue +68 -0
- package/dist/runtime/components/FooterColumns.vue.d.ts +52 -0
- package/dist/runtime/components/Form.vue +8 -8
- package/dist/runtime/components/FormField.vue +37 -37
- package/dist/runtime/components/Header.vue +137 -0
- package/dist/runtime/components/Header.vue.d.ts +72 -0
- package/dist/runtime/components/Icon.vue +1 -1
- package/dist/runtime/components/Input.vue +34 -34
- package/dist/runtime/components/InputMenu.vue +163 -163
- package/dist/runtime/components/InputMenu.vue.d.ts +3 -3
- package/dist/runtime/components/InputNumber.vue +49 -49
- package/dist/runtime/components/InputTags.vue +55 -55
- package/dist/runtime/components/Kbd.vue +5 -5
- package/dist/runtime/components/Link.vue +14 -14
- package/dist/runtime/components/LinkBase.vue +8 -8
- package/dist/runtime/components/Main.vue +23 -0
- package/dist/runtime/components/Main.vue.d.ts +20 -0
- package/dist/runtime/components/Modal.vue +69 -69
- package/dist/runtime/components/NavigationMenu.vue +166 -166
- package/dist/runtime/components/OverlayProvider.vue +9 -9
- package/dist/runtime/components/Page.vue +37 -0
- package/dist/runtime/components/Page.vue.d.ts +25 -0
- package/dist/runtime/components/PageAccordion.vue +26 -0
- package/dist/runtime/components/PageAccordion.vue.d.ts +21 -0
- package/dist/runtime/components/PageAnchors.vue +50 -0
- package/dist/runtime/components/PageAnchors.vue.d.ts +42 -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 +58 -0
- package/dist/runtime/components/PageCTA.vue.d.ts +49 -0
- package/dist/runtime/components/PageCard.vue +121 -0
- package/dist/runtime/components/PageCard.vue.d.ts +71 -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 +71 -0
- package/dist/runtime/components/PageFeature.vue.d.ts +43 -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 +58 -0
- package/dist/runtime/components/PageHeader.vue.d.ts +35 -0
- package/dist/runtime/components/PageHero.vue +67 -0
- package/dist/runtime/components/PageHero.vue.d.ts +49 -0
- package/dist/runtime/components/PageLinks.vue +55 -0
- package/dist/runtime/components/PageLinks.vue.d.ts +44 -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 +64 -0
- package/dist/runtime/components/PageLogos.vue.d.ts +32 -0
- package/dist/runtime/components/PageMarquee.vue +40 -0
- package/dist/runtime/components/PageMarquee.vue.d.ts +30 -0
- package/dist/runtime/components/PageSection.vue +88 -0
- package/dist/runtime/components/PageSection.vue.d.ts +64 -0
- package/dist/runtime/components/Pagination.vue +47 -47
- package/dist/runtime/components/PinInput.vue +20 -20
- package/dist/runtime/components/Popover.vue +17 -17
- package/dist/runtime/components/PricingPlan.vue +129 -0
- package/dist/runtime/components/PricingPlan.vue.d.ts +109 -0
- package/dist/runtime/components/PricingPlans.vue +45 -0
- package/dist/runtime/components/PricingPlans.vue.d.ts +41 -0
- package/dist/runtime/components/PricingTable.vue +235 -0
- package/dist/runtime/components/PricingTable.vue.d.ts +98 -0
- package/dist/runtime/components/Progress.vue +19 -19
- package/dist/runtime/components/RadioGroup.vue +43 -43
- package/dist/runtime/components/Select.vue +96 -96
- package/dist/runtime/components/SelectMenu.vue +130 -130
- package/dist/runtime/components/SelectMenu.vue.d.ts +3 -3
- package/dist/runtime/components/Separator.vue +15 -15
- package/dist/runtime/components/Skeleton.vue +10 -10
- package/dist/runtime/components/Slideover.vue +76 -76
- package/dist/runtime/components/Slider.vue +27 -27
- package/dist/runtime/components/Stepper.vue +51 -51
- package/dist/runtime/components/Switch.vue +33 -33
- package/dist/runtime/components/Table.vue +77 -77
- package/dist/runtime/components/Tabs.vue +38 -37
- package/dist/runtime/components/Textarea.vue +33 -33
- package/dist/runtime/components/Timeline.vue +38 -38
- package/dist/runtime/components/Toast.vue +69 -69
- package/dist/runtime/components/Toaster.vue +28 -28
- package/dist/runtime/components/Tooltip.vue +19 -19
- package/dist/runtime/components/Tree.vue +60 -60
- package/dist/runtime/components/User.vue +69 -0
- package/dist/runtime/components/User.vue.d.ts +46 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +2 -2
- package/dist/runtime/components/color-mode/ColorModeButton.vue +16 -16
- package/dist/runtime/components/color-mode/ColorModeImage.vue +2 -2
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +19 -19
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +19 -19
- package/dist/runtime/components/content/ContentNavigation.vue +109 -109
- package/dist/runtime/components/content/ContentSearch.vue +25 -25
- package/dist/runtime/components/content/ContentSearchButton.vue +38 -38
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +58 -12
- package/dist/runtime/components/content/ContentSurround.vue +31 -31
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +52 -59
- package/dist/runtime/components/content/ContentToc.vue +88 -76
- package/dist/runtime/components/content/ContentToc.vue.d.ts +86 -88
- package/dist/runtime/components/locale/LocaleSelect.vue +20 -20
- package/dist/runtime/components/prose/A.vue +3 -3
- package/dist/runtime/components/prose/Accordion.vue +5 -5
- package/dist/runtime/components/prose/AccordionItem.vue +5 -5
- package/dist/runtime/components/prose/Badge.vue +3 -3
- package/dist/runtime/components/prose/Blockquote.vue +3 -3
- package/dist/runtime/components/prose/Callout.vue +27 -27
- package/dist/runtime/components/prose/Card.vue +43 -43
- package/dist/runtime/components/prose/CardGroup.vue +3 -3
- package/dist/runtime/components/prose/Code.vue +3 -3
- package/dist/runtime/components/prose/CodeCollapse.vue +16 -16
- package/dist/runtime/components/prose/CodeGroup.vue +15 -15
- package/dist/runtime/components/prose/CodeIcon.vue +1 -1
- package/dist/runtime/components/prose/CodePreview.vue +9 -9
- package/dist/runtime/components/prose/CodeTree.vue +61 -61
- package/dist/runtime/components/prose/Collapsible.vue +15 -15
- package/dist/runtime/components/prose/Em.vue +1 -1
- package/dist/runtime/components/prose/Field.vue +23 -23
- package/dist/runtime/components/prose/FieldGroup.vue +3 -3
- package/dist/runtime/components/prose/H1.vue +6 -6
- package/dist/runtime/components/prose/H2.vue +10 -10
- package/dist/runtime/components/prose/H3.vue +10 -10
- package/dist/runtime/components/prose/H4.vue +6 -6
- package/dist/runtime/components/prose/Hr.vue +1 -1
- package/dist/runtime/components/prose/Icon.vue +1 -1
- package/dist/runtime/components/prose/Img.vue +8 -8
- package/dist/runtime/components/prose/Kbd.vue +1 -1
- package/dist/runtime/components/prose/Li.vue +3 -3
- package/dist/runtime/components/prose/Ol.vue +3 -3
- package/dist/runtime/components/prose/P.vue +3 -3
- package/dist/runtime/components/prose/Pre.vue +20 -20
- package/dist/runtime/components/prose/Script.vue +3 -3
- package/dist/runtime/components/prose/Steps.vue +3 -3
- package/dist/runtime/components/prose/Strong.vue +3 -3
- package/dist/runtime/components/prose/Table.vue +5 -5
- package/dist/runtime/components/prose/Tabs.vue +14 -14
- package/dist/runtime/components/prose/TabsItem.vue +5 -5
- package/dist/runtime/components/prose/Tbody.vue +3 -3
- package/dist/runtime/components/prose/Td.vue +3 -3
- package/dist/runtime/components/prose/Th.vue +3 -3
- package/dist/runtime/components/prose/Thead.vue +3 -3
- package/dist/runtime/components/prose/Tr.vue +3 -3
- package/dist/runtime/components/prose/Ul.vue +3 -3
- package/dist/runtime/components/prose/callout/Caution.vue +3 -3
- package/dist/runtime/components/prose/callout/Note.vue +3 -3
- package/dist/runtime/components/prose/callout/Tip.vue +3 -3
- package/dist/runtime/components/prose/callout/Warning.vue +3 -3
- package/dist/runtime/inertia/components/Link.vue +12 -12
- package/dist/runtime/inertia/components/LinkBase.vue +15 -15
- package/dist/runtime/types/app.config.d.ts +6 -6
- package/dist/runtime/types/index.d.ts +33 -0
- package/dist/runtime/types/index.js +33 -0
- package/dist/runtime/vue/components/Icon.vue +1 -1
- package/dist/runtime/vue/components/Link.vue +31 -31
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +7 -7
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +7 -7
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +7 -7
- package/dist/shared/{ui.DQZ75GCP.mjs → ui.DErCA3YU.mjs} +1247 -50
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +1 -1
- package/vue-plugin.d.ts +5 -5
- package/.nuxt/ui/prose.ts +0 -321
|
@@ -19,14 +19,14 @@ const generate = computed(() => props.id && typeof headings?.anchorLinks === "ob
|
|
|
19
19
|
</script>
|
|
20
20
|
|
|
21
21
|
<template>
|
|
22
|
-
<h2 :id="id" :class="ui.base({ class: props.class })">
|
|
23
|
-
<a v-if="id && generate" :href="`#${id}`" :class="ui.link({ class: props.ui?.link })">
|
|
24
|
-
<span :class="ui.leading({ class: props.ui?.leading })">
|
|
25
|
-
<UIcon :name="appConfig.ui.icons.hash" :class="ui.leadingIcon({ class: props.ui?.leadingIcon })" />
|
|
26
|
-
</span>
|
|
27
|
-
|
|
28
|
-
<slot />
|
|
29
|
-
</a>
|
|
30
|
-
<slot v-else />
|
|
31
|
-
</h2>
|
|
22
|
+
<h2 :id="id" :class="ui.base({ class: props.class })">
|
|
23
|
+
<a v-if="id && generate" :href="`#${id}`" :class="ui.link({ class: props.ui?.link })">
|
|
24
|
+
<span :class="ui.leading({ class: props.ui?.leading })">
|
|
25
|
+
<UIcon :name="appConfig.ui.icons.hash" :class="ui.leadingIcon({ class: props.ui?.leadingIcon })" />
|
|
26
|
+
</span>
|
|
27
|
+
|
|
28
|
+
<slot />
|
|
29
|
+
</a>
|
|
30
|
+
<slot v-else />
|
|
31
|
+
</h2>
|
|
32
32
|
</template>
|
|
@@ -19,14 +19,14 @@ const generate = computed(() => props.id && typeof headings?.anchorLinks === "ob
|
|
|
19
19
|
</script>
|
|
20
20
|
|
|
21
21
|
<template>
|
|
22
|
-
<h3 :id="id" :class="ui.base({ class: props.class })">
|
|
23
|
-
<a v-if="id && generate" :href="`#${id}`" :class="ui.link({ class: props.ui?.link })">
|
|
24
|
-
<span :class="ui.leading({ class: props.ui?.leading })">
|
|
25
|
-
<UIcon :name="appConfig.ui.icons.hash" :class="ui.leadingIcon({ class: props.ui?.leadingIcon })" />
|
|
26
|
-
</span>
|
|
27
|
-
|
|
28
|
-
<slot />
|
|
29
|
-
</a>
|
|
30
|
-
<slot v-else />
|
|
31
|
-
</h3>
|
|
22
|
+
<h3 :id="id" :class="ui.base({ class: props.class })">
|
|
23
|
+
<a v-if="id && generate" :href="`#${id}`" :class="ui.link({ class: props.ui?.link })">
|
|
24
|
+
<span :class="ui.leading({ class: props.ui?.leading })">
|
|
25
|
+
<UIcon :name="appConfig.ui.icons.hash" :class="ui.leadingIcon({ class: props.ui?.leadingIcon })" />
|
|
26
|
+
</span>
|
|
27
|
+
|
|
28
|
+
<slot />
|
|
29
|
+
</a>
|
|
30
|
+
<slot v-else />
|
|
31
|
+
</h3>
|
|
32
32
|
</template>
|
|
@@ -19,10 +19,10 @@ const generate = computed(() => props.id && typeof headings?.anchorLinks === "ob
|
|
|
19
19
|
</script>
|
|
20
20
|
|
|
21
21
|
<template>
|
|
22
|
-
<h4 :id="id" :class="ui.base({ class: props.class })">
|
|
23
|
-
<a v-if="id && generate" :href="`#${id}`" :class="ui.link({ class: props.ui?.link })">
|
|
24
|
-
<slot />
|
|
25
|
-
</a>
|
|
26
|
-
<slot v-else />
|
|
27
|
-
</h4>
|
|
22
|
+
<h4 :id="id" :class="ui.base({ class: props.class })">
|
|
23
|
+
<a v-if="id && generate" :href="`#${id}`" :class="ui.link({ class: props.ui?.link })">
|
|
24
|
+
<slot />
|
|
25
|
+
</a>
|
|
26
|
+
<slot v-else />
|
|
27
|
+
</h4>
|
|
28
28
|
</template>
|
|
@@ -29,12 +29,12 @@ const refinedSrc = computed(() => {
|
|
|
29
29
|
</script>
|
|
30
30
|
|
|
31
31
|
<template>
|
|
32
|
-
<component
|
|
33
|
-
:is="ImageComponent"
|
|
34
|
-
:src="refinedSrc"
|
|
35
|
-
:alt="alt"
|
|
36
|
-
:width="width"
|
|
37
|
-
:height="height"
|
|
38
|
-
:class="ui({ class: props.class })"
|
|
39
|
-
/>
|
|
32
|
+
<component
|
|
33
|
+
:is="ImageComponent"
|
|
34
|
+
:src="refinedSrc"
|
|
35
|
+
:alt="alt"
|
|
36
|
+
:width="width"
|
|
37
|
+
:height="height"
|
|
38
|
+
:class="ui({ class: props.class })"
|
|
39
|
+
/>
|
|
40
40
|
</template>
|
|
@@ -36,26 +36,26 @@ function copy() {
|
|
|
36
36
|
</script>
|
|
37
37
|
|
|
38
38
|
<template>
|
|
39
|
-
<div :class="ui.root({ class: [props.ui?.root], filename: !!filename })">
|
|
40
|
-
<div v-if="filename && !hideHeader" :class="ui.header({ class: props.ui?.header })">
|
|
41
|
-
<CodeIcon :icon="icon" :filename="filename" :class="ui.icon({ class: props.ui?.icon })" />
|
|
42
|
-
|
|
43
|
-
<span :class="ui.filename({ class: props.ui?.filename })">{{ filename }}</span>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<UButton
|
|
47
|
-
:icon="copied ? appConfig.ui.icons.copyCheck : appConfig.ui.icons.copy"
|
|
48
|
-
color="neutral"
|
|
49
|
-
variant="outline"
|
|
50
|
-
size="sm"
|
|
51
|
-
:aria-label="t('prose.pre.copy')"
|
|
52
|
-
:class="ui.copy({ class: props.ui?.copy })"
|
|
53
|
-
tabindex="-1"
|
|
54
|
-
@click="copy"
|
|
55
|
-
/>
|
|
56
|
-
|
|
57
|
-
<pre :class="ui.base({ class: [props.ui?.base, props.class] })" v-bind="$attrs"><slot /></pre>
|
|
58
|
-
</div>
|
|
39
|
+
<div :class="ui.root({ class: [props.ui?.root], filename: !!filename })">
|
|
40
|
+
<div v-if="filename && !hideHeader" :class="ui.header({ class: props.ui?.header })">
|
|
41
|
+
<CodeIcon :icon="icon" :filename="filename" :class="ui.icon({ class: props.ui?.icon })" />
|
|
42
|
+
|
|
43
|
+
<span :class="ui.filename({ class: props.ui?.filename })">{{ filename }}</span>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<UButton
|
|
47
|
+
:icon="copied ? appConfig.ui.icons.copyCheck : appConfig.ui.icons.copy"
|
|
48
|
+
color="neutral"
|
|
49
|
+
variant="outline"
|
|
50
|
+
size="sm"
|
|
51
|
+
:aria-label="t('prose.pre.copy')"
|
|
52
|
+
:class="ui.copy({ class: props.ui?.copy })"
|
|
53
|
+
tabindex="-1"
|
|
54
|
+
@click="copy"
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
<pre :class="ui.base({ class: [props.ui?.base, props.class] })" v-bind="$attrs"><slot /></pre>
|
|
58
|
+
</div>
|
|
59
59
|
</template>
|
|
60
60
|
|
|
61
61
|
<style>
|
|
@@ -6,7 +6,7 @@ const isDev = import.meta.dev;
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div v-if="isDev">
|
|
10
|
-
Rendering the <code>script</code> element is dangerous and is disabled by default. Consider implementing your own <code>ProseScript</code> element to have control over script rendering.
|
|
11
|
-
</div>
|
|
9
|
+
<div v-if="isDev">
|
|
10
|
+
Rendering the <code>script</code> element is dangerous and is disabled by default. Consider implementing your own <code>ProseScript</code> element to have control over script rendering.
|
|
11
|
+
</div>
|
|
12
12
|
</template>
|
|
@@ -16,7 +16,7 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.prose?.steps
|
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<template>
|
|
19
|
-
<div :class="ui({ class: props.class, level: props.level })">
|
|
20
|
-
<slot />
|
|
21
|
-
</div>
|
|
19
|
+
<div :class="ui({ class: props.class, level: props.level })">
|
|
20
|
+
<slot />
|
|
21
|
+
</div>
|
|
22
22
|
</template>
|
|
@@ -15,7 +15,7 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.prose?.strong
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<strong :class="ui({ class: props.class })">
|
|
19
|
-
<slot />
|
|
20
|
-
</strong>
|
|
18
|
+
<strong :class="ui({ class: props.class })">
|
|
19
|
+
<slot />
|
|
20
|
+
</strong>
|
|
21
21
|
</template>
|
|
@@ -16,9 +16,9 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.prose?.table
|
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<template>
|
|
19
|
-
<div :class="ui.root({ class: [props.ui?.root, props.class] })">
|
|
20
|
-
<table :class="ui.base({ class: props.ui?.base })">
|
|
21
|
-
<slot />
|
|
22
|
-
</table>
|
|
23
|
-
</div>
|
|
19
|
+
<div :class="ui.root({ class: [props.ui?.root, props.class] })">
|
|
20
|
+
<table :class="ui.base({ class: props.ui?.base })">
|
|
21
|
+
<slot />
|
|
22
|
+
</table>
|
|
23
|
+
</div>
|
|
24
24
|
</template>
|
|
@@ -61,18 +61,18 @@ onBeforeUpdate(() => rerenderCount.value++);
|
|
|
61
61
|
</script>
|
|
62
62
|
|
|
63
63
|
<template>
|
|
64
|
-
<UTabs
|
|
65
|
-
v-model="model"
|
|
66
|
-
color="primary"
|
|
67
|
-
variant="link"
|
|
68
|
-
:items="items"
|
|
69
|
-
:class="props.class"
|
|
70
|
-
:unmount-on-hide="false"
|
|
71
|
-
:ui="transformUI(ui())"
|
|
72
|
-
@update:model-value="onUpdateModelValue"
|
|
73
|
-
>
|
|
74
|
-
<template #content="{ item }">
|
|
75
|
-
<component :is="item.component" />
|
|
76
|
-
</template>
|
|
77
|
-
</UTabs>
|
|
64
|
+
<UTabs
|
|
65
|
+
v-model="model"
|
|
66
|
+
color="primary"
|
|
67
|
+
variant="link"
|
|
68
|
+
:items="items"
|
|
69
|
+
:class="props.class"
|
|
70
|
+
:unmount-on-hide="false"
|
|
71
|
+
:ui="transformUI(ui())"
|
|
72
|
+
@update:model-value="onUpdateModelValue"
|
|
73
|
+
>
|
|
74
|
+
<template #content="{ item }">
|
|
75
|
+
<component :is="item.component" />
|
|
76
|
+
</template>
|
|
77
|
+
</UTabs>
|
|
78
78
|
</template>
|
|
@@ -17,9 +17,9 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.prose?.tabsIt
|
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
19
|
<template>
|
|
20
|
-
<div :class="ui({ class: props.class })">
|
|
21
|
-
<slot>
|
|
22
|
-
{{ description }}
|
|
23
|
-
</slot>
|
|
24
|
-
</div>
|
|
20
|
+
<div :class="ui({ class: props.class })">
|
|
21
|
+
<slot>
|
|
22
|
+
{{ description }}
|
|
23
|
+
</slot>
|
|
24
|
+
</div>
|
|
25
25
|
</template>
|
|
@@ -15,7 +15,7 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.prose?.tbody
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<tbody :class="ui({ class: props.class })">
|
|
19
|
-
<slot />
|
|
20
|
-
</tbody>
|
|
18
|
+
<tbody :class="ui({ class: props.class })">
|
|
19
|
+
<slot />
|
|
20
|
+
</tbody>
|
|
21
21
|
</template>
|
|
@@ -15,7 +15,7 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.prose?.thead
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<thead :class="ui({ class: props.class })">
|
|
19
|
-
<slot />
|
|
20
|
-
</thead>
|
|
18
|
+
<thead :class="ui({ class: props.class })">
|
|
19
|
+
<slot />
|
|
20
|
+
</thead>
|
|
21
21
|
</template>
|
|
@@ -5,7 +5,7 @@ const appConfig = useAppConfig();
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<template>
|
|
8
|
-
<Callout color="error" :icon="appConfig.ui.icons.caution">
|
|
9
|
-
<slot mdc-unwrap="p" />
|
|
10
|
-
</Callout>
|
|
8
|
+
<Callout color="error" :icon="appConfig.ui.icons.caution">
|
|
9
|
+
<slot mdc-unwrap="p" />
|
|
10
|
+
</Callout>
|
|
11
11
|
</template>
|
|
@@ -5,7 +5,7 @@ const appConfig = useAppConfig();
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<template>
|
|
8
|
-
<Callout color="info" :icon="appConfig.ui.icons.info">
|
|
9
|
-
<slot mdc-unwrap="p" />
|
|
10
|
-
</Callout>
|
|
8
|
+
<Callout color="info" :icon="appConfig.ui.icons.info">
|
|
9
|
+
<slot mdc-unwrap="p" />
|
|
10
|
+
</Callout>
|
|
11
11
|
</template>
|
|
@@ -5,7 +5,7 @@ const appConfig = useAppConfig();
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<template>
|
|
8
|
-
<Callout color="success" :icon="appConfig.ui.icons.tip">
|
|
9
|
-
<slot mdc-unwrap="p" />
|
|
10
|
-
</Callout>
|
|
8
|
+
<Callout color="success" :icon="appConfig.ui.icons.tip">
|
|
9
|
+
<slot mdc-unwrap="p" />
|
|
10
|
+
</Callout>
|
|
11
11
|
</template>
|
|
@@ -5,7 +5,7 @@ const appConfig = useAppConfig();
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<template>
|
|
8
|
-
<Callout color="warning" :icon="appConfig.ui.icons.warning">
|
|
9
|
-
<slot mdc-unwrap="p" />
|
|
10
|
-
</Callout>
|
|
8
|
+
<Callout color="warning" :icon="appConfig.ui.icons.warning">
|
|
9
|
+
<slot mdc-unwrap="p" />
|
|
10
|
+
</Callout>
|
|
11
11
|
</template>
|
|
@@ -100,8 +100,8 @@ const linkClass = computed(() => {
|
|
|
100
100
|
</script>
|
|
101
101
|
|
|
102
102
|
<template>
|
|
103
|
-
<template v-if="custom">
|
|
104
|
-
<slot
|
|
103
|
+
<template v-if="custom">
|
|
104
|
+
<slot
|
|
105
105
|
v-bind="{
|
|
106
106
|
...$attrs,
|
|
107
107
|
...routerLinkProps,
|
|
@@ -111,11 +111,11 @@ const linkClass = computed(() => {
|
|
|
111
111
|
href,
|
|
112
112
|
active: isLinkActive,
|
|
113
113
|
isExternal
|
|
114
|
-
}"
|
|
115
|
-
/>
|
|
116
|
-
</template>
|
|
117
|
-
<ULinkBase
|
|
118
|
-
v-else
|
|
114
|
+
}"
|
|
115
|
+
/>
|
|
116
|
+
</template>
|
|
117
|
+
<ULinkBase
|
|
118
|
+
v-else
|
|
119
119
|
v-bind="{
|
|
120
120
|
...$attrs,
|
|
121
121
|
...routerLinkProps,
|
|
@@ -124,9 +124,9 @@ const linkClass = computed(() => {
|
|
|
124
124
|
disabled,
|
|
125
125
|
href,
|
|
126
126
|
isExternal
|
|
127
|
-
}"
|
|
128
|
-
:class="linkClass"
|
|
129
|
-
>
|
|
130
|
-
<slot :active="isLinkActive" />
|
|
131
|
-
</ULinkBase>
|
|
127
|
+
}"
|
|
128
|
+
:class="linkClass"
|
|
129
|
+
>
|
|
130
|
+
<slot :active="isLinkActive" />
|
|
131
|
+
</ULinkBase>
|
|
132
132
|
</template>
|
|
@@ -31,19 +31,19 @@ function onClickWrapper(e) {
|
|
|
31
31
|
</script>
|
|
32
32
|
|
|
33
33
|
<template>
|
|
34
|
-
<InertiaLink
|
|
35
|
-
v-if="!!href && !isExternal && !disabled"
|
|
36
|
-
:href="href"
|
|
34
|
+
<InertiaLink
|
|
35
|
+
v-if="!!href && !isExternal && !disabled"
|
|
36
|
+
:href="href"
|
|
37
37
|
v-bind="{
|
|
38
38
|
target: target || (isExternal ? '_blank' : void 0),
|
|
39
39
|
...$attrs
|
|
40
|
-
}"
|
|
41
|
-
@click="onClickWrapper"
|
|
42
|
-
>
|
|
43
|
-
<slot />
|
|
44
|
-
</InertiaLink>
|
|
45
|
-
<Primitive
|
|
46
|
-
v-else
|
|
40
|
+
}"
|
|
41
|
+
@click="onClickWrapper"
|
|
42
|
+
>
|
|
43
|
+
<slot />
|
|
44
|
+
</InertiaLink>
|
|
45
|
+
<Primitive
|
|
46
|
+
v-else
|
|
47
47
|
v-bind="href ? {
|
|
48
48
|
'as': 'a',
|
|
49
49
|
'href': disabled ? void 0 : href,
|
|
@@ -60,9 +60,9 @@ function onClickWrapper(e) {
|
|
|
60
60
|
} : {
|
|
61
61
|
as,
|
|
62
62
|
...$attrs
|
|
63
|
-
}"
|
|
64
|
-
@click="onClickWrapper"
|
|
65
|
-
>
|
|
66
|
-
<slot />
|
|
67
|
-
</Primitive>
|
|
63
|
+
}"
|
|
64
|
+
@click="onClickWrapper"
|
|
65
|
+
>
|
|
66
|
+
<slot />
|
|
67
|
+
</Primitive>
|
|
68
68
|
</template>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare module '#build/app.config' {
|
|
2
|
-
import type { AppConfig } from '@nuxt/schema'
|
|
3
|
-
|
|
4
|
-
const _default: AppConfig
|
|
5
|
-
export default _default
|
|
6
|
-
}
|
|
1
|
+
declare module '#build/app.config' {
|
|
2
|
+
import type { AppConfig } from '@nuxt/schema'
|
|
3
|
+
|
|
4
|
+
const _default: AppConfig
|
|
5
|
+
export default _default
|
|
6
|
+
}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
export * from '../components/Accordion.vue';
|
|
2
2
|
export * from '../components/Alert.vue';
|
|
3
3
|
export * from '../components/App.vue';
|
|
4
|
+
export * from '../components/AuthForm.vue';
|
|
4
5
|
export * from '../components/Avatar.vue';
|
|
5
6
|
export * from '../components/AvatarGroup.vue';
|
|
6
7
|
export * from '../components/Badge.vue';
|
|
8
|
+
export * from '../components/Banner.vue';
|
|
9
|
+
export * from '../components/BlogPost.vue';
|
|
10
|
+
export * from '../components/BlogPosts.vue';
|
|
7
11
|
export * from '../components/Breadcrumb.vue';
|
|
8
12
|
export * from '../components/Button.vue';
|
|
9
13
|
export * from '../components/ButtonGroup.vue';
|
|
10
14
|
export * from '../components/Calendar.vue';
|
|
11
15
|
export * from '../components/Card.vue';
|
|
12
16
|
export * from '../components/Carousel.vue';
|
|
17
|
+
export * from '../components/ChangelogVersion.vue';
|
|
18
|
+
export * from '../components/ChangelogVersions.vue';
|
|
13
19
|
export * from '../components/ChatMessage.vue';
|
|
14
20
|
export * from '../components/ChatMessages.vue';
|
|
21
|
+
export * from '../components/ChatPalette.vue';
|
|
15
22
|
export * from '../components/ChatPrompt.vue';
|
|
16
23
|
export * from '../components/ChatPromptSubmit.vue';
|
|
17
24
|
export * from '../components/Checkbox.vue';
|
|
@@ -39,8 +46,11 @@ export * from '../components/DashboardSidebarToggle.vue';
|
|
|
39
46
|
export * from '../components/Drawer.vue';
|
|
40
47
|
export * from '../components/DropdownMenu.vue';
|
|
41
48
|
export * from '../components/Error.vue';
|
|
49
|
+
export * from '../components/Footer.vue';
|
|
50
|
+
export * from '../components/FooterColumns.vue';
|
|
42
51
|
export * from '../components/Form.vue';
|
|
43
52
|
export * from '../components/FormField.vue';
|
|
53
|
+
export * from '../components/Header.vue';
|
|
44
54
|
export * from '../components/Icon.vue';
|
|
45
55
|
export * from '../components/Input.vue';
|
|
46
56
|
export * from '../components/InputMenu.vue';
|
|
@@ -49,11 +59,33 @@ export * from '../components/InputTags.vue';
|
|
|
49
59
|
export * from '../components/Kbd.vue';
|
|
50
60
|
export * from '../components/Link.vue';
|
|
51
61
|
export * from '../components/locale/LocaleSelect.vue';
|
|
62
|
+
export * from '../components/Main.vue';
|
|
52
63
|
export * from '../components/Modal.vue';
|
|
53
64
|
export * from '../components/NavigationMenu.vue';
|
|
65
|
+
export * from '../components/Page.vue';
|
|
66
|
+
export * from '../components/PageAccordion.vue';
|
|
67
|
+
export * from '../components/PageAnchors.vue';
|
|
68
|
+
export * from '../components/PageAside.vue';
|
|
69
|
+
export * from '../components/PageBody.vue';
|
|
70
|
+
export * from '../components/PageCard.vue';
|
|
71
|
+
export * from '../components/PageColumns.vue';
|
|
72
|
+
export * from '../components/PageCTA.vue';
|
|
73
|
+
export * from '../components/PageFeature.vue';
|
|
74
|
+
export * from '../components/PageGrid.vue';
|
|
75
|
+
export * from '../components/PageHeader.vue';
|
|
76
|
+
export * from '../components/PageHero.vue';
|
|
77
|
+
export * from '../components/PageLinks.vue';
|
|
78
|
+
export * from '../components/PageList.vue';
|
|
79
|
+
export * from '../components/PageLogos.vue';
|
|
80
|
+
export * from '../components/PageMarquee.vue';
|
|
81
|
+
export * from '../components/PageSection.vue';
|
|
82
|
+
export * from '../components/Pagination.vue';
|
|
54
83
|
export * from '../components/Pagination.vue';
|
|
55
84
|
export * from '../components/PinInput.vue';
|
|
56
85
|
export * from '../components/Popover.vue';
|
|
86
|
+
export * from '../components/PricingPlan.vue';
|
|
87
|
+
export * from '../components/PricingPlans.vue';
|
|
88
|
+
export * from '../components/PricingTable.vue';
|
|
57
89
|
export * from '../components/Progress.vue';
|
|
58
90
|
export * from '../components/RadioGroup.vue';
|
|
59
91
|
export * from '../components/Select.vue';
|
|
@@ -72,6 +104,7 @@ export * from '../components/Toast.vue';
|
|
|
72
104
|
export * from '../components/Toaster.vue';
|
|
73
105
|
export * from '../components/Tooltip.vue';
|
|
74
106
|
export * from '../components/Tree.vue';
|
|
107
|
+
export * from '../components/User.vue';
|
|
75
108
|
export * from './form';
|
|
76
109
|
export * from './locale';
|
|
77
110
|
export * from './utils';
|