@windstream/react-shared-components 0.0.90 → 0.0.91
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/core.d.ts
CHANGED
|
@@ -57,15 +57,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
57
57
|
|
|
58
58
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
59
59
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
60
|
-
state?: "
|
|
61
|
-
size?: "
|
|
60
|
+
state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
|
|
61
|
+
size?: "slim" | "medium" | "large" | undefined;
|
|
62
62
|
label?: string | undefined;
|
|
63
63
|
errorText?: string | undefined;
|
|
64
64
|
prefixIconName?: "search" | "location_on" | undefined;
|
|
65
65
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
66
66
|
prefixIconFill?: boolean | undefined;
|
|
67
67
|
suffixIconFill?: boolean | undefined;
|
|
68
|
-
suffixIconName?: "visibility" | "
|
|
68
|
+
suffixIconName?: "visibility" | "visibility_off" | "lock" | undefined;
|
|
69
69
|
suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
70
70
|
containerClassName?: string | undefined;
|
|
71
71
|
prefixIconClassName?: string | undefined;
|
|
@@ -339,7 +339,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
|
|
|
339
339
|
};
|
|
340
340
|
type ButtonProps = ButtonAsButton | ButtonAsAnchor;
|
|
341
341
|
|
|
342
|
-
declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<
|
|
342
|
+
declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
343
343
|
|
|
344
344
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
345
345
|
|
package/package.json
CHANGED
|
@@ -90,9 +90,9 @@ export interface CardFields {
|
|
|
90
90
|
subtitle?: string;
|
|
91
91
|
eyebrow?: string;
|
|
92
92
|
body?: { json: any };
|
|
93
|
-
image?: { url: string;
|
|
94
|
-
cta?: { buttonLabel?: string;
|
|
95
|
-
ctaBottom?: { buttonLabel?: string;
|
|
93
|
+
image?: { url: string;[key: string]: any };
|
|
94
|
+
cta?: { buttonLabel?: string;[key: string]: any };
|
|
95
|
+
ctaBottom?: { buttonLabel?: string;[key: string]: any };
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export interface CarouselWithTestimonialCards
|
|
@@ -123,7 +123,6 @@ export type CarouselProps = {
|
|
|
123
123
|
hasProductCards: boolean;
|
|
124
124
|
disclaimerText: ReactNode;
|
|
125
125
|
backgroundColor: string;
|
|
126
|
-
filteredProductCards: ProductCardFields[];
|
|
127
126
|
activeTab: string;
|
|
128
127
|
setActiveTab: (tab: string) => void;
|
|
129
128
|
tabs: string[];
|