@eslamdevui/ui 3.2.0 → 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/alert.ts +5 -0
- package/.nuxt/ui/auth-form.ts +20 -0
- package/.nuxt/ui/badge.ts +5 -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/button-group.ts +13 -0
- package/.nuxt/ui/button.ts +5 -0
- package/.nuxt/ui/carousel.ts +5 -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 +341 -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 +39 -0
- package/.nuxt/ui/content/content-toc.ts +150 -0
- package/.nuxt/ui/content/index.ts +5 -0
- package/.nuxt/ui/content-navigation.ts +6 -4
- package/.nuxt/ui/content-surround.ts +5 -0
- package/.nuxt/ui/dashboard-navbar.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar.ts +10 -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 +30 -0
- package/.nuxt/ui/index.ts +80 -2
- package/.nuxt/ui/input-menu.ts +9 -0
- package/.nuxt/ui/input-number.ts +5 -0
- package/.nuxt/ui/input-tags.ts +9 -0
- package/.nuxt/ui/input.ts +9 -0
- 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/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 +3 -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 +9 -0
- package/.nuxt/ui/select.ts +9 -0
- package/.nuxt/ui/textarea.ts +9 -0
- package/.nuxt/ui/toast.ts +5 -0
- package/.nuxt/ui/user.ts +106 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/AuthForm.vue +195 -0
- package/dist/runtime/components/AuthForm.vue.d.ts +85 -0
- 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/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/ChatPalette.vue +32 -0
- package/dist/runtime/components/ChatPalette.vue.d.ts +24 -0
- package/dist/runtime/components/ChatPrompt.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue.d.ts +3 -3
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
- 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/Header.vue +137 -0
- package/dist/runtime/components/Header.vue.d.ts +72 -0
- package/dist/runtime/components/InputMenu.vue.d.ts +3 -3
- package/dist/runtime/components/Main.vue +23 -0
- package/dist/runtime/components/Main.vue.d.ts +20 -0
- 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/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/SelectMenu.vue.d.ts +3 -3
- package/dist/runtime/components/Tabs.vue +1 -0
- package/dist/runtime/components/User.vue +69 -0
- package/dist/runtime/components/User.vue.d.ts +46 -0
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +57 -11
- package/dist/runtime/components/content/ContentSurround.vue +2 -2
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +45 -52
- package/dist/runtime/components/content/ContentToc.vue +27 -15
- package/dist/runtime/components/content/ContentToc.vue.d.ts +79 -81
- package/dist/runtime/types/index.d.ts +33 -0
- package/dist/runtime/types/index.js +33 -0
- 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/.nuxt/ui/prose.ts +0 -321
|
@@ -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,46 @@
|
|
|
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-24 sm:py-32 lg:py-40 gap-16 sm:gap-y-24",
|
|
10
|
+
"wrapper": "",
|
|
11
|
+
"headline": "mb-4",
|
|
12
|
+
"title": "text-5xl sm:text-7xl text-pretty tracking-tight font-bold text-highlighted",
|
|
13
|
+
"description": "text-lg sm:text-xl/8 text-muted",
|
|
14
|
+
"links": "mt-10 flex flex-wrap gap-x-6 gap-y-3"
|
|
15
|
+
},
|
|
16
|
+
"variants": {
|
|
17
|
+
"orientation": {
|
|
18
|
+
"horizontal": {
|
|
19
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
20
|
+
"description": "text-pretty"
|
|
21
|
+
},
|
|
22
|
+
"vertical": {
|
|
23
|
+
"container": "",
|
|
24
|
+
"headline": "justify-center",
|
|
25
|
+
"wrapper": "text-center",
|
|
26
|
+
"description": "text-balance",
|
|
27
|
+
"links": "justify-center"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"reverse": {
|
|
31
|
+
"true": {
|
|
32
|
+
"wrapper": "order-last"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"headline": {
|
|
36
|
+
"true": {
|
|
37
|
+
"headline": "font-semibold text-primary flex items-center gap-1.5"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"title": {
|
|
41
|
+
"true": {
|
|
42
|
+
"description": "mt-6"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -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,66 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
"slots": {
|
|
8
|
+
"root": "group relative flex items-center overflow-hidden gap-(--gap) [--gap:--spacing(16)] [--duration:20s]",
|
|
9
|
+
"content": "flex items-center shrink-0 justify-around gap-(--gap) min-w-max"
|
|
10
|
+
},
|
|
11
|
+
"variants": {
|
|
12
|
+
"orientation": {
|
|
13
|
+
"horizontal": {
|
|
14
|
+
"content": "w-full"
|
|
15
|
+
},
|
|
16
|
+
"vertical": {
|
|
17
|
+
"content": "h-full"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"pauseOnHover": {
|
|
21
|
+
"true": {
|
|
22
|
+
"content": "group-hover:[animation-play-state:paused]"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"reverse": {
|
|
26
|
+
"true": {
|
|
27
|
+
"content": "[animation-direction:reverse]"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"overlay": {
|
|
31
|
+
"true": {
|
|
32
|
+
"root": "before:absolute before:pointer-events-none before:content-[\"\"] before:z-2 before:from-default before:to-transparent after:absolute after:pointer-events-none after:content-[\"\"] after:z-2 after:from-default after:to-transparent"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"compoundVariants": [
|
|
37
|
+
{
|
|
38
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
39
|
+
"class": {
|
|
40
|
+
"root": "flex-row",
|
|
41
|
+
"content": "flex-row animate-[marquee_var(--duration)_linear_infinite] rtl:animate-[marquee-rtl_var(--duration)_linear_infinite] backface-hidden"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
46
|
+
"overlay": true,
|
|
47
|
+
"class": {
|
|
48
|
+
"root": "before:inset-y-0 before:left-0 before:h-full before:w-1/3 before:bg-gradient-to-r after:inset-y-0 after:right-0 after:h-full after:w-1/3 after:bg-gradient-to-l backface-hidden"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
53
|
+
"class": {
|
|
54
|
+
"root": "flex-col",
|
|
55
|
+
"content": "flex-col animate-[marquee-vertical_var(--duration)_linear_infinite] rtl:animate-[marquee-vertical-rtl_var(--duration)_linear_infinite] h-[fit-content] backface-hidden"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
60
|
+
"overlay": true,
|
|
61
|
+
"class": {
|
|
62
|
+
"root": "before:inset-x-0 before:top-0 before:w-full before:h-1/3 before:bg-gradient-to-b after:inset-x-0 after:bottom-0 after:w-full after:h-1/3 after:bg-gradient-to-t backface-hidden"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
"features": {
|
|
61
|
+
"true": "",
|
|
62
|
+
"false": ""
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"compoundVariants": [
|
|
66
|
+
{
|
|
67
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
68
|
+
"title": true,
|
|
69
|
+
"class": {
|
|
70
|
+
"body": "mt-16"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
75
|
+
"description": true,
|
|
76
|
+
"class": {
|
|
77
|
+
"body": "mt-16"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
82
|
+
"body": true,
|
|
83
|
+
"class": {
|
|
84
|
+
"footer": "mt-16"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
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,27 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
"base": "flex flex-col gap-y-8",
|
|
8
|
+
"variants": {
|
|
9
|
+
"orientation": {
|
|
10
|
+
"horizontal": "lg:grid lg:grid-cols-[repeat(var(--count),minmax(0,1fr))]",
|
|
11
|
+
"vertical": ""
|
|
12
|
+
},
|
|
13
|
+
"compact": {
|
|
14
|
+
"false": "gap-x-8"
|
|
15
|
+
},
|
|
16
|
+
"scale": {
|
|
17
|
+
"true": ""
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"compoundVariants": [
|
|
21
|
+
{
|
|
22
|
+
"compact": false,
|
|
23
|
+
"scale": true,
|
|
24
|
+
"class": "lg:gap-x-13"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -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
|
+
}
|