@volverjs/ui-vue 0.0.10-beta.24 → 0.0.10-beta.26
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/auto-imports.d.ts +1 -0
- package/dist/components/VvAccordion/VvAccordion.es.js +14 -12
- package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +169 -89
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +31 -5
- package/dist/components/VvAccordionGroup/index.d.ts +7 -4
- package/dist/components/VvAction/VvAction.es.js +14 -12
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +2 -11
- package/dist/components/VvAction/index.d.ts +1 -5
- package/dist/components/VvAlert/VvAlert.es.js +14 -12
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +14 -12
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +14 -12
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +14 -12
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +14 -12
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +14 -12
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +1 -1
- package/dist/components/VvButton/VvButton.es.js +14 -12
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +2 -19
- package/dist/components/VvButton/index.d.ts +1 -5
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +14 -12
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvCard/VvCard.es.js +14 -12
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +14 -12
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +14 -12
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +58 -34
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +2 -8
- package/dist/components/VvCombobox/index.d.ts +9 -2
- package/dist/components/VvDialog/VvDialog.es.js +14 -12
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +24 -16
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +2 -19
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +13 -1
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +9 -0
- package/dist/components/VvDropdown/index.d.ts +37 -0
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +64 -15
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +322 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +14 -12
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +131 -76
- package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +14 -12
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputFile/index.d.ts +5 -5
- package/dist/components/VvInputText/VvInputText.es.js +979 -107
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +44 -1
- package/dist/components/VvInputText/index.d.ts +28 -0
- package/dist/components/VvNav/VvNav.es.js +14 -12
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +14 -12
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +14 -12
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +14 -12
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +14 -12
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +14 -12
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +14 -12
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +1 -1
- package/dist/components/VvTextarea/VvTextarea.es.js +14 -12
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +14 -12
- package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
- package/dist/components/index.es.js +435 -195
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/dropdown/useInjectDropdown.d.ts +3 -23
- package/dist/composables/dropdown/useProvideDropdown.d.ts +2 -3
- package/dist/composables/usePersistence.d.ts +3 -0
- package/dist/constants.d.ts +24 -21
- package/dist/directives/index.es.js +14 -12
- package/dist/directives/index.umd.js +1 -1
- package/dist/directives/v-tooltip.es.js +14 -12
- package/dist/directives/v-tooltip.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +11 -11
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +51 -9
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +327 -64
- package/dist/stories/Button/Button.settings.d.ts +0 -1
- package/dist/types/nav.d.ts +1 -2
- package/package.json +1 -1
- 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/VvAccordionGroup/VvAccordionGroup.vue +86 -69
- package/src/components/VvAccordionGroup/index.ts +3 -5
- package/src/components/VvCombobox/VvCombobox.vue +2 -0
- package/src/components/VvDropdown/VvDropdown.vue +11 -2
- package/src/components/VvDropdown/VvDropdownItem.vue +4 -1
- package/src/components/VvDropdown/VvDropdownOption.vue +3 -21
- package/src/components/VvDropdown/index.ts +35 -1
- package/src/components/VvInputText/VvInputText.vue +98 -3
- package/src/components/VvInputText/index.ts +24 -1
- package/src/composables/dropdown/useProvideDropdown.ts +4 -4
- package/src/composables/usePersistence.ts +76 -0
- package/src/constants.ts +23 -18
- package/src/props/index.ts +12 -7
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +2 -2
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +5 -5
- package/src/stories/Button/Button.settings.ts +1 -4
- package/src/types/nav.ts +1 -3
package/dist/props/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { Option } from '@/types/generic';
|
|
3
3
|
import type { NavItem } from '@/types/nav';
|
|
4
|
-
import { Placement, Strategy, Position, Side,
|
|
4
|
+
import { Placement, Strategy, Position, Side, ButtonType, ActionTag, StorageType } from '@/constants';
|
|
5
5
|
import type { VvIconProps } from '@/components/VvIcon';
|
|
6
6
|
export declare const LinkProps: {
|
|
7
7
|
/**
|
|
@@ -18,11 +18,7 @@ export declare const LinkProps: {
|
|
|
18
18
|
/**
|
|
19
19
|
* Anchor target
|
|
20
20
|
*/
|
|
21
|
-
target:
|
|
22
|
-
type: PropType<"_blank" | "_self" | "_parent" | "_top">;
|
|
23
|
-
default: undefined;
|
|
24
|
-
validator: (value: AnchorTarget) => boolean;
|
|
25
|
-
};
|
|
21
|
+
target: StringConstructor;
|
|
26
22
|
/**
|
|
27
23
|
* Anchor rel
|
|
28
24
|
*/
|
|
@@ -966,11 +962,7 @@ export declare const ActionProps: {
|
|
|
966
962
|
/**
|
|
967
963
|
* Anchor target
|
|
968
964
|
*/
|
|
969
|
-
target:
|
|
970
|
-
type: PropType<"_blank" | "_self" | "_parent" | "_top">;
|
|
971
|
-
default: undefined;
|
|
972
|
-
validator: (value: AnchorTarget) => boolean;
|
|
973
|
-
};
|
|
965
|
+
target: StringConstructor;
|
|
974
966
|
/**
|
|
975
967
|
* Anchor rel
|
|
976
968
|
*/
|
|
@@ -1020,3 +1012,11 @@ export declare const NavProps: {
|
|
|
1020
1012
|
default: () => never[];
|
|
1021
1013
|
};
|
|
1022
1014
|
};
|
|
1015
|
+
export declare const StorageProps: {
|
|
1016
|
+
storageType: {
|
|
1017
|
+
type: PropType<"local" | "session">;
|
|
1018
|
+
default: StorageType;
|
|
1019
|
+
validator: (value: StorageType) => boolean;
|
|
1020
|
+
};
|
|
1021
|
+
storageKey: StringConstructor;
|
|
1022
|
+
};
|
|
@@ -4,6 +4,7 @@ declare const _default: Meta<{
|
|
|
4
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
|
|
5
5
|
modelValue: {
|
|
6
6
|
type: globalThis.PropType<string | string[] | undefined>;
|
|
7
|
+
default: undefined;
|
|
7
8
|
};
|
|
8
9
|
items: {
|
|
9
10
|
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
@@ -16,13 +17,18 @@ declare const _default: Meta<{
|
|
|
16
17
|
};
|
|
17
18
|
disabled: BooleanConstructor;
|
|
18
19
|
not: BooleanConstructor;
|
|
19
|
-
|
|
20
|
+
storageType: {
|
|
21
|
+
type: globalThis.PropType<"local" | "session">;
|
|
22
|
+
default: import("../../constants").StorageType;
|
|
23
|
+
validator: (value: import("../../constants").StorageType) => boolean;
|
|
24
|
+
};
|
|
25
|
+
storageKey: StringConstructor;
|
|
20
26
|
modifiers: {
|
|
21
27
|
type: globalThis.PropType<string | string[]>;
|
|
22
28
|
default: undefined;
|
|
23
29
|
};
|
|
24
30
|
}>>, {
|
|
25
|
-
|
|
31
|
+
expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
|
|
26
32
|
expand: (name?: string | string[] | undefined) => void;
|
|
27
33
|
collapse: (name?: string | string[] | undefined) => void;
|
|
28
34
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -30,6 +36,7 @@ declare const _default: Meta<{
|
|
|
30
36
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
31
37
|
modelValue: {
|
|
32
38
|
type: globalThis.PropType<string | string[] | undefined>;
|
|
39
|
+
default: undefined;
|
|
33
40
|
};
|
|
34
41
|
items: {
|
|
35
42
|
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
@@ -42,7 +49,12 @@ declare const _default: Meta<{
|
|
|
42
49
|
};
|
|
43
50
|
disabled: BooleanConstructor;
|
|
44
51
|
not: BooleanConstructor;
|
|
45
|
-
|
|
52
|
+
storageType: {
|
|
53
|
+
type: globalThis.PropType<"local" | "session">;
|
|
54
|
+
default: import("../../constants").StorageType;
|
|
55
|
+
validator: (value: import("../../constants").StorageType) => boolean;
|
|
56
|
+
};
|
|
57
|
+
storageKey: StringConstructor;
|
|
46
58
|
modifiers: {
|
|
47
59
|
type: globalThis.PropType<string | string[]>;
|
|
48
60
|
default: undefined;
|
|
@@ -50,10 +62,12 @@ declare const _default: Meta<{
|
|
|
50
62
|
}>>, {
|
|
51
63
|
collapse: boolean;
|
|
52
64
|
disabled: boolean;
|
|
65
|
+
modelValue: string | string[] | undefined;
|
|
53
66
|
not: boolean;
|
|
54
67
|
modifiers: string | string[];
|
|
55
68
|
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
56
69
|
itemModifiers: string | string[];
|
|
70
|
+
storageType: "local" | "session";
|
|
57
71
|
}, true, {}, {}, {
|
|
58
72
|
P: {};
|
|
59
73
|
B: {};
|
|
@@ -64,6 +78,7 @@ declare const _default: Meta<{
|
|
|
64
78
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
65
79
|
modelValue: {
|
|
66
80
|
type: globalThis.PropType<string | string[] | undefined>;
|
|
81
|
+
default: undefined;
|
|
67
82
|
};
|
|
68
83
|
items: {
|
|
69
84
|
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
@@ -76,22 +91,29 @@ declare const _default: Meta<{
|
|
|
76
91
|
};
|
|
77
92
|
disabled: BooleanConstructor;
|
|
78
93
|
not: BooleanConstructor;
|
|
79
|
-
|
|
94
|
+
storageType: {
|
|
95
|
+
type: globalThis.PropType<"local" | "session">;
|
|
96
|
+
default: import("../../constants").StorageType;
|
|
97
|
+
validator: (value: import("../../constants").StorageType) => boolean;
|
|
98
|
+
};
|
|
99
|
+
storageKey: StringConstructor;
|
|
80
100
|
modifiers: {
|
|
81
101
|
type: globalThis.PropType<string | string[]>;
|
|
82
102
|
default: undefined;
|
|
83
103
|
};
|
|
84
104
|
}>>, {
|
|
85
|
-
|
|
105
|
+
expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
|
|
86
106
|
expand: (name?: string | string[] | undefined) => void;
|
|
87
107
|
collapse: (name?: string | string[] | undefined) => void;
|
|
88
108
|
}, {}, {}, {}, {
|
|
89
109
|
collapse: boolean;
|
|
90
110
|
disabled: boolean;
|
|
111
|
+
modelValue: string | string[] | undefined;
|
|
91
112
|
not: boolean;
|
|
92
113
|
modifiers: string | string[];
|
|
93
114
|
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
94
115
|
itemModifiers: string | string[];
|
|
116
|
+
storageType: "local" | "session";
|
|
95
117
|
}>;
|
|
96
118
|
__isFragment?: undefined;
|
|
97
119
|
__isTeleport?: undefined;
|
|
@@ -99,6 +121,7 @@ declare const _default: Meta<{
|
|
|
99
121
|
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
100
122
|
modelValue: {
|
|
101
123
|
type: globalThis.PropType<string | string[] | undefined>;
|
|
124
|
+
default: undefined;
|
|
102
125
|
};
|
|
103
126
|
items: {
|
|
104
127
|
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
@@ -111,13 +134,18 @@ declare const _default: Meta<{
|
|
|
111
134
|
};
|
|
112
135
|
disabled: BooleanConstructor;
|
|
113
136
|
not: BooleanConstructor;
|
|
114
|
-
|
|
137
|
+
storageType: {
|
|
138
|
+
type: globalThis.PropType<"local" | "session">;
|
|
139
|
+
default: import("../../constants").StorageType;
|
|
140
|
+
validator: (value: import("../../constants").StorageType) => boolean;
|
|
141
|
+
};
|
|
142
|
+
storageKey: StringConstructor;
|
|
115
143
|
modifiers: {
|
|
116
144
|
type: globalThis.PropType<string | string[]>;
|
|
117
145
|
default: undefined;
|
|
118
146
|
};
|
|
119
147
|
}>>, {
|
|
120
|
-
|
|
148
|
+
expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
|
|
121
149
|
expand: (name?: string | string[] | undefined) => void;
|
|
122
150
|
collapse: (name?: string | string[] | undefined) => void;
|
|
123
151
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -125,14 +153,28 @@ declare const _default: Meta<{
|
|
|
125
153
|
}, string, {
|
|
126
154
|
collapse: boolean;
|
|
127
155
|
disabled: boolean;
|
|
156
|
+
modelValue: string | string[] | undefined;
|
|
128
157
|
not: boolean;
|
|
129
158
|
modifiers: string | string[];
|
|
130
159
|
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
131
160
|
itemModifiers: string | string[];
|
|
161
|
+
storageType: "local" | "session";
|
|
132
162
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
133
|
-
$slots: Partial<Record<`
|
|
163
|
+
$slots: Partial<Record<`summary::${string}`, (_: {
|
|
164
|
+
isExpanded: boolean;
|
|
165
|
+
expand: () => void;
|
|
166
|
+
collapse: () => void;
|
|
167
|
+
groupExpand: (name?: string | string[] | undefined) => void;
|
|
168
|
+
groupCollapse: (name?: string | string[] | undefined) => void;
|
|
169
|
+
}) => any>> & Partial<Record<`content::${string}`, (_: {
|
|
170
|
+
isExpanded: boolean;
|
|
171
|
+
expand: () => void;
|
|
172
|
+
collapse: () => void;
|
|
173
|
+
groupExpand: (name?: string | string[] | undefined) => void;
|
|
174
|
+
groupCollapse: (name?: string | string[] | undefined) => void;
|
|
175
|
+
}) => any>> & {
|
|
134
176
|
default?(_: {
|
|
135
|
-
|
|
177
|
+
expandedAccordions: Set<string>;
|
|
136
178
|
expand: (name?: string | string[] | undefined) => void;
|
|
137
179
|
collapse: (name?: string | string[] | undefined) => void;
|
|
138
180
|
}): any;
|