gatsby-core-theme 30.0.88 → 30.0.90
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 +20 -0
- package/package.json +1 -1
- package/src/components/molecules/content/lists/lists.module.scss +2 -0
- package/src/components/molecules/footer/index.js +1 -0
- package/src/components/molecules/footer/variants/template-one/index.js +5 -1
- package/src/components/molecules/footer/variants/template-three/index.js +5 -1
- package/src/components/molecules/footer/variants/template-two/index.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## [30.0.90](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.89...v30.0.90) (2024-03-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* removed list-style from bullets ([a65a707](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/a65a707107cfacdbb19bfae8431c2bcf6fbe4b0a))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'tm-1222-repeated-bullets' into 'master' ([20d3de5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/20d3de51ab950ed21e2843bc3bb998e4820cc812))
|
|
10
|
+
|
|
11
|
+
## [30.0.89](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.88...v30.0.89) (2024-03-01)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* added translatable copyright text ([6b7b8e6](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/6b7b8e6f2aa607530a4767f70e9af4607ba0a473))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* Merge branch 'tm-4123-copyright-text' into 'master' ([035591a](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/035591a518f9761b8c2d196f519b6fe12f3a415d))
|
|
20
|
+
|
|
1
21
|
## [30.0.88](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.87...v30.0.88) (2024-02-27)
|
|
2
22
|
|
|
3
23
|
|
package/package.json
CHANGED
|
@@ -76,6 +76,7 @@ const Footer = (props) => {
|
|
|
76
76
|
securityIcon: '../../../images/security.svg',
|
|
77
77
|
helpText,
|
|
78
78
|
phoneNum: getExtraField(props.section?.extra_fields, 'helpline') || null,
|
|
79
|
+
copyrightCustomText: getExtraField(props.section?.extra_fields, 'copyright_text') || null,
|
|
79
80
|
};
|
|
80
81
|
|
|
81
82
|
return footerContent(props);
|
|
@@ -27,6 +27,7 @@ const TemplateOne = ({
|
|
|
27
27
|
dmcaWidth,
|
|
28
28
|
dmcaHeight,
|
|
29
29
|
securityIcon,
|
|
30
|
+
copyrightCustomText,
|
|
30
31
|
}) => {
|
|
31
32
|
const AsSeenOn = asSeenOn ? loadable(() => import('../../../../atoms/footer/as-seen-on')) : null;
|
|
32
33
|
|
|
@@ -71,7 +72,9 @@ const TemplateOne = ({
|
|
|
71
72
|
dangerouslySetInnerHTML={{ __html: copyrightDisclaimer }}
|
|
72
73
|
/>
|
|
73
74
|
)}
|
|
74
|
-
{showCopyright &&
|
|
75
|
+
{showCopyright && (
|
|
76
|
+
<p className={styles?.copyrightText || ''}>{copyrightCustomText || copyrightText()}</p>
|
|
77
|
+
)}
|
|
75
78
|
|
|
76
79
|
{(footerLogos || hasDisclaimer) && (
|
|
77
80
|
<div className={styles?.logos || ''}>
|
|
@@ -123,4 +126,5 @@ TemplateOne.propTypes = {
|
|
|
123
126
|
dmcaWidth: PropTypes.number,
|
|
124
127
|
dmcaHeight: PropTypes.number,
|
|
125
128
|
securityIcon: PropTypes.string,
|
|
129
|
+
copyrightCustomText: PropTypes.string,
|
|
126
130
|
};
|
|
@@ -28,6 +28,7 @@ const TemplateThree = ({
|
|
|
28
28
|
dmcaWidth,
|
|
29
29
|
dmcaHeight,
|
|
30
30
|
securityIcon,
|
|
31
|
+
copyrightCustomText,
|
|
31
32
|
}) => {
|
|
32
33
|
const AsSeenOn = asSeenOn ? loadable(() => import('../../../../atoms/footer/as-seen-on')) : null;
|
|
33
34
|
|
|
@@ -77,7 +78,9 @@ const TemplateThree = ({
|
|
|
77
78
|
dangerouslySetInnerHTML={{ __html: copyrightDisclaimer }}
|
|
78
79
|
/>
|
|
79
80
|
)}
|
|
80
|
-
{showCopyright &&
|
|
81
|
+
{showCopyright && (
|
|
82
|
+
<p className={styles.copyrightText}>{copyrightCustomText || copyrightText()}</p>
|
|
83
|
+
)}
|
|
81
84
|
|
|
82
85
|
{(footerLogos || hasDisclaimer) && (
|
|
83
86
|
<div className={styles?.logos || ''}>
|
|
@@ -130,5 +133,6 @@ TemplateThree.propTypes = {
|
|
|
130
133
|
dmcaWidth: PropTypes.number,
|
|
131
134
|
dmcaHeight: PropTypes.number,
|
|
132
135
|
securityIcon: PropTypes.string,
|
|
136
|
+
copyrightCustomText: PropTypes.string,
|
|
133
137
|
footerMenuLimit: PropTypes.number,
|
|
134
138
|
};
|
|
@@ -27,6 +27,7 @@ const TemplateTwo = ({
|
|
|
27
27
|
dmcaWidth,
|
|
28
28
|
dmcaHeight,
|
|
29
29
|
securityIcon,
|
|
30
|
+
copyrightCustomText,
|
|
30
31
|
}) => {
|
|
31
32
|
if (footerMenu !== null && footerMenu.children.length) {
|
|
32
33
|
footerMenu.children.splice(footerMenuLimit);
|
|
@@ -74,7 +75,9 @@ const TemplateTwo = ({
|
|
|
74
75
|
dangerouslySetInnerHTML={{ __html: copyrightDisclaimer }}
|
|
75
76
|
/>
|
|
76
77
|
)}
|
|
77
|
-
{showCopyright &&
|
|
78
|
+
{showCopyright && (
|
|
79
|
+
<p className={styles?.copyrightText || ''}>{copyrightCustomText || copyrightText()}</p>
|
|
80
|
+
)}
|
|
78
81
|
|
|
79
82
|
{(footerLogos || hasDisclaimer) && (
|
|
80
83
|
<div className={styles.logos}>
|
|
@@ -127,5 +130,6 @@ TemplateTwo.propTypes = {
|
|
|
127
130
|
dmcaWidth: PropTypes.number,
|
|
128
131
|
dmcaHeight: PropTypes.number,
|
|
129
132
|
securityIcon: PropTypes.string,
|
|
133
|
+
copyrightCustomText: PropTypes.string,
|
|
130
134
|
footerMenuLimit: PropTypes.number,
|
|
131
135
|
};
|