@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.
- package/dist/cjs/colors.d.ts +1 -0
- package/dist/cjs/colors.d.ts.map +1 -1
- package/dist/cjs/colors.js +1 -0
- package/dist/cjs/colors.js.map +1 -1
- 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/form/Upload/UploadedSinglePdfFile.d.ts.map +1 -1
- package/dist/cjs/components/form/Upload/UploadedSinglePdfFile.js +2 -1
- package/dist/cjs/components/form/Upload/UploadedSinglePdfFile.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/colors.d.ts +1 -0
- package/dist/esm/colors.d.ts.map +1 -1
- package/dist/esm/colors.js +1 -0
- package/dist/esm/colors.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/form/Upload/UploadedSinglePdfFile.d.ts.map +1 -1
- package/dist/esm/components/form/Upload/UploadedSinglePdfFile.js +2 -1
- package/dist/esm/components/form/Upload/UploadedSinglePdfFile.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/colors.ts +1 -0
- package/src/components/exchangeCard/ExchangeCard.styles.ts +40 -22
- package/src/components/exchangeCard/ExchangeCard.tsx +53 -57
- package/src/components/form/Upload/UploadedSinglePdfFile.tsx +8 -1
- 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,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,EAAE,MAAM,SAAS,CAAC;
|
|
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;AAU7C,eAAO,MAAM,qBAAqB,6NAWjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,6NAU/B,CAAC;AAEF,eAAO,MAAM,aAAa,6NAKzB,CAAC;AAEF,eAAO,MAAM,wBAAwB;eAmH5B,MAAO,SAAS;SAAQ,MAAO,WACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eADK,MAAO,SAAS;SAAQ,MAAO,WACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4IAhHH,CAAC;AAEF,eAAO,MAAM,wBAAwB;eA6G5B,MAAO,SAAS;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"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { colors, getCssVar } from "../../theme";
|
|
3
|
-
import {
|
|
3
|
+
import { CTAOnHoverContainer, ProductCardTitle } from "../productCard/ProductCard.styles";
|
|
4
|
+
import { Grid } from "../ui/Grid";
|
|
4
5
|
const topSpace = "1rem";
|
|
5
6
|
const sideSpace = "1rem";
|
|
6
|
-
export const ExchangeCardLabelWrapper = styled(ProductCardLabelWrapper) `
|
|
7
|
-
top: ${topSpace};
|
|
8
|
-
left: ${sideSpace};
|
|
9
|
-
`;
|
|
10
|
-
export const ExchangeCreator = styled.div `
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-wrap: wrap;
|
|
13
|
-
gap: 0.5rem;
|
|
14
|
-
`;
|
|
15
7
|
export const ExchangeCreatorAvatar = styled.div `
|
|
16
8
|
width: 1rem;
|
|
17
9
|
height: 1rem;
|
|
@@ -41,16 +33,16 @@ export const ExchangeTitle = styled.div `
|
|
|
41
33
|
line-height: 150%;
|
|
42
34
|
word-break: break-word;
|
|
43
35
|
`;
|
|
44
|
-
export const ExchangeCardPriceWrapper = styled
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
align-self: stretch;
|
|
48
|
-
max-width: 50%;
|
|
49
|
-
min-width: 44%;
|
|
36
|
+
export const ExchangeCardPriceWrapper = styled(Grid) `
|
|
50
37
|
span {
|
|
51
38
|
padding-left: 0.5rem;
|
|
52
39
|
}
|
|
53
40
|
`;
|
|
41
|
+
export const ExchangeCardTitleWrapper = styled(Grid) `
|
|
42
|
+
width: 100%;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
`;
|
|
54
46
|
export const ExchangeCardPrice = styled.div `
|
|
55
47
|
font-size: 0.75rem;
|
|
56
48
|
line-height: 150%;
|
|
@@ -60,7 +52,7 @@ export const ExchangeCardPrice = styled.div `
|
|
|
60
52
|
`;
|
|
61
53
|
export const ExchangeCarData = styled.div `
|
|
62
54
|
display: flex;
|
|
63
|
-
|
|
55
|
+
width: 100%;
|
|
64
56
|
`;
|
|
65
57
|
export const ExchangeCardBottom = styled.div `
|
|
66
58
|
width: 100%;
|
|
@@ -91,10 +83,8 @@ export const ExchangeCardWrapper = styled.div `
|
|
|
91
83
|
isolation: isolate;
|
|
92
84
|
width: 100%;
|
|
93
85
|
min-height: 31.25rem;
|
|
94
|
-
border: 1px solid rgba(85, 96, 114, 0.15);
|
|
95
|
-
box-shadow: 0px 4.31783px 107.946px rgba(21, 30, 52, 0.1);
|
|
96
86
|
cursor: pointer;
|
|
97
|
-
background: ${getCssVar("--background-
|
|
87
|
+
background: ${getCssVar("--background-color")};
|
|
98
88
|
[data-image-wrapper] {
|
|
99
89
|
position: static;
|
|
100
90
|
padding-top: 0;
|
|
@@ -145,7 +135,6 @@ export const ExchangeCardTop = styled.div `
|
|
|
145
135
|
`;
|
|
146
136
|
export const ExchangeButtonWrapper = styled.div `
|
|
147
137
|
width: 100%;
|
|
148
|
-
border-top: 1px solid rgba(85, 96, 114, 0.15);
|
|
149
138
|
align-items: center;
|
|
150
139
|
`;
|
|
151
140
|
export const RedeemButtonWrapper = styled.div `
|
|
@@ -165,7 +154,20 @@ export const CommittedButtonWrapper = styled.div `
|
|
|
165
154
|
export const ExchangeStatus = styled.div `
|
|
166
155
|
position: absolute;
|
|
167
156
|
top: ${topSpace};
|
|
168
|
-
|
|
157
|
+
${({ $side }) => {
|
|
158
|
+
switch ($side) {
|
|
159
|
+
case "left": {
|
|
160
|
+
return css `
|
|
161
|
+
left: ${sideSpace};
|
|
162
|
+
`;
|
|
163
|
+
}
|
|
164
|
+
case "right": {
|
|
165
|
+
return css `
|
|
166
|
+
right: ${sideSpace};
|
|
167
|
+
`;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}}
|
|
169
171
|
z-index: 10;
|
|
170
172
|
letter-spacing: 0.5px;
|
|
171
173
|
line-height: 16px;
|
|
@@ -214,4 +216,13 @@ export const ExchangeCTAWrapper = styled.div `
|
|
|
214
216
|
transition: all 0.4s ease-out;
|
|
215
217
|
max-height: 0;
|
|
216
218
|
`;
|
|
219
|
+
export const ExchangeCardTitle = styled(ProductCardTitle) `
|
|
220
|
+
width: 100%;
|
|
221
|
+
white-space: normal;
|
|
222
|
+
`;
|
|
223
|
+
export const CTAOnHoverContainerExchangeCard = styled(CTAOnHoverContainer) `
|
|
224
|
+
left: 50%;
|
|
225
|
+
transform: translate(-50%, 0);
|
|
226
|
+
margin-bottom: 1rem;
|
|
227
|
+
`;
|
|
217
228
|
//# 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,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ExchangeCard.styles.js","sourceRoot":"","sources":["../../../../src/components/exchangeCard/ExchangeCard.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,MAAM,QAAQ,GAAG,MAAM,CAAC;AACxB,MAAM,SAAS,GAAG,MAAM,CAAC;AAEzB,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;CAW9C,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;WAIlC,MAAM,CAAC,MAAM;;;;;;CAMvB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;CAKtC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;CAInD,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;CAInD,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;WAKhC,SAAS,CAAC,kBAAkB,CAAC;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAGxC,CA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AAC,CAAC;YACb,OAAO,GAAG,CAAA;mBACC,SAAS;SACnB,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;;;;;;;;;;;gBAWa,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5B,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,UAAU,CAAC;QAChB,KAAK,WAAW;YACd,OAAO,MAAM,CAAC,KAAK,CAAC;QACtB,KAAK,WAAW;YACd,OAAO,MAAM,CAAC,MAAM,CAAC;QACvB;YACE,OAAO,MAAM,CAAC,KAAK,CAAC;IACxB,CAAC;AACH,CAAC;WACQ,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACvB,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,WAAW;YACd,OAAO,MAAM,CAAC,KAAK,CAAC;QACtB;YACE,OAAO,MAAM,CAAC,KAAK,CAAC;IACxB,CAAC;AACH,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,CAAC,CAAA;;;;;;;WAOhC,MAAM,CAAC,QAAQ;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAI7C,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAG3C,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;;CAGxD,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CAAC,mBAAmB,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;
|
|
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"}
|
|
@@ -2,11 +2,12 @@ import { Grid } from "../../ui/Grid";
|
|
|
2
2
|
import { FilePdf, X } from "phosphor-react";
|
|
3
3
|
import { Typography } from "../../ui/Typography";
|
|
4
4
|
import React from "react";
|
|
5
|
+
import { colors } from "../../../colors";
|
|
5
6
|
export const UploadedSinglePdfFile = ({ fileName, onXClick }) => {
|
|
6
7
|
return (React.createElement(Grid, { flexDirection: "row", alignItems: "center", gap: "0.25rem" },
|
|
7
8
|
React.createElement("div", null,
|
|
8
9
|
React.createElement(FilePdf, { size: 24 })),
|
|
9
|
-
React.createElement(Typography, {
|
|
10
|
+
React.createElement(Typography, { width: "100%", color: colors.purpleDeep, fontSize: "0.875rem" }, fileName),
|
|
10
11
|
onXClick && (React.createElement("button", { type: "button", style: {
|
|
11
12
|
display: "flex",
|
|
12
13
|
justifyContent: "center"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadedSinglePdfFile.js","sourceRoot":"","sources":["../../../../../src/components/form/Upload/UploadedSinglePdfFile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"UploadedSinglePdfFile.js","sourceRoot":"","sources":["../../../../../src/components/form/Upload/UploadedSinglePdfFile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAMzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,QAAQ,EACR,QAAQ,EACmB,EAAE,EAAE;IAC/B,OAAO,CACL,oBAAC,IAAI,IAAC,aAAa,EAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAC,GAAG,EAAC,SAAS;QACzD;YACE,oBAAC,OAAO,IAAC,IAAI,EAAE,EAAE,GAAI,CACjB;QACN,oBAAC,UAAU,IACT,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,CAAC,UAAU,EACxB,QAAQ,EAAE,UAAU,IAEnB,QAAQ,CACE;QACZ,QAAQ,IAAI,CACX,gCACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE;gBACL,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,QAAQ;aACzB,EACD,OAAO,EAAE,QAAQ;YAEjB,oBAAC,CAAC,IAAC,IAAI,EAAE,IAAI,GAAI,CACV,CACV,CACI,CACR,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/esm/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"}
|
|
@@ -225,7 +225,7 @@ export default function InnerCommitDetailView(props) {
|
|
|
225
225
|
" of this item.")))) : null,
|
|
226
226
|
React.createElement(InnerDetailViewWithPortal, { ...props, topChildren: null, priceSibling: status === "success" ? (
|
|
227
227
|
// TODO: if exchange is in a different state what do we do?
|
|
228
|
-
React.createElement(ExchangeStatus, { "$status": subgraph.ExchangeState.COMMITTED }, labelValueToText[LabelType.purchased])) : (props.priceSibling) },
|
|
228
|
+
React.createElement(ExchangeStatus, { "$status": subgraph.ExchangeState.COMMITTED, "$side": "right" }, labelValueToText[LabelType.purchased])) : (props.priceSibling) },
|
|
229
229
|
isNotCommittableOffer && isBuyerInsufficientFunds && (React.createElement(Grid, { marginBottom: "1rem" },
|
|
230
230
|
React.createElement(BuyOrSwapContainer, { swapParams: swapParams, onClickBuyOrSwap: onClickBuyOrSwap, style: { padding: 0 } },
|
|
231
231
|
React.createElement(Button, { 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":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,KAAK,EAAE,EACZ,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,UAAU,EACV,SAAS,EACV,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACL,wBAAwB,EACxB,oBAA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EACnB,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAC3B,KAAK,EAAE,SAAS,CAAC,kBAAkB,CAAC;;gCAEC,GAAG;gCACxC,8BACE,KAAK,EAAE;wCACL,QAAQ,EAAE,SAAS;wCACnB,MAAM,EAAE,SAAS;wCACjB,cAAc,EAAE,WAAW;qCAC5B,EACD,OAAO,EAAE,GAAG,EAAE;wCACZ,uBAAuB,EAAE,CAAC;oCAC5B,CAAC,iBAGI;oCAEI,CACR,CACO,CACX,CACR,CACyB,CAC3B,CACF,CACJ,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"InnerCommitDetailView.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Commit/DetailView/InnerCommitDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,KAAK,EAAE,EACZ,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,UAAU,EACV,SAAS,EACV,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,uBAAuB,MAAM,4CAA4C,CA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qCAC5B,EACD,OAAO,EAAE,GAAG,EAAE;wCACZ,uBAAuB,EAAE,CAAC;oCAC5B,CAAC,iBAGI;oCAEI,CACR,CACO,CACX,CACR,CACyB,CAC3B,CACF,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -6,10 +6,9 @@ interface Props {
|
|
|
6
6
|
exchange: ExtendedExchange;
|
|
7
7
|
onCardClick: (exchange: IExchange) => void;
|
|
8
8
|
onRedeemClick: (exchange: IExchange) => void;
|
|
9
|
-
onCancelExchangeClick: (exchange: IExchange) => void;
|
|
10
9
|
onRaiseDisputeClick: (exchange: IExchange) => void;
|
|
11
10
|
onAvatarClick: (exchange: IExchange) => void;
|
|
12
11
|
}
|
|
13
|
-
export default function Exchange({ offer, exchange, onRedeemClick, onCardClick,
|
|
12
|
+
export default function Exchange({ offer, exchange, onRedeemClick, onCardClick, onRaiseDisputeClick, onAvatarClick }: Props): React.JSX.Element;
|
|
14
13
|
export {};
|
|
15
14
|
//# sourceMappingURL=Exchange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exchange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Redeem/MyItems/Exchange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Exchange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Redeem/MyItems/Exchange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAQtE,UAAU,KAAK;IACb,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACjC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,WAAW,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,mBAAmB,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IACnD,aAAa,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;CAC9C;AAiBD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,aAAa,EACd,EAAE,KAAK,qBA6GP"}
|
|
@@ -27,7 +27,7 @@ const ExchangeCardWrapper = styled.div `
|
|
|
27
27
|
word-break: break-word;
|
|
28
28
|
}
|
|
29
29
|
`;
|
|
30
|
-
export default function Exchange({ offer, exchange, onRedeemClick, onCardClick,
|
|
30
|
+
export default function Exchange({ offer, exchange, onRedeemClick, onCardClick, onRaiseDisputeClick, onAvatarClick }) {
|
|
31
31
|
// TODO: remove/change once we migrate to lens v2
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
33
33
|
const lens = {};
|
|
@@ -77,12 +77,6 @@ export default function Exchange({ offer, exchange, onRedeemClick, onCardClick,
|
|
|
77
77
|
const handleRedeem = () => {
|
|
78
78
|
onRedeemClick(exchange);
|
|
79
79
|
};
|
|
80
|
-
const handleCancel = () => {
|
|
81
|
-
if (!exchange) {
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
onCancelExchangeClick(exchange);
|
|
85
|
-
};
|
|
86
80
|
return {
|
|
87
81
|
status: "COMMITTED",
|
|
88
82
|
isCTAVisible: isBuyer,
|
|
@@ -91,11 +85,6 @@ export default function Exchange({ offer, exchange, onRedeemClick, onCardClick,
|
|
|
91
85
|
onClick: handleRedeem,
|
|
92
86
|
type: "button",
|
|
93
87
|
disabled: isInWrongChain
|
|
94
|
-
},
|
|
95
|
-
cancelButtonConfig: {
|
|
96
|
-
onClick: handleCancel,
|
|
97
|
-
type: "button",
|
|
98
|
-
disabled: isInWrongChain
|
|
99
88
|
}
|
|
100
89
|
};
|
|
101
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exchange.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Redeem/MyItems/Exchange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,YAAY,MAAM,iCAAiC,CAAC;AAE3D,OAAO,
|
|
1
|
+
{"version":3,"file":"Exchange.js","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Redeem/MyItems/Exchange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,YAAY,MAAM,iCAAiC,CAAC;AAE3D,OAAO,EACL,YAAY,EAEb,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,eAAe,EAChB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAGnE,OAAO,EACL,UAAU,EACV,0BAA0B,EAC3B,MAAM,4CAA4C,CAAC;AAEpD,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AAa;iBACtB,CAAC;QACN,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,oBAAC,mBAAmB;QAClB,oBAAC,YAAY,IACX,WAAW,EAAE,iBAAiB,EAC9B,QAAQ,EAAC,eAAe,EACxB,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,KAAK,EAAE,KAAK,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE,EACjC,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,cAAc,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,EACrE,MAAM,EAAE,MAAM,IAAI,YAAY,EAC9B,UAAU,EAAE;gBACV,GAAG,EAAE,QAAQ;gBACb,WAAW,EAAE,mBAAmB,CAAC,QAAQ,EAAE,WAAW,CAAC;gBACvD,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE;oBACX,SAAS,EAAE,oBAAC,WAAW,IAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,GAAI;iBAC1D;aACF,EACD,iBAAiB,EAAE,mBAAmB,EACtC,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,MAAoB,KAC9C,wBAAwB,EAAE,EAC9B,WAAW,EAAE,IAAI,GACjB,CACkB,CACvB,CAAC;AACJ,CAAC"}
|
|
@@ -4,11 +4,10 @@ import { Exchange as IExchange } from "../../../../../types/exchange";
|
|
|
4
4
|
interface Props {
|
|
5
5
|
onCardClick: (exchange: IExchange) => void;
|
|
6
6
|
onRedeemClick: (exchange: IExchange) => void;
|
|
7
|
-
onCancelExchangeClick: (exchange: IExchange) => void;
|
|
8
7
|
onRaiseDisputeClick: (exchange: IExchange) => void;
|
|
9
8
|
onAvatarClick: (exchange: IExchange) => void;
|
|
10
9
|
exchanges: ExtendedExchange[];
|
|
11
10
|
}
|
|
12
|
-
export default function Exchanges({ onRedeemClick, exchanges,
|
|
11
|
+
export default function Exchanges({ onRedeemClick, exchanges, onRaiseDisputeClick, onCardClick, onAvatarClick }: Props): React.JSX.Element;
|
|
13
12
|
export {};
|
|
14
13
|
//# sourceMappingURL=Exchanges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exchanges.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Redeem/MyItems/Exchanges.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAGtE,UAAU,KAAK;IACb,WAAW,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,
|
|
1
|
+
{"version":3,"file":"Exchanges.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/modal/components/Redeem/MyItems/Exchanges.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAGtE,UAAU,KAAK;IACb,WAAW,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IAC3C,aAAa,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,mBAAmB,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IACnD,aAAa,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,SAAS,EAAE,gBAAgB,EAAE,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,aAAa,EACd,EAAE,KAAK,qBA0BP"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import Exchange from "./Exchange";
|
|
3
3
|
import { ProductGridContainer } from "./ProfilePage.styles";
|
|
4
|
-
export default function Exchanges({ onRedeemClick, exchanges,
|
|
4
|
+
export default function Exchanges({ onRedeemClick, exchanges, onRaiseDisputeClick, onCardClick, onAvatarClick }) {
|
|
5
5
|
return (React.createElement(ProductGridContainer, { itemsPerRow: {
|
|
6
6
|
xs: 1,
|
|
7
7
|
s: 2,
|
|
@@ -9,7 +9,7 @@ export default function Exchanges({ onRedeemClick, exchanges, onCancelExchangeCl
|
|
|
9
9
|
l: 3,
|
|
10
10
|
xl: 3
|
|
11
11
|
} }, exchanges?.map((exchange) => {
|
|
12
|
-
return (React.createElement(Exchange, { key: exchange.id, offer: exchange.offer, exchange: exchange, onRedeemClick: onRedeemClick, onCardClick: onCardClick,
|
|
12
|
+
return (React.createElement(Exchange, { key: exchange.id, offer: exchange.offer, exchange: exchange, onRedeemClick: onRedeemClick, onCardClick: onCardClick, onRaiseDisputeClick: onRaiseDisputeClick, onAvatarClick: onAvatarClick }));
|
|
13
13
|
})));
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=Exchanges.js.map
|