tek-wallet 0.0.58 → 0.0.60

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.
@@ -5,7 +5,8 @@ var jsx_runtime_1 = require("react/jsx-runtime");
5
5
  var system_1 = require("@mui/system");
6
6
  var StyledDefaultPageLayout = (0, system_1.styled)("div")(function () { return ({
7
7
  padding: "1rem",
8
- minHeight: "100",
8
+ minHeight: "100dvh",
9
+ minWidth: "100vw",
9
10
  }); });
10
11
  var DefaultPageLayout = function (props) {
11
12
  return ((0, jsx_runtime_1.jsx)(StyledDefaultPageLayout, { sx: props.sx, children: props.children }));
@@ -198,9 +198,15 @@ var ImportWalletView = function (props) {
198
198
  });
199
199
  }); };
200
200
  return ((0, jsx_runtime_1.jsx)(TheBackground_1.default, { sx: {
201
- height: "100%",
202
- width: "100%",
203
- }, children: (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, children: [(0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center justify-center h-full gap-6", children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
201
+ height: "100dvh",
202
+ width: "100vw",
203
+ }, children: (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, children: [(0, jsx_runtime_1.jsx)(react_1.SwiperSlide, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: {
204
+ display: "flex",
205
+ flexDirection: "column",
206
+ justifyContent: "center",
207
+ height: "100%",
208
+ gap: "1rem",
209
+ }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
204
210
  color: "text.white",
205
211
  fontWeight: "600",
206
212
  fontSize: "16px",
@@ -212,9 +218,9 @@ var ImportWalletView = function (props) {
212
218
  }, 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: {
213
219
  display: "flex",
214
220
  flexDirection: "column",
215
- itemsCenter: "center",
221
+ alignItems: "center",
216
222
  justifyContent: "center",
217
- hFull: "100%",
223
+ height: "100%",
218
224
  gap: "1rem",
219
225
  }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
220
226
  color: "text.white",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",