tek-wallet 0.0.268 → 0.0.270
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.
|
@@ -196,6 +196,7 @@ var ConfirmByPasscode = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
196
196
|
}); };
|
|
197
197
|
return ((0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { ref: drawerRef, trigger: props.children, onOpen: handleOnOpen, onClose: handleOnClose, children: (0, jsx_runtime_1.jsx)(LoadingLayout_1.default, { initLoading: false, ref: loadingRef, sx: {
|
|
198
198
|
backgroundColor: "transparent",
|
|
199
|
+
width: "100%",
|
|
199
200
|
}, children: (0, jsx_runtime_1.jsx)(ModalLayout_1.default, { title: "Authentication", onClose: handleClose, children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { justifyContent: "center", alignItems: "center", gap: "1rem", width: "100%" }), children: [(0, jsx_runtime_1.jsxs)(Text_1.default, { sx: __assign({}, theme.mixins.sessionTitle), children: ["Enter your passcode to confirm", " ", (0, jsx_runtime_1.jsx)(Text_1.default, { sx: { fontWeight: theme.typography.fontWeight600 }, children: action })] }), (0, jsx_runtime_1.jsx)(OTP_1.default, { value: otp, onChange: handleOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.PASSWORD }), !!authError && ((0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, theme.mixins.validationError), { alignSelf: "flex-start" }), children: authError }))] }) }) }) }));
|
|
200
201
|
});
|
|
201
202
|
ConfirmByPasscode.displayName = "ConfirmByPasscode";
|
|
@@ -34,7 +34,7 @@ var TokensBoard = function () {
|
|
|
34
34
|
}, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: { textAlign: "left" }, children: "Name" }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: { textAlign: "left" }, children: "Listing Price" }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: { textAlign: "right" }, children: "PnL" })] })), tokens === null || tokens === void 0 ? void 0 : tokens.map(function (item) {
|
|
35
35
|
var stringifiedTokenData = JSON.stringify(__assign({}, item));
|
|
36
36
|
return (0, jsx_runtime_1.jsx)(TokenItem_1.default, { tokenData: stringifiedTokenData }, item.id);
|
|
37
|
-
}), !tokens && (0, jsx_runtime_1.jsx)(WaitingData_1.default, {
|
|
37
|
+
}), !tokens && (0, jsx_runtime_1.jsx)(WaitingData_1.default, { sx: { margin: "auto" } })] }), !!tokens && ((0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
|
|
38
38
|
fontSize: theme.typography.fontSize12,
|
|
39
39
|
color: "text.secondary",
|
|
40
40
|
lineHeight: theme.typography.leading140,
|
package/dist/theme/mui/theme.js
CHANGED
|
@@ -58,6 +58,7 @@ var text = {
|
|
|
58
58
|
white80: "rgba(255, 255, 255, 0.8)",
|
|
59
59
|
white64: "rgba(255, 255, 255, 0.64)",
|
|
60
60
|
white24: "rgba(255, 255, 255, 0.24)",
|
|
61
|
+
secondary: "#01FFFF",
|
|
61
62
|
successStatus: "#01FF00",
|
|
62
63
|
errorStatus: "#FE6565",
|
|
63
64
|
loadingStatus: "#01FFFF",
|
|
@@ -116,7 +117,7 @@ var theBorderRadius = {
|
|
|
116
117
|
};
|
|
117
118
|
var shadows = [
|
|
118
119
|
"none",
|
|
119
|
-
"inset 0px 0px
|
|
120
|
+
"inset 0px 0px 50px 8px rgba(255, 255, 255, 0.1)", // 0
|
|
120
121
|
"0px 3px 6px rgba(255, 255, 255, 0.1)", // 1
|
|
121
122
|
"0px 5px 15px rgba(255, 255, 255, 0.1)", // 2
|
|
122
123
|
"0px 5px 15px rgba(255, 255, 255, 0.2)", // 3
|