@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
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const variant = [
|
|
7
|
+
"solid",
|
|
8
|
+
"outline",
|
|
9
|
+
"soft",
|
|
10
|
+
"subtle",
|
|
11
|
+
"ghost",
|
|
12
|
+
"naked"
|
|
13
|
+
] as const
|
|
14
|
+
|
|
15
|
+
const highlightColor = [
|
|
16
|
+
"primary",
|
|
17
|
+
"secondary",
|
|
18
|
+
"success",
|
|
19
|
+
"info",
|
|
20
|
+
"warning",
|
|
21
|
+
"error",
|
|
22
|
+
"neutral"
|
|
23
|
+
] as const
|
|
24
|
+
|
|
25
|
+
const spotlightColor = [
|
|
26
|
+
"primary",
|
|
27
|
+
"secondary",
|
|
28
|
+
"success",
|
|
29
|
+
"info",
|
|
30
|
+
"warning",
|
|
31
|
+
"error",
|
|
32
|
+
"neutral"
|
|
33
|
+
] as const
|
|
34
|
+
|
|
35
|
+
export default {
|
|
36
|
+
"slots": {
|
|
37
|
+
"root": "relative flex rounded-lg",
|
|
38
|
+
"spotlight": "absolute inset-0 rounded-[inherit] pointer-events-none bg-default/90",
|
|
39
|
+
"container": "relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6",
|
|
40
|
+
"wrapper": "flex flex-col flex-1 items-start",
|
|
41
|
+
"header": "mb-4",
|
|
42
|
+
"body": "flex-1",
|
|
43
|
+
"footer": "pt-4 mt-auto",
|
|
44
|
+
"leading": "inline-flex items-center mb-2.5",
|
|
45
|
+
"leadingIcon": "size-5 shrink-0 text-primary",
|
|
46
|
+
"title": "text-base text-pretty font-semibold text-highlighted",
|
|
47
|
+
"description": "text-[15px] text-pretty"
|
|
48
|
+
},
|
|
49
|
+
"variants": {
|
|
50
|
+
"orientation": {
|
|
51
|
+
"horizontal": {
|
|
52
|
+
"container": "lg:grid-cols-2 lg:items-center"
|
|
53
|
+
},
|
|
54
|
+
"vertical": {
|
|
55
|
+
"container": ""
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"reverse": {
|
|
59
|
+
"true": {
|
|
60
|
+
"wrapper": "lg:order-last"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"variant": {
|
|
64
|
+
"solid": {
|
|
65
|
+
"root": "bg-inverted text-inverted",
|
|
66
|
+
"title": "text-inverted",
|
|
67
|
+
"description": "text-dimmed"
|
|
68
|
+
},
|
|
69
|
+
"outline": {
|
|
70
|
+
"root": "bg-default ring ring-default",
|
|
71
|
+
"description": "text-muted"
|
|
72
|
+
},
|
|
73
|
+
"soft": {
|
|
74
|
+
"root": "bg-elevated/50",
|
|
75
|
+
"description": "text-toned"
|
|
76
|
+
},
|
|
77
|
+
"subtle": {
|
|
78
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
79
|
+
"description": "text-toned"
|
|
80
|
+
},
|
|
81
|
+
"ghost": {
|
|
82
|
+
"description": "text-muted"
|
|
83
|
+
},
|
|
84
|
+
"naked": {
|
|
85
|
+
"container": "p-0 sm:p-0",
|
|
86
|
+
"description": "text-muted"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"to": {
|
|
90
|
+
"true": {
|
|
91
|
+
"root": "transition"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"title": {
|
|
95
|
+
"true": {
|
|
96
|
+
"description": "mt-1"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"highlight": {
|
|
100
|
+
"true": {
|
|
101
|
+
"root": "ring-2"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"highlightColor": {
|
|
105
|
+
"primary": {},
|
|
106
|
+
"secondary": {},
|
|
107
|
+
"success": {},
|
|
108
|
+
"info": {},
|
|
109
|
+
"warning": {},
|
|
110
|
+
"error": {},
|
|
111
|
+
"neutral": {}
|
|
112
|
+
},
|
|
113
|
+
"spotlight": {
|
|
114
|
+
"true": {
|
|
115
|
+
"root": "[--spotlight-size:400px] before:absolute before:-inset-px before:pointer-events-none before:rounded-[inherit] before:bg-[radial-gradient(var(--spotlight-size)_var(--spotlight-size)_at_calc(var(--spotlight-x,0px))_calc(var(--spotlight-y,0px)),var(--spotlight-color),transparent_70%)]"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"spotlightColor": {
|
|
119
|
+
"primary": {},
|
|
120
|
+
"secondary": {},
|
|
121
|
+
"success": {},
|
|
122
|
+
"info": {},
|
|
123
|
+
"warning": {},
|
|
124
|
+
"error": {},
|
|
125
|
+
"neutral": {}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"compoundVariants": [
|
|
129
|
+
{
|
|
130
|
+
"variant": "solid" as typeof variant[number],
|
|
131
|
+
"to": true,
|
|
132
|
+
"class": {
|
|
133
|
+
"root": "hover:bg-inverted/90"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"variant": "outline" as typeof variant[number],
|
|
138
|
+
"to": true,
|
|
139
|
+
"class": {
|
|
140
|
+
"root": "hover:bg-elevated/50"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"variant": "soft" as typeof variant[number],
|
|
145
|
+
"to": true,
|
|
146
|
+
"class": {
|
|
147
|
+
"root": "hover:bg-elevated"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"variant": "subtle" as typeof variant[number],
|
|
152
|
+
"to": true,
|
|
153
|
+
"class": {
|
|
154
|
+
"root": "hover:bg-elevated"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"variant": "subtle" as typeof variant[number],
|
|
159
|
+
"to": true,
|
|
160
|
+
"highlight": false,
|
|
161
|
+
"class": {
|
|
162
|
+
"root": "hover:ring-accented"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"variant": "ghost" as typeof variant[number],
|
|
167
|
+
"to": true,
|
|
168
|
+
"class": {
|
|
169
|
+
"root": "hover:bg-elevated/50"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
174
|
+
"highlight": true,
|
|
175
|
+
"class": {
|
|
176
|
+
"root": "ring-primary"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"highlightColor": "secondary" as typeof highlightColor[number],
|
|
181
|
+
"highlight": true,
|
|
182
|
+
"class": {
|
|
183
|
+
"root": "ring-secondary"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"highlightColor": "success" as typeof highlightColor[number],
|
|
188
|
+
"highlight": true,
|
|
189
|
+
"class": {
|
|
190
|
+
"root": "ring-success"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"highlightColor": "info" as typeof highlightColor[number],
|
|
195
|
+
"highlight": true,
|
|
196
|
+
"class": {
|
|
197
|
+
"root": "ring-info"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"highlightColor": "warning" as typeof highlightColor[number],
|
|
202
|
+
"highlight": true,
|
|
203
|
+
"class": {
|
|
204
|
+
"root": "ring-warning"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"highlightColor": "error" as typeof highlightColor[number],
|
|
209
|
+
"highlight": true,
|
|
210
|
+
"class": {
|
|
211
|
+
"root": "ring-error"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"highlightColor": "neutral" as typeof highlightColor[number],
|
|
216
|
+
"highlight": true,
|
|
217
|
+
"class": {
|
|
218
|
+
"root": "ring-inverted"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"spotlightColor": "primary" as typeof spotlightColor[number],
|
|
223
|
+
"spotlight": true,
|
|
224
|
+
"class": {
|
|
225
|
+
"root": "[--spotlight-color:var(--ui-primary)]"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"spotlightColor": "secondary" as typeof spotlightColor[number],
|
|
230
|
+
"spotlight": true,
|
|
231
|
+
"class": {
|
|
232
|
+
"root": "[--spotlight-color:var(--ui-secondary)]"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"spotlightColor": "success" as typeof spotlightColor[number],
|
|
237
|
+
"spotlight": true,
|
|
238
|
+
"class": {
|
|
239
|
+
"root": "[--spotlight-color:var(--ui-success)]"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"spotlightColor": "info" as typeof spotlightColor[number],
|
|
244
|
+
"spotlight": true,
|
|
245
|
+
"class": {
|
|
246
|
+
"root": "[--spotlight-color:var(--ui-info)]"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"spotlightColor": "warning" as typeof spotlightColor[number],
|
|
251
|
+
"spotlight": true,
|
|
252
|
+
"class": {
|
|
253
|
+
"root": "[--spotlight-color:var(--ui-warning)]"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"spotlightColor": "error" as typeof spotlightColor[number],
|
|
258
|
+
"spotlight": true,
|
|
259
|
+
"class": {
|
|
260
|
+
"root": "[--spotlight-color:var(--ui-error)]"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"spotlightColor": "neutral" as typeof spotlightColor[number],
|
|
265
|
+
"spotlight": true,
|
|
266
|
+
"class": {
|
|
267
|
+
"root": "[--spotlight-color:var(--ui-bg-inverted)]"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"defaultVariants": {
|
|
272
|
+
"variant": "outline" as typeof variant[number],
|
|
273
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
274
|
+
"spotlightColor": "primary" as typeof spotlightColor[number]
|
|
275
|
+
}
|
|
276
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const variant = [
|
|
7
|
+
"solid",
|
|
8
|
+
"outline",
|
|
9
|
+
"soft",
|
|
10
|
+
"subtle",
|
|
11
|
+
"naked"
|
|
12
|
+
] as const
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
"slots": {
|
|
16
|
+
"root": "relative isolate rounded-xl overflow-hidden",
|
|
17
|
+
"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",
|
|
18
|
+
"wrapper": "",
|
|
19
|
+
"title": "text-3xl sm:text-4xl text-pretty tracking-tight font-bold text-highlighted",
|
|
20
|
+
"description": "text-base sm:text-lg text-muted",
|
|
21
|
+
"links": "mt-8 flex flex-wrap gap-x-6 gap-y-3"
|
|
22
|
+
},
|
|
23
|
+
"variants": {
|
|
24
|
+
"orientation": {
|
|
25
|
+
"horizontal": {
|
|
26
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
27
|
+
"description": "text-pretty"
|
|
28
|
+
},
|
|
29
|
+
"vertical": {
|
|
30
|
+
"container": "",
|
|
31
|
+
"title": "text-center",
|
|
32
|
+
"description": "text-center text-balance",
|
|
33
|
+
"links": "justify-center"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"reverse": {
|
|
37
|
+
"true": {
|
|
38
|
+
"wrapper": "lg:order-last"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"variant": {
|
|
42
|
+
"solid": {
|
|
43
|
+
"root": "bg-inverted text-inverted",
|
|
44
|
+
"title": "text-inverted",
|
|
45
|
+
"description": "text-dimmed"
|
|
46
|
+
},
|
|
47
|
+
"outline": {
|
|
48
|
+
"root": "bg-default ring ring-default",
|
|
49
|
+
"description": "text-muted"
|
|
50
|
+
},
|
|
51
|
+
"soft": {
|
|
52
|
+
"root": "bg-elevated/50",
|
|
53
|
+
"description": "text-toned"
|
|
54
|
+
},
|
|
55
|
+
"subtle": {
|
|
56
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
57
|
+
"description": "text-toned"
|
|
58
|
+
},
|
|
59
|
+
"naked": {
|
|
60
|
+
"description": "text-muted"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"title": {
|
|
64
|
+
"true": {
|
|
65
|
+
"description": "mt-6"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"defaultVariants": {
|
|
70
|
+
"variant": "outline" as typeof variant[number]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
"slots": {
|
|
8
|
+
"root": "relative",
|
|
9
|
+
"wrapper": "",
|
|
10
|
+
"leading": "inline-flex items-center justify-center",
|
|
11
|
+
"leadingIcon": "size-5 shrink-0 text-primary",
|
|
12
|
+
"title": "text-base text-pretty font-semibold text-highlighted",
|
|
13
|
+
"description": "text-[15px] text-pretty text-muted"
|
|
14
|
+
},
|
|
15
|
+
"variants": {
|
|
16
|
+
"orientation": {
|
|
17
|
+
"horizontal": {
|
|
18
|
+
"root": "flex items-start gap-2.5",
|
|
19
|
+
"leading": "p-0.5"
|
|
20
|
+
},
|
|
21
|
+
"vertical": {
|
|
22
|
+
"leading": "mb-2.5"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"title": {
|
|
26
|
+
"true": {
|
|
27
|
+
"description": "mt-1"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -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
|
+
}
|