@volverjs/ui-vue 0.0.8 → 0.0.9-beta.10

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 (136) hide show
  1. package/README.md +4 -4
  2. package/auto-imports.d.ts +2 -0
  3. package/dist/components/VvAccordion/VvAccordion.es.js +7 -0
  4. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +7 -0
  5. package/dist/components/VvAction/VvAction.es.js +9 -1
  6. package/dist/components/VvAction/VvAction.umd.js +1 -1
  7. package/dist/components/VvAction/VvAction.vue.d.ts +9 -0
  8. package/dist/components/VvAction/index.d.ts +4 -0
  9. package/dist/components/VvAlert/VvAlert.es.js +14 -6
  10. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  11. package/dist/components/VvAlert/VvAlert.vue.d.ts +6 -6
  12. package/dist/components/VvAlert/index.d.ts +3 -3
  13. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +54 -10
  14. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  15. package/dist/components/VvAvatar/VvAvatar.es.js +7 -0
  16. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +7 -0
  17. package/dist/components/VvBadge/VvBadge.es.js +7 -0
  18. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +7 -0
  19. package/dist/components/VvButton/VvButton.es.js +11 -2
  20. package/dist/components/VvButton/VvButton.umd.js +1 -1
  21. package/dist/components/VvButton/VvButton.vue.d.ts +9 -0
  22. package/dist/components/VvButton/index.d.ts +4 -0
  23. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +7 -0
  24. package/dist/components/VvCard/VvCard.es.js +7 -0
  25. package/dist/components/VvCheckbox/VvCheckbox.es.js +91 -14
  26. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  27. package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +4 -4
  28. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +97 -15
  29. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  30. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +4 -4
  31. package/dist/components/VvCombobox/VvCombobox.es.js +164 -94
  32. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  33. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +35 -14
  34. package/dist/components/VvCombobox/index.d.ts +24 -7
  35. package/dist/components/VvDialog/VvDialog.es.js +67 -27
  36. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  37. package/dist/components/VvDropdown/VvDropdown.es.js +58 -20
  38. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  39. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +13 -12
  40. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +9 -0
  41. package/dist/components/VvDropdown/index.d.ts +1 -7
  42. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +9 -1
  43. package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
  44. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +7 -0
  45. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +7 -0
  46. package/dist/components/VvInputText/VvInputText.es.js +87 -14
  47. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  48. package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
  49. package/dist/components/VvNav/VvNav.es.js +10 -2
  50. package/dist/components/VvNav/VvNav.umd.js +1 -1
  51. package/dist/components/VvNav/index.d.ts +1 -1
  52. package/dist/components/VvProgress/VvProgress.es.js +7 -0
  53. package/dist/components/VvRadio/VvRadio.es.js +91 -14
  54. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  55. package/dist/components/VvRadio/VvRadio.vue.d.ts +4 -4
  56. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +97 -15
  57. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  58. package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +4 -4
  59. package/dist/components/VvSelect/VvSelect.es.js +87 -14
  60. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  61. package/dist/components/VvSelect/VvSelect.vue.d.ts +4 -4
  62. package/dist/components/VvTab/VvTab.es.js +10 -2
  63. package/dist/components/VvTab/VvTab.umd.js +1 -1
  64. package/dist/components/VvTextarea/VvTextarea.es.js +87 -14
  65. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  66. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +4 -4
  67. package/dist/components/VvTooltip/VvTooltip.es.js +7 -0
  68. package/dist/components/common/HintSlot.d.ts +4 -3
  69. package/dist/components/index.d.ts +5 -0
  70. package/dist/components/index.es.js +958 -431
  71. package/dist/components/index.umd.js +1 -1
  72. package/dist/composables/alert/useAlert.d.ts +27 -0
  73. package/dist/composables/index.d.ts +1 -0
  74. package/dist/composables/index.es.js +81 -0
  75. package/dist/composables/index.umd.js +1 -0
  76. package/dist/constants.d.ts +10 -0
  77. package/dist/directives/index.es.js +7 -0
  78. package/dist/directives/v-tooltip.es.js +7 -0
  79. package/dist/icons.es.js +3 -3
  80. package/dist/icons.umd.js +1 -1
  81. package/dist/props/index.d.ts +7 -0
  82. package/dist/resolvers/unplugin.es.js +3 -0
  83. package/dist/resolvers/unplugin.umd.js +1 -1
  84. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +43 -258
  85. package/dist/stories/Alert/Alert.settings.d.ts +3 -7
  86. package/dist/stories/AlertGroup/AlertGroupSlots.stories.d.ts +2 -2
  87. package/dist/stories/AlertGroup/AlertGroupWithComposable.stories.d.ts +6 -0
  88. package/dist/stories/Button/Button.settings.d.ts +3 -13
  89. package/dist/stories/Combobox/Combobox.settings.d.ts +117 -19
  90. package/dist/stories/Nav/Nav.settings.d.ts +3 -21
  91. package/package.json +54 -46
  92. package/src/assets/icons/detailed.json +1 -1
  93. package/src/assets/icons/normal.json +1 -1
  94. package/src/assets/icons/simple.json +1 -1
  95. package/src/components/VvAction/VvAction.vue +2 -1
  96. package/src/components/VvAlert/VvAlert.vue +5 -1
  97. package/src/components/VvAlert/index.ts +3 -3
  98. package/src/components/VvAlertGroup/VvAlertGroup.vue +30 -0
  99. package/src/components/VvAlertGroup/index.ts +11 -1
  100. package/src/components/VvButton/VvButton.vue +1 -0
  101. package/src/components/VvCheckbox/VvCheckbox.vue +8 -1
  102. package/src/components/VvCheckboxGroup/VvCheckboxGroup.vue +8 -1
  103. package/src/components/VvCombobox/VvCombobox.vue +9 -4
  104. package/src/components/VvCombobox/index.ts +24 -0
  105. package/src/components/VvDialog/VvDialog.vue +36 -17
  106. package/src/components/VvDialog/index.ts +13 -1
  107. package/src/components/VvDropdown/VvDropdown.vue +44 -15
  108. package/src/components/VvDropdown/index.ts +2 -8
  109. package/src/components/VvInputText/VvInputText.vue +8 -1
  110. package/src/components/VvNav/VvNav.vue +1 -1
  111. package/src/components/VvNav/index.ts +1 -1
  112. package/src/components/VvRadio/VvRadio.vue +8 -1
  113. package/src/components/VvRadioGroup/VvRadioGroup.vue +8 -1
  114. package/src/components/VvSelect/VvSelect.vue +8 -1
  115. package/src/components/VvTextarea/VvTextarea.vue +8 -1
  116. package/src/components/common/HintSlot.ts +26 -13
  117. package/src/components/index.ts +5 -0
  118. package/src/composables/alert/useAlert.ts +103 -0
  119. package/src/composables/index.ts +1 -0
  120. package/src/constants.ts +21 -0
  121. package/src/props/index.ts +7 -0
  122. package/src/resolvers/unplugin.ts +3 -0
  123. package/src/stories/Alert/Alert.settings.ts +3 -1
  124. package/src/stories/AlertGroup/AlertGroup.test.ts +13 -0
  125. package/src/stories/AlertGroup/AlertGroupSlots.stories.ts +3 -3
  126. package/src/stories/AlertGroup/AlertGroupWithComposable.stories.ts +118 -0
  127. package/src/stories/Button/Button.settings.ts +5 -3
  128. package/src/stories/Combobox/Combobox.settings.ts +119 -2
  129. package/src/stories/Nav/Nav.settings.ts +3 -1
  130. package/src/stories/Tab/Tab.stories.ts +3 -3
  131. package/src/stories/Textarea/TextareaLength.stories.ts +1 -1
  132. package/src/types/alert.d.ts +20 -0
  133. /package/dist/components/{VvNavItemTitle → VvNav}/VvNavItemTitle.vue.d.ts +0 -0
  134. /package/dist/components/{VvNavSeparator → VvNav}/VvNavSeparator.d.ts +0 -0
  135. /package/src/components/{VvNavItemTitle → VvNav}/VvNavItemTitle.vue +0 -0
  136. /package/src/components/{VvNavSeparator → VvNav}/VvNavSeparator.ts +0 -0
