@eslamdevui/ui 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/ui/alert.ts +5 -0
- package/.nuxt/ui/auth-form.ts +20 -0
- package/.nuxt/ui/badge.ts +5 -0
- package/.nuxt/ui/banner.ts +105 -0
- package/.nuxt/ui/blog-post.ts +140 -0
- package/.nuxt/ui/blog-posts.ts +14 -0
- package/.nuxt/ui/button-group.ts +13 -0
- package/.nuxt/ui/button.ts +5 -0
- package/.nuxt/ui/carousel.ts +5 -0
- package/.nuxt/ui/changelog-version.ts +41 -0
- package/.nuxt/ui/changelog-versions.ts +8 -0
- package/.nuxt/ui/chat-palette.ts +8 -0
- package/.nuxt/ui/content/content-navigation.ts +341 -0
- package/.nuxt/ui/content/content-search-button.ts +6 -0
- package/.nuxt/ui/content/content-search.ts +6 -0
- package/.nuxt/ui/content/content-surround.ts +39 -0
- package/.nuxt/ui/content/content-toc.ts +150 -0
- package/.nuxt/ui/content/index.ts +5 -0
- package/.nuxt/ui/content-navigation.ts +6 -4
- package/.nuxt/ui/content-surround.ts +5 -0
- package/.nuxt/ui/dashboard-navbar.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar.ts +10 -0
- package/.nuxt/ui/error.ts +9 -0
- package/.nuxt/ui/footer-columns.ts +28 -0
- package/.nuxt/ui/footer.ts +11 -0
- package/.nuxt/ui/header.ts +30 -0
- package/.nuxt/ui/index.ts +80 -2
- package/.nuxt/ui/input-menu.ts +9 -0
- package/.nuxt/ui/input-number.ts +5 -0
- package/.nuxt/ui/input-tags.ts +9 -0
- package/.nuxt/ui/input.ts +9 -0
- package/.nuxt/ui/main.ts +3 -0
- package/.nuxt/ui/page-accordion.ts +7 -0
- package/.nuxt/ui/page-anchors.ts +30 -0
- package/.nuxt/ui/page-aside.ts +10 -0
- package/.nuxt/ui/page-body.ts +3 -0
- package/.nuxt/ui/page-card.ts +276 -0
- package/.nuxt/ui/page-columns.ts +3 -0
- package/.nuxt/ui/page-cta.ts +72 -0
- package/.nuxt/ui/page-feature.ts +31 -0
- package/.nuxt/ui/page-grid.ts +3 -0
- package/.nuxt/ui/page-header.ts +18 -0
- package/.nuxt/ui/page-hero.ts +46 -0
- package/.nuxt/ui/page-links.ts +25 -0
- package/.nuxt/ui/page-list.ts +8 -0
- package/.nuxt/ui/page-logos.ts +15 -0
- package/.nuxt/ui/page-marquee.ts +66 -0
- package/.nuxt/ui/page-section.ts +88 -0
- package/.nuxt/ui/page.ts +32 -0
- package/.nuxt/ui/pricing-plan.ts +101 -0
- package/.nuxt/ui/pricing-plans.ts +27 -0
- package/.nuxt/ui/pricing-table.ts +51 -0
- package/.nuxt/ui/prose/a.ts +6 -0
- package/.nuxt/ui/prose/accordion-item.ts +3 -0
- package/.nuxt/ui/prose/accordion.ts +6 -0
- package/.nuxt/ui/prose/badge.ts +3 -0
- package/.nuxt/ui/prose/blockquote.ts +3 -0
- package/.nuxt/ui/prose/callout.ts +129 -0
- package/.nuxt/ui/prose/card-group.ts +3 -0
- package/.nuxt/ui/prose/card.ts +119 -0
- package/.nuxt/ui/prose/code-collapse.ts +19 -0
- package/.nuxt/ui/prose/code-group.ts +13 -0
- package/.nuxt/ui/prose/code-icon.ts +66 -0
- package/.nuxt/ui/prose/code-preview.ts +14 -0
- package/.nuxt/ui/prose/code-tree.ts +28 -0
- package/.nuxt/ui/prose/code.ts +27 -0
- package/.nuxt/ui/prose/collapsible.ts +12 -0
- package/.nuxt/ui/prose/em.ts +3 -0
- package/.nuxt/ui/prose/field-group.ts +3 -0
- package/.nuxt/ui/prose/field.ts +11 -0
- package/.nuxt/ui/prose/h1.ts +6 -0
- package/.nuxt/ui/prose/h2.ts +14 -0
- package/.nuxt/ui/prose/h3.ts +14 -0
- package/.nuxt/ui/prose/h4.ts +6 -0
- package/.nuxt/ui/prose/hr.ts +3 -0
- package/.nuxt/ui/prose/icon.ts +3 -0
- package/.nuxt/ui/prose/img.ts +3 -0
- package/.nuxt/ui/prose/index.ts +41 -0
- package/.nuxt/ui/prose/kbd.ts +3 -0
- package/.nuxt/ui/prose/li.ts +3 -0
- package/.nuxt/ui/prose/ol.ts +3 -0
- package/.nuxt/ui/prose/p.ts +3 -0
- package/.nuxt/ui/prose/pre.ts +17 -0
- package/.nuxt/ui/prose/steps.ts +19 -0
- package/.nuxt/ui/prose/strong.ts +3 -0
- package/.nuxt/ui/prose/table.ts +6 -0
- package/.nuxt/ui/prose/tabs-item.ts +3 -0
- package/.nuxt/ui/prose/tabs.ts +5 -0
- package/.nuxt/ui/prose/tbody.ts +3 -0
- package/.nuxt/ui/prose/td.ts +3 -0
- package/.nuxt/ui/prose/th.ts +3 -0
- package/.nuxt/ui/prose/thead.ts +3 -0
- package/.nuxt/ui/prose/tr.ts +3 -0
- package/.nuxt/ui/prose/ul.ts +3 -0
- package/.nuxt/ui/select-menu.ts +9 -0
- package/.nuxt/ui/select.ts +9 -0
- package/.nuxt/ui/textarea.ts +9 -0
- package/.nuxt/ui/toast.ts +5 -0
- package/.nuxt/ui/user.ts +106 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/AuthForm.vue +195 -0
- package/dist/runtime/components/AuthForm.vue.d.ts +85 -0
- package/dist/runtime/components/Banner.vue +113 -0
- package/dist/runtime/components/Banner.vue.d.ts +68 -0
- package/dist/runtime/components/BlogPost.vue +141 -0
- package/dist/runtime/components/BlogPost.vue.d.ts +59 -0
- package/dist/runtime/components/BlogPosts.vue +33 -0
- package/dist/runtime/components/BlogPosts.vue.d.ts +30 -0
- package/dist/runtime/components/ChangelogVersion.vue +165 -0
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +58 -0
- package/dist/runtime/components/ChangelogVersions.vue +54 -0
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +74 -0
- package/dist/runtime/components/ChatPalette.vue +32 -0
- package/dist/runtime/components/ChatPalette.vue.d.ts +24 -0
- package/dist/runtime/components/ChatPrompt.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue.d.ts +3 -3
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
- package/dist/runtime/components/Error.vue.d.ts +1 -1
- package/dist/runtime/components/Footer.vue +44 -0
- package/dist/runtime/components/Footer.vue.d.ts +29 -0
- package/dist/runtime/components/FooterColumns.vue +68 -0
- package/dist/runtime/components/FooterColumns.vue.d.ts +52 -0
- package/dist/runtime/components/Header.vue +137 -0
- package/dist/runtime/components/Header.vue.d.ts +72 -0
- package/dist/runtime/components/InputMenu.vue.d.ts +3 -3
- package/dist/runtime/components/Main.vue +23 -0
- package/dist/runtime/components/Main.vue.d.ts +20 -0
- package/dist/runtime/components/Page.vue +37 -0
- package/dist/runtime/components/Page.vue.d.ts +25 -0
- package/dist/runtime/components/PageAccordion.vue +26 -0
- package/dist/runtime/components/PageAccordion.vue.d.ts +21 -0
- package/dist/runtime/components/PageAnchors.vue +50 -0
- package/dist/runtime/components/PageAnchors.vue.d.ts +42 -0
- package/dist/runtime/components/PageAside.vue +36 -0
- package/dist/runtime/components/PageAside.vue.d.ts +27 -0
- package/dist/runtime/components/PageBody.vue +23 -0
- package/dist/runtime/components/PageBody.vue.d.ts +18 -0
- package/dist/runtime/components/PageCTA.vue +58 -0
- package/dist/runtime/components/PageCTA.vue.d.ts +49 -0
- package/dist/runtime/components/PageCard.vue +121 -0
- package/dist/runtime/components/PageCard.vue.d.ts +71 -0
- package/dist/runtime/components/PageColumns.vue +23 -0
- package/dist/runtime/components/PageColumns.vue.d.ts +18 -0
- package/dist/runtime/components/PageFeature.vue +71 -0
- package/dist/runtime/components/PageFeature.vue.d.ts +43 -0
- package/dist/runtime/components/PageGrid.vue +23 -0
- package/dist/runtime/components/PageGrid.vue.d.ts +18 -0
- package/dist/runtime/components/PageHeader.vue +58 -0
- package/dist/runtime/components/PageHeader.vue.d.ts +35 -0
- package/dist/runtime/components/PageHero.vue +67 -0
- package/dist/runtime/components/PageHero.vue.d.ts +49 -0
- package/dist/runtime/components/PageLinks.vue +55 -0
- package/dist/runtime/components/PageLinks.vue.d.ts +44 -0
- package/dist/runtime/components/PageList.vue +24 -0
- package/dist/runtime/components/PageList.vue.d.ts +21 -0
- package/dist/runtime/components/PageLogos.vue +64 -0
- package/dist/runtime/components/PageLogos.vue.d.ts +32 -0
- package/dist/runtime/components/PageMarquee.vue +40 -0
- package/dist/runtime/components/PageMarquee.vue.d.ts +30 -0
- package/dist/runtime/components/PageSection.vue +88 -0
- package/dist/runtime/components/PageSection.vue.d.ts +64 -0
- package/dist/runtime/components/PricingPlan.vue +129 -0
- package/dist/runtime/components/PricingPlan.vue.d.ts +109 -0
- package/dist/runtime/components/PricingPlans.vue +45 -0
- package/dist/runtime/components/PricingPlans.vue.d.ts +41 -0
- package/dist/runtime/components/PricingTable.vue +235 -0
- package/dist/runtime/components/PricingTable.vue.d.ts +98 -0
- package/dist/runtime/components/SelectMenu.vue.d.ts +3 -3
- package/dist/runtime/components/Tabs.vue +1 -0
- package/dist/runtime/components/User.vue +69 -0
- package/dist/runtime/components/User.vue.d.ts +46 -0
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +57 -11
- package/dist/runtime/components/content/ContentSurround.vue +2 -2
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +45 -52
- package/dist/runtime/components/content/ContentToc.vue +27 -15
- package/dist/runtime/components/content/ContentToc.vue.d.ts +79 -81
- package/dist/runtime/types/index.d.ts +33 -0
- package/dist/runtime/types/index.js +33 -0
- package/dist/shared/{ui.DQZ75GCP.mjs → ui.DErCA3YU.mjs} +1247 -50
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +1 -1
- package/.nuxt/ui/prose.ts +0 -321
|
@@ -0,0 +1,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'
|
|
@@ -37,21 +44,45 @@ export { default as dashboardSidebarCollapse } from './dashboard-sidebar-collaps
|
|
|
37
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'
|
|
47
|
+
export { default as error } from './error'
|
|
48
|
+
export { default as footer } from './footer'
|
|
49
|
+
export { default as footerColumns } from './footer-columns'
|
|
40
50
|
export { default as form } from './form'
|
|
41
51
|
export { default as formField } from './form-field'
|
|
52
|
+
export { default as header } from './header'
|
|
42
53
|
export { default as input } from './input'
|
|
43
54
|
export { default as inputMenu } from './input-menu'
|
|
44
55
|
export { default as inputNumber } from './input-number'
|
|
45
56
|
export { default as inputTags } from './input-tags'
|
|
46
57
|
export { default as kbd } from './kbd'
|
|
47
58
|
export { default as link } from './link'
|
|
59
|
+
export { default as main } from './main'
|
|
48
60
|
export { default as modal } from './modal'
|
|
49
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'
|
|
50
79
|
export { default as pagination } from './pagination'
|
|
51
80
|
export { default as pinInput } from './pin-input'
|
|
52
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'
|
|
53
85
|
export { default as progress } from './progress'
|
|
54
|
-
export { default as prose } from './prose'
|
|
55
86
|
export { default as radioGroup } from './radio-group'
|
|
56
87
|
export { default as select } from './select'
|
|
57
88
|
export { default as selectMenu } from './select-menu'
|
|
@@ -68,4 +99,51 @@ export { default as timeline } from './timeline'
|
|
|
68
99
|
export { default as toast } from './toast'
|
|
69
100
|
export { default as toaster } from './toaster'
|
|
70
101
|
export { default as tooltip } from './tooltip'
|
|
71
|
-
export { default as tree } from './tree'
|
|
102
|
+
export { default as tree } from './tree'
|
|
103
|
+
export { default as user } from './user'
|
|
104
|
+
export { default as contentNavigation } from './content/content-navigation'
|
|
105
|
+
export { default as contentSearch } from './content/content-search'
|
|
106
|
+
export { default as contentSearchButton } from './content/content-search-button'
|
|
107
|
+
export { default as contentSurround } from './content/content-surround'
|
|
108
|
+
export { default as contentToc } from './content/content-toc'
|
|
109
|
+
export { default as a } from './prose/a'
|
|
110
|
+
export { default as accordion } from './prose/accordion'
|
|
111
|
+
export { default as accordionItem } from './prose/accordion-item'
|
|
112
|
+
export { default as badge } from './prose/badge'
|
|
113
|
+
export { default as blockquote } from './prose/blockquote'
|
|
114
|
+
export { default as callout } from './prose/callout'
|
|
115
|
+
export { default as card } from './prose/card'
|
|
116
|
+
export { default as cardGroup } from './prose/card-group'
|
|
117
|
+
export { default as code } from './prose/code'
|
|
118
|
+
export { default as codeCollapse } from './prose/code-collapse'
|
|
119
|
+
export { default as codeGroup } from './prose/code-group'
|
|
120
|
+
export { default as codeIcon } from './prose/code-icon'
|
|
121
|
+
export { default as codePreview } from './prose/code-preview'
|
|
122
|
+
export { default as codeTree } from './prose/code-tree'
|
|
123
|
+
export { default as collapsible } from './prose/collapsible'
|
|
124
|
+
export { default as em } from './prose/em'
|
|
125
|
+
export { default as field } from './prose/field'
|
|
126
|
+
export { default as fieldGroup } from './prose/field-group'
|
|
127
|
+
export { default as h1 } from './prose/h1'
|
|
128
|
+
export { default as h2 } from './prose/h2'
|
|
129
|
+
export { default as h3 } from './prose/h3'
|
|
130
|
+
export { default as h4 } from './prose/h4'
|
|
131
|
+
export { default as hr } from './prose/hr'
|
|
132
|
+
export { default as icon } from './prose/icon'
|
|
133
|
+
export { default as img } from './prose/img'
|
|
134
|
+
export { default as kbd } from './prose/kbd'
|
|
135
|
+
export { default as li } from './prose/li'
|
|
136
|
+
export { default as ol } from './prose/ol'
|
|
137
|
+
export { default as p } from './prose/p'
|
|
138
|
+
export { default as pre } from './prose/pre'
|
|
139
|
+
export { default as steps } from './prose/steps'
|
|
140
|
+
export { default as strong } from './prose/strong'
|
|
141
|
+
export { default as table } from './prose/table'
|
|
142
|
+
export { default as tabs } from './prose/tabs'
|
|
143
|
+
export { default as tabsItem } from './prose/tabs-item'
|
|
144
|
+
export { default as tbody } from './prose/tbody'
|
|
145
|
+
export { default as td } from './prose/td'
|
|
146
|
+
export { default as th } from './prose/th'
|
|
147
|
+
export { default as thead } from './prose/thead'
|
|
148
|
+
export { default as tr } from './prose/tr'
|
|
149
|
+
export { default as ul } from './prose/ul'
|
package/.nuxt/ui/input-menu.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
1
6
|
const size = [
|
|
2
7
|
"xs",
|
|
3
8
|
"sm",
|
|
@@ -24,6 +29,10 @@ const color = [
|
|
|
24
29
|
"neutral"
|
|
25
30
|
] as const
|
|
26
31
|
|
|
32
|
+
const type = [
|
|
33
|
+
"file"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
27
36
|
export default {
|
|
28
37
|
"slots": {
|
|
29
38
|
"root": "relative inline-flex items-center",
|
package/.nuxt/ui/input-number.ts
CHANGED
package/.nuxt/ui/input-tags.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
1
6
|
const size = [
|
|
2
7
|
"xs",
|
|
3
8
|
"sm",
|
|
@@ -24,6 +29,10 @@ const color = [
|
|
|
24
29
|
"neutral"
|
|
25
30
|
] as const
|
|
26
31
|
|
|
32
|
+
const type = [
|
|
33
|
+
"file"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
27
36
|
export default {
|
|
28
37
|
"slots": {
|
|
29
38
|
"root": [
|
package/.nuxt/ui/input.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
1
6
|
const size = [
|
|
2
7
|
"xs",
|
|
3
8
|
"sm",
|
|
@@ -24,6 +29,10 @@ const color = [
|
|
|
24
29
|
"neutral"
|
|
25
30
|
] as const
|
|
26
31
|
|
|
32
|
+
const type = [
|
|
33
|
+
"file"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
27
36
|
export default {
|
|
28
37
|
"slots": {
|
|
29
38
|
"root": "relative inline-flex items-center",
|
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
|
+
}
|
|
@@ -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
|
+
}
|