@windstream/react-shared-components 0.2.89 → 0.2.90

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.
@@ -53,6 +53,8 @@ type AwardMarqueeItem = {
53
53
  mobileIconHeight?: number;
54
54
  title?: string;
55
55
  description?: string;
56
+ /** Inspector attributes for this repeated award item's text. */
57
+ fieldProps?: FieldProps<"title" | "description">;
56
58
  };
57
59
  type AwardMarqueeProps = {
58
60
  anchorId?: string;
@@ -63,6 +65,8 @@ type AwardMarqueeProps = {
63
65
  scroll?: boolean;
64
66
  backgroundColor?: AwardMarqueeBackground;
65
67
  className?: string;
68
+ /** Inspector attributes for the block heading and footer text. */
69
+ fieldProps?: FieldProps<"heading" | "footerText">;
66
70
  };
67
71
 
68
72
  declare const AwardMarquee: React__default.FC<AwardMarqueeProps>;
@@ -379,6 +383,8 @@ type FloatingBannerProps = {
379
383
  background?: "green" | "navy" | "white" | "purple" | "blue" | "yellow";
380
384
  color?: "dark" | "light";
381
385
  maxWidth?: boolean;
386
+ /** Consumer-supplied DOM attributes for the rendered content fields. */
387
+ fieldProps?: FieldProps<"title" | "subtitle" | "description" | "disclaimer" | "cta">;
382
388
  };
383
389
 
384
390
  declare const FloatingBanner: React__default.FC<FloatingBannerProps>;
@@ -416,6 +422,7 @@ type ImagePromoBarProps = {
416
422
  imageLinks: {
417
423
  url: string;
418
424
  image: string;
425
+ fieldProps?: FieldProps<"image">;
419
426
  }[];
420
427
  cta: any;
421
428
  secondaryCta: any;
@@ -428,6 +435,8 @@ type ImagePromoBarProps = {
428
435
  onModalButtonClick?: (id?: string) => void;
429
436
  onClick?: (event: React__default.MouseEvent, source: "primary" | "secondary") => void;
430
437
  renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
438
+ /** Consumer-supplied DOM attributes for the rendered content fields. */
439
+ fieldProps?: FieldProps<"brow" | "title" | "subTitle" | "description" | "checklist" | "ctaDisclaimer" | "cta" | "secondaryCta" | "disclaimer" | "imageLinks">;
431
440
  };
432
441
 
433
442
  declare const ImagePromoBar: React__default.FC<ImagePromoBarProps>;
@@ -909,6 +918,7 @@ interface ScheduledMessage {
909
918
  ctaSuffixText?: string;
910
919
  ctaButtonLink?: string;
911
920
  ctaButtonTarget?: string;
921
+ fieldProps?: FieldProps<"ctaButtonLabel" | "ctaSuffixText">;
912
922
  }
913
923
  interface AnchoredBottomBannerProps {
914
924
  ctaSuffixText?: string;
@@ -929,6 +939,8 @@ interface AnchoredBottomBannerProps {
929
939
  activeMessage?: ScheduledMessage;
930
940
  applicableWeekday: string;
931
941
  }) => void;
942
+ /** DOM attributes for the rendered CTA label and suffix fields. */
943
+ fieldProps?: FieldProps<"ctaButtonLabel" | "ctaSuffixText">;
932
944
  }
933
945
 
934
946
  declare const AnchoredBottomBanner: React__default.FC<AnchoredBottomBannerProps>;
@@ -997,9 +1009,11 @@ interface TypeCartRetentionBannerFields {
997
1009
  Logo?: string;
998
1010
  showImageAsIcon?: boolean;
999
1011
  }
1012
+ type CartRetentionBannerFieldProps = FieldProps<"mainHeading" | "description" | "cta">;
1000
1013
 
1001
1014
  declare const CartRetentionBanner: React.FC<{
1002
1015
  fields: TypeCartRetentionBannerFields;
1016
+ fieldProps?: CartRetentionBannerFieldProps;
1003
1017
  sys?: any;
1004
1018
  isInPopupContainer?: boolean;
1005
1019
  onClose?: () => void;