@nuxt/ui 2.19.1 → 2.20.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/README.md +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue +75 -34
- package/dist/runtime/components/data/Table.vue.d.ts +74 -61
- package/dist/runtime/components/elements/Accordion.vue +3 -1
- package/dist/runtime/components/elements/Accordion.vue.d.ts +25 -24
- package/dist/runtime/components/elements/Alert.vue.d.ts +39 -39
- package/dist/runtime/components/elements/Avatar.vue.d.ts +3 -3
- package/dist/runtime/components/elements/AvatarGroup.d.ts +11 -9
- package/dist/runtime/components/elements/Badge.vue +69 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +131 -4
- package/dist/runtime/components/elements/Button.vue.d.ts +20 -20
- package/dist/runtime/components/elements/ButtonGroup.d.ts +15 -13
- package/dist/runtime/components/elements/Carousel.vue.d.ts +43 -41
- package/dist/runtime/components/elements/Chip.vue.d.ts +5 -5
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +7 -7
- package/dist/runtime/components/elements/Link.vue +15 -4
- package/dist/runtime/components/elements/Link.vue.d.ts +30 -29
- package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
- package/dist/runtime/components/elements/MeterGroup.d.ts +20 -18
- package/dist/runtime/components/elements/Progress.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Form.vue +6 -5
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
- package/dist/runtime/components/forms/InputMenu.vue +35 -5
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +13 -12
- package/dist/runtime/components/forms/Radio.vue.d.ts +2 -2
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +4 -4
- package/dist/runtime/components/forms/Range.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +3 -3
- package/dist/runtime/components/forms/SelectMenu.vue +46 -23
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +12 -11
- package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Toggle.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +19 -19
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +26 -26
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +164 -22
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +38 -38
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +186 -44
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Notification.vue +6 -2
- package/dist/runtime/components/overlays/Notification.vue.d.ts +50 -41
- package/dist/runtime/components/overlays/Notifications.vue +2 -2
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +55 -46
- package/dist/runtime/components/overlays/Popover.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
- package/dist/runtime/types/button.d.ts +1 -0
- package/dist/runtime/types/checkbox.d.ts +3 -0
- package/dist/runtime/types/divider.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/link.d.ts +1 -1
- package/dist/runtime/types/utils.d.ts +1 -1
- package/dist/runtime/ui.config/data/table.d.ts +9 -8
- package/dist/runtime/ui.config/elements/accordion.d.ts +1 -1
- package/dist/runtime/ui.config/elements/alert.d.ts +5 -4
- package/dist/runtime/ui.config/elements/badge.d.ts +15 -0
- package/dist/runtime/ui.config/elements/badge.js +15 -0
- package/dist/runtime/ui.config/elements/carousel.d.ts +3 -2
- package/dist/runtime/ui.config/elements/dropdown.d.ts +2 -1
- package/dist/runtime/ui.config/forms/inputMenu.d.ts +2 -1
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/ui.config/layout/divider.d.ts +4 -3
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +2 -1
- package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +5 -4
- package/dist/runtime/ui.config/navigation/pagination.d.ts +7 -6
- package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +5 -4
- package/dist/runtime/ui.config/overlays/notification.d.ts +6 -5
- package/package.json +20 -17
|
@@ -8,6 +8,12 @@ declare const _default: {
|
|
|
8
8
|
md: string;
|
|
9
9
|
lg: string;
|
|
10
10
|
};
|
|
11
|
+
gap: {
|
|
12
|
+
xs: string;
|
|
13
|
+
sm: string;
|
|
14
|
+
md: string;
|
|
15
|
+
lg: string;
|
|
16
|
+
};
|
|
11
17
|
color: {
|
|
12
18
|
white: {
|
|
13
19
|
solid: string;
|
|
@@ -25,6 +31,15 @@ declare const _default: {
|
|
|
25
31
|
soft: string;
|
|
26
32
|
subtle: string;
|
|
27
33
|
};
|
|
34
|
+
icon: {
|
|
35
|
+
base: string;
|
|
36
|
+
size: {
|
|
37
|
+
xs: string;
|
|
38
|
+
sm: string;
|
|
39
|
+
md: string;
|
|
40
|
+
lg: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
28
43
|
default: {
|
|
29
44
|
size: string;
|
|
30
45
|
variant: string;
|
|
@@ -8,6 +8,12 @@ export default {
|
|
|
8
8
|
md: "text-sm px-2 py-1",
|
|
9
9
|
lg: "text-sm px-2.5 py-1.5"
|
|
10
10
|
},
|
|
11
|
+
gap: {
|
|
12
|
+
xs: "gap-0.5",
|
|
13
|
+
sm: "gap-1",
|
|
14
|
+
md: "gap-1",
|
|
15
|
+
lg: "gap-1.5"
|
|
16
|
+
},
|
|
11
17
|
color: {
|
|
12
18
|
white: {
|
|
13
19
|
solid: "ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white dark:bg-gray-900"
|
|
@@ -25,6 +31,15 @@ export default {
|
|
|
25
31
|
soft: "bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400",
|
|
26
32
|
subtle: "bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 ring-opacity-25 dark:ring-opacity-25"
|
|
27
33
|
},
|
|
34
|
+
icon: {
|
|
35
|
+
base: "flex-shrink-0",
|
|
36
|
+
size: {
|
|
37
|
+
xs: "h-4 w-4",
|
|
38
|
+
sm: "h-4 w-4",
|
|
39
|
+
md: "h-5 w-5",
|
|
40
|
+
lg: "h-5 w-5"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
28
43
|
default: {
|
|
29
44
|
size: "sm",
|
|
30
45
|
variant: "solid",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ButtonColor } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: string;
|
|
3
4
|
container: string;
|
|
@@ -13,12 +14,12 @@ declare const _default: {
|
|
|
13
14
|
};
|
|
14
15
|
default: {
|
|
15
16
|
prevButton: {
|
|
16
|
-
color:
|
|
17
|
+
color: ButtonColor;
|
|
17
18
|
class: string;
|
|
18
19
|
icon: string;
|
|
19
20
|
};
|
|
20
21
|
nextButton: {
|
|
21
|
-
color:
|
|
22
|
+
color: ButtonColor;
|
|
22
23
|
class: string;
|
|
23
24
|
icon: string;
|
|
24
25
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AvatarSize } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: string;
|
|
3
4
|
container: string;
|
|
@@ -26,7 +27,7 @@ declare const _default: {
|
|
|
26
27
|
};
|
|
27
28
|
avatar: {
|
|
28
29
|
base: string;
|
|
29
|
-
size:
|
|
30
|
+
size: AvatarSize;
|
|
30
31
|
};
|
|
31
32
|
label: string;
|
|
32
33
|
shortcuts: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AvatarSize } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
container: string;
|
|
3
4
|
trigger: string;
|
|
@@ -34,7 +35,7 @@ declare const _default: {
|
|
|
34
35
|
};
|
|
35
36
|
avatar: {
|
|
36
37
|
base: string;
|
|
37
|
-
size:
|
|
38
|
+
size: AvatarSize;
|
|
38
39
|
};
|
|
39
40
|
chip: {
|
|
40
41
|
base: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AvatarSize } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: {
|
|
3
4
|
base: string;
|
|
@@ -42,12 +43,12 @@ declare const _default: {
|
|
|
42
43
|
};
|
|
43
44
|
avatar: {
|
|
44
45
|
base: string;
|
|
45
|
-
size:
|
|
46
|
+
size: AvatarSize;
|
|
46
47
|
};
|
|
47
48
|
label: string;
|
|
48
49
|
default: {
|
|
49
|
-
size:
|
|
50
|
-
type:
|
|
50
|
+
size: string;
|
|
51
|
+
type: string;
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
54
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AvatarSize } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: string;
|
|
3
4
|
container: string;
|
|
@@ -46,7 +47,7 @@ declare const _default: {
|
|
|
46
47
|
};
|
|
47
48
|
avatar: {
|
|
48
49
|
base: string;
|
|
49
|
-
size:
|
|
50
|
+
size: AvatarSize;
|
|
50
51
|
};
|
|
51
52
|
chip: {
|
|
52
53
|
base: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AvatarSize, BadgeColor, BadgeSize, BadgeVariant } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: string;
|
|
3
4
|
container: string;
|
|
@@ -15,13 +16,13 @@ declare const _default: {
|
|
|
15
16
|
};
|
|
16
17
|
avatar: {
|
|
17
18
|
base: string;
|
|
18
|
-
size:
|
|
19
|
+
size: AvatarSize;
|
|
19
20
|
};
|
|
20
21
|
badge: {
|
|
21
22
|
base: string;
|
|
22
|
-
color:
|
|
23
|
-
variant:
|
|
24
|
-
size:
|
|
23
|
+
color: BadgeColor;
|
|
24
|
+
variant: BadgeVariant;
|
|
25
|
+
size: BadgeSize;
|
|
25
26
|
};
|
|
26
27
|
};
|
|
27
28
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ButtonColor } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: string;
|
|
3
4
|
base: string;
|
|
@@ -5,28 +6,28 @@ declare const _default: {
|
|
|
5
6
|
default: {
|
|
6
7
|
size: string;
|
|
7
8
|
activeButton: {
|
|
8
|
-
color:
|
|
9
|
+
color: ButtonColor;
|
|
9
10
|
};
|
|
10
11
|
inactiveButton: {
|
|
11
|
-
color:
|
|
12
|
+
color: ButtonColor;
|
|
12
13
|
};
|
|
13
14
|
firstButton: {
|
|
14
|
-
color:
|
|
15
|
+
color: ButtonColor;
|
|
15
16
|
class: string;
|
|
16
17
|
icon: string;
|
|
17
18
|
};
|
|
18
19
|
lastButton: {
|
|
19
|
-
color:
|
|
20
|
+
color: ButtonColor;
|
|
20
21
|
class: string;
|
|
21
22
|
icon: string;
|
|
22
23
|
};
|
|
23
24
|
prevButton: {
|
|
24
|
-
color:
|
|
25
|
+
color: ButtonColor;
|
|
25
26
|
class: string;
|
|
26
27
|
icon: string;
|
|
27
28
|
};
|
|
28
29
|
nextButton: {
|
|
29
|
-
color:
|
|
30
|
+
color: ButtonColor;
|
|
30
31
|
class: string;
|
|
31
32
|
icon: string;
|
|
32
33
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AvatarSize, BadgeColor, BadgeSize, BadgeVariant } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: string;
|
|
3
4
|
base: string;
|
|
@@ -17,13 +18,13 @@ declare const _default: {
|
|
|
17
18
|
};
|
|
18
19
|
avatar: {
|
|
19
20
|
base: string;
|
|
20
|
-
size:
|
|
21
|
+
size: AvatarSize;
|
|
21
22
|
};
|
|
22
23
|
badge: {
|
|
23
24
|
base: string;
|
|
24
|
-
color:
|
|
25
|
-
variant:
|
|
26
|
-
size:
|
|
25
|
+
color: BadgeColor;
|
|
26
|
+
variant: BadgeVariant;
|
|
27
|
+
size: BadgeSize;
|
|
27
28
|
};
|
|
28
29
|
divider: {
|
|
29
30
|
wrapper: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AvatarSize, ButtonColor, ButtonSize, ButtonVariant } from '../../types/index.js';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
wrapper: string;
|
|
3
4
|
container: string;
|
|
@@ -17,7 +18,7 @@ declare const _default: {
|
|
|
17
18
|
};
|
|
18
19
|
avatar: {
|
|
19
20
|
base: string;
|
|
20
|
-
size:
|
|
21
|
+
size: AvatarSize;
|
|
21
22
|
};
|
|
22
23
|
progress: {
|
|
23
24
|
base: string;
|
|
@@ -37,13 +38,13 @@ declare const _default: {
|
|
|
37
38
|
timeout: number;
|
|
38
39
|
closeButton: {
|
|
39
40
|
icon: string;
|
|
40
|
-
color:
|
|
41
|
-
variant:
|
|
41
|
+
color: ButtonColor;
|
|
42
|
+
variant: ButtonVariant;
|
|
42
43
|
padded: boolean;
|
|
43
44
|
};
|
|
44
45
|
actionButton: {
|
|
45
|
-
size:
|
|
46
|
-
color:
|
|
46
|
+
size: ButtonSize;
|
|
47
|
+
color: ButtonColor;
|
|
47
48
|
};
|
|
48
49
|
};
|
|
49
50
|
};
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
3
|
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
|
|
4
|
-
"version": "2.
|
|
5
|
-
"packageManager": "pnpm@9.
|
|
4
|
+
"version": "2.20.0",
|
|
5
|
+
"packageManager": "pnpm@9.15.0",
|
|
6
6
|
"repository": "nuxt/ui",
|
|
7
7
|
"homepage": "https://ui.nuxt.com",
|
|
8
8
|
"type": "module",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@headlessui/tailwindcss": "^0.2.1",
|
|
36
36
|
"@headlessui/vue": "^1.7.23",
|
|
37
37
|
"@iconify-json/heroicons": "^1.2.1",
|
|
38
|
-
"@nuxt/icon": "^1.
|
|
39
|
-
"@nuxt/kit": "^3.14.
|
|
38
|
+
"@nuxt/icon": "^1.9.1",
|
|
39
|
+
"@nuxt/kit": "^3.14.1592",
|
|
40
40
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
41
41
|
"@nuxtjs/tailwindcss": "^6.12.2",
|
|
42
42
|
"@popperjs/core": "^2.11.8",
|
|
@@ -44,42 +44,45 @@
|
|
|
44
44
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
45
45
|
"@tailwindcss/forms": "^0.5.9",
|
|
46
46
|
"@tailwindcss/typography": "^0.5.15",
|
|
47
|
-
"@vueuse/core": "^
|
|
48
|
-
"@vueuse/integrations": "^
|
|
49
|
-
"@vueuse/math": "^
|
|
47
|
+
"@vueuse/core": "^12.0.0",
|
|
48
|
+
"@vueuse/integrations": "^12.0.0",
|
|
49
|
+
"@vueuse/math": "^12.0.0",
|
|
50
50
|
"defu": "^6.1.4",
|
|
51
51
|
"fuse.js": "^7.0.0",
|
|
52
52
|
"ohash": "^1.1.4",
|
|
53
53
|
"pathe": "^1.1.2",
|
|
54
54
|
"scule": "^1.3.0",
|
|
55
|
-
"tailwind-merge": "^2.5.
|
|
56
|
-
"tailwindcss": "^3.4.
|
|
55
|
+
"tailwind-merge": "^2.5.5",
|
|
56
|
+
"tailwindcss": "^3.4.16"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@nuxt/eslint-config": "^0.
|
|
59
|
+
"@nuxt/eslint-config": "^0.7.2",
|
|
60
60
|
"@nuxt/module-builder": "^0.8.4",
|
|
61
|
-
"@nuxt/test-utils": "^3.
|
|
62
|
-
"@release-it/conventional-changelog": "^9.0.
|
|
61
|
+
"@nuxt/test-utils": "^3.15.1",
|
|
62
|
+
"@release-it/conventional-changelog": "^9.0.3",
|
|
63
63
|
"@vue/test-utils": "^2.4.6",
|
|
64
|
-
"eslint": "^9.
|
|
64
|
+
"eslint": "^9.16.0",
|
|
65
65
|
"happy-dom": "^14.12.3",
|
|
66
66
|
"joi": "^17.13.3",
|
|
67
|
-
"nuxt": "^3.14.
|
|
67
|
+
"nuxt": "^3.14.1592",
|
|
68
68
|
"release-it": "^17.10.0",
|
|
69
69
|
"superstruct": "^2.0.2",
|
|
70
|
+
"typescript": "^5.6.3",
|
|
70
71
|
"unbuild": "^2.0.0",
|
|
71
72
|
"valibot": "^0.42.1",
|
|
72
73
|
"valibot30": "npm:valibot@0.30.0",
|
|
73
74
|
"valibot31": "npm:valibot@0.31.0",
|
|
74
|
-
"vitest": "^2.1.
|
|
75
|
+
"vitest": "^2.1.8",
|
|
75
76
|
"vitest-environment-nuxt": "^1.0.1",
|
|
76
77
|
"vue-tsc": "^2.1.10",
|
|
77
|
-
"yup": "^1.
|
|
78
|
+
"yup": "^1.5.0",
|
|
78
79
|
"zod": "^3.23.8"
|
|
79
80
|
},
|
|
80
81
|
"resolutions": {
|
|
81
82
|
"@nuxt/ui": "workspace:*",
|
|
82
83
|
"@nuxt/content": "2.13.2",
|
|
83
|
-
"@nuxtjs/mdc": "0.9.0"
|
|
84
|
+
"@nuxtjs/mdc": "0.9.0",
|
|
85
|
+
"chokidar": "3.6.0",
|
|
86
|
+
"typescript": "5.6.3"
|
|
84
87
|
}
|
|
85
88
|
}
|