gatsby-matrix-theme 13.0.11 → 13.0.12

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,18 @@
1
+ ## [13.0.12](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.11...v13.0.12) (2023-02-28)
2
+
3
+
4
+ ### Code Refactoring
5
+
6
+ * update review link usage with page name and operator name ([12ce0b4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/12ce0b47c4a248901394bef185d097f3cb019111))
7
+
8
+
9
+ ### Config
10
+
11
+ * update gatsby theme version ([6a594bd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6a594bd6d7bcc15fa8279779af0af96ca659c77d))
12
+
13
+
14
+ * Merge branch 'tm-3321-update-review-link' into 'master' ([ea1ced6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ea1ced6fca0274d6f11d4596c0cfe61186ee94df))
15
+
1
16
  ## [13.0.11](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v13.0.10...v13.0.11) (2023-02-27)
2
17
 
3
18
 
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.12",
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.18",
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
  )}