use-frontbacked 5.1.4 → 5.1.5
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/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.es.js +9 -9
- package/dist/esm/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.es.js
CHANGED
|
@@ -2155,7 +2155,7 @@ var AuthView = function AuthView(_a) {
|
|
|
2155
2155
|
_a.isDarkMode;
|
|
2156
2156
|
var setUser = _a.setUser,
|
|
2157
2157
|
config = _a.config;
|
|
2158
|
-
var _b = useState(
|
|
2158
|
+
var _b = useState(false),
|
|
2159
2159
|
showSignIn = _b[0],
|
|
2160
2160
|
setShowSignIn = _b[1];
|
|
2161
2161
|
var handleAuthLinkClick = function handleAuthLinkClick(e) {
|
|
@@ -2192,7 +2192,7 @@ var AuthView = function AuthView(_a) {
|
|
|
2192
2192
|
w: "auto"
|
|
2193
2193
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
2194
2194
|
as: "div",
|
|
2195
|
-
fontSize: "
|
|
2195
|
+
fontSize: "1.2rem",
|
|
2196
2196
|
mb: "0.1rem !important",
|
|
2197
2197
|
textAlign: "center"
|
|
2198
2198
|
}, signInTitle), /*#__PURE__*/React.createElement(Text, {
|
|
@@ -2200,12 +2200,12 @@ var AuthView = function AuthView(_a) {
|
|
|
2200
2200
|
fontSize: "14px",
|
|
2201
2201
|
mb: "1.5rem !important",
|
|
2202
2202
|
textAlign: "center"
|
|
2203
|
-
}, "If you
|
|
2203
|
+
}, "If you have not registered, ", /*#__PURE__*/React.createElement(Link, {
|
|
2204
2204
|
color: "green.500",
|
|
2205
2205
|
textDecoration: "underline",
|
|
2206
2206
|
onClick: handleAuthLinkClick,
|
|
2207
2207
|
fontWeight: "bold"
|
|
2208
|
-
}, "Sign
|
|
2208
|
+
}, "click this link to Sign Up."))), /*#__PURE__*/React.createElement(SignInView, {
|
|
2209
2209
|
onAuthDone: onSuccess,
|
|
2210
2210
|
setUser: setUser,
|
|
2211
2211
|
config: config
|
|
@@ -2219,7 +2219,7 @@ var AuthView = function AuthView(_a) {
|
|
|
2219
2219
|
w: "auto"
|
|
2220
2220
|
}), /*#__PURE__*/React.createElement(Text, {
|
|
2221
2221
|
as: "div",
|
|
2222
|
-
fontSize: "
|
|
2222
|
+
fontSize: "1.2rem",
|
|
2223
2223
|
mb: "0.1rem !important",
|
|
2224
2224
|
textAlign: "center"
|
|
2225
2225
|
}, signUpTitle), /*#__PURE__*/React.createElement(Text, {
|
|
@@ -2232,7 +2232,7 @@ var AuthView = function AuthView(_a) {
|
|
|
2232
2232
|
textDecoration: "underline",
|
|
2233
2233
|
onClick: handleAuthLinkClick,
|
|
2234
2234
|
fontWeight: "bold"
|
|
2235
|
-
}, "Sign
|
|
2235
|
+
}, "click this link to Sign In."))), /*#__PURE__*/React.createElement(SignUpView, {
|
|
2236
2236
|
onAuthDone: onSuccess,
|
|
2237
2237
|
setUser: setUser,
|
|
2238
2238
|
config: config
|
|
@@ -2240,15 +2240,15 @@ var AuthView = function AuthView(_a) {
|
|
|
2240
2240
|
as: "div",
|
|
2241
2241
|
textAlign: "center",
|
|
2242
2242
|
fontSize: "14px"
|
|
2243
|
-
}, showSignIn ? /*#__PURE__*/React.createElement(React.Fragment, null, "
|
|
2243
|
+
}, showSignIn ? /*#__PURE__*/React.createElement(React.Fragment, null, "If you have not registered, ", /*#__PURE__*/React.createElement(Link, {
|
|
2244
2244
|
color: "green.500",
|
|
2245
2245
|
textDecoration: "underline",
|
|
2246
2246
|
onClick: handleAuthLinkClick
|
|
2247
|
-
}, "Sign
|
|
2247
|
+
}, "click this link to Sign Up.")) : /*#__PURE__*/React.createElement(React.Fragment, null, "If you already have an account, ", /*#__PURE__*/React.createElement(Link, {
|
|
2248
2248
|
color: "green.500",
|
|
2249
2249
|
textDecoration: "underline",
|
|
2250
2250
|
onClick: handleAuthLinkClick
|
|
2251
|
-
}, "
|
|
2251
|
+
}, "click this link to Sign In.")))));
|
|
2252
2252
|
};
|
|
2253
2253
|
|
|
2254
2254
|
var ModalPop = function ModalPop(_a) {
|