gatsby-core-theme 18.0.11 → 18.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,30 @@
1
+ ## [18.0.13](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v18.0.12...v18.0.13) (2023-02-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * revert to old cta ([e96a8e2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/e96a8e20ce08d4e352147dba1b62326033ba81a3))
7
+
8
+
9
+ * Merge branch 'revert-to-old-cta' into 'master' ([46affeb](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/46affebebf21a5cf8ce237492888c5bca5c5aa0f))
10
+
11
+ ## [18.0.12](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v18.0.11...v18.0.12) (2023-02-15)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * tracker page styling ([227cd26](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/227cd26719d65f70c2e61e6790be940bdd25dd55))
17
+
18
+
19
+ ### Code Refactoring
20
+
21
+ * remove adding styles from relations.js ([52a536e](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/52a536e47ab750e32861fb6d084c08958ee2f1d4))
22
+ * remove test for adding styles from relations.js ([4b52dcf](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/4b52dcf84d27a6e201fa0fc42d4b8dfea335754a))
23
+
24
+
25
+ * Merge branch 'quickfix-remove-styles-from-relations' into 'master' ([8f0ba50](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/8f0ba5033816f29a80691ec803d33bd7c6d88052))
26
+ * Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/gatsby-themes ([3ea541d](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/3ea541d36609c3cee5335c28d0f798488fc31ce5))
27
+
1
28
  ## [18.0.11](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v18.0.10...v18.0.11) (2023-02-14)
2
29
 
3
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "18.0.11",
3
+ "version": "18.0.13",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "main": "index.js",
6
6
  "GATSBY_RECAPTCHA_SITEKEY": "6LfoyvMUAAAAAO4nl_MQnqHb4XdHxEiu5cXgIqeB",
@@ -5,7 +5,7 @@ import { prettyTracker, imagePrettyUrl } from '~helpers/getters';
5
5
  import LazyImage from '~hooks/lazy-image';
6
6
  import isSticky from '~hooks/stickyOnScroll';
7
7
  import Bonus from '~atoms/bonus';
8
- import OperatorCta from '~atoms/operator-cta-two';
8
+ import OperatorCta from '~atoms/operator-cta';
9
9
  import StarRating from '~molecules/star-rating';
10
10
  import Tnc from '~molecules/tnc';
11
11
  import { Context } from '~context/MainProvider';
@@ -6,7 +6,7 @@ import Bonus from '~atoms/bonus';
6
6
  import SellingPoints from '~atoms/selling-points';
7
7
  import StarRating from '~molecules/star-rating/one-star';
8
8
  import ReviewLink from '../../../atoms/review-link';
9
- import OperatorCta from '~atoms/operator-cta-two';
9
+ import OperatorCta from '~atoms/operator-cta';
10
10
  import { prettyTracker, imagePrettyUrl, getAltText } from '~helpers/getters';
11
11
  import LazyImage from '~hooks/lazy-image';
12
12
 
@@ -54,10 +54,5 @@ export const processRelations = (page, pageType, transformedPages, market, data,
54
54
  default:
55
55
  break;
56
56
  }
57
-
58
- // Add styles for page from styles object
59
- if (hasRelation && page.style_id !== null && Object.values(data.page_styles).length) {
60
- transformedPages[market][pageType][index].page_styles = data.page_styles[page.style_id];
61
- }
62
57
  }
63
58
  };
@@ -71,20 +71,6 @@ describe('Processor Relations', () => {
71
71
  });
72
72
  expect(pages[market][type]).toHaveLength(1);
73
73
  });
74
- test('Styles', () => {
75
- const type = 'game';
76
- const market = 'ie_en';
77
- const data = getData({ template: type });
78
- const pages = {
79
- [market]: { [type]: getPageList({ template: type, style_id: 1 }) },
80
- };
81
-
82
- pages[market][type].forEach((page, index) => {
83
- processRelations(page, type, pages, market, data, index);
84
- expect(page.page_styles.style).toEqual('Test Style');
85
- });
86
- expect(pages[market][type]).toHaveLength(1);
87
- });
88
74
  });
89
75
 
90
76
  afterEach(() => {
@@ -22,10 +22,10 @@
22
22
 
23
23
  @include min(laptop) {
24
24
  grid:
25
- 'nav nav nav nav'
26
- 'header header header header'
27
- '. main main .'
28
- 'footer footer footer footer'
29
- / 1fr fit-content(var(--main-container-max)) var(--side-container) 1fr;
25
+ "nav"
26
+ "header"
27
+ "main"
28
+ "aside"
29
+ "footer"/1fr;
30
30
  }
31
31
  }