@newskit-render/core 2.39.7-alpha.0 → 2.40.0-alpha.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/README.md CHANGED
@@ -271,4 +271,4 @@ code here
271
271
 
272
272
  This comment is to denote that the line or lines in between are effected by the running of the [@newskit-render/create-render-app package](https://github.com/newscorp-ghfb/ncu-newskit-render/tree/master/packages/create-render-app).
273
273
 
274
- If you our touching / modifiying code with these comments you need to be aware that you may affect the successful running of the [@newskit-render/create-render-app package](https://github.com/newscorp-ghfb/ncu-newskit-render/tree/master/packages/create-render-app)
274
+ If you are touching / modifiying code with these comments you need to be aware that you may affect the successful running of the [@newskit-render/create-render-app package](https://github.com/newscorp-ghfb/ncu-newskit-render/tree/master/packages/create-render-app)
@@ -104,27 +104,30 @@ exports[`Recommendation render related article page when data is null page 1`] =
104
104
  <div
105
105
  class="css-1k3e0au"
106
106
  >
107
- <svg
108
- aria-hidden="true"
107
+ <button
109
108
  aria-label="Mobile Menu Button"
110
- class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
109
+ class="css-b1ufx8"
111
110
  data-testid="mobile-menu-btn"
112
- fill="currentColor"
113
- focusable="false"
114
- overrides="[object Object]"
115
- role="button"
116
- tabindex="0"
117
- viewBox="0 0 24 24"
118
- xmlns="http://www.w3.org/2000/svg"
111
+ type="button"
119
112
  >
120
- <path
121
- d="M0 0h24v24H0z"
122
- fill="none"
123
- />
124
- <path
125
- d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
126
- />
127
- </svg>
113
+ <svg
114
+ aria-hidden="true"
115
+ class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
116
+ fill="currentColor"
117
+ focusable="false"
118
+ overrides="[object Object]"
119
+ viewBox="0 0 24 24"
120
+ xmlns="http://www.w3.org/2000/svg"
121
+ >
122
+ <path
123
+ d="M0 0h24v24H0z"
124
+ fill="none"
125
+ />
126
+ <path
127
+ d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
128
+ />
129
+ </svg>
130
+ </button>
128
131
  </div>
129
132
  </div>
130
133
  <div
@@ -104,27 +104,30 @@ exports[`getServerSideProps Homepage 1`] = `
104
104
  <div
105
105
  class="css-1k3e0au"
106
106
  >
107
- <svg
108
- aria-hidden="true"
107
+ <button
109
108
  aria-label="Mobile Menu Button"
110
- class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
109
+ class="css-b1ufx8"
111
110
  data-testid="mobile-menu-btn"
112
- fill="currentColor"
113
- focusable="false"
114
- overrides="[object Object]"
115
- role="button"
116
- tabindex="0"
117
- viewBox="0 0 24 24"
118
- xmlns="http://www.w3.org/2000/svg"
111
+ type="button"
119
112
  >
120
- <path
121
- d="M0 0h24v24H0z"
122
- fill="none"
123
- />
124
- <path
125
- d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
126
- />
127
- </svg>
113
+ <svg
114
+ aria-hidden="true"
115
+ class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
116
+ fill="currentColor"
117
+ focusable="false"
118
+ overrides="[object Object]"
119
+ viewBox="0 0 24 24"
120
+ xmlns="http://www.w3.org/2000/svg"
121
+ >
122
+ <path
123
+ d="M0 0h24v24H0z"
124
+ fill="none"
125
+ />
126
+ <path
127
+ d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
128
+ />
129
+ </svg>
130
+ </button>
128
131
  </div>
129
132
  </div>
130
133
  <div
@@ -104,27 +104,30 @@ exports[`Recommendation render related article page when data is null page 1`] =
104
104
  <div
105
105
  class="css-1k3e0au"
106
106
  >
107
- <svg
108
- aria-hidden="true"
107
+ <button
109
108
  aria-label="Mobile Menu Button"
110
- class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
109
+ class="css-b1ufx8"
111
110
  data-testid="mobile-menu-btn"
112
- fill="currentColor"
113
- focusable="false"
114
- overrides="[object Object]"
115
- role="button"
116
- tabindex="0"
117
- viewBox="0 0 24 24"
118
- xmlns="http://www.w3.org/2000/svg"
111
+ type="button"
119
112
  >
120
- <path
121
- d="M0 0h24v24H0z"
122
- fill="none"
123
- />
124
- <path
125
- d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
126
- />
127
- </svg>
113
+ <svg
114
+ aria-hidden="true"
115
+ class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
116
+ fill="currentColor"
117
+ focusable="false"
118
+ overrides="[object Object]"
119
+ viewBox="0 0 24 24"
120
+ xmlns="http://www.w3.org/2000/svg"
121
+ >
122
+ <path
123
+ d="M0 0h24v24H0z"
124
+ fill="none"
125
+ />
126
+ <path
127
+ d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
128
+ />
129
+ </svg>
130
+ </button>
128
131
  </div>
129
132
  </div>
130
133
  <div
@@ -104,27 +104,30 @@ exports[`Article should render tile and sub title 1`] = `
104
104
  <div
105
105
  class="css-1k3e0au"
106
106
  >
107
- <svg
108
- aria-hidden="true"
107
+ <button
109
108
  aria-label="Mobile Menu Button"
110
- class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
109
+ class="css-b1ufx8"
111
110
  data-testid="mobile-menu-btn"
112
- fill="currentColor"
113
- focusable="false"
114
- overrides="[object Object]"
115
- role="button"
116
- tabindex="0"
117
- viewBox="0 0 24 24"
118
- xmlns="http://www.w3.org/2000/svg"
111
+ type="button"
119
112
  >
120
- <path
121
- d="M0 0h24v24H0z"
122
- fill="none"
123
- />
124
- <path
125
- d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
126
- />
127
- </svg>
113
+ <svg
114
+ aria-hidden="true"
115
+ class="css-11lepi0 css-18cthx4-EmotionIconBase ex0cdmw0"
116
+ fill="currentColor"
117
+ focusable="false"
118
+ overrides="[object Object]"
119
+ viewBox="0 0 24 24"
120
+ xmlns="http://www.w3.org/2000/svg"
121
+ >
122
+ <path
123
+ d="M0 0h24v24H0z"
124
+ fill="none"
125
+ />
126
+ <path
127
+ d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
128
+ />
129
+ </svg>
130
+ </button>
128
131
  </div>
129
132
  </div>
130
133
  <div
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/core",
3
- "version": "2.39.7-alpha.0",
3
+ "version": "2.40.0-alpha.0",
4
4
  "description": "Newskit Render - Core package",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -41,12 +41,12 @@
41
41
  "@emotion/styled": "11.10.4",
42
42
  "@newskit-render/api": "^1.6.3",
43
43
  "@newskit-render/auth": "^1.3.9",
44
- "@newskit-render/checkout": "^2.2.5-alpha.0",
44
+ "@newskit-render/checkout": "^2.2.5-alpha.1",
45
45
  "@newskit-render/feature-flags": "^1.4.10",
46
46
  "@newskit-render/feed": "^1.4.13",
47
- "@newskit-render/my-account": "^4.1.6-alpha.0",
48
- "@newskit-render/shared-components": "^2.2.0-alpha.0",
49
- "@newskit-render/standalone-components": "^2.2.1-alpha.0",
47
+ "@newskit-render/my-account": "^4.1.6-alpha.1",
48
+ "@newskit-render/shared-components": "^2.2.0-alpha.1",
49
+ "@newskit-render/standalone-components": "^2.2.1-alpha.1",
50
50
  "@newskit-render/validation": "^1.5.11",
51
51
  "cross-fetch": "3.1.5",
52
52
  "graphql": "16.6.0",
@@ -22,7 +22,7 @@ import {
22
22
  } from '@newskit-render/api'
23
23
  import { ArticleRecommendationsProvider } from '@newskit-render/standalone-components'
24
24
  import { getHost } from '@newskit-render/shared-components'
25
- import { Info } from '@emotion-icons/material/Info'
25
+ import { Info as FilledInfo } from '@emotion-icons/material/Info'
26
26
  import { GET_UNIVERSAL_ARTICLE } from '../../../../../queries'
27
27
  import ArticlePage from '../../../../../components/article'
28
28
  import { fetchUser } from '../../../../../helpers/getUser'
@@ -35,7 +35,7 @@ import {
35
35
  newskitApiXApiKey,
36
36
  } from '../../../../../config'
37
37
 
38
- const IconFilledInfo = toNewsKitIcon(Info)
38
+ const IconFilledInfo = toNewsKitIcon(FilledInfo)
39
39
 
40
40
  const PreviewArticle = ({
41
41
  universalArticle,