@bosonprotocol/react-kit 0.37.0-alpha.1 → 0.37.0-alpha.3

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 (126) hide show
  1. package/dist/cjs/colors.d.ts +1 -0
  2. package/dist/cjs/colors.d.ts.map +1 -1
  3. package/dist/cjs/colors.js +1 -0
  4. package/dist/cjs/colors.js.map +1 -1
  5. package/dist/cjs/components/exchangeCard/ExchangeCard.d.ts +0 -1
  6. package/dist/cjs/components/exchangeCard/ExchangeCard.d.ts.map +1 -1
  7. package/dist/cjs/components/exchangeCard/ExchangeCard.js +21 -26
  8. package/dist/cjs/components/exchangeCard/ExchangeCard.js.map +1 -1
  9. package/dist/cjs/components/exchangeCard/ExchangeCard.styles.d.ts +227 -5
  10. package/dist/cjs/components/exchangeCard/ExchangeCard.styles.d.ts.map +1 -1
  11. package/dist/cjs/components/exchangeCard/ExchangeCard.styles.js +33 -22
  12. package/dist/cjs/components/exchangeCard/ExchangeCard.styles.js.map +1 -1
  13. package/dist/cjs/components/form/Upload/UploadedSinglePdfFile.d.ts.map +1 -1
  14. package/dist/cjs/components/form/Upload/UploadedSinglePdfFile.js +2 -1
  15. package/dist/cjs/components/form/Upload/UploadedSinglePdfFile.js.map +1 -1
  16. package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.d.ts.map +1 -1
  17. package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.js +1 -1
  18. package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.js.map +1 -1
  19. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.d.ts +1 -2
  20. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.d.ts.map +1 -1
  21. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.js +1 -12
  22. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.js.map +1 -1
  23. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.d.ts +1 -2
  24. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.d.ts.map +1 -1
  25. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.js +2 -2
  26. package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.js.map +1 -1
  27. package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.d.ts +1 -2
  28. package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.d.ts.map +1 -1
  29. package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.js +2 -2
  30. package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.js.map +1 -1
  31. package/dist/cjs/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts +0 -1
  32. package/dist/cjs/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts.map +1 -1
  33. package/dist/cjs/components/modal/components/Redeem/MyItems/WithExchangesData.js.map +1 -1
  34. package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.d.ts +0 -1
  35. package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.d.ts.map +1 -1
  36. package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.js +1 -5
  37. package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
  38. package/dist/cjs/components/productCard/ProductCard.d.ts +2 -0
  39. package/dist/cjs/components/productCard/ProductCard.d.ts.map +1 -1
  40. package/dist/cjs/components/productCard/ProductCard.js +13 -15
  41. package/dist/cjs/components/productCard/ProductCard.js.map +1 -1
  42. package/dist/cjs/components/productCard/ProductCard.styles.d.ts +4 -0
  43. package/dist/cjs/components/productCard/ProductCard.styles.d.ts.map +1 -1
  44. package/dist/cjs/components/productCard/ProductCard.styles.js +55 -20
  45. package/dist/cjs/components/productCard/ProductCard.styles.js.map +1 -1
  46. package/dist/cjs/components/productCard/commonStyles.d.ts.map +1 -1
  47. package/dist/cjs/components/productCard/commonStyles.js +0 -1
  48. package/dist/cjs/components/productCard/commonStyles.js.map +1 -1
  49. package/dist/cjs/components/widgets/roblox/components/ProductsRoblox.d.ts.map +1 -1
  50. package/dist/cjs/components/widgets/roblox/components/ProductsRoblox.js +16 -2
  51. package/dist/cjs/components/widgets/roblox/components/ProductsRoblox.js.map +1 -1
  52. package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.d.ts +2 -2
  53. package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.d.ts.map +1 -1
  54. package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.js +3 -6
  55. package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.js.map +1 -1
  56. package/dist/esm/colors.d.ts +1 -0
  57. package/dist/esm/colors.d.ts.map +1 -1
  58. package/dist/esm/colors.js +1 -0
  59. package/dist/esm/colors.js.map +1 -1
  60. package/dist/esm/components/exchangeCard/ExchangeCard.d.ts +0 -1
  61. package/dist/esm/components/exchangeCard/ExchangeCard.d.ts.map +1 -1
  62. package/dist/esm/components/exchangeCard/ExchangeCard.js +22 -26
  63. package/dist/esm/components/exchangeCard/ExchangeCard.js.map +1 -1
  64. package/dist/esm/components/exchangeCard/ExchangeCard.styles.d.ts +227 -5
  65. package/dist/esm/components/exchangeCard/ExchangeCard.styles.d.ts.map +1 -1
  66. package/dist/esm/components/exchangeCard/ExchangeCard.styles.js +33 -22
  67. package/dist/esm/components/exchangeCard/ExchangeCard.styles.js.map +1 -1
  68. package/dist/esm/components/form/Upload/UploadedSinglePdfFile.d.ts.map +1 -1
  69. package/dist/esm/components/form/Upload/UploadedSinglePdfFile.js +2 -1
  70. package/dist/esm/components/form/Upload/UploadedSinglePdfFile.js.map +1 -1
  71. package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.d.ts.map +1 -1
  72. package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.js +1 -1
  73. package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.js.map +1 -1
  74. package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.d.ts +1 -2
  75. package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.d.ts.map +1 -1
  76. package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.js +1 -12
  77. package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.js.map +1 -1
  78. package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.d.ts +1 -2
  79. package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.d.ts.map +1 -1
  80. package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.js +2 -2
  81. package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.js.map +1 -1
  82. package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.d.ts +1 -2
  83. package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.d.ts.map +1 -1
  84. package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.js +2 -2
  85. package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.js.map +1 -1
  86. package/dist/esm/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts +0 -1
  87. package/dist/esm/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts.map +1 -1
  88. package/dist/esm/components/modal/components/Redeem/MyItems/WithExchangesData.js.map +1 -1
  89. package/dist/esm/components/modal/components/Redeem/RedeemNonModal.d.ts +0 -1
  90. package/dist/esm/components/modal/components/Redeem/RedeemNonModal.d.ts.map +1 -1
  91. package/dist/esm/components/modal/components/Redeem/RedeemNonModal.js +1 -5
  92. package/dist/esm/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
  93. package/dist/esm/components/productCard/ProductCard.d.ts +2 -0
  94. package/dist/esm/components/productCard/ProductCard.d.ts.map +1 -1
  95. package/dist/esm/components/productCard/ProductCard.js +13 -15
  96. package/dist/esm/components/productCard/ProductCard.js.map +1 -1
  97. package/dist/esm/components/productCard/ProductCard.styles.d.ts +4 -0
  98. package/dist/esm/components/productCard/ProductCard.styles.d.ts.map +1 -1
  99. package/dist/esm/components/productCard/ProductCard.styles.js +54 -19
  100. package/dist/esm/components/productCard/ProductCard.styles.js.map +1 -1
  101. package/dist/esm/components/productCard/commonStyles.d.ts.map +1 -1
  102. package/dist/esm/components/productCard/commonStyles.js +0 -1
  103. package/dist/esm/components/productCard/commonStyles.js.map +1 -1
  104. package/dist/esm/components/widgets/roblox/components/ProductsRoblox.d.ts.map +1 -1
  105. package/dist/esm/components/widgets/roblox/components/ProductsRoblox.js +16 -2
  106. package/dist/esm/components/widgets/roblox/components/ProductsRoblox.js.map +1 -1
  107. package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.d.ts +2 -2
  108. package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.d.ts.map +1 -1
  109. package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.js +3 -6
  110. package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.js.map +1 -1
  111. package/package.json +2 -2
  112. package/src/colors.ts +1 -0
  113. package/src/components/exchangeCard/ExchangeCard.styles.ts +40 -22
  114. package/src/components/exchangeCard/ExchangeCard.tsx +53 -57
  115. package/src/components/form/Upload/UploadedSinglePdfFile.tsx +8 -1
  116. package/src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx +4 -1
  117. package/src/components/modal/components/Redeem/MyItems/Exchange.tsx +7 -15
  118. package/src/components/modal/components/Redeem/MyItems/Exchanges.tsx +0 -3
  119. package/src/components/modal/components/Redeem/MyItems/MyItems.tsx +0 -3
  120. package/src/components/modal/components/Redeem/MyItems/WithExchangesData.tsx +0 -1
  121. package/src/components/modal/components/Redeem/RedeemNonModal.tsx +0 -7
  122. package/src/components/productCard/ProductCard.styles.ts +58 -19
  123. package/src/components/productCard/ProductCard.tsx +30 -27
  124. package/src/components/productCard/commonStyles.ts +0 -1
  125. package/src/components/widgets/roblox/components/ProductsRoblox.tsx +14 -2
  126. package/src/components/widgets/roblox/components/RobloxExchangesGrid.tsx +5 -10
