@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
package/.nuxt/ui/alert.ts
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "w-full space-y-6",
|
|
4
|
+
"header": "flex flex-col text-center",
|
|
5
|
+
"leading": "mb-2",
|
|
6
|
+
"leadingIcon": "size-8 shrink-0 inline-block",
|
|
7
|
+
"title": "text-xl text-pretty font-semibold text-highlighted",
|
|
8
|
+
"description": "mt-1 text-base text-pretty text-muted",
|
|
9
|
+
"body": "gap-y-6 flex flex-col",
|
|
10
|
+
"providers": "space-y-3",
|
|
11
|
+
"checkbox": "",
|
|
12
|
+
"select": "",
|
|
13
|
+
"password": "w-full",
|
|
14
|
+
"otp": "w-full justify-center",
|
|
15
|
+
"input": "w-full",
|
|
16
|
+
"separator": "",
|
|
17
|
+
"form": "space-y-5",
|
|
18
|
+
"footer": "text-sm text-center text-muted mt-2"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/.nuxt/ui/badge.ts
CHANGED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
"slots": {
|
|
13
|
+
"root": [
|
|
14
|
+
"relative z-50 w-full",
|
|
15
|
+
"transition-colors"
|
|
16
|
+
],
|
|
17
|
+
"container": "flex items-center justify-between gap-3 h-12",
|
|
18
|
+
"left": "hidden lg:flex-1 lg:flex lg:items-center",
|
|
19
|
+
"center": "flex items-center gap-1.5 min-w-0",
|
|
20
|
+
"right": "lg:flex-1 flex items-center justify-end",
|
|
21
|
+
"icon": "size-5 shrink-0 text-inverted pointer-events-none",
|
|
22
|
+
"title": "text-sm text-inverted font-medium truncate",
|
|
23
|
+
"actions": "flex gap-1.5 shrink-0 isolate",
|
|
24
|
+
"close": "text-inverted hover:bg-default/10 focus-visible:bg-default/10 -me-1.5 lg:me-0"
|
|
25
|
+
},
|
|
26
|
+
"variants": {
|
|
27
|
+
"color": {
|
|
28
|
+
"primary": {
|
|
29
|
+
"root": "bg-primary"
|
|
30
|
+
},
|
|
31
|
+
"secondary": {
|
|
32
|
+
"root": "bg-secondary"
|
|
33
|
+
},
|
|
34
|
+
"success": {
|
|
35
|
+
"root": "bg-success"
|
|
36
|
+
},
|
|
37
|
+
"info": {
|
|
38
|
+
"root": "bg-info"
|
|
39
|
+
},
|
|
40
|
+
"warning": {
|
|
41
|
+
"root": "bg-warning"
|
|
42
|
+
},
|
|
43
|
+
"error": {
|
|
44
|
+
"root": "bg-error"
|
|
45
|
+
},
|
|
46
|
+
"neutral": {
|
|
47
|
+
"root": "bg-inverted"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"to": {
|
|
51
|
+
"true": ""
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"compoundVariants": [
|
|
55
|
+
{
|
|
56
|
+
"color": "primary" as typeof color[number],
|
|
57
|
+
"to": true,
|
|
58
|
+
"class": {
|
|
59
|
+
"root": "hover:bg-primary/90"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"color": "secondary" as typeof color[number],
|
|
64
|
+
"to": true,
|
|
65
|
+
"class": {
|
|
66
|
+
"root": "hover:bg-secondary/90"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"color": "success" as typeof color[number],
|
|
71
|
+
"to": true,
|
|
72
|
+
"class": {
|
|
73
|
+
"root": "hover:bg-success/90"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"color": "info" as typeof color[number],
|
|
78
|
+
"to": true,
|
|
79
|
+
"class": {
|
|
80
|
+
"root": "hover:bg-info/90"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"color": "warning" as typeof color[number],
|
|
85
|
+
"to": true,
|
|
86
|
+
"class": {
|
|
87
|
+
"root": "hover:bg-warning/90"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"color": "error" as typeof color[number],
|
|
92
|
+
"to": true,
|
|
93
|
+
"class": {
|
|
94
|
+
"root": "hover:bg-error/90"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"color": "neutral" as typeof color[number],
|
|
99
|
+
"to": true,
|
|
100
|
+
"class": {
|
|
101
|
+
"root": "hover:bg-inverted/90"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const variant = [
|
|
7
|
+
"outline",
|
|
8
|
+
"soft",
|
|
9
|
+
"subtle",
|
|
10
|
+
"ghost",
|
|
11
|
+
"naked"
|
|
12
|
+
] as const
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
"slots": {
|
|
16
|
+
"root": "relative group/blog-post flex flex-col rounded-lg overflow-hidden",
|
|
17
|
+
"header": "relative overflow-hidden aspect-[16/9] w-full pointer-events-none",
|
|
18
|
+
"body": "min-w-0 flex-1 flex flex-col",
|
|
19
|
+
"footer": "",
|
|
20
|
+
"image": "object-cover object-top w-full h-full",
|
|
21
|
+
"title": "text-xl text-pretty font-semibold text-highlighted",
|
|
22
|
+
"description": "mt-1 text-base text-pretty",
|
|
23
|
+
"authors": "pt-4 mt-auto flex flex-wrap gap-x-3 gap-y-1.5",
|
|
24
|
+
"avatar": "",
|
|
25
|
+
"meta": "flex items-center gap-2 mb-2",
|
|
26
|
+
"date": "text-sm",
|
|
27
|
+
"badge": ""
|
|
28
|
+
},
|
|
29
|
+
"variants": {
|
|
30
|
+
"orientation": {
|
|
31
|
+
"horizontal": {
|
|
32
|
+
"root": "lg:grid lg:grid-cols-2 lg:items-center gap-x-8",
|
|
33
|
+
"body": "justify-center p-4 sm:p-6 lg:px-0"
|
|
34
|
+
},
|
|
35
|
+
"vertical": {
|
|
36
|
+
"root": "flex flex-col",
|
|
37
|
+
"body": "p-4 sm:p-6"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"variant": {
|
|
41
|
+
"outline": {
|
|
42
|
+
"root": "bg-default ring ring-default",
|
|
43
|
+
"date": "text-toned",
|
|
44
|
+
"description": "text-muted"
|
|
45
|
+
},
|
|
46
|
+
"soft": {
|
|
47
|
+
"root": "bg-elevated/50",
|
|
48
|
+
"date": "text-muted",
|
|
49
|
+
"description": "text-toned"
|
|
50
|
+
},
|
|
51
|
+
"subtle": {
|
|
52
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
53
|
+
"date": "text-muted",
|
|
54
|
+
"description": "text-toned"
|
|
55
|
+
},
|
|
56
|
+
"ghost": {
|
|
57
|
+
"date": "text-toned",
|
|
58
|
+
"description": "text-muted",
|
|
59
|
+
"header": "shadow-lg rounded-lg"
|
|
60
|
+
},
|
|
61
|
+
"naked": {
|
|
62
|
+
"root": "p-0 sm:p-0",
|
|
63
|
+
"date": "text-toned",
|
|
64
|
+
"description": "text-muted",
|
|
65
|
+
"header": "shadow-lg rounded-lg"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"to": {
|
|
69
|
+
"true": {
|
|
70
|
+
"root": "transition",
|
|
71
|
+
"image": "transform transition-transform duration-200 group-hover/blog-post:scale-110",
|
|
72
|
+
"avatar": "transform transition-transform duration-200 hover:scale-115"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"image": {
|
|
76
|
+
"true": ""
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"compoundVariants": [
|
|
80
|
+
{
|
|
81
|
+
"variant": "outline" as typeof variant[number],
|
|
82
|
+
"to": true,
|
|
83
|
+
"class": {
|
|
84
|
+
"root": "hover:bg-elevated/50"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"variant": "soft" as typeof variant[number],
|
|
89
|
+
"to": true,
|
|
90
|
+
"class": {
|
|
91
|
+
"root": "hover:bg-elevated"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"variant": "subtle" as typeof variant[number],
|
|
96
|
+
"to": true,
|
|
97
|
+
"class": {
|
|
98
|
+
"root": "hover:bg-elevated hover:ring-accented"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"variant": "ghost" as typeof variant[number],
|
|
103
|
+
"to": true,
|
|
104
|
+
"class": {
|
|
105
|
+
"root": "hover:bg-elevated/50",
|
|
106
|
+
"header": [
|
|
107
|
+
"group-hover/blog-post:shadow-none",
|
|
108
|
+
"transition-all"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"variant": "ghost" as typeof variant[number],
|
|
114
|
+
"to": true,
|
|
115
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
116
|
+
"class": {
|
|
117
|
+
"header": "group-hover/blog-post:rounded-b-none"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"variant": "ghost" as typeof variant[number],
|
|
122
|
+
"to": true,
|
|
123
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
124
|
+
"class": {
|
|
125
|
+
"header": "group-hover/blog-post:rounded-r-none"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
130
|
+
"image": false,
|
|
131
|
+
"variant": "naked" as typeof variant[number],
|
|
132
|
+
"class": {
|
|
133
|
+
"body": "p-0 sm:p-0"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"defaultVariants": {
|
|
138
|
+
"variant": "outline" as typeof variant[number]
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
"base": "flex flex-col gap-8 lg:gap-y-16",
|
|
8
|
+
"variants": {
|
|
9
|
+
"orientation": {
|
|
10
|
+
"horizontal": "sm:grid sm:grid-cols-2 lg:grid-cols-3",
|
|
11
|
+
"vertical": ""
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
package/.nuxt/ui/button-group.ts
CHANGED
package/.nuxt/ui/button.ts
CHANGED
package/.nuxt/ui/carousel.ts
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative",
|
|
4
|
+
"container": "flex flex-col mx-auto max-w-2xl",
|
|
5
|
+
"header": "",
|
|
6
|
+
"meta": "flex items-center gap-3 mb-2",
|
|
7
|
+
"date": "text-sm/6 text-toned truncate",
|
|
8
|
+
"badge": "",
|
|
9
|
+
"title": "relative text-xl text-pretty font-semibold text-highlighted",
|
|
10
|
+
"description": "text-base text-pretty text-muted mt-1",
|
|
11
|
+
"imageWrapper": "relative overflow-hidden rounded-lg aspect-[16/9] mt-5 group/changelog-version-image",
|
|
12
|
+
"image": "object-cover object-top w-full h-full",
|
|
13
|
+
"authors": "flex flex-wrap gap-x-4 gap-y-1.5",
|
|
14
|
+
"footer": "border-t border-default pt-5 flex items-center justify-between",
|
|
15
|
+
"indicator": "absolute left-0 top-0 w-32 hidden lg:flex items-center justify-end gap-3 min-w-0",
|
|
16
|
+
"dot": "size-4 rounded-full bg-default ring ring-default flex items-center justify-center my-1",
|
|
17
|
+
"dotInner": "size-2 rounded-full bg-primary"
|
|
18
|
+
},
|
|
19
|
+
"variants": {
|
|
20
|
+
"body": {
|
|
21
|
+
"false": {
|
|
22
|
+
"footer": "mt-5"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"badge": {
|
|
26
|
+
"false": {
|
|
27
|
+
"meta": "lg:hidden"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"to": {
|
|
31
|
+
"true": {
|
|
32
|
+
"image": "transform transition-transform duration-200 group-hover/changelog-version-image:scale-105"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"hidden": {
|
|
36
|
+
"true": {
|
|
37
|
+
"date": "lg:hidden"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative",
|
|
4
|
+
"container": "flex flex-col gap-y-8 sm:gap-y-12 lg:gap-y-16",
|
|
5
|
+
"indicator": "absolute hidden lg:block overflow-hidden inset-y-3 left-32 h-full w-px bg-border -ml-[8.5px]",
|
|
6
|
+
"beam": "absolute left-0 top-0 w-full bg-primary will-change-[height]"
|
|
7
|
+
}
|
|
8
|
+
}
|