@windstream/react-shared-components 0.2.62 → 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 +8 -1
- package/dist/contentful/index.esm.js +4 -4
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +4 -4
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +4 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.d.ts +1 -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/select-plan-button/index.tsx +6 -2
- package/src/components/select-plan-button/types.ts +1 -0
- package/src/components/video-link/vimeo-embed.tsx +19 -10
- 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
- package/src/contentful/blocks/image-promo-bar/index.tsx +2 -2
- package/src/hooks/contentful/use-contentful-rich-text.test.tsx +12 -0
- package/src/hooks/contentful/use-contentful-rich-text.tsx +17 -2
|
@@ -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>;
|
|
@@ -1193,7 +1200,7 @@ declare const toDocument: (v: unknown | null | undefined) => Document | null;
|
|
|
1193
1200
|
* Utility function to render Contentful Rich Text.
|
|
1194
1201
|
* Safe to use inside .map() loops.
|
|
1195
1202
|
*/
|
|
1196
|
-
declare function renderContentfulRichText(doc: Document | null | undefined, target?: boolean, className?: string, linkClassName?: string, options?: Options, links?: any): ReactNode | null;
|
|
1203
|
+
declare function renderContentfulRichText(doc: Document | null | undefined, target?: boolean, className?: string, linkClassName?: string, options?: Options, links?: any, listLinkClassName?: string): ReactNode | null;
|
|
1197
1204
|
declare function useContentfulRichText(doc: Document | null | undefined, options?: Options, config?: {
|
|
1198
1205
|
boldClassName?: string;
|
|
1199
1206
|
links?: any;
|