@windstream/react-shared-components 0.0.76 → 0.0.78
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 +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/contentful/blocks/find-kinetic/index.tsx +1 -1
- package/src/contentful/blocks/image-promo-bar/index.tsx +9 -1
package/dist/core.d.ts
CHANGED
|
@@ -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/dist/index.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?: "default" | "
|
|
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;
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ export const FindKinetic: React.FC<FindKineticProps> = ({
|
|
|
26
26
|
};
|
|
27
27
|
return (
|
|
28
28
|
<div
|
|
29
|
-
className={`${bgColorClasses[background]} component-container ${color == "dark" ? "text-text" : "text-white"}`}
|
|
29
|
+
className={`${bgColorClasses[background]} component-container overflow-hidden ${color == "dark" ? "text-text" : "text-white"}`}
|
|
30
30
|
>
|
|
31
31
|
<div
|
|
32
32
|
className={`${maxWidth ? "max-w-120 xl:mx-auto" : ""} mx-5 mb-5 mt-12 xl:my-20`}
|
|
@@ -4,6 +4,7 @@ import { ImagePromoBarProps } from "./types";
|
|
|
4
4
|
|
|
5
5
|
import { Checklist } from "@shared/components/checklist";
|
|
6
6
|
import { Image } from "@shared/components/image";
|
|
7
|
+
import { Link } from "@shared/components/link";
|
|
7
8
|
import { NextImage } from "@shared/components/next-image";
|
|
8
9
|
import { Text } from "@shared/components/text";
|
|
9
10
|
|
|
@@ -77,7 +78,14 @@ export const ImagePromoBar: React.FC<ImagePromoBarProps> = ({
|
|
|
77
78
|
{/* Image Links Collection */}
|
|
78
79
|
{imageLinks?.map((link, index) => (
|
|
79
80
|
<div key={index} className="image-link">
|
|
80
|
-
<
|
|
81
|
+
<Link
|
|
82
|
+
variant="unstyled"
|
|
83
|
+
href={link.url}
|
|
84
|
+
target="_blank"
|
|
85
|
+
rel="noopener noreferrer"
|
|
86
|
+
>
|
|
87
|
+
<Image src={link.image} alt="icon-link" />
|
|
88
|
+
</Link>
|
|
81
89
|
</div>
|
|
82
90
|
))}
|
|
83
91
|
{/* CTAs and Disclaimers */}
|