gatsby-matrix-theme 41.0.0-beta.7 → 41.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 (40) hide show
  1. package/CHANGELOG.md +122 -164
  2. package/package.json +2 -2
  3. package/src/components/atoms/cards/payment-method/template-three/template-three.test.js +22 -1
  4. package/src/components/atoms/info-grid/template-one/info-grid.module.scss +1 -1
  5. package/src/components/atoms/info-grid/template-one/info-grid.stories.js +0 -14
  6. package/src/components/atoms/review-credits/index.js +83 -60
  7. package/src/components/atoms/review-credits/review-credits.module.scss +57 -33
  8. package/src/components/atoms/review-credits/review-credits.stories.js +65 -42
  9. package/src/components/atoms/review-credits/review-credits.test.js +15 -12
  10. package/src/constants/info-grid.js +33 -6
  11. package/src/gatsby-core-theme/components/molecules/header/index.js +67 -1
  12. package/src/gatsby-core-theme/components/molecules/main/index.js +14 -2
  13. package/src/gatsby-core-theme/components/molecules/module/index.js +26 -1
  14. package/src/gatsby-core-theme/components/molecules/module/module.module.scss +9 -0
  15. package/src/gatsby-core-theme/components/pages/body/index.js +5 -2
  16. package/src/gatsby-core-theme/styles/utils/variables/_main.scss +2 -0
  17. package/src/helpers/info-grid.js +15 -5
  18. package/src/helpers/info-grid.test.js +24 -5
  19. package/src/images/icons/contributors.js +25 -0
  20. package/storybook/public/232.0187b657.iframe.bundle.js +1 -0
  21. package/storybook/public/395.c1efbb64.iframe.bundle.js +2 -0
  22. package/storybook/public/395.c1efbb64.iframe.bundle.js.LICENSE.txt +19 -0
  23. package/storybook/public/672.3058d279.iframe.bundle.js +1 -0
  24. package/storybook/public/{728.5d653576.iframe.bundle.js → 728.b88f76a4.iframe.bundle.js} +4 -4
  25. package/storybook/public/{728.5d653576.iframe.bundle.js.map → 728.b88f76a4.iframe.bundle.js.map} +1 -1
  26. package/storybook/public/776.44fd86a4.iframe.bundle.js +1 -0
  27. package/storybook/public/778.aa77fac1.iframe.bundle.js +1 -0
  28. package/storybook/public/909.0e3d61f8.iframe.bundle.js +1 -0
  29. package/storybook/public/964.10c64556.iframe.bundle.js +1 -0
  30. package/storybook/public/iframe.html +1 -1
  31. package/storybook/public/main.86acf610.iframe.bundle.js +1 -0
  32. package/storybook/public/project.json +1 -1
  33. package/storybook/public/runtime~main.c1a7e72a.iframe.bundle.js +1 -0
  34. package/storybook/public/283.12dbc85b.iframe.bundle.js +0 -1
  35. package/storybook/public/778.c86fcc7c.iframe.bundle.js +0 -1
  36. package/storybook/public/964.3b5c2c06.iframe.bundle.js +0 -1
  37. package/storybook/public/main.36f3991a.iframe.bundle.js +0 -1
  38. package/storybook/public/runtime~main.63d1ccf4.iframe.bundle.js +0 -1
  39. package/storybook/public/static/media/authorship.3b82791c.svg +0 -3
  40. /package/storybook/public/{728.5d653576.iframe.bundle.js.LICENSE.txt → 728.b88f76a4.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,23 +1,136 @@
1
- # [41.0.0-beta.7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v41.0.0-beta.6...v41.0.0-beta.7) (2024-04-23)
1
+ # [41.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.23...v41.0.0) (2024-05-07)
2
+
3
+
4
+ ### Code Refactoring
5
+
6
+ * change icon into own component ([b7a56c1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b7a56c1112a3e94e6d01c189fd7fb155c026ac25))
7
+ * changes to review credits, fix test and storybook ([6f6dcd3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6f6dcd3df538417d8dc4ce9219327aec9692bbad))
8
+ * correction to reviewer title ([028d9fb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/028d9fbb77ed7c42267edb240c4331bdd6f37e18))
9
+ * hide prefix ([bdd655f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bdd655f3e05677db41a5fbbb88697fbce782b4d9))
10
+ * remove temp ([c5f776c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c5f776c1ccf3d75cec71b6c78bb545f7d4642a45))
11
+ * simplyfy editorial text and link ([19c1e3a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/19c1e3a7e3fb1280a3badb529e3b435ed506a58f))
12
+ * temp ([7c51a7e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7c51a7e218b46d07401f9b7d9ba9ed399b8def54))
13
+ * typo change ([785ec8a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/785ec8a3a41cae9159bdaff6bdd0ed7c9927d17c))
14
+
15
+
16
+ * Merge branch 'tm-4339-author-review-credits' into 'master' ([e5b891d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e5b891d51519652da1162b044a8aff6c20e74148))
17
+ * Merge branch 'master' into tm-4339-author-review-credits ([91758eb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/91758eb74c8ff0e0df6d734717c03c0b7d162345))
18
+ * Merge branch 'master' into tm-4339-author-review-credits ([0f01a56](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0f01a568e8dac861fab297ab366524d6815a4312))
19
+
20
+
21
+ ### Tests
22
+
23
+ * fix test ([5c4de17](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5c4de170b3348a5b1c23e58b487655f8b512b092))
24
+
25
+ ## [40.0.23](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.22...v40.0.23) (2024-05-02)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * content piepline ([5e67696](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5e6769610c57d6d1f6ea732222a3401abc14fb31))
31
+ * update core version ([58a6c36](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/58a6c36dc6fd22e44cf107b4db82157488317d14))
32
+ * update navigation and breadcrumbs to not show on responsible gambling page type ([fca1e7c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fca1e7c140dcccd8b6bcb9924a3b6a11b938d6c7))
33
+
34
+
35
+ * Merge branch 'tm-4238-pcsa-changes-to-rg-page' into 'master' ([24a834e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/24a834ee86b0be426f2cf78c823da3e813d8a0c7))
36
+
37
+ ## [40.0.22](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.21...v40.0.22) (2024-04-30)
38
+
39
+
40
+ ### Code Refactoring
41
+
42
+ * change link to author name only, remove arrow and fix test ([338157c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/338157cf18940acb8246ee586c24aaf208d756d5))
43
+ * set hide prefix as default ([2498496](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/249849657fdd21889a8a3cc07b4573c42339a0ac))
44
+
45
+
46
+ * Merge branch 'tm-4330-author-review-credits' into 'master' ([5dd707d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5dd707d8921e51a63d87159739654237bfaa93d6))
47
+
48
+ ## [40.0.21](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.20...v40.0.21) (2024-04-29)
49
+
50
+
51
+ ### Bug Fixes
52
+
53
+ * lotto fixes ([6c988c7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6c988c742284e33c212df7d426d82d172bcd5b13))
54
+
55
+ ## [40.0.20](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.19...v40.0.20) (2024-04-29)
2
56
 
3
57
 
4
58
  ### Bug Fixes
5
59
 
60
+ * aligned with master and update ([371308d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/371308d1029686d40d3e060935fa983e6cb804f6))
61
+ * aligned with master branch ([b01f700](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b01f70064aefb3c9c486363a75f1a288317e0d59))
6
62
  * author and reviewCredits ([ca0b098](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ca0b098b5905b730dee0c9e6b0240fbb30850286))
7
- * merged ([43ecc99](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/43ecc99180622933d7b4e2eb2b422e0f6ce182c3))
63
+ * cls issues ([c783501](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c783501df6bed4be1a052ecebcab7d9191f70568))
64
+ * cls issues ([c0e3a11](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c0e3a11860df5a35b16a265b1297e89ca871d28a))
65
+ * cls issues ([085651d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/085651d0f6422d8602209f4e96065e337044bbbf))
66
+ * fixed conflict ([852469a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/852469a0fb6b4c4bd400764b85c34fb7114e4d0b))
67
+ * fixes ([8b76109](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8b76109e2c232af0a5f60238bbc46f0de9b32f52))
68
+ * lazy fixes ([c633dff](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c633dff21920f6ecd00fa71dcd54c54a46ed6179))
69
+ * lazy stuff ([d09de7c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d09de7cbd9a2be34126ef201359ecae40fe68b28))
70
+ * lazy stuff ([0d225b1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0d225b138f35199ab9bf42189eb9bb17f8131bc5))
71
+ * lazy stuff ([e340450](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e340450a788bc3bf64d5b44f09b87dfd4417c8e2))
72
+ * lazy stuff ([885bfc1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/885bfc141f3fa2567f5bee870c971a442be10d93))
73
+ * lazy things ([e2c9692](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e2c96927baf991626e0d7aa30edd3a3c68535fe7))
74
+ * merged fixes ([65bd926](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/65bd9262e514085579d4e1ce809b08f5428cb043))
75
+ * pipelines ([ca5516b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ca5516be79453eee935efe3c05b2e383ebf55056))
76
+ * pipelines ([70725a7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/70725a720c954da547505767f482320a9fe6c37f))
77
+ * pipelines and conflict ([ad6da72](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ad6da7272cbcfd0989442dc86b7270a8be21b8a8))
78
+ * search ([59ac934](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/59ac9349ac6f0753868f03d7dec4d7156562fb97))
79
+ * tests ([8891299](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8891299d2077248f85e56fa470eac8d15d164208))
80
+ * tests ([1e869fe](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1e869fe4a3dde0d94f17fe4f3ac4433d872bb87c))
81
+ * tests ([167520f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/167520f9fdb00602cae9987560c56be55332fdc7))
82
+ * tests ([b2737bd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b2737bd624c3bf55a906fd3fccde2dd2a9a04ac4))
83
+ * update packages and react lazy ([deb8afd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/deb8afd6e6b79ff8e230e45633857d818e958989))
8
84
 
9
85
 
10
- ### chore
86
+ * Merge branch 'tm-4226-lazy-update' into 'master' ([c39c096](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c39c0962a16009582065b128ecde24da7a12d9c4))
11
87
 
12
- * **release:** 40.0.15 [skip ci] ([be2c42b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/be2c42b306268d6fec673093f8fc323982928de8))
88
+ ## [40.0.19](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.18...v40.0.19) (2024-04-29)
89
+
90
+
91
+ ### Code Refactoring
92
+
93
+ * add page type ([5c9cd19](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5c9cd19dfd95fe80513f7983fa9b8fab36f951db))
94
+ * change to bg colour ([7dbd6a2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7dbd6a25dd2ece52a097c08d5c936f5ec6d14c5d))
95
+ * change to padding ([c2538b5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c2538b5abb02f9b014ec6402d1d99dfd7bb18c92))
96
+ * changes to author/reviewer prefix ([a855232](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a85523253378a811e537dc69579a5f9f1a57c64e))
97
+ * changes to review credits ([9e6fcc3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9e6fcc3a71dfc09bb2f8c78be2813862fe4f1943))
98
+ * correction to fact checker translation key ([e856bf3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e856bf3ed6da60545ef5510464d1ee5b07dd2afd))
99
+ * review credits padding ([ea37b97](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ea37b971777ada496e7e245cf6544d7a726d8425))
100
+
101
+
102
+ * Merge branch 'tm-4330-author-review-credits' into 'master' ([29f850b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/29f850b69ed632c9214de75ef81e247ab715e03f))
103
+
104
+ ## [40.0.18](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.17...v40.0.18) (2024-04-26)
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * update theme ([2b1da17](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2b1da171e50d9f6ae7a32c80b511a728a6cfe0e6))
110
+
111
+ ## [40.0.17](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.16...v40.0.17) (2024-04-24)
112
+
113
+
114
+ ### Bug Fixes
115
+
116
+ * fix typo ([c8cf206](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c8cf206dac8fd0b583c98c63f9a84f81b0c3b94e))
117
+ * fixes for author review credits and info grid ([a9be0b8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a9be0b8530e3273783b4e7cacee4c82b681cfd76))
118
+
119
+
120
+ * Merge branch 'author-review-info-grid' into 'master' ([d15e5e1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d15e5e1da3eed69127ef748d1f5a0c7703d4d379))
121
+
122
+
123
+ ### Tests
124
+
125
+ * fix test ([949d88b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/949d88b453b9469d7f6ea6350b05677d3b075920))
126
+
127
+ ## [40.0.16](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.15...v40.0.16) (2024-04-23)
13
128
 
14
129
 
15
130
  ### Code Refactoring
16
131
 
17
- * change to storybook page template ([39b226d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/39b226daf424347b37aa7253a93b12d794fa768d))
18
132
  * changes to pronoun on author header pages ([6c60a9d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6c60a9d17b53491c471cb4ada7264747e110167f))
19
133
  * changes to review credits or author based on site name ([637cdd7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/637cdd729e9e6df2a2c9c14a9c767a8abf93e481))
20
- * correction to info grid constant template name ([ed6b2c2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ed6b2c20b40e8edcd86830b64ff802b843eec7c2))
21
134
  * correction to typo ([43699dd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/43699dd7364cd631ecbd83874602f90c9dffd6ca))
22
135
 
23
136
 
@@ -29,58 +142,27 @@
29
142
 
30
143
  * fix test ([5c17b33](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/5c17b3313f5f8745952e18261ea187fc0266ee99))
31
144
 
32
- # [41.0.0-beta.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v41.0.0-beta.5...v41.0.0-beta.6) (2024-04-22)
145
+ ## [40.0.15](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.14...v40.0.15) (2024-04-23)
33
146
 
34
147
 
35
148
  ### Bug Fixes
36
149
 
37
150
  * add translation key for iframe button and add template newsletter ([31498bf](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/31498bf48204948346670fe27cf4fc42516bef9b))
38
- * aligned with master and update ([371308d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/371308d1029686d40d3e060935fa983e6cb804f6))
39
- * fix small issue ([db1cf34](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/db1cf34c2f87ef70bdef4eaad8894dcbf696fec4))
40
151
  * fix test ([0517641](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0517641624d5dbe8af803bc8637fe63c38285eca))
41
- * lazy update and theme ([c902489](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c902489caa247081572b9517b3087a2a8aa17047))
42
- * update sitename ([3ca969a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3ca969a1eaf0fabe1f8dfb27a85cfaec96ba9784))
43
- * update theme ([259e0af](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/259e0af2ad6c61fdd3519c50527e5210dbb7e09c))
44
- * update theme ([41ceba1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/41ceba19b742197f984e0da78bacfcbe09813d12))
45
- * update theme ([1142dd4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1142dd42aed337c9fe7873338b174823839ec497))
46
- * update theme and align newsletter ([d4afcdc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d4afcdc586204e000d9b7967495a0fcef2d4bd0c))
47
-
48
-
49
- ### chore
50
-
51
- * **release:** 40.0.10 [skip ci] ([1762789](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/17627894ab4510411e79d389f0b533875bf771fa))
52
- * **release:** 40.0.11 [skip ci] ([b011aeb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b011aebd760e793110146688ff1090942e087c26))
53
- * **release:** 40.0.12 [skip ci] ([adc1198](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/adc119872d4f2909206dd893a891a2a82c350912))
54
- * **release:** 40.0.13 [skip ci] ([b44df9f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b44df9fb8e9ca1d4917044bd74c81568d03b1533))
55
- * **release:** 40.0.14 [skip ci] ([bcb46d8](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bcb46d8d9b18a201769f7af4cd9d334291390917))
56
- * **release:** 40.0.9 [skip ci] ([a2ad164](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a2ad16429dfbcbd669ee79f33631b8582f031060))
57
152
 
58
153
 
59
154
  ### Code Refactoring
60
155
 
61
- * add width ([909f6bf](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/909f6bf2c2b44cfd58f384a2236cfbe2d8c722eb))
62
156
  * change path on storybook ([4e6d658](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4e6d65838e819bf8d6f9f236b577fc104a3a6847))
63
- * change to bg colour ([b2a7e93](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b2a7e938a7a1e8b3927dd433f0104169eead137e))
64
157
  * change to storybook ([86a863b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/86a863b33193b40cbc50f0dbd13196e878cb190f))
65
- * changes to author title ([ab2e1c7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ab2e1c7e5166eac459431011200e70a3fd9c8c31))
158
+ * change to storybook page template ([39b226d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/39b226daf424347b37aa7253a93b12d794fa768d))
66
159
  * changes to info grid author and storybook ([ba149f2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ba149f2ac3af2741a96a5f7e3f1901541ec67a97))
67
- * changes to max width ([b5a88d0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b5a88d08a67150e675352e9ce2fd221e91e15ef1))
68
160
  * changes to storybook order ([39e4743](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/39e4743cc1f8e572227852261a561dc13cbe71e1))
69
- * css vars for review credits ([6dede74](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6dede74a164957e6e2339ffe7b383e6d8faeecd1))
70
- * margin ([20ba4a1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/20ba4a17ba326cc0f5221b2ea3cecf9246b78820))
71
- * remove console log ([364fdbe](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/364fdbe226b910e6620085a8adc1971e1ec76af0))
72
- * review credits initial commit ([4738f77](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4738f7791cba77eb131a8ff955542b35e05e848d))
161
+ * correction to info grid constant template name ([ed6b2c2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ed6b2c20b40e8edcd86830b64ff802b843eec7c2))
73
162
 
74
163
 
75
164
  * Merge branch 'tm-4272-author-info-grid' into 'master' ([61e1ae2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/61e1ae2e586d5459deaa1cd546bb48a42d3ca78f))
76
165
  * Merge branch 'newsletter-iframe' into 'master' ([7b846f6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7b846f6d1fca2636921d93b872f0446457e5de7c))
77
- * Merge branch 'tm-4236-review-credits' into 'master' ([23da2eb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/23da2ebb058f456accd7b8870763f8feb0151311))
78
- * Merge branch 'tm-4131-newsletter' into 'master' ([abab90c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/abab90cd8605193829b40dbc3be51712c96afad3))
79
-
80
-
81
- ### Tests
82
-
83
- * fix test ([7661d48](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7661d480a7665de196a1c75017fb64a6b850ceb6))
84
166
 
85
167
  ## [40.0.14](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.13...v40.0.14) (2024-04-22)
86
168
 
@@ -148,116 +230,6 @@
148
230
 
149
231
  ### Bug Fixes
150
232
 
151
- * search ([59ac934](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/59ac9349ac6f0753868f03d7dec4d7156562fb97))
152
-
153
-
154
- * Merge branch 'tm-4226-lazy-update' into 'beta' ([61531df](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/61531df0e4abe8b3e8261b55e198d97fbef92586))
155
-
156
- # [41.0.0-beta.4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v41.0.0-beta.3...v41.0.0-beta.4) (2024-04-19)
157
-
158
-
159
- ### Bug Fixes
160
-
161
- * cls issues ([c783501](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c783501df6bed4be1a052ecebcab7d9191f70568))
162
- * cls issues ([c0e3a11](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c0e3a11860df5a35b16a265b1297e89ca871d28a))
163
- * cls issues ([085651d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/085651d0f6422d8602209f4e96065e337044bbbf))
164
- * merged lazy and update ([a06a623](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/a06a623d41a2488f62a698c08ba300582ece307e))
165
- * tests ([8891299](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8891299d2077248f85e56fa470eac8d15d164208))
166
-
167
- # [41.0.0-beta.3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v41.0.0-beta.2...v41.0.0-beta.3) (2024-04-10)
168
-
169
-
170
- ### Bug Fixes
171
-
172
- * updated to latest theme version ([c2c88d5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c2c88d5b65e4a1090a961b57bbe011c06d222c1b))
173
-
174
- # [41.0.0-beta.2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v41.0.0-beta.1...v41.0.0-beta.2) (2024-04-10)
175
-
176
-
177
- ### Bug Fixes
178
-
179
- * added prop to remove the author links from operator details ([86f5fbb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/86f5fbbbd5f33e6e15197f1dd2c80862927f4a01))
180
- * aligned with master branch ([b01f700](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b01f70064aefb3c9c486363a75f1a288317e0d59))
181
- * default value fixed ([d6b7e50](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d6b7e50d3f1275634b81b938160bfb1c00427c25))
182
- * fix cookie issue ([7b5652e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7b5652e45ba2712c932f0d27d35f9ed6f8e0435f))
183
- * fix tests ([2f8d490](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2f8d490bbe934644f3a0364c06fb9f0b6b1ced9e))
184
- * fixes ([8b76109](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8b76109e2c232af0a5f60238bbc46f0de9b32f52))
185
- * iframe schema matrix ([dd0947b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/dd0947b779d0c7a26ab48cc9c4db8a9e0e24e3c2))
186
- * merged fixes ([65bd926](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/65bd9262e514085579d4e1ce809b08f5428cb043))
187
- * merged fixes ([efc85d9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/efc85d9c3614e4d59bffcd5d00c20913e02b9614))
188
- * operator info grid title ([600b691](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/600b6918285872961d0a71f1722c84a527cf03db))
189
- * remove collapse and add title with placeholder ([1719d6b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1719d6bb47809012f80d7af62d88ee7ff0dfe0cb))
190
- * removed exclude of newsletter ([1d60f21](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1d60f21fcbb2f15deca8cc0bbc295ffe3b5b22f5))
191
- * removed uneeded import of footer nav ([aa4a8d3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa4a8d3de6c99e66f91b9de0a2ed2ef5c324bc64))
192
- * update core theme ([09636dc](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/09636dc69b2319d8a100a27cd5180fae56642221))
193
- * update version ([1f41a47](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1f41a474bad5ba7c424bb82f7b7d770ecf98992e))
194
- * updated core theme ([905bb1c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/905bb1c1b6fbc83351bde304cb2e9388265d0651))
195
-
196
-
197
- ### chore
198
-
199
- * **release:** 40.0.4 [skip ci] ([7746d9b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/7746d9b86d3746a0a035745993c17e48e6c24ad0))
200
- * **release:** 40.0.5 [skip ci] ([fd9cf21](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/fd9cf21974cfb4ed14523e5a0ac6d060cab7bdaf))
201
- * **release:** 40.0.6 [skip ci] ([32ccb43](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/32ccb4368f032d891c259e4676c7673455381d04))
202
- * **release:** 40.0.7 [skip ci] ([d15832b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d15832b6a7f7487f08314bd5265a095049ebef0d))
203
- * **release:** 40.0.8 [skip ci] ([21c9a74](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/21c9a747278d25f901551493c660d0f66bac426e))
204
-
205
-
206
- ### Code Refactoring
207
-
208
- * changes to cookie ([bff1697](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bff169754b68e7b973f76651e1b38a8084a82f3a))
209
-
210
-
211
- ### Config
212
-
213
- * update theme ([9a0e7c2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9a0e7c2daa32ab2017257ee65a3d397e9646f451))
214
-
215
-
216
- * Merge branch 'tm-4226-lazy-update' into beta ([4c75a6d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/4c75a6d605c453867b6f94d492a38816af574b0f))
217
- * Merge branch 'tm-4190-author-links' into 'master' ([b9e999d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b9e999d50a6c7df3491cdd773247476f3d8d2265))
218
- * Merge branch 'tm-4190-author-links' into 'master' ([c3a089b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c3a089b9006da2684bc3331325e47470a1e2ef4a))
219
- * Merge branch 'tm-4240-cookie-improvements' into 'master' ([03ef1b4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/03ef1b402348ba9e73f733d06ba78f8cefb908fa))
220
- * Merge branch 'tm-4235-nsa-footer-newsletter' into 'master' ([d7028b7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d7028b717051c88ebbd6f803dceedb75b56f043c))
221
- * Merge branch 'tm-4204-iframe-schema-matrix' into 'master' ([c9fed04](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c9fed04acf004cb82332ffdab74c8c1104f1391f))
222
- * Merge branch 'tm-4015-cookie' into 'master' ([3b21bb5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3b21bb5e92888bc166a5b116e8632705546e8cd1))
223
- * Merge branch 'tm-4186-infogrid' into 'master' ([1bf7bdd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1bf7bdd86c1c4bfebc667146c6e13beb9b6a78a5))
224
-
225
- # [41.0.0-beta.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.3...v41.0.0-beta.1) (2024-04-09)
226
-
227
-
228
- ### Bug Fixes
229
-
230
- <<<<<<< HEAD
231
- * lazy fixes ([c633dff](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c633dff21920f6ecd00fa71dcd54c54a46ed6179))
232
- * lazy stuff ([d09de7c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d09de7cbd9a2be34126ef201359ecae40fe68b28))
233
- * lazy stuff ([0d225b1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/0d225b138f35199ab9bf42189eb9bb17f8131bc5))
234
- * lazy stuff ([e340450](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e340450a788bc3bf64d5b44f09b87dfd4417c8e2))
235
- * lazy stuff ([885bfc1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/885bfc141f3fa2567f5bee870c971a442be10d93))
236
- * lazy things ([e2c9692](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/e2c96927baf991626e0d7aa30edd3a3c68535fe7))
237
- * merged with master branch ([c73f5df](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/c73f5dff5b0a34cd2f9d9544a558c6db7e3d313f))
238
- * pipelines and conflict ([ad6da72](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ad6da7272cbcfd0989442dc86b7270a8be21b8a8))
239
- * tests ([1e869fe](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/1e869fe4a3dde0d94f17fe4f3ac4433d872bb87c))
240
- * tests ([167520f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/167520f9fdb00602cae9987560c56be55332fdc7))
241
- * tests ([b2737bd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b2737bd624c3bf55a906fd3fccde2dd2a9a04ac4))
242
- * update packages and react lazy ([deb8afd](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/deb8afd6e6b79ff8e230e45633857d818e958989))
243
-
244
-
245
- ### chore
246
-
247
- * **release:** 27.0.0-beta.1 [skip ci] ([83b9e52](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/83b9e52348d355c3db86c00aa340a4c8a9ecdd81))
248
-
249
-
250
- * Merge branch 'tm-4226-lazy-update' into 'beta' ([2804c8d](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2804c8d34730ebefd659b80480b8f26c8507b149))
251
- * Merge branch 'tm-4226-lazy-update' into 'beta' ([b2ed5c9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/b2ed5c9735b17c7cdd4e832c7b7faa50a3076d91))
252
- * Merge branch 'tm-4226-lazy-update' into 'beta' ([91cf0a9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/91cf0a9b9771c365267b7b2ff63097f34f7c07cc))
253
- * Merge branch 'tm-4226-lazy-update' into 'beta' ([56fd65c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/56fd65ce882861c5c97aa5139543a136bd98be92))
254
- * Merge branch 'tm-4226-lazy-update' into 'beta' ([6359197](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6359197b3dd2989e8a186fd7450814a5fd7d97f0))
255
- * Merge branch 'tm-3450-gastby-upgrade' into 'beta' ([2942be2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2942be28bf565fd804b5db587e60a29e646304db))
256
-
257
- <<<<<<< HEAD
258
- # [27.0.0-beta.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v26.0.4...v27.0.0-beta.1) (2023-07-10)
259
- =======
260
- =======
261
233
  * added prop to remove the author links from operator details ([86f5fbb](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/86f5fbbbd5f33e6e15197f1dd2c80862927f4a01))
262
234
  * default value fixed ([d6b7e50](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d6b7e50d3f1275634b81b938160bfb1c00427c25))
263
235
  * operator info grid title ([600b691](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/600b6918285872961d0a71f1722c84a527cf03db))
@@ -316,7 +288,6 @@
316
288
 
317
289
  * removed uneeded import of footer nav ([aa4a8d3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa4a8d3de6c99e66f91b9de0a2ed2ef5c324bc64))
318
290
 
319
- >>>>>>> tm-4226-lazy-update
320
291
  ## [40.0.3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v40.0.2...v40.0.3) (2024-04-03)
321
292
 
322
293
 
@@ -2527,23 +2498,17 @@
2527
2498
  * upgrade ([65a15da](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/65a15daaaf818085bb34eee14360400ac9a4dcc8))
2528
2499
 
2529
2500
  # [27.0.0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v26.0.6...v27.0.0) (2023-07-12)
2530
- >>>>>>> master
2531
2501
 
2532
2502
 
2533
2503
  ### Bug Fixes
2534
2504
 
2535
2505
  * change type ([d34a5b9](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d34a5b9df28f772de616b2790442188a9de96a02))
2536
2506
  * clonflict ([dba8efe](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/dba8efe251aacbc6bc089f54dd3c87d9371723b7))
2537
- <<<<<<< HEAD
2538
- * gatsby upgrade changes ([d47d09b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d47d09bca3741c9d0bedf04f213115e093c8c01f))
2539
- * gatsby upgrade changes ([f1e1a6f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f1e1a6fc3ef244275045ef39bfcbea4ff4f416d1))
2540
- =======
2541
2507
  * content module ([3f43ad0](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3f43ad0f671601e60201236cfdc9d4ec51df559c))
2542
2508
  * gatsby upgrade changes ([d47d09b](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/d47d09bca3741c9d0bedf04f213115e093c8c01f))
2543
2509
  * gatsby upgrade changes ([f1e1a6f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f1e1a6fc3ef244275045ef39bfcbea4ff4f416d1))
2544
2510
  * pipeline changes and update ([36b1874](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/36b1874aaccd7515c673491768dead169e8ae41b))
2545
2511
  * pipeline changes and update ([bb5763e](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/bb5763e00b83e36460435218fe83a9f1cd90a5d2))
2546
- >>>>>>> master
2547
2512
  * update Bata with master version matrix ([8ee3d6c](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/8ee3d6c1887c1a4a34c91e405113b2b6e93bd352))
2548
2513
  * update version ([6c1a1d6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/6c1a1d6f95e32a5fa84df022d61f683e83f84ab4))
2549
2514
 
@@ -2556,20 +2521,14 @@
2556
2521
  * **release:** 7.2.4-beta.3 [skip ci] ([55104b3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/55104b3e0aedd9ab7e00ad721207daa79749c43b))
2557
2522
 
2558
2523
 
2559
- <<<<<<< HEAD
2560
- * Merge branch 'tm-3450-gastby-upgrade' into 'beta' ([2942be2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/2942be28bf565fd804b5db587e60a29e646304db))
2561
- =======
2562
2524
  * Merge branch 'tm-3450-gastby-upgrade' into 'master' ([45e1b96](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/45e1b963c41a3695832b022e58331c3cbaa3c7c8))
2563
2525
  * Merge branch 'tm-3538-content-module' into 'master' ([ee2b9d5](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ee2b9d57163ff3548a7c89b3fd9577d541bf6dd7))
2564
- >>>>>>> master
2565
2526
  * Merge branch 'beta' into 'tm-3450-gastby-upgrade' ([21bdf1f](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/21bdf1fef34af1aea2b48779361913dd809adb08))
2566
2527
  * Merge branch 'update-beta-master-version-matrix' into 'beta' ([aa76c21](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/aa76c21d233111a2df463ad6ec47eef04cad3d05))
2567
2528
  * Merge branch 'tm-3076-head-api' into 'beta' ([3ad1cac](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/3ad1cac64078326cc7f6bcdab6c7b70b2f2aad8a))
2568
2529
  * Merge branch 'tm-3076-head-api' into 'beta' ([090bac3](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/090bac3b4b067cf3418112b624b26ccc19e4bcd7))
2569
2530
  * Merge branch 'tm-3076-head-api' into 'beta' ([ae207e4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/ae207e4d6ea26c353d46cd1699e6b7e7ddfaeacb))
2570
2531
 
2571
- <<<<<<< HEAD
2572
- =======
2573
2532
  ## [26.0.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v26.0.5...v26.0.6) (2023-07-11)
2574
2533
 
2575
2534
 
@@ -2585,7 +2544,6 @@
2585
2544
 
2586
2545
  * add hreflangs ([9328993](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/9328993729fa13890fe106fc3e4b505c8ebabf36))
2587
2546
 
2588
- >>>>>>> master
2589
2547
  ## [26.0.4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v26.0.3...v26.0.4) (2023-07-04)
2590
2548
 
2591
2549
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "41.0.0-beta.7",
3
+ "version": "41.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": "31.0.0-beta.3",
28
+ "gatsby-core-theme": "30.1.1",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-plugin-sitemap": "^3.3.0",
31
31
  "gatsby-transformer-sharp": "^5.11.0",
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { render } from '@testing-library/react';
2
+ import { render, waitFor } from '@testing-library/react';
3
3
  import TemplateThree from '.';
4
4
  import getPaymentData from '../../../../../../tests/factories/cards/payment.factory';
5
5
 
@@ -40,4 +40,25 @@ describe('TemplateThree', () => {
40
40
  expect(pointElement).toBeInTheDocument();
41
41
  });
42
42
  });
