@codeandfunction/callaloo 3.4.0 → 3.5.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/assets/styles.css +1 -1
- package/dist/components/Containers/CLCard.vue.d.ts +1 -0
- package/dist/components/Form/CLCheckbox.vue.d.ts +1 -1
- package/dist/components/Form/CLRadioButton.vue.d.ts +1 -1
- package/dist/components/Typography/CLText.vue.d.ts +22 -0
- package/dist/index.js +150 -136
- package/dist/types.d.ts +3 -2
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ interface Props {
|
|
|
31
31
|
/** Sets a custom ID used for unit tests. */
|
|
32
32
|
testId?: string;
|
|
33
33
|
/** Set the value for the checkbox when it's checked. */
|
|
34
|
-
value?: string | number;
|
|
34
|
+
value?: string | number | boolean;
|
|
35
35
|
/** A callback function which handles when the checkbox loses focus. */
|
|
36
36
|
onBlur?: CLGenericFocusFunction;
|
|
37
37
|
/** A callback function which handles when the checkbox is clicked. */
|
|
@@ -33,7 +33,7 @@ interface Props {
|
|
|
33
33
|
/** Sets a custom ID used for unit tests. */
|
|
34
34
|
testId?: string;
|
|
35
35
|
/** Set the value for the radiobutton when it's checked. */
|
|
36
|
-
value?: string | number;
|
|
36
|
+
value?: string | number | boolean;
|
|
37
37
|
/** A callback function which handles when the radiobutton loses focus. */
|
|
38
38
|
onBlur?: CLGenericFocusFunction;
|
|
39
39
|
/** A callback function which handles when the radiobutton is clicked. */
|
|
@@ -28,6 +28,16 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
28
28
|
type: PropType<CLColors>;
|
|
29
29
|
default: CLColors;
|
|
30
30
|
};
|
|
31
|
+
/** Render text with a font-weight of 300 */
|
|
32
|
+
light: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
/** Render text with a font-weight of 500 */
|
|
37
|
+
medium: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
31
41
|
/** Set the text type. The property can be one of `CLTextTypes`, e.g. `Body`. */
|
|
32
42
|
type: {
|
|
33
43
|
type: PropType<CLTextTypes>;
|
|
@@ -69,6 +79,16 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
69
79
|
type: PropType<CLColors>;
|
|
70
80
|
default: CLColors;
|
|
71
81
|
};
|
|
82
|
+
/** Render text with a font-weight of 300 */
|
|
83
|
+
light: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
/** Render text with a font-weight of 500 */
|
|
88
|
+
medium: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
72
92
|
/** Set the text type. The property can be one of `CLTextTypes`, e.g. `Body`. */
|
|
73
93
|
type: {
|
|
74
94
|
type: PropType<CLTextTypes>;
|
|
@@ -85,7 +105,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
85
105
|
default: boolean;
|
|
86
106
|
};
|
|
87
107
|
}>> & Readonly<{}>, {
|
|
108
|
+
medium: boolean;
|
|
88
109
|
color: CLColors;
|
|
110
|
+
light: boolean;
|
|
89
111
|
testId: string;
|
|
90
112
|
type: CLTextTypes;
|
|
91
113
|
bold: boolean;
|