@codeandfunction/callaloo 3.4.0 → 3.4.1
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.
|
@@ -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. */
|
package/dist/index.js
CHANGED
|
@@ -2768,7 +2768,7 @@ const p0 = /* @__PURE__ */ bs(fs, [["render", ms]]), yt = ({ escHandler: e, trig
|
|
|
2768
2768
|
rounded: { type: Boolean, default: !0 },
|
|
2769
2769
|
size: { default: z.Small },
|
|
2770
2770
|
testId: { default: "clll-checkbox" },
|
|
2771
|
-
value: {},
|
|
2771
|
+
value: { type: [String, Number, Boolean] },
|
|
2772
2772
|
onBlur: {},
|
|
2773
2773
|
onChange: {},
|
|
2774
2774
|
onFocus: {}
|
|
@@ -3146,7 +3146,7 @@ const p0 = /* @__PURE__ */ bs(fs, [["render", ms]]), yt = ({ escHandler: e, trig
|
|
|
3146
3146
|
rounded: { type: Boolean, default: !0 },
|
|
3147
3147
|
size: { default: z.Small },
|
|
3148
3148
|
testId: { default: "clll-radiobutton" },
|
|
3149
|
-
value: {},
|
|
3149
|
+
value: { type: [String, Number, Boolean] },
|
|
3150
3150
|
onBlur: {},
|
|
3151
3151
|
onChange: {},
|
|
3152
3152
|
onFocus: {}
|
package/dist/types.d.ts
CHANGED