@bosonprotocol/react-kit 0.29.1 → 0.30.0-alpha.1

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.
Files changed (206) hide show
  1. package/dist/cjs/components/buttons/CommitButtonView.d.ts +2 -7
  2. package/dist/cjs/components/buttons/CommitButtonView.d.ts.map +1 -1
  3. package/dist/cjs/components/buttons/CommitButtonView.js +30 -9
  4. package/dist/cjs/components/buttons/CommitButtonView.js.map +1 -1
  5. package/dist/cjs/components/modal/components/Commit/CommitNonModal.js +2 -2
  6. package/dist/cjs/components/modal/components/Commit/CommitNonModal.js.map +1 -1
  7. package/dist/cjs/components/modal/components/Commit/CommitSuccess/CommitSuccess.d.ts.map +1 -1
  8. package/dist/cjs/components/modal/components/Commit/CommitSuccess/CommitSuccess.js +3 -1
  9. package/dist/cjs/components/modal/components/Commit/CommitSuccess/CommitSuccess.js.map +1 -1
  10. package/dist/cjs/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.d.ts.map +1 -1
  11. package/dist/cjs/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.js +3 -1
  12. package/dist/cjs/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.js.map +1 -1
  13. package/dist/cjs/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.d.ts.map +1 -1
  14. package/dist/cjs/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.js +3 -1
  15. package/dist/cjs/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.js.map +1 -1
  16. package/dist/cjs/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.d.ts.map +1 -1
  17. package/dist/cjs/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.js +3 -1
  18. package/dist/cjs/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.js.map +1 -1
  19. package/dist/cjs/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.d.ts.map +1 -1
  20. package/dist/cjs/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.js +3 -1
  21. package/dist/cjs/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.js.map +1 -1
  22. package/dist/cjs/components/modal/components/Commit/OfferVariantView.d.ts.map +1 -1
  23. package/dist/cjs/components/modal/components/Commit/OfferVariantView.js +3 -1
  24. package/dist/cjs/components/modal/components/Commit/OfferVariantView.js.map +1 -1
  25. package/dist/cjs/components/modal/components/PurchaseOverview/PurchaseOverview.js +1 -2
  26. package/dist/cjs/components/modal/components/PurchaseOverview/PurchaseOverview.js.map +1 -1
  27. package/dist/cjs/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.d.ts.map +1 -1
  28. package/dist/cjs/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.js +3 -1
  29. package/dist/cjs/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.js.map +1 -1
  30. package/dist/cjs/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.d.ts.map +1 -1
  31. package/dist/cjs/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.js +3 -1
  32. package/dist/cjs/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.js.map +1 -1
  33. package/dist/cjs/components/modal/components/Redeem/ExchangeView/ExchangeView.d.ts.map +1 -1
  34. package/dist/cjs/components/modal/components/Redeem/ExchangeView/ExchangeView.js +3 -1
  35. package/dist/cjs/components/modal/components/Redeem/ExchangeView/ExchangeView.js.map +1 -1
  36. package/dist/cjs/components/modal/components/Redeem/ExchangeView/RedeemSuccess.d.ts.map +1 -1
  37. package/dist/cjs/components/modal/components/Redeem/ExchangeView/RedeemSuccess.js +3 -1
  38. package/dist/cjs/components/modal/components/Redeem/ExchangeView/RedeemSuccess.js.map +1 -1
  39. package/dist/cjs/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.d.ts.map +1 -1
  40. package/dist/cjs/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.js +4 -3
  41. package/dist/cjs/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.js.map +1 -1
  42. package/dist/cjs/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.d.ts.map +1 -1
  43. package/dist/cjs/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.js +3 -1
  44. package/dist/cjs/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.js.map +1 -1
  45. package/dist/cjs/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.d.ts.map +1 -1
  46. package/dist/cjs/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.js +3 -1
  47. package/dist/cjs/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.js.map +1 -1
  48. package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.d.ts.map +1 -1
  49. package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.js +3 -1
  50. package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.js.map +1 -1
  51. package/dist/cjs/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.d.ts.map +1 -1
  52. package/dist/cjs/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.js +3 -1
  53. package/dist/cjs/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.js.map +1 -1
  54. package/dist/cjs/components/modal/components/Redeem/RedeemForm/RedeemFormView.d.ts.map +1 -1
  55. package/dist/cjs/components/modal/components/Redeem/RedeemForm/RedeemFormView.js +3 -1
  56. package/dist/cjs/components/modal/components/Redeem/RedeemForm/RedeemFormView.js.map +1 -1
  57. package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.js +2 -2
  58. package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
  59. package/dist/cjs/components/modal/components/common/BosonLogo.d.ts +8 -0
  60. package/dist/cjs/components/modal/components/common/BosonLogo.d.ts.map +1 -0
  61. package/dist/cjs/components/modal/components/common/BosonLogo.js +16 -0
  62. package/dist/cjs/components/modal/components/common/BosonLogo.js.map +1 -0
  63. package/dist/cjs/components/modal/components/common/StepsOverview/PurchaseOverview.d.ts +1 -1
  64. package/dist/cjs/components/modal/components/common/StepsOverview/PurchaseOverview.d.ts.map +1 -1
  65. package/dist/cjs/components/modal/components/common/StepsOverview/PurchaseOverview.js +19 -12
  66. package/dist/cjs/components/modal/components/common/StepsOverview/PurchaseOverview.js.map +1 -1
  67. package/dist/cjs/components/modal/components/common/StepsOverview/PurchaseOverviewView.d.ts.map +1 -1
  68. package/dist/cjs/components/modal/components/common/StepsOverview/PurchaseOverviewView.js +13 -9
  69. package/dist/cjs/components/modal/components/common/StepsOverview/PurchaseOverviewView.js.map +1 -1
  70. package/dist/cjs/components/modal/components/common/StepsOverview/StepsOverview.d.ts.map +1 -1
  71. package/dist/cjs/components/modal/components/common/StepsOverview/StepsOverview.js +3 -1
  72. package/dist/cjs/components/modal/components/common/StepsOverview/StepsOverview.js.map +1 -1
  73. package/dist/cjs/components/modal/components/common/detail/Detail.style.js +1 -1
  74. package/dist/cjs/components/modal/nonModal/NonModal.d.ts +2 -2
  75. package/dist/cjs/components/modal/nonModal/NonModal.d.ts.map +1 -1
  76. package/dist/cjs/components/modal/nonModal/NonModal.js +3 -2
  77. package/dist/cjs/components/modal/nonModal/NonModal.js.map +1 -1
  78. package/dist/cjs/components/ui/SvgImage.d.ts +2 -2
  79. package/dist/cjs/components/ui/SvgImage.d.ts.map +1 -1
  80. package/dist/cjs/components/ui/SvgImage.js.map +1 -1
  81. package/dist/cjs/index.d.ts +1 -0
  82. package/dist/cjs/index.d.ts.map +1 -1
  83. package/dist/cjs/index.js +1 -0
  84. package/dist/cjs/index.js.map +1 -1
  85. package/dist/esm/components/buttons/CommitButtonView.d.ts +2 -7
  86. package/dist/esm/components/buttons/CommitButtonView.d.ts.map +1 -1
  87. package/dist/esm/components/buttons/CommitButtonView.js +30 -9
  88. package/dist/esm/components/buttons/CommitButtonView.js.map +1 -1
  89. package/dist/esm/components/modal/components/Commit/CommitNonModal.js +2 -2
  90. package/dist/esm/components/modal/components/Commit/CommitNonModal.js.map +1 -1
  91. package/dist/esm/components/modal/components/Commit/CommitSuccess/CommitSuccess.d.ts.map +1 -1
  92. package/dist/esm/components/modal/components/Commit/CommitSuccess/CommitSuccess.js +3 -1
  93. package/dist/esm/components/modal/components/Commit/CommitSuccess/CommitSuccess.js.map +1 -1
  94. package/dist/esm/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.d.ts.map +1 -1
  95. package/dist/esm/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.js +3 -1
  96. package/dist/esm/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.js.map +1 -1
  97. package/dist/esm/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.d.ts.map +1 -1
  98. package/dist/esm/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.js +3 -1
  99. package/dist/esm/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.js.map +1 -1
  100. package/dist/esm/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.d.ts.map +1 -1
  101. package/dist/esm/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.js +3 -1
  102. package/dist/esm/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.js.map +1 -1
  103. package/dist/esm/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.d.ts.map +1 -1
  104. package/dist/esm/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.js +3 -1
  105. package/dist/esm/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.js.map +1 -1
  106. package/dist/esm/components/modal/components/Commit/OfferVariantView.d.ts.map +1 -1
  107. package/dist/esm/components/modal/components/Commit/OfferVariantView.js +3 -1
  108. package/dist/esm/components/modal/components/Commit/OfferVariantView.js.map +1 -1
  109. package/dist/esm/components/modal/components/PurchaseOverview/PurchaseOverview.js +1 -2
  110. package/dist/esm/components/modal/components/PurchaseOverview/PurchaseOverview.js.map +1 -1
  111. package/dist/esm/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.d.ts.map +1 -1
  112. package/dist/esm/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.js +3 -1
  113. package/dist/esm/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.js.map +1 -1
  114. package/dist/esm/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.d.ts.map +1 -1
  115. package/dist/esm/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.js +3 -1
  116. package/dist/esm/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.js.map +1 -1
  117. package/dist/esm/components/modal/components/Redeem/ExchangeView/ExchangeView.d.ts.map +1 -1
  118. package/dist/esm/components/modal/components/Redeem/ExchangeView/ExchangeView.js +3 -1
  119. package/dist/esm/components/modal/components/Redeem/ExchangeView/ExchangeView.js.map +1 -1
  120. package/dist/esm/components/modal/components/Redeem/ExchangeView/RedeemSuccess.d.ts.map +1 -1
  121. package/dist/esm/components/modal/components/Redeem/ExchangeView/RedeemSuccess.js +3 -1
  122. package/dist/esm/components/modal/components/Redeem/ExchangeView/RedeemSuccess.js.map +1 -1
  123. package/dist/esm/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.d.ts.map +1 -1
  124. package/dist/esm/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.js +4 -3
  125. package/dist/esm/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.js.map +1 -1
  126. package/dist/esm/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.d.ts.map +1 -1
  127. package/dist/esm/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.js +3 -1
  128. package/dist/esm/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.js.map +1 -1
  129. package/dist/esm/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.d.ts.map +1 -1
  130. package/dist/esm/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.js +3 -1
  131. package/dist/esm/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.js.map +1 -1
  132. package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.d.ts.map +1 -1
  133. package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.js +3 -1
  134. package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.js.map +1 -1
  135. package/dist/esm/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.d.ts.map +1 -1
  136. package/dist/esm/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.js +3 -1
  137. package/dist/esm/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.js.map +1 -1
  138. package/dist/esm/components/modal/components/Redeem/RedeemForm/RedeemFormView.d.ts.map +1 -1
  139. package/dist/esm/components/modal/components/Redeem/RedeemForm/RedeemFormView.js +3 -1
  140. package/dist/esm/components/modal/components/Redeem/RedeemForm/RedeemFormView.js.map +1 -1
  141. package/dist/esm/components/modal/components/Redeem/RedeemNonModal.js +2 -2
  142. package/dist/esm/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
  143. package/dist/esm/components/modal/components/common/BosonLogo.d.ts +8 -0
  144. package/dist/esm/components/modal/components/common/BosonLogo.d.ts.map +1 -0
  145. package/dist/esm/components/modal/components/common/{BosonFooter.js → BosonLogo.js} +4 -4
  146. package/dist/esm/components/modal/components/common/BosonLogo.js.map +1 -0
  147. package/dist/esm/components/modal/components/common/StepsOverview/PurchaseOverview.d.ts +1 -1
  148. package/dist/esm/components/modal/components/common/StepsOverview/PurchaseOverview.d.ts.map +1 -1
  149. package/dist/esm/components/modal/components/common/StepsOverview/PurchaseOverview.js +17 -11
  150. package/dist/esm/components/modal/components/common/StepsOverview/PurchaseOverview.js.map +1 -1
  151. package/dist/esm/components/modal/components/common/StepsOverview/PurchaseOverviewView.d.ts.map +1 -1
  152. package/dist/esm/components/modal/components/common/StepsOverview/PurchaseOverviewView.js +13 -6
  153. package/dist/esm/components/modal/components/common/StepsOverview/PurchaseOverviewView.js.map +1 -1
  154. package/dist/esm/components/modal/components/common/StepsOverview/StepsOverview.d.ts.map +1 -1
  155. package/dist/esm/components/modal/components/common/StepsOverview/StepsOverview.js +3 -1
  156. package/dist/esm/components/modal/components/common/StepsOverview/StepsOverview.js.map +1 -1
  157. package/dist/esm/components/modal/components/common/detail/Detail.style.js +1 -1
  158. package/dist/esm/components/modal/nonModal/NonModal.d.ts +2 -2
  159. package/dist/esm/components/modal/nonModal/NonModal.d.ts.map +1 -1
  160. package/dist/esm/components/modal/nonModal/NonModal.js +3 -2
  161. package/dist/esm/components/modal/nonModal/NonModal.js.map +1 -1
  162. package/dist/esm/components/ui/SvgImage.d.ts +2 -2
  163. package/dist/esm/components/ui/SvgImage.d.ts.map +1 -1
  164. package/dist/esm/components/ui/SvgImage.js.map +1 -1
  165. package/dist/esm/index.d.ts +1 -0
  166. package/dist/esm/index.d.ts.map +1 -1
  167. package/dist/esm/index.js +1 -0
  168. package/dist/esm/index.js.map +1 -1
  169. package/package.json +2 -2
  170. package/src/components/buttons/CommitButtonView.tsx +35 -23
  171. package/src/components/modal/components/Commit/CommitNonModal.tsx +2 -2
  172. package/src/components/modal/components/Commit/CommitSuccess/CommitSuccess.tsx +3 -1
  173. package/src/components/modal/components/Commit/ContractualAgreementView/ContractualAgreementView.tsx +3 -1
  174. package/src/components/modal/components/Commit/LicenseAgreementView/LicenseAgreementView.tsx +3 -1
  175. package/src/components/modal/components/Commit/OfferFullDescriptionView/OfferFullDescriptionView.tsx +3 -1
  176. package/src/components/modal/components/Commit/OfferPolicyView/CommitOfferPolicyView.tsx +3 -1
  177. package/src/components/modal/components/Commit/OfferVariantView.tsx +3 -1
  178. package/src/components/modal/components/PurchaseOverview/PurchaseOverview.tsx +2 -2
  179. package/src/components/modal/components/Redeem/ContractualAgreementView/ContractualAgreementView.tsx +3 -1
  180. package/src/components/modal/components/Redeem/ExchangeView/ExchangeFullDescriptionView/ExchangeFullDescriptionView.tsx +3 -1
  181. package/src/components/modal/components/Redeem/ExchangeView/ExchangeView.tsx +3 -1
  182. package/src/components/modal/components/Redeem/ExchangeView/RedeemSuccess.tsx +3 -1
  183. package/src/components/modal/components/Redeem/ExchangeView/cancellation/CancellationView.tsx +4 -3
  184. package/src/components/modal/components/Redeem/ExchangeView/expireVoucher/ExpireVoucherView.tsx +3 -1
  185. package/src/components/modal/components/Redeem/LicenseAgreementView/LicenseAgreementView.tsx +3 -1
  186. package/src/components/modal/components/Redeem/MyItems/MyItems.tsx +3 -1
  187. package/src/components/modal/components/Redeem/OfferPolicyView/RedeemOfferPolicyView.tsx +3 -1
  188. package/src/components/modal/components/Redeem/RedeemForm/RedeemFormView.tsx +3 -1
  189. package/src/components/modal/components/Redeem/RedeemNonModal.tsx +2 -2
  190. package/src/components/modal/components/common/BosonLogo.tsx +23 -0
  191. package/src/components/modal/components/common/StepsOverview/PurchaseOverview.tsx +30 -22
  192. package/src/components/modal/components/common/StepsOverview/PurchaseOverviewView.tsx +14 -5
  193. package/src/components/modal/components/common/StepsOverview/StepsOverview.tsx +3 -1
  194. package/src/components/modal/components/common/detail/Detail.style.tsx +1 -1
  195. package/src/components/modal/nonModal/NonModal.tsx +17 -7
  196. package/src/components/ui/SvgImage.tsx +2 -1
  197. package/src/index.tsx +1 -0
  198. package/src/stories/buttons/CommitButtonView.stories.tsx +0 -1
  199. package/dist/cjs/components/modal/components/common/BosonFooter.d.ts +0 -3
  200. package/dist/cjs/components/modal/components/common/BosonFooter.d.ts.map +0 -1
  201. package/dist/cjs/components/modal/components/common/BosonFooter.js +0 -16
  202. package/dist/cjs/components/modal/components/common/BosonFooter.js.map +0 -1
  203. package/dist/esm/components/modal/components/common/BosonFooter.d.ts +0 -3
  204. package/dist/esm/components/modal/components/common/BosonFooter.d.ts.map +0 -1
  205. package/dist/esm/components/modal/components/common/BosonFooter.js.map +0 -1
  206. package/src/components/modal/components/common/BosonFooter.tsx +0 -12
