tek-wallet 0.0.59 → 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,13 +198,13 @@ 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%",
201
+ height: "100dvh",
202
+ width: "100vw",
203
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
204
  display: "flex",
205
205
  flexDirection: "column",
206
206
  justifyContent: "center",
207
- hFull: "100%",
207
+ height: "100%",
208
208
  gap: "1rem",
209
209
  }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
210
210
  color: "text.white",
@@ -218,9 +218,9 @@ var ImportWalletView = function (props) {
218
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: {
219
219
  display: "flex",
220
220
  flexDirection: "column",
221
- itemsCenter: "center",
221
+ alignItems: "center",
222
222
  justifyContent: "center",
223
- hFull: "100%",
223
+ height: "100%",
224
224
  gap: "1rem",
225
225
  }, children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: {
226
226
  color: "text.white",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.59",
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",