gatsby-matrix-theme 13.0.12 → 13.0.13

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,19 @@
1
+ ## [13.0.13](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.12...v13.0.13) (2023-03-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add extraprop on module molecule component ([1bfc06a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1bfc06ae104c7b30a1e199fbdd2dc4a8094453e6))
7
+ * resolve conflicts ([10c9101](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/10c9101eb8b193f214027406a0f36c235b97ff2b))
8
+ * update author date data ([83bbf5d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/83bbf5d6c4cd03f016bbc894273b439fe90147dd))
9
+ * update author date data ([c2642e0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c2642e0a4980864cc20fdc6e475a6f3e2bd69497))
10
+ * update core version ([2e8b516](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2e8b51672d3293d06f643e587696483ce0b0bb0d))
11
+ * update date props ([cecd8f2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/cecd8f2541009bec27c3c624d4d2d81bd97842db))
12
+ * update main ([9c293db](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9c293dbb6b134e5f78b7ea6c41017359b931d852))
13
+
14
+
15
+ * Merge branch 'tm-3307-enable-manual-publushed/updated-date' into 'master' ([6c8b847](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6c8b8470a97e55e5c7e5038460edd9705915bf05))
16
+
1
17
  ## [13.0.12](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.11...v13.0.12) (2023-02-28)
2
18
 
3
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "13.0.12",
3
+ "version": "13.0.13",
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": "^4.20.0",
28
- "gatsby-core-theme": "18.0.18",
28
+ "gatsby-core-theme": "18.0.19",
29
29
  "gatsby-plugin-sharp": "^4.10.2",
30
30
  "gatsby-plugin-sitemap": "^3.3.0",
31
31
  "gatsby-transformer-sharp": "^4.10.0",
@@ -50,6 +50,10 @@ const Main = ({ section = {}, pageContext = {}, showAuthor = true, exclOperator
50
50
  page?.sections?.main?.feedbackCounter &&
51
51
  loadable(() => import(`../../../../components/atoms/feedback`));
52
52
 
53
+ const date =
54
+ page.manual_updated_date || page.manual_published_date
55
+ ? page.manual_updated_date || page.manual_published_date
56
+ : '';
53
57
  return (
54
58
  <main className={styles.modulePage}>
55
59
  {NotFound && <NotFound />}
@@ -57,7 +61,7 @@ const Main = ({ section = {}, pageContext = {}, showAuthor = true, exclOperator
57
61
  {Author && (
58
62
  <Author
59
63
  name={page.author?.name}
60
- date={page.updated_at ? page.updated_at : page.created_at}
64
+ date={date}
61
65
  type={page?.template}
62
66
  // authorImg={page?.author?.image}
63
67
  readingTime={page.reading_time}
@@ -83,7 +87,7 @@ const Main = ({ section = {}, pageContext = {}, showAuthor = true, exclOperator
83
87
  <AuthorBox
84
88
  author={page.author}
85
89
  page={page}
86
- date={page.updated_at ? page.updated_at : page.created_at}
90
+ date={date}
87
91
  readingTime={page.reading_time}
88
92
  reviewer={page.reviewer_id && page?.reviewer}
89
93
  />