@windstream/react-shared-components 0.2.71 → 0.2.72

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.
@@ -333,6 +333,15 @@ type CarouselProps = {
333
333
  testimonialAutoScroll?: boolean;
334
334
  onModalButtonClick?: (id?: string) => void;
335
335
  renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
336
+ /** Ref attached to the product-card ("speeds list") container so consumers
337
+ * can observe its scroll visibility (e.g. to fire their own view-tracking
338
+ * analytics). Only product-card carousels expose a measurable element. */
339
+ productCardsRef?: React__default.Ref<HTMLDivElement>;
340
+ /** Fired when a product card's CTA ("Select plan") is clicked, with the
341
+ * Contentful product-card entry and the originating click event. Consumers
342
+ * map this onto their click analytics (e.g. Segment "Site Clicked"). */
343
+ onProductCardCtaClick?: (item: ProductCardFields, event: React__default.MouseEvent<HTMLElement>) => void;
344
+ enableBusinessSettings?: boolean;
336
345
  };
337
346
 
338
347
  declare const Carousel: React__default.FC<CarouselProps>;
@@ -647,7 +656,7 @@ interface ProductCardProps {
647
656
  onToggleExpand?: () => void;
648
657
  ctaText?: string;
649
658
  cta?: ButtonProps$1;
650
- onCtaClick: () => void;
659
+ onCtaClick: (event: React__default.MouseEvent<HTMLElement>) => void;
651
660
  renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
652
661
  /** True when any card in the set has a best-value badge, so non-badge cards
653
662
  * reserve the banner height and stay vertically aligned. */
@@ -656,6 +665,7 @@ interface ProductCardProps {
656
665
  * compact mobile typography below `md`. One-column stacks keep the standard
657
666
  * sizes at every breakpoint. */
658
667
  twoColumn?: boolean;
668
+ enableBusinessSettings?: boolean;
659
669
  }
660
670
 
661
671
  declare const ProductCard: React__default.FC<ProductCardProps>;