@@ -7,6 +7,11 @@ import { LearnMore, ModalBackground } from "../detail/Detail.style";
7
7
  import { CommitStep } from "./style";
8
8
  import styled from "styled-components";
9
9
  import { breakpoint } from "../../../../../lib/ui/breakpoint";
10
+ const Wrapper = styled.div `
11
+ p {
12
+ text-wrap: pretty;
13
+ }
14
+ `;
10
15
  const CommitStepWrapper = styled.div `
11
16
  overflow: hidden;
12
17
  margin: 1rem 0;
@@ -42,17 +47,9 @@ const COMMIT_STEPS = [
42
47
  description: "Redeem your rNFT to receive the underlying item. The rNFT will be destroyed in the process."
43
48
  }
44
49
  ];
45
- export default function PurchaseOverview() {
50
+ export function PurchaseOverviewInner() {
46
51
  const { isLteXS } = useBreakpoints();
47
- return (React.createElement(React.Fragment, null,
48
- React.createElement(Grid, { flexDirection: "column", alignItems: "flex-start" },
49
- React.createElement(Typography, { tag: "h4", style: { margin: 0 } },
50
- React.createElement("b", null, "How does the purchase process work?")),
51
- React.createElement(Typography, { tag: "p" }, "When Committing to Buy, the item price will be transferred into escrow and you will receive a redeemable NFT (rNFT) that can be exchanged for the real-world item it represents.")),
52
- React.createElement(CommitStepWrapper, null, COMMIT_STEPS.map(({ icon: Icon, header, description }, key) => (React.createElement(CommitStep, { key: `commit_step_${key}` },
53
- React.createElement(Icon, { size: 24 }),
54
- React.createElement(Typography, { tag: "h6" }, header),
55
- React.createElement(Typography, { tag: "p" }, description))))),
52
+ return (React.createElement(Wrapper, null,
56
53
  React.createElement(ModalBackground, null,
57
54
  React.createElement(Grid, { flexDirection: isLteXS ? "column" : "row" },
58
55
  React.createElement("div", null,
@@ -62,6 +59,15 @@ export default function PurchaseOverview() {
62
59
  React.createElement(LearnMore, { href: "https://www.bosonprotocol.io/technology/", target: "_blank" },
63
60
  React.createElement(React.Fragment, null,
64
61
  "Learn more",
65
- React.createElement(CaretRight, { size: 32 }))))))));
62
+ React.createElement(CaretRight, { size: 32 })))))),
63
+ React.createElement(Grid, { flexDirection: "column", alignItems: "flex-start" },
64
+ React.createElement(Grid, { flexDirection: "column", alignItems: "flex-start" },
65
+ React.createElement(Typography, { tag: "h4", style: { margin: 0 } },
66
+ React.createElement("b", null, "How does the purchase process work?")),
67
+ React.createElement(Typography, { tag: "p" }, "When Committing to Buy, the item price will be transferred into escrow and you will receive a redeemable NFT (rNFT) that can be exchanged for the real-world item it represents."))),
68
+ React.createElement(CommitStepWrapper, null, COMMIT_STEPS.map(({ icon: Icon, header, description }, key) => (React.createElement(CommitStep, { key: `commit_step_${key}` },
69
+ React.createElement(Icon, { size: 24 }),
70
+ React.createElement(Typography, { tag: "h6" }, header),
71
+ React.createElement(Typography, { tag: "p" }, description)))))));
66
72
  }
67
73
  //# sourceMappingURL=PurchaseOverview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PurchaseOverview.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/PurchaseOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,YAAY,EACb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;IAUhC,UAAU,CAAC,CAAC;;;;;;;CAOf,CAAC;AAEF,MA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;wBACvC,oEAAyC,CAC9B;oBACb,oBAAC,UAAU,IAAC,GAAG,EAAC,GAAG,qNAKN;oBACb,oBAAC,SAAS,IACR,IAAI,EAAC,0CAA0C,EAC/C,MAAM,EAAC,QAAQ;wBAEf;;4BAEE,oBAAC,UAAU,IAAC,IAAI,EAAE,EAAE,GAAI,CACvB,CACO,CACR,CACD,CACS,CACjB,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"PurchaseOverview.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/PurchaseOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,YAAY,EACb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIzB,CAAC;AAEF,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;IAUhC,UAAU,CAAC,CAAC;;;;;;;CAOf,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB;QACE,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,eAAe;QACvB,WAAW,EACT,uHAAuH;KAC1H;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,0BAA0B;QAClC,WAAW,EACT,2EAA2E;KAC9E;IACD;QACE,IAAI,EA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MAAM,CAAc;YAC1C,oBAAC,UAAU,IAAC,GAAG,EAAC,GAAG,IAAE,WAAW,CAAc,CACnC,CACd,CAAC,CACgB,CACZ,CACX,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PurchaseOverviewView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/PurchaseOverviewView.tsx"],"names":[],"mappings":";AAQA,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AACF,wBAAgB,oBAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,eAyB1D"}
1
+ {"version":3,"file":"PurchaseOverviewView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/PurchaseOverviewView.tsx"],"names":[],"mappings":";AASA,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AACF,wBAAgB,oBAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,eAiC1D"}
@@ -1,24 +1,31 @@
1
1
  import { ArrowLeft } from "phosphor-react";
2
2
  import React, { useEffect } from "react";
3
- import PurchaseOverview from "./PurchaseOverview";
3
+ import { PurchaseOverviewInner } from "./PurchaseOverview";
4
4
  import { useNonModalContext } from "../../../nonModal/NonModal";
5
5
  import { theme } from "../../../../../theme";
6
6
  import { Grid } from "../../../../ui/Grid";
7
+ import { BosonLogo } from "../BosonLogo";
7
8
  const colors = theme.colors.light;
8
9
  export function PurchaseOverviewView({ onBackClick }) {
9
10
  const dispatch = useNonModalContext();
10
11
  useEffect(() => {
11
12
  dispatch({
12
13
  payload: {
13
- headerComponent: (React.createElement(Grid, { style: { flex: "1" } }, onBackClick && (React.createElement(ArrowLeft, { onClick: () => {
14
- onBackClick();
15
- }, size: 32, style: { cursor: "pointer" } })))),
14
+ headerComponent: (React.createElement(Grid, { style: { flex: "1" }, justifyContent: "flex-start", gap: "1rem" },
15
+ onBackClick && (React.createElement(ArrowLeft, { onClick: () => {
16
+ onBackClick();
17
+ }, size: 32, style: { cursor: "pointer", minWidth: "32px" } })),
18
+ React.createElement(BosonLogo, { gridProps: { justifyContent: "flex-start" }, svgImageProps: {
19
+ width: undefined,
20
+ style: { width: "min-content" }
21
+ } }))),
16
22
  contentStyle: {
17
23
  background: colors.white
18
- }
24
+ },
25
+ footerComponent: null
19
26
  }
20
27
  });
21
28
  }, [dispatch, onBackClick]);
22
- return React.createElement(PurchaseOverview, null);
29
+ return React.createElement(PurchaseOverviewInner, null);
23
30
  }
24
31
  //# sourceMappingURL=PurchaseOverviewView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PurchaseOverviewView.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/PurchaseOverviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAE3C,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAIlC,MAAM,UAAU,oBAAoB,CAAC,EAAE,WAAW,EAAS;IACzD,MAAM,QAAQ,GAAG,kBAAkB,EAAE,CAAC;IACtC,SAAS,CAAC,GAAG,EAAE;QACb,QAAQ,CAAC;YACP,OAAO,EAAE;gBACP,eAAe,EAAE,CACf,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IACvB,WAAW,IAAI,CACd,oBAAC,SAAS,IACR,OAAO,EAAE,GAAG,EAAE;wBACZ,WAAW,EAAE,CAAC;oBAChB,CAAC,EACD,IAAI,EAAE,EAAE,EACR,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,GAC5B,CACH,CACI,CACR;gBACD,YAAY,EAAE;oBACZ,UAAU,EAAE,MAAM,CAAC,KAAK;iBACzB;aACF;SACF,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;IAC5B,OAAO,oBAAC,gBAAgB,OAAG,CAAC;AAC9B,CAAC"}
1
+ {"version":3,"file":"PurchaseOverviewView.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/PurchaseOverviewView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAIlC,MAAM,UAAU,oBAAoB,CAAC,EAAE,WAAW,EAAS;IACzD,MAAM,QAAQ,GAAG,kBAAkB,EAAE,CAAC;IACtC,SAAS,CAAC,GAAG,EAAE;QACb,QAAQ,CAAC;YACP,OAAO,EAAE;gBACP,eAAe,EAAE,CACf,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,cAAc,EAAC,YAAY,EAAC,GAAG,EAAC,MAAM;oBAC/D,WAAW,IAAI,CACd,oBAAC,SAAS,IACR,OAAO,EAAE,GAAG,EAAE;4BACZ,WAAW,EAAE,CAAC;wBAChB,CAAC,EACD,IAAI,EAAE,EAAE,EACR,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,GAC9C,CACH;oBACD,oBAAC,SAAS,IACR,SAAS,EAAE,EAAE,cAAc,EAAE,YAAY,EAAE,EAC3C,aAAa,EAAE;4BACb,KAAK,EAAE,SAAS;4BAChB,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE;yBAChC,GACD,CACG,CACR;gBACD,YAAY,EAAE;oBACZ,UAAU,EAAE,MAAM,CAAC,KAAK;iBACzB;gBACD,eAAe,EAAE,IAAI;aACtB;SACF,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;IAC5B,OAAO,oBAAC,qBAAqB,OAAG,CAAC;AACnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StepsOverview.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/StepsOverview.tsx"],"names":[],"mappings":";AA2CA,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,eAgD3D"}
1
+ {"version":3,"file":"StepsOverview.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/StepsOverview.tsx"],"names":[],"mappings":";AA4CA,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,eAiD3D"}
@@ -8,6 +8,7 @@ import { breakpoint } from "../../../../../lib/ui/breakpoint";
8
8
  import { useNonModalContext } from "../../../nonModal/NonModal";
9
9
  import { theme } from "../../../../../theme";
10
10
  import { RedeemHeader } from "../../Redeem/RedeemHeader";
11
+ import { BosonLogo } from "../BosonLogo";
11
12
  const colors = theme.colors.light;
12
13
  const CommitStepWrapper = styled.div `
