tek-wallet 0.0.116 → 0.0.118

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.
@@ -18,7 +18,6 @@ var jsx_runtime_1 = require("react/jsx-runtime");
18
18
  var react_1 = require("react");
19
19
  var StatusDisplay_1 = require("../../../components/ui/StatusDisplay");
20
20
  var StatusDisplay_2 = __importDefault(require("../../../components/ui/StatusDisplay"));
21
- var theme_1 = __importDefault(require("../../../theme/mui/theme"));
22
21
  var material_1 = require("@mui/material");
23
22
  var getImage_1 = __importDefault(require("../../../utils/getImage"));
24
23
  var ChildPageLayout = (0, react_1.forwardRef)(function (props, ref) {
@@ -69,7 +68,8 @@ var ChildPageLayout = (0, react_1.forwardRef)(function (props, ref) {
69
68
  display: "flex",
70
69
  alignItems: "center",
71
70
  justifyContent: "center",
72
- backgroundColor: "".concat(theme_1.default.palette.backgroundBlack24.main),
71
+ backgroundColor: "blackBackground.24",
72
+ backdropFilter: "blur(10px)",
73
73
  zIndex: 50,
74
74
  }, children: (0, jsx_runtime_1.jsx)(StatusDisplay_2.default, { status: status }) }))] }));
75
75
  });
@@ -1,14 +1,20 @@
1
1
  "use strict";
2
2
  "use client";
3
+ var __assign = (this && this.__assign) || function () {
4
+ __assign = Object.assign || function(t) {
5
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
6
+ s = arguments[i];
7
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
+ t[p] = s[p];
9
+ }
10
+ return t;
11
+ };
12
+ return __assign.apply(this, arguments);
13
+ };
3
14
  Object.defineProperty(exports, "__esModule", { value: true });
4
15
  var jsx_runtime_1 = require("react/jsx-runtime");
5
- var system_1 = require("@mui/system");
6
- var StyledDefaultPageLayout = (0, system_1.styled)("div")(function () { return ({
7
- padding: "1rem",
8
- minHeight: "100%",
9
- width: "100%",
10
- }); });
16
+ var material_1 = require("@mui/material");
11
17
  var DefaultPageLayout = function (props) {
12
- return ((0, jsx_runtime_1.jsx)(StyledDefaultPageLayout, { sx: props.sx, children: props.children }));
18
+ return ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign({ padding: "padding.pageX", paddingTop: "padding.pageTop", paddingBottom: "padding.pageBottom", minHeight: "100%", width: "100%" }, props.sx), children: props.children }));
13
19
  };
14
20
  exports.default = DefaultPageLayout;
@@ -19,7 +19,6 @@ var react_1 = require("react");
19
19
  var StatusDisplay_1 = require("../../../components/ui/StatusDisplay");
20
20
  var StatusDisplay_2 = __importDefault(require("../../../components/ui/StatusDisplay"));
21
21
  var system_1 = require("@mui/system");
