@windstream/react-shared-components 0.1.47 → 0.1.48
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 +25 -2
- package/dist/contentful/index.esm.js +27 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +27 -2
- package/dist/contentful/index.js.map +1 -1
- package/package.json +1 -1
- package/src/contentful/index.ts +4 -0
- /package/src/contentful/blocks/{cartretentionbanner/CartRetentionBanner.tsx → cart-retention-banner/index.tsx} +0 -0
- /package/src/contentful/blocks/{cartretentionbanner → cart-retention-banner}/types.ts +0 -0
|
@@ -632,6 +632,29 @@ interface EmailInputFormValues {
|
|
|
632
632
|
|
|
633
633
|
declare const EmailInputBlock: React__default.FC<EmailInputBlockProps>;
|
|
634
634
|
|
|
635
|
+
interface TypeCartRetentionBannerFields {
|
|
636
|
+
entryTitle?: string;
|
|
637
|
+
anchorId?: string;
|
|
638
|
+
mainHeading?: string;
|
|
639
|
+
description?: {
|
|
640
|
+
json: any;
|
|
641
|
+
};
|
|
642
|
+
cta?: {
|
|
643
|
+
buttonLabel?: string;
|
|
644
|
+
[key: string]: any;
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
declare const CartRetentionBanner: React.FC<{
|
|
649
|
+
fields: TypeCartRetentionBannerFields;
|
|
650
|
+
sys?: any;
|
|
651
|
+
isInPopupContainer?: boolean;
|
|
652
|
+
onClose?: () => void;
|
|
653
|
+
onContinueCheckout?: () => void;
|
|
654
|
+
checkShouldShowBanner?: () => boolean;
|
|
655
|
+
onBannerShown?: () => void;
|
|
656
|
+
}>;
|
|
657
|
+
|
|
635
658
|
declare const toDocument: (v: unknown | null | undefined) => Document | null;
|
|
636
659
|
|
|
637
660
|
/**
|
|
@@ -656,5 +679,5 @@ interface ProcessedChecklistItem {
|
|
|
656
679
|
}
|
|
657
680
|
declare function useProcessedChecklist<T extends boolean = false>(checklistData?: any, titlesOnly?: T, richTextOptions?: Options, richTextClassName?: string): T extends true ? string[] : ProcessedChecklistItem[];
|
|
658
681
|
|
|
659
|
-
export { Accordion, AddressInputBanner, AnchoredBottomBanner, BlogCard, BlogGrid, BreadcrumbNavigation, Button, Callout, Cards, Carousel, ComparisonTable, CookieBanner, CtaCallout, DynamicTabs, EmailInputBlock, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text, label1BoldOptions, renderContentfulRichText, renderContentfulRichTextTable, toDocument, useContentfulRichText, useProcessedChecklist };
|
|
660
|
-
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, TypeComponentRichTextFields as CookieBannerProps, CtaCalloutProps, DynamicTabsT, EmailInputBlockProps, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProcessedChecklistItem, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
|
|
682
|
+
export { Accordion, AddressInputBanner, AnchoredBottomBanner, BlogCard, BlogGrid, BreadcrumbNavigation, Button, Callout, Cards, Carousel, CartRetentionBanner, ComparisonTable, CookieBanner, CtaCallout, DynamicTabs, EmailInputBlock, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text, label1BoldOptions, renderContentfulRichText, renderContentfulRichTextTable, toDocument, useContentfulRichText, useProcessedChecklist };
|
|
683
|
+
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, TypeCartRetentionBannerFields as CartRetentionBannerProps, ComparisonTableProps, TypeComponentRichTextFields as CookieBannerProps, CtaCalloutProps, DynamicTabsT, EmailInputBlockProps, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProcessedChecklistItem, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
|