gatsby-core-theme 13.0.1 → 13.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [13.0.2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v13.0.1...v13.0.2) (2022-10-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added new prop in main and passed it to module component ([7298565](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7298565cacf1f62cdab951a0805d864f03c85a9f))
|
|
7
|
+
|
|
1
8
|
## [13.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v13.0.0...v13.0.1) (2022-10-24)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import Module from '~molecules/module';
|
|
|
5
5
|
import styles from './main.module.scss';
|
|
6
6
|
import keygen from '~helpers/keygen';
|
|
7
7
|
|
|
8
|
-
const Main = ({ section = {}, pageContext = {}, serverData = {} }) => {
|
|
8
|
+
const Main = ({ section = {}, pageContext = {}, serverData = {}, exclOperator = false }) => {
|
|
9
9
|
const { page } = pageContext;
|
|
10
10
|
const SearchPage = page.path === 's' ? loadable(() => import(`~pages/search`)) : null;
|
|
11
11
|
const HtmlSitemap = page.path === 'sitemap' ? loadable(() => import(`~atoms/sitemap`)) : null;
|
|
@@ -21,6 +21,7 @@ const Main = ({ section = {}, pageContext = {}, serverData = {} }) => {
|
|
|
21
21
|
<Module
|
|
22
22
|
key={keygen()}
|
|
23
23
|
module={module}
|
|
24
|
+
exclOperator={exclOperator}
|
|
24
25
|
page={page}
|
|
25
26
|
pageContext={pageContext}
|
|
26
27
|
serverData={serverData}
|
|
@@ -52,6 +53,7 @@ Main.propTypes = {
|
|
|
52
53
|
}),
|
|
53
54
|
pageContext: PropTypes.shape({}),
|
|
54
55
|
serverData: PropTypes.shape({}),
|
|
56
|
+
exclOperator: PropTypes.bool,
|
|
55
57
|
};
|
|
56
58
|
|
|
57
59
|
export default Main;
|