22
- var theme_1 = __importDefault(require("../../../theme/mui/theme"));
23
22
  var StyledPageLayout = (0, system_1.styled)("div")(function () { return ({
24
23
  height: "100%",
25
24
  width: "100%",
@@ -54,7 +53,7 @@ var StyledStatusOverlay = (0, system_1.styled)("div")(function () { return ({
54
53
  display: "flex",
55
54
  alignItems: "center",
56
55
  justifyContent: "center",
57
- backgroundColor: "".concat(theme_1.default.palette.textWhite.main),
56
+ backgroundColor: "whiteText.main",
58
57
  zIndex: 50,
59
58
  }); });
60
59
  var PageLayout = (0, react_1.forwardRef)(function (props, ref) {
@@ -26,11 +26,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  var jsx_runtime_1 = require("react/jsx-runtime");
29
- var cn_1 = __importDefault(require("../../../utils/cn"));
30
29
  var getIcon_1 = __importDefault(require("../../../utils/getIcon"));
31
30
  var Icon_1 = __importDefault(require("../Icon"));
32
31
  var BackArrow = function (props) {
33
- var className = props.className, rest = __rest(props, ["className"]);
34
- return ((0, jsx_runtime_1.jsx)(Icon_1.default, __assign({ src: (0, getIcon_1.default)("arrow_back"), className: (0, cn_1.default)("size-6", className) }, rest)));
32
+ var rest = __rest(props, []);
33
+ return ((0, jsx_runtime_1.jsx)(Icon_1.default, __assign({ src: (0, getIcon_1.default)("arrow_back"), sx: __assign({ width: "1.5rem", height: "1.5rem" }, props.sx) }, rest)));
35
34
  };
36
35
  exports.default = BackArrow;
@@ -1,17 +1,28 @@
1
1
  "use strict";
2
2
  "use client";
3
+ var __assign = (this && this.__assign) || function () {
4
+ __assign = Object.assign || function(t) {
5
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
6
+ s = arguments[i];
7
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
+ t[p] = s[p];
9
+ }
10
+ return t;
11
+ };
12
+ return __assign.apply(this, arguments);
13
+ };
3
14
  var __importDefault = (this && this.__importDefault) || function (mod) {
4
15
  return (mod && mod.__esModule) ? mod : { "default": mod };
5
16
  };
6
17
  Object.defineProperty(exports, "__esModule", { value: true });
7
18
  var jsx_runtime_1 = require("react/jsx-runtime");
8
- var cn_1 = __importDefault(require("../../../utils/cn"));
9
19
  var BackArrow_1 = __importDefault(require("../BackArrow"));
10
20
  var useCustomRouter_1 = __importDefault(require("../../../hooks/useCustomRouter"));
11
21
  var Text_1 = __importDefault(require("../Text"));
22
+ var material_1 = require("@mui/material");
12
23
  var BackHeader = function (props) {
13
24
  var router = (0, useCustomRouter_1.default)();
14
- var center = props.center, children = props.children, className = props.className, hideBack = props.hideBack;
25
+ var center = props.center, children = props.children, hideBack = props.hideBack;
15
26
  var back = function (e) {
16
27
  if (props.overrideBack) {
17
28
  props.overrideBack(e);
@@ -19,6 +30,16 @@ var BackHeader = function (props) {
19
30
  }
20
31
  router.back();
21
32
  };
22
- return ((0, jsx_runtime_1.jsxs)("div", { className: (0, cn_1.default)("flex items-center gap-3 px-ui-horizontal-3 h-full bg-ui-bg-white relative", className), children: [!hideBack && ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", onClick: back, children: [(0, jsx_runtime_1.jsx)(BackArrow_1.default, {}), " ", (0, jsx_runtime_1.jsx)(Text_1.default, { className: "text-12 text-ui-text-white", children: "Back" })] })), !!center && ((0, jsx_runtime_1.jsx)("div", { className: "absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2", children: center })), children] }));
33
+ return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign({ display: "flex", alignItems: "center", gap: "1rem", height: "100%" }, props.sx), children: [!hideBack && ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
34
+ display: "flex",
35
+ alignItems: "center",
36
+ gap: "0.5rem",
37
+ cursor: "pointer",
38
+ }, onClick: back, children: [(0, jsx_runtime_1.jsx)(BackArrow_1.default, {}), " ", (0, jsx_runtime_1.jsx)(Text_1.default, { sx: { color: "whiteText.main" }, children: "Back" })] })), !!center && ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: {
39
+ position: "absolute",
40
+ left: "50%",
41
+ top: "50%",
42
+ transform: "translate(-50%, -50%)",
43
+ }, children: center })), children] }));
23
44
  };
24
45
  exports.default = BackHeader;
@@ -38,14 +38,14 @@ var CustomOtpInput = function (props) {
38
38
  switch (otpInputType) {
39
39
  case OtpInputType.PASSWORD:
40
40
  return ((0, jsx_runtime_1.jsx)(react_otp_input_1.default, __assign({}, rest, { inputType: "password", inputStyle: {
41
- border: "1px solid #ffffff58",
41
+ border: "1px solid whiteBorder.24",
42
42
  borderRadius: "0.75rem",
43
43
  width: "2.8rem",
44
44
  aspectRatio: "1/1.1",
45
45
  margin: "0 0.25rem",
46
46
  outline: "none",
47
- color: "#ffffff",
48
- backgroundColor: "#ffffff29",
47
+ color: "whiteText.main",
48
+ backgroundColor: "blackBackground.24",
49
49
  }, renderInput: function (props) { return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("input", __assign({}, props, { inputMode: "decimal" })), (0, jsx_runtime_1.jsx)("style", { children: "input::selection {\n background-color: transparent; \n color: white; \n }" })] })); } })));
50
50
  default:
51
51
  return ((0, jsx_runtime_1.jsx)(react_otp_input_1.default, __assign({}, rest, { renderInput: function (props) { return (0, jsx_runtime_1.jsx)("input", __assign({}, props, { inputMode: "text" })); } })));
