@bosonprotocol/react-kit 0.37.0-alpha.1 → 0.37.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/exchangeCard/ExchangeCard.d.ts +0 -1
- package/dist/cjs/components/exchangeCard/ExchangeCard.d.ts.map +1 -1
- package/dist/cjs/components/exchangeCard/ExchangeCard.js +21 -26
- package/dist/cjs/components/exchangeCard/ExchangeCard.js.map +1 -1
- package/dist/cjs/components/exchangeCard/ExchangeCard.styles.d.ts +227 -5
- package/dist/cjs/components/exchangeCard/ExchangeCard.styles.d.ts.map +1 -1
- package/dist/cjs/components/exchangeCard/ExchangeCard.styles.js +33 -22
- package/dist/cjs/components/exchangeCard/ExchangeCard.styles.js.map +1 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.js +1 -1
- package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.d.ts +1 -2
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.js +1 -12
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchange.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.d.ts +1 -2
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.js +2 -2
- package/dist/cjs/components/modal/components/Redeem/MyItems/Exchanges.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.d.ts +1 -2
- package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.js +2 -2
- package/dist/cjs/components/modal/components/Redeem/MyItems/MyItems.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts +0 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/MyItems/WithExchangesData.js.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.d.ts +0 -1
- package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.js +1 -5
- package/dist/cjs/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
- package/dist/cjs/components/productCard/ProductCard.d.ts +2 -0
- package/dist/cjs/components/productCard/ProductCard.d.ts.map +1 -1
- package/dist/cjs/components/productCard/ProductCard.js +13 -15
- package/dist/cjs/components/productCard/ProductCard.js.map +1 -1
- package/dist/cjs/components/productCard/ProductCard.styles.d.ts +4 -0
- package/dist/cjs/components/productCard/ProductCard.styles.d.ts.map +1 -1
- package/dist/cjs/components/productCard/ProductCard.styles.js +55 -20
- package/dist/cjs/components/productCard/ProductCard.styles.js.map +1 -1
- package/dist/cjs/components/productCard/commonStyles.d.ts.map +1 -1
- package/dist/cjs/components/productCard/commonStyles.js +0 -1
- package/dist/cjs/components/productCard/commonStyles.js.map +1 -1
- package/dist/cjs/components/widgets/roblox/components/ProductsRoblox.d.ts.map +1 -1
- package/dist/cjs/components/widgets/roblox/components/ProductsRoblox.js +16 -2
- package/dist/cjs/components/widgets/roblox/components/ProductsRoblox.js.map +1 -1
- package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.d.ts +2 -2
- package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.d.ts.map +1 -1
- package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.js +3 -6
- package/dist/cjs/components/widgets/roblox/components/RobloxExchangesGrid.js.map +1 -1
- package/dist/esm/components/exchangeCard/ExchangeCard.d.ts +0 -1
- package/dist/esm/components/exchangeCard/ExchangeCard.d.ts.map +1 -1
- package/dist/esm/components/exchangeCard/ExchangeCard.js +22 -26
- package/dist/esm/components/exchangeCard/ExchangeCard.js.map +1 -1
- package/dist/esm/components/exchangeCard/ExchangeCard.styles.d.ts +227 -5
- package/dist/esm/components/exchangeCard/ExchangeCard.styles.d.ts.map +1 -1
- package/dist/esm/components/exchangeCard/ExchangeCard.styles.js +33 -22
- package/dist/esm/components/exchangeCard/ExchangeCard.styles.js.map +1 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.js +1 -1
- package/dist/esm/components/modal/components/Commit/DetailView/InnerCommitDetailView.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.d.ts +1 -2
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.js +1 -12
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchange.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.d.ts +1 -2
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.js +2 -2
- package/dist/esm/components/modal/components/Redeem/MyItems/Exchanges.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.d.ts +1 -2
- package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.js +2 -2
- package/dist/esm/components/modal/components/Redeem/MyItems/MyItems.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts +0 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/WithExchangesData.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Redeem/MyItems/WithExchangesData.js.map +1 -1
- package/dist/esm/components/modal/components/Redeem/RedeemNonModal.d.ts +0 -1
- package/dist/esm/components/modal/components/Redeem/RedeemNonModal.d.ts.map +1 -1
- package/dist/esm/components/modal/components/Redeem/RedeemNonModal.js +1 -5
- package/dist/esm/components/modal/components/Redeem/RedeemNonModal.js.map +1 -1
- package/dist/esm/components/productCard/ProductCard.d.ts +2 -0
- package/dist/esm/components/productCard/ProductCard.d.ts.map +1 -1
- package/dist/esm/components/productCard/ProductCard.js +13 -15
- package/dist/esm/components/productCard/ProductCard.js.map +1 -1
- package/dist/esm/components/productCard/ProductCard.styles.d.ts +4 -0
- package/dist/esm/components/productCard/ProductCard.styles.d.ts.map +1 -1
- package/dist/esm/components/productCard/ProductCard.styles.js +54 -19
- package/dist/esm/components/productCard/ProductCard.styles.js.map +1 -1
- package/dist/esm/components/productCard/commonStyles.d.ts.map +1 -1
- package/dist/esm/components/productCard/commonStyles.js +0 -1
- package/dist/esm/components/productCard/commonStyles.js.map +1 -1
- package/dist/esm/components/widgets/roblox/components/ProductsRoblox.d.ts.map +1 -1
- package/dist/esm/components/widgets/roblox/components/ProductsRoblox.js +16 -2
- package/dist/esm/components/widgets/roblox/components/ProductsRoblox.js.map +1 -1
- package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.d.ts +2 -2
- package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.d.ts.map +1 -1
- package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.js +3 -6
- package/dist/esm/components/widgets/roblox/components/RobloxExchangesGrid.js.map +1 -1
- package/package.json +2 -2
- package/src/components/exchangeCard/ExchangeCard.styles.ts +40 -22
- package/src/components/exchangeCard/ExchangeCard.tsx +53 -57
- package/src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx +4 -1
- package/src/components/modal/components/Redeem/MyItems/Exchange.tsx +7 -15
- package/src/components/modal/components/Redeem/MyItems/Exchanges.tsx +0 -3
- package/src/components/modal/components/Redeem/MyItems/MyItems.tsx +0 -3
- package/src/components/modal/components/Redeem/MyItems/WithExchangesData.tsx +0 -1
- package/src/components/modal/components/Redeem/RedeemNonModal.tsx +0 -7
- package/src/components/productCard/ProductCard.styles.ts +58 -19
- package/src/components/productCard/ProductCard.tsx +30 -27
- package/src/components/productCard/commonStyles.ts +0 -1
- package/src/components/widgets/roblox/components/ProductsRoblox.tsx +14 -2
- package/src/components/widgets/roblox/components/RobloxExchangesGrid.tsx +5 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeCard.d.ts","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAqB,MAAM,OAAO,CAAC;AAE/D,OAAO,EACL,UAAU,EAEX,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAS,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExchangeCard.d.ts","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAqB,MAAM,OAAO,CAAC;AAE/D,OAAO,EACL,UAAU,EAEX,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAS,MAAM,gBAAgB,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAkB7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,UAAU,IAAI;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MA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,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,
|
|
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
|
|
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
|
-
|
|
91
|
-
react_1.default.createElement(
|
|
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(
|
|
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.
|
|
106
|
-
react_1.default.createElement(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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,+
|
|
1
|
+
{"version":3,"file":"ExchangeCard.js","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+D;AAC/D,8CAA2C;AAC3C,wEAG4C;AAC5C,0C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EX,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<
|
|
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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,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.
|
|
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.
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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,
|
|
1
|
+
{"version":3,"file":"ExchangeCard.styles.js","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAgD;AAChD,uCAAgD;AAEhD,0EAG2C;AAC3C,qCAAkC;AAElC,MAAM,QAAQ,GAAG,MAAM,CAAC;AACxB,MAAM,SAAS,GAAG,MAAM,CAAC;AAEZ,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;;;;;CAKt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AAC,wCAAmB,CAAC,CAAA;;;;CAIzE,CAAC"}
|
package/dist/cjs/components/modal/components/Commit/DetailView/InnerCommitDetailView.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
|
@@ -272,7 +272,7 @@ function InnerCommitDetailView(props) {
|
|
|
272
272
|
" of this item.")))) : null,
|
|
273
273
|
react_1.default.createElement(InnerDetailViewWithPortal_1.InnerDetailViewWithPortal, Object.assign({}, props, { topChildren: null, priceSibling: status === "success" ? (
|
|
274
274
|
// TODO: if exchange is in a different state what do we do?
|
|
275
|
-
react_1.default.createElement(ExchangeCard_styles_1.ExchangeStatus, { "$status": core_sdk_1.subgraph.ExchangeState.COMMITTED }, const_1.labelValueToText[const_1.LabelType.purchased])) : (props.priceSibling) }),
|
|
275
|
+
react_1.default.createElement(ExchangeCard_styles_1.ExchangeStatus, { "$status": core_sdk_1.subgraph.ExchangeState.COMMITTED, "$side": "right" }, const_1.labelValueToText[const_1.LabelType.purchased])) : (props.priceSibling) }),
|
|
276
276
|
isNotCommittableOffer && isBuyerInsufficientFunds && (react_1.default.createElement(Grid_1.Grid, { marginBottom: "1rem" },
|
|
277
277
|
react_1.default.createElement(BuyOrSwapContainer_1.BuyOrSwapContainer, { swapParams: swapParams, onClickBuyOrSwap: onClickBuyOrSwap, style: { padding: 0 } },
|
|
278
278
|
react_1.default.createElement(Button_1.Button, Object.assign({ size: "regular", variant: "accentInverted", style: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerCommitDetailView.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGA,
|
|
1
|
+
{"version":3,"file":"InnerCommitDetailView.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGA,wCAiXC;AAxdD,sDAAmD;AACnD,wDAA0C;AAE1C,mDAAgE;AAChE,+CAMe;AACf,sEAAoC;AACpC,uEAAgD;AAChD,2EAGoD;AACpD,+FAA4F;AAC5F,yEAGgD;AAChD,mEAA4D;AAC5D,uDAAoD;AACpD,oEAAoE;AACpE,yGAAiF;AACjF,8CAA2C;AAC3C,+EAAuD;AACvD,0DAAuD;AACvD,4FAG2D;AAC3D,gDAA6C;AAC7C,6FAA0F;AAC1F,+EAA4E;AAC5E,+EAA8E;AAE9E,8DAA2D;AAC3D,2DAAwD;AACxD,uDAA0E;AAC1E,qEAAyE;AACzE,kDAA+C;AAE/C,iFAA8E;AAC9E,gDAAiD;AACjD,kDAA0B;AAC1B,gFAA6E;AAC7E,0DAA6E;AAC7E,sFAA8E;AAI9E,MAAM,mBAAmB,GAAG,2BAAM,CAAC,GAAG,CAGpC;;IAEE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjB,QAAQ;IACN,CAAC,CAAC,IAAA,uBAAG,EAAA;;;;SAIF;IACH,CAAC,CAAC,IAAA,uBAAG,EAAA;;SAEF;;;;sBAIa,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,cAAc;;CAE3D,CAAC;AACF,MAAM,mBAAmB,GAAG,OAAO,CAAC;AACpC,MAAM,aAAa,GAAG,IAAA,2BAAM,EAAC,WAAI,CAAC,CAAA;;;;;;wBAMV,mBAAmB;;;;;;CAM1C,CAAC;AACF,MAAM,UAAU,GAAG,IAAA,2BAAM,EAAC,gCAAe,CAAC,CAAA;;;;CAIzC,CAAC;AAWF,SAAwB,qBAAqB,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