13
14
  overflow: hidden;
@@ -46,7 +47,8 @@ export default function StepsOverview({ onNextClick }) {
46
47
  headerComponent: RedeemHeader,
47
48
  contentStyle: {
48
49
  background: colors.white
49
- }
50
+ },
51
+ footerComponent: React.createElement(BosonLogo, null)
50
52
  }
51
53
  });
52
54
  }, [dispatch]);
@@ -1 +1 @@
1
- {"version":3,"file":"StepsOverview.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/StepsOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAClC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;IAUhC,UAAU,CAAC,CAAC;;;;;;;CAOf,CAAC;AACF,MAAM,uBAAuB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAA;;;;;aAK5C,MAAM,CAAC,MAAM;;oBAEN,MAAM,CAAC,OAAO;;;CAGjC,CAAC;AAMF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,WAAW,EAAS;IAC1D,MAAM,QAAQ,GAAG,kBAAkB,EAAE,CAAC;IACtC,SAAS,CAAC,GAAG,EAAE;QACb,QAAQ,CAAC;YACP,OAAO,EAAE;gBACP,eAAe,EAAE,YAAY;gBAC7B,YAAY,EAAE;oBACZ,UAAU,EAAE,MAAM,CAAC,KAAK;iBACzB;aACF;SACF,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,CACL;QACE,oBAAC,uBAAuB;YACtB,oBAAC,UAAU;gBACT,oBAAC,IAAI,IAAC,MAAM,EAAE,CAAC,EAAE,KAAK,EAAC,sBAAsB,+FAGtC,CACI;YACb,oBAAC,UAAU;gBACT,oBAAC,IAAI,IAAC,MAAM,EAAE,CAAC,EAAE,KAAK,EAAC,sBAAsB,sGAGtC,CACI;YACb,oBAAC,UAAU;gBACT,oBAAC,IAAI,IAAC,MAAM,EAAE,CAAC,EAAE,KAAK,EAAC,uBAAuB,kGAGvC,CACI;YACb,oBAAC,UAAU;gBACT,oBAAC,IAAI,IAAC,MAAM,EAAE,CAAC,EAAE,KAAK,EAAC,2BAA2B,sGAG3C,CACI,CACW;QAC1B,oBAAC,IAAI,IAAC,OAAO,EAAC,YAAY,EAAC,cAAc,EAAC,eAAe;YACvD,oBAAC,MAAM,IAAC,OAAO,EAAC,aAAa,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,WAEjD,CACJ,CACN,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"StepsOverview.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/common/StepsOverview/StepsOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,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oBAAC,IAAI,IAAC,MAAM,EAAE,CAAC,EAAE,KAAK,EAAC,uBAAuB,kGAGvC,CACI;YACb,oBAAC,UAAU;gBACT,oBAAC,IAAI,IAAC,MAAM,EAAE,CAAC,EAAE,KAAK,EAAC,2BAA2B,sGAG3C,CACI,CACW;QAC1B,oBAAC,IAAI,IAAC,OAAO,EAAC,YAAY,EAAC,cAAc,EAAC,eAAe;YACvD,oBAAC,MAAM,IAAC,OAAO,EAAC,aAAa,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,WAEjD,CACJ,CACN,CACJ,CAAC;AACJ,CAAC"}
@@ -131,7 +131,7 @@ export const LearnMore = styled.a `
131
131
  `;
132
132
  export const ModalBackground = styled.div `
133
133
  overflow: hidden;
134
- margin: 2rem -2rem -2rem -2rem;
134
+ margin: -2rem -2rem 2rem -2rem;
135
135
  padding: 2rem;
136
136
  background-color: ${colors.black};
137
137
  background-image: url(${frameImage});
@@ -8,7 +8,7 @@ export declare enum ActionKind {
8
8
  type Action = {
9
9
  payload: State;
10
10
  };
11
- type State = Pick<NonModalProps, "headerComponent" | "contentStyle">;
11
+ type State = Pick<NonModalProps, "headerComponent" | "contentStyle" | "footerComponent">;
12
12
  export declare const useNonModalContext: () => React.Dispatch<Action>;
13
13
  export interface NonModalProps {
14
14
  hideModal?: (data?: unknown | undefined | null) => void;
@@ -23,6 +23,6 @@ export interface NonModalProps {
23
23
  children: ReactNode;
24
24
  showConnectButton: boolean;
25
25
  }
26
- export default function NonModal({ children, hideModal, headerComponent, footerComponent: FooterComponent, size, maxWidths, theme, contentStyle: _contentStyle, closable, lookAndFeel, showConnectButton }: NonModalProps): JSX.Element;
26
+ export default function NonModal({ children, hideModal, headerComponent, footerComponent, size, maxWidths, theme, contentStyle: _contentStyle, closable, lookAndFeel, showConnectButton }: NonModalProps): JSX.Element;
27
27
  export {};
28
28
  //# sourceMappingURL=NonModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NonModal.d.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EACT,eAAe,EACf,eAAe,EACf,IAAa,EACb,SAAgB,EAChB,KAAe,EACf,YAAY,EAAE,aAAa,EAC3B,QAAe,EACf,WAAqB,EACrB,iBAAiB,EAClB,EAAE,aAAa,eAsDf"}
@@ -157,14 +157,15 @@ export const useNonModalContext = () => {
157
157
  }
158
158
  return context;
159
159
  };
160
- export default function NonModal({ children, hideModal, headerComponent, footerComponent: FooterComponent, size = "auto", maxWidths = null, theme = "light", contentStyle: _contentStyle, closable = true, lookAndFeel = "modal", showConnectButton }) {
160
+ export default function NonModal({ children, hideModal, headerComponent, footerComponent, size = "auto", maxWidths = null, theme = "light", contentStyle: _contentStyle, closable = true, lookAndFeel = "modal", showConnectButton }) {
161
161
  const handleOnClose = () => {
162
162
  if (closable && hideModal) {
163
163
  hideModal();
164
164
  }
165
165
  };
166
- const [{ headerComponent: HeaderComponent, contentStyle }, dispatch] = useReducer(reducer, {
166
+ const [{ headerComponent: HeaderComponent, footerComponent: FooterComponent, contentStyle }, dispatch] = useReducer(reducer, {
167
167
  headerComponent,
168
+ footerComponent,
168
169
  contentStyle: _contentStyle
169
170
  });
170
171
  const Container = useMemo(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"NonModal.js","sourceRoot":"","sources":["../../../../../src/components/modal/nonModal/NonModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,UAAU,EAEV,UAAU,EACV,aAAa,EACb,OAAO,EACR,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,MAAM,MAAM,GAAG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C,CAAC,CACF,0CAAG,QAAQ,CAAI,CAChB,CAAC;QACJ,CAAC,CAAC;QACF,uDAAuD;IACzD,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAClB,OAAO,CACL,oBAAC,SAAS;QACR,oBAAC,OAAO,aAAQ,IAAI,eAAa,KAAK,gBAAc,SAAS;YAC3D,oBAAC,MAAM,IACL,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,GACpC;YAEF,oBAAC,OAAO,IAAC,KAAK,EAAE,YAAY;gBAC1B,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,IACtC,QAAQ,CACgB,CACnB;YACT,eAAe,IAAI,oBAAC,aAAa,QAAE,eAAe,CAAiB,CAC5D,CACA,CACb,CAAC;AACJ,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  import { CSSProperties } from "styled-components";
3
- type SvgImageProps = Pick<CSSProperties, "width" | "height"> & {
3
+ export type SvgImageProps = Pick<CSSProperties, "width" | "height"> & {
4
4
  src: string | React.FC;
5
+ style?: CSSProperties;
5
6
  id?: string;
6
7
  };
7
8
  export declare const SvgImage: React.FC<SvgImageProps>;
8
- export {};
9
9
  //# sourceMappingURL=SvgImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SvgImage.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/SvgImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,KAAK,aAAa,GAAG,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;IAC7D,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,EAAE,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAS5C,CAAC"}
1
+ {"version":3,"file":"SvgImage.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/SvgImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;IACpE,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAS5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SvgImage.js","sourceRoot":"","sources":["../../../../src/components/ui/SvgImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,CAAC,MAAM,QAAQ,GAA4B,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpE,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,6CAA6C;QAC7C,OAAO,6BAAK,GAAG,EAAE,GAAG,KAAM,IAAI,GAAI,CAAC;KACpC;IACD,MAAM,SAAS,GAAG,GAAG,CAAC;IACtB,6DAA6D;IAC7D,aAAa;IACb,OAAO,oBAAC,SAAS,OAAK,IAAI,GAAI,CAAC;AACjC,CAAC,CAAC"}
1
+ {"version":3,"file":"SvgImage.js","sourceRoot":"","sources":["../../../../src/components/ui/SvgImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,CAAC,MAAM,QAAQ,GAA4B,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpE,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAC3B,6CAA6C;QAC7C,OAAO,6BAAK,GAAG,EAAE,GAAG,KAAM,IAAI,GAAI,CAAC;KACpC;IACD,MAAM,SAAS,GAAG,GAAG,CAAC;IACtB,6DAA6D;IAC7D,aAAa;IACb,OAAO,oBAAC,SAAS,OAAK,IAAI,GAAI,CAAC;AACjC,CAAC,CAAC"}
@@ -51,6 +51,7 @@ export * from "./components/magicLink/UserContext";
51
51
  export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
52
52
  export * from "./components/modal/components/common/detail/useGetOfferDetailData";
53
53
  export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
54
+ export * from "./components/modal/components/common/StepsOverview/PurchaseOverview";
54
55
  export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
55
56
  export * from "./components/modal/components/Redeem/DetailView/ExternalExchangeDetailView";
56
57
  export * from "./components/ui/Grid";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAChF,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc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C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wDAAwD,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC7E,cAAc,4BAA4B,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wFAAwF,CAAC;AACvG,cAAc,mEAAmE,CAAC;AAClF,cAAc,iEAAiE,CAAC;AAChF,cAAc,qEAAqE,CAAC;AACpF,cAAc,0EAA0E,CAAC;AACzF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
package/dist/esm/index.js CHANGED
@@ -51,6 +51,7 @@ export * from "./components/magicLink/UserContext";
51
51
  export * from "./components/modal/components/common/OfferFullDescription/ExternalOfferFullDescription";
52
52
  export * from "./components/modal/components/common/detail/useGetOfferDetailData";
53
53
  export * from "./components/modal/components/PurchaseOverview/PurchaseOverview";
54
+ export * from "./components/modal/components/common/StepsOverview/PurchaseOverview";
54
55
  export * from "./components/modal/components/Commit/DetailView/ExternalCommitDetailView";
55
56
  export * from "./components/modal/components/Redeem/DetailView/ExternalExchangeDetailView";
56
57
  export * from "./components/ui/Grid";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAW,MAAM,8BAA8B,CAAC;AAChF,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C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F,CAAC;AACvG,cAAc,mEAAmE,CAAC;AAClF,cAAc,iEAAiE,CAAC;AAChF,cAAc,qEAAqE,CAAC;AACpF,cAAc,0EAA0E,CAAC;AACzF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bosonprotocol/react-kit",
3
3
  "description": "React toolkit with smart components and hooks for building on top of the Boson Protocol.",
4
- "version": "0.29.1",
4
+ "version": "0.30.0-alpha.1",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
7
7
  "types": "./dist/cjs/index.d.ts",
@@ -170,5 +170,5 @@
170
170
  "overrides": {
171
171
  "typescript": "^5.1.6"
172
172
  },
173
- "gitHead": "35cab4b4bd031f556f2606ed784bf8bdb3e1b02b"
173
+ "gitHead": "c1417a374111bd6ab1e30270ec575e800e0c6bb9"
174
174
  }
@@ -5,15 +5,6 @@ import styled, { CSSProperties, css } from "styled-components";
5
5
  import { IButton } from "../ui/ThemedButton";
6
6
  import { SvgImage } from "../ui/SvgImage";
7
7
  import { Grid } from "../ui/Grid";
8
-
9
- const Wrapper = styled.div`
10
- width: fit-content;
11
- height: fit-content;
12
- display: flex;
13
- flex-direction: column;
14
- align-items: center;
15
- `;
16
-
17
8
  const StyledButton = styled(Button)<{
18
9
  $color: CommitButtonViewProps["color"];
19
10
  $shape: CommitButtonViewProps["shape"];
@@ -32,12 +23,41 @@ const StyledButton = styled(Button)<{
32
23
  return "";
33
24
  }}
34
25
  svg * {
26
+ fill: black;
27
+ }
28
+ &:not(:disabled) svg * {
35
29
  fill: ${({ $color }) => ($color === "black" ? "white" : "black")};
36
30
  }
37
31
  &:hover:not(:disabled) * {
38
32
  fill: ${({ $color }) => ($color === "black" ? "black" : "white")};
39
33
  }
40
34
  `;
35
+ const Tagline = styled.div`
36
+ margin-top: 3px;
37
+ cursor: pointer;
38
+ color: black;
39
+ text-shadow:
40
+ 0.07em 0 white,
41
+ 0 0.07em white,
42
+ -0.07em 0 white,
43
+ 0 -0.07em white,
44
+ -0.07em -0.07em white,
45
+ -0.07em 0.07em white,
46
+ 0.07em -0.07em white,
47
+ 0.07em 0.07em white;
48
+ `;
49
+
50
+ const Wrapper = styled.div`
51
+ width: fit-content;
52
+ height: fit-content;
53
+ display: flex;
54
+ flex-direction: column;
55
+ align-items: center;
56
+
57
+ ${StyledButton} {
58
+ transition: background 150ms ease-in-out;
59
+ }
60
+ `;
41
61
 
42
62
  export type CommitButtonViewProps = {
43
63
  disabled?: boolean;
@@ -47,10 +67,8 @@ export type CommitButtonViewProps = {
47
67
  minHeight?: CSSProperties["minHeight"];
48
68
  color?: "green" | "black" | "white";
49
69
  shape?: "sharp" | "rounded" | "pill";
50
- } & (
51
- | { onTaglineClick: MouseEventHandler<HTMLDivElement>; tagline: true }
52
- | { onTaglineClick?: undefined; tagline?: false }
53
- );
70
+ onTaglineClick?: MouseEventHandler<HTMLDivElement>;
71
+ };
54
72
 
55
73
  const colorToVariant = {
56
74
  green: "bosonPrimary",
@@ -70,7 +88,6 @@ export const CommitButtonView = forwardRef<
70
88
  minHeight,
71
89
  layout = "horizontal",
72
90
  color = "green",
73
- tagline = true,
74
91
  onTaglineClick,
75
92
  shape = "sharp"
76
93
  },
@@ -103,15 +120,10 @@ export const CommitButtonView = forwardRef<
103
120
  />
104
121
  </Grid>
105
122
  </StyledButton>
106
- {tagline && (
107
- <div
108
- role="button"
109
- onClick={onTaglineClick}
110
- style={{ cursor: "pointer" }}
111
- >
112
- What is a physical NFT?
113
- </div>
114
- )}
123
+
124
+ <Tagline role="button" onClick={onTaglineClick}>
125
+ What is a physical NFT?
126
+ </Tagline>
115
127
  </Wrapper>
116
128
  );