@@ -1,14 +1,25 @@
1
1
  "use strict";
2
2
  "use client";
3
+ var __assign = (this && this.__assign) || function () {
4
+ __assign = Object.assign || function(t) {
5
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
6
+ s = arguments[i];
7
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
8
+ t[p] = s[p];
9
+ }
10
+ return t;
11
+ };
12
+ return __assign.apply(this, arguments);
13
+ };
3
14
  var __importDefault = (this && this.__importDefault) || function (mod) {
4
15
  return (mod && mod.__esModule) ? mod : { "default": mod };
5
16
  };
6
17
  Object.defineProperty(exports, "__esModule", { value: true });
7
18
  var jsx_runtime_1 = require("react/jsx-runtime");
8
- var cn_1 = __importDefault(require("../../../utils/cn"));
19
+ var styles_1 = require("../../../theme/mui/styles");
9
20
  var BackHeader_1 = __importDefault(require("../BackHeader"));
10
21
  var Text_1 = __importDefault(require("../Text"));
11
22
  var PageHeader = function (props) {
12
- return ((0, jsx_runtime_1.jsxs)(BackHeader_1.default, { overrideBack: props.overrideBack, className: (0, cn_1.default)("flex items-center h-full bg-ui-bg-white relative px-4", props.className), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { className: "text-white absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2 text-base font-500", children: props.title }), props.children] }));
23
+ return ((0, jsx_runtime_1.jsx)(BackHeader_1.default, { overrideBack: props.overrideBack, sx: __assign({ display: "flex", alignItems: "center", height: "100%", position: "relative", paddingLeft: "padding.pageX", paddingRight: "padding.pageX" }, props.sx), children: (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, styles_1.headerTitle), { position: "absolute", left: "50%", top: "50%", transform: "translate(-50%, -50%)" }), children: props.title }) }));
13
24
  };
14
25
  exports.default = PageHeader;
@@ -61,6 +61,7 @@ var ImportWalletView_1 = __importDefault(require("../ImportWalletView"));
61
61
  var ChildPageLayout_1 = __importDefault(require("../../layouts/ChildPageLayout"));
62
62
  var material_1 = require("@mui/material");
63
63
  var PageHeader_1 = __importDefault(require("../../ui/PageHeader"));
64
+ var styles_1 = require("../../../theme/mui/styles");
64
65
  var AuthView = function (props) {
65
66
  var createWalletDrawerRef = (0, react_1.useRef)(null);
66
67
  var importWalletDrawerRef = (0, react_1.useRef)(null);
@@ -72,7 +73,7 @@ var AuthView = function (props) {
72
73
  var _a;
73
74
  (_a = importWalletDrawerRef.current) === null || _a === void 0 ? void 0 : _a.close();
74
75
  };
75
- return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { title: "Connect Wallet", overrideBack: props.onBack }), children: (0, jsx_runtime_1.jsxs)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", paddingBottom: "2.25rem" }, props.sx), children: [(0, jsx_runtime_1.jsx)(Image_1.default, { src: (0, getIcon_1.default)("eth"), sx: {
76
+ return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { title: "Connect Wallet", overrideBack: props.onBack }), children: (0, jsx_runtime_1.jsxs)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem" }, props.sx), children: [(0, jsx_runtime_1.jsx)(Image_1.default, { src: (0, getIcon_1.default)("eth"), sx: {
76
77
  width: "80%",
77
78
  aspectRatio: "1",
78
79
  position: "fixed",