@@ -20,6 +20,7 @@ export declare const colors: {
20
20
  readonly lime: "#B6F952";
21
21
  readonly orange: "#FC6838";
22
22
  readonly orangeDark: "#ff8c00";
23
+ readonly purpleDeep: "#131A2A";
23
24
  readonly red: "#FC386A";
24
25
  readonly redDark: "#8b0000";
25
26
  readonly torquise: "#06F7D5";
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/colors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BT,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/colors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BT,CAAC"}
@@ -24,6 +24,7 @@ exports.colors = {
24
24
  lime: "#B6F952",
25
25
  orange: "#FC6838",
26
26
  orangeDark: "#ff8c00", // color 'darkorange' in chrome
27
+ purpleDeep: "#131A2A",
27
28
  red: "#FC386A",
28
29
  redDark: "#8b0000", // color 'darkred' in chrome
29
30
  torquise: "#06F7D5",
@@ -1 +1 @@
1
- {"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/colors.ts"],"names":[],"mappings":";AAAA,6BAA6B;;;AAEhB,QAAA,MAAM,GAAG;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,WAAW;IACnB,YAAY,EAAE,SAAS;IACvB,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,IAAI,EAAE,SAAS,EAAE,yBAAyB;IAC1C,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,SAAS;IACpB,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,SAAS;IACjB,UAAU,EAAE,SAAS,EAAE,+BAA+B;IACtD,GAAG,EAAE,SAAS;IACd,OAAO,EAAE,SAAS,EAAE,4BAA4B;IAChD,QAAQ,EAAE,SAAS;IACnB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,SAAS;CACR,CAAC"}
1
+ {"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/colors.ts"],"names":[],"mappings":";AAAA,6BAA6B;;;AAEhB,QAAA,MAAM,GAAG;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,WAAW;IACnB,YAAY,EAAE,SAAS;IACvB,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,SAAS;IACpB,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,IAAI,EAAE,SAAS,EAAE,yBAAyB;IAC1C,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,SAAS;IACpB,SAAS,EAAE,SAAS;IACpB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,SAAS;IACjB,UAAU,EAAE,SAAS,EAAE,+BAA+B;IACtD,UAAU,EAAE,SAAS;IACrB,GAAG,EAAE,SAAS;IACd,OAAO,EAAE,SAAS,EAAE,4BAA4B;IAChD,QAAQ,EAAE,SAAS;IACnB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,SAAS;CACR,CAAC"}
@@ -35,7 +35,6 @@ interface CancelledCard extends Base {
35
35
  interface CommittedCard extends Base {
36
36
  status: subgraph.ExchangeState.COMMITTED;
37
37
  redeemButtonConfig: IButton;
38
- cancelButtonConfig: IButton;
39
38
  bottomText?: string;
40
39
  }
41
40
  interface CompletedCard extends Base {
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeCard.d.ts","sourceRoot":"","sources":["../../../../src/components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AM,EAAE,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC;CACzC;AAED,UAAU,WAAY,SAAQ,IAAI;IAChC,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;CACxC;AAED,MAAM,MAAM,iBAAiB,GACzB,aAAa,GACb,UAAU,GACV,aAAa,GACb,aAAa,GACb,YAAY,GACZ,WAAW,CAAC;AAEhB,eAAO,MAAM,YAAY,UAAW,iBAAiB,sBA6JpD,CAAC"}
@@ -41,9 +41,12 @@ const Image_1 = require("../image/Image");
41
41
  const const_1 = require("../productCard/const");
42
42
  const ExchangeCard_styles_1 = require("./ExchangeCard.styles");
43
43
  const core_sdk_1 = require("@bosonprotocol/core-sdk");
44
+ const Grid_1 = require("../ui/Grid");
45
+ const ProductCard_1 = require("../productCard/ProductCard");
44
46
  const ExchangeCard = (props) => {
45
- const { id, title, imageProps, price, currency, avatar, avatarName, onCardClick, status, isCTAVisible = true, onAvatarNameClick, dataTestId = "offer", isHoverDisabled = false, dataCard = "exchange-card", productType, isConnected, CTAIfDisconnected } = props;
47
+ const { id, title, imageProps, price, currency, onCardClick, status, isCTAVisible = true, onAvatarNameClick, dataTestId = "offer", isHoverDisabled = false, dataCard = "exchange-card", productType, isConnected, CTAIfDisconnected } = props;
46
48
  const [isImageLoaded, setIsImageLoaded] = (0, react_1.useState)(false);
49
+ const [isHovered, setIsHovered] = (0, react_1.useState)(false);
47
50
  const exchangeCardBottom = (0, react_1.useMemo)(() => {
48
51
  if (isCTAVisible) {
49
52
  switch (status) {
@@ -58,20 +61,14 @@ const ExchangeCard = (props) => {
58
61
  } }), "Dispute"))));
59
62
  }
