@codeandfunction/callaloo 2.10.0 → 2.12.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/Form/CLCheckbox.vue.d.ts +9 -5
- package/dist/components/Form/CLInput.vue.d.ts +8 -6
- package/dist/components/Form/CLRadioButton.vue.d.ts +9 -3
- package/dist/components/Form/CLSelect.vue.d.ts +9 -5
- package/dist/components/Form/CLTextArea.vue.d.ts +9 -5
- package/dist/index.js +2262 -2250
- package/dist/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -8,8 +8,6 @@ interface Props {
|
|
|
8
8
|
busy?: boolean;
|
|
9
9
|
/** Sets the color of element's borders. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
|
|
10
10
|
color?: CLColors;
|
|
11
|
-
/** Set the checked state. */
|
|
12
|
-
checked?: boolean;
|
|
13
11
|
/** Set the disabled state. */
|
|
14
12
|
disabled?: boolean;
|
|
15
13
|
/** The form whom the checkbox belongs to. Useful for when a checkbox is not within a `form` element. */
|
|
@@ -40,10 +38,16 @@ interface Props {
|
|
|
40
38
|
onChange?: CLGenericFunction;
|
|
41
39
|
/** A callback function which handles when the checkbox gains focus. */
|
|
42
40
|
onFocus?: CLGenericFocusFunction;
|
|
43
|
-
/** A callback function which handles when the checkbox input state is updated. */
|
|
44
|
-
onInput?: CLGenericFunction;
|
|
45
41
|
}
|
|
46
|
-
|
|
42
|
+
type __VLS_Props = Props;
|
|
43
|
+
type __VLS_PublicProps = {
|
|
44
|
+
modelValue?: boolean;
|
|
45
|
+
} & __VLS_Props;
|
|
46
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
"update:modelValue": (value: boolean) => any;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
49
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
50
|
+
}>, {
|
|
47
51
|
color: CLColors;
|
|
48
52
|
testId: string;
|
|
49
53
|
rounded: boolean;
|
|
@@ -58,8 +58,6 @@ interface Props {
|
|
|
58
58
|
testId?: string;
|
|
59
59
|
/**Set the type of input, supports various input types. */
|
|
60
60
|
type?: CLInputTypes;
|
|
61
|
-
/** Set the value for the input when it's checked. */
|
|
62
|
-
value?: string | number;
|
|
63
61
|
/** Sets the color variant. The property can be one of `CLColorVariants.Outline | CLColorVariants.Ghost`, e.g `CLColorVariants.Outline`. */
|
|
64
62
|
variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
|
|
65
63
|
/** A callback function which handles when the input loses focus. */
|
|
@@ -68,13 +66,17 @@ interface Props {
|
|
|
68
66
|
onChange?: CLGenericFunction;
|
|
69
67
|
/** A callback function which handles when the input gains focus. */
|
|
70
68
|
onFocus?: CLGenericFocusFunction;
|
|
71
|
-
/** A callback function which handles when the input state is updated. */
|
|
72
|
-
onInput?: CLGenericFunction;
|
|
73
69
|
}
|
|
74
|
-
|
|
70
|
+
type __VLS_Props = Props;
|
|
71
|
+
type __VLS_PublicProps = {
|
|
72
|
+
modelValue?: string | number;
|
|
73
|
+
} & __VLS_Props;
|
|
74
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
75
75
|
reset: (...args: any[]) => void;
|
|
76
|
-
|
|
76
|
+
"update:modelValue": (value: string | number) => void;
|
|
77
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
77
78
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
78
80
|
}>, {
|
|
79
81
|
color: CLColors;
|
|
80
82
|
variant: CLColorVariants.Outline | CLColorVariants.Ghost;
|
|
@@ -40,10 +40,16 @@ interface Props {
|
|
|
40
40
|
onChange?: CLGenericFunction;
|
|
41
41
|
/** A callback function which handles when the radiobutton gains focus. */
|
|
42
42
|
onFocus?: CLGenericFocusFunction;
|
|
43
|
-
/** A callback function which handles when the radiobutton input state is updated. */
|
|
44
|
-
onInput?: CLGenericFunction;
|
|
45
43
|
}
|
|
46
|
-
|
|
44
|
+
type __VLS_Props = Props;
|
|
45
|
+
type __VLS_PublicProps = {
|
|
46
|
+
modelValue?: string | number;
|
|
47
|
+
} & __VLS_Props;
|
|
48
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
+
"update:modelValue": (value: string | number) => any;
|
|
50
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
51
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
52
|
+
}>, {
|
|
47
53
|
color: CLColors;
|
|
48
54
|
testId: string;
|
|
49
55
|
rounded: boolean;
|
|
@@ -36,8 +36,6 @@ interface Props {
|
|
|
36
36
|
size?: CLSizes;
|
|
37
37
|
/** Sets a custom ID used for unit tests. */
|
|
38
38
|
testId?: string;
|
|
39
|
-
/** Set the default value for the select. */
|
|
40
|
-
value?: string | number;
|
|
41
39
|
/** Sets the color variant. The property can be one of `CLColorVariants.Outline | CLColorVariants.Ghost`, e.g `CLColorVariants.Outline`. */
|
|
42
40
|
variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
|
|
43
41
|
/** A callback function which handles when the select loses focus. */
|
|
@@ -46,10 +44,16 @@ interface Props {
|
|
|
46
44
|
onChange?: CLGenericFunction;
|
|
47
45
|
/** A callback function which handles when the select gains focus. */
|
|
48
46
|
onFocus?: CLGenericFocusFunction;
|
|
49
|
-
/** A callback function which handles when the select state is updated. */
|
|
50
|
-
onInput?: CLGenericFunction;
|
|
51
47
|
}
|
|
52
|
-
|
|
48
|
+
type __VLS_Props = Props;
|
|
49
|
+
type __VLS_PublicProps = {
|
|
50
|
+
modelValue?: string | number;
|
|
51
|
+
} & __VLS_Props;
|
|
52
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
+
"update:modelValue": (value: string | number) => any;
|
|
54
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
55
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
56
|
+
}>, {
|
|
53
57
|
color: CLColors;
|
|
54
58
|
variant: CLColorVariants.Outline | CLColorVariants.Ghost;
|
|
55
59
|
testId: string;
|
|
@@ -54,8 +54,6 @@ interface Props {
|
|
|
54
54
|
spellCheck?: boolean;
|
|
55
55
|
/** Sets a custom ID used for unit tests. */
|
|
56
56
|
testId?: string;
|
|
57
|
-
/** Set the value for the textarea when it's checked. */
|
|
58
|
-
value?: string | number;
|
|
59
57
|
/** Sets the color variant. The property can be one of `CLColorVariants.Outline | CLColorVariants.Ghost`, e.g `CLColorVariants.Outline`. */
|
|
60
58
|
variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
|
|
61
59
|
/** A callback function which handles when the textarea loses focus. */
|
|
@@ -64,10 +62,16 @@ interface Props {
|
|
|
64
62
|
onChange?: CLGenericFunction;
|
|
65
63
|
/** A callback function which handles when the textarea gains focus. */
|
|
66
64
|
onFocus?: CLGenericFocusFunction;
|
|
67
|
-
/** A callback function which handles when the textarea state is updated. */
|
|
68
|
-
onInput?: CLGenericFunction;
|
|
69
65
|
}
|
|
70
|
-
|
|
66
|
+
type __VLS_Props = Props;
|
|
67
|
+
type __VLS_PublicProps = {
|
|
68
|
+
modelValue?: string | number;
|
|
69
|
+
} & __VLS_Props;
|
|
70
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
71
|
+
"update:modelValue": (value: string | number) => any;
|
|
72
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
73
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
74
|
+
}>, {
|
|
71
75
|
color: CLColors;
|
|
72
76
|
variant: CLColorVariants.Outline | CLColorVariants.Ghost;
|
|
73
77
|
testId: string;
|