@windstream/react-shared-components 0.2.28 → 0.2.30
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 +6 -0
- package/dist/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +3 -3
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/contentful/blocks/callout/index.tsx +1 -1
- package/src/contentful/blocks/cards/floating-image-card/index.tsx +12 -0
- package/src/contentful/blocks/cards/floating-image-card/types.ts +2 -0
- package/src/contentful/blocks/carousel/index.tsx +1 -1
- package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +39 -0
- package/src/contentful/blocks/primary-hero/index.test.tsx +68 -0
- package/src/contentful/blocks/primary-hero/index.tsx +87 -48
- package/src/contentful/blocks/primary-hero/types.ts +7 -0
|
@@ -434,6 +434,10 @@ type NavigationProps = Navigation$1;
|
|
|
434
434
|
|
|
435
435
|
declare const Navigation: React__default.FC<NavigationProps>;
|
|
436
436
|
|
|
437
|
+
type PrimaryHeroVideo = {
|
|
438
|
+
url?: string;
|
|
439
|
+
title?: string;
|
|
440
|
+
};
|
|
437
441
|
type PrimaryHeroProps = {
|
|
438
442
|
title: string;
|
|
439
443
|
showAsHeading?: boolean;
|
|
@@ -460,6 +464,8 @@ type PrimaryHeroProps = {
|
|
|
460
464
|
secondaryCta?: any;
|
|
461
465
|
bottomLink?: any;
|
|
462
466
|
carouselImages?: string[];
|
|
467
|
+
heroVideo?: PrimaryHeroVideo;
|
|
468
|
+
heroVideoMobile?: PrimaryHeroVideo;
|
|
463
469
|
squareImage?: boolean;
|
|
464
470
|
badgeImage?: string;
|
|
465
471
|
textColor?: "light" | "dark";
|