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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "30.0.88",
3
+ "version": "30.0.90",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -52,11 +52,13 @@
52
52
  ol {
53
53
  list-style-type: decimal;
54
54
  padding: 0 1.6rem 1.6rem 5.2rem;
55
+ list-style: none;
55
56
 
56
57
  li {
57
58
  counter-increment: li;
58
59
  display: list-item;
59
60
  position: relative;
61
+ list-style: none;
60
62
  }
61
63
 
62
64
  ::marker {
@@ -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 && <p className={styles?.copyrightText || ''}>{copyrightText()}</p>}
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 && <p className={styles.copyrightText}>{copyrightText()}</p>}
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 && <p className={styles?.copyrightText || ''}>{copyrightText()}</p>}
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
  };