@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,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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -14,7 +14,8 @@ const highlightColor = [
|
|
|
14
14
|
"success",
|
|
15
15
|
"info",
|
|
16
16
|
"warning",
|
|
17
|
-
"error"
|
|
17
|
+
"error",
|
|
18
|
+
"neutral"
|
|
18
19
|
] as const
|
|
19
20
|
|
|
20
21
|
const variant = [
|
|
@@ -77,7 +78,8 @@ export default {
|
|
|
77
78
|
"success": "",
|
|
78
79
|
"info": "",
|
|
79
80
|
"warning": "",
|
|
80
|
-
"error": ""
|
|
81
|
+
"error": "",
|
|
82
|
+
"neutral": ""
|
|
81
83
|
},
|
|
82
84
|
"variant": {
|
|
83
85
|
"pill": "",
|
|
@@ -130,7 +132,7 @@ export default {
|
|
|
130
132
|
],
|
|
131
133
|
"linkLeadingIcon": [
|
|
132
134
|
"group-hover:text-default group-data-[state=open]:text-default",
|
|
133
|
-
"transition-colors"
|
|
135
|
+
"transition-colors before:transition-colors"
|
|
134
136
|
]
|
|
135
137
|
}
|
|
136
138
|
},
|
|
@@ -145,7 +147,7 @@ export default {
|
|
|
145
147
|
],
|
|
146
148
|
"linkLeadingIcon": [
|
|
147
149
|
"group-hover:text-default group-data-[state=open]:text-default",
|
|
148
|
-
"transition-colors"
|
|
150
|
+
"transition-colors before:transition-colors"
|
|
149
151
|
]
|
|
150
152
|
}
|
|
151
153
|
},
|
|
@@ -14,7 +14,8 @@ const highlightColor = [
|
|
|
14
14
|
"success",
|
|
15
15
|
"info",
|
|
16
16
|
"warning",
|
|
17
|
-
"error"
|
|
17
|
+
"error",
|
|
18
|
+
"neutral"
|
|
18
19
|
] as const
|
|
19
20
|
|
|
20
21
|
const variant = [
|
|
@@ -77,7 +78,8 @@ export default {
|
|
|
77
78
|
"success": "",
|
|
78
79
|
"info": "",
|
|
79
80
|
"warning": "",
|
|
80
|
-
"error": ""
|
|
81
|
+
"error": "",
|
|
82
|
+
"neutral": ""
|
|
81
83
|
},
|
|
82
84
|
"variant": {
|
|
83
85
|
"pill": "",
|
|
@@ -130,7 +132,7 @@ export default {
|
|
|
130
132
|
],
|
|
131
133
|
"linkLeadingIcon": [
|
|
132
134
|
"group-hover:text-default group-data-[state=open]:text-default",
|
|
133
|
-
"transition-colors"
|
|
135
|
+
"transition-colors before:transition-colors"
|
|
134
136
|
]
|
|
135
137
|
}
|
|
136
138
|
},
|
|
@@ -145,7 +147,7 @@ export default {
|
|
|
145
147
|
],
|
|
146
148
|
"linkLeadingIcon": [
|
|
147
149
|
"group-hover:text-default group-data-[state=open]:text-default",
|
|
148
|
-
"transition-colors"
|
|
150
|
+
"transition-colors before:transition-colors"
|
|
149
151
|
]
|
|
150
152
|
}
|
|
151
153
|
},
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "xl:grid xl:grid-cols-3 xl:gap-8",
|
|
4
|
+
"left": "mb-10 xl:mb-0",
|
|
5
|
+
"center": "flex flex-col lg:grid grid-flow-col auto-cols-fr gap-8 xl:col-span-2",
|
|
6
|
+
"right": "mt-10 xl:mt-0",
|
|
7
|
+
"label": "text-sm font-semibold",
|
|
8
|
+
"list": "mt-6 space-y-4",
|
|
9
|
+
"item": "relative",
|
|
10
|
+
"link": "group text-sm flex items-center gap-1.5 focus-visible:outline-primary",
|
|
11
|
+
"linkLeadingIcon": "size-5 shrink-0",
|
|
12
|
+
"linkLabel": "truncate",
|
|
13
|
+
"linkLabelExternalIcon": "size-3 absolute top-0 text-dimmed inline-block"
|
|
14
|
+
},
|
|
15
|
+
"variants": {
|
|
16
|
+
"active": {
|
|
17
|
+
"true": {
|
|
18
|
+
"link": "text-primary font-medium"
|
|
19
|
+
},
|
|
20
|
+
"false": {
|
|
21
|
+
"link": [
|
|
22
|
+
"text-muted hover:text-default",
|
|
23
|
+
"transition-colors"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "",
|
|
4
|
+
"top": "py-8 lg:py-12",
|
|
5
|
+
"bottom": "py-8 lg:py-12",
|
|
6
|
+
"container": "py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",
|
|
7
|
+
"left": "flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",
|
|
8
|
+
"center": "mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",
|
|
9
|
+
"right": "lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const toggleSide = [
|
|
2
|
+
"left",
|
|
3
|
+
"right"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
"slots": {
|
|
8
|
+
"root": "bg-default/75 backdrop-blur border-b border-default h-(--ui-header-height) sticky top-0 z-50",
|
|
9
|
+
"container": "flex items-center justify-between gap-3 h-full",
|
|
10
|
+
"left": "lg:flex-1 flex items-center gap-1.5",
|
|
11
|
+
"center": "hidden lg:flex",
|
|
12
|
+
"right": "flex items-center justify-end lg:flex-1 gap-1.5",
|
|
13
|
+
"title": "shrink-0 font-bold text-xl text-highlighted flex items-end gap-1.5",
|
|
14
|
+
"toggle": "lg:hidden",
|
|
15
|
+
"content": "lg:hidden",
|
|
16
|
+
"overlay": "lg:hidden",
|
|
17
|
+
"header": "px-4 sm:px-6 h-(--ui-header-height) shrink-0 flex items-center justify-between gap-3",
|
|
18
|
+
"body": "p-4 sm:p-6 overflow-y-auto"
|
|
19
|
+
},
|
|
20
|
+
"variants": {
|
|
21
|
+
"toggleSide": {
|
|
22
|
+
"left": {
|
|
23
|
+
"toggle": "-ms-1.5"
|
|
24
|
+
},
|
|
25
|
+
"right": {
|
|
26
|
+
"toggle": "-me-1.5"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/.nuxt/ui/index.ts
CHANGED
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
export { default as accordion } from './accordion'
|
|
2
2
|
export { default as alert } from './alert'
|
|
3
|
+
export { default as authForm } from './auth-form'
|
|
3
4
|
export { default as avatar } from './avatar'
|
|
4
5
|
export { default as avatarGroup } from './avatar-group'
|
|
5
6
|
export { default as badge } from './badge'
|
|
7
|
+
export { default as banner } from './banner'
|
|
8
|
+
export { default as blogPost } from './blog-post'
|
|
9
|
+
export { default as blogPosts } from './blog-posts'
|
|
6
10
|
export { default as breadcrumb } from './breadcrumb'
|
|
7
11
|
export { default as button } from './button'
|
|
8
12
|
export { default as buttonGroup } from './button-group'
|
|
9
13
|
export { default as calendar } from './calendar'
|
|
10
14
|
export { default as card } from './card'
|
|
11
15
|
export { default as carousel } from './carousel'
|
|
16
|
+
export { default as changelogVersion } from './changelog-version'
|
|
17
|
+
export { default as changelogVersions } from './changelog-versions'
|
|
12
18
|
export { default as chatMessage } from './chat-message'
|
|
13
19
|
export { default as chatMessages } from './chat-messages'
|
|
20
|
+
export { default as chatPalette } from './chat-palette'
|
|
14
21
|
export { default as chatPrompt } from './chat-prompt'
|
|
15
22
|
export { default as chatPromptSubmit } from './chat-prompt-submit'
|
|
16
23
|
export { default as checkbox } from './checkbox'
|
|
@@ -38,21 +45,44 @@ export { default as dashboardSidebarToggle } from './dashboard-sidebar-toggle'
|
|
|
38
45
|
export { default as drawer } from './drawer'
|
|
39
46
|
export { default as dropdownMenu } from './dropdown-menu'
|
|
40
47
|
export { default as error } from './error'
|
|
48
|
+
export { default as footer } from './footer'
|
|
49
|
+
export { default as footerColumns } from './footer-columns'
|
|
41
50
|
export { default as form } from './form'
|
|
42
51
|
export { default as formField } from './form-field'
|
|
52
|
+
export { default as header } from './header'
|
|
43
53
|
export { default as input } from './input'
|
|
44
54
|
export { default as inputMenu } from './input-menu'
|
|
45
55
|
export { default as inputNumber } from './input-number'
|
|
46
56
|
export { default as inputTags } from './input-tags'
|
|
47
57
|
export { default as kbd } from './kbd'
|
|
48
58
|
export { default as link } from './link'
|
|
59
|
+
export { default as main } from './main'
|
|
49
60
|
export { default as modal } from './modal'
|
|
50
61
|
export { default as navigationMenu } from './navigation-menu'
|
|
62
|
+
export { default as page } from './page'
|
|
63
|
+
export { default as pageAccordion } from './page-accordion'
|
|
64
|
+
export { default as pageAnchors } from './page-anchors'
|
|
65
|
+
export { default as pageAside } from './page-aside'
|
|
66
|
+
export { default as pageBody } from './page-body'
|
|
67
|
+
export { default as pageCard } from './page-card'
|
|
68
|
+
export { default as pageColumns } from './page-columns'
|
|
69
|
+
export { default as pageCta } from './page-cta'
|
|
70
|
+
export { default as pageFeature } from './page-feature'
|
|
71
|
+
export { default as pageGrid } from './page-grid'
|
|
72
|
+
export { default as pageHeader } from './page-header'
|
|
73
|
+
export { default as pageHero } from './page-hero'
|
|
74
|
+
export { default as pageLinks } from './page-links'
|
|
75
|
+
export { default as pageList } from './page-list'
|
|
76
|
+
export { default as pageLogos } from './page-logos'
|
|
77
|
+
export { default as pageMarquee } from './page-marquee'
|
|
78
|
+
export { default as pageSection } from './page-section'
|
|
51
79
|
export { default as pagination } from './pagination'
|
|
52
80
|
export { default as pinInput } from './pin-input'
|
|
53
81
|
export { default as popover } from './popover'
|
|
82
|
+
export { default as pricingPlan } from './pricing-plan'
|
|
83
|
+
export { default as pricingPlans } from './pricing-plans'
|
|
84
|
+
export { default as pricingTable } from './pricing-table'
|
|
54
85
|
export { default as progress } from './progress'
|
|
55
|
-
export { default as prose } from './prose'
|
|
56
86
|
export { default as radioGroup } from './radio-group'
|
|
57
87
|
export { default as select } from './select'
|
|
58
88
|
export { default as selectMenu } from './select-menu'
|
|
@@ -70,6 +100,7 @@ export { default as toast } from './toast'
|
|
|
70
100
|
export { default as toaster } from './toaster'
|
|
71
101
|
export { default as tooltip } from './tooltip'
|
|
72
102
|
export { default as tree } from './tree'
|
|
103
|
+
export { default as user } from './user'
|
|
73
104
|
export { default as contentNavigation } from './content/content-navigation'
|
|
74
105
|
export { default as contentSearch } from './content/content-search'
|
|
75
106
|
export { default as contentSearchButton } from './content/content-search-button'
|
package/.nuxt/ui/main.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "",
|
|
4
|
+
"list": "",
|
|
5
|
+
"item": "relative",
|
|
6
|
+
"link": "group text-sm flex items-center gap-1.5 py-1 focus-visible:outline-primary",
|
|
7
|
+
"linkLeading": "rounded-md p-1 inline-flex ring-inset ring",
|
|
8
|
+
"linkLeadingIcon": "size-4 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-semibold",
|
|
16
|
+
"linkLeading": "bg-primary ring-primary text-inverted"
|
|
17
|
+
},
|
|
18
|
+
"false": {
|
|
19
|
+
"link": [
|
|
20
|
+
"text-muted hover:text-default font-medium",
|
|
21
|
+
"transition-colors"
|
|
22
|
+
],
|
|
23
|
+
"linkLeading": [
|
|
24
|
+
"bg-elevated/50 ring-accented text-dimmed group-hover:bg-primary group-hover:ring-primary group-hover:text-inverted",
|
|
25
|
+
"transition"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--ui-header-height))] lg:sticky lg:top-(--ui-header-height) py-8 lg:ps-4 lg:-ms-4 lg:pe-6.5",
|
|
4
|
+
"container": "relative",
|
|
5
|
+
"top": "sticky -top-8 -mt-8 pointer-events-none z-[1]",
|
|
6
|
+
"topHeader": "h-8 bg-default -mx-4 px-4",
|
|
7
|
+
"topBody": "bg-default relative pointer-events-auto flex flex-col -mx-4 px-4",
|
|
8
|
+
"topFooter": "h-8 bg-gradient-to-b from-default -mx-4 px-4"
|
|
9
|
+
}
|
|
10
|
+
}
|