gatsby-matrix-theme 13.0.11 → 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,34 @@
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
+
17
+ ## [13.0.12](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.11...v13.0.12) (2023-02-28)
18
+
19
+
20
+ ### Code Refactoring
21
+
22
+ * update review link usage with page name and operator name ([12ce0b4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/12ce0b47c4a248901394bef185d097f3cb019111))
23
+
24
+
25
+ ### Config
26
+
27
+ * update gatsby theme version ([6a594bd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6a594bd6d7bcc15fa8279779af0af96ca659c77d))
28
+
29
+
30
+ * Merge branch 'tm-3321-update-review-link' into 'master' ([ea1ced6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ea1ced6fca0274d6f11d4596c0cfe61186ee94df))
31
+
1
32
  ## [13.0.11](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.10...v13.0.11) (2023-02-27)
2
33
 
3
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "13.0.11",
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.16",
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",
@@ -131,7 +131,13 @@ export default function ComparisonTable({
131
131
  <StarRating numOfStars={5} rating={item?.relation?.rating} />
132
132
 
133
133
  {type === 'operator' && index === 0 ? null : (
134
- <ReviewLink template={tempate} itemName={item.title} reviewPath={item.path} />
134
+ <ReviewLink
135
+ template={tempate}
136
+ {...(item?.relation?.name
137
+ ? { operatorName: item?.relation?.name }
138
+ : { pageName: item.title })}
139
+ reviewPath={item.path}
140
+ />
135
141
  )}
136
142
  </td>
137
143
  );
@@ -72,7 +72,7 @@ const OperatorCard = ({
72
72
  <ReviewLink
73
73
  className={`${styles.reviewLink} operator-card-gtm`}
74
74
  template={page.template}
75
- itemName={itemName}
75
+ operatorName={itemName}
76
76
  reviewPath={reviewPath}
77
77
  />
78
78
  {relation?.status !== 'not_recommended' && (
@@ -57,7 +57,7 @@ const PopupCard = ({
57
57
  <ReviewLink
58
58
  className={`${styles.reviewLink} popup-review-gtm`}
59
59
  template={template}
60
- itemName={item.name}
60
+ operatorName={item.name}
61
61
  reviewPath={item.review_link}
62
62
  />
63
63
  )}
@@ -124,7 +124,7 @@ export default function Row({
124
124
  <ReviewLink
125
125
  className={`${styles.reviewLink} toplist-variant-one-gtm`}
126
126
  template={template}
127
- itemName={itemName}
127
+ operatorName={itemName}
128
128
  reviewPath={reviewPath}
129
129
  />
130
130
  )}
@@ -179,7 +179,7 @@ export default function Row({
179
179
  <ReviewLink
180
180
  className={`${styles.reviewLink} toplist-variant-one-gtm`}
181
181
  template={template}
182
- itemName={itemName}
182
+ operatorName={itemName}
183
183
  reviewPath={reviewPath}
184
184
  />
185
185
  )}
@@ -189,7 +189,7 @@ export default function Row({
189
189
  <ReviewLink
190
190
  className={`${styles.reviewLinkEnd} toplist-variant-one-gtm`}
191
191
  template={template}
192
- itemName={itemName}
192
+ operatorName={itemName}
193
193
  reviewPath={reviewPath}
194
194
  />
195
195
  )}
@@ -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
  />