@@ -83,15 +84,9 @@ var AuthView = function (props) {
83
84
  display: "flex",
84
85
  flexDirection: "column",
85
86
  gap: "1rem",
86
- border: "2px blue solid",
87
87
  marginTop: "auto",
88
88
  }, children: [(0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { sx: {
89
89
  width: "100%",
90
- border: "2px red solid",
91
- }, ref: createWalletDrawerRef, trigger: (0, jsx_runtime_1.jsx)(Button_1.default.Primary, { sx: { width: "100%" }, children: "Create a new wallet" }), direction: DrawerComponent_1.DRAWER_DIRECTION.RIGHT, children: (0, jsx_runtime_1.jsx)(CreateWalletView_1.default, { onBack: onBackCreateWallet }) }), (0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { ref: importWalletDrawerRef, trigger: (0, jsx_runtime_1.jsx)(Button_1.default.Secondary, { sx: { width: "100%" }, children: "I have a wallet" }), direction: DrawerComponent_1.DRAWER_DIRECTION.RIGHT, children: (0, jsx_runtime_1.jsx)(ImportWalletView_1.default, { onBack: onBackImportWallet }) }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
92
- textAlign: "center",
93
- fontSize: "0.75rem",
94
- color: "text.white",
95
- }, children: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci, eos odio. Accusamus ea praesentium unde deserunt delectus, nihil corporis, mollitia ipsum impedit cupiditate eveniet vero esse facilis, incidunt in sequi?" })] })] }) }));
90
+ }, ref: createWalletDrawerRef, trigger: (0, jsx_runtime_1.jsx)(Button_1.default.Primary, { sx: { width: "100%" }, children: "Create a new wallet" }), direction: DrawerComponent_1.DRAWER_DIRECTION.RIGHT, children: (0, jsx_runtime_1.jsx)(CreateWalletView_1.default, { onBack: onBackCreateWallet }) }), (0, jsx_runtime_1.jsx)(DrawerComponent_1.default, { ref: importWalletDrawerRef, trigger: (0, jsx_runtime_1.jsx)(Button_1.default.Secondary, { sx: { width: "100%" }, children: "I have a wallet" }), direction: DrawerComponent_1.DRAWER_DIRECTION.RIGHT, children: (0, jsx_runtime_1.jsx)(ImportWalletView_1.default, { onBack: onBackImportWallet }) }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, styles_1.sessionDescription), children: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci, eos odio. Accusamus ea praesentium unde deserunt delectus, nihil corporis, mollitia ipsum impedit cupiditate eveniet vero esse facilis, incidunt in sequi?" })] })] }) }));
96
91
  };
97
92
  exports.default = AuthView;
@@ -60,6 +60,7 @@ var react_2 = require("react");
60
60
  var Text_1 = __importDefault(require("../../../components/ui/Text"));
61
61
  var useWalletData_1 = __importDefault(require("../../../hooks/useWalletData"));
62
62
  var material_1 = require("@mui/material");
63
+ var styles_1 = require("../../../theme/mui/styles");
63
64
  var CreateWalletViewStep;
64
65
  (function (CreateWalletViewStep) {
65
66
  CreateWalletViewStep[CreateWalletViewStep["CREATE_PASSCODE"] = 0] = "CREATE_PASSCODE";
@@ -142,31 +143,13 @@ var CreateWalletView = function (props) {
142
143
  alignItems: "center",
143
144
  height: "100%",
144
145
  gap: "1rem",
145
- }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
146
- color: "text.white",
147
- fontWeight: "600",
148
- fontSize: "16px",
149
- }, children: "Create Passcode" }), (0, jsx_runtime_1.jsx)(OTP_1.default, { value: otp, onChange: handleOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.PASSWORD }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
150
- color: "text.white",
151
- fontWeight: "400",
152
- fontSize: "14px",
153
- textAlign: "center",
154
- }, children: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Necessitatibus, eos! Dolore quae vero in ducimus doloribus" })] }) }), (0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
146
+ }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, styles_1.sessionTitle), children: "Create Passcode" }), (0, jsx_runtime_1.jsx)(OTP_1.default, { value: otp, onChange: handleOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.PASSWORD }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, styles_1.sessionDescription), children: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Necessitatibus, eos! Dolore quae vero in ducimus doloribus" })] }) }), (0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
155
147
  display: "flex",
156
148
  flexDirection: "column",
157
149
  alignItems: "center",
158
150
  justifyContent: "center",
159
151
  height: "100%",
160
152
  gap: "1rem",
161
- }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
162
- color: "text.white",
163
- fontWeight: "600",
164
- fontSize: "16px",
165
- }, children: "Confirm Passcode" }), (0, jsx_runtime_1.jsx)(OTP_1.default, { value: confirmOtp, onChange: handleConfirmOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.PASSWORD }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
166
- color: "text.white",
167
- fontWeight: "400",
168
- fontSize: "14px",
169
- textAlign: "center",
170
- }, children: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Necessitatibus, eos! Dolore quae vero in ducimus doloribus" })] }) })] }) }) }));
153
+ }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, styles_1.sessionTitle), children: "Confirm Passcode" }), (0, jsx_runtime_1.jsx)(OTP_1.default, { value: confirmOtp, onChange: handleConfirmOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.PASSWORD }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, styles_1.sessionDescription), children: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Necessitatibus, eos! Dolore quae vero in ducimus doloribus" })] }) })] }) }) }));
171
154
  };
