@maltjoy/core-vue 5.1.0 → 5.2.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/JoyCheckbox/VJoyCheckbox.vue.d.ts +10 -0
- package/dist/components/JoyText/JoyText.types.d.ts +1 -0
- package/dist/components/JoyText/VJoyText.vue.d.ts +4 -4
- package/dist/core-vue.js +921 -904
- package/dist/core-vue.umd.cjs +2 -2
- package/dist/joy-core-vue-manifest.json +4 -4
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -21,6 +21,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* Invalid state of the component
|
|
26
|
+
*
|
|
27
|
+
* Note: A checked checkbox cannot be invalid (the `checked` state takes priority over `invalid` state).
|
|
28
|
+
*/
|
|
24
29
|
invalid: {
|
|
25
30
|
type: BooleanConstructor;
|
|
26
31
|
default: boolean;
|
|
@@ -74,6 +79,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
74
79
|
type: BooleanConstructor;
|
|
75
80
|
default: boolean;
|
|
76
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* Invalid state of the component
|
|
84
|
+
*
|
|
85
|
+
* Note: A checked checkbox cannot be invalid (the `checked` state takes priority over `invalid` state).
|
|
86
|
+
*/
|
|
77
87
|
invalid: {
|
|
78
88
|
type: BooleanConstructor;
|
|
79
89
|
default: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { PRIMARY_FONT_SIZES, SECONDARY_FONT_SIZES, PRIMARY_FONT_SIZES_BOLD, FontsFamilies } from '../../types';
|
|
2
2
|
export declare const JOY_TEXT_FONT_PRESET: (string | 150 | 250 | 350 | 450 | 650 | 850)[];
|
|
3
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]}`;
|
|
4
|
+
export type TJoyTextTagName = 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'strong';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyTextFontPreset } from './JoyText.types';
|
|
2
|
+
import { TJoyTextFontPreset, TJoyTextTagName } from './JoyText.types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
|
|
5
5
|
tagName: {
|
|
6
|
-
type: PropType<
|
|
6
|
+
type: PropType<TJoyTextTagName>;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
/** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
|
|
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
14
14
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
/** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
|
|
16
16
|
tagName: {
|
|
17
|
-
type: PropType<
|
|
17
|
+
type: PropType<TJoyTextTagName>;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
/** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
}>> & Readonly<{}>, {
|
|
26
|
-
tagName:
|
|
26
|
+
tagName: TJoyTextTagName;
|
|
27
27
|
preset: TJoyTextFontPreset;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
29
29
|
/** Main content */
|