@swype-org/react-sdk 0.1.109 → 0.1.110
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/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2207,7 +2207,7 @@ var containerStyle = {
|
|
|
2207
2207
|
display: "flex",
|
|
2208
2208
|
alignItems: "center",
|
|
2209
2209
|
justifyContent: "center",
|
|
2210
|
-
|
|
2210
|
+
height: "100%",
|
|
2211
2211
|
flex: 1,
|
|
2212
2212
|
background: "transparent"
|
|
2213
2213
|
};
|
|
@@ -2249,7 +2249,7 @@ function ScreenLayout({ children, footer }) {
|
|
|
2249
2249
|
var containerStyle2 = (bg) => ({
|
|
2250
2250
|
display: "flex",
|
|
2251
2251
|
flexDirection: "column",
|
|
2252
|
-
|
|
2252
|
+
height: "100%",
|
|
2253
2253
|
maxWidth: 420,
|
|
2254
2254
|
width: "100%",
|
|
2255
2255
|
margin: "0 auto",
|
|
@@ -5221,7 +5221,10 @@ function StepRenderer({
|
|
|
5221
5221
|
if (!ready) {
|
|
5222
5222
|
return /* @__PURE__ */ jsxRuntime.jsx(SwypeLoadingScreen, {});
|
|
5223
5223
|
}
|
|
5224
|
-
if (step === "login"
|
|
5224
|
+
if (step === "login") {
|
|
5225
|
+
if (authenticated) {
|
|
5226
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SwypeLoadingScreen, {});
|
|
5227
|
+
}
|
|
5225
5228
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5226
5229
|
LoginScreen,
|
|
5227
5230
|
{
|