@volverjs/ui-vue 0.0.9-beta.17 → 0.0.9-beta.19
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/dist/components/VvCombobox/VvCombobox.es.js +10 -7
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +149 -96
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +10 -37
- package/dist/components/VvInputText/index.d.ts +18 -35
- package/dist/components/VvTextarea/VvTextarea.es.js +8 -5
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/index.es.js +167 -108
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/stories/InputText/InputText.settings.d.ts +4 -30
- package/dist/stories/InputText/InputText.stories.d.ts +0 -1
- package/dist/stories/InputText/InputTextMask.stories.d.ts +12 -0
- package/package.json +49 -48
- 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/VvCombobox/VvCombobox.vue +11 -7
- package/src/components/VvInputText/VvInputText.vue +138 -55
- package/src/components/VvInputText/index.ts +25 -34
- package/src/components/VvTextarea/VvTextarea.vue +8 -5
- package/src/stories/InputText/InputText.settings.ts +7 -33
- package/src/stories/InputText/InputText.stories.ts +4 -12
- package/src/stories/InputText/InputText.test.ts +31 -15
- package/src/stories/InputText/InputTextMask.stories.ts +122 -0
|
@@ -145,42 +145,16 @@ export declare const argTypes: {
|
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
|
|
148
|
+
iMask: {
|
|
149
149
|
description: string;
|
|
150
150
|
control: {
|
|
151
151
|
type: string;
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
|
|
154
|
+
masked: {
|
|
155
155
|
description: string;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
summary: boolean;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
maskReversed: {
|
|
163
|
-
description: string;
|
|
164
|
-
table: {
|
|
165
|
-
defaultValue: {
|
|
166
|
-
summary: boolean;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
maskTokens: {
|
|
171
|
-
description: string;
|
|
172
|
-
table: {
|
|
173
|
-
defaultValue: {
|
|
174
|
-
summary: string;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
maskTokensReplace: {
|
|
179
|
-
description: string;
|
|
180
|
-
table: {
|
|
181
|
-
defaultValue: {
|
|
182
|
-
summary: boolean;
|
|
183
|
-
};
|
|
156
|
+
control: {
|
|
157
|
+
type: string;
|
|
184
158
|
};
|
|
185
159
|
};
|
|
186
160
|
autoWidth: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const RegExp: Story;
|
|
7
|
+
export declare const PhoneNumber: Story;
|
|
8
|
+
export declare const Pattern: Story;
|
|
9
|
+
export declare const IntlNumber: Story;
|
|
10
|
+
export declare const DatePlaceholder: Story;
|
|
11
|
+
export declare const PhoneOrEmail: Story;
|
|
12
|
+
export declare const Currency: Story;
|
package/package.json
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/volverjs/ui-vue/issues"
|
|
21
21
|
},
|
|
22
|
-
"version": "0.0.9-beta.
|
|
22
|
+
"version": "0.0.9-beta.19",
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">= 16.x"
|
|
25
25
|
},
|
|
26
|
-
"packageManager": "pnpm@8.
|
|
26
|
+
"packageManager": "pnpm@8.7.0",
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "./dist/Volver.umd.js",
|
|
29
29
|
"module": "./dist/Volver.es.js",
|
|
@@ -39,53 +39,53 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@floating-ui/vue": "^1.0.2",
|
|
42
|
-
"@iconify/tools": "^3.0.
|
|
42
|
+
"@iconify/tools": "^3.0.5",
|
|
43
43
|
"@iconify/vue": "^4.1.1",
|
|
44
|
-
"@vueuse/core": "^10.
|
|
44
|
+
"@vueuse/core": "^10.4.1",
|
|
45
45
|
"jsdom": "^22.1.0",
|
|
46
|
-
"maska": "^2.1.9",
|
|
47
46
|
"mitt": "^3.0.1",
|
|
48
47
|
"nanoid": "^4.0.2",
|
|
49
48
|
"ts-dot-prop": "^2.1.3",
|
|
50
|
-
"vue": "^3.3.4"
|
|
49
|
+
"vue": "^3.3.4",
|
|
50
|
+
"vue-imask": "^7.1.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@volverjs/style": "0.*"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/core": "^7.22.
|
|
57
|
-
"@babel/preset-env": "^7.22.
|
|
58
|
-
"@babel/preset-typescript": "^7.22.
|
|
56
|
+
"@babel/core": "^7.22.11",
|
|
57
|
+
"@babel/preset-env": "^7.22.10",
|
|
58
|
+
"@babel/preset-typescript": "^7.22.11",
|
|
59
59
|
"@iconify/types": "^2.0.0",
|
|
60
|
-
"@iconify/utils": "^2.1.
|
|
60
|
+
"@iconify/utils": "^2.1.9",
|
|
61
61
|
"@mdx-js/react": "^2.3.0",
|
|
62
|
-
"@rushstack/eslint-patch": "^1.3.
|
|
63
|
-
"@storybook/addon-a11y": "^7.
|
|
64
|
-
"@storybook/addon-actions": "^7.
|
|
65
|
-
"@storybook/addon-docs": "^7.
|
|
66
|
-
"@storybook/addon-essentials": "^7.
|
|
67
|
-
"@storybook/addon-interactions": "^7.
|
|
68
|
-
"@storybook/addon-links": "^7.
|
|
69
|
-
"@storybook/channel-postmessage": "^7.
|
|
70
|
-
"@storybook/channel-websocket": "^7.
|
|
71
|
-
"@storybook/cli": "^7.
|
|
72
|
-
"@storybook/client-api": "^7.
|
|
73
|
-
"@storybook/client-logger": "^7.
|
|
74
|
-
"@storybook/core-common": "^7.
|
|
75
|
-
"@storybook/jest": "^0.1
|
|
76
|
-
"@storybook/preview-api": "^7.
|
|
77
|
-
"@storybook/preview-web": "^7.
|
|
78
|
-
"@storybook/test-runner": "^0.
|
|
62
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
63
|
+
"@storybook/addon-a11y": "^7.3.2",
|
|
64
|
+
"@storybook/addon-actions": "^7.3.2",
|
|
65
|
+
"@storybook/addon-docs": "^7.3.2",
|
|
66
|
+
"@storybook/addon-essentials": "^7.3.2",
|
|
67
|
+
"@storybook/addon-interactions": "^7.3.2",
|
|
68
|
+
"@storybook/addon-links": "^7.3.2",
|
|
69
|
+
"@storybook/channel-postmessage": "^7.3.2",
|
|
70
|
+
"@storybook/channel-websocket": "^7.3.2",
|
|
71
|
+
"@storybook/cli": "^7.3.2",
|
|
72
|
+
"@storybook/client-api": "^7.3.2",
|
|
73
|
+
"@storybook/client-logger": "^7.3.2",
|
|
74
|
+
"@storybook/core-common": "^7.3.2",
|
|
75
|
+
"@storybook/jest": "^0.2.1",
|
|
76
|
+
"@storybook/preview-api": "^7.3.2",
|
|
77
|
+
"@storybook/preview-web": "^7.3.2",
|
|
78
|
+
"@storybook/test-runner": "^0.13.0",
|
|
79
79
|
"@storybook/testing-library": "^0.2.0",
|
|
80
|
-
"@storybook/vue3": "^7.
|
|
81
|
-
"@storybook/vue3-vite": "^7.
|
|
82
|
-
"@tsconfig/node18": "^18.2.
|
|
80
|
+
"@storybook/vue3": "^7.3.2",
|
|
81
|
+
"@storybook/vue3-vite": "^7.3.2",
|
|
82
|
+
"@tsconfig/node18": "^18.2.1",
|
|
83
83
|
"@types/jest-axe": "^3.5.5",
|
|
84
|
-
"@types/jsdom": "^21.1.
|
|
85
|
-
"@types/node": "^20.
|
|
86
|
-
"@types/react": "^18.2.
|
|
84
|
+
"@types/jsdom": "^21.1.2",
|
|
85
|
+
"@types/node": "^20.5.7",
|
|
86
|
+
"@types/react": "^18.2.21",
|
|
87
87
|
"@types/yargs": "^17.0.24",
|
|
88
|
-
"@vitejs/plugin-vue": "^4.
|
|
88
|
+
"@vitejs/plugin-vue": "^4.3.3",
|
|
89
89
|
"@volverjs/style": "0.1.12-beta.4",
|
|
90
90
|
"@vue/compiler-sfc": "^3.3.4",
|
|
91
91
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
@@ -93,34 +93,35 @@
|
|
|
93
93
|
"@vue/test-utils": "^2.4.1",
|
|
94
94
|
"@vue/tsconfig": "^0.4.0",
|
|
95
95
|
"change-case": "^4.1.2",
|
|
96
|
-
"eslint": "^8.
|
|
97
|
-
"eslint-config-prettier": "^
|
|
98
|
-
"eslint-mdx": "^2.
|
|
99
|
-
"eslint-plugin-mdx": "^2.
|
|
96
|
+
"eslint": "^8.48.0",
|
|
97
|
+
"eslint-config-prettier": "^9.0.0",
|
|
98
|
+
"eslint-mdx": "^2.2.0",
|
|
99
|
+
"eslint-plugin-mdx": "^2.2.0",
|
|
100
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
100
101
|
"eslint-plugin-storybook": "^0.6.13",
|
|
101
|
-
"eslint-plugin-vue": "^9.
|
|
102
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
102
103
|
"glob": "7.2.3",
|
|
103
104
|
"jest-axe": "^8.0.0",
|
|
104
|
-
"jest-diff": "^29.6.
|
|
105
|
-
"jest-get-type": "^29.
|
|
105
|
+
"jest-diff": "^29.6.4",
|
|
106
|
+
"jest-get-type": "^29.6.3",
|
|
106
107
|
"jsdom": "^22.1.0",
|
|
107
108
|
"npm-run-all": "^4.1.5",
|
|
108
|
-
"prettier": "^3.0.
|
|
109
|
-
"pretty-format": "^29.6.
|
|
109
|
+
"prettier": "^3.0.2",
|
|
110
|
+
"pretty-format": "^29.6.3",
|
|
110
111
|
"react": "^18.2.0",
|
|
111
112
|
"react-dom": "^18.2.0",
|
|
112
113
|
"remark": "^14.0.3",
|
|
113
|
-
"sass": "^1.
|
|
114
|
-
"storybook": "^7.
|
|
114
|
+
"sass": "^1.66.1",
|
|
115
|
+
"storybook": "^7.3.2",
|
|
115
116
|
"storybook-addon-markdown-docs": "^2.0.0",
|
|
116
|
-
"storybook-dark-mode": "^3.0.
|
|
117
|
+
"storybook-dark-mode": "^3.0.1",
|
|
117
118
|
"storybook-version": "^0.1.1",
|
|
118
119
|
"terser": "^5.19.2",
|
|
119
120
|
"ts-node": "^10.9.1",
|
|
120
|
-
"typescript": "~5.
|
|
121
|
+
"typescript": "~5.2.2",
|
|
121
122
|
"unplugin-auto-import": "^0.16.6",
|
|
122
123
|
"unplugin-vue-components": "^0.25.1",
|
|
123
|
-
"vite": "^4.4.
|
|
124
|
+
"vite": "^4.4.9",
|
|
124
125
|
"vite-plugin-eslint": "^1.8.1",
|
|
125
126
|
"vite-plugin-externalize-deps": "^0.7.0",
|
|
126
127
|
"vue-tsc": "^1.8.8",
|