43
+
44
+ it('renders five star rating', async () => {
45
+ const paymentData = getPaymentData();
46
+ const { container } = render(<TemplateThree item={paymentData} />);
47
+
48
+ await waitFor(() => {
49
+ expect(container.querySelector('.starRatingContainer')).toBeTruthy();
50
+ expect(container.querySelectorAll('.starRatingContainer span').length).toBe(5);
51
+ });
52
+ });
53
+
54
+ it('renders one star rating', async () => {
55
+ const paymentData = getPaymentData();
56
+ const { container } = render(<TemplateThree item={paymentData} useOneStarRating />);
57
+
58
+ await waitFor(() => {
59
+ expect(container.querySelector('.starRatingContainer')).toBeTruthy();
60
+ expect(container.querySelector('.fullStar')).toBeTruthy();
61
+ expect(container.querySelectorAll('.starRatingContainer span').length).toBe(3);
62
+ });
63
+ });
43
64
  });
@@ -1,7 +1,7 @@
1
1
  :global {
2
2
  // TODO: Remove line 1 - 6 when background color fields in Hercules are added
3
3
  .info_grid {
4
- background: #f3f2f2;
4
+ background: #ffffff;
5
5
  }
6
6
  .operator_information_block {
7
7
  background: #f3f2f2;
@@ -10,17 +10,9 @@ import {
10
10
  import { MdInfo } from '@react-icons/all-files/md/MdInfo';
11
11
  import { MdPortrait } from '@react-icons/all-files/md/MdPortrait';
12
12
  import getOperatorData from '../../../../../tests/factories/pages/operator.factory';
13
- import getAuthorList from '../../../../../tests/factories/authors/author.factory';
14
13
  import InfoGrid from '.';
15
14
 
16
15
  const pageData = getOperatorData();
17
- const authorPageData = {
18
- ...pageData,
19
- relation: getAuthorList({})[1],
20
- template: 'author',
21
- type: 'author',
22
- pageTemplate: 'author',
23
- };
24
16
 
25
17
  export default {
26
18
  title: 'Theme/Modules/Template Blocks/Info Grid/Template One',
@@ -116,9 +108,3 @@ const Template = (args) => (
116
108
 
117
109
  export const Default = Template.bind({});
118
110
  Default.args = {};
119
-
120
- export const TemplateThree = Template.bind({});
121
- TemplateThree.args = {
122
- page: authorPageData,
123
- templateThree: true,
124
- };