@stokr/components-library 2.0.3 → 2.0.4
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/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# v0.1.0 (Tue Sep 03 2019)
|
|
2
|
+
|
|
3
|
+
- Created first version of the design system, with `Avatar`, `Badge`, `Button`, `Icon` and `Link` components.
|
|
4
|
+
|
|
5
|
+
# v1.1.9
|
|
6
|
+
|
|
7
|
+
- updated footer
|
|
8
|
+
|
|
9
|
+
# v2.0.0
|
|
10
|
+
|
|
11
|
+
- BREAKING CHANGE
|
|
12
|
+
- added firebase auth flow and auth context
|
|
13
|
+
|
|
14
|
+
#### Authors: 1
|
|
15
|
+
|
|
16
|
+
- Marcel Cruz ([@marcelcruz](https://github.com/marcelscruz))
|
|
17
|
+
- Bilal Hodzic ([@bilalhodzic](https://github.com/bilalhodzic))
|
|
@@ -29,7 +29,7 @@ var Connect2FA = function Connect2FA(props) {
|
|
|
29
29
|
part: 8
|
|
30
30
|
}, /*#__PURE__*/_react.default.createElement(_Modal.ModalInner, {
|
|
31
31
|
modalTop: true
|
|
32
|
-
}, /*#__PURE__*/_react.default.createElement(_Text.default, null, /*#__PURE__*/_react.default.createElement("h3", null, "Activate log in 2FA"), /*#__PURE__*/_react.default.createElement("p", null, "1. Open your authenticator app"), /*#__PURE__*/_react.default.createElement("p", null,
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement(_Text.default, null, /*#__PURE__*/_react.default.createElement("h3", null, "Activate log in 2FA"), /*#__PURE__*/_react.default.createElement("p", null, "1. Open your authenticator app"), /*#__PURE__*/_react.default.createElement("p", null, isMobile ? '2. Copy the set up key' : '2. Scan the QR code or copy the set up key'))), /*#__PURE__*/_react.default.createElement(_Modal.ModalInner, {
|
|
33
33
|
modalBot: true
|
|
34
34
|
})), /*#__PURE__*/_react.default.createElement(_Grid.Column, {
|
|
35
35
|
part: 8
|
|
@@ -215,8 +215,12 @@ var Header = function Header(_ref3) {
|
|
|
215
215
|
if (isMobile) {
|
|
216
216
|
if (newActiveMenu) {
|
|
217
217
|
document.body.style.overflowY = 'hidden';
|
|
218
|
+
document.body.style.position = 'fixed';
|
|
219
|
+
document.documentElement.style.overflowY = 'hidden';
|
|
218
220
|
} else {
|
|
219
221
|
document.body.style.overflowY = 'unset';
|
|
222
|
+
document.body.style.position = 'relative';
|
|
223
|
+
document.documentElement.style.overflowY = 'unset';
|
|
220
224
|
}
|
|
221
225
|
}
|
|
222
226
|
if (mobile && type !== 'main') {
|
|
@@ -350,7 +350,9 @@ var AuthProviderClass = /*#__PURE__*/function (_Component) {
|
|
|
350
350
|
verifyEmailError: null,
|
|
351
351
|
userMfaEnrollment: null,
|
|
352
352
|
waitingFor2fa: false,
|
|
353
|
-
isVerifyingEmail: false
|
|
353
|
+
isVerifyingEmail: false,
|
|
354
|
+
avatar: _avatarPlaceholder.default,
|
|
355
|
+
isFetchingUser: false
|
|
354
356
|
});
|
|
355
357
|
if (redirect) {
|
|
356
358
|
window.location.href = "https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN);
|