@newskit-render/core 2.22.1 → 2.23.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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.22.1](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.22.1-alpha.0...@newskit-render/core@2.22.1) (2022-11-23)
7
+
8
+ **Note:** Version bump only for package @newskit-render/core
9
+
10
+
11
+
12
+
13
+
6
14
  # [2.22.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@2.22.0-alpha.0...@newskit-render/core@2.22.0) (2022-11-22)
7
15
 
8
16
  **Note:** Version bump only for package @newskit-render/core
package/css/index.ts CHANGED
@@ -42,38 +42,47 @@ export const GlobalStyling = css`
42
42
  @font-face {
43
43
  font-family: Gill Sans MT Std;
44
44
  src: url('/fonts/GillSansMTStd-Medium.otf');
45
+ font-display: swap;
45
46
  }
46
47
  @font-face {
47
48
  font-family: TimesModern-Bold;
48
49
  src: url('/fonts/TimesDigital-Bold.ttf') format('truetype');
50
+ font-display: swap;
49
51
  }
50
52
  @font-face {
51
53
  font-family: Times Modern;
52
54
  src: url('/fonts/TimesModern-Regular.otf') format('truetype');
55
+ font-display: swap;
53
56
  }
54
57
  @font-face {
55
58
  font-family: Times Digital W04 Regular;
56
59
  src: url('/fonts/TimesDigitalW04-Regular.ttf') format('truetype');
60
+ font-display: swap;
57
61
  }
58
62
  @font-face {
59
63
  font-family: Montserrat;
60
64
  src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
65
+ font-display: swap;
61
66
  }
62
67
  @font-face {
63
68
  font-family: TheSun-Bold;
64
69
  src: url('/fonts/TheSun-Bold.ttf') format('truetype');
70
+ font-display: swap;
65
71
  }
66
72
  @font-face {
67
73
  font-family: TheSun-HeavyNarrow;
68
74
  src: url('/fonts/TheSun-HeavyNarrow.ttf') format('truetype');
75
+ font-display: swap;
69
76
  }
70
77
  @font-face {
71
78
  font-family: TheSun-Regular;
72
79
  src: url('/fonts/TheSun-Regular.ttf') format('truetype');
80
+ font-display: swap;
73
81
  }
74
82
  @font-face {
75
83
  font-family: TheSun-Medium;
76
84
  src: url('/fonts/TheSun-Medium.ttf') format('truetype');
85
+ font-display: swap;
77
86
  }
78
87
  @font-face {
79
88
  font-family: 'DM Sans';
@@ -129,6 +138,7 @@ export const GlobalStyling = css`
129
138
  url('/fonts/poppins-bold-webfont.woff') format('woff');
130
139
  font-weight: 700;
131
140
  font-style: normal;
141
+ font-display: swap;
132
142
  }
133
143
  @font-face {
134
144
  font-family: 'Poppins';
@@ -136,6 +146,7 @@ export const GlobalStyling = css`
136
146
  url('/fonts/poppins-bolditalic-webfont.woff') format('woff');
137
147
  font-weight: normal;
138
148
  font-style: italic;
149
+ font-display: swap;
139
150
  }
140
151
  @font-face {
141
152
  font-family: 'Poppins';
@@ -143,6 +154,7 @@ export const GlobalStyling = css`
143
154
  url('/fonts/poppins-extrabold-webfont.woff') format('woff');
144
155
  font-weight: 800;
145
156
  font-style: normal;
157
+ font-display: swap;
146
158
  }
147
159
  @font-face {
148
160
  font-family: 'Poppins';
@@ -150,6 +162,7 @@ export const GlobalStyling = css`
150
162
  url('/fonts/poppins-extrabolditalic-webfont.woff') format('woff');
151
163
  font-weight: 800;
152
164
  font-style: italic;
165
+ font-display: swap;
153
166
  }
154
167
  @font-face {
155
168
  font-family: 'Poppins';
@@ -157,6 +170,7 @@ export const GlobalStyling = css`
157
170
  url('/fonts/poppins-italic-webfont.woff') format('woff');
158
171
  font-weight: 400;
159
172
  font-style: italic;
173
+ font-display: swap;
160
174
  }
161
175
  @font-face {
162
176
  font-family: 'Poppins';
@@ -164,6 +178,7 @@ export const GlobalStyling = css`
164
178
  url('/fonts/poppins-light-webfont.woff') format('woff');
165
179
  font-weight: 300;
166
180
  font-style: normal;
181
+ font-display: swap;
167
182
  }
168
183
  @font-face {
169
184
  font-family: 'Poppins';
@@ -171,6 +186,7 @@ export const GlobalStyling = css`
171
186
  url('/fonts/poppins-lightitalic-webfont.woff') format('woff');
172
187
  font-weight: 300;
173
188
  font-style: italic;
189
+ font-display: swap;
174
190
  }
175
191
  @font-face {
176
192
  font-family: 'Poppins';
@@ -178,6 +194,7 @@ export const GlobalStyling = css`
178
194
  url('/fonts/poppins-medium-webfont.woff') format('woff');
179
195
  font-weight: 500;
180
196
  font-style: normal;
197
+ font-display: swap;
181
198
  }
182
199
  @font-face {
183
200
  font-family: 'Poppins';
@@ -185,6 +202,7 @@ export const GlobalStyling = css`
185
202
  url('/fonts/poppins-mediumitalic-webfont.woff') format('woff');
186
203
  font-weight: 500;
187
204
  font-style: italic;
205
+ font-display: swap;
188
206
  }
189
207
  @font-face {
190
208
  font-family: 'Poppins';
@@ -192,6 +210,7 @@ export const GlobalStyling = css`
192
210
  url('/fonts/poppins-regular-webfont.woff') format('woff');
193
211
  font-weight: 400;
194
212
  font-style: normal;
213
+ font-display: swap;
195
214
  }
196
215
  @font-face {
197
216
  font-family: 'Poppins';
@@ -199,6 +218,7 @@ export const GlobalStyling = css`
199
218
  url('/fonts/poppins-semibold-webfont.woff') format('woff');
200
219
  font-weight: 600;
201
220
  font-style: normal;
221
+ font-display: swap;
202
222
  }
203
223
  @font-face {
204
224
  font-family: 'Poppins';
@@ -206,6 +226,7 @@ export const GlobalStyling = css`
206
226
  url('/fonts/poppins-semibolditalic-webfont.woff') format('woff');
207
227
  font-weight: 600;
208
228
  font-style: italic;
229
+ font-display: swap;
209
230
  }
210
231
  @font-face {
211
232
  font-family: 'DM Mono';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/core",
3
- "version": "2.22.1",
3
+ "version": "2.23.0-alpha.0",
4
4
  "description": "Newskit Render - Core package",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",