60
63
  case core_sdk_1.subgraph.ExchangeState.COMMITTED: {
61
- const { redeemButtonConfig, cancelButtonConfig, bottomText } = props;
64
+ const { redeemButtonConfig } = props;
62
65
  return (react_1.default.createElement(ExchangeCard_styles_1.ExchangeButtonWrapper, null,
63
66
  react_1.default.createElement(ExchangeCard_styles_1.CommittedButtonWrapper, null,
64
67
  react_1.default.createElement(Button_1.Button, Object.assign({ variant: "primaryFill" }, redeemButtonConfig, { onClick: (e) => {
65
68
  var _a;
66
69
  e.stopPropagation();
67
70
  (_a = redeemButtonConfig === null || redeemButtonConfig === void 0 ? void 0 : redeemButtonConfig.onClick) === null || _a === void 0 ? void 0 : _a.call(redeemButtonConfig, e);
68
- } }), "Redeem"),
69
- react_1.default.createElement(Button_1.Button, Object.assign({ variant: "secondaryInverted" }, cancelButtonConfig, { onClick: (e) => {
70
- var _a;
71
- e.stopPropagation();
72
- (_a = cancelButtonConfig === null || cancelButtonConfig === void 0 ? void 0 : cancelButtonConfig.onClick) === null || _a === void 0 ? void 0 : _a.call(cancelButtonConfig, e);
73
- } }), "Cancel")),
74
- react_1.default.createElement(ExchangeCard_styles_1.CommittedBottomText, null, bottomText)));
71
+ } }), "Redeem"))));
75
72
  }
76
73
  default:
77
74
  return null;
@@ -81,15 +78,15 @@ const ExchangeCard = (props) => {
81
78
  const [height, setHeight] = (0, react_1.useState)(null);
82
79
  const isNotImageLoaded = !isImageLoaded;
83
80
  const isPhygital = productType === const_1.ProductType.phygital;
84
- return (react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardWrapper, { "data-card": dataCard, "$isHoverDisabled": isHoverDisabled, "data-testid": dataTestId, onClick: (e) => {
81
+ return (react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardWrapper, { "data-card": dataCard, "$isHoverDisabled": isHoverDisabled, "data-testid": dataTestId, onMouseEnter: () => setIsHovered(true), onMouseLeave: () => setIsHovered(false), onClick: (e) => {
85
82
  e.preventDefault();
86
83
  onCardClick === null || onCardClick === void 0 ? void 0 : onCardClick(id);
87
84
  } },
88
85
  react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardTop, { "$isNotImageLoaded": isNotImageLoaded },
89
86
  react_1.default.createElement(ExchangeCard_styles_1.ExchangeImageWrapper, null,
90
- isPhygital && (react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardLabelWrapper, null, "Phygital")),
91
- react_1.default.createElement(Image_1.Image, Object.assign({}, imageProps, { onLoaded: () => setIsImageLoaded(true) }))),
92
- react_1.default.createElement(ExchangeCard_styles_1.ExchangeStatus, { "$status": status }, status.toLowerCase())),
87
+ react_1.default.createElement(Image_1.Image, Object.assign({}, imageProps, { onLoaded: () => setIsImageLoaded(true) })),
88
+ isCTAVisible && isConnected && (react_1.default.createElement(ExchangeCard_styles_1.CTAOnHoverContainerExchangeCard, { "$isHovered": isHovered }, isCTAVisible && isConnected ? (react_1.default.createElement(ExchangeCard_styles_1.ExchangeCTAWrapper, { "data-cta-wrapper": true }, exchangeCardBottom)) : isCTAVisible && !isConnected && CTAIfDisconnected ? (CTAIfDisconnected) : null))),
89
+ react_1.default.createElement(ExchangeCard_styles_1.ExchangeStatus, { "$status": status, "$side": "left" }, status.toLowerCase())),
93
90
  react_1.default.createElement("div", { style: { height: height + "px" } }),
94
91
  react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardBottom, null,
95
92
  react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardBottomContent, { ref: (div) => {
@@ -98,22 +95,20 @@ const ExchangeCard = (props) => {
98
95
  setHeight(height ? Math.min(div.clientHeight, height) : div.clientHeight);
99
96
  } },
100
97
  react_1.default.createElement(ExchangeCard_styles_1.ExchangeCarData, null,
101
- react_1.default.createElement(ExchangeCard_styles_1.ExchangeCreator, { onClick: (e) => {
98
+ react_1.default.createElement(Grid_1.Grid, { flexDirection: "column", alignItems: "flex-start", onClick: (e) => {
102
99
  e.stopPropagation();
103
100
  onAvatarNameClick === null || onAvatarNameClick === void 0 ? void 0 : onAvatarNameClick();
104
101
  } },
105
- react_1.default.createElement(ExchangeCard_styles_1.ExchangeCreatorAvatar, null,
106
- react_1.default.createElement("img", { src: avatar, alt: "avatar" })),
107
- react_1.default.createElement(ExchangeCard_styles_1.ExchangeCreatorName, { "data-avatarname": "exchange-card" }, avatarName)),
108
- react_1.default.createElement(ExchangeCard_styles_1.ExchangeTitle, null, title)),
109
- react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardPriceWrapper, null,
110
- react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardPrice, null, "Price"),
111
- react_1.default.createElement(CurrencyDisplay_1.CurrencyDisplay, { value: price, currency: currency, style: {
112
- wordBreak: "break-all",
113
- alignItems: "flex-start",
114
- justifyContent: "flex-end"
115
- } }))),
116
- isCTAVisible && isConnected ? (react_1.default.createElement(ExchangeCard_styles_1.ExchangeCTAWrapper, { "data-cta-wrapper": true }, exchangeCardBottom)) : isCTAVisible && !isConnected && CTAIfDisconnected ? (CTAIfDisconnected) : null)));
102
+ react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardTitleWrapper, null,
103
+ react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardTitle, { fontSize: "0.75rem", fontWeight: "600" }, title),
104
+ react_1.default.createElement(ExchangeCard_styles_1.ExchangeCardPriceWrapper, { justifyContent: "flex-end", alignItems: "center", width: "40%" },
105
+ react_1.default.createElement(CurrencyDisplay_1.CurrencyDisplay, { value: price, currency: currency, fontSize: "0.875rem", iconSize: 16, gap: "0.3125rem", style: {
106
+ wordBreak: "break-all",
107
+ alignItems: "center",
108
+ justifyContent: "center",
109
+ fontWeight: "600"
110
+ } }))),
111
+ isPhygital && react_1.default.createElement(ProductCard_1.PhygitalLabel, null)))))));
117
112
  };