172
155
  exports.default = CreateWalletView;
@@ -63,6 +63,7 @@ var material_1 = require("@mui/material");
63
63
  var Button_1 = __importDefault(require("../../ui/Button"));
64
64
  var Icon_1 = __importDefault(require("../../ui/Icon"));
65
65
  var getIcon_1 = __importDefault(require("../../../utils/getIcon"));
66
+ var styles_1 = require("../../../theme/mui/styles");
66
67
  var GetSeedPhraseWalletViewStep;
67
68
  (function (GetSeedPhraseWalletViewStep) {
68
69
  GetSeedPhraseWalletViewStep[GetSeedPhraseWalletViewStep["ENTER_PASSCODE"] = 0] = "ENTER_PASSCODE";
@@ -150,16 +151,7 @@ var GetSeedPhraseWalletView = function (props) {
150
151
  alignItems: "center",
151
152
  gap: "1rem",
152
153
  height: "100%",
153
- }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
154
- color: "text.white",
155
- fontWeight: "600",
156
- fontSize: "16px",
157
- }, children: "Enter Passcode" }), (0, jsx_runtime_1.jsx)(OTP_1.default, { value: otp, onChange: handleOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.PASSWORD }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
158
- color: "text.white",
159
- fontWeight: "400",
160
- fontSize: "14px",
161
- textAlign: "center",
162
- }, children: "Enter your passcode to get your wallet seed phrase" })] }) }), (0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
154
+ }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, styles_1.sessionTitle), children: "Enter Passcode" }), (0, jsx_runtime_1.jsx)(OTP_1.default, { value: otp, onChange: handleOtpChange, numInputs: passcodeLength, otpInputType: OTP_1.OtpInputType.PASSWORD }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, styles_1.sessionDescription), children: "Enter your passcode to get your wallet seed phrase" })] }) }), (0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
163
155
  minHeight: "100%",
164
156
  display: "flex",
165
157
  flexDirection: "column",
@@ -170,22 +162,24 @@ var GetSeedPhraseWalletView = function (props) {
170
162
  gap: "1rem",
171
163
  height: "fit-content",
172
164
  }, children: seedPhrase === null || seedPhrase === void 0 ? void 0 : seedPhrase.split(" ").map(function (word, index) { return ((0, jsx_runtime_1.jsxs)(Text_1.default, { sx: {
173
- color: "text.white",
165
+ color: "whiteText.main",
174
166
  padding: "0.5rem 0.75rem",
175
- backgroundColor: "rgba(255, 255, 255, 0.1)",
167
+ backgroundColor: "blackBackground.16",
176
168
  borderRadius: "0.5rem",
177
- fontSize: "14px",
178
- fontWeight: "400",
169
+ fontSize: "fontSize.14",
170
+ fontWeight: "fontWeight.400",
179
171
  textAlign: "center",
180
172
  width: "100%",
181
- border: "1px solid rgba(255, 255, 255, 0.2)",
182
- }, children: [index + 1, ". ", isShowSeedPhrase ? word : "********"] }, index)); }) }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: { marginTop: "auto" }, children: "Please do not store your seed phrase digitally (e.g., text files on your computer, email...). Write it down and keep it in a secure, confidential location that is resistant to adverse conditions like moisture, fire, or other hazards for safe storage." }), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
173
+ border: "1px solid blackBackground.24",
174
+ }, children: [index + 1, ". ", isShowSeedPhrase ? word : "********"] }, index)); }) }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({ marginTop: "auto" }, styles_1.noteContent), children: "Please do not store your seed phrase digitally (e.g., text files on your computer, email...). Write it down and keep it in a secure, confidential location that is resistant to adverse conditions like moisture, fire, or other hazards for safe storage." }), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
183
175
  display: "flex",
184
- alignItems: "center",
176
+ alignItems: "stretch",
185
177
  gap: "1rem",
186
178
  height: "fit-content",
187
179
  width: "100%",
188
- }, children: [(0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)(isShowSeedPhrase ? "show_seed_phrase" : "hide_seed_phrase", "svg"), onClick: toggleShowSeedPhrase }), (0, jsx_runtime_1.jsx)(Button_1.default.Primary, { onClick: handleDone, sx: {
180
+ }, children: [(0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)(isShowSeedPhrase ? "show_seed_phrase" : "hide_seed_phrase", "svg"), onClick: toggleShowSeedPhrase, sx: {
181
+ aspectRatio: 1,
182
+ } }), (0, jsx_runtime_1.jsx)(Button_1.default.Primary, { onClick: handleDone, sx: {
189
183
  flex: 1,
190
184
  }, children: "Done" })] })] }) })] }) }) }));
