@windstream/react-shared-components 0.2.90 → 0.2.92
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 -4
- package/dist/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/contentful/blocks/cards/product-card/index.test.tsx +18 -0
- package/src/contentful/blocks/cards/product-card/index.tsx +1 -0
- package/src/contentful/blocks/cards/product-card/types.ts +8 -1
- package/src/contentful/blocks/primary-hero/index.test.tsx +2 -2
- package/src/contentful/blocks/primary-hero/index.tsx +1 -1
- package/tailwind.config.cjs +1 -1
- /package/src/contentful/blocks/carousel/{carousel.stories.tsx → Carousel.stories.tsx} +0 -0
|
@@ -700,10 +700,14 @@ interface ProductCardProps {
|
|
|
700
700
|
description: string;
|
|
701
701
|
bestValue?: boolean;
|
|
702
702
|
bestValueText?: string;
|
|
703
|
-
giftBadge?: [
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
703
|
+
giftBadge?: [
|
|
704
|
+
{
|
|
705
|
+
title: ReactNode;
|
|
706
|
+
icon: string;
|
|
707
|
+
/** Extra DOM attribute props, spread onto this gift row. */
|
|
708
|
+
fieldProps?: Record<string, unknown>;
|
|
709
|
+
}
|
|
710
|
+
];
|
|
707
711
|
innerBadge?: {
|
|
708
712
|
badgeText: string;
|
|
709
713
|
badgeIcon: string;
|