@windstream/react-shared-components 0.0.20 → 0.0.21
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/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/brand-button/index.tsx +0 -2
- package/src/components/input/index.tsx +0 -2
package/dist/core.d.ts
CHANGED
|
@@ -56,15 +56,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
56
56
|
|
|
57
57
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
58
58
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
59
|
-
state?: "
|
|
60
|
-
size?: "
|
|
59
|
+
state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
|
|
60
|
+
size?: "slim" | "medium" | "large" | undefined;
|
|
61
61
|
label?: string | undefined;
|
|
62
62
|
errorText?: string | undefined;
|
|
63
63
|
prefixIconName?: "search" | "location_on" | undefined;
|
|
64
64
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
65
65
|
prefixIconFill?: boolean | undefined;
|
|
66
66
|
suffixIconFill?: boolean | undefined;
|
|
67
|
-
suffixIconName?: "visibility" | "
|
|
67
|
+
suffixIconName?: "visibility" | "visibility_off" | "lock" | undefined;
|
|
68
68
|
suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
69
69
|
containerClassName?: string | undefined;
|
|
70
70
|
prefixIconClassName?: string | undefined;
|
|
@@ -323,7 +323,7 @@ type ButtonCustomProps = {
|
|
|
323
323
|
};
|
|
324
324
|
type ButtonProps = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
|
|
325
325
|
|
|
326
|
-
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
326
|
+
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "children"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
327
327
|
|
|
328
328
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
329
329
|
|
package/dist/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
|
|
|
60
60
|
size?: "slim" | "medium" | "large" | undefined;
|
|
61
61
|
label?: string | undefined;
|
|
62
62
|
errorText?: string | undefined;
|
|
63
|
-
prefixIconName?: "
|
|
63
|
+
prefixIconName?: "search" | "location_on" | undefined;
|
|
64
64
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
65
65
|
prefixIconFill?: boolean | undefined;
|
|
66
66
|
suffixIconFill?: boolean | undefined;
|
|
@@ -323,7 +323,7 @@ type ButtonCustomProps = {
|
|
|
323
323
|
};
|
|
324
324
|
type ButtonProps = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
|
|
325
325
|
|
|
326
|
-
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
326
|
+
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
327
327
|
|
|
328
328
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
329
329
|
|