@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.
Files changed (38) hide show
  1. package/dist/contentful/index.d.ts +15 -1
  2. package/dist/contentful/index.esm.js +5 -5
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +5 -5
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/index.esm.js +1 -1
  7. package/dist/index.esm.js.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/next/index.esm.js +1 -17
  11. package/dist/next/index.esm.js.map +1 -1
  12. package/dist/next/index.js +1 -17
  13. package/dist/next/index.js.map +1 -1
  14. package/dist/styles.css +1 -1
  15. package/dist/utils/index.d.ts +11 -1
  16. package/dist/utils/index.esm.js +1 -1
  17. package/dist/utils/index.esm.js.map +1 -1
  18. package/dist/utils/index.js +1 -1
  19. package/dist/utils/index.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/components/brand-button/index.tsx +2 -2
  22. package/src/components/next-image/index.tsx +1 -1
  23. package/src/components/video-link/contentful-video-embed.tsx +1 -1
  24. package/src/components/video-link/index.tsx +1 -1
  25. package/src/components/video-link/vimeo-embed.tsx +1 -1
  26. package/src/components/video-link/youtube-embed.tsx +1 -1
  27. package/src/contentful/blocks/button/index.tsx +11 -0
  28. package/src/contentful/blocks/cart-retention-banner/CartRetentionBanner.stories.tsx +89 -1
  29. package/src/contentful/blocks/cart-retention-banner/index.test.tsx +85 -0
  30. package/src/contentful/blocks/cart-retention-banner/index.tsx +222 -39
  31. package/src/contentful/blocks/cart-retention-banner/types.ts +34 -0
  32. package/src/contentful/blocks/dynamic-form/form-field.tsx +1 -1
  33. package/src/contentful/blocks/modal/index.tsx +14 -3
  34. package/src/contentful/blocks/shape-background-wrapper/index.test.tsx +17 -1
  35. package/src/contentful/blocks/shape-background-wrapper/index.tsx +30 -0
  36. package/src/contentful/index.ts +5 -0
  37. package/src/utils/index.ts +5 -0
  38. 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 };