gatsby-matrix-theme 52.0.76 → 52.0.78

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,21 @@
1
+ ## [52.0.78](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.77...v52.0.78) (2025-02-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update operator cards template one to not show tnc conditionally ([575752e](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/575752e0b988a1bb51003ddae5ed8995e0bcf495))
7
+ * update operator cards template one to not show tnc conditionally ([91e9786](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/91e978647e66261d29321da5ff97ba62bcd409bf))
8
+
9
+
10
+ * Merge branch 'update-translate' into 'master' ([e744aed](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/e744aedea11b94e4e31d6ba00378841f7746cf09))
11
+
12
+ ## [52.0.77](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.76...v52.0.77) (2025-02-21)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * update version ([7f4bb70](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/7f4bb70026f012a2c1a3c90b53825dea03631058))
18
+
1
19
  ## [52.0.76](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.75...v52.0.76) (2025-02-21)
2
20
 
3
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.76",
3
+ "version": "52.0.78",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@react-icons/all-files": "^4.1.0",
27
27
  "gatsby": "^5.11.0",
28
- "gatsby-core-theme": "42.0.16",
28
+ "gatsby-core-theme": "42.0.17",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -14,7 +14,7 @@ import Verify from '~images/icons/verify';
14
14
  import OperatorDetails from '../../../../molecules/operator-details';
15
15
  import styles from './template-one.module.scss';
16
16
  import Bonus from '~molecules/bonus-box/template-one';
17
- import { TrackingKeys } from '~constants/tracking-api'
17
+ import { TrackingKeys } from '~constants/tracking-api';
18
18
  import VariableComponent from '../variables';
19
19
 
20
20
  const TemplateOne = ({
@@ -40,7 +40,8 @@ const TemplateOne = ({
40
40
  BonusTemplate = Bonus,
41
41
  modulePosition,
42
42
  itemPosition,
43
- ctaIcon = <FaArrowRight title="Right-pointing Arrow Icon" />
43
+ ctaIcon = <FaArrowRight title="Right-pointing Arrow Icon" />,
44
+ hideTnc = false
44
45
  }) => {
45
46
  const ribbons = item?.relation?.ribbons || [];
46
47
  const { relation, path } = item;
@@ -176,7 +177,7 @@ const TemplateOne = ({
176
177
  </ul>
177
178
  )}
178
179
  </div>
179
- <Tnc operator={item?.relation} isFixed />
180
+ {!hideTnc && <Tnc operator={item?.relation} isFixed />}
180
181
  </div>
181
182
  </div>
182
183
  );
@@ -213,6 +214,7 @@ TemplateOne.propTypes = {
213
214
  sellingPointsIcon: PropTypes.element,
214
215
  verifyIcon: PropTypes.element,
215
216
  ctaIcon: PropTypes.element,
217
+ hideTnc: PropTypes.bool,
216
218
  showRibbon: PropTypes.bool,
217
219
  useOneStarRating: PropTypes.bool,
218
220
  showRatingLabel: PropTypes.bool,