@volverjs/ui-vue 0.0.10-beta.28 → 0.0.10-beta.29
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 +8 -7
- package/dist/components/VvAlert/VvAlert.es.js +13 -11
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +10 -10
- package/dist/components/VvAlert/index.d.ts +12 -8
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +13 -2
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +3 -3
- package/dist/components/VvAlertGroup/index.d.ts +2 -14
- package/dist/components/VvCombobox/VvCombobox.es.js +1 -0
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +1 -0
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +1 -0
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/index.es.js +14 -2
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +80 -18
- package/dist/composables/index.es.js +3 -2
- package/dist/composables/index.umd.js +1 -1
- package/dist/constants.d.ts +5 -2
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +2 -2
- package/dist/test/expect.d.ts +1 -1
- package/dist/types/alert.d.ts +9 -7
- package/package.json +24 -34
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAlert/index.ts +13 -6
- package/src/components/VvAlertGroup/index.ts +3 -16
- package/src/components/VvDropdown/VvDropdownOption.vue +1 -0
- package/src/composables/alert/useAlert.ts +12 -9
- package/src/constants.ts +7 -2
- package/src/stories/Accordion/Accordion.test.ts +1 -1
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +1 -1
- package/src/stories/Alert/Alert.test.ts +1 -1
- package/src/stories/AlertGroup/AlertGroup.test.ts +1 -1
- package/src/stories/Avatar/Avatar.test.ts +1 -1
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +1 -1
- package/src/stories/Badge/Badge.test.ts +1 -1
- package/src/stories/Button/Button.test.ts +1 -1
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +1 -1
- package/src/stories/Card/Card.test.ts +1 -1
- package/src/stories/Checkbox/Checkbox.test.ts +1 -1
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +1 -1
- package/src/stories/Combobox/Combobox.test.ts +1 -1
- package/src/stories/Dialog/Dialog.test.ts +2 -2
- package/src/stories/Dropdown/Dropdown.test.ts +1 -1
- package/src/stories/InputText/InputText.test.ts +1 -1
- package/src/stories/Nav/Nav.test.ts +1 -1
- package/src/stories/Progress/Progress.test.ts +1 -1
- package/src/stories/Radio/Radio.test.ts +1 -1
- package/src/stories/RadioGroup/RadioGroup.test.ts +1 -1
- package/src/stories/Select/Select.test.ts +1 -1
- package/src/stories/Tab/Tab.test.ts +1 -1
- package/src/stories/Textarea/Textarea.test.ts +1 -1
- package/src/stories/Tooltip/Tooltip.test.ts +1 -1
- package/src/test/expect.ts +2 -4
- package/src/types/alert.ts +11 -7
|
@@ -247,8 +247,8 @@ declare const _default: {
|
|
|
247
247
|
items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
|
|
248
248
|
itemModifiers?: string | string[] | undefined;
|
|
249
249
|
storageType?: "local" | "session" | undefined;
|
|
250
|
-
ref?: import("vue").VNodeRef | undefined;
|
|
251
250
|
style?: unknown;
|
|
251
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
252
252
|
class?: unknown;
|
|
253
253
|
key?: string | number | symbol | undefined;
|
|
254
254
|
ref_for?: boolean | undefined;
|
|
@@ -306,8 +306,8 @@ declare const _default: {
|
|
|
306
306
|
items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
|
|
307
307
|
itemModifiers?: string | string[] | undefined;
|
|
308
308
|
storageType?: "local" | "session" | undefined;
|
|
309
|
-
ref?: import("vue").VNodeRef | undefined;
|
|
310
309
|
style?: unknown;
|
|
310
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
311
311
|
class?: unknown;
|
|
312
312
|
key?: string | number | symbol | undefined;
|
|
313
313
|
ref_for?: boolean | undefined;
|
package/dist/test/expect.d.ts
CHANGED
package/dist/types/alert.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import type { VvIconProps } from '@/components/VvIcon';
|
|
2
|
+
import { AlertRole } from '@/constants';
|
|
3
|
+
export type AlertModifier = 'success' | 'info' | 'warning' | 'danger' | 'brand' | 'accent' | string;
|
|
2
4
|
export type Alert = {
|
|
3
5
|
id: string | number;
|
|
4
|
-
group: string;
|
|
5
6
|
title?: string;
|
|
6
|
-
icon
|
|
7
|
+
icon?: string | VvIconProps;
|
|
7
8
|
content?: string;
|
|
8
9
|
footer?: string;
|
|
9
|
-
modifiers
|
|
10
|
-
dismissable
|
|
11
|
-
autoClose
|
|
12
|
-
|
|
10
|
+
modifiers?: AlertModifier | AlertModifier[];
|
|
11
|
+
dismissable?: boolean;
|
|
12
|
+
autoClose?: number;
|
|
13
|
+
closeLabel?: string;
|
|
14
|
+
role?: AlertRole;
|
|
13
15
|
};
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/volverjs/ui-vue/issues"
|
|
21
21
|
},
|
|
22
|
-
"version": "0.0.10-beta.
|
|
22
|
+
"version": "0.0.10-beta.29",
|
|
23
23
|
"packageManager": "pnpm@8.7.0",
|
|
24
24
|
"type": "module",
|
|
25
25
|
"main": "./dist/Volver.umd.js",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"@floating-ui/vue": "^1.0.6",
|
|
39
39
|
"@iconify/tools": "^4.0.2",
|
|
40
40
|
"@iconify/vue": "^4.1.1",
|
|
41
|
+
"@storybook/test": "^8.0.0",
|
|
41
42
|
"@vueuse/core": "^10.9.0",
|
|
42
43
|
"blurhash": "^2.0.5",
|
|
43
44
|
"comlink": "^4.4.1",
|
|
@@ -59,40 +60,32 @@
|
|
|
59
60
|
"@babel/preset-typescript": "^7.23.3",
|
|
60
61
|
"@iconify/types": "^2.0.0",
|
|
61
62
|
"@iconify/utils": "^2.1.22",
|
|
62
|
-
"@mdx-js/react": "^3.0.1",
|
|
63
63
|
"@rushstack/eslint-patch": "^1.7.2",
|
|
64
|
-
"@storybook/addon-a11y": "^
|
|
65
|
-
"@storybook/addon-actions": "^
|
|
66
|
-
"@storybook/addon-docs": "^
|
|
67
|
-
"@storybook/addon-essentials": "^
|
|
68
|
-
"@storybook/addon-interactions": "^
|
|
69
|
-
"@storybook/addon-links": "^
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@storybook/
|
|
72
|
-
"@storybook/
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/
|
|
75
|
-
"@storybook/
|
|
76
|
-
"@storybook/
|
|
77
|
-
"@storybook/preview-api": "^7.6.17",
|
|
78
|
-
"@storybook/preview-web": "^7.6.17",
|
|
79
|
-
"@storybook/test-runner": "^0.16.0",
|
|
80
|
-
"@storybook/testing-library": "^0.2.2",
|
|
81
|
-
"@storybook/vue3": "^7.6.17",
|
|
82
|
-
"@storybook/vue3-vite": "^7.6.17",
|
|
64
|
+
"@storybook/addon-a11y": "^8.0.0",
|
|
65
|
+
"@storybook/addon-actions": "^8.0.0",
|
|
66
|
+
"@storybook/addon-docs": "^8.0.0",
|
|
67
|
+
"@storybook/addon-essentials": "^8.0.0",
|
|
68
|
+
"@storybook/addon-interactions": "^8.0.0",
|
|
69
|
+
"@storybook/addon-links": "^8.0.0",
|
|
70
|
+
"@storybook/cli": "^8.0.0",
|
|
71
|
+
"@storybook/client-logger": "^8.0.0",
|
|
72
|
+
"@storybook/core-common": "^8.0.0",
|
|
73
|
+
"@storybook/preview-api": "^8.0.0",
|
|
74
|
+
"@storybook/test-runner": "^0.17.0",
|
|
75
|
+
"@storybook/vue3": "^8.0.0",
|
|
76
|
+
"@storybook/vue3-vite": "^8.0.0",
|
|
83
77
|
"@tsconfig/node18": "^18.2.2",
|
|
84
78
|
"@types/jest-axe": "^3.5.9",
|
|
85
79
|
"@types/jsdom": "^21.1.6",
|
|
86
|
-
"@types/node": "^20.11.
|
|
80
|
+
"@types/node": "^20.11.28",
|
|
87
81
|
"@types/pica": "^9.0.4",
|
|
88
|
-
"@types/react": "^18.2.64",
|
|
89
82
|
"@types/yargs": "^17.0.32",
|
|
90
83
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
91
84
|
"@volverjs/style": "0.1.12-beta.15",
|
|
92
85
|
"@vue/compiler-sfc": "^3.4.21",
|
|
93
86
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
94
|
-
"@vue/eslint-config-typescript": "^
|
|
95
|
-
"@vue/test-utils": "^2.4.
|
|
87
|
+
"@vue/eslint-config-typescript": "^13.0.0",
|
|
88
|
+
"@vue/test-utils": "^2.4.5",
|
|
96
89
|
"@vue/tsconfig": "^0.5.1",
|
|
97
90
|
"change-case": "^5.4.3",
|
|
98
91
|
"chokidar": "^3.6.0",
|
|
@@ -102,7 +95,7 @@
|
|
|
102
95
|
"eslint-plugin-mdx": "^3.1.5",
|
|
103
96
|
"eslint-plugin-prettier": "^5.1.3",
|
|
104
97
|
"eslint-plugin-storybook": "^0.8.0",
|
|
105
|
-
"eslint-plugin-vue": "^9.
|
|
98
|
+
"eslint-plugin-vue": "^9.23.0",
|
|
106
99
|
"glob": "7.2.3",
|
|
107
100
|
"jest-axe": "^8.0.0",
|
|
108
101
|
"jest-diff": "^29.7.0",
|
|
@@ -111,20 +104,17 @@
|
|
|
111
104
|
"npm-run-all": "^4.1.5",
|
|
112
105
|
"prettier": "^3.2.5",
|
|
113
106
|
"pretty-format": "^29.7.0",
|
|
114
|
-
"react": "^18.2.0",
|
|
115
|
-
"react-dom": "^18.2.0",
|
|
116
107
|
"remark": "^15.0.1",
|
|
117
|
-
"sass": "^1.
|
|
118
|
-
"storybook": "^
|
|
108
|
+
"sass": "^1.72.0",
|
|
109
|
+
"storybook": "^8.0.0",
|
|
119
110
|
"storybook-addon-markdown-docs": "^2.0.0",
|
|
120
|
-
"storybook-dark-mode": "^
|
|
121
|
-
"
|
|
122
|
-
"terser": "^5.29.1",
|
|
111
|
+
"storybook-dark-mode": "^4.0.0",
|
|
112
|
+
"terser": "^5.29.2",
|
|
123
113
|
"ts-node": "^10.9.2",
|
|
124
114
|
"typescript": "~5.4.2",
|
|
125
115
|
"unplugin-auto-import": "^0.17.5",
|
|
126
116
|
"unplugin-vue-components": "^0.26.0",
|
|
127
|
-
"vite": "^5.1.
|
|
117
|
+
"vite": "^5.1.6",
|
|
128
118
|
"vite-plugin-eslint": "^1.8.1",
|
|
129
119
|
"vite-plugin-externalize-deps": "^0.8.0",
|
|
130
120
|
"vue-tsc": "^2.0.6",
|