@newskit-render/core 2.5.0 → 2.8.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,46 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.8.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.8.0-alpha.0...@newskit-render/core@2.8.0) (2022-10-14)
7
+
8
+ **Note:** Version bump only for package @newskit-render/core
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.7.2](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.7.2-alpha.0...@newskit-render/core@2.7.2) (2022-10-14)
15
+
16
+ **Note:** Version bump only for package @newskit-render/core
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.7.1](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.7.1-alpha.0...@newskit-render/core@2.7.1) (2022-10-14)
23
+
24
+ **Note:** Version bump only for package @newskit-render/core
25
+
26
+
27
+
28
+
29
+
30
+ # [2.7.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.7.0-alpha.0...@newskit-render/core@2.7.0) (2022-10-13)
31
+
32
+ **Note:** Version bump only for package @newskit-render/core
33
+
34
+
35
+
36
+
37
+
38
+ # [2.6.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.6.0-alpha.0...@newskit-render/core@2.6.0) (2022-10-13)
39
+
40
+ **Note:** Version bump only for package @newskit-render/core
41
+
42
+
43
+
44
+
45
+
6
46
  # [2.5.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.5.0-alpha.0...@newskit-render/core@2.5.0) (2022-10-12)
7
47
 
8
48
  **Note:** Version bump only for package @newskit-render/core
package/css/index.ts CHANGED
@@ -2,7 +2,45 @@ import { css } from 'newskit'
2
2
 
3
3
  export const GlobalStyling = css`
4
4
  @font-face {
5
- font-family: GillSansMTStd-Medium;
5
+ font-family: The Sun;
6
+ src: url('/fonts/TheSun-Bold.woff2') format('woff2'),
7
+ url('/fonts/TheSun-Bold.woff') format('woff'),
8
+ url('/fonts/TheSun-Bold.ttf') format('truetype');
9
+ font-style: normal;
10
+ font-weight: 700;
11
+ font-stretch: normal;
12
+ font-display: swap;
13
+ }
14
+ @font-face {
15
+ font-family: The Sun;
16
+ src: url('/fonts/TheSun-HeavyNarrow.woff2') format('woff2'),
17
+ url('/fonts/TheSun-HeavyNarrow.woff') format('woff'),
18
+ url('/fonts/TheSun-HeavyNarrow.ttf') format('truetype');
19
+ font-style: normal;
20
+ font-weight: 700;
21
+ font-stretch: condensed;
22
+ font-display: swap;
23
+ }
24
+ @font-face {
25
+ font-family: The Sun;
26
+ src: url('/fonts/TheSun-Regular.woff2') format('woff2'),
27
+ url('/fonts/TheSun-Regular.woff') format('woff'),
28
+ url('/fonts/TheSun-Regular.ttf') format('truetype');
29
+ font-style: normal;
30
+ font-weight: 400;
31
+ font-display: swap;
32
+ }
33
+ @font-face {
34
+ font-family: The Sun;
35
+ src: url('/fonts/TheSun-Medium.woff2') format('woff2'),
36
+ url('/fonts/TheSun-Medium.woff') format('woff'),
37
+ url('/fonts/TheSun-Medium.ttf') format('truetype');
38
+ font-style: normal;
39
+ font-weight: 500;
40
+ font-display: swap;
41
+ }
42
+ @font-face {
43
+ font-family: Gill Sans MT Std;
6
44
  src: url('/fonts/GillSansMTStd-Medium.otf');
7
45
  }
8
46
  @font-face {
@@ -10,11 +48,11 @@ export const GlobalStyling = css`
10
48
  src: url('/fonts/TimesDigital-Bold.ttf') format('truetype');
11
49
  }
12
50
  @font-face {
13
- font-family: TimesModern-Regular;
14
- src: url('/fonts/TimesDigital-Regular.ttf') format('truetype');
51
+ font-family: Times Modern;
52
+ src: url('/fonts/TimesModern-Regular.otf') format('truetype');
15
53
  }
