tek-wallet 0.0.485 → 0.0.487
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.
|
@@ -67,6 +67,6 @@ function ActivityDetail(props) {
|
|
|
67
67
|
fontSize: theme.typography.fontSize12,
|
|
68
68
|
textTransform: "capitalize",
|
|
69
69
|
color: getStatusColor(),
|
|
70
|
-
}, children: status })] }))] }), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.paper), { p: theme.mixins.gaps.g12, width: "100%" }), children: [isReceive && ((0, jsx_runtime_1.jsx)(CopyTextComponent_1.default, { value: activityData === null || activityData === void 0 ? void 0 : activityData.from_address, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g4 }), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.valueDescription), children: "From" }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, theme.mixins.value), { wordBreak: "break-all", textAlign: "
|
|
70
|
+
}, children: status })] }))] }), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.paper), { p: theme.mixins.gaps.g12, width: "100%" }), children: [isReceive && ((0, jsx_runtime_1.jsx)(CopyTextComponent_1.default, { value: activityData === null || activityData === void 0 ? void 0 : activityData.from_address, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g4 }), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.valueDescription), children: "From" }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, theme.mixins.value), { wordBreak: "break-all", textAlign: "left" }), children: activityData === null || activityData === void 0 ? void 0 : activityData.from_address })] }) })), isSend && ((0, jsx_runtime_1.jsx)(CopyTextComponent_1.default, { value: activityData === null || activityData === void 0 ? void 0 : activityData.to_address, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g4 }), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.valueDescription), children: "To" }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, theme.mixins.value), { wordBreak: "break-all", textAlign: "left" }), children: activityData === null || activityData === void 0 ? void 0 : activityData.to_address })] }) }))] })] }));
|
|
71
71
|
}
|
|
72
72
|
exports.default = ActivityDetail;
|
|
@@ -99,13 +99,15 @@ var CopyTextComponent = function (_a) {
|
|
|
99
99
|
backgroundColor: theme.palette.background.black,
|
|
100
100
|
backdropFilter: "blur(12px)",
|
|
101
101
|
borderRadius: theme.mixins.customRadius.r12,
|
|
102
|
+
padding: "".concat(theme.mixins.customPadding.p8, " ").concat(theme.mixins.customPadding.p12),
|
|
102
103
|
transition: "opacity 0.3s ease-in-out, transform 0.3s ease-in-out",
|
|
103
104
|
}, children: [iconSuccess || ((0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("copied_check"), sx: {
|
|
104
105
|
width: "1rem",
|
|
105
106
|
height: "1rem",
|
|
106
107
|
} })), !hideTextMessage && ((0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
|
|
107
108
|
color: theme.palette.text.successStatus,
|
|
108
|
-
fontSize:
|
|
109
|
+
fontSize: theme.typography.fontSize14,
|
|
110
|
+
lineHeight: theme.typography.leading100,
|
|
109
111
|
}, children: "Copied" }))] })] }));
|
|
110
112
|
};
|
|
111
113
|
exports.default = CopyTextComponent;
|
|
@@ -195,8 +195,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
195
195
|
}, [estimateFee, amount]);
|
|
196
196
|
(0, react_1.useEffect)(function () {
|
|
197
197
|
setTimeout(function () {
|
|
198
|
-
|
|
199
|
-
(_a = swiperRef.current) === null || _a === void 0 ? void 0 : _a.update();
|
|
198
|
+
// swiperRef.current?.update();
|
|
200
199
|
}, 50);
|
|
201
200
|
}, [estimateFee, amountError, recipientAddressError]);
|
|
202
201
|
var clearValues = function () {
|
|
@@ -212,6 +211,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
212
211
|
setHiddenError(true);
|
|
213
212
|
setRecipientAddressError(undefined);
|
|
214
213
|
onlyChangeAddress.current = false;
|
|
214
|
+
setInfoDialogContent(undefined);
|
|
215
215
|
};
|
|
216
216
|
var handleClearRecipientAddress = function () {
|
|
217
217
|
setRecipientAddress("");
|