tek-wallet 0.0.372 → 0.0.375
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.
|
@@ -111,6 +111,7 @@ var AmountGroupAndChart = function (props) {
|
|
|
111
111
|
} }) }) }), (0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, { style: {
|
|
112
112
|
position: "absolute",
|
|
113
113
|
left: 0,
|
|
114
|
+
bottom: 0,
|
|
114
115
|
}, initial: "hidden", animate: expandAreaChart ? "visible" : "hidden", variants: variants, transition: {
|
|
115
116
|
opacity: {
|
|
116
117
|
duration: expandAreaChart ? 0.5 : 0.25,
|
|
@@ -75,6 +75,8 @@ var WaitingData_1 = __importDefault(require("../WaitingData"));
|
|
|
75
75
|
var EmptyData_1 = __importDefault(require("../EmptyData"));
|
|
76
76
|
var Formatter_1 = __importDefault(require("../Formatter"));
|
|
77
77
|
var ListItemCustom_1 = __importDefault(require("../ListItemCustom"));
|
|
78
|
+
var CustomTooltip_1 = __importDefault(require("../CustomTooltip"));
|
|
79
|
+
var DialogContentLayout_1 = __importDefault(require("../DialogContentLayout"));
|
|
78
80
|
var ReceiveMethods;
|
|
79
81
|
(function (ReceiveMethods) {
|
|
80
82
|
ReceiveMethods["RECEIVE_INTERNAL"] = "receive_internal";
|
|
@@ -327,7 +329,9 @@ var ReceiveFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
327
329
|
backdropFilter: "blur(10px)",
|
|
328
330
|
}, children: (0, jsx_runtime_1.jsx)(QRCode_1.default, { value: qrCodeValue, title: "Receive ".concat(selectedToken === null || selectedToken === void 0 ? void 0 : selectedToken.name), logo: (0, getIcon_1.default)("ton"), bgColor: "transparent" }) }), selectedMethod === ReceiveMethods.RECEIVE_EXTERNAL && ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g4, color: "text.white" }), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.valueDescription), children: "Network" }), (0, jsx_runtime_1.jsxs)(material_1.Box, { component: "button", sx: __assign(__assign({}, theme.mixins.row), { gap: theme.mixins.gaps.g2, cursor: "pointer", transition: "transform 0.3s ease-in-out", "&:active": {
|
|
329
331
|
transform: "translateX(0.5rem)",
|
|
330
|
-
} }), onClick: handleBack, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: selectedNetwork === null || selectedNetwork === void 0 ? void 0 : selectedNetwork.name }), (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("right_arrow"), width: 10 })] })] })), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g4, color: "text.white" }), children: [(0, jsx_runtime_1.
|
|
332
|
+
} }), onClick: handleBack, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: selectedNetwork === null || selectedNetwork === void 0 ? void 0 : selectedNetwork.name }), (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("right_arrow"), width: 10 })] })] })), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g4, color: "text.white" }), children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.row), { gap: theme.mixins.gaps.g8 }), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.valueDescription), children: selectedMethod === ReceiveMethods.RECEIVE_INTERNAL
|
|
333
|
+
? "Internal address"
|
|
334
|
+
: "Address" }), selectedMethod === ReceiveMethods.RECEIVE_INTERNAL && ((0, jsx_runtime_1.jsx)(CustomTooltip_1.default, { trigger: (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("tooltip"), width: 16 }), children: (0, jsx_runtime_1.jsx)(DialogContentLayout_1.default, { content: (0, jsx_runtime_1.jsxs)(Text_1.default, { sx: __assign({}, theme.mixins.warning), children: ["This address is used to receive token by internal transfer. You can not use it for blockchain transaction. If you want to receive token by blockchain, please select the", " ", (0, jsx_runtime_1.jsx)("strong", { children: "Receive Internal" }), " method."] }) }) }))] }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, theme.mixins.value), { wordBreak: "break-all" }), children: (0, jsx_runtime_1.jsx)(CopyTextComponent_1.default, { value: receiveAddress || "", children: receiveAddress }) })] }), !!warningMessage && ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g4, backgroundColor: theme.palette.background.white16, borderRadius: theme.mixins.theBorderRadius.r12, padding: theme.mixins.customPadding.p8 }), children: (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.valueDescription), children: warningMessage }) }))] }), (0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { ref: amountDrawerRef, sx: {
|
|
331
335
|
width: "100%",
|
|
332
336
|
display: "flex",
|
|
333
337
|
justifyContent: "center",
|
package/dist/theme/mui/theme.js
CHANGED
|
@@ -285,6 +285,11 @@ var theme = (0, styles_1.createTheme)({
|
|
|
285
285
|
textAlign: "center",
|
|
286
286
|
padding: "".concat(customPadding.p8, " ").concat(customPadding.p16),
|
|
287
287
|
},
|
|
288
|
+
warning: {
|
|
289
|
+
color: text.warningStatus,
|
|
290
|
+
fontSize: typography.fontSize12,
|
|
291
|
+
lineHeight: typography.leading140,
|
|
292
|
+
},
|
|
288
293
|
},
|
|
289
294
|
});
|
|
290
295
|
exports.default = theme;
|