@reuters-graphics/graphics-components 3.0.27 → 3.1.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.
@@ -6,7 +6,7 @@ https://www.fluid-type-scale.com/calculate?minFontSize=18&minWidth=320&minRatio=
6
6
  export default {
7
7
  font: {
8
8
  family: {
9
- serif: 'FreightText, serif',
9
+ serif: '"Newsreader Text", serif',
10
10
  'sans-serif': 'Knowledge, sans-serif',
11
11
  monospace:
12
12
  '"Droid Sans Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
@@ -169,13 +169,13 @@
169
169
  font-display: swap;
170
170
  }
171
171
 
172
- /* FREIGHT TEXT */
172
+ /* NEWSREADER TEXT */
173
173
  @font-face {
174
- font-family: 'FreightText';
174
+ font-family: 'Newsreader Text';
175
175
  src:
176
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBold.woff2')
176
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Bold.woff2')
177
177
  format('woff2'),
178
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBold.woff')
178
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Bold.woff')
179
179
  format('woff');
180
180
  font-weight: bold;
181
181
  font-style: normal;
@@ -183,49 +183,157 @@
183
183
  }
184
184
 
185
185
  @font-face {
186
- font-family: 'FreightText';
186
+ font-family: 'Newsreader Text';
187
187
  src:
188
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBook.woff2')
188
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraBoldItalic.woff2')
189
189
  format('woff2'),
190
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBook.woff')
190
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraBoldItalic.woff')
191
191
  format('woff');
192
- font-weight: normal;
193
- font-style: normal;
192
+ font-weight: bold;
193
+ font-style: italic;
194
194
  font-display: swap;
195
195
  }
196
196
 
197
197
  @font-face {
198
- font-family: 'FreightText';
198
+ font-family: 'Newsreader Text';
199
199
  src:
200
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBookItalic.woff2')
200
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-BoldItalic.woff2')
201
201
  format('woff2'),
202
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBookItalic.woff')
202
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-BoldItalic.woff')
203
203
  format('woff');
204
- font-weight: normal;
204
+ font-weight: bold;
205
205
  font-style: italic;
206
206
  font-display: swap;
207
207
  }
208
208
 
209
209
  @font-face {
210
- font-family: 'FreightText';
210
+ font-family: 'Newsreader Text';
211
+ src:
212
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraBold.woff2')
213
+ format('woff2'),
214
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraBold.woff')
215
+ format('woff');
216
+ font-weight: bold;
217
+ font-style: normal;
218
+ font-display: swap;
219
+ }
220
+
221
+ @font-face {
222
+ font-family: 'Newsreader Text';
211
223
  src:
212
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextLight.woff2')
224
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-LightItalic.woff2')
213
225
  format('woff2'),
214
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextLight.woff')
226
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-LightItalic.woff')
215
227
  format('woff');
216
228
  font-weight: 300;
229
+ font-style: italic;
230
+ font-display: swap;
231
+ }
232
+
233
+ @font-face {
234
+ font-family: 'Newsreader Text';
235
+ src:
236
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-SemiBoldItalic.woff2')
237
+ format('woff2'),
238
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-SemiBoldItalic.woff')
239
+ format('woff');
240
+ font-weight: 600;
241
+ font-style: italic;
242
+ font-display: swap;
243
+ }
244
+
245
+ @font-face {
246
+ font-family: 'Newsreader Text';
247
+ src:
248
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Medium.woff2')
249
+ format('woff2'),
250
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Medium.woff')
251
+ format('woff');
252
+ font-weight: 500;
217
253
  font-style: normal;
218
254
  font-display: swap;
219
255
  }
220
256
 
221
257
  @font-face {
222
- font-family: 'FreightText';
258
+ font-family: 'Newsreader Text';
223
259
  src:
224
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextMedium.woff2')
260
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-MediumItalic.woff2')
225
261
  format('woff2'),
226
- url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextMedium.woff')
262
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-MediumItalic.woff')
227
263
  format('woff');
228
264
  font-weight: 500;
265
+ font-style: italic;
266
+ font-display: swap;
267
+ }
268
+
269
+ @font-face {
270
+ font-family: 'Newsreader Text';
271
+ src:
272
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-SemiBold.woff2')
273
+ format('woff2'),
274
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-SemiBold.woff')
275
+ format('woff');
276
+ font-weight: 600;
277
+ font-style: normal;
278
+ font-display: swap;
279
+ }
280
+
281
+ @font-face {
282
+ font-family: 'Newsreader Text';
283
+ src:
284
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraLightItalic.woff2')
285
+ format('woff2'),
286
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraLightItalic.woff')
287
+ format('woff');
288
+ font-weight: 200;
289
+ font-style: italic;
290
+ font-display: swap;
291
+ }
292
+
293
+ @font-face {
294
+ font-family: 'Newsreader Text';
295
+ src:
296
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Italic.woff2')
297
+ format('woff2'),
298
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Italic.woff')
299
+ format('woff');
300
+ font-weight: normal;
301
+ font-style: italic;
302
+ font-display: swap;
303
+ }
304
+
305
+ @font-face {
306
+ font-family: 'Newsreader Text';
307
+ src:
308
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Regular.woff2')
309
+ format('woff2'),
310
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Regular.woff')
311
+ format('woff');
312
+ font-weight: normal;
313
+ font-style: normal;
314
+ font-display: swap;
315
+ }
316
+
317
+ @font-face {
318
+ font-family: 'Newsreader Text';
319
+ src:
320
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraLight.woff2')
321
+ format('woff2'),
322
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-ExtraLight.woff')
323
+ format('woff');
324
+ font-weight: 200;
325
+ font-style: normal;
326
+ font-display: swap;
327
+ }
328
+
329
+ @font-face {
330
+ font-family: 'Newsreader Text';
331
+ src:
332
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Light.woff2')
333
+ format('woff2'),
334
+ url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NewsreaderText-Light.woff')
335
+ format('woff');
336
+ font-weight: 300;
229
337
  font-style: normal;
230
338
  font-display: swap;
231
339
  }
@@ -27,8 +27,8 @@
27
27
  .font-knowledge {
28
28
  @include font-knowledge;
29
29
  }
30
- .font-freight-text {
31
- @include font-freight-text;
30
+ .font-newsreader-text {
31
+ @include font-newsreader-text;
32
32
  }
33
33
  .font-noto-sans-jp {
34
34
  @include font-noto-sans-jp;
@@ -60,8 +60,8 @@
60
60
  .\!font-knowledge {
61
61
  @include \!font-knowledge;
62
62
  }
63
- .\!font-freight-text {
64
- @include \!font-freight-text;
63
+ .\!font-newsreader-text {
64
+ @include \!font-newsreader-text;
65
65
  }
66
66
  .\!font-noto-sans-jp {
67
67
  @include \!font-noto-sans-jp;
@@ -25,8 +25,8 @@
25
25
  @mixin font-knowledge {
26
26
  font-family: 'Knowledge', 'Source Sans Pro', Arial, Helvetica, sans-serif;
27
27
  }
28
- @mixin font-freight-text {
29
- font-family: 'FreightText', serif;
28
+ @mixin font-newsreader-text {
29
+ font-family: 'Newsreader Text', serif;
30
30
  }
31
31
  @mixin font-noto-sans-jp {
32
32
  font-family: 'Noto Sans JP';
@@ -59,8 +59,8 @@
59
59
  font-family:
60
60
  'Knowledge', 'Source Sans Pro', Arial, Helvetica, sans-serif !important;
61
61
  }
62
- @mixin \!font-freight-text {
63
- font-family: 'FreightText', serif !important;
62
+ @mixin \!font-newsreader-text {
63
+ font-family: 'Newsreader Text', serif !important;
64
64
  }
65
65
  @mixin \!font-noto-sans-jp {
66
66
  font-family: 'Noto Sans JP' !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reuters-graphics/graphics-components",
3
- "version": "3.0.27",
3
+ "version": "3.1.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "homepage": "https://reuters-graphics.github.io/graphics-components",