@maltjoy/core-vue 5.22.2 → 5.23.0
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/JoyDropzone/VJoyDropzone.vue.d.ts +3 -0
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +1 -1
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +10 -10
- package/dist/core-vue.js +351 -343
- package/dist/core-vue.umd.cjs +2 -2
- package/dist/joy-core-vue-manifest.json +3 -3
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -4,6 +4,7 @@ declare const _default: <T extends {
|
|
|
4
4
|
readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
5
5
|
modelValue: (File | T)[];
|
|
6
6
|
name: string;
|
|
7
|
+
label?: string | undefined;
|
|
7
8
|
multiple?: boolean | undefined;
|
|
8
9
|
accept?: string[] | undefined;
|
|
9
10
|
maxSize?: number | undefined;
|
|
@@ -50,6 +51,7 @@ declare const _default: <T extends {
|
|
|
50
51
|
readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
51
52
|
modelValue: (File | T)[];
|
|
52
53
|
name: string;
|
|
54
|
+
label?: string | undefined;
|
|
53
55
|
multiple?: boolean | undefined;
|
|
54
56
|
accept?: string[] | undefined;
|
|
55
57
|
maxSize?: number | undefined;
|
|
@@ -100,6 +102,7 @@ declare const _default: <T extends {
|
|
|
100
102
|
readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
101
103
|
modelValue: (File | T)[];
|
|
102
104
|
name: string;
|
|
105
|
+
label?: string | undefined;
|
|
103
106
|
multiple?: boolean | undefined;
|
|
104
107
|
accept?: string[] | undefined;
|
|
105
108
|
maxSize?: number | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JoyIconsId } from '@maltjoy/icons';
|
|
2
2
|
import { TSizes, TLevels } from '../../types';
|
|
3
3
|
export type TJoyIconsColors = TLevels | 'neutral-50' | 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'brand-primary' | 'brand-secondary' | 'white';
|
|
4
|
-
export type TJoyIconSizes = Extract<TSizes, 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large'
|
|
4
|
+
export type TJoyIconSizes = Extract<TSizes, 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large'>;
|
|
5
5
|
export type TJoyIconsNames = JoyIconsId;
|
|
@@ -17,10 +17,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
17
17
|
subTitle: {
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
};
|
|
20
|
-
/** Introduce a VJoyRatingStars component with given rating */
|
|
21
|
-
ratingValue: {
|
|
22
|
-
type: NumberConstructor;
|
|
23
|
-
};
|
|
24
20
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
21
|
/**
|
|
26
22
|
* Giving a link will make the whole component wrapped by an hyperlink
|
|
@@ -40,27 +36,31 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
40
36
|
subTitle: {
|
|
41
37
|
type: StringConstructor;
|
|
42
38
|
};
|
|
43
|
-
/** Introduce a VJoyRatingStars component with given rating */
|
|
44
|
-
ratingValue: {
|
|
45
|
-
type: NumberConstructor;
|
|
46
|
-
};
|
|
47
39
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
40
|
+
/** Free content displayed below the user information. Use this slot for custom content like VJoyRatingStars. */
|
|
48
41
|
default(): any;
|
|
49
42
|
/** Customize the VJoyAvatar component by using this slot */
|
|
50
43
|
'user-card-avatar': () => any;
|
|
51
44
|
/** User name, basically */
|
|
52
45
|
'user-card-title': () => any;
|
|
53
46
|
'user-card-subtitle': () => any;
|
|
54
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated Use the default slot instead.
|
|
49
|
+
* This slot is kept for backward compatibility.
|
|
50
|
+
*/
|
|
55
51
|
'user-card-rating-stars': () => any;
|
|
56
52
|
}> & {
|
|
53
|
+
/** Free content displayed below the user information. Use this slot for custom content like VJoyRatingStars. */
|
|
57
54
|
default(): any;
|
|
58
55
|
/** Customize the VJoyAvatar component by using this slot */
|
|
59
56
|
'user-card-avatar': () => any;
|
|
60
57
|
/** User name, basically */
|
|
61
58
|
'user-card-title': () => any;
|
|
62
59
|
'user-card-subtitle': () => any;
|
|
63
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated Use the default slot instead.
|
|
62
|
+
* This slot is kept for backward compatibility.
|
|
63
|
+
*/
|
|
64
64
|
'user-card-rating-stars': () => any;
|
|
65
65
|
}>;
|
|
66
66
|
export default _default;
|