118
113
  exports.ExchangeCard = ExchangeCard;
119
114
  //# sourceMappingURL=ExchangeCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeCard.js","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,8CAA2C;AAC3C,wEAG4C;AAC5C,0CAAmD;AAEnD,gDAAmD;AAEnD,+DAoB+B;AAE/B,sDAAmD;AA0D5C,MAAM,YAAY,GAAG,CAAC,KAAwB,EAAE,EAAE;IACvD,MAAM,EACJ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Q,EACtB,UAAU,EAAC,YAAY,EACvB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;4BACb,CAAC,CAAC,eAAe,EAAE,CAAC;4BACpB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,EAAI,CAAC;wBACxB,CAAC;wBAED,8BAAC,8CAAwB;4BACvB,8BAAC,uCAAiB,IAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,IACtD,KAAK,CACY;4BACpB,8BAAC,8CAAwB,IACvB,cAAc,EAAC,UAAU,EACzB,UAAU,EAAC,QAAQ,EACnB,KAAK,EAAC,KAAK;gCAEX,8BAAC,iCAAe,IACd,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,EAAE,EACZ,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE;wCACL,SAAS,EAAE,WAAW;wCACtB,UAAU,EAAE,QAAQ;wCACpB,cAAc,EAAE,QAAQ;wCACxB,UAAU,EAAE,KAAK;qCAClB,GACD,CACuB,CACF;wBAC1B,UAAU,IAAI,8BAAC,2BAAa,OAAG,CAC3B,CACS,CACQ,CACT,CACD,CACvB,CAAC;AACJ,CAAC,CAAC;AA7JW,QAAA,YAAY,gBA6JvB"}
@@ -1,12 +1,153 @@
1
1
  import { ExchangeCardStatus } from "./types";
2
- export declare const ExchangeCardLabelWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, never>> & string;
5
- export declare const ExchangeCreator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
2
  export declare const ExchangeCreatorAvatar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
3
  export declare const ExchangeCreatorName: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
4
  export declare const ExchangeTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
