tek-wallet 0.0.145 → 0.0.147
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/components/ui/DepositFunction/index.js +1 -1
- package/dist/components/ui/SwiperControlled/index.d.ts +1 -1
- package/dist/components/views/CreateWalletView/index.js +3 -1
- package/dist/components/views/GetSeedPhraseWalletView/index.js +3 -1
- package/dist/components/views/ImportWalletView/index.js +3 -1
- package/package.json +1 -1
|
@@ -171,7 +171,7 @@ var DepositFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
171
171
|
fontWeight: theme.typography.fontWeight400,
|
|
172
172
|
leading: "typography.leading150",
|
|
173
173
|
textTransform: "capitalize",
|
|
174
|
-
}, children: "Share" }), (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("copy"), width: 20 })] }) })] })] }) }, DepositStep.SHOW_QR_CODE)] }) }) }));
|
|
174
|
+
}, children: "Share" }), (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("copy"), width: 20 })] }) })] })] }) }, DepositStep.SHOW_QR_CODE)] }, tokens === null || tokens === void 0 ? void 0 : tokens.length) }) }));
|
|
175
175
|
});
|
|
176
176
|
DepositFunction.displayName = "DepositFunction";
|
|
177
177
|
exports.default = DepositFunction;
|
|
@@ -6,7 +6,7 @@ interface SwiperControlledProps extends GeneralProps {
|
|
|
6
6
|
tabsClassName?: string;
|
|
7
7
|
swiperProps?: SwiperProps;
|
|
8
8
|
disableSwipe?: boolean;
|
|
9
|
-
swiperStyle?:
|
|
9
|
+
swiperStyle?: Record<string, string | number>;
|
|
10
10
|
}
|
|
11
11
|
export interface SwiperControlledRef {
|
|
12
12
|
slideTo: (index: number) => void;
|
|
@@ -136,7 +136,9 @@ var CreateWalletView = function (props) {
|
|
|
136
136
|
}, handleCreateWalletError);
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
|
-
return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { ref: childPageLayoutRef, header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { overrideBack: handleBack, title: "Passcode" }), children: (0, jsx_runtime_1.jsx)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", height: "100%" }, props.sx), children: (0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperControlledRef, disableSwipe: true, sx: { height: "100%" },
|
|
139
|
+
return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { ref: childPageLayoutRef, header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { overrideBack: handleBack, title: "Passcode" }), children: (0, jsx_runtime_1.jsx)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", height: "100%" }, props.sx), children: (0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperControlledRef, disableSwipe: true, sx: { height: "100%" }, swiperStyle: {
|
|
140
|
+
flex: 1,
|
|
141
|
+
}, children: [(0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
140
142
|
display: "flex",
|
|
141
143
|
flexDirection: "column",
|
|
142
144
|
justifyContent: "center",
|
|
@@ -143,7 +143,9 @@ var GetSeedPhraseWalletView = function (props) {
|
|
|
143
143
|
}, handleCreateWalletError);
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
|
-
return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { ref: childPageLayoutRef, header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { overrideBack: handleBack, title: "Backup Wallet" }), children: (0, jsx_runtime_1.jsx)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", height: "100%" }, props.sx), children: (0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperControlledRef, disableSwipe: true, sx: { height: "100%" },
|
|
146
|
+
return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { ref: childPageLayoutRef, header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { overrideBack: handleBack, title: "Backup Wallet" }), children: (0, jsx_runtime_1.jsx)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", height: "100%" }, props.sx), children: (0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperControlledRef, disableSwipe: true, sx: { height: "100%" }, swiperStyle: {
|
|
147
|
+
flex: 1,
|
|
148
|
+
}, children: [(0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
147
149
|
display: "flex",
|
|
148
150
|
flexDirection: "column",
|
|
149
151
|
justifyContent: "center",
|
|
@@ -107,7 +107,9 @@ var ImportWalletView = function (props) {
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}); };
|
|
110
|
-
return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { ref: childPageLayoutRef, header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { overrideBack: props.onBack, title: "Import wallet" }), children: (0, jsx_runtime_1.jsx)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", height: "100%" }, props.sx), children: (0, jsx_runtime_1.jsx)(SwiperControlled_1.default, { ref: swiperControlledRef, disableSwipe: true, sx: { height: "100%" },
|
|
110
|
+
return ((0, jsx_runtime_1.jsx)(ChildPageLayout_1.default, { ref: childPageLayoutRef, header: (0, jsx_runtime_1.jsx)(PageHeader_1.default, { overrideBack: props.onBack, title: "Import wallet" }), children: (0, jsx_runtime_1.jsx)(DefaultPageLayout_1.default, { sx: __assign({ display: "flex", flexDirection: "column", gap: "1rem", height: "100%" }, props.sx), children: (0, jsx_runtime_1.jsx)(SwiperControlled_1.default, { ref: swiperControlledRef, disableSwipe: true, sx: { height: "100%" }, swiperStyle: {
|
|
111
|
+
flex: 1,
|
|
112
|
+
}, children: (0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
|
|
111
113
|
display: "flex",
|
|
112
114
|
flexDirection: "column",
|
|
113
115
|
alignItems: "center",
|