gatsby-matrix-theme 52.0.93 → 53.0.0

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/package.json +2 -2
  3. package/src/components/atoms/author/template-three/index.js +2 -2
  4. package/src/components/atoms/author/template-two/index.js +4 -4
  5. package/src/components/atoms/cards/author/template-one/index.js +4 -4
  6. package/src/components/atoms/cards/author/template-two/index.js +4 -4
  7. package/src/components/atoms/cards/comparison-table/index.js +1 -1
  8. package/src/components/atoms/cards/comparison-table/table/index.js +14 -15
  9. package/src/components/atoms/cards/game-cards/template-five/index.js +5 -5
  10. package/src/components/atoms/cards/game-cards/template-four/index.js +5 -5
  11. package/src/components/atoms/cards/game-cards/template-one/index.js +5 -5
  12. package/src/components/atoms/cards/game-cards/template-three/index.js +5 -5
  13. package/src/components/atoms/cards/game-cards/template-two/index.js +5 -5
  14. package/src/components/atoms/cards/operator-card/template-four/index.js +5 -5
  15. package/src/components/atoms/cards/operator-card/template-one/index.js +13 -13
  16. package/src/components/atoms/cards/operator-card/template-three/index.js +5 -5
  17. package/src/components/atoms/cards/operator-card/template-two/index.js +11 -11
  18. package/src/components/atoms/cards/operators-table/index.js +1 -1
  19. package/src/components/atoms/cards/payment-method/sellingPoints/index.js +1 -1
  20. package/src/components/atoms/cards/payment-method/template-one/index.js +3 -3
  21. package/src/components/atoms/cards/payment-method/template-three/index.js +3 -3
  22. package/src/components/atoms/cards/popup-card/index.js +6 -6
  23. package/src/components/atoms/cards/software-provider-card/index.js +1 -0
  24. package/src/components/atoms/feedback/template-three/index.js +4 -4
  25. package/src/components/atoms/feedback/template-two/index.js +4 -4
  26. package/src/components/atoms/link-menu/index.js +1 -1
  27. package/src/components/atoms/operator-score-gauge/index.js +1 -1
  28. package/src/components/atoms/select/index.js +4 -3
  29. package/src/components/atoms/table/staticColumn/index.js +1 -1
  30. package/src/components/atoms/tooltip/index.js +1 -1
  31. package/src/components/molecules/header/variants/author/assets/expertise/index.js +1 -1
  32. package/src/components/molecules/header/variants/author/assets/portrait/index.js +3 -3
  33. package/src/components/molecules/header/variants/author/template-one/index.js +1 -1
  34. package/src/components/molecules/header/variants/author/template-three/index.js +1 -1
  35. package/src/components/molecules/header/variants/author/template-two/index.js +1 -1
  36. package/src/components/molecules/header/variants/default/template-two/index.js +2 -2
  37. package/src/components/molecules/header/variants/operator/template-five/index.js +10 -10
  38. package/src/components/molecules/header/variants/operator/template-four/index.js +6 -6
  39. package/src/components/molecules/header/variants/operator/template-three/index.js +5 -5
  40. package/src/components/molecules/header/variants/payment/template-five/index.js +5 -5
  41. package/src/components/molecules/header/variants/payment/template-four/index.js +5 -5
  42. package/src/components/molecules/header/variants/payment/template-one-three/index.js +5 -5
  43. package/src/components/molecules/header/variants/payment/template-two/index.js +5 -5
  44. package/src/components/molecules/header/variants/slot/template-one/index.js +6 -7
  45. package/src/components/molecules/header/variants/slot/template-two/index.js +5 -5
  46. package/src/components/molecules/horse-calculator/index.js +12 -11
  47. package/src/components/molecules/operator-details/index.js +2 -2
  48. package/src/components/molecules/operator-exclusive/index.js +1 -1
  49. package/src/components/molecules/toplist/row/variant-one.js +6 -6
  50. package/src/components/organisms/cards/module-introduction/index.js +1 -1
  51. package/src/components/organisms/cards/template-one/index.js +2 -3
  52. package/src/components/organisms/cards/template-two/index.js +2 -2
  53. package/src/components/organisms/cards/template-two/item/index.js +1 -1
  54. package/src/components/organisms/popup/index.js +3 -1
  55. package/src/gatsby-core-theme/components/atoms/module-title/index.js +2 -4
  56. package/src/gatsby-core-theme/components/molecules/header/index.js +3 -3
  57. package/src/gatsby-core-theme/components/molecules/main/index.js +0 -1
  58. package/src/gatsby-core-theme/components/molecules/module/index.js +1 -1
  59. package/src/gatsby-core-theme/components/organisms/toplist/list/index.js +5 -6
  60. package/src/gatsby-core-theme/components/pages/body/index.js +4 -4
  61. package/src/gatsby-core-theme/hooks/tabs/title/index.js +1 -1
  62. package/storybook/public/177.ac764a45.iframe.bundle.js +1 -0
  63. package/storybook/public/{536.7c4ddf0c.iframe.bundle.js → 536.c45eb231.iframe.bundle.js} +3 -3
  64. package/storybook/public/{536.7c4ddf0c.iframe.bundle.js.map → 536.c45eb231.iframe.bundle.js.map} +1 -1
  65. package/storybook/public/iframe.html +1 -1
  66. package/storybook/public/main.271c2cbf.iframe.bundle.js +1 -0
  67. package/storybook/public/project.json +1 -1
  68. package/storybook/public/{runtime~main.1a72ad25.iframe.bundle.js → runtime~main.64ca1929.iframe.bundle.js} +1 -1
  69. package/storybook/public/177.67ad5752.iframe.bundle.js +0 -1
  70. package/storybook/public/main.8cff668c.iframe.bundle.js +0 -1
  71. /package/storybook/public/{536.7c4ddf0c.iframe.bundle.js.LICENSE.txt → 536.c45eb231.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,38 @@
1
+ # [53.0.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.94...v53.0.0) (2025-03-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change ul to ol ([fc80f71](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/fc80f71d6137c5e3a8852211c8972ff3ea54fbf9))
7
+ * update version ([7e598d5](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/7e598d5e71d8c9a9b8091049bf7919dff159d357))
8
+
9
+
10
+ ### Code Refactoring
11
+
12
+ * more proptype changes ([1fa29b8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/1fa29b8e7a612c9966ba1e29559d12839c9f0faf))
13
+ * prop type fixes ([020af6a](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/020af6a4db0e6c7b1649763525ec6578cf92de70))
14
+ * remove temp ([ea2c8f9](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/ea2c8f91e3c912df3d43b1c5ff2958c90ad2724c))
15
+ * temp ([d0b2d2a](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/d0b2d2aaa9b930677f0c2d81fb20fb3db75b5dc3))
16
+
17
+
18
+ ### Config
19
+
20
+ * update theme ([85685cb](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/85685cb00d963d44f2b84bf4e71c8dce7223792a))
21
+
22
+
23
+ * Merge branch 'tm-5274-update-toplist' into 'master' ([e28bdd9](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/e28bdd9df477cf5ed767150ec7bf81fd024cbb8f))
24
+ * Merge branch 'proptype-fixes' into 'master' ([5b1b062](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/5b1b0626c004a8c7c9f02b2041ad12427761ea12))
25
+ * Merge branch 'master' into proptype-fixes ([dfc2d4c](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/dfc2d4ce147d41489b02683c34bc67cc05b4aec2))
26
+ * Merge branch 'master' into proptype-fixes ([488e7ad](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/488e7adc32b1c07c921fe1dbeb80c66bb834fa75))
27
+ * Merge branch 'master' into proptype-fixes ([279db6f](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/279db6f2d0351c83f65ebdd065c925bcb5e84d87))
28
+
29
+ ## [52.0.94](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.93...v52.0.94) (2025-03-11)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * remove aside links component when ppc page ([b64259b](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/b64259bf9963cbb1b958505203fca00a2efddfbe))
35
+
1
36
  ## [52.0.93](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.92...v52.0.93) (2025-03-11)
2
37
 
3
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "52.0.93",
3
+ "version": "53.0.0",
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": "43.0.3",
28
+ "gatsby-core-theme": "44.0.1",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -77,8 +77,8 @@ const AuthorTemplateThree = ({
77
77
 
78
78
  AuthorTemplateThree.propTypes = {
79
79
  authorImage: PropTypes.string,
80
- authorImageHeight: PropTypes.bool,
81
- authorImageWidth: PropTypes.bool,
80
+ authorImageHeight: PropTypes.number,
81
+ authorImageWidth: PropTypes.number,
82
82
  authorName: PropTypes.string,
83
83
  authorPath: PropTypes.string,
84
84
  authorTitle: PropTypes.string,
@@ -12,8 +12,8 @@ const AuthorTemplateTwo = ({
12
12
  authorImage,
13
13
  showLinks = true,
14
14
  verify = <VerifiedAuthor />,
15
- width = '21',
16
- height = '21',
15
+ width = 21,
16
+ height = 21,
17
17
  }) => (
18
18
  <span className={styles.authorImage}>
19
19
  {showLinks ? (
@@ -46,8 +46,8 @@ AuthorTemplateTwo.propTypes = {
46
46
  authorImage: PropTypes.string,
47
47
  verify: PropTypes.element,
48
48
  showLinks: PropTypes.bool,
49
- width: PropTypes.string,
50
- height: PropTypes.string,
49
+ width: PropTypes.number,
50
+ height: PropTypes.number,
51
51
  };
52
52
 
53
53
  export default AuthorTemplateTwo;
@@ -8,7 +8,7 @@ import Socials from '../../../author/socials';
8
8
  import styles from './template-one.module.scss';
9
9
  import { imagePrettyUrl, getAltText, textWordsLimit } from '~helpers/getters';
10
10
 
11
- export default function TemplateOne({ item, width = '72', height = '72' }) {
11
+ export default function TemplateOne({ item, width = 72, height = 72 }) {
12
12
  const author = item.relation;
13
13
 
14
14
  return (
@@ -46,7 +46,7 @@ TemplateOne.propTypes = {
46
46
  name: PropTypes.string,
47
47
  profile_page_path: PropTypes.string,
48
48
  biography: PropTypes.string,
49
- pages_count: PropTypes.string,
49
+ pages_count: PropTypes.number,
50
50
  image_alt: PropTypes.string,
51
51
  image_object: PropTypes.shape({
52
52
  filename: PropTypes.string,
@@ -54,6 +54,6 @@ TemplateOne.propTypes = {
54
54
  }),
55
55
  }),
56
56
  }),
57
- width: PropTypes.string,
58
- height: PropTypes.string,
57
+ width: PropTypes.number,
58
+ height: PropTypes.number,
59
59
  };
@@ -7,7 +7,7 @@ import Socials from '../../../author/socials';
7
7
  import styles from './template-two.module.scss';
8
8
  import { imagePrettyUrl, getAltText } from '~helpers/getters';
9
9
 
10
- export default function TemplateTwo({ item, width = '80', height = '80' }) {
10
+ export default function TemplateTwo({ item, width = 80, height = 80 }) {
11
11
  const author = item.relation;
12
12
 
13
13
  return (
@@ -40,7 +40,7 @@ TemplateTwo.propTypes = {
40
40
  name: PropTypes.string,
41
41
  profile_page_path: PropTypes.string,
42
42
  biography: PropTypes.string,
43
- pages_count: PropTypes.string,
43
+ pages_count: PropTypes.number,
44
44
  image_alt: PropTypes.string,
45
45
  image_object: PropTypes.shape({
46
46
  filename: PropTypes.string,
@@ -48,6 +48,6 @@ TemplateTwo.propTypes = {
48
48
  }),
49
49
  }),
50
50
  }),
51
- width: PropTypes.string,
52
- height: PropTypes.string,
51
+ width: PropTypes.number,
52
+ height: PropTypes.number,
53
53
  };
@@ -22,7 +22,7 @@ export default function ComparisonTable({ module, page, modulePosition }) {
22
22
 
23
23
  ComparisonTable.propTypes = {
24
24
  module: PropTypes.shape({
25
- items: PropTypes.shape({}),
25
+ items: PropTypes.arrayOf(PropTypes.shape({})),
26
26
  }),
27
27
  page: PropTypes.shape({
28
28
  relation_type: PropTypes.string,
@@ -78,12 +78,12 @@ export default function ComparisonTable({
78
78
  ctaKey = 'play_now',
79
79
  type,
80
80
  tempate,
81
- operatorWidth = '89',
82
- operatorHeight = '89',
83
- paymentWidth = '72',
84
- paymentHeight = '32',
85
- licenseWidth = '72',
86
- licenseHeight = '32',
81
+ operatorWidth = 89,
82
+ operatorHeight = 89,
83
+ paymentWidth = 72,
84
+ paymentHeight = 32,
85
+ licenseWidth = 72,
86
+ licenseHeight = 32,
87
87
  showRoundedRating = false,
88
88
  moduleName= TrackingKeys?.COMPARISONTABLE,
89
89
  modulePosition,
@@ -199,12 +199,11 @@ export default function ComparisonTable({
199
199
  {item?.relation?.deposit_methods &&
200
200
  // eslint-disable-next-line array-callback-return
201
201
  item?.relation?.deposit_methods?.slice(0, 5)?.map((deposit) => {
202
- const logo = deposit?.logo?.filename
202
+ const logo = deposit?.logo?.filename;
203
203
  if (!logo) return;
204
204
  return (
205
- <Link to={deposit?.path}>
205
+ <Link key={`${key}-${deposit.name}`} to={deposit?.path}>
206
206
  <LazyImg
207
- key={`${key}-${deposit.name}`}
208
207
  src={imagePrettyUrl(logo, paymentWidth, paymentHeight)}
209
208
  width={paymentWidth}
210
209
  height={paymentHeight}
@@ -299,10 +298,10 @@ export default function ComparisonTable({
299
298
  ComparisonTable.propTypes = {
300
299
  items: PropTypes.arrayOf(PropTypes.object),
301
300
  showRoundedRating: PropTypes.bool,
302
- operatorWidth: PropTypes.string,
303
- operatorHeight: PropTypes.string,
304
- paymentWidth: PropTypes.string,
305
- paymentHeight: PropTypes.string,
306
- licenseWidth: PropTypes.string,
307
- licenseHeight: PropTypes.string,
301
+ operatorWidth: PropTypes.number,
302
+ operatorHeight: PropTypes.number,
303
+ paymentWidth: PropTypes.number,
304
+ paymentHeight: PropTypes.number,
305
+ licenseWidth: PropTypes.number,
306
+ licenseHeight: PropTypes.number,
308
307
  };
@@ -150,12 +150,12 @@ const TemplateFive = ({
150
150
  TemplateFive.propTypes = {
151
151
  item: PropTypes.shape({
152
152
  relation: PropTypes.shape({
153
- rating: PropTypes.string,
154
- first_rating: PropTypes.string,
155
- second_rating: PropTypes.string,
156
- third_rating: PropTypes.string,
153
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
154
+ first_rating: PropTypes.number,
155
+ second_rating: PropTypes.number,
156
+ third_rating: PropTypes.number,
157
157
  name: PropTypes.string,
158
- fourth_rating: PropTypes.string,
158
+ fourth_rating: PropTypes.number,
159
159
  game_provider: PropTypes.shape({
160
160
  name: PropTypes.string,
161
161
  path: PropTypes.string,
@@ -134,12 +134,12 @@ const TemplateFour = ({
134
134
  TemplateFour.propTypes = {
135
135
  item: PropTypes.shape({
136
136
  relation: PropTypes.shape({
137
- rating: PropTypes.string,
138
- first_rating: PropTypes.string,
139
- second_rating: PropTypes.string,
140
- third_rating: PropTypes.string,
137
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
138
+ first_rating: PropTypes.number,
139
+ second_rating: PropTypes.number,
140
+ third_rating: PropTypes.number,
141
141
  name: PropTypes.string,
142
- fourth_rating: PropTypes.string,
142
+ fourth_rating: PropTypes.number,
143
143
  game_provider: PropTypes.shape({ name: PropTypes.string, path: PropTypes.string }),
144
144
  thumbnail_filename_object: PropTypes.shape({
145
145
  filename: PropTypes.string,
@@ -129,12 +129,12 @@ const TemplateOne = ({
129
129
  TemplateOne.propTypes = {
130
130
  item: PropTypes.shape({
131
131
  relation: PropTypes.shape({
132
- rating: PropTypes.string,
133
- first_rating: PropTypes.string,
134
- second_rating: PropTypes.string,
135
- third_rating: PropTypes.string,
132
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
133
+ first_rating: PropTypes.number,
134
+ second_rating: PropTypes.number,
135
+ third_rating: PropTypes.number,
136
136
  name: PropTypes.string,
137
- fourth_rating: PropTypes.string,
137
+ fourth_rating: PropTypes.number,
138
138
  game_provider: PropTypes.shape({ name: PropTypes.string, path: PropTypes.string }),
139
139
  logo: PropTypes.shape({
140
140
  filename: PropTypes.string,
@@ -136,11 +136,11 @@ const TemplateThree = ({
136
136
  TemplateThree.propTypes = {
137
137
  item: PropTypes.shape({
138
138
  relation: PropTypes.shape({
139
- rating: PropTypes.string,
140
- first_rating: PropTypes.string,
141
- second_rating: PropTypes.string,
142
- third_rating: PropTypes.string,
143
- fourth_rating: PropTypes.string,
139
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
140
+ first_rating: PropTypes.number,
141
+ second_rating: PropTypes.number,
142
+ third_rating: PropTypes.number,
143
+ fourth_rating: PropTypes.number,
144
144
  name: PropTypes.string,
145
145
  game_provider: PropTypes.shape({ name: PropTypes.string, path: PropTypes.string }),
146
146
  thumbnail_filename_object: PropTypes.shape({
@@ -138,11 +138,11 @@ const TemplateTwo = ({
138
138
  TemplateTwo.propTypes = {
139
139
  item: PropTypes.shape({
140
140
  relation: PropTypes.shape({
141
- rating: PropTypes.string,
142
- first_rating: PropTypes.string,
143
- second_rating: PropTypes.string,
144
- third_rating: PropTypes.string,
145
- fourth_rating: PropTypes.string,
141
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
142
+ first_rating: PropTypes.number,
143
+ second_rating: PropTypes.number,
144
+ third_rating: PropTypes.number,
145
+ fourth_rating: PropTypes.number,
146
146
  name: PropTypes.string,
147
147
  game_provider: PropTypes.shape({ name: PropTypes.string, path: PropTypes.string }),
148
148
  thumbnail_filename_object: PropTypes.shape({
@@ -22,8 +22,8 @@ const TemplateFour = ({
22
22
  authorTemplateTwo = true,
23
23
  verifyIcon = <Verify />,
24
24
  showBonusForAll = false,
25
- width = '88',
26
- height = '88',
25
+ width = 88,
26
+ height = 88,
27
27
  BonusTemplate = BonusTemplateDefault,
28
28
  modulePosition,
29
29
  itemPosition,
@@ -114,7 +114,7 @@ const TemplateFour = ({
114
114
  TemplateFour.propTypes = {
115
115
  item: PropTypes.shape({
116
116
  relation: PropTypes.shape({
117
- rating: PropTypes.string,
117
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
118
118
  name: PropTypes.string,
119
119
  path: PropTypes.string,
120
120
  status: PropTypes.string,
@@ -145,8 +145,8 @@ TemplateFour.propTypes = {
145
145
  showRatingDecimal: PropTypes.bool,
146
146
  showBonusForAll: PropTypes.bool,
147
147
  BonusTemplate: PropTypes.string,
148
- width: PropTypes.string,
149
- height: PropTypes.string,
148
+ width: PropTypes.number,
149
+ height: PropTypes.number,
150
150
  modulePosition: PropTypes.number,
151
151
  itemPosition: PropTypes.number,
152
152
  };
@@ -33,10 +33,10 @@ const TemplateOne = ({
33
33
  showBonusForAll = false,
34
34
  verifyIcon = <Verify />,
35
35
  showOperatorCta = true,
36
- operatorLogoWidth = '88',
37
- operatorLogoHeight = '88',
38
- paymentLogoWidth = '54',
39
- paymentLogoHeight = '36',
36
+ operatorLogoWidth = 88,
37
+ operatorLogoHeight = 88,
38
+ paymentLogoWidth = 54,
39
+ paymentLogoHeight = 36,
40
40
  BonusTemplate = Bonus,
41
41
  modulePosition,
42
42
  itemPosition,
@@ -160,7 +160,7 @@ const TemplateOne = ({
160
160
  deposit?.logo
161
161
  if (!logo) return;
162
162
  return (
163
- <li>
163
+ <li key={`${deposit.id}-${deposit.name}`}>
164
164
  <Link to={deposit?.path}>
165
165
  <LazyImage
166
166
  key={`${deposit.id}-${deposit.name}`}
@@ -186,16 +186,16 @@ const TemplateOne = ({
186
186
  TemplateOne.propTypes = {
187
187
  item: PropTypes.shape({
188
188
  relation: PropTypes.shape({
189
- ribbons: PropTypes.shape([]),
190
- deposit_methods: PropTypes.shape([]),
191
- rating: PropTypes.string,
189
+ ribbons: PropTypes.arrayOf(PropTypes.string),
190
+ deposit_methods: PropTypes.arrayOf(PropTypes.shape({})),
191
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
192
192
  name: PropTypes.string,
193
193
  path: PropTypes.string,
194
194
  status: PropTypes.string,
195
195
  logo: PropTypes.shape({
196
196
  filename: PropTypes.string,
197
197
  }),
198
- selling_points: PropTypes.shape([]),
198
+ selling_points: PropTypes.arrayOf(PropTypes.string),
199
199
  }),
200
200
  path: PropTypes.string,
201
201
  author: PropTypes.shape({
@@ -222,10 +222,10 @@ TemplateOne.propTypes = {
222
222
  showRatingDecimal: PropTypes.bool,
223
223
  BonusTemplate: PropTypes.string,
224
224
  showOperatorCta: PropTypes.bool,
225
- operatorLogoWidth: PropTypes.string,
226
- operatorLogoHeight: PropTypes.string,
227
- paymentLogoWidth: PropTypes.string,
228
- paymentLogoHeight: PropTypes.string,
225
+ operatorLogoWidth: PropTypes.number,
226
+ operatorLogoHeight: PropTypes.number,
227
+ paymentLogoWidth: PropTypes.number,
228
+ paymentLogoHeight: PropTypes.number,
229
229
  modulePosition: PropTypes.number,
230
230
  itemPosition: PropTypes.number,
231
231
  };
@@ -26,8 +26,8 @@ const TemplateThree = ({
26
26
  hasVariableComponent = false,
27
27
  showBonusForAll = false,
28
28
  showOperatorCta = true,
29
- operatorLogoWidth = '88',
30
- operatorLogoHeight = '88',
29
+ operatorLogoWidth = 88,
30
+ operatorLogoHeight = 88,
31
31
  BonusTemplate = BonusTemplateDefault,
32
32
  modulePosition,
33
33
  itemPosition,
@@ -141,7 +141,7 @@ const TemplateThree = ({
141
141
  TemplateThree.propTypes = {
142
142
  item: PropTypes.shape({
143
143
  relation: PropTypes.shape({
144
- rating: PropTypes.string,
144
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
145
145
  name: PropTypes.string,
146
146
  path: PropTypes.string,
147
147
  status: PropTypes.string,
@@ -171,8 +171,8 @@ TemplateThree.propTypes = {
171
171
  showBonusForAll: PropTypes.bool,
172
172
  BonusTemplate: PropTypes.string,
173
173
  showOperatorCta: PropTypes.bool,
174
- operatorLogoWidth: PropTypes.string,
175
- operatorLogoHeight: PropTypes.string,
174
+ operatorLogoWidth: PropTypes.number,
175
+ operatorLogoHeight: PropTypes.number,
176
176
  modulePosition: PropTypes.number,
177
177
  itemPosition: PropTypes.number,
178
178
  };
@@ -27,10 +27,10 @@ const TemplateTwo = ({
27
27
  hasVariableComponent = false,
28
28
  verifyIcon = <Verify />,
29
29
  showBonusForAll = false,
30
- operatorLogoWidth = '88',
31
- operatorLogoHeight = '88',
32
- width = '54',
33
- height = '36',
30
+ operatorLogoWidth = 88,
31
+ operatorLogoHeight = 88,
32
+ width = 54,
33
+ height = 36,
34
34
  BonusTemplate = BonusTemplateDefault,
35
35
  modulePosition,
36
36
  itemPosition,
@@ -142,9 +142,9 @@ const TemplateTwo = ({
142
142
  TemplateTwo.propTypes = {
143
143
  item: PropTypes.shape({
144
144
  relation: PropTypes.shape({
145
- ribbons: PropTypes.shape([]),
146
- deposit_methods: PropTypes.shape([]),
147
- rating: PropTypes.string,
145
+ ribbons: PropTypes.arrayOf(PropTypes.string),
146
+ deposit_methods: PropTypes.arrayOf(PropTypes.shape({})),
147
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
148
148
  name: PropTypes.string,
149
149
  path: PropTypes.string,
150
150
  status: PropTypes.string,
@@ -173,10 +173,10 @@ TemplateTwo.propTypes = {
173
173
  contentRibbon: PropTypes.bool,
174
174
  showBonusForAll: PropTypes.bool,
175
175
  BonusTemplate: PropTypes.string,
176
- width: PropTypes.string,
177
- height: PropTypes.string,
178
- operatorLogoWidth: PropTypes.string,
179
- operatorLogoHeight: PropTypes.string,
176
+ width: PropTypes.number,
177
+ height: PropTypes.number,
178
+ operatorLogoWidth: PropTypes.number,
179
+ operatorLogoHeight: PropTypes.number,
180
180
  modulePosition: PropTypes.number,
181
181
  itemPosition: PropTypes.number,
182
182
  };
@@ -79,7 +79,7 @@ export default CasinosTable;
79
79
 
80
80
  CasinosTable.propTypes = {
81
81
  module: PropTypes.shape({
82
- items: PropTypes.arrayOf({}),
82
+ items: PropTypes.arrayOf(PropTypes.shape({})),
83
83
  }).isRequired,
84
84
  page: PropTypes.shape({
85
85
  template: PropTypes.string,
@@ -5,7 +5,7 @@ import styles from './selling-points.module.scss';
5
5
  const sellingPoints = ({ sellingPoints }) => (
6
6
  <ul className={styles?.sellingPoints || ''}>
7
7
  {sellingPoints?.map((itsName) => (
8
- <li className={styles?.sellingPointsName || ''}>{itsName.name}</li>
8
+ <li key={itsName.id} className={styles?.sellingPointsName || ''}>{itsName.name}</li>
9
9
  ))}
10
10
  </ul>
11
11
  );
@@ -90,17 +90,17 @@ TemplateOneTwo.propTypes = {
90
90
  description: PropTypes.string,
91
91
  path: PropTypes.string,
92
92
  relation: PropTypes.shape({
93
- selling_points: PropTypes.arrayOf(PropTypes.string).isRequired,
93
+ selling_points: PropTypes.arrayOf(PropTypes.shape({})).isRequired,
94
94
  name: PropTypes.string,
95
95
  games_count: PropTypes.number,
96
- logo: PropTypes.string,
96
+ logo: PropTypes.shape({}),
97
97
  logo_filename_object: PropTypes.shape({
98
98
  alt: PropTypes.string,
99
99
  }),
100
100
  standardised_logo_filename_object: PropTypes.shape({
101
101
  alt: PropTypes.string,
102
102
  }),
103
- rating: PropTypes.string,
103
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
104
104
  }),
105
105
  sections: PropTypes.shape({
106
106
  header: PropTypes.shape({
@@ -79,17 +79,17 @@ TemplateThree.propTypes = {
79
79
  description: PropTypes.string,
80
80
  path: PropTypes.string,
81
81
  relation: PropTypes.shape({
82
- selling_points: PropTypes.arrayOf(PropTypes.string).isRequired,
82
+ selling_points: PropTypes.arrayOf(PropTypes.shape({})).isRequired,
83
83
  name: PropTypes.string,
84
84
  games_count: PropTypes.number,
85
- logo: PropTypes.string,
85
+ logo: PropTypes.shape({}),
86
86
  logo_filename_object: PropTypes.shape({
87
87
  alt: PropTypes.string,
88
88
  }),
89
89
  standardised_logo_filename_object: PropTypes.shape({
90
90
  alt: PropTypes.string,
91
91
  }),
92
- rating: PropTypes.string,
92
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
93
93
  }),
94
94
  sections: PropTypes.shape({
95
95
  header: PropTypes.shape({
@@ -22,8 +22,8 @@ const PopupCard = ({
22
22
  template,
23
23
  showRoundedRating = false,
24
24
  tncFixed = true,
25
- width = '98',
26
- height = '98',
25
+ width = 98,
26
+ height = 98,
27
27
  itemPosition,
28
28
  }) => {
29
29
  const operatorName = item.name;
@@ -82,7 +82,7 @@ PopupCard.propTypes = {
82
82
  name: PropTypes.string,
83
83
  bonuses: PropTypes.shape({
84
84
  main: PropTypes.shape({
85
- one_liner: PropTypes.shape({}),
85
+ one_liner: PropTypes.string,
86
86
  }),
87
87
  }),
88
88
  bonus: PropTypes.shape({
@@ -95,7 +95,7 @@ PopupCard.propTypes = {
95
95
  alt: PropTypes.string,
96
96
  }),
97
97
  review_link: PropTypes.string,
98
- rating: PropTypes.string,
98
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
99
99
  logo_url_object: PropTypes.shape({
100
100
  alt: PropTypes.string,
101
101
  }),
@@ -110,8 +110,8 @@ PopupCard.propTypes = {
110
110
  tncFixed: PropTypes.bool,
111
111
  buttonType: PropTypes.string,
112
112
  showRoundedRating: PropTypes.bool,
113
- width: PropTypes.string,
114
- height: PropTypes.string,
113
+ width: PropTypes.number,
114
+ height: PropTypes.number,
115
115
  itemPosition: PropTypes.number,
116
116
  };
117
117
 
@@ -22,6 +22,7 @@ const SoftwareProviderCard = ({
22
22
  const { title, path, relation, sections } = item;
23
23
  const logUrlObject =
24
24
  relation?.standardised_logo_filename_object || relation?.logo_filename_object;
25
+
25
26
  return (
26
27
  <div className={styles?.content || ''}>
27
28
  <div className={styles?.header || ''}>
@@ -22,8 +22,8 @@ const FeedBack = ({
22
22
  falseVotes,
23
23
  contactUs = '/contact-us',
24
24
  operatorImg,
25
- width = '80',
26
- height = '80',
25
+ width = 80,
26
+ height = 80,
27
27
  showLogo = true,
28
28
  }) => {
29
29
  const [voted, setVote] = useState(null);
@@ -169,8 +169,8 @@ FeedBack.propTypes = {
169
169
  falseVotes: PropTypes.number,
170
170
  contactUs: PropTypes.string,
171
171
  operatorImg: PropTypes.string,
172
- width: PropTypes.string,
173
- height: PropTypes.string,
172
+ width: PropTypes.number,
173
+ height: PropTypes.number,
174
174
  showLogo: PropTypes.bool,
175
175
  };
176
176
 
@@ -18,8 +18,8 @@ const FeedBack = ({
18
18
  falseVotes,
19
19
  contactUs = '/contact-us',
20
20
  operatorImg,
21
- width = '80',
22
- height = '80',
21
+ width = 80,
22
+ height = 80,
23
23
  }) => {
24
24
  const [voted, setVote] = useState(null);
25
25
  const [error, setError] = useState(null);
@@ -143,8 +143,8 @@ FeedBack.propTypes = {
143
143
  falseVotes: PropTypes.number,
144
144
  contactUs: PropTypes.string,
145
145
  operatorImg: PropTypes.string,
146
- width: PropTypes.string,
147
- height: PropTypes.string,
146
+ width: PropTypes.number,
147
+ height: PropTypes.number,
148
148
  };
149
149
 
150
150
  export default FeedBack;
@@ -9,7 +9,7 @@ import styles from './link-menu.module.scss';
9
9
  const LinkMenu = ({
10
10
  section,
11
11
  listIcon = <FaChevronRight title="Right-pointing Arrow Icon" />,
12
- showLinks,
12
+ showLinks=true,
13
13
  }) => {
14
14
  const menuArray = getFirstModuleByName(section, 'menu');
15
15
 
@@ -43,7 +43,7 @@ const OperatorScoreGauge = ({
43
43
  OperatorScoreGauge.propTypes = {
44
44
  onHeader: PropTypes.bool,
45
45
  operator: PropTypes.shape({
46
- rating: PropTypes.number,
46
+ rating: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
47
47
  }),
48
48
  numOfStars: PropTypes.number,
49
49
  showRoundedRating: PropTypes.bool,