@windstream/react-shared-components 0.1.28 → 0.1.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 +21 -4
- package/dist/contentful/index.esm.js +3 -3
- 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 -0
- package/dist/index.d.ts +7 -5
- 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/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/checklist/index.tsx +4 -2
- package/src/components/checklist/types.ts +1 -0
- package/src/components/select-plan-button/index.tsx +4 -2
- package/src/components/select-plan-button/types.ts +3 -0
- package/src/contentful/blocks/accordion/index.tsx +1 -1
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +65 -0
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +9 -0
- package/src/contentful/blocks/button/index.tsx +9 -1
- package/src/contentful/blocks/button/types.ts +3 -0
- package/src/contentful/blocks/callout/index.tsx +4 -2
- package/src/contentful/blocks/cards/blog-card/index.tsx +23 -22
- package/src/contentful/blocks/cards/blog-card/types.ts +2 -0
- package/src/contentful/blocks/cards/product-card/index.tsx +79 -35
- package/src/contentful/blocks/cards/simple-card/index.tsx +5 -4
- package/src/contentful/blocks/cards/testimonial-card/index.tsx +34 -32
- package/src/contentful/blocks/carousel/helper.tsx +2 -2
- package/src/contentful/blocks/carousel/index.tsx +31 -25
- package/src/contentful/blocks/floating-banner/index.tsx +5 -1
- package/src/contentful/blocks/modal/index.tsx +4 -4
- package/src/contentful/index.ts +3 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React$1, { ReactNode, FC } from 'react';
|
|
2
2
|
import { ResponsiveSize } from '@shared/components/brand-button/types';
|
|
3
|
+
import { Fill, Size } from '@shared/components/material-icon/types';
|
|
3
4
|
import { CheckPlansProps, Asset, Button as Button$1, ButtonGroup } from '@shared/types/micro-components';
|
|
4
5
|
import { ButtonProps as ButtonProps$1 } from '@shared/contentful/blocks/button/types';
|
|
5
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -69,6 +70,8 @@ type ButtonProps = {
|
|
|
69
70
|
modalSubtitle?: string;
|
|
70
71
|
onModalButtonClick?: (id?: string) => void;
|
|
71
72
|
iconName?: string;
|
|
73
|
+
iconFill?: Fill;
|
|
74
|
+
iconSize?: Size;
|
|
72
75
|
};
|
|
73
76
|
|
|
74
77
|
type Item = {
|
|
@@ -349,8 +352,8 @@ type ModalProps = {
|
|
|
349
352
|
};
|
|
350
353
|
|
|
351
354
|
type ExtendedModalProps = ModalProps & {
|
|
352
|
-
type?:
|
|
353
|
-
index?:
|
|
355
|
+
type?: string;
|
|
356
|
+
index?: number;
|
|
354
357
|
};
|
|
355
358
|
declare const Modal: React$1.FC<ExtendedModalProps>;
|
|
356
359
|
|
|
@@ -471,6 +474,8 @@ interface BlogCardProps$1 {
|
|
|
471
474
|
};
|
|
472
475
|
readMoreText?: string;
|
|
473
476
|
asGrid?: boolean;
|
|
477
|
+
lgWidth?: string;
|
|
478
|
+
mdWidth?: string;
|
|
474
479
|
index?: number;
|
|
475
480
|
}
|
|
476
481
|
|
|
@@ -566,5 +571,17 @@ interface DynamicTabsT {
|
|
|
566
571
|
|
|
567
572
|
declare function DynamicTabs(props: DynamicTabsT): react_jsx_runtime.JSX.Element;
|
|
568
573
|
|
|
569
|
-
|
|
570
|
-
|
|
574
|
+
interface AnchoredBottomBannerProps {
|
|
575
|
+
ctaSuffixText?: string;
|
|
576
|
+
backgroundColor?: "navy" | "yellow" | "green" | "purple" | "blue";
|
|
577
|
+
iconName?: string;
|
|
578
|
+
boxShadow?: boolean;
|
|
579
|
+
ctaButtonLabel?: string;
|
|
580
|
+
ctaButtonLink?: string;
|
|
581
|
+
ctaButtonTarget?: string;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
declare const AnchoredBottomBanner: React$1.FC<AnchoredBottomBannerProps>;
|
|
585
|
+
|
|
586
|
+
export { Accordion, AddressInputBanner, AnchoredBottomBanner, BlogCard, BlogGrid, BreadcrumbNavigation, Button, Callout, Cards, Carousel, ComparisonTable, CtaCallout, DynamicTabs, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text };
|
|
587
|
+
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, CtaCalloutProps, DynamicTabsT, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
|