@@ -694,6 +694,13 @@ export declare const ActionProps: {
694
694
  default: ButtonType;
695
695
  validator: (value: ButtonType) => boolean;
696
696
  };
697
+ /**
698
+ * Button aria-label
699
+ */
700
+ ariaLabel: {
701
+ type: StringConstructor;
702
+ default: undefined;
703
+ };
697
704
  /**
698
705
  * The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
699
706
  * @see Documentation of [router-link](https://router.vuejs.org/api/#router-link) and [nuxt-link](https://nuxtjs.org/api/components-nuxt-link/)
@@ -22,6 +22,9 @@ const getStyleNames = function(kebabName) {
22
22
  "vv-dropdown-action"
23
23
  ];
24
24
  }
25
+ if (kebabName === "vv-button-group") {
26
+ return ["vv-button", "vv-button-group"];
27
+ }
25
28
  if (kebabName === "vv-accordion-group") {
26
29
  return ["vv-accordion", "vv-accordion-group"];
27
30
  }
@@ -1 +1 @@
1
- !function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((o="undefined"!=typeof globalThis?globalThis:o||self).components={})}(this,(function(o){"use strict";function e(o,e){if("string"!=typeof o)throw new TypeError("expected a string");return o.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\W/g,(o=>/[À-ž]/.test(o)?o:"-")).replace(/^-+|-+$/g,"").replace(/-{2,}/g,(o=>(null==e?void 0:e.condense)?"-":o)).toLowerCase()}const r=["vv-icon","vv-action"],t=["v-tooltip"],v=function(o){if(!r.includes(o))return"vv-dropdown"===o?["vv-dropdown","vv-dropdown-option","vv-dropdown-action"]:"vv-combobox"===o?["vv-select","vv-dropdown-option","vv-dropdown-optgroup","vv-dropdown","vv-dropdown-action"]:"vv-accordion-group"===o?["vv-accordion","vv-accordion-group"]:"vv-checkbox-group"===o?["vv-checkbox","vv-checkbox-group"]:"vv-radio-group"===o?["vv-radio","vv-radio-group"]:"vv-alert-group"===o?["vv-alert","vv-alert-group"]:"v-tooltip"===o?["vv-tooltip"]:[o]},n=function(o,e){const r=[];if(!e)return r;const t=v(o);return t&&t.forEach((o=>{r.push(`@volverjs/style/${"scss"===e?"scss/":""}components/${o}`)})),r};o.VolverResolver=function({prefix:o="vv",importStyle:r,directives:v,ignore:i}={}){return[{type:"component",resolve:t=>{if(!o||!t.toLowerCase().startsWith(o.toLowerCase()))return;const v=e(t).replace(`${o}-`,"vv-");return i&&i.includes(v)?void 0:{from:`@volverjs/ui-vue/${v}`,sideEffects:n(v,r)}}},{type:"directive",resolve:o=>{if(!v)return;const c=`v-${e(o)}`;return!t.includes(c)||i&&i.includes(c)?void 0:{from:`@volverjs/ui-vue/${c}`,sideEffects:n(c,r)}}}]},o.getStyleNames=v,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
1
+ !function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((o="undefined"!=typeof globalThis?globalThis:o||self).components={})}(this,(function(o){"use strict";function e(o,e){if("string"!=typeof o)throw new TypeError("expected a string");return o.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\W/g,(o=>/[À-ž]/.test(o)?o:"-")).replace(/^-+|-+$/g,"").replace(/-{2,}/g,(o=>(null==e?void 0:e.condense)?"-":o)).toLowerCase()}const t=["vv-icon","vv-action"],r=["v-tooltip"],v=function(o){if(!t.includes(o))return"vv-dropdown"===o?["vv-dropdown","vv-dropdown-option","vv-dropdown-action"]:"vv-combobox"===o?["vv-select","vv-dropdown-option","vv-dropdown-optgroup","vv-dropdown","vv-dropdown-action"]:"vv-button-group"===o?["vv-button","vv-button-group"]:"vv-accordion-group"===o?["vv-accordion","vv-accordion-group"]:"vv-checkbox-group"===o?["vv-checkbox","vv-checkbox-group"]:"vv-radio-group"===o?["vv-radio","vv-radio-group"]:"vv-alert-group"===o?["vv-alert","vv-alert-group"]:"v-tooltip"===o?["vv-tooltip"]:[o]},n=function(o,e){const t=[];if(!e)return t;const r=v(o);return r&&r.forEach((o=>{t.push(`@volverjs/style/${"scss"===e?"scss/":""}components/${o}`)})),t};o.VolverResolver=function({prefix:o="vv",importStyle:t,directives:v,ignore:i}={}){return[{type:"component",resolve:r=>{if(!o||!r.toLowerCase().startsWith(o.toLowerCase()))return;const v=e(r).replace(`${o}-`,"vv-");return i&&i.includes(v)?void 0:{from:`@volverjs/ui-vue/${v}`,sideEffects:n(v,t)}}},{type:"directive",resolve:o=>{if(!v)return;const c=`v-${e(o)}`;return!r.includes(c)||i&&i.includes(c)?void 0:{from:`@volverjs/ui-vue/${c}`,sideEffects:n(c,t)}}}]},o.getStyleNames=v,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
@@ -5,133 +5,26 @@ declare const _default: {
5
5
  includeStories?: (RegExp | string[]) | undefined;
6
6
  excludeStories?: (RegExp | string[]) | undefined;
7
7
  component?: Omit<import("vue").ConcreteComponent<{
8
- new (...args: any[]): {
9
- $: import("vue").ComponentInternalInstance;
10
- $data: {};
11
- $props: {
12
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
13
- disabled?: boolean | undefined;
14
- not?: boolean | undefined;
15
- collapse?: boolean | undefined;
16
- items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
17
- itemModifiers?: string | string[] | undefined;
18
- ref?: import("vue").VNodeRef | undefined;
19
- readonly modelValue?: string | unknown[] | undefined;
20
- readonly modifiers?: string | string[] | undefined;
21
- key?: string | number | symbol | undefined;
22
- ref_for?: boolean | undefined;
23
- ref_key?: string | undefined;
24
- class?: unknown;
25
- style?: unknown;
26
- readonly storeKey?: string | undefined;
27
- };
28
- $attrs: {
29
- [x: string]: unknown;
30
- };
31
- $refs: {
32
- [x: string]: unknown;
33
- };
34
- $slots: Readonly<{
35
- [name: string]: import("vue").Slot<any> | undefined;
36
- }>;
37
- $root: globalThis.ComponentPublicInstance | null;
38
- $parent: globalThis.ComponentPublicInstance | null;
39
- $emit: (event: string, ...args: any[]) => void;
40
- $el: any;
41
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
42
- modelValue: (ArrayConstructor | StringConstructor)[];
43
- items: {
44
- type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
45
- default: () => never[];
46
- };
47
- collapse: BooleanConstructor;
48
- itemModifiers: {
49
- type: globalThis.PropType<string | string[]>;
50
- default: string;
51
- };
52
- disabled: BooleanConstructor;
53
- not: BooleanConstructor;
54
- storeKey: StringConstructor;
55
- modifiers: globalThis.PropType<string | string[]>;
56
- }>> & {
57
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
58
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
59
- disabled: boolean;
60
- not: boolean;
61
- collapse: boolean;
62
- items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
63
- itemModifiers: string | string[];
64
- }, {}, string, {}> & {
65
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
66
- created?: ((() => void) | (() => void)[]) | undefined;
67
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
68
- mounted?: ((() => void) | (() => void)[]) | undefined;
69
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
70
- updated?: ((() => void) | (() => void)[]) | undefined;
71
- activated?: ((() => void) | (() => void)[]) | undefined;
72
- deactivated?: ((() => void) | (() => void)[]) | undefined;
73
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
74
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
75
- destroyed?: ((() => void) | (() => void)[]) | undefined;
76
- unmounted?: ((() => void) | (() => void)[]) | undefined;
77
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
78
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
79
- errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void)[]) | undefined;
80
- };
81
- $forceUpdate: () => void;
82
- $nextTick: typeof import("vue").nextTick;
83
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
84
- } & Readonly<import("vue").ExtractPropTypes<{
85
- modelValue: (ArrayConstructor | StringConstructor)[];
86
- items: {
87
- type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
88
- default: () => never[];
89
- };
90
- collapse: BooleanConstructor;
91
- itemModifiers: {
92
- type: globalThis.PropType<string | string[]>;
93
- default: string;
94
- };
95
- disabled: BooleanConstructor;
96
- not: BooleanConstructor;
97
- storeKey: StringConstructor;
98
- modifiers: globalThis.PropType<string | string[]>;
99
- }>> & {
100
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
101
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
102
- __isFragment?: undefined;
103
- __isTeleport?: undefined;
104
- __isSuspense?: undefined;
105
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
106
- modelValue: (ArrayConstructor | StringConstructor)[];
107
- items: {
108
- type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
109
- default: () => never[];
110
- };
111
- collapse: BooleanConstructor;
112
- itemModifiers: {
113
- type: globalThis.PropType<string | string[]>;
114
- default: string;
115
- };
116
- disabled: BooleanConstructor;
117
- not: BooleanConstructor;
118
- storeKey: StringConstructor;
119
- modifiers: globalThis.PropType<string | string[]>;
120
- }>> & {
121
8
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
122
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
123
- disabled: boolean;
124
- not: boolean;
125
- collapse: boolean;
126
- items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
127
- itemModifiers: string | string[];
128
- }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
129
- $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
130
- default?(_: {}): any;
131
- };
132
- })>, "props"> | undefined;
9
+ disabled?: boolean | undefined;
10
+ not?: boolean | undefined;
11
+ collapse?: boolean | undefined;
12
+ items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
13
+ itemModifiers?: string | string[] | undefined;
14
+ ref?: import("vue").VNodeRef | undefined;
15
+ readonly modelValue?: string | unknown[] | undefined;
16
+ readonly modifiers?: string | string[] | undefined;
17
+ key?: string | number | symbol | undefined;
18
+ ref_for?: boolean | undefined;
19
+ ref_key?: string | undefined;
20
+ class?: unknown;
21
+ style?: unknown;
22
+ readonly storeKey?: string | undefined;
23
+ } & {
24
+ default?: import("vue").VNodeChild | ((_: {}) => any);
25
+ }>, "props"> | undefined;
133
26
  subcomponents?: Record<string, Omit<import("vue").ConcreteComponent<unknown>, "props">> | undefined;
134
- play?: import("@storybook/types").PlayFunction<import("@storybook/vue3/dist/render-c842c5d5").V, {
27
+ play?: import("@storybook/types").PlayFunction<import("@storybook/vue3/dist/render-c842c5d5").V, import("@storybook/vue3").ComponentPropsAndSlots<{
135
28
  new (...args: any[]): {
136
29
  $: import("vue").ComponentInternalInstance;
137
30
  $data: {};
@@ -256,136 +149,28 @@ declare const _default: {
256
149
  $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
257
150
  default?(_: {}): any;
258
151
  };
259
- })> | undefined;
152
+ })>> | undefined;
260
153
  tags?: string[] | undefined;
261
154
  decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/vue3/dist/render-c842c5d5").V, {
262
- new (...args: any[]): {
263
- $: import("vue").ComponentInternalInstance;
264
- $data: {};
265
- $props: {
266
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
267
- disabled?: boolean | undefined;
268
- not?: boolean | undefined;
269
- collapse?: boolean | undefined;
270
- items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
271
- itemModifiers?: string | string[] | undefined;
272
- ref?: import("vue").VNodeRef | undefined;
273
- readonly modelValue?: string | unknown[] | undefined;
274
- readonly modifiers?: string | string[] | undefined;
275
- key?: string | number | symbol | undefined;
276
- ref_for?: boolean | undefined;
277
- ref_key?: string | undefined;
278
- class?: unknown;
279
- style?: unknown;
280
- readonly storeKey?: string | undefined;
281
- };
282
- $attrs: {
283
- [x: string]: unknown;
284
- };
285
- $refs: {
286
- [x: string]: unknown;
287
- };
288
- $slots: Readonly<{
289
- [name: string]: import("vue").Slot<any> | undefined;
290
- }>;
291
- $root: globalThis.ComponentPublicInstance | null;
292
- $parent: globalThis.ComponentPublicInstance | null;
293
- $emit: (event: string, ...args: any[]) => void;
294
- $el: any;
295
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
296
- modelValue: (ArrayConstructor | StringConstructor)[];
297
- items: {
298
- type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
299
- default: () => never[];
300
- };
301
- collapse: BooleanConstructor;
302
- itemModifiers: {
303
- type: globalThis.PropType<string | string[]>;
304
- default: string;
305
- };
306
- disabled: BooleanConstructor;
307
- not: BooleanConstructor;
308
- storeKey: StringConstructor;
309
- modifiers: globalThis.PropType<string | string[]>;
310
- }>> & {
311
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
312
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
313
- disabled: boolean;
314
- not: boolean;
315
- collapse: boolean;
316
- items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
317
- itemModifiers: string | string[];
318
- }, {}, string, {}> & {
319
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
320
- created?: ((() => void) | (() => void)[]) | undefined;
321
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
322
- mounted?: ((() => void) | (() => void)[]) | undefined;
323
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
324
- updated?: ((() => void) | (() => void)[]) | undefined;
325
- activated?: ((() => void) | (() => void)[]) | undefined;
326
- deactivated?: ((() => void) | (() => void)[]) | undefined;
327
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
328
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
329
- destroyed?: ((() => void) | (() => void)[]) | undefined;
330
- unmounted?: ((() => void) | (() => void)[]) | undefined;
331
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
332
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
333
- errorCaptured?: (((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: globalThis.ComponentPublicInstance | null, info: string) => boolean | void)[]) | undefined;
334
- };
335
- $forceUpdate: () => void;
336
- $nextTick: typeof import("vue").nextTick;
337
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
338
- } & Readonly<import("vue").ExtractPropTypes<{
339
- modelValue: (ArrayConstructor | StringConstructor)[];
340
- items: {
341
- type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
342
- default: () => never[];
343
- };
344
- collapse: BooleanConstructor;
345
- itemModifiers: {
346
- type: globalThis.PropType<string | string[]>;
347
- default: string;
348
- };
349
- disabled: BooleanConstructor;
350
- not: BooleanConstructor;
351
- storeKey: StringConstructor;
352
- modifiers: globalThis.PropType<string | string[]>;
353
- }>> & {
354
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
355
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
356
- __isFragment?: undefined;
357
- __isTeleport?: undefined;
358
- __isSuspense?: undefined;
359
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
360
- modelValue: (ArrayConstructor | StringConstructor)[];
361
- items: {
362
- type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
363
- default: () => never[];
364
- };
365
- collapse: BooleanConstructor;
366
- itemModifiers: {
367
- type: globalThis.PropType<string | string[]>;
368
- default: string;
369
- };
370
- disabled: BooleanConstructor;
371
- not: BooleanConstructor;
372
- storeKey: StringConstructor;
373
- modifiers: globalThis.PropType<string | string[]>;
374
- }>> & {
375
155
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
376
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, {
377
- disabled: boolean;
378
- not: boolean;
379
- collapse: boolean;
380
- items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
381
- itemModifiers: string | string[];
382
- }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
383
- $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
384
- default?(_: {}): any;
385
- };
386
- })>[] | undefined;
156
+ disabled?: boolean | undefined;
157
+ not?: boolean | undefined;
158
+ collapse?: boolean | undefined;
159
+ items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
160
+ itemModifiers?: string | string[] | undefined;
161
+ ref?: import("vue").VNodeRef | undefined;
162
+ readonly modelValue?: string | unknown[] | undefined;
163
+ readonly modifiers?: string | string[] | undefined;
164
+ key?: string | number | symbol | undefined;
165
+ ref_for?: boolean | undefined;
166
+ ref_key?: string | undefined;
167
+ class?: unknown;
168
+ style?: unknown;
169
+ readonly storeKey?: string | undefined;
170
+ default?: import("vue").VNodeChild | ((_: {}) => any);
171
+ }>[] | undefined;
387
172
  parameters?: import("@storybook/types").Parameters | undefined;
388
- args?: Partial<{
173
+ args?: Partial<import("@storybook/vue3").ComponentPropsAndSlots<{
389
174
  new (...args: any[]): {
390
175
  $: import("vue").ComponentInternalInstance;
391
176
  $data: {};
@@ -510,8 +295,8 @@ declare const _default: {
510
295
  $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
511
296
  default?(_: {}): any;
512
297
  };
513
- })> | undefined;
514
- argTypes?: Partial<import("@storybook/types").ArgTypes<{
298
+ })>> | undefined;
299
+ argTypes?: Partial<import("@storybook/types").ArgTypes<import("@storybook/vue3").ComponentPropsAndSlots<{
515
300
  new (...args: any[]): {
516
301
  $: import("vue").ComponentInternalInstance;
517
302
  $data: {};
@@ -636,8 +421,8 @@ declare const _default: {
636
421
  $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
637
422
  default?(_: {}): any;
638
423
  };
639
- })>> | undefined;
640
- loaders?: import("@storybook/types").LoaderFunction<import("@storybook/vue3/dist/render-c842c5d5").V, {
424
+ })>>> | undefined;
425
+ loaders?: import("@storybook/types").LoaderFunction<import("@storybook/vue3/dist/render-c842c5d5").V, import("@storybook/vue3").ComponentPropsAndSlots<{
641
426
  new (...args: any[]): {
642
427
  $: import("vue").ComponentInternalInstance;
643
428
  $data: {};
@@ -762,8 +547,8 @@ declare const _default: {
762
547
  $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
763
548
  default?(_: {}): any;
764
549
  };
765
- })>[] | undefined;
766
- render?: import("@storybook/types").ArgsStoryFn<import("@storybook/vue3/dist/render-c842c5d5").V, {
550
+ })>>[] | undefined;
551
+ render?: import("@storybook/types").ArgsStoryFn<import("@storybook/vue3/dist/render-c842c5d5").V, import("@storybook/vue3").ComponentPropsAndSlots<{
767
552
  new (...args: any[]): {
768
553
  $: import("vue").ComponentInternalInstance;
769
554
  $data: {};
@@ -888,7 +673,7 @@ declare const _default: {
888
673
  $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
889
674
  default?(_: {}): any;
890
675
  };
891
- })> | undefined;
676
+ })>> | undefined;
892
677
  };
893
678
  export default _default;
894
679
  export declare const Default: Story;
@@ -1,10 +1,6 @@
1
- export declare const defaultArgs: {
2
- title: string;
3
- content: string;
4
- dismissable: boolean;
5
- autoClose: number;
6
- role: string;
7
- };
1
+ import type { Meta } from '@storybook/vue3';
2
+ import type { VvAlert } from '@/components';
3
+ export declare const defaultArgs: Meta<typeof VvAlert>['args'];
8
4
  export declare const argTypes: {
9
5
  title: {
10
6
  description: string;
@@ -1,7 +1,7 @@
1
1
  import type { Meta } from '@storybook/vue3';
2
- import VvAlert from '@/components/VvAlert/VvAlert.vue';
2
+ import VvAlertGroup from '@/components/VvAlertGroup/VvAlertGroup.vue';
3
3
  import { type Story } from './AlertGroup.stories';
4
- declare const meta: Meta<typeof VvAlert>;
4
+ declare const meta: Meta<typeof VvAlertGroup>;
5
5
  export default meta;
6
6
  export declare const Default: Story;
7
7
  export declare const Before: Story;
@@ -0,0 +1,6 @@
1
+ import type { Meta } from '@storybook/vue3';
2
+ import VvAlertGroup from '@/components/VvAlertGroup/VvAlertGroup.vue';
3
+ import { type Story } from './AlertGroup.stories';
4
+ declare const meta: Meta<typeof VvAlertGroup>;
5
+ export default meta;
6
+ export declare const UseComposable: Story;
@@ -1,16 +1,6 @@
1
- export declare const defaultArgs: {
2
- label: string;
3
- type: string;
4
- toggle: boolean;
5
- unselectable: boolean;
6
- loading: boolean;
7
- pressed: boolean;
8
- active: boolean;
9
- disabled: boolean;
10
- rel: string;
11
- iconPosition: string;
12
- icon: undefined;
13
- };
1
+ import type { Meta } from '@storybook/vue3';
2
+ import type { VvButton } from '@/components';
3
+ export declare const defaultArgs: Meta<typeof VvButton>['args'];
14
4
  export declare const argTypes: {
15
5
  before: {
16
6
  description: string;
@@ -1,10 +1,6 @@
1
- export declare const defaultArgs: {
2
- name: string;
3
- maxValues: undefined;
4
- options: string[];
5
- placeholder: string;
6
- label: string;
7
- };
1
+ import type { VvCombobox } from '@/components';
2
+ import type { Meta } from '@storybook/vue3';
3
+ export declare const defaultArgs: Meta<typeof VvCombobox>['args'];
8
4
  export declare const argTypes: {
9
5
  triggerWidth: {
10
6
  table: {
@@ -42,6 +38,83 @@ export declare const argTypes: {
42
38
  };
43
39
  };
44
40
  };
41
+ noOptionsLabel: {
42
+ description: string;
43
+ control: {
44
+ type: string;
45
+ };
46
+ table: {
47
+ defaultValue: {
48
+ summary: string;
49
+ };
50
+ };
51
+ };
52
+ selectedHintLabel: {
53
+ description: string;
54
+ control: {
55
+ type: string;
56
+ };
57
+ table: {
58
+ defaultValue: {
59
+ summary: string;
60
+ };
61
+ };
62
+ };
63
+ deselectActionLabel: {
64
+ description: string;
65
+ control: {
66
+ type: string;
67
+ };
68
+ table: {
69
+ defaultValue: {
70
+ summary: string;
71
+ };
72
+ };
73
+ };
74
+ selectHintLabel: {
75
+ description: string;
76
+ control: {
77
+ type: string;
78
+ };
79
+ table: {
80
+ defaultValue: {
81
+ summary: string;
82
+ };
83
+ };
84
+ };
85
+ deselectHintLabel: {
86
+ description: string;
87
+ control: {
88
+ type: string;
89
+ };
90
+ table: {
91
+ defaultValue: {
92
+ summary: string;
93
+ };
94
+ };
95
+ };
96
+ closeLabel: {
97
+ description: string;
98
+ control: {
99
+ type: string;
100
+ };
101
+ table: {
102
+ defaultValue: {
103
+ summary: string;
104
+ };
105
+ };
106
+ };
107
+ loadingLabel: {
108
+ description: string;
109
+ control: {
110
+ type: string;
111
+ };
112
+ table: {
113
+ defaultValue: {
114
+ summary: string;
115
+ };
116
+ };
117
+ };
45
118
  placeholder: {
46
119
  description: string;
47
120
  control: {
@@ -56,11 +129,24 @@ export declare const argTypes: {
56
129
  };
57
130
  };
58
131
  };
132
+ searchFunction: {
133
+ description: string;
134
+ table: {
135
+ defaultValue: {
136
+ summary: undefined;
137
+ };
138
+ };
139
+ };
59
140
  searchPlaceholder: {
60
141
  description: string;
61
142
  control: {
62
143
  type: string;
63
144
  };
145
+ table: {
146
+ defaultValue: {
147
+ summary: string;
148
+ };
149
+ };
64
150
  };
65
151
  debounceSearch: {
66
152
  description: string;
@@ -117,6 +203,22 @@ export declare const argTypes: {
117
203
  type: string;
118
204
  };
119
205
  description: string;
206
+ table: {
207
+ defaultValue: {
208
+ summary: string;
209
+ };
210
+ };
211
+ };
212
+ transitionName: {
213
+ control: {
214
+ type: string;
215
+ };
216
+ description: string;
217
+ table: {
218
+ defaultValue: {
219
+ summary: string;
220
+ };
221
+ };
120
222
  };
121
223
  autoOpen: {
122
224
  description: string;
@@ -134,6 +236,14 @@ export declare const argTypes: {
134
236
  };
135
237
  };
136
238
  };
239
+ autofocusFirst: {
240
+ description: string;
241
+ table: {
242
+ defaultValue: {
243
+ summary: boolean;
244
+ };
245
+ };
246
+ };
137
247
  before: {
138
248
  control: {
139
249
  type: string;
@@ -246,12 +356,6 @@ export declare const argTypes: {
246
356
  };
247
357
  };
248
358
  };
249
- transitionName: {
250
- description: string;
251
- control: {
252
- type: string;
253
- };
254
- };
255
359
  offset: {
256
360
  description: string;
257
361
  control: {
@@ -442,12 +546,6 @@ export declare const argTypes: {
442
546
  };
443
547
  };
444
548
  };
445
- loadingLabel: {
446
- description: string;
447
- control: {
448
- type: string;
449
- };
450
- };
451
549
  hintLabel: {
452
550
  description: string;
453
551
  control: {
@@ -1,24 +1,6 @@
1
- export declare const defaultArgs: {
2
- items: ({
3
- title: string;
4
- href: string;
5
- to?: undefined;
6
- on?: undefined;
7
- } | {
8
- title: string;
9
- to: string;
10
- href?: undefined;
11
- on?: undefined;
12
- } | {
13
- title: string;
14
- to: string;
15
- on: {
16
- click: () => void;
17
- };
18
- href?: undefined;
19
- })[];
20
- modifiers: string;
21
- };
1
+ import type { Meta } from '@storybook/vue3';
2
+ import type { VvNav } from '@/components';
3
+ export declare const defaultArgs: Meta<typeof VvNav>['args'];
22
4
  export declare const argTypes: {
23
5
  modifiers: {
24
6
  options: string[];