@windstream/react-shared-components 0.2.57 → 0.2.59
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 +15 -1
- package/dist/contentful/index.esm.js +5 -5
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +5 -5
- package/dist/contentful/index.js.map +1 -1
- 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/next/index.esm.js +1 -17
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +1 -17
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.d.ts +11 -1
- 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/components/brand-button/index.tsx +2 -2
- package/src/components/next-image/index.tsx +1 -1
- package/src/components/video-link/contentful-video-embed.tsx +1 -1
- package/src/components/video-link/index.tsx +1 -1
- package/src/components/video-link/vimeo-embed.tsx +1 -1
- package/src/components/video-link/youtube-embed.tsx +1 -1
- package/src/contentful/blocks/button/index.tsx +11 -0
- package/src/contentful/blocks/cart-retention-banner/CartRetentionBanner.stories.tsx +89 -1
- package/src/contentful/blocks/cart-retention-banner/index.test.tsx +85 -0
- package/src/contentful/blocks/cart-retention-banner/index.tsx +222 -39
- package/src/contentful/blocks/cart-retention-banner/types.ts +34 -0
- package/src/contentful/blocks/dynamic-form/form-field.tsx +1 -1
- package/src/contentful/blocks/modal/index.tsx +14 -3
- package/src/contentful/blocks/shape-background-wrapper/index.test.tsx +17 -1
- package/src/contentful/blocks/shape-background-wrapper/index.tsx +30 -0
- package/src/contentful/index.ts +5 -0
- package/src/utils/index.ts +5 -0
- package/src/utils/wifi-grant-redirect.ts +49 -0
|
@@ -861,6 +861,9 @@ interface EmailInputFormValues {
|
|
|
861
861
|
|
|
862
862
|
declare const EmailInputBlock: React__default.FC<EmailInputBlockProps>;
|
|
863
863
|
|
|
864
|
+
type CartRetentionBannerImagePosition = "left" | "right" | "center";
|
|
865
|
+
type CartRetentionBannerBackgroundColor = "white" | "navy" | "green" | "blue" | "purple" | "yellow" | "cream500" | "gray100" | "transparent";
|
|
866
|
+
type CartRetentionBannerImageAccentColor = "white" | "navy" | "green" | "blue" | "purple" | "yellow" | "cream500" | "gray100";
|
|
864
867
|
interface TypeCartRetentionBannerFields {
|
|
865
868
|
entryTitle?: string;
|
|
866
869
|
anchorId?: string;
|
|
@@ -874,6 +877,17 @@ interface TypeCartRetentionBannerFields {
|
|
|
874
877
|
animationType?: AnimationType | AnimationType[];
|
|
875
878
|
[key: string]: any;
|
|
876
879
|
};
|
|
880
|
+
/** Image URL rendered alongside the banner content. */
|
|
881
|
+
image?: string;
|
|
882
|
+
imageAltText?: string;
|
|
883
|
+
/** Position of the image relative to the text content; "center" (default) preserves the original image-above-heading layout. */
|
|
884
|
+
imagePosition?: CartRetentionBannerImagePosition;
|
|
885
|
+
/** Background color token applied to the banner/modal content area. */
|
|
886
|
+
backgroundColor?: CartRetentionBannerBackgroundColor;
|
|
887
|
+
/** Accent color for the decorative shape peeking from behind the image's outer corner; omit for no accent. */
|
|
888
|
+
imageAccentColor?: CartRetentionBannerImageAccentColor;
|
|
889
|
+
Logo?: string;
|
|
890
|
+
showImageAsIcon?: boolean;
|
|
877
891
|
}
|
|
878
892
|
|
|
879
893
|
declare const CartRetentionBanner: React.FC<{
|
|
@@ -1153,4 +1167,4 @@ interface ProcessedChecklistItem {
|
|
|
1153
1167
|
declare function useProcessedChecklist<T extends boolean = false>(checklistData?: any, titlesOnly?: T, richTextOptions?: Options, richTextClassName?: string): T extends true ? string[] : ProcessedChecklistItem[];
|
|
1154
1168
|
|
|
1155
1169
|
export { Accordion, AddressInputBanner, AnchoredBottomBanner, AwardMarquee, BlogCard, BlogGrid, BlogGridBase, BreadcrumbNavigation, Button, Callout, Cards, Carousel, CartRetentionBanner, ComparisonTable, CookieBanner, CtaCallout, DynamicForm, DynamicTabs, EmailInputBlock, FindKinetic, FloatingBanner, Footer, IframeEmbed, ImagePromoBar, Modal, Navigation, OrderedList, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text, constants as dynamicFormConstants, Regex as dynamicFormRegex, label1BoldOptions, renderContentfulRichText, renderContentfulRichTextTable, toDocument, useContentfulRichText, useProcessedChecklist };
|
|
1156
|
-
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, AwardMarqueeBackground, AwardMarqueeItem, AwardMarqueeProps, AwardMarqueeSpeed, BlogCardProps$2 as BlogCardProps, BlogGridBaseProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, TypeCartRetentionBannerFields as CartRetentionBannerProps, ComparisonTableProps, ConditionalFieldConfig, TypeComponentRichTextFields as CookieBannerProps, CtaCalloutProps, DynamicFormFieldConfig, DynamicFormFieldOption, DynamicFormFieldType, DynamicFormItem, DynamicFormPayload, DynamicFormProps, DynamicTabsT, EmailInputBlockProps, ExistingDataSourceResolver, FieldRenderProps, FindKineticProps, FloatingBannerProps, FooterProps, FormAction, IframeEmbedProps, ImagePromoBarProps, ModalProps, NavigationProps, OrderedListProps, PrimaryHeroProps, ProcessedChecklistItem, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, SubmitContext, SubmitHandler, TestimonialCardProps, TextProps };
|
|
1170
|
+
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, AwardMarqueeBackground, AwardMarqueeItem, AwardMarqueeProps, AwardMarqueeSpeed, BlogCardProps$2 as BlogCardProps, BlogGridBaseProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, CartRetentionBannerBackgroundColor, CartRetentionBannerImageAccentColor, CartRetentionBannerImagePosition, TypeCartRetentionBannerFields as CartRetentionBannerProps, ComparisonTableProps, ConditionalFieldConfig, TypeComponentRichTextFields as CookieBannerProps, CtaCalloutProps, DynamicFormFieldConfig, DynamicFormFieldOption, DynamicFormFieldType, DynamicFormItem, DynamicFormPayload, DynamicFormProps, DynamicTabsT, EmailInputBlockProps, ExistingDataSourceResolver, FieldRenderProps, FindKineticProps, FloatingBannerProps, FooterProps, FormAction, IframeEmbedProps, ImagePromoBarProps, ModalProps, NavigationProps, OrderedListProps, PrimaryHeroProps, ProcessedChecklistItem, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, SubmitContext, SubmitHandler, TestimonialCardProps, TextProps };
|