@windstream/react-shared-components 0.1.43 → 0.1.44
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 +22 -4
- package/dist/contentful/index.esm.js +4 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +4 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +7 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +3 -1
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +3 -1
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.d.ts +3 -2
- 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/contentful/blocks/email-input-block/index.tsx +117 -0
- package/src/contentful/blocks/email-input-block/types.ts +16 -0
- package/src/contentful/blocks/footer/index.tsx +2 -1
- package/src/contentful/index.ts +3 -0
|
@@ -601,6 +601,24 @@ declare function CookieBanner({ content, }: {
|
|
|
601
601
|
content: TypeComponentRichTextFields;
|
|
602
602
|
}): react_jsx_runtime.JSX.Element | null;
|
|
603
603
|
|
|
604
|
+
interface EmailInputBlockProps {
|
|
605
|
+
anchorId?: string;
|
|
606
|
+
title?: string;
|
|
607
|
+
subTitle?: string;
|
|
608
|
+
emailInputDescription?: string;
|
|
609
|
+
inputPlaceholder?: string;
|
|
610
|
+
successFeedback?: string;
|
|
611
|
+
ctaText?: string;
|
|
612
|
+
caption?: string;
|
|
613
|
+
backgroundColor?: "green" | "white" | "yellow" | "blue" | "navy";
|
|
614
|
+
onSubmit: (values: EmailInputFormValues) => void;
|
|
615
|
+
}
|
|
616
|
+
interface EmailInputFormValues {
|
|
617
|
+
email: string;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
declare const EmailInputBlock: React__default.FC<EmailInputBlockProps>;
|
|
621
|
+
|
|
604
622
|
declare const toDocument: (v: unknown | null | undefined) => Document | null;
|
|
605
623
|
|
|
606
624
|
/**
|
|
@@ -609,11 +627,11 @@ declare const toDocument: (v: unknown | null | undefined) => Document | null;
|
|
|
609
627
|
*/
|
|
610
628
|
declare function renderContentfulRichText(doc: Document | null | undefined, target?: boolean, className?: string, linkClassName?: string, options?: Options): ReactNode | null;
|
|
611
629
|
declare function useContentfulRichText(doc: Document | null | undefined, options?: Options): ReactNode | null;
|
|
612
|
-
declare function renderContentfulRichTextTable(doc: Document | null | undefined, links?: any):
|
|
630
|
+
declare function renderContentfulRichTextTable(doc: Document | null | undefined, links?: any): ReactNode;
|
|
613
631
|
|
|
614
632
|
declare const label1BoldOptions: {
|
|
615
633
|
renderMark: {
|
|
616
|
-
|
|
634
|
+
bold: (text: ReactNode) => React$1.DetailedReactHTMLElement<{
|
|
617
635
|
className: string;
|
|
618
636
|
}, HTMLElement>;
|
|
619
637
|
};
|
|
@@ -625,5 +643,5 @@ interface ProcessedChecklistItem {
|
|
|
625
643
|
}
|
|
626
644
|
declare function useProcessedChecklist<T extends boolean = false>(checklistData?: any, titlesOnly?: T, richTextOptions?: Options, richTextClassName?: string): T extends true ? string[] : ProcessedChecklistItem[];
|
|
627
645
|
|
|
628
|
-
export { Accordion, AddressInputBanner, AnchoredBottomBanner, BlogCard, BlogGrid, BreadcrumbNavigation, Button, Callout, Cards, Carousel, ComparisonTable, CookieBanner, CtaCallout, DynamicTabs, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text, label1BoldOptions, renderContentfulRichText, renderContentfulRichTextTable, toDocument, useContentfulRichText, useProcessedChecklist };
|
|
629
|
-
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, TypeComponentRichTextFields as CookieBannerProps, CtaCalloutProps, DynamicTabsT, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProcessedChecklistItem, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
|
|
646
|
+
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 };
|
|
647
|
+
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 };
|