@happeouikit/form-elements 2.3.41 → 2.3.44
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 +3 -4
- package/dist/Input.types.d.ts +2 -2
- package/dist/Link.d.ts +7 -2
- package/dist/RadioButton.types.d.ts +1 -1
- package/dist/Switch.types.d.ts +3 -3
- package/dist/index.cjs.js +53 -53
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +739 -763
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
package/dist/Checkbox.types.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ChangeEvent, CSSProperties } from "react";
|
|
1
|
+
import React, { ChangeEvent, CSSProperties } from "react";
|
|
2
2
|
interface BaseCheckboxProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
description?: string;
|
|
3
|
+
subtitle?: React.ReactNode;
|
|
4
|
+
description?: React.ReactNode;
|
|
6
5
|
indeterminate?: boolean;
|
|
7
6
|
disabled?: boolean;
|
|
8
7
|
background?: string;
|
package/dist/Input.types.d.ts
CHANGED
package/dist/Link.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
export const Link: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2
|
-
export const LinkExternal: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3
1
|
import React from "react";
|
|
2
|
+
interface LinkProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
+
export declare const LinkExternal: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<unknown>>;
|
|
8
|
+
export {};
|
package/dist/Switch.types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
export interface BaseSwitchProps {
|
|
3
3
|
tabIndex?: number;
|
|
4
4
|
id?: string;
|
|
@@ -6,8 +6,8 @@ export interface BaseSwitchProps {
|
|
|
6
6
|
checked?: boolean;
|
|
7
7
|
background?: string;
|
|
8
8
|
defaultChecked?: boolean;
|
|
9
|
-
subtitle?:
|
|
10
|
-
description?:
|
|
9
|
+
subtitle?: React.ReactNode;
|
|
10
|
+
description?: React.ReactNode;
|
|
11
11
|
"data-tracker"?: string;
|
|
12
12
|
"data-testid"?: string;
|
|
13
13
|
required?: boolean;
|