gatsby-core-theme 19.0.0 → 19.0.1

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,25 @@
1
+ ## [19.0.1](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v19.0.0...v19.0.1) (2023-04-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * prefilled modules bug ([abebf3e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/abebf3e1becbeef1087369f3e6341af5fdae2283))
7
+
8
+
9
+ ### Code Refactoring
10
+
11
+ * add rating text in element ([67790ef](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/67790ef8bb8ef34d12a462c7d48630984be1f058))
12
+ * correction to avoid empty div ([39f564e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/39f564ef9f4d9ee8ba4684f74a763d62f84c48c1))
13
+ * correction to bonus ([d9315e5](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/d9315e5d3852979eaade04a530bb430935d5b04f))
14
+ * update settings site name for IL ([c7dbe66](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/c7dbe669809dec9ebd374980dfe552a9cc624f29))
15
+ * update settings site name for IL ([7b253e9](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7b253e9b14eac1115de0ccd1edeba751bab1f0b8))
16
+
17
+
18
+ * Merge branch 'tm-3309-operator-cards' into 'master' ([dc92bfc](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/dc92bfcc4042afd560a146142bf0276adfcfa7cf))
19
+ * Merge branch 'master' into tm-3309-operator-cards ([0531f69](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/0531f69b2268853690769dc454e7c830e354af83))
20
+ * Merge branch 'tm-3310-add-slot-cards' into 'master' ([209051b](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/209051b91ad808ed91161c260ab9a9693f2fbb74))
21
+ * Merge branch 'master' into 'tm-3310-add-slot-cards' ([cbe5a69](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/cbe5a696d87f67b48aa20d586f07e35158c60318))
22
+
1
23
  # [19.0.0](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v18.0.28...v19.0.0) (2023-04-03)
2
24
 
3
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "19.0.0",
3
+ "version": "19.0.1",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -11,7 +11,7 @@ const OneStar = ({ rating, numOfStars = 5, active = true, showLabel = false, ico
11
11
 
12
12
  return (
13
13
  <div className={`${styles.starRatingContainer} ${!active && styles.inactive}`}>
14
- {showLabel && translate(translations, 'rating', 'Rating')}
14
+ {showLabel && <span>{translate(translations, 'rating', 'Rating')}</span>}
15
15
  {!icon ? <span className={styles.fullStar} /> : icon}
16
16
  {getRating(rating)}
17
17
  <span>/</span>
@@ -21,16 +21,16 @@ export default {
21
21
  keep_page_extra_fields: {
22
22
  operator: {
23
23
  'norskespilleautomater.com': true, // needed for inoperative / placeholder fields
24
- 'Irishluck.ie': true, // needed for card background image
24
+ 'irishluck.ie': true, // needed for card background image
25
25
  'playcasino.co.za': true,
26
26
  },
27
27
  article: {
28
- 'Irishluck.ie': true, // needed for card background image
28
+ 'irishluck.ie': true, // needed for card background image
29
29
  'norskespilleautomater.com': true,
30
30
  'playcasino.co.za': true,
31
31
  },
32
32
  game: {
33
- 'Irishluck.ie': true, // needed for card background image
33
+ 'irishluck.ie': true, // needed for card background image
34
34
  'norskespilleautomater.com': true,
35
35
  'playcasino.co.za': true,
36
36
  },
@@ -81,6 +81,7 @@ export function clonePageForCards(item, style) {
81
81
  style !== 'comparison_table' &&
82
82
  style !== 'template_one' &&
83
83
  style !== 'template_two' &&
84
+ object.relation &&
84
85
  object.relation.bonus
85
86
  ) {
86
87
  delete object.relation.bonus.deposit_methods;
@@ -370,6 +370,8 @@ export default {
370
370
  processSearchData(searchData, fs);
371
371
  }
372
372
 
373
+ pagesCloned = cloneDeep(transformedPages[market]);
374
+
373
375
  // fill market sections
374
376
  if (data.market_sections[market]) {
375
377
  data.market_sections[market] = processSections(
@@ -380,8 +382,6 @@ export default {
380
382
  );
381
383
  }
382
384
 
383
- pagesCloned = cloneDeep(transformedPages[market]);
384
-
385
385
  // fill page sections
386
386
  if (transformedPages[market]) {
387
387
  Object.keys(transformedPages[market]).forEach((pageType) => {