@windstream/react-shared-components 0.2.32 → 0.2.34
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 +3 -6
- package/dist/contentful/index.esm.js +2 -2
- 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/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/video-link/contentful-video-embed.test.tsx +76 -0
- package/src/components/video-link/contentful-video-embed.tsx +42 -0
- package/src/components/video-link/index.test.tsx +227 -0
- package/src/components/video-link/index.tsx +142 -0
- package/src/components/video-link/types.ts +28 -0
- package/src/contentful/blocks/blogs-grid-base/index.tsx +6 -1
- package/src/contentful/blocks/blogs-grid-base/types.ts +1 -0
- package/src/contentful/blocks/button/index.test.tsx +52 -0
- package/src/contentful/blocks/button/index.tsx +8 -3
- package/src/contentful/blocks/image-promo-bar/index.test.tsx +15 -198
- package/src/contentful/blocks/image-promo-bar/index.tsx +8 -92
- package/src/contentful/blocks/image-promo-bar/types.ts +1 -17
- package/src/contentful/blocks/primary-hero/index.tsx +18 -18
- /package/src/{contentful/blocks/image-promo-bar → components/video-link}/helper.test.tsx +0 -0
- /package/src/{contentful/blocks/image-promo-bar → components/video-link}/helper.tsx +0 -0
- /package/src/{contentful/blocks/image-promo-bar → components/video-link}/vimeo-embed.test.tsx +0 -0
- /package/src/{contentful/blocks/image-promo-bar → components/video-link}/vimeo-embed.tsx +0 -0
- /package/src/{contentful/blocks/image-promo-bar → components/video-link}/youtube-embed.test.tsx +0 -0
- /package/src/{contentful/blocks/image-promo-bar → components/video-link}/youtube-embed.tsx +0 -0
|
@@ -4,6 +4,7 @@ import { AnimationType } from '@shared/components/animation-wrapper';
|
|
|
4
4
|
import { ResponsiveSize } from '@shared/components/brand-button/types';
|
|
5
5
|
import { Fill, Size } from '@shared/components/material-icon/types';
|
|
6
6
|
import { CheckPlansProps, Asset, Button as Button$1, ButtonGroup } from '@shared/types/micro-components';
|
|
7
|
+
import { VideoLinkProps } from '@shared/components/video-link';
|
|
7
8
|
import { ButtonProps as ButtonProps$1 } from '@shared/contentful/blocks/button/types';
|
|
8
9
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
10
|
import { BlogCardImageProps as BlogCardImageProps$1 } from '@shared/contentful/blocks/cards/blog-card/types';
|
|
@@ -335,11 +336,6 @@ type FooterProps = {
|
|
|
335
336
|
|
|
336
337
|
declare const Footer: React__default.FC<FooterProps>;
|
|
337
338
|
|
|
338
|
-
type VideoLinkProps = {
|
|
339
|
-
image?: string;
|
|
340
|
-
videoPopup?: boolean;
|
|
341
|
-
link?: string;
|
|
342
|
-
};
|
|
343
339
|
type ImagePromoBarProps = {
|
|
344
340
|
brow: string;
|
|
345
341
|
enableHeading: boolean;
|
|
@@ -682,6 +678,7 @@ interface BlogCardProps {
|
|
|
682
678
|
}
|
|
683
679
|
interface BlogGridBaseProps {
|
|
684
680
|
title?: string;
|
|
681
|
+
description?: string;
|
|
685
682
|
paginatedArticles: BlogCardProps[];
|
|
686
683
|
totalArticles: number;
|
|
687
684
|
currentPage: number;
|
|
@@ -701,7 +698,7 @@ interface BlogCategoryOption {
|
|
|
701
698
|
label: string;
|
|
702
699
|
}
|
|
703
700
|
|
|
704
|
-
declare function BlogGridBase({ title, paginatedArticles, totalArticles, currentPage, totalPages, selectedCategory, categoryOptions, onCategoryChange, onPageChange, getPageHref, asList, imageComponent, }: BlogGridBaseProps): react_jsx_runtime.JSX.Element;
|
|
701
|
+
declare function BlogGridBase({ title, description, paginatedArticles, totalArticles, currentPage, totalPages, selectedCategory, categoryOptions, onCategoryChange, onPageChange, getPageHref, asList, imageComponent, }: BlogGridBaseProps): react_jsx_runtime.JSX.Element;
|
|
705
702
|
|
|
706
703
|
type BreadcrumbNavigationProps = {
|
|
707
704
|
links?: Array<any>;
|