@happeouikit/form-elements 2.4.5 → 2.4.7
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/Checkbox.types.d.ts +1 -1
- package/dist/Input.types.d.ts +3 -3
- package/dist/Switch.types.d.ts +1 -1
- package/dist/index.cjs.js +32 -30
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +686 -672
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/Checkbox.types.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ interface AriaLabelCheckboxProps extends BaseCheckboxProps {
|
|
|
19
19
|
label?: never;
|
|
20
20
|
}
|
|
21
21
|
interface LabelCheckboxProps extends BaseCheckboxProps {
|
|
22
|
-
label:
|
|
22
|
+
label: React.ReactNode;
|
|
23
23
|
"aria-label"?: never;
|
|
24
24
|
}
|
|
25
25
|
export type CheckboxProps = AriaLabelCheckboxProps | LabelCheckboxProps;
|
package/dist/Input.types.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ export interface InputProps {
|
|
|
7
7
|
id?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
readOnly?: boolean;
|
|
10
|
-
icon
|
|
11
|
-
iconProps
|
|
10
|
+
icon?: React.ComponentType<any>;
|
|
11
|
+
iconProps?: object;
|
|
12
12
|
state: "success" | "error" | "default";
|
|
13
|
-
errorMessage
|
|
13
|
+
errorMessage?: string;
|
|
14
14
|
[key: string]: any;
|
|
15
15
|
}
|
|
16
16
|
export interface InputNumberProps {
|
package/dist/Switch.types.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ interface AriaLabelSwitchProps extends BaseSwitchProps {
|
|
|
23
23
|
label?: never;
|
|
24
24
|
}
|
|
25
25
|
interface LabelSwitchProps extends BaseSwitchProps {
|
|
26
|
-
label:
|
|
26
|
+
label: React.ReactNode;
|
|
27
27
|
"aria-label"?: never;
|
|
28
28
|
}
|
|
29
29
|
export type SwitchProps = AriaLabelSwitchProps | LabelSwitchProps;
|