- export declare const ExchangeCardPriceWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const ExchangeCardPriceWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
6
+ children?: React.ReactNode;
7
+ as?: React.ElementType;
8
+ style?: import("styled-components").CSSProperties | undefined;
9
+ onClick?: import("react").ElementRef<"div">["onclick"];
10
+ } & {
11
+ maxWidth?: import("csstype").Property.MaxWidth<number | (string & {})> | undefined;
12
+ height?: import("csstype").Property.Height<number | (string & {})> | undefined;
13
+ width?: import("csstype").Property.Width<number | (string & {})> | undefined;
14
+ flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
15
+ padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
16
+ gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
17
+ alignItems?: import("csstype").Property.AlignItems | undefined;
18
+ alignSelf?: import("csstype").Property.AlignSelf | undefined;
19
+ columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
20
+ flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
21
+ flexDirection?: import("csstype").Property.FlexDirection | undefined;
22
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
23
+ flexShrink?: import("csstype").Property.FlexShrink | undefined;
24
+ flexWrap?: import("csstype").Property.FlexWrap | undefined;
25
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
26
+ justifySelf?: import("csstype").Property.JustifySelf | undefined;
27
+ marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
28
+ marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
29
+ marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
30
+ marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
31
+ maxHeight?: import("csstype").Property.MaxHeight<number | (string & {})> | undefined;
32
+ minHeight?: import("csstype").Property.MinHeight<number | (string & {})> | undefined;
33
+ minWidth?: import("csstype").Property.MinWidth<number | (string & {})> | undefined;
34
+ paddingBottom?: import("csstype").Property.PaddingBottom<number | (string & {})> | undefined;
35
+ paddingLeft?: import("csstype").Property.PaddingLeft<number | (string & {})> | undefined;
36
+ paddingRight?: import("csstype").Property.PaddingRight<number | (string & {})> | undefined;
37
+ paddingTop?: import("csstype").Property.PaddingTop<number | (string & {})> | undefined;
38
+ rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
39
+ margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
40
+ } & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
41
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
42
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
43
+ children?: React.ReactNode;
44
+ as?: React.ElementType;
45
+ style?: import("styled-components").CSSProperties | undefined;
46
+ onClick?: import("react").ElementRef<"div">["onclick"];
47
+ } & {
48
+ maxWidth?: import("csstype").Property.MaxWidth<number | (string & {})> | undefined;
49
+ height?: import("csstype").Property.Height<number | (string & {})> | undefined;
50
+ width?: import("csstype").Property.Width<number | (string & {})> | undefined;
51
+ flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
52
+ padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
53
+ gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
54
+ alignItems?: import("csstype").Property.AlignItems | undefined;
55
+ alignSelf?: import("csstype").Property.AlignSelf | undefined;
56
+ columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
57
+ flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
58
+ flexDirection?: import("csstype").Property.FlexDirection | undefined;
59
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
60
+ flexShrink?: import("csstype").Property.FlexShrink | undefined;
61
+ flexWrap?: import("csstype").Property.FlexWrap | undefined;
62
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
63
+ justifySelf?: import("csstype").Property.JustifySelf | undefined;
64
+ marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
65
+ marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
66
+ marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
67
+ marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
68
+ maxHeight?: import("csstype").Property.MaxHeight<number | (string & {})> | undefined;
69
+ minHeight?: import("csstype").Property.MinHeight<number | (string & {})> | undefined;
70
+ minWidth?: import("csstype").Property.MinWidth<number | (string & {})> | undefined;
71
+ paddingBottom?: import("csstype").Property.PaddingBottom<number | (string & {})> | undefined;
72
+ paddingLeft?: import("csstype").Property.PaddingLeft<number | (string & {})> | undefined;
73
+ paddingRight?: import("csstype").Property.PaddingRight<number | (string & {})> | undefined;
74
+ paddingTop?: import("csstype").Property.PaddingTop<number | (string & {})> | undefined;
75
+ rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
76
+ margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
77
+ } & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
78
+ export declare const ExchangeCardTitleWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
79
+ children?: React.ReactNode;
80
+ as?: React.ElementType;
81
+ style?: import("styled-components").CSSProperties | undefined;
82
+ onClick?: import("react").ElementRef<"div">["onclick"];
83
+ } & {
84
+ maxWidth?: import("csstype").Property.MaxWidth<number | (string & {})> | undefined;
85
+ height?: import("csstype").Property.Height<number | (string & {})> | undefined;
86
+ width?: import("csstype").Property.Width<number | (string & {})> | undefined;
87
+ flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
88
+ padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
89
+ gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
90
+ alignItems?: import("csstype").Property.AlignItems | undefined;
91
+ alignSelf?: import("csstype").Property.AlignSelf | undefined;
92
+ columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
93
+ flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
94
+ flexDirection?: import("csstype").Property.FlexDirection | undefined;
95
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
96
+ flexShrink?: import("csstype").Property.FlexShrink | undefined;
97
+ flexWrap?: import("csstype").Property.FlexWrap | undefined;
98
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
99
+ justifySelf?: import("csstype").Property.JustifySelf | undefined;
100
+ marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
101
+ marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
102
+ marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
103
+ marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
104
+ maxHeight?: import("csstype").Property.MaxHeight<number | (string & {})> | undefined;
105
+ minHeight?: import("csstype").Property.MinHeight<number | (string & {})> | undefined;
106
+ minWidth?: import("csstype").Property.MinWidth<number | (string & {})> | undefined;
107
+ paddingBottom?: import("csstype").Property.PaddingBottom<number | (string & {})> | undefined;
108
+ paddingLeft?: import("csstype").Property.PaddingLeft<number | (string & {})> | undefined;
109
+ paddingRight?: import("csstype").Property.PaddingRight<number | (string & {})> | undefined;
110
+ paddingTop?: import("csstype").Property.PaddingTop<number | (string & {})> | undefined;
111
+ rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
112
+ margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
113
+ } & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
114
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
115
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
116
+ children?: React.ReactNode;
117
+ as?: React.ElementType;
118
+ style?: import("styled-components").CSSProperties | undefined;
119
+ onClick?: import("react").ElementRef<"div">["onclick"];
120
+ } & {
121
+ maxWidth?: import("csstype").Property.MaxWidth<number | (string & {})> | undefined;
122
+ height?: import("csstype").Property.Height<number | (string & {})> | undefined;
123
+ width?: import("csstype").Property.Width<number | (string & {})> | undefined;
124
+ flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
125
+ padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
126
+ gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
127
+ alignItems?: import("csstype").Property.AlignItems | undefined;
128
+ alignSelf?: import("csstype").Property.AlignSelf | undefined;
129
+ columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
130
+ flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
131
+ flexDirection?: import("csstype").Property.FlexDirection | undefined;
132
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
133
+ flexShrink?: import("csstype").Property.FlexShrink | undefined;
134
+ flexWrap?: import("csstype").Property.FlexWrap | undefined;
135
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
136
+ justifySelf?: import("csstype").Property.JustifySelf | undefined;
137
+ marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
138
+ marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
139
+ marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
140
+ marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
141
+ maxHeight?: import("csstype").Property.MaxHeight<number | (string & {})> | undefined;
142
+ minHeight?: import("csstype").Property.MinHeight<number | (string & {})> | undefined;
143
+ minWidth?: import("csstype").Property.MinWidth<number | (string & {})> | undefined;
144
+ paddingBottom?: import("csstype").Property.PaddingBottom<number | (string & {})> | undefined;
145
+ paddingLeft?: import("csstype").Property.PaddingLeft<number | (string & {})> | undefined;
146
+ paddingRight?: import("csstype").Property.PaddingRight<number | (string & {})> | undefined;
147
+ paddingTop?: import("csstype").Property.PaddingTop<number | (string & {})> | undefined;
148
+ rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
149
+ margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
150
+ } & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
10
151
  export declare const ExchangeCardPrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
152
  export declare const ExchangeCarData: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
