gatsby-theme-q3 2.3.0 → 2.3.6

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
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
+ ## [2.3.6](https://github.com/3merge/q/compare/v2.3.5...v2.3.6) (2021-12-16)
7
+
8
+ **Note:** Version bump only for package gatsby-theme-q3
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.3.4](https://github.com/3merge/q/compare/v2.3.3...v2.3.4) (2021-12-10)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * notistack ([4e40fa1](https://github.com/3merge/q/commit/4e40fa10a8c05ad07978b0f9dfcdb9317f67e712))
20
+
21
+
22
+
23
+
24
+
25
+ ## [2.3.2](https://github.com/3merge/q/compare/v2.3.1...v2.3.2) (2021-12-09)
26
+
27
+ **Note:** Version bump only for package gatsby-theme-q3
28
+
29
+
30
+
31
+
32
+
33
+ ## [2.3.1](https://github.com/3merge/q/compare/v2.3.0...v2.3.1) (2021-12-09)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * forward all config ([c4c512d](https://github.com/3merge/q/commit/c4c512da530866327940d56dba3976764cf53293))
39
+
40
+
41
+
42
+
43
+
6
44
  # [2.3.0](https://github.com/3merge/q/compare/v2.2.2...v2.3.0) (2021-12-09)
7
45
 
8
46
 
package/gatsby-config.js CHANGED
@@ -12,14 +12,12 @@ module.exports = ({
12
12
  brandingColor,
13
13
  icon,
14
14
  netlify,
15
- theme,
15
+ ...options
16
16
  }) => {
17
17
  const plugins = [
18
18
  {
19
19
  resolve: 'gatsby-theme-q3-mui',
20
- options: {
21
- theme,
22
- },
20
+ options,
23
21
  },
24
22
  'gatsby-plugin-material-ui',
25
23
  'gatsby-plugin-force-trailing-slashes',
package/gatsby-node.js CHANGED
@@ -3,7 +3,17 @@ exports.onCreateWebpackConfig = ({
3
3
  stage,
4
4
  plugins,
5
5
  }) => {
6
- const config = {
6
+ if (stage === 'build-javascript' || stage === 'develop')
7
+ actions.setWebpackConfig({
8
+ plugins: [
9
+ plugins.provide({
10
+ Buffer: ['buffer/', 'Buffer'],
11
+ process: 'process/browser',
12
+ }),
13
+ ],
14
+ });
15
+
16
+ actions.setWebpackConfig({
7
17
  resolve: {
8
18
  fallback: {
9
19
  util: false,
@@ -11,16 +21,7 @@ exports.onCreateWebpackConfig = ({
11
21
  path: false,
12
22
  },
13
23
  },
14
- };
15
-
16
- if (stage === 'build-javascript' || stage === 'develop')
17
- config.plugins = [
18
- plugins.provide({
19
- process: 'process/browser',
20
- }),
21
- ];
22
-
23
- actions.setWebpackConfig(config);
24
+ });
24
25
  };
25
26
 
26
27
  exports.onCreateBabelConfig = function onCreateBabelConfig({
@@ -11,8 +11,6 @@ var _axios = _interopRequireDefault(require("axios"));
11
11
 
12
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
 
14
- var _q3UiForms = _interopRequireDefault(require("q3-ui-forms"));
15
-
16
14
  var _q3UiPermissions = _interopRequireDefault(require("q3-ui-permissions"));
17
15
 
18
16
  var _LocaleBundles = _interopRequireDefault(require("./LocaleBundles"));
@@ -33,9 +31,7 @@ const Wrapper = ({
33
31
  setBaseUrlForRest(baseURL);
34
32
  return /*#__PURE__*/_react.default.createElement(_LocaleBundles.default, {
35
33
  locale: locale
36
- }, /*#__PURE__*/_react.default.createElement(_q3UiPermissions.default, null, /*#__PURE__*/_react.default.createElement(_q3UiForms.default, {
37
- preventDuplicate: true
38
- }, children)));
34
+ }, /*#__PURE__*/_react.default.createElement(_q3UiPermissions.default, null, children));
39
35
  };
40
36
 
41
37
  Wrapper.defaultProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-theme-q3",
3
- "version": "2.3.0",
3
+ "version": "2.3.6",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -19,6 +19,7 @@
19
19
  "@contentful/rich-text-react-renderer": "^15.6.2",
20
20
  "@contentful/rich-text-types": "^15.7.0",
21
21
  "add": "^2.0.6",
22
+ "buffer": "^6.0.3",
22
23
  "gatsby-image": "^3.11.0",
23
24
  "gatsby-plugin-canonical-urls": "^4.2.0",
24
25
  "gatsby-plugin-force-trailing-slashes": "^1.0.5",
@@ -29,17 +30,17 @@
29
30
  "gatsby-plugin-sharp": "^4.2.0",
30
31
  "gatsby-plugin-sitemap": "^5.2.0",
31
32
  "gatsby-source-contentful": "^7.0.0",
32
- "gatsby-theme-q3-mui": "^2.3.0",
33
+ "gatsby-theme-q3-mui": "^2.3.6",
33
34
  "gatsby-transformer-sharp": "^4.2.0",
34
35
  "lodash": "^4.17.20",
35
36
  "process": "^0.11.10",
36
37
  "prop-types": "^15.7.2",
37
- "q3-ui-locale": "^2.2.2",
38
+ "q3-ui-locale": "^2.3.2",
38
39
  "query-string": "^7.0.1",
39
40
  "react-share": "^4.3.1",
40
41
  "slugify": "^1.6.3",
41
42
  "transform-loader": "^0.2.4",
42
43
  "yarn": "^1.22.17"
43
44
  },
44
- "gitHead": "4faefb196bc5f15db568e7ca0df98e7f108e4c25"
45
+ "gitHead": "11349608dcc4da10f9e2875be6ae23823b8c6d4d"
45
46
  }
@@ -2,7 +2,6 @@
2
2
  import React from 'react';
3
3
  import axios from 'axios';
4
4
  import PropTypes from 'prop-types';
5
- import FormProviders from 'q3-ui-forms';
6
5
  import AuthProvider from 'q3-ui-permissions';
7
6
  import LocaleBundles from './LocaleBundles';
8
7
 
@@ -19,11 +18,7 @@ const Wrapper = ({ baseURL, children, locale }) => {
19
18
 
20
19
  return (
21
20
  <LocaleBundles locale={locale}>
22
- <AuthProvider>
23
- <FormProviders preventDuplicate>
24
- {children}
25
- </FormProviders>
26
- </AuthProvider>
21
+ <AuthProvider>{children}</AuthProvider>
27
22
  </LocaleBundles>
28
23
  );
29
24
  };