gatsby-theme-q3 3.16.0 → 3.16.4
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,14 @@
|
|
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
|
+
## [3.16.4](https://github.com/3merge/q/compare/v3.16.3...v3.16.4) (2022-11-04)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package gatsby-theme-q3
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
6
14
|
# [3.16.0](https://github.com/3merge/q/compare/v3.15.4...v3.16.0) (2022-11-03)
|
7
15
|
|
8
16
|
**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
|
-
|
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.
|
3
|
+
"version": "3.16.4",
|
4
4
|
"main": "index.js",
|
5
5
|
"license": "MIT",
|
6
6
|
"peerDependencies": {
|
@@ -28,7 +28,7 @@
|
|
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.
|
31
|
+
"gatsby-theme-q3-mui": "^3.16.4",
|
32
32
|
"gatsby-transformer-sharp": "^4.2.0",
|
33
33
|
"lodash": "^4.17.20",
|
34
34
|
"process": "^0.11.10",
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"transform-loader": "^0.2.4",
|
43
43
|
"yarn": "^1.22.17"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "d183a2b7970a96f16d3af031a280e83d8a713c3b"
|
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
|
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;
|