153
  export declare const ExchangeCardBottom: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -22,8 +163,89 @@ export declare const RedeemButtonWrapper: import("styled-components/dist/types")
22
163
  export declare const CommittedButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
23
164
  export declare const ExchangeStatus: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
24
165
  $status: ExchangeCardStatus;
166
+ $side: "left" | "right";
25
167
  }>> & string;
26
168
  export declare const CommittedBottomText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
27
169
  export declare const ExchangeImageWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
28
170
  export declare const ExchangeCTAWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
171
+ export declare const ExchangeCardTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<{
172
+ width?: import("csstype").Property.Width<number | (string & {})> | undefined;
173
+ color?: import("csstype").Property.Color | undefined;
174
+ cursor?: import("csstype").Property.Cursor | undefined;
175
+ display?: import("csstype").Property.Display | undefined;
176
+ fontSize?: import("csstype").Property.FontSize<number | (string & {})> | undefined;
177
+ fontWeight?: import("csstype").Property.FontWeight | undefined;
178
+ letterSpacing?: import("csstype").Property.LetterSpacing<number | (string & {})> | undefined;
179
+ opacity?: import("csstype").Property.Opacity | undefined;
180
+ flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
181
+ padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
182
+ gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
183
+ background?: import("csstype").Property.Background<number | (string & {})> | undefined;
184
+ alignItems?: import("csstype").Property.AlignItems | undefined;
185
+ columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
186
+ flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
187
+ flexDirection?: import("csstype").Property.FlexDirection | undefined;
188
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
189
+ flexShrink?: import("csstype").Property.FlexShrink | undefined;
190
+ flexWrap?: import("csstype").Property.FlexWrap | undefined;
191
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
192
+ lineHeight?: import("csstype").Property.LineHeight<number | (string & {})> | undefined;
193
+ marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
194
+ marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
195
+ marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
196
+ marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
197
+ rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
198
+ textAlign?: import("csstype").Property.TextAlign | undefined;
199
+ margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
200
+ } & import("react").HTMLAttributes<unknown> & {
201
+ children?: string | React.ReactNode;
202
+ tag?: keyof JSX.IntrinsicElements;
203
+ style?: React.CSSProperties;
204
+ onClick?: () => void;
205
+ className?: string;
206
+ } & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
207
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
208
+ }, Omit<{
209
+ width?: import("csstype").Property.Width<number | (string & {})> | undefined;
210
+ color?: import("csstype").Property.Color | undefined;
211
+ cursor?: import("csstype").Property.Cursor | undefined;
212
+ display?: import("csstype").Property.Display | undefined;
213
+ fontSize?: import("csstype").Property.FontSize<number | (string & {})> | undefined;
214
+ fontWeight?: import("csstype").Property.FontWeight | undefined;
215
+ letterSpacing?: import("csstype").Property.LetterSpacing<number | (string & {})> | undefined;
216
+ opacity?: import("csstype").Property.Opacity | undefined;
217
+ flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
218
+ padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
219
+ gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
220
+ background?: import("csstype").Property.Background<number | (string & {})> | undefined;
221
+ alignItems?: import("csstype").Property.AlignItems | undefined;
222
+ columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
223
+ flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
224
+ flexDirection?: import("csstype").Property.FlexDirection | undefined;
225
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
226
+ flexShrink?: import("csstype").Property.FlexShrink | undefined;
227
+ flexWrap?: import("csstype").Property.FlexWrap | undefined;
228
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
229
+ lineHeight?: import("csstype").Property.LineHeight<number | (string & {})> | undefined;
230
+ marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
231
+ marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
232
+ marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
233
+ marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
234
+ rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
235
+ textAlign?: import("csstype").Property.TextAlign | undefined;
236
+ margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
237
+ } & import("react").HTMLAttributes<unknown> & {
238
+ children?: string | React.ReactNode;
239
+ tag?: keyof JSX.IntrinsicElements;
240
+ style?: React.CSSProperties;
241
+ onClick?: () => void;
242
+ className?: string;
243
+ } & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
244
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
245
+ }>, never>, never>, never>> & string;
246
+ export declare const CTAOnHoverContainerExchangeCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$isHovered"> & {
247
+ $isHovered: boolean;
248
+ }, "ref"> & {
249
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
250
+ }, never>> & string;
29
251
  //# sourceMappingURL=ExchangeCard.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeCard.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAK7C,eAAO,MAAM,wBAAwB;;mBAGpC,CAAC;AACF,eAAO,MAAM,eAAe,6NAI3B,CAAC;AAEF,eA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S;SAAQ,MAAO,WACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eADK,MAAO,SAAS;SAAQ,MAAO,WACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4IA1GH,CAAC;AAEF,eAAO,MAAM,iBAAiB,6NAM7B,CAAC;AAEF,eAAO,MAAM,eAAe,6NAG3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,6NAQ9B,CAAC;AACF,eAAO,MAAM,yBAAyB,6NAQrC,CAAC;AAEF,eAAO,MAAM,mBAAmB;sBACZ,OAAO;YAqD1B,CAAC;AAEF,eAAO,MAAM,eAAe;uBAAmC,OAAO;YASrE,CAAC;AACF,eAAO,MAAM,qBAAqB,6NAGjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,6NAM/B,CAAC;AACF,eAAO,MAAM,sBAAsB,6NAMlC,CAAC;AAEF,eAAO,MAAM,cAAc;aAChB,kBAAkB;WACpB,MAAM,GAAG,OAAO;YA+CxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,yOAQ/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,6NAIhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,6NAG9B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA/FpB,MACP,SAAS;gBAET,IAAK,iBAAiB;YAAa,MAAO,aACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAJC,MACP,SAAS;gBAET,IAAK,iBAAiB;YAAa,MAAO,aACpC;;;;;oCA8FR,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;mBAI3C,CAAC"}
