@windstream/react-shared-components 0.1.48 → 0.1.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windstream/react-shared-components",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
4
4
  "type": "module",
5
5
  "description": "Shared React components for Kinetic applications",
6
6
  "main": "dist/index.js",
@@ -2,8 +2,8 @@
2
2
  import { Text } from "@shared/components/text";
3
3
  import type { TypeCartRetentionBannerFields } from "./types";
4
4
  import { useEffect, useState } from "react";
5
- import { Button } from "@shared/components/button";
6
- import { Modal } from "@shared/components/modal";
5
+ import { Button } from "@shared/contentful/blocks/button";
6
+ import { Modal } from "@shared/contentful/blocks/modal";
7
7
  import { toDocument } from "@shared/utils/contentful/to-document";
8
8
  import { renderContentfulRichText } from "@shared/hooks/contentful/use-contentful-rich-text";
9
9
 
@@ -59,9 +59,8 @@ const CartRetentionBanner: React.FC<{
59
59
  }
60
60
  <Button
61
61
  onClick={continueCheckout}
62
- >
63
- {cta?.buttonLabel ?? "Continue checkout"}
64
- </Button>
62
+ buttonLabel={cta?.buttonLabel ?? "Continue checkout"}
63
+ />
65
64
  </div>
66
65
  );
67
66
  }
@@ -87,9 +86,8 @@ const CartRetentionBanner: React.FC<{
87
86
  }
88
87
  <Button
89
88
  onClick={continueCheckout}
90
- >
91
- {cta?.buttonLabel ?? "Continue checkout"}
92
- </Button>
89
+ buttonLabel={cta?.buttonLabel ?? "Continue checkout"}
90
+ />
93
91
  </div>
94
92
  </Modal>
95
93
  </section>