@volverjs/ui-vue 0.0.1 → 0.0.2
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 +17 -0
- package/dist/components/VvButton/VvButton.es.js +159 -147
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +0 -8
- package/dist/components/VvButton/index.d.ts +4 -4
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +36 -37
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +10 -10
- package/dist/components/VvButtonGroup/index.d.ts +5 -5
- package/dist/components/VvCombobox/VvCombobox.es.js +526 -345
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +22 -0
- package/dist/components/VvCombobox/index.d.ts +13 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +118 -109
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +19 -0
- package/dist/components/VvDropdown/index.d.ts +12 -0
- package/dist/components/VvInputText/VvInputText.es.js +221 -213
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +13 -13
- package/dist/components/VvInputText/index.d.ts +5 -5
- package/dist/components/VvSelect/VvSelect.es.js +186 -167
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +23 -11
- package/dist/components/VvSelect/index.d.ts +10 -17
- package/dist/components/VvTextarea/VvTextarea.es.js +112 -104
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +12 -12
- package/dist/components/VvTextarea/index.d.ts +5 -5
- package/dist/components/index.es.js +1045 -975
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/group/types/IButtonGroupState.d.ts +1 -1
- package/dist/composables/group/types/IGroupState.d.ts +1 -1
- package/dist/composables/group/useInjectedGroupState.d.ts +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +1065 -995
- package/dist/index.umd.js +1 -1
- package/dist/props/index.d.ts +35 -4
- package/dist/resolvers/unplugin.es.js +26 -24
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/dist/stories/Button/Button.settings.d.ts +9 -11
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +9 -0
- package/dist/stories/Combobox/Combobox.settings.d.ts +19 -0
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +10 -0
- package/dist/stories/InputText/InputText.settings.d.ts +23 -23
- package/dist/stories/Select/Select.settings.d.ts +42 -23
- package/dist/stories/Textarea/Textarea.settings.d.ts +23 -23
- package/dist/stories/argTypes.d.ts +50 -1
- package/package.json +5 -4
- 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/VvButton/index.ts +28 -10
- package/src/components/VvButtonGroup/VvButtonGroup.vue +1 -1
- package/src/components/VvButtonGroup/index.ts +3 -6
- package/src/components/VvCombobox/VvCombobox.vue +45 -11
- package/src/components/VvCombobox/index.ts +6 -0
- package/src/components/VvDropdown/VvDropdown.vue +9 -6
- package/src/components/VvDropdown/index.ts +11 -1
- package/src/components/VvInputText/VvInputText.vue +10 -8
- package/src/components/VvSelect/VvSelect.vue +23 -1
- package/src/components/VvSelect/index.ts +8 -11
- package/src/components/VvTextarea/VvTextarea.vue +10 -8
- package/src/composables/group/types/IButtonGroupState.ts +1 -1
- package/src/composables/group/types/IGroupState.ts +1 -1
- package/src/composables/group/useInjectedGroupState.ts +3 -3
- package/src/composables/useTextCount.ts +1 -1
- package/src/props/index.ts +33 -15
- package/src/resolvers/unplugin.ts +22 -13
- package/src/stories/Button/Button.settings.ts +2 -7
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +6 -1
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.mdx +37 -0
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.mdx +12 -1
- package/src/stories/Combobox/Combobox.settings.ts +5 -0
- package/src/stories/Combobox/Combobox.stories.mdx +51 -0
- package/src/stories/Combobox/Combobox.test.ts +7 -0
- package/src/stories/Dropdown/Dropdown.settings.ts +10 -1
- package/src/stories/Dropdown/Dropdown.stories.mdx +17 -0
- package/src/stories/Select/Select.settings.ts +9 -23
- package/src/stories/Select/Select.stories.mdx +60 -0
- package/src/stories/argTypes.ts +46 -22
|
@@ -1,32 +1,10 @@
|
|
|
1
1
|
export declare const defaultArgs: {
|
|
2
|
+
name: string;
|
|
2
3
|
options: string[];
|
|
3
4
|
placeholder: string;
|
|
4
5
|
label: string;
|
|
5
6
|
};
|
|
6
7
|
export declare const argTypes: {
|
|
7
|
-
autocomplete: {
|
|
8
|
-
type: {
|
|
9
|
-
summary: string;
|
|
10
|
-
};
|
|
11
|
-
description: string;
|
|
12
|
-
control: {
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
table: {
|
|
16
|
-
defaultValue: {
|
|
17
|
-
summary: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
autofocus: {
|
|
22
|
-
type: string;
|
|
23
|
-
description: string;
|
|
24
|
-
table: {
|
|
25
|
-
defaultValue: {
|
|
26
|
-
summary: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
8
|
multiple: {
|
|
31
9
|
type: string;
|
|
32
10
|
description: string;
|
|
@@ -66,6 +44,24 @@ export declare const argTypes: {
|
|
|
66
44
|
type: string;
|
|
67
45
|
};
|
|
68
46
|
};
|
|
47
|
+
unselectable: {
|
|
48
|
+
type: string;
|
|
49
|
+
description: string;
|
|
50
|
+
table: {
|
|
51
|
+
defaultValue: {
|
|
52
|
+
summary: boolean;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
floating: {
|
|
57
|
+
type: string;
|
|
58
|
+
description: string;
|
|
59
|
+
table: {
|
|
60
|
+
defaultValue: {
|
|
61
|
+
summary: boolean;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
69
65
|
icon: {
|
|
70
66
|
description: string;
|
|
71
67
|
options: string[];
|
|
@@ -239,6 +235,29 @@ export declare const argTypes: {
|
|
|
239
235
|
};
|
|
240
236
|
};
|
|
241
237
|
};
|
|
238
|
+
autocomplete: {
|
|
239
|
+
type: {
|
|
240
|
+
summary: string;
|
|
241
|
+
};
|
|
242
|
+
description: string;
|
|
243
|
+
control: {
|
|
244
|
+
type: string;
|
|
245
|
+
};
|
|
246
|
+
table: {
|
|
247
|
+
defaultValue: {
|
|
248
|
+
summary: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
autofocus: {
|
|
253
|
+
type: string;
|
|
254
|
+
description: string;
|
|
255
|
+
table: {
|
|
256
|
+
defaultValue: {
|
|
257
|
+
summary: boolean;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
242
261
|
id: {
|
|
243
262
|
type: {
|
|
244
263
|
summary: string[];
|
|
@@ -82,29 +82,6 @@ export declare const argTypes: {
|
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
84
|
};
|
|
85
|
-
autofocus: {
|
|
86
|
-
type: string;
|
|
87
|
-
description: string;
|
|
88
|
-
table: {
|
|
89
|
-
defaultValue: {
|
|
90
|
-
summary: boolean;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
autocomplete: {
|
|
95
|
-
type: {
|
|
96
|
-
summary: string;
|
|
97
|
-
};
|
|
98
|
-
description: string;
|
|
99
|
-
control: {
|
|
100
|
-
type: string;
|
|
101
|
-
};
|
|
102
|
-
table: {
|
|
103
|
-
defaultValue: {
|
|
104
|
-
summary: string;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
85
|
minlength: {
|
|
109
86
|
type: string;
|
|
110
87
|
description: string;
|
|
@@ -310,6 +287,29 @@ export declare const argTypes: {
|
|
|
310
287
|
};
|
|
311
288
|
};
|
|
312
289
|
};
|
|
290
|
+
autocomplete: {
|
|
291
|
+
type: {
|
|
292
|
+
summary: string;
|
|
293
|
+
};
|
|
294
|
+
description: string;
|
|
295
|
+
control: {
|
|
296
|
+
type: string;
|
|
297
|
+
};
|
|
298
|
+
table: {
|
|
299
|
+
defaultValue: {
|
|
300
|
+
summary: string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
autofocus: {
|
|
305
|
+
type: string;
|
|
306
|
+
description: string;
|
|
307
|
+
table: {
|
|
308
|
+
defaultValue: {
|
|
309
|
+
summary: boolean;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
313
|
id: {
|
|
314
314
|
type: {
|
|
315
315
|
summary: string[];
|
|
@@ -257,7 +257,29 @@ export declare const IdNameArgTypes: {
|
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
|
-
export declare const
|
|
260
|
+
export declare const UnselectableArgTypes: {
|
|
261
|
+
unselectable: {
|
|
262
|
+
type: string;
|
|
263
|
+
description: string;
|
|
264
|
+
table: {
|
|
265
|
+
defaultValue: {
|
|
266
|
+
summary: boolean;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
export declare const FloatingArgTypes: {
|
|
272
|
+
floating: {
|
|
273
|
+
type: string;
|
|
274
|
+
description: string;
|
|
275
|
+
table: {
|
|
276
|
+
defaultValue: {
|
|
277
|
+
summary: boolean;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
export declare const AutofocusArgTypes: {
|
|
261
283
|
autofocus: {
|
|
262
284
|
type: string;
|
|
263
285
|
description: string;
|
|
@@ -267,6 +289,8 @@ export declare const InputTextareaArgTypes: {
|
|
|
267
289
|
};
|
|
268
290
|
};
|
|
269
291
|
};
|
|
292
|
+
};
|
|
293
|
+
export declare const AutocompleteArgTypes: {
|
|
270
294
|
autocomplete: {
|
|
271
295
|
type: {
|
|
272
296
|
summary: string;
|
|
@@ -281,6 +305,8 @@ export declare const InputTextareaArgTypes: {
|
|
|
281
305
|
};
|
|
282
306
|
};
|
|
283
307
|
};
|
|
308
|
+
};
|
|
309
|
+
export declare const InputTextareaArgTypes: {
|
|
284
310
|
minlength: {
|
|
285
311
|
type: string;
|
|
286
312
|
description: string;
|
|
@@ -486,6 +512,29 @@ export declare const InputTextareaArgTypes: {
|
|
|
486
512
|
};
|
|
487
513
|
};
|
|
488
514
|
};
|
|
515
|
+
autocomplete: {
|
|
516
|
+
type: {
|
|
517
|
+
summary: string;
|
|
518
|
+
};
|
|
519
|
+
description: string;
|
|
520
|
+
control: {
|
|
521
|
+
type: string;
|
|
522
|
+
};
|
|
523
|
+
table: {
|
|
524
|
+
defaultValue: {
|
|
525
|
+
summary: string;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
autofocus: {
|
|
530
|
+
type: string;
|
|
531
|
+
description: string;
|
|
532
|
+
table: {
|
|
533
|
+
defaultValue: {
|
|
534
|
+
summary: boolean;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
};
|
|
489
538
|
id: {
|
|
490
539
|
type: {
|
|
491
540
|
summary: string[];
|
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.
|
|
22
|
+
"version": "0.0.2",
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">= 16.x"
|
|
25
25
|
},
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"@types/jest-axe": "^3.5.5",
|
|
76
76
|
"@types/jsdom": "^20.0.1",
|
|
77
77
|
"@types/node": "18.11.18",
|
|
78
|
-
"@types/react": "^18.0.
|
|
78
|
+
"@types/react": "^18.0.27",
|
|
79
79
|
"@types/uuid": "^9.0.0",
|
|
80
|
-
"@types/yargs": "^17.0.
|
|
80
|
+
"@types/yargs": "^17.0.20",
|
|
81
81
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
82
|
-
"@volverjs/style": "0.1.
|
|
82
|
+
"@volverjs/style": "0.1.6",
|
|
83
83
|
"@vue/compiler-sfc": "^3.2.45",
|
|
84
84
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
85
85
|
"@vue/eslint-config-typescript": "^11.0.2",
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"pretty-format": "^29.3.1",
|
|
104
104
|
"react": "^18.2.0",
|
|
105
105
|
"react-dom": "^18.2.0",
|
|
106
|
+
"remark": "^14.0.2",
|
|
106
107
|
"sass": "^1.57.1",
|
|
107
108
|
"sass-loader": "^13.2.0",
|
|
108
109
|
"storybook": "^7.0.0-beta.29",
|