@windstream/react-shared-components 0.2.63 → 0.2.64
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 +7 -0
- package/dist/contentful/index.esm.js +4 -4
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -1
- package/dist/index.d.ts +1 -0
- 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/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/select-plan-button/index.tsx +6 -2
- package/src/components/select-plan-button/types.ts +1 -0
- package/src/contentful/blocks/cards/product-card/index.tsx +50 -24
- package/src/contentful/blocks/cards/product-card/types.ts +7 -0
- package/src/contentful/blocks/carousel/Carousel.stories.tsx +34 -8
- package/src/contentful/blocks/carousel/helper.test.tsx +127 -10
- package/src/contentful/blocks/carousel/helper.tsx +114 -21
|
@@ -643,6 +643,13 @@ interface ProductCardProps {
|
|
|
643
643
|
cta?: ButtonProps$1;
|
|
644
644
|
onCtaClick: () => void;
|
|
645
645
|
renderCheckPlans?: (overrides?: CheckPlansProps) => React__default.ReactNode;
|
|
646
|
+
/** True when any card in the set has a best-value badge, so non-badge cards
|
|
647
|
+
* reserve the banner height and stay vertically aligned. */
|
|
648
|
+
hasAnyBadge?: boolean;
|
|
649
|
+
/** True when the card renders in the two-column mobile layout, which uses the
|
|
650
|
+
* compact mobile typography below `md`. One-column stacks keep the standard
|
|
651
|
+
* sizes at every breakpoint. */
|
|
652
|
+
twoColumn?: boolean;
|
|
646
653
|
}
|
|
647
654
|
|
|
648
655
|
declare const ProductCard: React__default.FC<ProductCardProps>;
|