gatsby-matrix-theme 42.0.1 → 42.0.3

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,20 @@
1
+ ## [42.0.3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v42.0.2...v42.0.3) (2024-05-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update version ([f18f1e6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f18f1e6c02a7be3b5d925b2a5356d026f779beb4))
7
+
8
+ ## [42.0.2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v42.0.1...v42.0.2) (2024-05-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * make updated date conditional ([d21301e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d21301e9b7aa5bd209ed61270c2e85f7b7dc3201))
14
+
15
+
16
+ * Merge branch 'tm-4291-nsa-remove-published-data' into 'master' ([1b76d16](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1b76d165b3e9750899a5f49ab7bfdec0d047a87a))
17
+
1
18
  ## [42.0.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v42.0.0...v42.0.1) (2024-05-21)
2
19
 
3
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "42.0.1",
3
+ "version": "42.0.3",
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": "31.0.0",
28
+ "gatsby-core-theme": "31.0.1",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "prop-types": "15.7.2",
@@ -19,6 +19,7 @@ const TemplateOne = ({
19
19
  imgHeight = 146,
20
20
  operatorImg = true,
21
21
  extraField = null,
22
+ showUpdatedDate = true,
22
23
  showExperience = false,
23
24
  }) => {
24
25
  const { translations } = useContext(Context) || {};
@@ -61,9 +62,11 @@ const TemplateOne = ({
61
62
  <span>
62
63
  {author?.pages_count} {translate(translations, 'reviews', 'Reviews')}
63
64
  </span>
64
- <p>
65
- {translate(translations, 'updated_on', 'Updated on')} {formatDate(page.updated_at)}
66
- </p>
65
+ {showUpdatedDate && (
66
+ <p>
67
+ {translate(translations, 'updated_on', 'Updated on')} {formatDate(page.updated_at)}
68
+ </p>
69
+ )}
67
70
  {showExperience && author?.experience && (
68
71
  <div className={styles.experience}>{author?.experience}</div>
69
72
  )}
@@ -93,6 +96,7 @@ TemplateOne.propTypes = {
93
96
  imgHeight: PropTypes.string,
94
97
  extraField: PropTypes.string,
95
98
  showExperience: PropTypes.bool,
99
+ showUpdatedDate: PropTypes.bool,
96
100
  operatorImg: PropTypes.bool,
97
101
  page: PropTypes.shape({
98
102
  reviewer: PropTypes.shape({}),