@volverjs/ui-vue 0.0.1 → 0.0.3-beta.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/auto-imports.d.ts +289 -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 +241 -277
- 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/VvTooltip/VvTooltip.es.js +28 -0
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -0
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +23 -0
- package/dist/components/VvTooltip/index.d.ts +18 -0
- package/dist/components/index.es.js +1046 -976
- 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 +1127 -1057
- 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/Tooltip/Tooltip.settings.d.ts +42 -0
- package/dist/stories/Tooltip/Tooltip.test.d.ts +2 -0
- package/dist/stories/argTypes.d.ts +50 -1
- package/package.json +31 -23
- 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 +9 -21
- package/src/components/VvTooltip/VvTooltip.vue +17 -0
- package/src/components/VvTooltip/index.ts +21 -0
- 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/Accordion/Accordion.stories.mdx +1 -1
- package/src/stories/AccordionGroup/AccordionGroup.stories.mdx +1 -1
- package/src/stories/AccordionGroup/AccordionGroupSlots.stories.mdx +1 -1
- package/src/stories/Badge/Badge.stories.mdx +1 -1
- package/src/stories/Breadcrumb/Breadcrumb.stories.mdx +1 -1
- package/src/stories/Breadcrumb/BreadcrumbSlots.stories.mdx +1 -1
- package/src/stories/Button/Button.settings.ts +2 -7
- package/src/stories/Button/Button.stories.mdx +1 -1
- package/src/stories/Button/ButtonModifiers.stories.mdx +2 -2
- package/src/stories/Button/ButtonSlots.stories.mdx +3 -3
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +6 -1
- package/src/stories/ButtonGroup/ButtonGroup.stories.mdx +1 -1
- package/src/stories/ButtonGroup/ButtonGroupSlots.stories.mdx +37 -0
- package/src/stories/ButtonGroup/ButtonGroupToggle.stories.mdx +12 -1
- package/src/stories/Card/Card.stories.mdx +1 -1
- package/src/stories/Card/CardSlots.stories.mdx +1 -1
- package/src/stories/Checkbox/Checkbox.stories.mdx +1 -1
- package/src/stories/CheckboxGroup/CheckboxGroup.stories.mdx +1 -1
- package/src/stories/CheckboxGroup/CheckboxGroupSlots.stories.mdx +1 -1
- package/src/stories/Combobox/Combobox.settings.ts +5 -0
- package/src/stories/Combobox/Combobox.stories.mdx +52 -1
- package/src/stories/Combobox/Combobox.test.ts +7 -0
- package/src/stories/Dialog/Dialog.stories.mdx +1 -1
- package/src/stories/Dropdown/Dropdown.settings.ts +10 -1
- package/src/stories/Dropdown/Dropdown.stories.mdx +18 -1
- package/src/stories/Icon/Icon.stories.mdx +1 -1
- package/src/stories/Icon/IconsCollection.stories.mdx +1 -1
- package/src/stories/InputText/InputText.stories.mdx +1 -1
- package/src/stories/Progress/Progress.stories.mdx +1 -1
- package/src/stories/Radio/Radio.stories.mdx +1 -1
- package/src/stories/RadioGroup/RadioGroup.stories.mdx +1 -1
- package/src/stories/RadioGroup/RadioGroupSlots.stories.mdx +1 -1
- package/src/stories/Select/Select.settings.ts +9 -23
- package/src/stories/Select/Select.stories.mdx +61 -1
- package/src/stories/Textarea/Textarea.stories.mdx +1 -1
- package/src/stories/Tooltip/Tooltip.settings.ts +26 -0
- package/src/stories/Tooltip/Tooltip.stories.mdx +98 -0
- package/src/stories/Tooltip/Tooltip.test.ts +49 -0
- package/src/stories/argTypes.ts +46 -22
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { Option } from '@/types/generic';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
autocomplete: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
autofocus: BooleanConstructor;
|
|
8
3
|
multiple: BooleanConstructor;
|
|
9
4
|
required: BooleanConstructor;
|
|
10
5
|
size: (StringConstructor | NumberConstructor)[];
|
|
@@ -14,6 +9,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
9
|
};
|
|
15
10
|
label: StringConstructor;
|
|
16
11
|
placeholder: StringConstructor;
|
|
12
|
+
unselectable: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
floating: BooleanConstructor;
|
|
17
17
|
icon: {
|
|
18
18
|
type: (ObjectConstructor | StringConstructor)[];
|
|
19
19
|
};
|
|
@@ -51,17 +51,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
51
51
|
type: (StringConstructor | NumberConstructor)[];
|
|
52
52
|
default: number;
|
|
53
53
|
};
|
|
54
|
+
autocomplete: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
autofocus: BooleanConstructor;
|
|
54
59
|
id: (StringConstructor | NumberConstructor)[];
|
|
55
60
|
name: {
|
|
56
61
|
type: StringConstructor;
|
|
57
62
|
required: boolean;
|
|
58
63
|
};
|
|
59
64
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
-
autocomplete: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
autofocus: BooleanConstructor;
|
|
65
65
|
multiple: BooleanConstructor;
|
|
66
66
|
required: BooleanConstructor;
|
|
67
67
|
size: (StringConstructor | NumberConstructor)[];
|
|
@@ -71,6 +71,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
71
|
};
|
|
72
72
|
label: StringConstructor;
|
|
73
73
|
placeholder: StringConstructor;
|
|
74
|
+
unselectable: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
floating: BooleanConstructor;
|
|
74
79
|
icon: {
|
|
75
80
|
type: (ObjectConstructor | StringConstructor)[];
|
|
76
81
|
};
|
|
@@ -108,6 +113,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
108
113
|
type: (StringConstructor | NumberConstructor)[];
|
|
109
114
|
default: number;
|
|
110
115
|
};
|
|
116
|
+
autocomplete: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
autofocus: BooleanConstructor;
|
|
111
121
|
id: (StringConstructor | NumberConstructor)[];
|
|
112
122
|
name: {
|
|
113
123
|
type: StringConstructor;
|
|
@@ -120,6 +130,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
120
130
|
disabled: boolean;
|
|
121
131
|
required: boolean;
|
|
122
132
|
multiple: boolean;
|
|
133
|
+
unselectable: boolean;
|
|
123
134
|
iconPosition: import("../../props/index.js").IconPosition;
|
|
124
135
|
loading: boolean;
|
|
125
136
|
readonly: boolean;
|
|
@@ -130,8 +141,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
130
141
|
options: (string | Option)[];
|
|
131
142
|
labelKey: string | Function;
|
|
132
143
|
valueKey: string | Function;
|
|
133
|
-
|
|
144
|
+
floating: boolean;
|
|
134
145
|
autocomplete: string;
|
|
146
|
+
autofocus: boolean;
|
|
135
147
|
}>, {
|
|
136
148
|
before: (_: {}) => any;
|
|
137
149
|
after: (_: {}) => any;
|
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
export declare const VvSelectProps: {
|
|
2
|
-
/**
|
|
3
|
-
* Global attribute autocomplete
|
|
4
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-autocomplete
|
|
5
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
|
6
|
-
*/
|
|
7
|
-
autocomplete: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Global attribute autofocus
|
|
13
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus
|
|
14
|
-
*/
|
|
15
|
-
autofocus: BooleanConstructor;
|
|
16
2
|
/**
|
|
17
3
|
* This Boolean attribute indicates that multiple options can be selected in the list.
|
|
18
4
|
* If it is not specified, then only one option can be selected at a time.
|
|
@@ -47,14 +33,16 @@ export declare const VvSelectProps: {
|
|
|
47
33
|
* Select placeholder
|
|
48
34
|
*/
|
|
49
35
|
placeholder: StringConstructor;
|
|
36
|
+
unselectable: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
floating: BooleanConstructor;
|
|
50
41
|
icon: {
|
|
51
42
|
type: (ObjectConstructor | StringConstructor)[];
|
|
52
43
|
};
|
|
53
44
|
iconPosition: {
|
|
54
45
|
type: import("vue").PropType<import("@/props").IconPosition>;
|
|
55
|
-
/**
|
|
56
|
-
* modelValue can be a string, number, boolean, object or array of string, number, boolean, object
|
|
57
|
-
*/
|
|
58
46
|
validation: (value: import("@/props").IconPosition) => boolean;
|
|
59
47
|
default: "right";
|
|
60
48
|
};
|
|
@@ -87,6 +75,11 @@ export declare const VvSelectProps: {
|
|
|
87
75
|
type: (StringConstructor | NumberConstructor)[];
|
|
88
76
|
default: number;
|
|
89
77
|
};
|
|
78
|
+
autocomplete: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
autofocus: BooleanConstructor;
|
|
90
83
|
id: (StringConstructor | NumberConstructor)[];
|
|
91
84
|
name: {
|
|
92
85
|
type: StringConstructor;
|