@@ -33,21 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.ExchangeCTAWrapper = exports.ExchangeImageWrapper = exports.CommittedBottomText = exports.ExchangeStatus = exports.CommittedButtonWrapper = exports.RedeemButtonWrapper = exports.ExchangeButtonWrapper = exports.ExchangeCardTop = exports.ExchangeCardWrapper = exports.ExchangeCardBottomContent = exports.ExchangeCardBottom = exports.ExchangeCarData = exports.ExchangeCardPrice = exports.ExchangeCardPriceWrapper = exports.ExchangeTitle = exports.ExchangeCreatorName = exports.ExchangeCreatorAvatar = exports.ExchangeCreator = exports.ExchangeCardLabelWrapper = void 0;
36
+ exports.CTAOnHoverContainerExchangeCard = exports.ExchangeCardTitle = exports.ExchangeCTAWrapper = exports.ExchangeImageWrapper = exports.CommittedBottomText = exports.ExchangeStatus = exports.CommittedButtonWrapper = exports.RedeemButtonWrapper = exports.ExchangeButtonWrapper = exports.ExchangeCardTop = exports.ExchangeCardWrapper = exports.ExchangeCardBottomContent = exports.ExchangeCardBottom = exports.ExchangeCarData = exports.ExchangeCardPrice = exports.ExchangeCardTitleWrapper = exports.ExchangeCardPriceWrapper = exports.ExchangeTitle = exports.ExchangeCreatorName = exports.ExchangeCreatorAvatar = void 0;
37
37
  const styled_components_1 = __importStar(require("styled-components"));
38
38
  const theme_1 = require("../../theme");
39
39
  const ProductCard_styles_1 = require("../productCard/ProductCard.styles");
40
+ const Grid_1 = require("../ui/Grid");
40
41
  const topSpace = "1rem";
41
42
  const sideSpace = "1rem";
42
- exports.ExchangeCardLabelWrapper = (0, styled_components_1.default)(ProductCard_styles_1.ProductCardLabelWrapper) `
43
- top: ${topSpace};
44
- left: ${sideSpace};
45
- `;
46
- exports.ExchangeCreator = styled_components_1.default.div `
47
- display: flex;
48
- flex-wrap: wrap;
49
- gap: 0.5rem;
50
- `;
51
43
  exports.ExchangeCreatorAvatar = styled_components_1.default.div `
52
44
  width: 1rem;
53
45
  height: 1rem;
@@ -77,16 +69,16 @@ exports.ExchangeTitle = styled_components_1.default.div `
77
69
  line-height: 150%;
78
70
  word-break: break-word;
79
71
  `;
80
- exports.ExchangeCardPriceWrapper = styled_components_1.default.div `
81
- display: flex;
82
- flex-direction: column;
83
- align-self: stretch;
84
- max-width: 50%;
85
- min-width: 44%;
72
+ exports.ExchangeCardPriceWrapper = (0, styled_components_1.default)(Grid_1.Grid) `
86
73
  span {
87
74
  padding-left: 0.5rem;
88
75
  }
89
76
  `;
77
+ exports.ExchangeCardTitleWrapper = (0, styled_components_1.default)(Grid_1.Grid) `
78
+ width: 100%;
79
+ box-sizing: border-box;
80
+ align-items: flex-start;
81
+ `;
90
82
  exports.ExchangeCardPrice = styled_components_1.default.div `
91
83
  font-size: 0.75rem;
92
84
  line-height: 150%;
@@ -96,7 +88,7 @@ exports.ExchangeCardPrice = styled_components_1.default.div `
96
88
  `;
97
89
  exports.ExchangeCarData = styled_components_1.default.div `
98
90
  display: flex;
99
- flex-direction: column;
91
+ width: 100%;
100
92
  `;
101
93
  exports.ExchangeCardBottom = styled_components_1.default.div `
102
94
  width: 100%;
@@ -127,10 +119,8 @@ exports.ExchangeCardWrapper = styled_components_1.default.div `
127
119
  isolation: isolate;
128
120
  width: 100%;
129
121
  min-height: 31.25rem;
130
- border: 1px solid rgba(85, 96, 114, 0.15);
131
- box-shadow: 0px 4.31783px 107.946px rgba(21, 30, 52, 0.1);
132
122
  cursor: pointer;
133
- background: ${(0, theme_1.getCssVar)("--background-accent-color")};
123
+ background: ${(0, theme_1.getCssVar)("--background-color")};
134
124
  [data-image-wrapper] {
135
125
  position: static;
136
126
  padding-top: 0;
@@ -181,7 +171,6 @@ exports.ExchangeCardTop = styled_components_1.default.div `
181
171
  `;
182
172
  exports.ExchangeButtonWrapper = styled_components_1.default.div `
183
173
  width: 100%;
184
- border-top: 1px solid rgba(85, 96, 114, 0.15);
185
174
  align-items: center;
186
175
  `;
187
176
  exports.RedeemButtonWrapper = styled_components_1.default.div `
@@ -201,7 +190,20 @@ exports.CommittedButtonWrapper = styled_components_1.default.div `
201
190
  exports.ExchangeStatus = styled_components_1.default.div `
202
191
  position: absolute;
203
192
  top: ${topSpace};
204
- right: ${sideSpace};
193
+ ${({ $side }) => {
194
+ switch ($side) {
195
+ case "left": {
196
+ return (0, styled_components_1.css) `
197
+ left: ${sideSpace};
198
+ `;
199
+ }
200
+ case "right": {
201
+ return (0, styled_components_1.css) `
202
+ right: ${sideSpace};
203
+ `;
204
+ }
205
+ }
206
+ }}
205
207
  z-index: 10;
206
208
  letter-spacing: 0.5px;
207
209
  line-height: 16px;
@@ -250,4 +252,13 @@ exports.ExchangeCTAWrapper = styled_components_1.default.div `
250
252
  transition: all 0.4s ease-out;
251
253
  max-height: 0;
252
254
  `;
