gatsby-theme-q3 2.3.10 → 2.3.18
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +121 -104
- package/gatsby-ssr.js +1 -1
- package/lib/components/AccountPublicGateway.js +0 -7
- package/lib/components/AdminLoader.js +0 -6
- package/lib/components/AdminPrivateGateway.js +1 -10
- package/lib/components/AdminPublicGateway.js +1 -10
- package/lib/components/AdminRouter.js +1 -11
- package/lib/components/BlogArchiveTemplate.js +0 -12
- package/lib/components/BlogTemplate.js +0 -22
- package/lib/components/FormBox.js +0 -6
- package/lib/components/FormBoxContent.js +0 -7
- package/lib/components/FormBoxNotice.js +0 -7
- package/lib/components/IsBrowserReady.js +0 -6
- package/lib/components/LocaleBundles.js +0 -6
- package/lib/components/PageWrapper.js +0 -9
- package/lib/components/PublicTemplate.js +0 -8
- package/lib/components/Redirect.js +0 -6
- package/lib/components/RedirectToIndex.js +0 -6
- package/lib/components/RichText.js +0 -26
- package/lib/components/SearchEngine.js +0 -7
- package/lib/components/ShareButton.js +0 -16
- package/lib/components/Wrapper.js +1 -9
- package/lib/components/__tests__/withAuthenticate.test.js +0 -11
- package/lib/components/__tests__/withSuccessOp.test.js +0 -7
- package/lib/components/index.js +0 -16
- package/lib/components/useLocale.js +0 -9
- package/lib/components/useSiteMetaData.js +0 -4
- package/lib/components/utils.js +0 -11
- package/lib/components/withAuthenticate.js +1 -10
- package/lib/components/withSuccessOp.js +1 -13
- package/lib/pages/404.js +0 -9
- package/lib/pages/login.js +0 -14
- package/lib/pages/password-change.js +0 -16
- package/lib/pages/password-reset.js +0 -12
- package/lib/pages/reverify.js +0 -14
- package/lib/pages/verify.js +0 -14
- package/package.json +4 -4
@@ -4,23 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.default = void 0;
|
7
|
-
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
9
|
-
|
10
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
11
|
-
|
12
9
|
var _axios = _interopRequireDefault(require("axios"));
|
13
|
-
|
14
10
|
var _builders = require("q3-ui-forms/lib/builders");
|
15
|
-
|
16
11
|
var _FormBox = _interopRequireDefault(require("../components/FormBox"));
|
17
|
-
|
18
12
|
var _FormBoxContent = _interopRequireDefault(require("../components/FormBoxContent"));
|
19
|
-
|
20
13
|
var _withSuccessOp = _interopRequireDefault(require("../components/withSuccessOp"));
|
21
|
-
|
22
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
23
|
-
|
24
15
|
const PasswordReset = ({
|
25
16
|
onSuccess
|
26
17
|
}) => /*#__PURE__*/_react.default.createElement(_FormBox.default, {
|
@@ -39,11 +30,8 @@ const PasswordReset = ({
|
|
39
30
|
description: "passwordReset"
|
40
31
|
})
|
41
32
|
});
|
42
|
-
|
43
33
|
PasswordReset.propTypes = {
|
44
34
|
onSuccess: _propTypes.default.func.isRequired
|
45
35
|
};
|
46
|
-
|
47
36
|
var _default = (0, _withSuccessOp.default)(PasswordReset, 'passwordResetNotice');
|
48
|
-
|
49
37
|
exports.default = _default;
|
package/lib/pages/reverify.js
CHANGED
@@ -4,31 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.default = void 0;
|
7
|
-
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
9
|
-
|
10
8
|
var _q3UiLocale = require("q3-ui-locale");
|
11
|
-
|
12
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
13
|
-
|
14
10
|
var _gatsby = require("gatsby");
|
15
|
-
|
16
11
|
var _axios = _interopRequireDefault(require("axios"));
|
17
|
-
|
18
12
|
var _builders = require("q3-ui-forms/lib/builders");
|
19
|
-
|
20
13
|
var _Button = _interopRequireDefault(require("@material-ui/core/Button"));
|
21
|
-
|
22
14
|
var _FormBox = _interopRequireDefault(require("../components/FormBox"));
|
23
|
-
|
24
15
|
var _FormBoxContent = _interopRequireDefault(require("../components/FormBoxContent"));
|
25
|
-
|
26
16
|
var _FormBoxNotice = _interopRequireDefault(require("../components/FormBoxNotice"));
|
27
|
-
|
28
17
|
var _utils = require("../components/utils");
|
29
|
-
|
30
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
31
|
-
|
32
19
|
const Reverify = ({
|
33
20
|
location: {
|
34
21
|
search,
|
@@ -64,7 +51,6 @@ const Reverify = ({
|
|
64
51
|
})
|
65
52
|
});
|
66
53
|
};
|
67
|
-
|
68
54
|
Reverify.propTypes = {
|
69
55
|
location: _propTypes.default.shape({
|
70
56
|
search: _propTypes.default.string,
|
package/lib/pages/verify.js
CHANGED
@@ -4,29 +4,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.default = void 0;
|
7
|
-
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
9
|
-
|
10
8
|
var _queryString = _interopRequireDefault(require("query-string"));
|
11
|
-
|
12
9
|
var _router = require("@reach/router");
|
13
|
-
|
14
10
|
var _lodash = require("lodash");
|
15
|
-
|
16
11
|
var _axios = _interopRequireDefault(require("axios"));
|
17
|
-
|
18
12
|
var _presets = require("q3-ui-forms/lib/presets");
|
19
|
-
|
20
13
|
var _builders = require("q3-ui-forms/lib/builders");
|
21
|
-
|
22
14
|
var _FormBoxContent = _interopRequireDefault(require("../components/FormBoxContent"));
|
23
|
-
|
24
15
|
var _FormBox = _interopRequireDefault(require("../components/FormBox"));
|
25
|
-
|
26
16
|
var _withAuthenticate = _interopRequireDefault(require("../components/withAuthenticate"));
|
27
|
-
|
28
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
29
|
-
|
30
18
|
var _default = (0, _withAuthenticate.default)(({
|
31
19
|
authenticate,
|
32
20
|
...props
|
@@ -38,7 +26,6 @@ var _default = (0, _withAuthenticate.default)(({
|
|
38
26
|
} = _queryString.default.parse((0, _lodash.get)(props, 'location.search', ''), {
|
39
27
|
decode: false
|
40
28
|
});
|
41
|
-
|
42
29
|
return /*#__PURE__*/_react.default.createElement(_FormBox.default, {
|
43
30
|
renderBottom: /*#__PURE__*/_react.default.createElement(_builders.Form, {
|
44
31
|
onSubmit: passwords => _axios.default.post('/verify', passwords).then(() => {
|
@@ -71,5 +58,4 @@ var _default = (0, _withAuthenticate.default)(({
|
|
71
58
|
})
|
72
59
|
});
|
73
60
|
});
|
74
|
-
|
75
61
|
exports.default = _default;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-theme-q3",
|
3
|
-
"version": "2.3.
|
3
|
+
"version": "2.3.18",
|
4
4
|
"main": "index.js",
|
5
5
|
"license": "MIT",
|
6
6
|
"peerDependencies": {
|
@@ -30,17 +30,17 @@
|
|
30
30
|
"gatsby-plugin-sharp": "^4.2.0",
|
31
31
|
"gatsby-plugin-sitemap": "^5.2.0",
|
32
32
|
"gatsby-source-contentful": "^7.0.0",
|
33
|
-
"gatsby-theme-q3-mui": "^2.3.
|
33
|
+
"gatsby-theme-q3-mui": "^2.3.11",
|
34
34
|
"gatsby-transformer-sharp": "^4.2.0",
|
35
35
|
"lodash": "^4.17.20",
|
36
36
|
"process": "^0.11.10",
|
37
37
|
"prop-types": "^15.7.2",
|
38
|
-
"q3-ui-locale": "^2.3.
|
38
|
+
"q3-ui-locale": "^2.3.11",
|
39
39
|
"query-string": "^7.0.1",
|
40
40
|
"react-share": "^4.3.1",
|
41
41
|
"slugify": "^1.6.3",
|
42
42
|
"transform-loader": "^0.2.4",
|
43
43
|
"yarn": "^1.22.17"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "1ccf6e5fd26eed831c628ad9cfea87111008a96c"
|
46
46
|
}
|