@volverjs/ui-vue 0.0.10-beta.67 → 0.0.10-beta.69
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/dist/components/VvAccordion/VvAccordion.vue.d.ts +5 -4
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +4 -2
- package/dist/components/VvAction/VvAction.vue.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +6 -7
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +14 -8
- package/dist/components/VvAlert/index.d.ts +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +6 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +5 -3
- package/dist/components/VvAlertGroup/index.d.ts +1 -1
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +2 -2
- package/dist/components/VvButton/VvButton.es.js +6 -7
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +9 -5
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +3 -2
- package/dist/components/VvCard/VvCard.vue.d.ts +7 -4
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +14 -10
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +13 -9
- package/dist/components/VvCombobox/VvCombobox.es.js +301 -182
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +41 -23
- package/dist/components/VvCombobox/index.d.ts +36 -4
- package/dist/components/VvDialog/VvDialog.vue.d.ts +5 -3
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +11 -8
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +2 -116
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +4 -3
- package/dist/components/VvIcon/VvIcon.es.js +5 -6
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvIcon/index.d.ts +2 -2
- package/dist/components/VvInputFile/VvInputFile.es.js +50 -13
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +13 -9
- package/dist/components/VvInputFile/index.d.ts +4 -4
- package/dist/components/VvInputText/VvInputText.es.js +43 -18
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +37 -20
- package/dist/components/VvInputText/index.d.ts +12 -4
- package/dist/components/VvNav/VvNav.vue.d.ts +4 -3
- package/dist/components/VvNav/VvNavItem.vue.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +14 -10
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +13 -9
- package/dist/components/VvSelect/VvSelect.es.js +143 -51
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +24 -14
- package/dist/components/VvSelect/index.d.ts +34 -2
- package/dist/components/VvTab/VvTab.vue.d.ts +3 -2
- package/dist/components/VvTextarea/VvTextarea.es.js +10 -9
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +23 -16
- package/dist/components/VvTextarea/index.d.ts +1 -1
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +1 -1
- package/dist/components/{VvInputText → common}/VvInputClearAction.d.ts +10 -0
- package/dist/components/{VvInputText → common}/VvInputPasswordAction.d.ts +9 -0
- package/dist/components/{VvInputText → common}/VvInputStepAction.d.ts +9 -0
- package/dist/components/index.es.js +208 -80
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +4 -4
- package/dist/composables/dropdown/useDropdownContextmenu.d.ts +1 -1
- package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +3 -3
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +46 -49
- package/dist/stories/Alert/Alert.settings.d.ts +1 -1
- package/dist/stories/Button/Button.settings.d.ts +1 -1
- package/dist/stories/Combobox/Combobox.settings.d.ts +1 -1
- package/dist/stories/Nav/Nav.settings.d.ts +1 -1
- package/dist/stories/Tab/Tab.settings.d.ts +1 -1
- package/dist/utils/FileUtilities.d.ts +14 -0
- package/package.json +36 -36
package/dist/props/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { VvIconProps } from '@/components/VvIcon';
|
|
2
3
|
import type { AutoPlacementOptions, FlipOptions, OffsetOptions, ShiftOptions, SizeOptions } from '@/types/floating-ui';
|
|
3
4
|
import type { Option } from '@/types/generic';
|
|
4
5
|
import type { NavItem } from '@/types/nav';
|
|
5
|
-
import type { PropType } from 'vue';
|
|
6
6
|
import { ActionTag, ButtonType, Placement, Position, Side, StorageType, Strategy } from '@/constants';
|
|
7
7
|
export declare const LinkProps: {
|
|
8
8
|
/**
|
|
@@ -215,7 +215,7 @@ export declare const DebounceProps: {
|
|
|
215
215
|
export declare const IconProps: {
|
|
216
216
|
/**
|
|
217
217
|
* VvIcon name or props
|
|
218
|
-
* @see
|
|
218
|
+
* @see VvIcon
|
|
219
219
|
*/
|
|
220
220
|
icon: {
|
|
221
221
|
type: PropType<string | VvIconProps>;
|
|
@@ -451,7 +451,7 @@ export declare const InputTextareaProps: {
|
|
|
451
451
|
};
|
|
452
452
|
/**
|
|
453
453
|
* VvIcon name or props
|
|
454
|
-
* @see
|
|
454
|
+
* @see VvIcon
|
|
455
455
|
*/
|
|
456
456
|
icon: {
|
|
457
457
|
type: PropType<string | VvIconProps>;
|
|
@@ -4,33 +4,8 @@ declare const _default: {
|
|
|
4
4
|
id?: import("@storybook/types").ComponentId;
|
|
5
5
|
includeStories?: RegExp | string[];
|
|
6
6
|
excludeStories?: RegExp | string[];
|
|
7
|
-
component?: Omit<import("vue").ConcreteComponent<
|
|
8
|
-
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
modelValue: string | string[] | undefined;
|
|
11
|
-
not: boolean;
|
|
12
|
-
modifiers: string | string[];
|
|
13
|
-
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
14
|
-
itemModifiers: string | string[];
|
|
15
|
-
storageType: "local" | "session";
|
|
16
|
-
}> & Omit<{
|
|
17
|
-
readonly collapse: boolean;
|
|
18
|
-
readonly disabled: boolean;
|
|
19
|
-
readonly not: boolean;
|
|
20
|
-
readonly items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
21
|
-
readonly itemModifiers: string | string[];
|
|
22
|
-
readonly storageType: "local" | "session";
|
|
23
|
-
readonly modelValue?: string | string[] | undefined;
|
|
24
|
-
readonly modifiers?: string | string[] | undefined;
|
|
25
|
-
readonly storageKey?: string | undefined;
|
|
26
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "collapse" | "disabled" | "modelValue" | "not" | "modifiers" | "items" | "itemModifiers" | "storageType"> & {
|
|
27
|
-
default?: ((props: {
|
|
28
|
-
expandedAccordions: Set<string>;
|
|
29
|
-
expand: (name?: string | string[]) => void;
|
|
30
|
-
collapse: boolean & ((name?: string | string[]) => void);
|
|
31
|
-
}) => any) | import("vue").VNodeChild;
|
|
32
|
-
}>, "props"> | undefined;
|
|
33
|
-
subcomponents?: Record<string, Omit<import("vue").ConcreteComponent<unknown>, "props">> | undefined;
|
|
7
|
+
component?: Omit<import("vue").ConcreteComponent<any>, "props"> | undefined;
|
|
8
|
+
subcomponents?: Record<string, Omit<import("vue").ConcreteComponent<any>, "props">> | undefined;
|
|
34
9
|
play?: import("@storybook/types").PlayFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
35
10
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
36
11
|
modelValue: {
|
|
@@ -169,6 +144,7 @@ declare const _default: {
|
|
|
169
144
|
groupExpand: (name?: string | string[]) => void;
|
|
170
145
|
groupCollapse: (name?: string | string[]) => void;
|
|
171
146
|
}) => any) | undefined;
|
|
147
|
+
} & {
|
|
172
148
|
[x: `content::${string}`]: ((props: {
|
|
173
149
|
isExpanded: boolean;
|
|
174
150
|
expand: () => void;
|
|
@@ -176,11 +152,12 @@ declare const _default: {
|
|
|
176
152
|
groupExpand: (name?: string | string[]) => void;
|
|
177
153
|
groupCollapse: (name?: string | string[]) => void;
|
|
178
154
|
}) => any) | undefined;
|
|
179
|
-
|
|
155
|
+
} & {
|
|
156
|
+
default?: (props: {
|
|
180
157
|
expandedAccordions: Set<string>;
|
|
181
158
|
expand: (name?: string | string[]) => void;
|
|
182
159
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
183
|
-
}) => any
|
|
160
|
+
}) => any;
|
|
184
161
|
};
|
|
185
162
|
})>> | undefined;
|
|
186
163
|
globals?: import("@storybook/types").Globals;
|
|
@@ -378,6 +355,7 @@ declare const _default: {
|
|
|
378
355
|
groupExpand: (name?: string | string[]) => void;
|
|
379
356
|
groupCollapse: (name?: string | string[]) => void;
|
|
380
357
|
}) => any) | undefined;
|
|
358
|
+
} & {
|
|
381
359
|
[x: `content::${string}`]: ((props: {
|
|
382
360
|
isExpanded: boolean;
|
|
383
361
|
expand: () => void;
|
|
@@ -385,11 +363,12 @@ declare const _default: {
|
|
|
385
363
|
groupExpand: (name?: string | string[]) => void;
|
|
386
364
|
groupCollapse: (name?: string | string[]) => void;
|
|
387
365
|
}) => any) | undefined;
|
|
388
|
-
|
|
366
|
+
} & {
|
|
367
|
+
default?: (props: {
|
|
389
368
|
expandedAccordions: Set<string>;
|
|
390
369
|
expand: (name?: string | string[]) => void;
|
|
391
370
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
392
|
-
}) => any
|
|
371
|
+
}) => any;
|
|
393
372
|
};
|
|
394
373
|
})>> | undefined;
|
|
395
374
|
argTypes?: Partial<import("@storybook/vue3").ArgTypes<import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
@@ -530,6 +509,7 @@ declare const _default: {
|
|
|
530
509
|
groupExpand: (name?: string | string[]) => void;
|
|
531
510
|
groupCollapse: (name?: string | string[]) => void;
|
|
532
511
|
}) => any) | undefined;
|
|
512
|
+
} & {
|
|
533
513
|
[x: `content::${string}`]: ((props: {
|
|
534
514
|
isExpanded: boolean;
|
|
535
515
|
expand: () => void;
|
|
@@ -537,11 +517,12 @@ declare const _default: {
|
|
|
537
517
|
groupExpand: (name?: string | string[]) => void;
|
|
538
518
|
groupCollapse: (name?: string | string[]) => void;
|
|
539
519
|
}) => any) | undefined;
|
|
540
|
-
|
|
520
|
+
} & {
|
|
521
|
+
default?: (props: {
|
|
541
522
|
expandedAccordions: Set<string>;
|
|
542
523
|
expand: (name?: string | string[]) => void;
|
|
543
524
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
544
|
-
}) => any
|
|
525
|
+
}) => any;
|
|
545
526
|
};
|
|
546
527
|
})>>> | undefined;
|
|
547
528
|
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
@@ -682,6 +663,7 @@ declare const _default: {
|
|
|
682
663
|
groupExpand: (name?: string | string[]) => void;
|
|
683
664
|
groupCollapse: (name?: string | string[]) => void;
|
|
684
665
|
}) => any) | undefined;
|
|
666
|
+
} & {
|
|
685
667
|
[x: `content::${string}`]: ((props: {
|
|
686
668
|
isExpanded: boolean;
|
|
687
669
|
expand: () => void;
|
|
@@ -689,11 +671,12 @@ declare const _default: {
|
|
|
689
671
|
groupExpand: (name?: string | string[]) => void;
|
|
690
672
|
groupCollapse: (name?: string | string[]) => void;
|
|
691
673
|
}) => any) | undefined;
|
|
692
|
-
|
|
674
|
+
} & {
|
|
675
|
+
default?: (props: {
|
|
693
676
|
expandedAccordions: Set<string>;
|
|
694
677
|
expand: (name?: string | string[]) => void;
|
|
695
678
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
696
|
-
}) => any
|
|
679
|
+
}) => any;
|
|
697
680
|
};
|
|
698
681
|
})>> | import("@storybook/types").LoaderFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
699
682
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -833,6 +816,7 @@ declare const _default: {
|
|
|
833
816
|
groupExpand: (name?: string | string[]) => void;
|
|
834
817
|
groupCollapse: (name?: string | string[]) => void;
|
|
835
818
|
}) => any) | undefined;
|
|
819
|
+
} & {
|
|
836
820
|
[x: `content::${string}`]: ((props: {
|
|
837
821
|
isExpanded: boolean;
|
|
838
822
|
expand: () => void;
|
|
@@ -840,11 +824,12 @@ declare const _default: {
|
|
|
840
824
|
groupExpand: (name?: string | string[]) => void;
|
|
841
825
|
groupCollapse: (name?: string | string[]) => void;
|
|
842
826
|
}) => any) | undefined;
|
|
843
|
-
|
|
827
|
+
} & {
|
|
828
|
+
default?: (props: {
|
|
844
829
|
expandedAccordions: Set<string>;
|
|
845
830
|
expand: (name?: string | string[]) => void;
|
|
846
831
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
847
|
-
}) => any
|
|
832
|
+
}) => any;
|
|
848
833
|
};
|
|
849
834
|
})>>[] | undefined;
|
|
850
835
|
beforeEach?: import("@storybook/types").BeforeEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
@@ -985,6 +970,7 @@ declare const _default: {
|
|
|
985
970
|
groupExpand: (name?: string | string[]) => void;
|
|
986
971
|
groupCollapse: (name?: string | string[]) => void;
|
|
987
972
|
}) => any) | undefined;
|
|
973
|
+
} & {
|
|
988
974
|
[x: `content::${string}`]: ((props: {
|
|
989
975
|
isExpanded: boolean;
|
|
990
976
|
expand: () => void;
|
|
@@ -992,11 +978,12 @@ declare const _default: {
|
|
|
992
978
|
groupExpand: (name?: string | string[]) => void;
|
|
993
979
|
groupCollapse: (name?: string | string[]) => void;
|
|
994
980
|
}) => any) | undefined;
|
|
995
|
-
|
|
981
|
+
} & {
|
|
982
|
+
default?: (props: {
|
|
996
983
|
expandedAccordions: Set<string>;
|
|
997
984
|
expand: (name?: string | string[]) => void;
|
|
998
985
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
999
|
-
}) => any
|
|
986
|
+
}) => any;
|
|
1000
987
|
};
|
|
1001
988
|
})>> | import("@storybook/types").BeforeEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
1002
989
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -1136,6 +1123,7 @@ declare const _default: {
|
|
|
1136
1123
|
groupExpand: (name?: string | string[]) => void;
|
|
1137
1124
|
groupCollapse: (name?: string | string[]) => void;
|
|
1138
1125
|
}) => any) | undefined;
|
|
1126
|
+
} & {
|
|
1139
1127
|
[x: `content::${string}`]: ((props: {
|
|
1140
1128
|
isExpanded: boolean;
|
|
1141
1129
|
expand: () => void;
|
|
@@ -1143,11 +1131,12 @@ declare const _default: {
|
|
|
1143
1131
|
groupExpand: (name?: string | string[]) => void;
|
|
1144
1132
|
groupCollapse: (name?: string | string[]) => void;
|
|
1145
1133
|
}) => any) | undefined;
|
|
1146
|
-
|
|
1134
|
+
} & {
|
|
1135
|
+
default?: (props: {
|
|
1147
1136
|
expandedAccordions: Set<string>;
|
|
1148
1137
|
expand: (name?: string | string[]) => void;
|
|
1149
1138
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
1150
|
-
}) => any
|
|
1139
|
+
}) => any;
|
|
1151
1140
|
};
|
|
1152
1141
|
})>>[] | undefined;
|
|
1153
1142
|
experimental_afterEach?: import("@storybook/types").AfterEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
@@ -1288,6 +1277,7 @@ declare const _default: {
|
|
|
1288
1277
|
groupExpand: (name?: string | string[]) => void;
|
|
1289
1278
|
groupCollapse: (name?: string | string[]) => void;
|
|
1290
1279
|
}) => any) | undefined;
|
|
1280
|
+
} & {
|
|
1291
1281
|
[x: `content::${string}`]: ((props: {
|
|
1292
1282
|
isExpanded: boolean;
|
|
1293
1283
|
expand: () => void;
|
|
@@ -1295,11 +1285,12 @@ declare const _default: {
|
|
|
1295
1285
|
groupExpand: (name?: string | string[]) => void;
|
|
1296
1286
|
groupCollapse: (name?: string | string[]) => void;
|
|
1297
1287
|
}) => any) | undefined;
|
|
1298
|
-
|
|
1288
|
+
} & {
|
|
1289
|
+
default?: (props: {
|
|
1299
1290
|
expandedAccordions: Set<string>;
|
|
1300
1291
|
expand: (name?: string | string[]) => void;
|
|
1301
1292
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
1302
|
-
}) => any
|
|
1293
|
+
}) => any;
|
|
1303
1294
|
};
|
|
1304
1295
|
})>> | import("@storybook/types").AfterEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
1305
1296
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -1439,6 +1430,7 @@ declare const _default: {
|
|
|
1439
1430
|
groupExpand: (name?: string | string[]) => void;
|
|
1440
1431
|
groupCollapse: (name?: string | string[]) => void;
|
|
1441
1432
|
}) => any) | undefined;
|
|
1433
|
+
} & {
|
|
1442
1434
|
[x: `content::${string}`]: ((props: {
|
|
1443
1435
|
isExpanded: boolean;
|
|
1444
1436
|
expand: () => void;
|
|
@@ -1446,11 +1438,12 @@ declare const _default: {
|
|
|
1446
1438
|
groupExpand: (name?: string | string[]) => void;
|
|
1447
1439
|
groupCollapse: (name?: string | string[]) => void;
|
|
1448
1440
|
}) => any) | undefined;
|
|
1449
|
-
|
|
1441
|
+
} & {
|
|
1442
|
+
default?: (props: {
|
|
1450
1443
|
expandedAccordions: Set<string>;
|
|
1451
1444
|
expand: (name?: string | string[]) => void;
|
|
1452
1445
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
1453
|
-
}) => any
|
|
1446
|
+
}) => any;
|
|
1454
1447
|
};
|
|
1455
1448
|
})>>[] | undefined;
|
|
1456
1449
|
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
@@ -1591,6 +1584,7 @@ declare const _default: {
|
|
|
1591
1584
|
groupExpand: (name?: string | string[]) => void;
|
|
1592
1585
|
groupCollapse: (name?: string | string[]) => void;
|
|
1593
1586
|
}) => any) | undefined;
|
|
1587
|
+
} & {
|
|
1594
1588
|
[x: `content::${string}`]: ((props: {
|
|
1595
1589
|
isExpanded: boolean;
|
|
1596
1590
|
expand: () => void;
|
|
@@ -1598,11 +1592,12 @@ declare const _default: {
|
|
|
1598
1592
|
groupExpand: (name?: string | string[]) => void;
|
|
1599
1593
|
groupCollapse: (name?: string | string[]) => void;
|
|
1600
1594
|
}) => any) | undefined;
|
|
1601
|
-
|
|
1595
|
+
} & {
|
|
1596
|
+
default?: (props: {
|
|
1602
1597
|
expandedAccordions: Set<string>;
|
|
1603
1598
|
expand: (name?: string | string[]) => void;
|
|
1604
1599
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
1605
|
-
}) => any
|
|
1600
|
+
}) => any;
|
|
1606
1601
|
};
|
|
1607
1602
|
})>> | undefined;
|
|
1608
1603
|
tags?: import("@storybook/types").Tag[];
|
|
@@ -1744,6 +1739,7 @@ declare const _default: {
|
|
|
1744
1739
|
groupExpand: (name?: string | string[]) => void;
|
|
1745
1740
|
groupCollapse: (name?: string | string[]) => void;
|
|
1746
1741
|
}) => any) | undefined;
|
|
1742
|
+
} & {
|
|
1747
1743
|
[x: `content::${string}`]: ((props: {
|
|
1748
1744
|
isExpanded: boolean;
|
|
1749
1745
|
expand: () => void;
|
|
@@ -1751,11 +1747,12 @@ declare const _default: {
|
|
|
1751
1747
|
groupExpand: (name?: string | string[]) => void;
|
|
1752
1748
|
groupCollapse: (name?: string | string[]) => void;
|
|
1753
1749
|
}) => any) | undefined;
|
|
1754
|
-
|
|
1750
|
+
} & {
|
|
1751
|
+
default?: (props: {
|
|
1755
1752
|
expandedAccordions: Set<string>;
|
|
1756
1753
|
expand: (name?: string | string[]) => void;
|
|
1757
1754
|
collapse: boolean & ((name?: string | string[]) => void);
|
|
1758
|
-
}) => any
|
|
1755
|
+
}) => any;
|
|
1759
1756
|
};
|
|
1760
1757
|
})>>) => (Component?: import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> | import("vue").FunctionalComponent<any, {}, any, {}>, options?: {
|
|
1761
1758
|
props?: Record<string, any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validates if all files in a FileList meet the restrictions of the accept attribute
|
|
3
|
+
* @param {FileList} fileList - The FileList object to validate
|
|
4
|
+
* @param {string} [acceptValue] - The value of the accept attribute (e.g. ".jpg,.png,image/*")
|
|
5
|
+
* @returns {boolean} - true if all files are valid, false otherwise
|
|
6
|
+
*/
|
|
7
|
+
export declare function validateFileList(fileList: FileList, acceptValue?: string): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Filters a FileList and returns only the files that match the accept attribute criteria
|
|
10
|
+
* @param {FileList} fileList - The FileList object to filter
|
|
11
|
+
* @param {string} [acceptValue] - The value of the accept attribute (e.g. ".jpg,.png,image/*")
|
|
12
|
+
* @returns {File[]} - Array of files that match the accept criteria
|
|
13
|
+
*/
|
|
14
|
+
export declare function filterFileList(fileList: FileList, acceptValue?: string): File[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volverjs/ui-vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.10-beta.
|
|
4
|
+
"version": "0.0.10-beta.69",
|
|
5
5
|
"description": "@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.",
|
|
6
6
|
"author": "8 wave S.r.l.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -382,12 +382,12 @@
|
|
|
382
382
|
},
|
|
383
383
|
"dependencies": {
|
|
384
384
|
"@floating-ui/vue": "^1.1.6",
|
|
385
|
-
"@iconify/tools": "^4.1.
|
|
386
|
-
"@iconify/vue": "^
|
|
385
|
+
"@iconify/tools": "^4.1.2",
|
|
386
|
+
"@iconify/vue": "^5.0.0",
|
|
387
387
|
"blurhash": "^2.0.5",
|
|
388
388
|
"chokidar": "^4.0.3",
|
|
389
389
|
"comlink": "^4.4.2",
|
|
390
|
-
"jsdom": "^26.
|
|
390
|
+
"jsdom": "^26.1.0",
|
|
391
391
|
"mitt": "^3.0.1",
|
|
392
392
|
"pica": "^9.0.1",
|
|
393
393
|
"ts-dot-prop": "^2.1.4",
|
|
@@ -396,62 +396,62 @@
|
|
|
396
396
|
"yargs": "^17.7.2"
|
|
397
397
|
},
|
|
398
398
|
"devDependencies": {
|
|
399
|
-
"@antfu/eslint-config": "4.
|
|
400
|
-
"@babel/core": "^7.
|
|
401
|
-
"@babel/preset-env": "^7.
|
|
402
|
-
"@babel/preset-typescript": "^7.
|
|
399
|
+
"@antfu/eslint-config": "4.13.2",
|
|
400
|
+
"@babel/core": "^7.27.1",
|
|
401
|
+
"@babel/preset-env": "^7.27.2",
|
|
402
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
403
403
|
"@iconify/types": "^2.0.0",
|
|
404
404
|
"@iconify/utils": "^2.3.0",
|
|
405
405
|
"@nabla/vite-plugin-eslint": "^2.0.5",
|
|
406
|
-
"@storybook/addon-a11y": "^8.6.
|
|
407
|
-
"@storybook/addon-actions": "^8.6.
|
|
408
|
-
"@storybook/addon-docs": "^8.6.
|
|
409
|
-
"@storybook/addon-essentials": "^8.6.
|
|
410
|
-
"@storybook/addon-interactions": "^8.6.
|
|
411
|
-
"@storybook/addon-links": "^8.6.
|
|
412
|
-
"@storybook/cli": "^8.6.
|
|
413
|
-
"@storybook/client-logger": "^8.6.
|
|
414
|
-
"@storybook/core-common": "^8.6.
|
|
415
|
-
"@storybook/preview-api": "^8.6.
|
|
416
|
-
"@storybook/test": "^8.6.
|
|
406
|
+
"@storybook/addon-a11y": "^8.6.14",
|
|
407
|
+
"@storybook/addon-actions": "^8.6.14",
|
|
408
|
+
"@storybook/addon-docs": "^8.6.14",
|
|
409
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
410
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
411
|
+
"@storybook/addon-links": "^8.6.14",
|
|
412
|
+
"@storybook/cli": "^8.6.14",
|
|
413
|
+
"@storybook/client-logger": "^8.6.14",
|
|
414
|
+
"@storybook/core-common": "^8.6.14",
|
|
415
|
+
"@storybook/preview-api": "^8.6.14",
|
|
416
|
+
"@storybook/test": "^8.6.14",
|
|
417
417
|
"@storybook/test-runner": "^0.22.0",
|
|
418
|
-
"@storybook/types": "^8.6.
|
|
419
|
-
"@storybook/vue3": "^8.6.
|
|
420
|
-
"@storybook/vue3-vite": "^8.6.
|
|
418
|
+
"@storybook/types": "^8.6.14",
|
|
419
|
+
"@storybook/vue3": "^8.6.14",
|
|
420
|
+
"@storybook/vue3-vite": "^8.6.14",
|
|
421
421
|
"@tsconfig/node18": "^18.2.4",
|
|
422
422
|
"@types/jest-axe": "^3.5.9",
|
|
423
423
|
"@types/jsdom": "^21.1.7",
|
|
424
|
-
"@types/node": "^22.
|
|
424
|
+
"@types/node": "^22.15.21",
|
|
425
425
|
"@types/pica": "^9.0.5",
|
|
426
426
|
"@types/yargs": "^17.0.33",
|
|
427
|
-
"@vitejs/plugin-vue": "^5.2.
|
|
428
|
-
"@vue/compiler-sfc": "^3.5.
|
|
427
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
428
|
+
"@vue/compiler-sfc": "^3.5.14",
|
|
429
429
|
"@vue/eslint-config-typescript": "^14.5.0",
|
|
430
430
|
"@vue/test-utils": "^2.4.6",
|
|
431
431
|
"@vue/tsconfig": "^0.7.0",
|
|
432
432
|
"change-case": "^5.4.4",
|
|
433
|
-
"eslint": "^9.
|
|
434
|
-
"glob": "^11.0.
|
|
433
|
+
"eslint": "^9.27.0",
|
|
434
|
+
"glob": "^11.0.2",
|
|
435
435
|
"jest-axe": "^10.0.0",
|
|
436
436
|
"jest-diff": "^29.7.0",
|
|
437
437
|
"jest-get-type": "^29.6.3",
|
|
438
|
-
"jsdom": "^26.
|
|
438
|
+
"jsdom": "^26.1.0",
|
|
439
439
|
"npm-run-all": "^4.1.5",
|
|
440
440
|
"prettier": "^3.5.3",
|
|
441
441
|
"pretty-format": "^29.7.0",
|
|
442
442
|
"remark": "^15.0.1",
|
|
443
|
-
"sass": "^1.
|
|
444
|
-
"storybook": "^8.6.
|
|
443
|
+
"sass": "^1.89.0",
|
|
444
|
+
"storybook": "^8.6.14",
|
|
445
445
|
"storybook-addon-markdown-docs": "^2.0.0",
|
|
446
446
|
"storybook-dark-mode": "^4.0.2",
|
|
447
|
-
"terser": "^5.39.
|
|
447
|
+
"terser": "^5.39.2",
|
|
448
448
|
"ts-node": "^10.9.2",
|
|
449
|
-
"typescript": "~5.8.
|
|
450
|
-
"unplugin-auto-import": "^19.
|
|
451
|
-
"unplugin-vue-components": "^28.
|
|
452
|
-
"vite": "^6.
|
|
449
|
+
"typescript": "~5.8.3",
|
|
450
|
+
"unplugin-auto-import": "^19.2.0",
|
|
451
|
+
"unplugin-vue-components": "^28.5.0",
|
|
452
|
+
"vite": "^6.3.5",
|
|
453
453
|
"vite-plugin-externalize-deps": "^0.9.0",
|
|
454
|
-
"vue-tsc": "^2.2.
|
|
454
|
+
"vue-tsc": "^2.2.10"
|
|
455
455
|
},
|
|
456
456
|
"scripts": {
|
|
457
457
|
"dev": "storybook dev -p 6006",
|