117
129
  }
@@ -6,7 +6,7 @@ import { Exchange } from "../../../../types/exchange";
6
6
  import { VariantV1 } from "../../../../types/variants";
7
7
  import Loading from "../../../ui/loading/Loading";
8
8
  import NonModal, { NonModalProps } from "../../nonModal/NonModal";
9
- import { BosonFooter } from "../common/BosonFooter";
9
+ import { BosonLogo } from "../common/BosonLogo";
10
10
  import { PurchaseOverviewView } from "../common/StepsOverview/PurchaseOverviewView";
11
11
  import {
12
12
  DetailContextProps,
@@ -52,7 +52,7 @@ export function CommitWrapper({ hideModal, ...props }: CommitNonModalProps) {
52
52
  return (
53
53
  <NonModal
54
54
  hideModal={hideModal}
55
- footerComponent={<BosonFooter />}
55
+ footerComponent={<BosonLogo />}
56
56
  contentStyle={{
57
57
  background: colors.white
58
58
  }}
@@ -18,6 +18,7 @@ import { Typography } from "../../../../ui/Typography";
18
18
  import Loading from "../../../../ui/loading/Loading";
19
19
  import { useNonModalContext } from "../../../nonModal/NonModal";
20
20
  import { CardCTA } from "./CardCTA";
21
+ import { BosonLogo } from "../../common/BosonLogo";
21
22
 
22
23
  const colors = theme.colors.light;
23
24
 
@@ -58,7 +59,8 @@ export function CommitSuccess({ onHouseClick, exchangeId, commitHash }: Props) {
58
59
  ),
59
60
  contentStyle: {
60
61
  background: colors.white
61
- }
62
+ },
63
+ footerComponent: <BosonLogo />
62
64
  }
63
65
  });
