@nuxt/ui 3.1.0 → 3.1.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/accordion.ts +2 -23
- package/.nuxt/ui/alert.ts +2 -23
- package/.nuxt/ui/avatar-group.ts +2 -23
- package/.nuxt/ui/avatar.ts +2 -23
- package/.nuxt/ui/badge.ts +2 -23
- package/.nuxt/ui/breadcrumb.ts +2 -23
- package/.nuxt/ui/button-group.ts +2 -23
- package/.nuxt/ui/button.ts +2 -23
- package/.nuxt/ui/calendar.ts +3 -24
- package/.nuxt/ui/card.ts +2 -23
- package/.nuxt/ui/carousel.ts +2 -23
- package/.nuxt/ui/checkbox-group.ts +2 -23
- package/.nuxt/ui/checkbox.ts +2 -23
- package/.nuxt/ui/chip.ts +2 -23
- package/.nuxt/ui/collapsible.ts +2 -23
- package/.nuxt/ui/color-picker.ts +2 -23
- package/.nuxt/ui/command-palette.ts +2 -23
- package/.nuxt/ui/container.ts +2 -23
- package/.nuxt/ui/context-menu.ts +2 -23
- package/.nuxt/ui/drawer.ts +2 -23
- package/.nuxt/ui/dropdown-menu.ts +2 -23
- package/.nuxt/ui/form-field.ts +2 -23
- package/.nuxt/ui/form.ts +2 -23
- package/.nuxt/ui/input-menu.ts +2 -23
- package/.nuxt/ui/input-number.ts +2 -23
- package/.nuxt/ui/input.ts +2 -23
- package/.nuxt/ui/kbd.ts +2 -23
- package/.nuxt/ui/link.ts +2 -23
- package/.nuxt/ui/modal.ts +2 -23
- package/.nuxt/ui/navigation-menu.ts +3 -24
- package/.nuxt/ui/pagination.ts +2 -23
- package/.nuxt/ui/pin-input.ts +2 -23
- package/.nuxt/ui/popover.ts +2 -23
- package/.nuxt/ui/progress.ts +2 -23
- package/.nuxt/ui/radio-group.ts +2 -23
- package/.nuxt/ui/select-menu.ts +2 -23
- package/.nuxt/ui/select.ts +2 -23
- package/.nuxt/ui/separator.ts +2 -23
- package/.nuxt/ui/skeleton.ts +2 -23
- package/.nuxt/ui/slideover.ts +2 -23
- package/.nuxt/ui/slider.ts +2 -23
- package/.nuxt/ui/stepper.ts +2 -23
- package/.nuxt/ui/switch.ts +2 -23
- package/.nuxt/ui/table.ts +2 -23
- package/.nuxt/ui/tabs.ts +2 -23
- package/.nuxt/ui/textarea.ts +2 -23
- package/.nuxt/ui/toast.ts +2 -23
- package/.nuxt/ui/toaster.ts +2 -23
- package/.nuxt/ui/tooltip.ts +2 -23
- package/.nuxt/ui/tree.ts +2 -23
- package/.nuxt/ui.css +15 -8
- package/README.md +4 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/dist/runtime/components/Accordion.vue.d.ts +4 -20
- package/dist/runtime/components/Alert.vue.d.ts +7 -22
- package/dist/runtime/components/App.vue.d.ts +2 -2
- package/dist/runtime/components/Avatar.vue.d.ts +4 -25
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
- package/dist/runtime/components/Badge.vue.d.ts +3 -24
- package/dist/runtime/components/Breadcrumb.vue.d.ts +2 -20
- package/dist/runtime/components/Button.vue.d.ts +3 -28
- package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
- package/dist/runtime/components/Calendar.vue.d.ts +6 -2
- package/dist/runtime/components/Card.vue.d.ts +2 -11
- package/dist/runtime/components/Carousel.vue.d.ts +4 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +5 -2
- package/dist/runtime/components/Chip.vue.d.ts +10 -24
- package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
- package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
- package/dist/runtime/components/CommandPalette.vue.d.ts +15 -27
- package/dist/runtime/components/Container.vue.d.ts +2 -11
- package/dist/runtime/components/ContextMenu.vue.d.ts +4 -24
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
- package/dist/runtime/components/Drawer.vue.d.ts +17 -27
- package/dist/runtime/components/DropdownMenu.vue.d.ts +4 -28
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
- package/dist/runtime/components/Form.vue.d.ts +5 -2
- package/dist/runtime/components/FormField.vue.d.ts +2 -11
- package/dist/runtime/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/components/Input.vue.d.ts +16 -31
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -5
- package/dist/runtime/components/InputNumber.vue.d.ts +12 -23
- package/dist/runtime/components/Kbd.vue.d.ts +3 -24
- package/dist/runtime/components/Link.vue.d.ts +3 -34
- package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
- package/dist/runtime/components/Modal.vue.d.ts +12 -28
- package/dist/runtime/components/NavigationMenu.vue.d.ts +4 -24
- package/dist/runtime/components/Pagination.vue.d.ts +9 -33
- package/dist/runtime/components/PinInput.vue.d.ts +13 -24
- package/dist/runtime/components/Popover.vue.d.ts +9 -26
- package/dist/runtime/components/Progress.vue.d.ts +10 -41
- package/dist/runtime/components/RadioGroup.vue.d.ts +6 -3
- package/dist/runtime/components/Select.vue.d.ts +8 -2
- package/dist/runtime/components/SelectMenu.vue.d.ts +17 -5
- package/dist/runtime/components/Separator.vue.d.ts +3 -24
- package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
- package/dist/runtime/components/Slideover.vue.d.ts +12 -29
- package/dist/runtime/components/Slider.vue.d.ts +12 -31
- package/dist/runtime/components/Stepper.vue.d.ts +8 -14
- package/dist/runtime/components/Switch.vue.d.ts +10 -13
- package/dist/runtime/components/Table.vue.d.ts +17 -17
- package/dist/runtime/components/Tabs.vue.d.ts +4 -20
- package/dist/runtime/components/Textarea.vue.d.ts +16 -33
- package/dist/runtime/components/Toast.vue.d.ts +86 -24
- package/dist/runtime/components/Toaster.vue.d.ts +3 -28
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
- package/dist/runtime/components/Tree.vue.d.ts +5 -22
- package/dist/runtime/composables/defineShortcuts.js +6 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +1 -1
- package/dist/runtime/composables/useKbd.d.ts +1 -0
- package/dist/runtime/composables/useKbd.js +4 -3
- package/dist/runtime/composables/useOverlay.d.ts +9 -10
- package/dist/runtime/composables/useOverlay.js +11 -6
- package/dist/runtime/inertia/components/Link.vue.d.ts +3 -32
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +2 -52
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
- package/dist/shared/{ui.D7lOOabO.mjs → ui.CbtTMMzt.mjs} +17 -11
- package/dist/unplugin.d.mts +2 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +14 -13
package/.nuxt/ui/select.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/select"
|
|
2
|
-
|
|
3
1
|
const buttonGroup = [
|
|
4
2
|
"horizontal",
|
|
5
3
|
"vertical"
|
|
@@ -35,24 +33,7 @@ const type = [
|
|
|
35
33
|
"file"
|
|
36
34
|
] as const
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
"prefix": "U",
|
|
40
|
-
"fonts": true,
|
|
41
|
-
"colorMode": true,
|
|
42
|
-
"theme": {
|
|
43
|
-
"colors": [
|
|
44
|
-
"primary",
|
|
45
|
-
"secondary",
|
|
46
|
-
"success",
|
|
47
|
-
"info",
|
|
48
|
-
"warning",
|
|
49
|
-
"error"
|
|
50
|
-
],
|
|
51
|
-
"transitions": true
|
|
52
|
-
}
|
|
53
|
-
}) : template
|
|
54
|
-
|
|
55
|
-
const theme = {
|
|
36
|
+
export default {
|
|
56
37
|
"slots": {
|
|
57
38
|
"base": [
|
|
58
39
|
"relative group rounded-md inline-flex items-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
|
|
@@ -366,6 +347,4 @@ const theme = {
|
|
|
366
347
|
"color": "primary" as typeof color[number],
|
|
367
348
|
"variant": "outline" as typeof variant[number]
|
|
368
349
|
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
export default result as typeof theme
|
|
350
|
+
}
|
package/.nuxt/ui/separator.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/separator"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -29,24 +27,7 @@ const type = [
|
|
|
29
27
|
"dotted"
|
|
30
28
|
] as const
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
"prefix": "U",
|
|
34
|
-
"fonts": true,
|
|
35
|
-
"colorMode": true,
|
|
36
|
-
"theme": {
|
|
37
|
-
"colors": [
|
|
38
|
-
"primary",
|
|
39
|
-
"secondary",
|
|
40
|
-
"success",
|
|
41
|
-
"info",
|
|
42
|
-
"warning",
|
|
43
|
-
"error"
|
|
44
|
-
],
|
|
45
|
-
"transitions": true
|
|
46
|
-
}
|
|
47
|
-
}) : template
|
|
48
|
-
|
|
49
|
-
const theme = {
|
|
30
|
+
export default {
|
|
50
31
|
"slots": {
|
|
51
32
|
"root": "flex items-center align-center text-center",
|
|
52
33
|
"border": "",
|
|
@@ -188,6 +169,4 @@ const theme = {
|
|
|
188
169
|
"size": "xs" as typeof size[number],
|
|
189
170
|
"type": "solid" as typeof type[number]
|
|
190
171
|
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
export default result as typeof theme
|
|
172
|
+
}
|
package/.nuxt/ui/skeleton.ts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"base": "animate-pulse rounded-md bg-elevated"
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default result as typeof theme
|
|
3
|
+
}
|
package/.nuxt/ui/slideover.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/slideover"
|
|
2
|
-
|
|
3
1
|
const side = [
|
|
4
2
|
"top",
|
|
5
3
|
"right",
|
|
@@ -7,24 +5,7 @@ const side = [
|
|
|
7
5
|
"left"
|
|
8
6
|
] as const
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
"prefix": "U",
|
|
12
|
-
"fonts": true,
|
|
13
|
-
"colorMode": true,
|
|
14
|
-
"theme": {
|
|
15
|
-
"colors": [
|
|
16
|
-
"primary",
|
|
17
|
-
"secondary",
|
|
18
|
-
"success",
|
|
19
|
-
"info",
|
|
20
|
-
"warning",
|
|
21
|
-
"error"
|
|
22
|
-
],
|
|
23
|
-
"transitions": true
|
|
24
|
-
}
|
|
25
|
-
}) : template
|
|
26
|
-
|
|
27
|
-
const theme = {
|
|
8
|
+
export default {
|
|
28
9
|
"slots": {
|
|
29
10
|
"overlay": "fixed inset-0 bg-elevated/75",
|
|
30
11
|
"content": "fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",
|
|
@@ -87,6 +68,4 @@ const theme = {
|
|
|
87
68
|
}
|
|
88
69
|
}
|
|
89
70
|
]
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export default result as typeof theme
|
|
71
|
+
}
|
package/.nuxt/ui/slider.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/slider"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -23,24 +21,7 @@ const orientation = [
|
|
|
23
21
|
"vertical"
|
|
24
22
|
] as const
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
"prefix": "U",
|
|
28
|
-
"fonts": true,
|
|
29
|
-
"colorMode": true,
|
|
30
|
-
"theme": {
|
|
31
|
-
"colors": [
|
|
32
|
-
"primary",
|
|
33
|
-
"secondary",
|
|
34
|
-
"success",
|
|
35
|
-
"info",
|
|
36
|
-
"warning",
|
|
37
|
-
"error"
|
|
38
|
-
],
|
|
39
|
-
"transitions": true
|
|
40
|
-
}
|
|
41
|
-
}) : template
|
|
42
|
-
|
|
43
|
-
const theme = {
|
|
24
|
+
export default {
|
|
44
25
|
"slots": {
|
|
45
26
|
"root": "relative flex items-center select-none touch-none",
|
|
46
27
|
"track": "relative bg-accented overflow-hidden rounded-full grow",
|
|
@@ -187,6 +168,4 @@ const theme = {
|
|
|
187
168
|
"size": "md" as typeof size[number],
|
|
188
169
|
"color": "primary" as typeof color[number]
|
|
189
170
|
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export default result as typeof theme
|
|
171
|
+
}
|
package/.nuxt/ui/stepper.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/stepper"
|
|
2
|
-
|
|
3
1
|
const orientation = [
|
|
4
2
|
"horizontal",
|
|
5
3
|
"vertical"
|
|
@@ -23,24 +21,7 @@ const color = [
|
|
|
23
21
|
"neutral"
|
|
24
22
|
] as const
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
"prefix": "U",
|
|
28
|
-
"fonts": true,
|
|
29
|
-
"colorMode": true,
|
|
30
|
-
"theme": {
|
|
31
|
-
"colors": [
|
|
32
|
-
"primary",
|
|
33
|
-
"secondary",
|
|
34
|
-
"success",
|
|
35
|
-
"info",
|
|
36
|
-
"warning",
|
|
37
|
-
"error"
|
|
38
|
-
],
|
|
39
|
-
"transitions": true
|
|
40
|
-
}
|
|
41
|
-
}) : template
|
|
42
|
-
|
|
43
|
-
const theme = {
|
|
24
|
+
export default {
|
|
44
25
|
"slots": {
|
|
45
26
|
"root": "flex gap-4",
|
|
46
27
|
"header": "flex",
|
|
@@ -218,6 +199,4 @@ const theme = {
|
|
|
218
199
|
"size": "md" as typeof size[number],
|
|
219
200
|
"color": "primary" as typeof color[number]
|
|
220
201
|
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export default result as typeof theme
|
|
202
|
+
}
|
package/.nuxt/ui/switch.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/switch"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -18,24 +16,7 @@ const size = [
|
|
|
18
16
|
"xl"
|
|
19
17
|
] as const
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
"prefix": "U",
|
|
23
|
-
"fonts": true,
|
|
24
|
-
"colorMode": true,
|
|
25
|
-
"theme": {
|
|
26
|
-
"colors": [
|
|
27
|
-
"primary",
|
|
28
|
-
"secondary",
|
|
29
|
-
"success",
|
|
30
|
-
"info",
|
|
31
|
-
"warning",
|
|
32
|
-
"error"
|
|
33
|
-
],
|
|
34
|
-
"transitions": true
|
|
35
|
-
}
|
|
36
|
-
}) : template
|
|
37
|
-
|
|
38
|
-
const theme = {
|
|
19
|
+
export default {
|
|
39
20
|
"slots": {
|
|
40
21
|
"root": "relative flex items-start",
|
|
41
22
|
"base": [
|
|
@@ -147,6 +128,4 @@ const theme = {
|
|
|
147
128
|
"color": "primary" as typeof color[number],
|
|
148
129
|
"size": "md" as typeof size[number]
|
|
149
130
|
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export default result as typeof theme
|
|
131
|
+
}
|
package/.nuxt/ui/table.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/table"
|
|
2
|
-
|
|
3
1
|
const loadingAnimation = [
|
|
4
2
|
"carousel",
|
|
5
3
|
"carousel-inverse",
|
|
@@ -17,24 +15,7 @@ const loadingColor = [
|
|
|
17
15
|
"neutral"
|
|
18
16
|
] as const
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
"prefix": "U",
|
|
22
|
-
"fonts": true,
|
|
23
|
-
"colorMode": true,
|
|
24
|
-
"theme": {
|
|
25
|
-
"colors": [
|
|
26
|
-
"primary",
|
|
27
|
-
"secondary",
|
|
28
|
-
"success",
|
|
29
|
-
"info",
|
|
30
|
-
"warning",
|
|
31
|
-
"error"
|
|
32
|
-
],
|
|
33
|
-
"transitions": true
|
|
34
|
-
}
|
|
35
|
-
}) : template
|
|
36
|
-
|
|
37
|
-
const theme = {
|
|
18
|
+
export default {
|
|
38
19
|
"slots": {
|
|
39
20
|
"root": "relative overflow-auto",
|
|
40
21
|
"base": "min-w-full overflow-clip",
|
|
@@ -163,6 +144,4 @@ const theme = {
|
|
|
163
144
|
"loadingColor": "primary" as typeof loadingColor[number],
|
|
164
145
|
"loadingAnimation": "carousel" as typeof loadingAnimation[number]
|
|
165
146
|
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export default result as typeof theme
|
|
147
|
+
}
|
package/.nuxt/ui/tabs.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/tabs"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -28,24 +26,7 @@ const size = [
|
|
|
28
26
|
"xl"
|
|
29
27
|
] as const
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
"prefix": "U",
|
|
33
|
-
"fonts": true,
|
|
34
|
-
"colorMode": true,
|
|
35
|
-
"theme": {
|
|
36
|
-
"colors": [
|
|
37
|
-
"primary",
|
|
38
|
-
"secondary",
|
|
39
|
-
"success",
|
|
40
|
-
"info",
|
|
41
|
-
"warning",
|
|
42
|
-
"error"
|
|
43
|
-
],
|
|
44
|
-
"transitions": true
|
|
45
|
-
}
|
|
46
|
-
}) : template
|
|
47
|
-
|
|
48
|
-
const theme = {
|
|
29
|
+
export default {
|
|
49
30
|
"slots": {
|
|
50
31
|
"root": "flex items-center gap-2",
|
|
51
32
|
"list": "relative flex p-1 group",
|
|
@@ -271,6 +252,4 @@ const theme = {
|
|
|
271
252
|
"variant": "pill" as typeof variant[number],
|
|
272
253
|
"size": "md" as typeof size[number]
|
|
273
254
|
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
export default result as typeof theme
|
|
255
|
+
}
|
package/.nuxt/ui/textarea.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/textarea"
|
|
2
|
-
|
|
3
1
|
const buttonGroup = [
|
|
4
2
|
"horizontal",
|
|
5
3
|
"vertical"
|
|
@@ -35,24 +33,7 @@ const type = [
|
|
|
35
33
|
"file"
|
|
36
34
|
] as const
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
"prefix": "U",
|
|
40
|
-
"fonts": true,
|
|
41
|
-
"colorMode": true,
|
|
42
|
-
"theme": {
|
|
43
|
-
"colors": [
|
|
44
|
-
"primary",
|
|
45
|
-
"secondary",
|
|
46
|
-
"success",
|
|
47
|
-
"info",
|
|
48
|
-
"warning",
|
|
49
|
-
"error"
|
|
50
|
-
],
|
|
51
|
-
"transitions": true
|
|
52
|
-
}
|
|
53
|
-
}) : template
|
|
54
|
-
|
|
55
|
-
const theme = {
|
|
36
|
+
export default {
|
|
56
37
|
"slots": {
|
|
57
38
|
"root": "relative inline-flex items-center",
|
|
58
39
|
"base": [
|
|
@@ -319,6 +300,4 @@ const theme = {
|
|
|
319
300
|
"color": "primary" as typeof color[number],
|
|
320
301
|
"variant": "outline" as typeof variant[number]
|
|
321
302
|
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
export default result as typeof theme
|
|
303
|
+
}
|
package/.nuxt/ui/toast.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/toast"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -15,24 +13,7 @@ const orientation = [
|
|
|
15
13
|
"vertical"
|
|
16
14
|
] as const
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
"prefix": "U",
|
|
20
|
-
"fonts": true,
|
|
21
|
-
"colorMode": true,
|
|
22
|
-
"theme": {
|
|
23
|
-
"colors": [
|
|
24
|
-
"primary",
|
|
25
|
-
"secondary",
|
|
26
|
-
"success",
|
|
27
|
-
"info",
|
|
28
|
-
"warning",
|
|
29
|
-
"error"
|
|
30
|
-
],
|
|
31
|
-
"transitions": true
|
|
32
|
-
}
|
|
33
|
-
}) : template
|
|
34
|
-
|
|
35
|
-
const theme = {
|
|
16
|
+
export default {
|
|
36
17
|
"slots": {
|
|
37
18
|
"root": "relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none",
|
|
38
19
|
"wrapper": "w-0 flex-1 flex flex-col",
|
|
@@ -102,6 +83,4 @@ const theme = {
|
|
|
102
83
|
"defaultVariants": {
|
|
103
84
|
"color": "primary" as typeof color[number]
|
|
104
85
|
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export default result as typeof theme
|
|
86
|
+
}
|
package/.nuxt/ui/toaster.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/toaster"
|
|
2
|
-
|
|
3
1
|
const position = [
|
|
4
2
|
"top-left",
|
|
5
3
|
"top-center",
|
|
@@ -16,24 +14,7 @@ const swipeDirection = [
|
|
|
16
14
|
"left"
|
|
17
15
|
] as const
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
"prefix": "U",
|
|
21
|
-
"fonts": true,
|
|
22
|
-
"colorMode": true,
|
|
23
|
-
"theme": {
|
|
24
|
-
"colors": [
|
|
25
|
-
"primary",
|
|
26
|
-
"secondary",
|
|
27
|
-
"success",
|
|
28
|
-
"info",
|
|
29
|
-
"warning",
|
|
30
|
-
"error"
|
|
31
|
-
],
|
|
32
|
-
"transitions": true
|
|
33
|
-
}
|
|
34
|
-
}) : template
|
|
35
|
-
|
|
36
|
-
const theme = {
|
|
17
|
+
export default {
|
|
37
18
|
"slots": {
|
|
38
19
|
"viewport": "fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",
|
|
39
20
|
"base": "pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:invisible data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"
|
|
@@ -107,6 +88,4 @@ const theme = {
|
|
|
107
88
|
"defaultVariants": {
|
|
108
89
|
"position": "bottom-right" as typeof position[number]
|
|
109
90
|
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export default result as typeof theme
|
|
91
|
+
}
|
package/.nuxt/ui/tooltip.ts
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"slots": {
|
|
22
3
|
"content": "flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",
|
|
23
4
|
"arrow": "fill-default",
|
|
@@ -25,6 +6,4 @@ const theme = {
|
|
|
25
6
|
"kbds": "hidden lg:inline-flex items-center shrink-0 gap-0.5 before:content-['·'] before:me-0.5",
|
|
26
7
|
"kbdsSize": "sm"
|
|
27
8
|
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export default result as typeof theme
|
|
9
|
+
}
|
package/.nuxt/ui/tree.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/tree"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -18,24 +16,7 @@ const size = [
|
|
|
18
16
|
"xl"
|
|
19
17
|
] as const
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
"prefix": "U",
|
|
23
|
-
"fonts": true,
|
|
24
|
-
"colorMode": true,
|
|
25
|
-
"theme": {
|
|
26
|
-
"colors": [
|
|
27
|
-
"primary",
|
|
28
|
-
"secondary",
|
|
29
|
-
"success",
|
|
30
|
-
"info",
|
|
31
|
-
"warning",
|
|
32
|
-
"error"
|
|
33
|
-
],
|
|
34
|
-
"transitions": true
|
|
35
|
-
}
|
|
36
|
-
}) : template
|
|
37
|
-
|
|
38
|
-
const theme = {
|
|
19
|
+
export default {
|
|
39
20
|
"slots": {
|
|
40
21
|
"root": "relative isolate",
|
|
41
22
|
"item": "",
|
|
@@ -170,6 +151,4 @@ const theme = {
|
|
|
170
151
|
"color": "primary" as typeof color[number],
|
|
171
152
|
"size": "md" as typeof size[number]
|
|
172
153
|
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export default result as typeof theme
|
|
154
|
+
}
|
package/.nuxt/ui.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@source "./ui";
|
|
2
2
|
|
|
3
|
-
@theme default {
|
|
3
|
+
@theme default inline {
|
|
4
4
|
--color-old-neutral-50: oklch(98.5% 0 0);
|
|
5
5
|
--color-old-neutral-100: oklch(97% 0 0);
|
|
6
6
|
--color-old-neutral-200: oklch(92.2% 0 0);
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
--color-old-neutral-800: oklch(26.9% 0 0);
|
|
13
13
|
--color-old-neutral-900: oklch(20.5% 0 0);
|
|
14
14
|
--color-old-neutral-950: oklch(14.5% 0 0);
|
|
15
|
-
--color-primary: var(--ui-primary);
|
|
16
|
-
--color-primary-50: var(--ui-color-primary-50);
|
|
15
|
+
--color-primary-50: var(--ui-color-primary-50);
|
|
17
16
|
--color-primary-100: var(--ui-color-primary-100);
|
|
18
17
|
--color-primary-200: var(--ui-color-primary-200);
|
|
19
18
|
--color-primary-300: var(--ui-color-primary-300);
|
|
@@ -24,7 +23,6 @@
|
|
|
24
23
|
--color-primary-800: var(--ui-color-primary-800);
|
|
25
24
|
--color-primary-900: var(--ui-color-primary-900);
|
|
26
25
|
--color-primary-950: var(--ui-color-primary-950);
|
|
27
|
-
--color-secondary: var(--ui-secondary);
|
|
28
26
|
--color-secondary-50: var(--ui-color-secondary-50);
|
|
29
27
|
--color-secondary-100: var(--ui-color-secondary-100);
|
|
30
28
|
--color-secondary-200: var(--ui-color-secondary-200);
|
|
@@ -36,7 +34,6 @@
|
|
|
36
34
|
--color-secondary-800: var(--ui-color-secondary-800);
|
|
37
35
|
--color-secondary-900: var(--ui-color-secondary-900);
|
|
38
36
|
--color-secondary-950: var(--ui-color-secondary-950);
|
|
39
|
-
--color-success: var(--ui-success);
|
|
40
37
|
--color-success-50: var(--ui-color-success-50);
|
|
41
38
|
--color-success-100: var(--ui-color-success-100);
|
|
42
39
|
--color-success-200: var(--ui-color-success-200);
|
|
@@ -48,7 +45,6 @@
|
|
|
48
45
|
--color-success-800: var(--ui-color-success-800);
|
|
49
46
|
--color-success-900: var(--ui-color-success-900);
|
|
50
47
|
--color-success-950: var(--ui-color-success-950);
|
|
51
|
-
--color-info: var(--ui-info);
|
|
52
48
|
--color-info-50: var(--ui-color-info-50);
|
|
53
49
|
--color-info-100: var(--ui-color-info-100);
|
|
54
50
|
--color-info-200: var(--ui-color-info-200);
|
|
@@ -60,7 +56,6 @@
|
|
|
60
56
|
--color-info-800: var(--ui-color-info-800);
|
|
61
57
|
--color-info-900: var(--ui-color-info-900);
|
|
62
58
|
--color-info-950: var(--ui-color-info-950);
|
|
63
|
-
--color-warning: var(--ui-warning);
|
|
64
59
|
--color-warning-50: var(--ui-color-warning-50);
|
|
65
60
|
--color-warning-100: var(--ui-color-warning-100);
|
|
66
61
|
--color-warning-200: var(--ui-color-warning-200);
|
|
@@ -72,7 +67,6 @@
|
|
|
72
67
|
--color-warning-800: var(--ui-color-warning-800);
|
|
73
68
|
--color-warning-900: var(--ui-color-warning-900);
|
|
74
69
|
--color-warning-950: var(--ui-color-warning-950);
|
|
75
|
-
--color-error: var(--ui-error);
|
|
76
70
|
--color-error-50: var(--ui-color-error-50);
|
|
77
71
|
--color-error-100: var(--ui-color-error-100);
|
|
78
72
|
--color-error-200: var(--ui-color-error-200);
|
|
@@ -95,6 +89,12 @@
|
|
|
95
89
|
--color-neutral-800: var(--ui-color-neutral-800);
|
|
96
90
|
--color-neutral-900: var(--ui-color-neutral-900);
|
|
97
91
|
--color-neutral-950: var(--ui-color-neutral-950);
|
|
92
|
+
--color-primary: var(--ui-primary);
|
|
93
|
+
--color-secondary: var(--ui-secondary);
|
|
94
|
+
--color-success: var(--ui-success);
|
|
95
|
+
--color-info: var(--ui-info);
|
|
96
|
+
--color-warning: var(--ui-warning);
|
|
97
|
+
--color-error: var(--ui-error);
|
|
98
98
|
--radius-xs: calc(var(--ui-radius) * 0.5);
|
|
99
99
|
--radius-sm: var(--ui-radius);
|
|
100
100
|
--radius-md: calc(var(--ui-radius) * 1.5);
|
|
@@ -118,15 +118,22 @@
|
|
|
118
118
|
--border-color-muted: var(--ui-border-muted);
|
|
119
119
|
--border-color-accented: var(--ui-border-accented);
|
|
120
120
|
--border-color-inverted: var(--ui-border-inverted);
|
|
121
|
+
--border-color-bg: var(--ui-bg);
|
|
121
122
|
--ring-color-default: var(--ui-border);
|
|
122
123
|
--ring-color-muted: var(--ui-border-muted);
|
|
123
124
|
--ring-color-accented: var(--ui-border-accented);
|
|
124
125
|
--ring-color-inverted: var(--ui-border-inverted);
|
|
125
126
|
--ring-color-bg: var(--ui-bg);
|
|
127
|
+
--ring-offset-color-default: var(--ui-border);
|
|
128
|
+
--ring-offset-color-muted: var(--ui-border-muted);
|
|
129
|
+
--ring-offset-color-accented: var(--ui-border-accented);
|
|
130
|
+
--ring-offset-color-inverted: var(--ui-border-inverted);
|
|
131
|
+
--ring-offset-color-bg: var(--ui-bg);
|
|
126
132
|
--divide-color-default: var(--ui-border);
|
|
127
133
|
--divide-color-muted: var(--ui-border-muted);
|
|
128
134
|
--divide-color-accented: var(--ui-border-accented);
|
|
129
135
|
--divide-color-inverted: var(--ui-border-inverted);
|
|
136
|
+
--divide-color-bg: var(--ui-bg);
|
|
130
137
|
--outline-color-default: var(--ui-border);
|
|
131
138
|
--outline-color-inverted: var(--ui-border-inverted);
|
|
132
139
|
--stroke-default: var(--ui-border);
|
package/README.md
CHANGED
|
@@ -16,6 +16,10 @@ Nuxt UI harnesses the combined strengths of [Reka UI](https://reka-ui.com/), [Ta
|
|
|
16
16
|
> [!NOTE]
|
|
17
17
|
> You are on the `v3` development branch, check out the [v2 branch](https://github.com/nuxt/ui/tree/v2) for Nuxt UI v2.
|
|
18
18
|
|
|
19
|
+
> [!TIP]
|
|
20
|
+
> **Looking for more components ?**
|
|
21
|
+
> Check out [Nuxt UI Pro](https://ui.nuxt.com/pro), a collection of premium Vue components, composables, and utilities built on top of Nuxt UI for faster and more powerful app development.
|
|
22
|
+
|
|
19
23
|
## Documentation
|
|
20
24
|
|
|
21
25
|
Visit https://ui.nuxt.com to explore the documentation.
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { defu } from 'defu';
|
|
2
2
|
import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addComponentsDir, addImportsDir, hasNuxtModule, installModule } from '@nuxt/kit';
|
|
3
|
-
import { d as defaultOptions, r as resolveColors, a as getDefaultUiConfig, b as addTemplates } from './shared/ui.
|
|
3
|
+
import { d as defaultOptions, r as resolveColors, a as getDefaultUiConfig, b as addTemplates } from './shared/ui.CbtTMMzt.mjs';
|
|
4
4
|
import '../dist/runtime/utils/index.js';
|
|
5
5
|
import 'node:url';
|
|
6
6
|
import 'scule';
|
|
7
7
|
import 'tailwindcss/colors';
|
|
8
|
+
import 'knitwork';
|
|
8
9
|
|
|
9
10
|
const name = "@nuxt/ui";
|
|
10
|
-
const version = "3.1.
|
|
11
|
+
const version = "3.1.1";
|
|
11
12
|
|
|
12
13
|
const module = defineNuxtModule({
|
|
13
14
|
meta: {
|