191
185
  };
@@ -0,0 +1,21 @@
1
+ export declare const sessionTitle: {
2
+ color: string;
3
+ fontWeight: string;
4
+ fontSize: string;
5
+ };
6
+ export declare const sessionDescription: {
7
+ color: string;
8
+ fontWeight: string;
9
+ fontSize: string;
10
+ textAlign: string;
11
+ };
12
+ export declare const headerTitle: {
13
+ color: string;
14
+ fontWeight: string;
15
+ fontSize: string;
16
+ };
17
+ export declare const noteContent: {
18
+ color: string;
19
+ fontWeight: string;
20
+ fontSize: string;
21
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noteContent = exports.headerTitle = exports.sessionDescription = exports.sessionTitle = void 0;
4
+ exports.sessionTitle = {
5
+ color: "whiteText.main",
6
+ fontWeight: "fontWeight.600",
7
+ fontSize: "fontSize.16",
8
+ };
9
+ exports.sessionDescription = {
10
+ color: "whiteText.80",
11
+ fontWeight: "fontWeight.400",
12
+ fontSize: "fontSize.14",
13
+ textAlign: "center",
14
+ };
15
+ exports.headerTitle = {
16
+ color: "whiteText.main",
17
+ fontWeight: "fontWeight.600",
18
+ fontSize: "fontSize.16",
19
+ };
20
+ exports.noteContent = {
21
+ color: "whiteText.80",
22
+ fontWeight: "fontWeight.400",
23
+ fontSize: "fontSize.12",
24
+ };
@@ -9,11 +9,68 @@ var theme = (0, styles_1.createTheme)({
9
9
  secondary: {
10
10
  main: "#01FF00",
11
11
  },
12
- textWhite: {
12
+ whiteBackground: {
13
13
  main: "#ffffff",
14
+ 16: "rgba(255, 255, 255, 0.16)",
15
+ 24: "rgba(255, 255, 255, 0.24)",
14
16
  },
15
- backgroundBlack24: {
16
- main: "rgba(0, 0, 0, 0.24)",
17
+ whiteText: {
18
+ main: "#ffffff",
19
+ 16: "rgba(255, 255, 255, 0.16)",
20
+ 24: "rgba(255, 255, 255, 0.24)",
21
+ 80: "rgba(255, 255, 255, 0.8)",
22
+ },
23
+ whiteBorder: {
24
+ main: "#ffffff",
25
+ 16: "rgba(255, 255, 255, 0.16)",
26
+ 24: "rgba(255, 255, 255, 0.24)",
27
+ },
28
+ blackBackground: {
29
+ main: "#000000",
30
+ 16: "rgba(0, 0, 0, 0.16)",
31
+ 24: "rgba(0, 0, 0, 0.24)",
32
+ },
33
+ fontSize: {
34
+ 10: "0.625rem",
35
+ 11: "0.6875rem",
36
+ 12: "0.75rem",
37
+ 13: "0.8125rem",
38
+ 14: "0.875rem",
39
+ 15: "0.9375rem",
40
+ 16: "1rem",
41
+ 17: "1.0625rem",
42
+ 18: "1.125rem",
43
+ 19: "1.1875rem",
44
+ 20: "1.25rem",
45
+ 21: "1.3125rem",
46
+ 22: "1.375rem",
47
+ 23: "1.4375rem",
48
+ 24: "1.5rem",
49
+ 25: "1.5625rem",
50
+ 26: "1.625rem",
51
+ 27: "1.6875rem",
52
+ 28: "1.75rem",
53
+ 29: "1.8125rem",
54
+ 30: "1.875rem",
55
+ },
56
+ fontWeight: {
57
+ 400: "400",
58
+ 500: "500",
59
+ 600: "600",
60
+ 700: "700",
61
+ 800: "800",
62
+ },
63
+ lineHeight: {
64
+ 100: "100%",
65
+ 120: "120%",
66
+ 140: "140%",
67
+ 160: "160%",
68
+ 180: "180%",
69
+ },
70
+ padding: {
71
+ pageX: "1rem",
72
+ pageTop: "1rem",
73
+ pageBottom: "2rem",
17
74
  },
18
75
  },
19
76
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.116",
3
+ "version": "0.0.118",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",