255
+ exports.ExchangeCardTitle = (0, styled_components_1.default)(ProductCard_styles_1.ProductCardTitle) `
256
+ width: 100%;
257
+ white-space: normal;
258
+ `;
259
+ exports.CTAOnHoverContainerExchangeCard = (0, styled_components_1.default)(ProductCard_styles_1.CTAOnHoverContainer) `
260
+ left: 50%;
261
+ transform: translate(-50%, 0);
262
+ margin-bottom: 1rem;
263
+ `;
253
264
  //# sourceMappingURL=ExchangeCard.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeCard.styles.js","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAgD;AAChD,uCAAgD;AAEhD,0EAA4E;AAE5E,MAAM,QAAQ,GAAG,MAAM,CAAC;AACxB,MAAM,SAAS,GAAG,MAAM,CAAC;AACZ,QAAA,wBAAwB,GAAG,IAAA,2BAAM,EAAC,4CAAuB,CAAC,CAAA;SAC9D,QAAQ;UACP,SAAS;CAClB,CAAC;AACW,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;CAIxC,CAAC;AAEW,QAAA,qBAAqB,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;;;;;CAW9C,CAAC;AAEW,QAAA,mBAAmB,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;WAIlC,cAAM,CAAC,MAAM;;;;;;CAMvB,CAAC;AAEW,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,CAAA;;;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A,+BAA+B,GAAG,IAAA,2BAAM,EAAC,wCAAmB,CAAC,CAAA;;;;CAIzE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UploadedSinglePdfFile.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Upload/UploadedSinglePdfFile.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;CACnE,CAAC;AACF,eAAO,MAAM,qBAAqB,2BAG/B,0BAA0B,sBAqB5B,CAAC"}
1
+ {"version":3,"file":"UploadedSinglePdfFile.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Upload/UploadedSinglePdfFile.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;CACnE,CAAC;AACF,eAAO,MAAM,qBAAqB,2BAG/B,0BAA0B,sBA2B5B,CAAC"}
@@ -8,11 +8,12 @@ const Grid_1 = require("../../ui/Grid");
8
8
  const phosphor_react_1 = require("phosphor-react");
9
9
  const Typography_1 = require("../../ui/Typography");
10
10
  const react_1 = __importDefault(require("react"));
11
+ const colors_1 = require("../../../colors");
11
12
  const UploadedSinglePdfFile = ({ fileName, onXClick }) => {
12
13
  return (react_1.default.createElement(Grid_1.Grid, { flexDirection: "row", alignItems: "center", gap: "0.25rem" },
13
14
  react_1.default.createElement("div", null,
14
15
  react_1.default.createElement(phosphor_react_1.FilePdf, { size: 24 })),
15
- react_1.default.createElement(Typography_1.Typography, { style: { width: "100%" } }, fileName),
16
+ react_1.default.createElement(Typography_1.Typography, { width: "100%", color: colors_1.colors.purpleDeep, fontSize: "0.875rem" }, fileName),
16
17
  onXClick && (react_1.default.createElement("button", { type: "button", style: {
17
18
  display: "flex",
18
19
  justifyContent: "center"
@@ -1 +1 @@
1
- {"version":3,"file":"UploadedSinglePdfFile.js","sourceRoot":"","sources":["../../../../../src/components/form/Upload/UploadedSinglePdfFile.tsx"],"names":[],"mappings":";;;;;;AAAA,wCAAqC;AACrC,mDAA4C;AAC5C,oDAAiD;AACjD,kDAA0B;AAMnB,MAAM,qBAAqB,GAAG,CAAC,EACpC,QAAQ,EACR,QAAQ,EACmB,EAAE,EAAE;IAC/B,OAAO,CACL,8BAAC,WAAI,IAAC,aAAa,EAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAC,GAAG,EAAC,SAAS;QACzD;YACE,8BAAC,wBAAO,IAAC,IAAI,EAAE,EAAE,GAAI,CACjB;QACN,8BAAC,uBAAU,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAG,QAAQ,CAAc;QAC5D,QAAQ,IAAI,CACX,0CACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE;gBACL,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,QAAQ;aACzB,EACD,OAAO,EAAE,QAAQ;YAEjB,8BAAC,kBAAC,IAAC,IAAI,EAAE,IAAI,GAAI,CACV,CACV,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,qBAAqB,yBAwBhC"}
1
+ {"version":3,"file":"UploadedSinglePdfFile.js","sourceRoot":"","sources":["../../../../../src/components/form/Upload/UploadedSinglePdfFile.tsx"],"names":[],"mappings":";;;;;;AAAA,wCAAqC;AACrC,mDAA4C;AAC5C,oDAAiD;AACjD,kDAA0B;AAC1B,4CAAyC;AAMlC,MAAM,qBAAqB,GAAG,CAAC,EACpC,QAAQ,EACR,QAAQ,EACmB,EAAE,EAAE;IAC/B,OAAO,CACL,8BAAC,WAAI,IAAC,aAAa,EAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAC,GAAG,EAAC,SAAS;QACzD;YACE,8BAAC,wBAAO,IAAC,IAAI,EAAE,EAAE,GAAI,CACjB;QACN,8BAAC,uBAAU,IACT,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,eAAM,CAAC,UAAU,EACxB,QAAQ,EAAE,UAAU,IAEnB,QAAQ,CACE;QACZ,QAAQ,IAAI,CACX,0CACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE;gBACL,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,QAAQ;aACzB,EACD,OAAO,EAAE,QAAQ;YAEjB,8BAAC,kBAAC,IAAC,IAAI,EAAE,IAAI,GAAI,CACV,CACV,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,qBAAqB,yBA8BhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InnerCommitDetailView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx"],"names":[],"mappings":"AAIA,OAAO,KAMN,MAAM,OAAO,CAAC;AA2Bf,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,EAAmB,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAqD1E,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,eAAe,GAAG;IAChB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;CACrC,EACD,UAAU,GAAG,sBAAsB,CACpC,GACC,IAAI,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;AACrD,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,KAAK,EAAE,0BAA0B,qBA6WlC"}
1
+ {"version":3,"file":"InnerCommitDetailView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx"],"names":[],"mappings":"AAIA,OAAO,KAMN,MAAM,OAAO,CAAC;AA2Bf,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,EAAmB,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAqD1E,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,eAAe,GAAG;IAChB,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;CACrC,EACD,UAAU,GAAG,sBAAsB,CACpC,GACC,IAAI,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;AACrD,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,KAAK,EAAE,0BAA0B,qBAgXlC"}