@windstream/react-shared-components 0.1.96 → 0.1.98
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.d.ts +5 -0
- package/dist/contentful/index.esm.js +2 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/animation-wrapper/index.tsx +5 -0
- package/src/components/animation-wrapper/types.ts +7 -1
- package/src/components/brand-button/index.tsx +1 -1
- package/src/contentful/blocks/breadcrumbs/index.tsx +2 -2
- package/src/contentful/blocks/button/index.tsx +24 -3
- package/src/contentful/blocks/button/types.ts +1 -0
- package/src/contentful/blocks/email-input-block/index.tsx +16 -7
- package/src/contentful/blocks/find-kinetic/index.tsx +61 -35
- package/src/contentful/blocks/find-kinetic/types.ts +1 -0
- package/src/contentful/blocks/image-promo-bar/helper.tsx +1 -1
- package/src/contentful/blocks/image-promo-bar/index.tsx +38 -10
- package/src/contentful/blocks/image-promo-bar/types.ts +3 -0
- package/src/contentful/blocks/image-promo-bar/youtube-embed.tsx +1 -1
- package/src/contentful/blocks/shape-background-wrapper/index.tsx +5 -2
- package/src/hooks/contentful/use-contentful-rich-text.tsx +6 -2
|
@@ -51,6 +51,7 @@ type ButtonProps = {
|
|
|
51
51
|
preserveQueryParameters?: boolean;
|
|
52
52
|
clickToOpen?: string;
|
|
53
53
|
tabmodalNameToOpen?: string;
|
|
54
|
+
idNameToOpen?: string;
|
|
54
55
|
preDefinedFunctionExecution?: string;
|
|
55
56
|
renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
|
|
56
57
|
linkClassName?: string;
|
|
@@ -346,6 +347,8 @@ type ImagePromoBarProps = {
|
|
|
346
347
|
image: string;
|
|
347
348
|
imageWidth: number;
|
|
348
349
|
imageHeight: number;
|
|
350
|
+
useOriginalImageAspectRatio?: boolean;
|
|
351
|
+
isAboveTheFold?: boolean;
|
|
349
352
|
mediaPosition: boolean;
|
|
350
353
|
description: React__default.ReactNode;
|
|
351
354
|
openDescriptionLinksOnANewTab: boolean;
|
|
@@ -362,6 +365,7 @@ type ImagePromoBarProps = {
|
|
|
362
365
|
maxWidth?: boolean;
|
|
363
366
|
color: "light" | "dark";
|
|
364
367
|
onModalButtonClick?: (id?: string) => void;
|
|
368
|
+
onClick?: (event: React__default.MouseEvent, source: "primary" | "secondary") => void;
|
|
365
369
|
renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
|
|
366
370
|
};
|
|
367
371
|
|
|
@@ -535,6 +539,7 @@ type FindKineticProps = {
|
|
|
535
539
|
}[];
|
|
536
540
|
maxWidth?: boolean;
|
|
537
541
|
color?: "dark" | "light";
|
|
542
|
+
columns?: 2 | 3 | 4;
|
|
538
543
|
};
|
|
539
544
|
|
|
540
545
|
declare const FindKinetic: React__default.FC<FindKineticProps>;
|