@eslamdevui/ui 3.2.0-beta.2 → 3.2.0
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 +0 -5
- package/.nuxt/ui/badge.ts +0 -5
- package/.nuxt/ui/button-group.ts +0 -13
- package/.nuxt/ui/button.ts +0 -5
- package/.nuxt/ui/carousel.ts +0 -5
- package/.nuxt/ui/content-surround.ts +0 -5
- package/.nuxt/ui/dashboard-navbar.ts +0 -5
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -5
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -5
- package/.nuxt/ui/dashboard-sidebar.ts +0 -10
- package/.nuxt/ui/index.ts +1 -48
- package/.nuxt/ui/input-menu.ts +0 -9
- package/.nuxt/ui/input-number.ts +0 -5
- package/.nuxt/ui/input-tags.ts +0 -9
- package/.nuxt/ui/input.ts +0 -9
- package/.nuxt/ui/select-menu.ts +0 -9
- package/.nuxt/ui/select.ts +0 -9
- package/.nuxt/ui/textarea.ts +0 -9
- package/.nuxt/ui/toast.ts +0 -5
- 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 +1 -1
- 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/Avatar.vue +27 -27
- package/dist/runtime/components/AvatarGroup.vue +4 -4
- package/dist/runtime/components/Badge.vue +16 -16
- 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/ChatMessage.vue +35 -35
- package/dist/runtime/components/ChatMessages.vue +55 -55
- package/dist/runtime/components/ChatPrompt.vue +26 -26
- 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/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/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/Form.vue +8 -8
- package/dist/runtime/components/FormField.vue +37 -37
- 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/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/Modal.vue +69 -69
- package/dist/runtime/components/NavigationMenu.vue +166 -166
- package/dist/runtime/components/OverlayProvider.vue +9 -9
- 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/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/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 +37 -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/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 +12 -12
- package/dist/runtime/components/content/ContentSurround.vue +29 -29
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +59 -59
- package/dist/runtime/components/content/ContentToc.vue +68 -68
- package/dist/runtime/components/content/ContentToc.vue.d.ts +88 -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/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/package.json +1 -1
- package/vue-plugin.d.ts +5 -5
- package/.nuxt/ui/content/content-navigation.ts +0 -339
- package/.nuxt/ui/content/content-search-button.ts +0 -6
- package/.nuxt/ui/content/content-search.ts +0 -6
- package/.nuxt/ui/content/content-surround.ts +0 -39
- package/.nuxt/ui/content/content-toc.ts +0 -150
- package/.nuxt/ui/content/index.ts +0 -5
- package/.nuxt/ui/error.ts +0 -9
- package/.nuxt/ui/prose/a.ts +0 -6
- package/.nuxt/ui/prose/accordion-item.ts +0 -3
- package/.nuxt/ui/prose/accordion.ts +0 -6
- package/.nuxt/ui/prose/badge.ts +0 -3
- package/.nuxt/ui/prose/blockquote.ts +0 -3
- package/.nuxt/ui/prose/callout.ts +0 -129
- package/.nuxt/ui/prose/card-group.ts +0 -3
- package/.nuxt/ui/prose/card.ts +0 -119
- package/.nuxt/ui/prose/code-collapse.ts +0 -19
- package/.nuxt/ui/prose/code-group.ts +0 -13
- package/.nuxt/ui/prose/code-icon.ts +0 -66
- package/.nuxt/ui/prose/code-preview.ts +0 -14
- package/.nuxt/ui/prose/code-tree.ts +0 -28
- package/.nuxt/ui/prose/code.ts +0 -27
- package/.nuxt/ui/prose/collapsible.ts +0 -12
- package/.nuxt/ui/prose/em.ts +0 -3
- package/.nuxt/ui/prose/field-group.ts +0 -3
- package/.nuxt/ui/prose/field.ts +0 -11
- package/.nuxt/ui/prose/h1.ts +0 -6
- package/.nuxt/ui/prose/h2.ts +0 -14
- package/.nuxt/ui/prose/h3.ts +0 -14
- package/.nuxt/ui/prose/h4.ts +0 -6
- package/.nuxt/ui/prose/hr.ts +0 -3
- package/.nuxt/ui/prose/icon.ts +0 -3
- package/.nuxt/ui/prose/img.ts +0 -3
- package/.nuxt/ui/prose/index.ts +0 -41
- package/.nuxt/ui/prose/kbd.ts +0 -3
- package/.nuxt/ui/prose/li.ts +0 -3
- package/.nuxt/ui/prose/ol.ts +0 -3
- package/.nuxt/ui/prose/p.ts +0 -3
- package/.nuxt/ui/prose/pre.ts +0 -17
- package/.nuxt/ui/prose/steps.ts +0 -19
- package/.nuxt/ui/prose/strong.ts +0 -3
- package/.nuxt/ui/prose/table.ts +0 -6
- package/.nuxt/ui/prose/tabs-item.ts +0 -3
- package/.nuxt/ui/prose/tabs.ts +0 -5
- package/.nuxt/ui/prose/tbody.ts +0 -3
- package/.nuxt/ui/prose/td.ts +0 -3
- package/.nuxt/ui/prose/th.ts +0 -3
- package/.nuxt/ui/prose/thead.ts +0 -3
- package/.nuxt/ui/prose/tr.ts +0 -3
- package/.nuxt/ui/prose/ul.ts +0 -3
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"primary",
|
|
3
|
-
"secondary",
|
|
4
|
-
"success",
|
|
5
|
-
"info",
|
|
6
|
-
"warning",
|
|
7
|
-
"error",
|
|
8
|
-
"neutral"
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
const highlightColor = [
|
|
12
|
-
"primary",
|
|
13
|
-
"secondary",
|
|
14
|
-
"success",
|
|
15
|
-
"info",
|
|
16
|
-
"warning",
|
|
17
|
-
"error"
|
|
18
|
-
] as const
|
|
19
|
-
|
|
20
|
-
const variant = [
|
|
21
|
-
"pill",
|
|
22
|
-
"link"
|
|
23
|
-
] as const
|
|
24
|
-
|
|
25
|
-
export default {
|
|
26
|
-
"slots": {
|
|
27
|
-
"root": "",
|
|
28
|
-
"content": "data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",
|
|
29
|
-
"list": "isolate -mx-2.5 -mt-1.5",
|
|
30
|
-
"item": "",
|
|
31
|
-
"listWithChildren": "ms-5 border-s border-default",
|
|
32
|
-
"itemWithChildren": "flex flex-col data-[state=open]:mb-1.5",
|
|
33
|
-
"trigger": "font-semibold",
|
|
34
|
-
"link": "group relative w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
|
|
35
|
-
"linkLeadingIcon": "shrink-0 size-5",
|
|
36
|
-
"linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
37
|
-
"linkTrailingBadge": "shrink-0",
|
|
38
|
-
"linkTrailingBadgeSize": "sm",
|
|
39
|
-
"linkTrailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180",
|
|
40
|
-
"linkTitle": "truncate",
|
|
41
|
-
"linkTitleExternalIcon": "size-3 align-top text-dimmed"
|
|
42
|
-
},
|
|
43
|
-
"variants": {
|
|
44
|
-
"color": {
|
|
45
|
-
"primary": {
|
|
46
|
-
"trigger": "focus-visible:ring-primary",
|
|
47
|
-
"link": "focus-visible:before:ring-primary"
|
|
48
|
-
},
|
|
49
|
-
"secondary": {
|
|
50
|
-
"trigger": "focus-visible:ring-secondary",
|
|
51
|
-
"link": "focus-visible:before:ring-secondary"
|
|
52
|
-
},
|
|
53
|
-
"success": {
|
|
54
|
-
"trigger": "focus-visible:ring-success",
|
|
55
|
-
"link": "focus-visible:before:ring-success"
|
|
56
|
-
},
|
|
57
|
-
"info": {
|
|
58
|
-
"trigger": "focus-visible:ring-info",
|
|
59
|
-
"link": "focus-visible:before:ring-info"
|
|
60
|
-
},
|
|
61
|
-
"warning": {
|
|
62
|
-
"trigger": "focus-visible:ring-warning",
|
|
63
|
-
"link": "focus-visible:before:ring-warning"
|
|
64
|
-
},
|
|
65
|
-
"error": {
|
|
66
|
-
"trigger": "focus-visible:ring-error",
|
|
67
|
-
"link": "focus-visible:before:ring-error"
|
|
68
|
-
},
|
|
69
|
-
"neutral": {
|
|
70
|
-
"trigger": "focus-visible:ring-inverted",
|
|
71
|
-
"link": "focus-visible:before:ring-inverted"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"highlightColor": {
|
|
75
|
-
"primary": "",
|
|
76
|
-
"secondary": "",
|
|
77
|
-
"success": "",
|
|
78
|
-
"info": "",
|
|
79
|
-
"warning": "",
|
|
80
|
-
"error": ""
|
|
81
|
-
},
|
|
82
|
-
"variant": {
|
|
83
|
-
"pill": "",
|
|
84
|
-
"link": ""
|
|
85
|
-
},
|
|
86
|
-
"active": {
|
|
87
|
-
"true": {
|
|
88
|
-
"link": "font-medium"
|
|
89
|
-
},
|
|
90
|
-
"false": {
|
|
91
|
-
"link": "text-muted",
|
|
92
|
-
"linkLeadingIcon": "text-dimmed"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"disabled": {
|
|
96
|
-
"true": {
|
|
97
|
-
"link": "cursor-not-allowed opacity-75"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"highlight": {
|
|
101
|
-
"true": {}
|
|
102
|
-
},
|
|
103
|
-
"level": {
|
|
104
|
-
"true": {
|
|
105
|
-
"item": "ps-1.5 -ms-px",
|
|
106
|
-
"itemWithChildren": "ps-1.5 -ms-px"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"compoundVariants": [
|
|
111
|
-
{
|
|
112
|
-
"highlight": true,
|
|
113
|
-
"level": true,
|
|
114
|
-
"class": {
|
|
115
|
-
"link": [
|
|
116
|
-
"after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full",
|
|
117
|
-
"after:transition-colors"
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"disabled": false,
|
|
123
|
-
"active": false,
|
|
124
|
-
"variant": "pill" as typeof variant[number],
|
|
125
|
-
"class": {
|
|
126
|
-
"link": [
|
|
127
|
-
"hover:text-highlighted data-[state=open]:text-highlighted",
|
|
128
|
-
"transition-colors",
|
|
129
|
-
"hover:before:bg-elevated/50"
|
|
130
|
-
],
|
|
131
|
-
"linkLeadingIcon": [
|
|
132
|
-
"group-hover:text-default group-data-[state=open]:text-default",
|
|
133
|
-
"transition-colors"
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"disabled": false,
|
|
139
|
-
"active": false,
|
|
140
|
-
"variant": "link" as typeof variant[number],
|
|
141
|
-
"class": {
|
|
142
|
-
"link": [
|
|
143
|
-
"hover:text-highlighted data-[state=open]:text-highlighted",
|
|
144
|
-
"transition-colors"
|
|
145
|
-
],
|
|
146
|
-
"linkLeadingIcon": [
|
|
147
|
-
"group-hover:text-default group-data-[state=open]:text-default",
|
|
148
|
-
"transition-colors"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"color": "primary" as typeof color[number],
|
|
154
|
-
"variant": "pill" as typeof variant[number],
|
|
155
|
-
"active": true,
|
|
156
|
-
"class": {
|
|
157
|
-
"link": "text-primary",
|
|
158
|
-
"linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"color": "primary" as typeof color[number],
|
|
163
|
-
"variant": "link" as typeof variant[number],
|
|
164
|
-
"active": true,
|
|
165
|
-
"class": {
|
|
166
|
-
"link": "text-primary",
|
|
167
|
-
"linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"highlightColor": "primary" as typeof highlightColor[number],
|
|
172
|
-
"highlight": true,
|
|
173
|
-
"level": true,
|
|
174
|
-
"active": true,
|
|
175
|
-
"class": {
|
|
176
|
-
"link": "after:bg-primary"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"color": "secondary" as typeof color[number],
|
|
181
|
-
"variant": "pill" as typeof variant[number],
|
|
182
|
-
"active": true,
|
|
183
|
-
"class": {
|
|
184
|
-
"link": "text-secondary",
|
|
185
|
-
"linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"color": "secondary" as typeof color[number],
|
|
190
|
-
"variant": "link" as typeof variant[number],
|
|
191
|
-
"active": true,
|
|
192
|
-
"class": {
|
|
193
|
-
"link": "text-secondary",
|
|
194
|
-
"linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"highlightColor": "secondary" as typeof highlightColor[number],
|
|
199
|
-
"highlight": true,
|
|
200
|
-
"level": true,
|
|
201
|
-
"active": true,
|
|
202
|
-
"class": {
|
|
203
|
-
"link": "after:bg-secondary"
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"color": "success" as typeof color[number],
|
|
208
|
-
"variant": "pill" as typeof variant[number],
|
|
209
|
-
"active": true,
|
|
210
|
-
"class": {
|
|
211
|
-
"link": "text-success",
|
|
212
|
-
"linkLeadingIcon": "text-success group-data-[state=open]:text-success"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"color": "success" as typeof color[number],
|
|
217
|
-
"variant": "link" as typeof variant[number],
|
|
218
|
-
"active": true,
|
|
219
|
-
"class": {
|
|
220
|
-
"link": "text-success",
|
|
221
|
-
"linkLeadingIcon": "text-success group-data-[state=open]:text-success"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"highlightColor": "success" as typeof highlightColor[number],
|
|
226
|
-
"highlight": true,
|
|
227
|
-
"level": true,
|
|
228
|
-
"active": true,
|
|
229
|
-
"class": {
|
|
230
|
-
"link": "after:bg-success"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"color": "info" as typeof color[number],
|
|
235
|
-
"variant": "pill" as typeof variant[number],
|
|
236
|
-
"active": true,
|
|
237
|
-
"class": {
|
|
238
|
-
"link": "text-info",
|
|
239
|
-
"linkLeadingIcon": "text-info group-data-[state=open]:text-info"
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"color": "info" as typeof color[number],
|
|
244
|
-
"variant": "link" as typeof variant[number],
|
|
245
|
-
"active": true,
|
|
246
|
-
"class": {
|
|
247
|
-
"link": "text-info",
|
|
248
|
-
"linkLeadingIcon": "text-info group-data-[state=open]:text-info"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"highlightColor": "info" as typeof highlightColor[number],
|
|
253
|
-
"highlight": true,
|
|
254
|
-
"level": true,
|
|
255
|
-
"active": true,
|
|
256
|
-
"class": {
|
|
257
|
-
"link": "after:bg-info"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"color": "warning" as typeof color[number],
|
|
262
|
-
"variant": "pill" as typeof variant[number],
|
|
263
|
-
"active": true,
|
|
264
|
-
"class": {
|
|
265
|
-
"link": "text-warning",
|
|
266
|
-
"linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"color": "warning" as typeof color[number],
|
|
271
|
-
"variant": "link" as typeof variant[number],
|
|
272
|
-
"active": true,
|
|
273
|
-
"class": {
|
|
274
|
-
"link": "text-warning",
|
|
275
|
-
"linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"highlightColor": "warning" as typeof highlightColor[number],
|
|
280
|
-
"highlight": true,
|
|
281
|
-
"level": true,
|
|
282
|
-
"active": true,
|
|
283
|
-
"class": {
|
|
284
|
-
"link": "after:bg-warning"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"color": "error" as typeof color[number],
|
|
289
|
-
"variant": "pill" as typeof variant[number],
|
|
290
|
-
"active": true,
|
|
291
|
-
"class": {
|
|
292
|
-
"link": "text-error",
|
|
293
|
-
"linkLeadingIcon": "text-error group-data-[state=open]:text-error"
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"color": "error" as typeof color[number],
|
|
298
|
-
"variant": "link" as typeof variant[number],
|
|
299
|
-
"active": true,
|
|
300
|
-
"class": {
|
|
301
|
-
"link": "text-error",
|
|
302
|
-
"linkLeadingIcon": "text-error group-data-[state=open]:text-error"
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"highlightColor": "error" as typeof highlightColor[number],
|
|
307
|
-
"highlight": true,
|
|
308
|
-
"level": true,
|
|
309
|
-
"active": true,
|
|
310
|
-
"class": {
|
|
311
|
-
"link": "after:bg-error"
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"variant": "pill" as typeof variant[number],
|
|
316
|
-
"active": true,
|
|
317
|
-
"highlight": false,
|
|
318
|
-
"class": {
|
|
319
|
-
"link": "before:bg-elevated"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"variant": "pill" as typeof variant[number],
|
|
324
|
-
"active": true,
|
|
325
|
-
"highlight": true,
|
|
326
|
-
"class": {
|
|
327
|
-
"link": [
|
|
328
|
-
"hover:before:bg-elevated/50",
|
|
329
|
-
"before:transition-colors"
|
|
330
|
-
]
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
],
|
|
334
|
-
"defaultVariants": {
|
|
335
|
-
"color": "primary" as typeof color[number],
|
|
336
|
-
"highlightColor": "primary" as typeof highlightColor[number],
|
|
337
|
-
"variant": "pill" as typeof variant[number]
|
|
338
|
-
}
|
|
339
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
const direction = [
|
|
2
|
-
"left",
|
|
3
|
-
"right"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
|
-
export default {
|
|
7
|
-
"slots": {
|
|
8
|
-
"root": "grid grid-cols-1 sm:grid-cols-2 gap-8",
|
|
9
|
-
"link": [
|
|
10
|
-
"group block px-6 py-8 rounded-lg border border-default hover:bg-elevated/50 focus-visible:outline-primary",
|
|
11
|
-
"transition-colors"
|
|
12
|
-
],
|
|
13
|
-
"linkLeading": [
|
|
14
|
-
"inline-flex items-center rounded-full p-1.5 bg-elevated group-hover:bg-primary/10 ring ring-accented mb-4 group-hover:ring-primary/50",
|
|
15
|
-
"transition"
|
|
16
|
-
],
|
|
17
|
-
"linkLeadingIcon": [
|
|
18
|
-
"size-5 shrink-0 text-highlighted group-hover:text-primary",
|
|
19
|
-
"transition-[color,translate]"
|
|
20
|
-
],
|
|
21
|
-
"linkTitle": "font-medium text-[15px] text-highlighted mb-1 truncate",
|
|
22
|
-
"linkDescription": "text-sm text-muted line-clamp-2"
|
|
23
|
-
},
|
|
24
|
-
"variants": {
|
|
25
|
-
"direction": {
|
|
26
|
-
"left": {
|
|
27
|
-
"linkLeadingIcon": [
|
|
28
|
-
"group-active:-translate-x-0.5"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"right": {
|
|
32
|
-
"link": "text-right",
|
|
33
|
-
"linkLeadingIcon": [
|
|
34
|
-
"group-active:translate-x-0.5"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"primary",
|
|
3
|
-
"secondary",
|
|
4
|
-
"success",
|
|
5
|
-
"info",
|
|
6
|
-
"warning",
|
|
7
|
-
"error",
|
|
8
|
-
"neutral"
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
const highlightColor = [
|
|
12
|
-
"primary",
|
|
13
|
-
"secondary",
|
|
14
|
-
"success",
|
|
15
|
-
"info",
|
|
16
|
-
"warning",
|
|
17
|
-
"error",
|
|
18
|
-
"neutral"
|
|
19
|
-
] as const
|
|
20
|
-
|
|
21
|
-
export default {
|
|
22
|
-
"slots": {
|
|
23
|
-
"root": "sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]",
|
|
24
|
-
"container": "pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col",
|
|
25
|
-
"top": "",
|
|
26
|
-
"bottom": "mt-6 hidden lg:flex lg:flex-col gap-6",
|
|
27
|
-
"trigger": "group text-sm font-semibold flex-1 flex items-center gap-1.5 py-1.5 -mt-1.5 focus-visible:outline-primary",
|
|
28
|
-
"title": "truncate",
|
|
29
|
-
"trailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
30
|
-
"trailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180 lg:hidden",
|
|
31
|
-
"content": "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden focus:outline-none",
|
|
32
|
-
"list": "min-w-0",
|
|
33
|
-
"listWithChildren": "ms-3",
|
|
34
|
-
"item": "min-w-0",
|
|
35
|
-
"itemWithChildren": "",
|
|
36
|
-
"link": "group relative text-sm flex items-center focus-visible:outline-primary py-1",
|
|
37
|
-
"linkText": "truncate",
|
|
38
|
-
"indicator": "absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full"
|
|
39
|
-
},
|
|
40
|
-
"variants": {
|
|
41
|
-
"color": {
|
|
42
|
-
"primary": "",
|
|
43
|
-
"secondary": "",
|
|
44
|
-
"success": "",
|
|
45
|
-
"info": "",
|
|
46
|
-
"warning": "",
|
|
47
|
-
"error": "",
|
|
48
|
-
"neutral": ""
|
|
49
|
-
},
|
|
50
|
-
"highlightColor": {
|
|
51
|
-
"primary": {
|
|
52
|
-
"indicator": "bg-primary"
|
|
53
|
-
},
|
|
54
|
-
"secondary": {
|
|
55
|
-
"indicator": "bg-secondary"
|
|
56
|
-
},
|
|
57
|
-
"success": {
|
|
58
|
-
"indicator": "bg-success"
|
|
59
|
-
},
|
|
60
|
-
"info": {
|
|
61
|
-
"indicator": "bg-info"
|
|
62
|
-
},
|
|
63
|
-
"warning": {
|
|
64
|
-
"indicator": "bg-warning"
|
|
65
|
-
},
|
|
66
|
-
"error": {
|
|
67
|
-
"indicator": "bg-error"
|
|
68
|
-
},
|
|
69
|
-
"neutral": {
|
|
70
|
-
"indicator": "bg-inverted"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"active": {
|
|
74
|
-
"false": {
|
|
75
|
-
"link": [
|
|
76
|
-
"text-muted hover:text-default",
|
|
77
|
-
"transition-colors"
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"highlight": {
|
|
82
|
-
"true": {
|
|
83
|
-
"list": "ms-2.5 ps-4 border-s border-default",
|
|
84
|
-
"item": "-ms-px"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"compoundVariants": [
|
|
89
|
-
{
|
|
90
|
-
"color": "primary" as typeof color[number],
|
|
91
|
-
"active": true,
|
|
92
|
-
"class": {
|
|
93
|
-
"link": "text-primary",
|
|
94
|
-
"linkText": "text-primary"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"color": "secondary" as typeof color[number],
|
|
99
|
-
"active": true,
|
|
100
|
-
"class": {
|
|
101
|
-
"link": "text-secondary",
|
|
102
|
-
"linkText": "text-secondary"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"color": "success" as typeof color[number],
|
|
107
|
-
"active": true,
|
|
108
|
-
"class": {
|
|
109
|
-
"link": "text-success",
|
|
110
|
-
"linkText": "text-success"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"color": "info" as typeof color[number],
|
|
115
|
-
"active": true,
|
|
116
|
-
"class": {
|
|
117
|
-
"link": "text-info",
|
|
118
|
-
"linkText": "text-info"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"color": "warning" as typeof color[number],
|
|
123
|
-
"active": true,
|
|
124
|
-
"class": {
|
|
125
|
-
"link": "text-warning",
|
|
126
|
-
"linkText": "text-warning"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"color": "error" as typeof color[number],
|
|
131
|
-
"active": true,
|
|
132
|
-
"class": {
|
|
133
|
-
"link": "text-error",
|
|
134
|
-
"linkText": "text-error"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"color": "neutral" as typeof color[number],
|
|
139
|
-
"active": true,
|
|
140
|
-
"class": {
|
|
141
|
-
"link": "text-highlighted",
|
|
142
|
-
"linkLeadingIcon": "text-highlighted"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"defaultVariants": {
|
|
147
|
-
"color": "primary" as typeof color[number],
|
|
148
|
-
"highlightColor": "primary" as typeof highlightColor[number]
|
|
149
|
-
}
|
|
150
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as contentNavigation } from './content-navigation'
|
|
2
|
-
export { default as contentSearch } from './content-search'
|
|
3
|
-
export { default as contentSearchButton } from './content-search-button'
|
|
4
|
-
export { default as contentSurround } from './content-surround'
|
|
5
|
-
export { default as contentToc } from './content-toc'
|
package/.nuxt/ui/error.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"root": "min-h-[calc(100vh-var(--ui-header-height))] flex flex-col items-center justify-center text-center",
|
|
4
|
-
"statusCode": "text-base font-semibold text-primary",
|
|
5
|
-
"statusMessage": "mt-2 text-4xl sm:text-5xl font-bold text-highlighted text-balance",
|
|
6
|
-
"message": "mt-4 text-lg text-muted text-balance",
|
|
7
|
-
"links": "mt-8 flex items-center justify-center gap-6"
|
|
8
|
-
}
|
|
9
|
-
}
|
package/.nuxt/ui/prose/a.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"base": [
|
|
3
|
-
"text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary",
|
|
4
|
-
"transition-colors [&>code]:transition-colors"
|
|
5
|
-
]
|
|
6
|
-
}
|
package/.nuxt/ui/prose/badge.ts
DELETED