16
54
  @font-face {
17
- font-family: TimesDigitalW04-Regular;
55
+ font-family: Times Digital W04 Regular;
18
56
  src: url('/fonts/TimesDigitalW04-Regular.ttf') format('truetype');
19
57
  }
20
58
  @font-face {
@@ -1,12 +1,12 @@
1
- describe('Book a holiday stop', () => {
2
- beforeEach(() => {
3
- cy.GetAcsSession()
4
- cy.mockConsentAndVisit('/account/holiday-stop/book')
5
- })
1
+ // describe('Book a holiday stop', () => {
2
+ // beforeEach(() => {
3
+ // cy.GetAcsSession()
4
+ // cy.mockConsentAndVisit('/account/holiday-stop/book')
5
+ // })
6
6
 
7
- it('should display book a holiday stop page', () => {
8
- cy.get('a[href="/account/subscription-and-billing"]').should('be.visible')
9
- cy.contains('[data-testid="introduction-title"]', 'Book a holiday stop')
10
- cy.contains('Add a Holiday Stop')
11
- })
12
- })
7
+ // it('should display book a holiday stop page', () => {
8
+ // cy.get('a[href="/account/subscription-and-billing"]').should('be.visible')
9
+ // cy.contains('[data-testid="introduction-title"]', 'Book a holiday stop')
10
+ // cy.contains('Add a Holiday Stop')
11
+ // })
12
+ // })
@@ -1,4 +1,12 @@
1
1
  export const fontList = [
2
+ {
3
+ url: '/fonts/TimesModern-Regular.otf',
4
+ format: 'otf',
5
+ },
6
+ {
7
+ url: '/fonts/TimesDigitalW04-Regular.ttf',
8
+ format: 'ttf',
9
+ },
2
10
  {
3
11
  url: '/fonts/dmsans-regular-webfont.woff2',
4
12
  format: 'woff2',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/core",
3
- "version": "2.5.0",
3
+ "version": "2.8.0",
4
4
  "description": "Newskit Render - Core package",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -33,24 +33,24 @@
33
33
  "analyze": "ANALYZE=true next build"
34
34
  },
35
35
  "dependencies": {
36
- "@apollo/client": "3.4.16",
36
+ "@apollo/client": "3.7.0",
37
37
  "@emotion-icons/material": "3.14.0",
38
38
  "@emotion-icons/material-outlined": "3.14.0",
39
39
  "@emotion/react": "11.10.4",
40
40
  "@emotion/styled": "11.10.4",
41
- "@newskit-render/api": "^1.1.0",
42
- "@newskit-render/auth": "^1.0.1",
43
- "@newskit-render/checkout": "^1.0.6",
44
- "@newskit-render/feature-flags": "^1.0.0",
45
- "@newskit-render/feed": "^1.0.1",
46
- "@newskit-render/my-account": "^3.4.1",
47
- "@newskit-render/shared-components": "^1.3.0",
48
- "@newskit-render/standalone-components": "^1.3.0",
49
- "@newskit-render/validation": "^1.1.0",
41
+ "@newskit-render/api": "^1.2.0",
42
+ "@newskit-render/auth": "^1.1.0",
43
+ "@newskit-render/checkout": "^1.3.0",
44
+ "@newskit-render/feature-flags": "^1.1.0",
45
+ "@newskit-render/feed": "^1.1.0",
46
+ "@newskit-render/my-account": "^3.6.0",
47
+ "@newskit-render/shared-components": "^1.6.0",
48
+ "@newskit-render/standalone-components": "^1.5.0",
49
+ "@newskit-render/validation": "^1.2.0",
50
50
  "cross-fetch": "3.1.5",
51
51
  "graphql": "15.6.0",
52
52
  "lodash.get": "4.4.2",
53
- "newrelic": "7.1.0",
53
+ "newrelic": "9.2.0",
54
54
  "newskit": "6.1.0",
55
55
  "next": "12.3.0",
56
56
  "react": "18.2.0",