gatsby-theme-q3 2.3.11 → 2.3.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/CHANGELOG.md +121 -112
  2. package/gatsby-ssr.js +1 -1
  3. package/lib/components/AccountPublicGateway.js +0 -7
  4. package/lib/components/AdminLoader.js +0 -6
  5. package/lib/components/AdminPrivateGateway.js +1 -10
  6. package/lib/components/AdminPublicGateway.js +1 -10
  7. package/lib/components/AdminRouter.js +1 -11
  8. package/lib/components/BlogArchiveTemplate.js +0 -12
  9. package/lib/components/BlogTemplate.js +0 -22
  10. package/lib/components/FormBox.js +0 -6
  11. package/lib/components/FormBoxContent.js +0 -7
  12. package/lib/components/FormBoxNotice.js +0 -7
  13. package/lib/components/IsBrowserReady.js +0 -6
  14. package/lib/components/LocaleBundles.js +0 -6
  15. package/lib/components/PageWrapper.js +0 -9
  16. package/lib/components/PublicTemplate.js +0 -8
  17. package/lib/components/Redirect.js +0 -6
  18. package/lib/components/RedirectToIndex.js +0 -6
  19. package/lib/components/RichText.js +0 -26
  20. package/lib/components/SearchEngine.js +0 -7
  21. package/lib/components/ShareButton.js +0 -16
  22. package/lib/components/Wrapper.js +1 -9
  23. package/lib/components/__tests__/withAuthenticate.test.js +0 -11
  24. package/lib/components/__tests__/withSuccessOp.test.js +0 -7
  25. package/lib/components/index.js +0 -16
  26. package/lib/components/useLocale.js +0 -9
  27. package/lib/components/useSiteMetaData.js +0 -4
  28. package/lib/components/utils.js +0 -11
  29. package/lib/components/withAuthenticate.js +1 -10
  30. package/lib/components/withSuccessOp.js +1 -13
  31. package/lib/pages/404.js +0 -9
  32. package/lib/pages/login.js +0 -14
  33. package/lib/pages/password-change.js +0 -16
  34. package/lib/pages/password-reset.js +0 -12
  35. package/lib/pages/reverify.js +0 -14
  36. package/lib/pages/verify.js +0 -14
  37. package/package.json +2 -2
@@ -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;
@@ -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,
@@ -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.11",
3
+ "version": "2.3.18",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -42,5 +42,5 @@
42
42
  "transform-loader": "^0.2.4",
43
43
  "yarn": "^1.22.17"
44
44
  },
45
- "gitHead": "1dc09100064d11092fd2e0cb1d651ea60ee71ed9"
45
+ "gitHead": "1ccf6e5fd26eed831c628ad9cfea87111008a96c"
46
46
  }