@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.
Files changed (121) hide show
  1. package/auto-imports.d.ts +1 -0
  2. package/dist/components/VvAccordion/VvAccordion.es.js +14 -12
  3. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  4. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +169 -89
  5. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  6. package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +31 -5
  7. package/dist/components/VvAccordionGroup/index.d.ts +7 -4
  8. package/dist/components/VvAction/VvAction.es.js +14 -12
  9. package/dist/components/VvAction/VvAction.umd.js +1 -1
  10. package/dist/components/VvAction/VvAction.vue.d.ts +2 -11
  11. package/dist/components/VvAction/index.d.ts +1 -5
  12. package/dist/components/VvAlert/VvAlert.es.js +14 -12
  13. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  14. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +14 -12
  15. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  16. package/dist/components/VvAvatar/VvAvatar.es.js +14 -12
  17. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  18. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +14 -12
  19. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  20. package/dist/components/VvBadge/VvBadge.es.js +14 -12
  21. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  22. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +14 -12
  23. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  24. package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +1 -1
  25. package/dist/components/VvButton/VvButton.es.js +14 -12
  26. package/dist/components/VvButton/VvButton.umd.js +1 -1
  27. package/dist/components/VvButton/VvButton.vue.d.ts +2 -19
  28. package/dist/components/VvButton/index.d.ts +1 -5
  29. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +14 -12
  30. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  31. package/dist/components/VvCard/VvCard.es.js +14 -12
  32. package/dist/components/VvCard/VvCard.umd.js +1 -1
  33. package/dist/components/VvCheckbox/VvCheckbox.es.js +14 -12
  34. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  35. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +14 -12
  36. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  37. package/dist/components/VvCombobox/VvCombobox.es.js +58 -34
  38. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  39. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +2 -8
  40. package/dist/components/VvCombobox/index.d.ts +9 -2
  41. package/dist/components/VvDialog/VvDialog.es.js +14 -12
  42. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  43. package/dist/components/VvDropdown/VvDropdown.es.js +24 -16
  44. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  45. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +2 -19
  46. package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +13 -1
  47. package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +9 -0
  48. package/dist/components/VvDropdown/index.d.ts +37 -0
  49. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +64 -15
  50. package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
  51. package/dist/components/VvDropdownItem/VvDropdownItem.es.js +322 -1
  52. package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
  53. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +14 -12
  54. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
  55. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +131 -76
  56. package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
  57. package/dist/components/VvInputFile/VvInputFile.es.js +14 -12
  58. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
  59. package/dist/components/VvInputFile/index.d.ts +5 -5
  60. package/dist/components/VvInputText/VvInputText.es.js +979 -107
  61. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  62. package/dist/components/VvInputText/VvInputText.vue.d.ts +44 -1
  63. package/dist/components/VvInputText/index.d.ts +28 -0
  64. package/dist/components/VvNav/VvNav.es.js +14 -12
  65. package/dist/components/VvNav/VvNav.umd.js +1 -1
  66. package/dist/components/VvNav/VvNav.vue.d.ts +1 -1
  67. package/dist/components/VvNavItem/VvNavItem.es.js +14 -12
  68. package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
  69. package/dist/components/VvProgress/VvProgress.es.js +14 -12
  70. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  71. package/dist/components/VvRadio/VvRadio.es.js +14 -12
  72. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  73. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +14 -12
  74. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  75. package/dist/components/VvSelect/VvSelect.es.js +14 -12
  76. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  77. package/dist/components/VvTab/VvTab.es.js +14 -12
  78. package/dist/components/VvTab/VvTab.umd.js +1 -1
  79. package/dist/components/VvTab/VvTab.vue.d.ts +1 -1
  80. package/dist/components/VvTextarea/VvTextarea.es.js +14 -12
  81. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  82. package/dist/components/VvTooltip/VvTooltip.es.js +14 -12
  83. package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
  84. package/dist/components/index.es.js +435 -195
  85. package/dist/components/index.umd.js +1 -1
  86. package/dist/composables/dropdown/useInjectDropdown.d.ts +3 -23
  87. package/dist/composables/dropdown/useProvideDropdown.d.ts +2 -3
  88. package/dist/composables/usePersistence.d.ts +3 -0
  89. package/dist/constants.d.ts +24 -21
  90. package/dist/directives/index.es.js +14 -12
  91. package/dist/directives/index.umd.js +1 -1
  92. package/dist/directives/v-tooltip.es.js +14 -12
  93. package/dist/directives/v-tooltip.umd.js +1 -1
  94. package/dist/icons.es.js +3 -3
  95. package/dist/icons.umd.js +1 -1
  96. package/dist/props/index.d.ts +11 -11
  97. package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +51 -9
  98. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +327 -64
  99. package/dist/stories/Button/Button.settings.d.ts +0 -1
  100. package/dist/types/nav.d.ts +1 -2
  101. package/package.json +1 -1
  102. package/src/assets/icons/detailed.json +1 -1
  103. package/src/assets/icons/normal.json +1 -1
  104. package/src/assets/icons/simple.json +1 -1
  105. package/src/components/VvAccordionGroup/VvAccordionGroup.vue +86 -69
  106. package/src/components/VvAccordionGroup/index.ts +3 -5
  107. package/src/components/VvCombobox/VvCombobox.vue +2 -0
  108. package/src/components/VvDropdown/VvDropdown.vue +11 -2
  109. package/src/components/VvDropdown/VvDropdownItem.vue +4 -1
  110. package/src/components/VvDropdown/VvDropdownOption.vue +3 -21
  111. package/src/components/VvDropdown/index.ts +35 -1
  112. package/src/components/VvInputText/VvInputText.vue +98 -3
  113. package/src/components/VvInputText/index.ts +24 -1
  114. package/src/composables/dropdown/useProvideDropdown.ts +4 -4
  115. package/src/composables/usePersistence.ts +76 -0
  116. package/src/constants.ts +23 -18
  117. package/src/props/index.ts +12 -7
  118. package/src/stories/AccordionGroup/AccordionGroup.settings.ts +2 -2
  119. package/src/stories/AccordionGroup/AccordionGroup.test.ts +5 -5
  120. package/src/stories/Button/Button.settings.ts +1 -4
  121. package/src/types/nav.ts +1 -3
@@ -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, AnchorTarget, ButtonType, ActionTag } from '@/constants';
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
- storeKey: StringConstructor;
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
- modelValue: globalThis.Ref<Set<string> & Omit<Set<string>, keyof Set<any>>>;
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
- storeKey: StringConstructor;
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
- storeKey: StringConstructor;
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
- modelValue: globalThis.Ref<Set<string> & Omit<Set<string>, keyof Set<any>>>;
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
- storeKey: StringConstructor;
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
- modelValue: globalThis.Ref<Set<string> & Omit<Set<string>, keyof Set<any>>>;
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<`header::${string}`, (_: any) => any>> & Partial<Record<`details::${string}`, (_: any) => any>> & {
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
- modelValue: Set<string> & Omit<Set<string>, keyof Set<any>>;
177
+ expandedAccordions: Set<string>;
136
178
  expand: (name?: string | string[] | undefined) => void;
137
179
  collapse: (name?: string | string[] | undefined) => void;
138
180
  }): any;