@maltjoy/core-vue 3.19.7 → 3.19.9
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/README.md +1 -0
- package/dist/components/JoyTab/TabButton.vue.d.ts +9 -0
- package/dist/components/JoyTab/VJoyTab.vue.d.ts +13 -3
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +20 -6
- package/dist/components/JoyText/JoyText.types.d.ts +3 -3
- package/dist/joy-vue.js +782 -769
- package/dist/joy-vue.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +18 -18
package/README.md
CHANGED
|
@@ -27,6 +27,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
type: (StringConstructor | NumberConstructor)[];
|
|
28
28
|
required: false;
|
|
29
29
|
};
|
|
30
|
+
notification: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
30
34
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
35
|
changeTab: () => void;
|
|
32
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -58,10 +62,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
58
62
|
type: (StringConstructor | NumberConstructor)[];
|
|
59
63
|
required: false;
|
|
60
64
|
};
|
|
65
|
+
notification: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
61
69
|
}>> & {
|
|
62
70
|
onChangeTab?: (() => any) | undefined;
|
|
63
71
|
}, {
|
|
64
72
|
selected: boolean;
|
|
73
|
+
notification: boolean;
|
|
65
74
|
}, {}>, {
|
|
66
75
|
default?(_: {}): any;
|
|
67
76
|
}>;
|
|
@@ -12,7 +12,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
*/
|
|
13
13
|
label: {
|
|
14
14
|
type: (StringConstructor | NumberConstructor)[];
|
|
15
|
-
required: true;
|
|
16
15
|
};
|
|
17
16
|
/**
|
|
18
17
|
* Allow to have a link on the button. When clicking on the button, you will be redirected to the target of the URL.
|
|
@@ -21,6 +20,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
20
|
type: StringConstructor;
|
|
22
21
|
required: false;
|
|
23
22
|
};
|
|
23
|
+
/** Activates a little notification badge in the tab button. */
|
|
24
|
+
notification: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
24
28
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
29
|
/**
|
|
26
30
|
* A tab id or name must be provided for each `joy-tab`. It's used internally to reference
|
|
@@ -35,7 +39,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
35
39
|
*/
|
|
36
40
|
label: {
|
|
37
41
|
type: (StringConstructor | NumberConstructor)[];
|
|
38
|
-
required: true;
|
|
39
42
|
};
|
|
40
43
|
/**
|
|
41
44
|
* Allow to have a link on the button. When clicking on the button, you will be redirected to the target of the URL.
|
|
@@ -44,7 +47,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
47
|
type: StringConstructor;
|
|
45
48
|
required: false;
|
|
46
49
|
};
|
|
47
|
-
|
|
50
|
+
/** Activates a little notification badge in the tab button. */
|
|
51
|
+
notification: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
}>>, {
|
|
56
|
+
notification: boolean;
|
|
57
|
+
}, {}>, Readonly<{
|
|
48
58
|
/**
|
|
49
59
|
* The slot for the content
|
|
50
60
|
*/
|
|
@@ -9,7 +9,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
$: import("vue").ComponentInternalInstance;
|
|
10
10
|
$data: {};
|
|
11
11
|
$props: {
|
|
12
|
-
|
|
12
|
+
notification?: boolean | undefined;
|
|
13
|
+
readonly label?: string | number | undefined;
|
|
13
14
|
style?: unknown;
|
|
14
15
|
class?: unknown;
|
|
15
16
|
key?: string | number | symbol | undefined;
|
|
@@ -77,13 +78,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
77
78
|
};
|
|
78
79
|
label: {
|
|
79
80
|
type: (StringConstructor | NumberConstructor)[];
|
|
80
|
-
required: true;
|
|
81
81
|
};
|
|
82
82
|
href: {
|
|
83
83
|
type: StringConstructor;
|
|
84
84
|
required: false;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
notification: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
91
|
+
notification: boolean;
|
|
92
|
+
}, {}, string, {}> & {
|
|
87
93
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
88
94
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
89
95
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -110,12 +116,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
110
116
|
};
|
|
111
117
|
label: {
|
|
112
118
|
type: (StringConstructor | NumberConstructor)[];
|
|
113
|
-
required: true;
|
|
114
119
|
};
|
|
115
120
|
href: {
|
|
116
121
|
type: StringConstructor;
|
|
117
122
|
required: false;
|
|
118
123
|
};
|
|
124
|
+
notification: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
required: false;
|
|
127
|
+
};
|
|
119
128
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
120
129
|
__isFragment?: undefined;
|
|
121
130
|
__isTeleport?: undefined;
|
|
@@ -127,13 +136,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
127
136
|
};
|
|
128
137
|
label: {
|
|
129
138
|
type: (StringConstructor | NumberConstructor)[];
|
|
130
|
-
required: true;
|
|
131
139
|
};
|
|
132
140
|
href: {
|
|
133
141
|
type: StringConstructor;
|
|
134
142
|
required: false;
|
|
135
143
|
};
|
|
136
|
-
|
|
144
|
+
notification: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
required: false;
|
|
147
|
+
};
|
|
148
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
149
|
+
notification: boolean;
|
|
150
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
137
151
|
$slots: Readonly<{
|
|
138
152
|
default(): any;
|
|
139
153
|
header(): any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PRIMARY_FONT_SIZES, SECONDARY_FONT_SIZES, FontsFamilies } from '../../types';
|
|
2
|
-
export declare const JOY_TEXT_FONT_PRESET: string[];
|
|
3
|
-
export type TJoyTextFontPreset = `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES)[number]}` | `${FontsFamilies.SECONDARY}-${(typeof SECONDARY_FONT_SIZES)[number]}`;
|
|
1
|
+
import { PRIMARY_FONT_SIZES, SECONDARY_FONT_SIZES, PRIMARY_FONT_SIZES_BOLD, FontsFamilies } from '../../types';
|
|
2
|
+
export declare const JOY_TEXT_FONT_PRESET: (string | 150 | 250 | 350 | 450 | 650 | 850)[];
|
|
3
|
+
export type TJoyTextFontPreset = `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES)[number]}` | `${FontsFamilies.SECONDARY}-${(typeof SECONDARY_FONT_SIZES)[number]}` | `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES_BOLD)[number]}`;
|