64
66
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -6,6 +6,7 @@ import ContractualAgreement from "../../../../contractualAgreement/ContractualAg
6
6
  import { useNonModalContext } from "../../../nonModal/NonModal";
7
7
  import { theme } from "../../../../../theme";
8
8
  import { Offer } from "../../../../../types/offer";
9
+ import { BosonLogo } from "../../common/BosonLogo";
9
10
 
10
11
  const colors = theme.colors.light;
11
12
  interface Props {
@@ -31,7 +32,8 @@ export function ContractualAgreementView({ onBackClick, offer }: Props) {
31
32
  ),
32
33
  contentStyle: {
33
34
  background: colors.white
34
- }
35
+ },
36
+ footerComponent: <BosonLogo />
35
37
  }
36
38
  });
37
39
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -6,6 +6,7 @@ import { Exchange } from "../../../../../types/exchange";
6
6
  import License from "../../../../license/License";
7
7
  import { useNonModalContext } from "../../../nonModal/NonModal";
8
8
  import { theme } from "../../../../../theme";
9
+ import { BosonLogo } from "../../common/BosonLogo";
9
10
 
10
11
  const colors = theme.colors.light;
11
12
  interface Props {
@@ -30,7 +31,8 @@ export function LicenseAgreementView({ onBackClick, offer }: Props) {
30
31
  ),
31
32
  contentStyle: {
32
33
  background: colors.white
33
- }
34
+ },
35
+ footerComponent: <BosonLogo />
34
36
  }
