gatsby-theme-q3 3.16.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.1](https://github.com/3merge/q/compare/v4.0.0...v4.0.1) (2022-11-15)
7
+
8
+ **Note:** Version bump only for package gatsby-theme-q3
9
+
10
+
11
+
12
+
13
+
14
+ # [4.0.0](https://github.com/3merge/q/compare/v3.16.5...v4.0.0) (2022-11-15)
15
+
16
+ **Note:** Version bump only for package gatsby-theme-q3
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.16.4](https://github.com/3merge/q/compare/v3.16.3...v3.16.4) (2022-11-04)
23
+
24
+ **Note:** Version bump only for package gatsby-theme-q3
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.16.0](https://github.com/3merge/q/compare/v3.15.4...v3.16.0) (2022-11-03)
7
31
 
8
32
  **Note:** Version bump only for package gatsby-theme-q3
@@ -9,26 +9,19 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
12
- var _components = require("q3-admin/lib/components");
13
-
14
12
  var _SearchEngine = _interopRequireDefault(require("./SearchEngine"));
15
13
 
16
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
15
 
18
16
  const PageWrapper = ({
19
- children,
20
- includeLoader
21
- }) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_SearchEngine.default, null), includeLoader && /*#__PURE__*/_react.default.createElement(_components.Loader, null), children);
17
+ children
18
+ }) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_SearchEngine.default, null), children);
22
19
 
23
20
  PageWrapper.defaultProps = {
24
- children: null,
25
- includeLoader: true,
26
- includeLocale: true
21
+ children: null
27
22
  };
28
23
  PageWrapper.propTypes = {
29
- children: _propTypes.default.node,
30
- includeLoader: _propTypes.default.bool,
31
- includeLocale: _propTypes.default.bool
24
+ children: _propTypes.default.node
32
25
  };
33
26
  var _default = PageWrapper;
34
27
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-theme-q3",
3
- "version": "3.16.0",
3
+ "version": "4.0.1",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -28,13 +28,13 @@
28
28
  "gatsby-plugin-robots-txt": "^1.6.14",
29
29
  "gatsby-plugin-sharp": "^4.2.0",
30
30
  "gatsby-plugin-sitemap": "^5.2.0",
31
- "gatsby-theme-q3-mui": "^3.16.0",
31
+ "gatsby-theme-q3-mui": "^4.0.1",
32
32
  "gatsby-transformer-sharp": "^4.2.0",
33
33
  "lodash": "^4.17.20",
34
34
  "process": "^0.11.10",
35
35
  "prop-types": "^15.7.2",
36
- "q3-ui-helpers": "^3.16.0",
37
- "q3-ui-locale": "^3.16.0",
36
+ "q3-ui-helpers": "^4.0.1",
37
+ "q3-ui-locale": "^4.0.1",
38
38
  "query-string": "^7.0.1",
39
39
  "react-helmet": "^6.1.0",
40
40
  "react-share": "^4.3.1",
@@ -42,5 +42,5 @@
42
42
  "transform-loader": "^0.2.4",
43
43
  "yarn": "^1.22.17"
44
44
  },
45
- "gitHead": "9f362162f815e84e2c62d19ff275ef7b3fcbb4d2"
45
+ "gitHead": "cdb32413079d764f2a34e7fcf33fef9509563124"
46
46
  }
@@ -1,26 +1,20 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Loader } from 'q3-admin/lib/components';
4
3
  import SearchEngine from './SearchEngine';
5
4
 
6
- const PageWrapper = ({ children, includeLoader }) => (
5
+ const PageWrapper = ({ children }) => (
7
6
  <>
8
7
  <SearchEngine />
9
- {includeLoader && <Loader />}
10
8
  {children}
11
9
  </>
12
10
  );
13
11
 
14
12
  PageWrapper.defaultProps = {
15
13
  children: null,
16
- includeLoader: true,
17
- includeLocale: true,
18
14
  };
19
15
 
20
16
  PageWrapper.propTypes = {
21
17
  children: PropTypes.node,
22
- includeLoader: PropTypes.bool,
23
- includeLocale: PropTypes.bool,
24
18
  };
25
19
 
26
20
  export default PageWrapper;