35
37
  });
36
38
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -8,6 +8,7 @@ import { ArrowLeft } from "phosphor-react";
8
8
  import { Typography } from "../../../../ui/Typography";
9
9
  import { OnClickBuyOrSwapHandler } from "../../common/detail/types";
10
10
  import { UseGetOfferDetailDataProps } from "../../common/detail/useGetOfferDetailData";
11
+ import { BosonLogo } from "../../common/BosonLogo";
11
12
 
12
13
  const colors = theme.colors.light;
13
14
  type Props = OnClickBuyOrSwapHandler & {
@@ -38,7 +39,8 @@ export function OfferFullDescriptionView({
38
39
  contentStyle: {
39
40
  background: colors.white,
40
41
  padding: 0
41
- }
42
+ },
43
+ footerComponent: <BosonLogo />
42
44
  }
43
45
  });
44
46
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -8,6 +8,7 @@ import OfferPolicyDetails, {
8
8
  } from "../../../../offerPolicy/OfferPolicyDetails";
9
9
  import { useNonModalContext } from "../../../nonModal/NonModal";
10
10
  import { theme } from "../../../../../theme";
11
+ import { BosonLogo } from "../../common/BosonLogo";
11
12
 
12
13
  const colors = theme.colors.light;
13
14
  interface Props {
@@ -42,7 +43,8 @@ export function CommitOfferPolicyView({
42
43
  ),
43
44
  contentStyle: {
44
45
  background: colors.white
45
- }
46
+ },
47
+ footerComponent: <BosonLogo />
46
48
  }
47
49
  });
48
50
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -25,6 +25,7 @@ import { CommitDetailViewWithProvider } from "./DetailView/CommitDetailViewWithP
25
25
  import { DetailContextProps } from "../common/detail/DetailViewProvider";
26
26
  import { OnClickBuyOrSwapHandler } from "../common/detail/types";
27
27
  import { UseGetOfferDetailDataProps } from "../common/detail/useGetOfferDetailData";
28
+ import { BosonLogo } from "../common/BosonLogo";
28
29
 
29
30
  const colors = theme.colors.light;
30
31
  const ImageWrapper = styled.div`
@@ -119,7 +120,8 @@ export function OfferVariantView({
119
120
  ),
120
121
  contentStyle: {
121
122
  background: isCommitting ? colors.white : colors.lightGrey
122
- }
123
+ },
124
+ footerComponent: <BosonLogo />
123
125
  }
124
126
  });
125
127
  }, [dispatch, isCommitting]);
@@ -1,7 +1,7 @@
1
1
  import React, { ReactNode, useCallback } from "react";
2
2
  import { PurchaseOverviewView } from "../common/StepsOverview/PurchaseOverviewView";
3
3
  import NonModal from "../../nonModal/NonModal";
4
- import { BosonFooter } from "../common/BosonFooter";
4
+ import { BosonLogo } from "../common/BosonLogo";
5
5
  import { theme } from "../../../../theme";
6
6
  import { CSSProperties } from "styled-components";
7
7
  const colors = theme.colors.light;
@@ -31,7 +31,7 @@ export const PurchaseOverview: React.FC<PurchaseOverviewProps> = ({
31
31
  <Wrapper>
32
32
  <NonModal
33
33
  hideModal={hideModal}
34
- footerComponent={<BosonFooter />}
34
+ footerComponent={null}
35
35
  contentStyle={{
36
36
  background: colors.white
37
37
  }}
@@ -5,6 +5,7 @@ import { Exchange } from "../../../../../types/exchange";
5
5
  import ContractualAgreement from "../../../../contractualAgreement/ContractualAgreement";
6
6
  import { useNonModalContext } from "../../../nonModal/NonModal";
7
7
  import { theme } from "../../../../../theme";
8
+ import { BosonLogo } from "../../common/BosonLogo";
8
9
 
9
10
  const colors = theme.colors.light;
10
11
  interface Props {
@@ -31,7 +32,8 @@ export function ContractualAgreementView({ onBackClick, exchange }: Props) {
31
32
  ),
32
33
  contentStyle: {
33
34
  background: colors.white
34
- }
35
+ },
36
+ footerComponent: <BosonLogo />
35
37
  }
36
38
  });
37
39
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -8,6 +8,7 @@ import { useNonModalContext } from "../../../../nonModal/NonModal";
8
8
  import { theme } from "../../../../../../theme";
9
9
  import { OnClickBuyOrSwapHandler } from "../../../common/detail/types";
10
10
  import { UseGetOfferDetailDataProps } from "../../../common/detail/useGetOfferDetailData";
11
+ import { BosonLogo } from "../../../common/BosonLogo";
11
12
 
12
13
  const colors = theme.colors.light;
13
14
  interface Props
@@ -42,7 +43,8 @@ export function ExchangeFullDescriptionView({
42
43
  contentStyle: {
43
44
  background: colors.white,
44
45
  padding: 0
45
- }
46
+ },
47
+ footerComponent: <BosonLogo />
46
48
  }
47
49
  });
48
50
  // eslint-disable-next-line react-hooks/exhaustive-deps