@times-components/ts-components 1.64.2 → 1.65.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.
Files changed (97) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/components/article-flag/styles.js +4 -2
  3. package/dist/components/article-header/ArticleHeader.stories.js +11 -10
  4. package/dist/components/article-header/styles.js +2 -2
  5. package/dist/components/carousel/GalleryCarousel.stories.js +28 -12
  6. package/dist/components/common-styles.js +1 -1
  7. package/dist/components/in-article-big-numbers/BigNumbers.stories.js +25 -9
  8. package/dist/components/in-article-big-numbers/styles.js +1 -1
  9. package/dist/components/in-article-info-card/InfoCard.stories.js +35 -11
  10. package/dist/components/in-article-info-card-bulletpoints/InfoCardBulletPoints.stories.js +5 -6
  11. package/dist/components/in-article-link/styles.js +1 -1
  12. package/dist/components/in-article-puff/InArticlePuff.stories.js +25 -9
  13. package/dist/components/in-article-puff/styles.js +2 -3
  14. package/dist/components/in-article-related-articles/InArticleRelatedArticles.stories.js +11 -12
  15. package/dist/components/in-article-timelines/Timelines.stories.js +15 -7
  16. package/dist/components/in-article-timelines/styles.js +1 -1
  17. package/dist/components/inline-dialog/styles.js +1 -1
  18. package/dist/components/inline-message/styles.js +2 -2
  19. package/dist/components/newsletter-puff/newsletter-puff-button/styles.js +4 -4
  20. package/dist/components/olympics/medal-table/OlympicsMedalTable.stories.js +4 -5
  21. package/dist/components/olympics/schedule/OlympicsSchedule.stories.js +4 -5
  22. package/dist/components/opta/football/fixtures/styles.js +5 -4
  23. package/dist/components/opta/football/match-stats/styles.js +1 -1
  24. package/dist/components/opta/football/standings/styles.js +2 -2
  25. package/dist/components/opta/football/summary/styles.js +1 -1
  26. package/dist/components/opta/rugby/fixtures/styles.js +4 -3
  27. package/dist/components/opta/rugby/match-stats/styles.js +1 -1
  28. package/dist/components/opta/rugby/standings/styles.js +4 -3
  29. package/dist/components/opta/rugby/summary/styles.js +1 -1
  30. package/dist/components/recommended-articles/RecommendedArticles.stories.js +36 -9
  31. package/dist/components/save-star/SaveStar.stories.js +4 -5
  32. package/dist/components/save-star/styles.js +1 -1
  33. package/dist/components/updated-timestamp/styles.js +1 -1
  34. package/dist/helpers/text-crop/fonts.js +13 -5
  35. package/package.json +16 -16
  36. package/rnw.js +1 -1
  37. package/src/components/article-flag/__tests__/__snapshots__/LiveArticleFlag.test.tsx.snap +3 -3
  38. package/src/components/article-flag/styles.ts +3 -1
  39. package/src/components/article-header/ArticleHeader.stories.tsx +17 -16
  40. package/src/components/article-header/styles.ts +2 -2
  41. package/src/components/carousel/GalleryCarousel.stories.tsx +44 -19
  42. package/src/components/carousel/__tests__/__snapshots__/GalleryCarousel.test.tsx.snap +3 -3
  43. package/src/components/common-styles.ts +1 -1
  44. package/src/components/in-article-big-numbers/BigNumbers.stories.tsx +38 -13
  45. package/src/components/in-article-big-numbers/__tests__/__snapshots__/BigNumbers.test.tsx.snap +6 -6
  46. package/src/components/in-article-big-numbers/styles.ts +1 -1
  47. package/src/components/in-article-info-card/InfoCard.stories.tsx +54 -16
  48. package/src/components/in-article-info-card/__tests__/__snapshots__/InfoCard.test.tsx.snap +4 -4
  49. package/src/components/in-article-info-card-bulletpoints/InfoCardBulletPoints.stories.tsx +10 -10
  50. package/src/components/in-article-info-card-bulletpoints/__tests__/__snapshots__/InfoCardBulletPoints.test.tsx.snap +4 -4
  51. package/src/components/in-article-link/styles.ts +1 -1
  52. package/src/components/in-article-puff/InArticlePuff.stories.tsx +42 -17
  53. package/src/components/in-article-puff/__tests__/__snapshots__/InArticlePuff.test.tsx.snap +4 -4
  54. package/src/components/in-article-puff/styles.ts +1 -2
  55. package/src/components/in-article-related-articles/InArticleRelatedArticles.stories.tsx +26 -26
  56. package/src/components/in-article-related-articles/__tests__/__snapshots__/RelatedArticle.test.tsx.snap +2 -2
  57. package/src/components/in-article-related-articles/__tests__/__snapshots__/SingleRelatedArticle.test.tsx.snap +2 -2
  58. package/src/components/in-article-timelines/Timelines.stories.tsx +22 -10
  59. package/src/components/in-article-timelines/__tests__/__snapshots__/Timelines.test.tsx.snap +27 -27
  60. package/src/components/in-article-timelines/styles.ts +1 -1
  61. package/src/components/inline-dialog/__tests__/__snapshots__/InlineDialog.test.tsx.snap +1 -1
  62. package/src/components/inline-dialog/styles.ts +1 -1
  63. package/src/components/inline-message/__tests__/__snapshots__/InlineMessage.test.tsx.snap +2 -2
  64. package/src/components/inline-message/styles.ts +2 -2
  65. package/src/components/latest-from-section/__tests__/__snapshots__/LatestFromSection.test.tsx.snap +9 -9
  66. package/src/components/newsletter-puff/__tests__/__snapshots__/InlineNewsletterPuff.test.tsx.snap +3 -3
  67. package/src/components/newsletter-puff/newsletter-puff-button/styles.ts +3 -3
  68. package/src/components/newsletter-puff/preview-newsletter-puff/__tests__/__snapshots__/PreviewNewsletterPuff.test.tsx.snap +1 -1
  69. package/src/components/olympics/__tests__/__snapshots__/OlympicsMedalTable.test.tsx.snap +20 -20
  70. package/src/components/olympics/__tests__/__snapshots__/OlympicsSchedule.test.tsx.snap +28 -28
  71. package/src/components/olympics/medal-table/OlympicsMedalTable.stories.tsx +8 -11
  72. package/src/components/olympics/schedule/OlympicsSchedule.stories.tsx +8 -10
  73. package/src/components/opta/football/fixtures/__tests__/__snapshots__/OptaFootballFixtures.test.tsx.snap +2 -2
  74. package/src/components/opta/football/fixtures/styles.ts +4 -3
  75. package/src/components/opta/football/match-stats/__tests__/__snapshots__/OptaFootballMatchStats.test.tsx.snap +2 -2
  76. package/src/components/opta/football/match-stats/styles.ts +1 -1
  77. package/src/components/opta/football/standings/__tests__/__snapshots__/OptaFootballStandings.test.tsx.snap +2 -2
  78. package/src/components/opta/football/standings/styles.ts +2 -2
  79. package/src/components/opta/football/summary/__tests__/__snapshots__/OptaFootballSummary.test.tsx.snap +2 -2
  80. package/src/components/opta/football/summary/styles.ts +1 -1
  81. package/src/components/opta/rugby/fixtures/__tests__/__snapshots__/OptaRugbyFixtures.test.tsx.snap +2 -2
  82. package/src/components/opta/rugby/fixtures/styles.ts +3 -2
  83. package/src/components/opta/rugby/match-stats/__tests__/__snapshots__/OptaRugbyMatchStats.test.tsx.snap +2 -2
  84. package/src/components/opta/rugby/match-stats/styles.ts +1 -1
  85. package/src/components/opta/rugby/standings/__tests__/__snapshots__/OptaRugbyStandings.test.tsx.snap +2 -2
  86. package/src/components/opta/rugby/standings/styles.ts +3 -2
  87. package/src/components/opta/rugby/summary/__tests__/__snapshots__/OptaRugbySummary.test.tsx.snap +2 -2
  88. package/src/components/opta/rugby/summary/styles.ts +1 -1
  89. package/src/components/recommended-articles/RecommendedArticles.stories.tsx +46 -15
  90. package/src/components/related-article-slice/__tests__/__snapshots__/RelatedArticleSlice.test.tsx.snap +6 -6
  91. package/src/components/save-star/SaveStar.stories.tsx +16 -16
  92. package/src/components/save-star/__tests__/__snapshots__/SaveStar.test.tsx.snap +3 -3
  93. package/src/components/save-star/styles.ts +1 -1
  94. package/src/components/updated-timestamp/__tests__/__snapshots__/UpdatedTimestamp.test.tsx.snap +1 -1
  95. package/src/components/updated-timestamp/styles.ts +1 -1
  96. package/src/helpers/text-crop/__tests__/__snapshots__/TextCrop.test.tsx.snap +4 -4
  97. package/src/helpers/text-crop/fonts.ts +13 -4
@@ -10,7 +10,7 @@ exports[`<OlympicsMedalTable> click show all 1`] = `
10
10
  }
11
11
 
12
12
  .c4 {
13
- font-family: GillSansMTStd-Medium;
13
+ font-family: Roboto-Regular;
14
14
  font-size: 14px;
15
15
  line-height: 20px;
16
16
  padding: 14px 16px;
@@ -28,7 +28,7 @@ exports[`<OlympicsMedalTable> click show all 1`] = `
28
28
  font-size: 12px;
29
29
  line-height: 14px;
30
30
  color: #402f7a;
31
- font-family: GillSansMTStd-Medium;
31
+ font-family: Roboto-Regular;
32
32
  font-weight: normal;
33
33
  text-transform: uppercase;
34
34
  -webkit-letter-spacing: 1px;
@@ -70,7 +70,7 @@ exports[`<OlympicsMedalTable> click show all 1`] = `
70
70
  .c0 .pa-medaltable .pa_MedalTableView_medaltable table thead {
71
71
  color: #1D1D1B;
72
72
  line-height: 48px;
73
- font-family: GillSansMTStd-Medium;
73
+ font-family: Roboto-Regular;
74
74
  font-size: 14px;
75
75
  }
76
76
 
@@ -102,7 +102,7 @@ exports[`<OlympicsMedalTable> click show all 1`] = `
102
102
  }
103
103
 
104
104
  .c0 .pa-medaltable .pa_MedalTableView_medaltable tbody tr td:first-child {
105
- font-family: GillSansMTStd-Medium;
105
+ font-family: Roboto-Regular;
106
106
  color: #402f7a;
107
107
  }
108
108
 
@@ -118,7 +118,7 @@ exports[`<OlympicsMedalTable> click show all 1`] = `
118
118
  .c0 .pa-medaltable .pa_OdfFooter_ctr {
119
119
  position: relative;
120
120
  top: 60px;
121
- font-family: GillSansMTStd-Medium;
121
+ font-family: Roboto-Regular;
122
122
  color: #1D1D1B;
123
123
  }
124
124
 
@@ -192,7 +192,7 @@ exports[`<OlympicsMedalTable> renders 1`] = `
192
192
  }
193
193
 
194
194
  .c4 {
195
- font-family: GillSansMTStd-Medium;
195
+ font-family: Roboto-Regular;
196
196
  font-size: 14px;
197
197
  line-height: 20px;
198
198
  padding: 14px 16px;
@@ -210,7 +210,7 @@ exports[`<OlympicsMedalTable> renders 1`] = `
210
210
  font-size: 12px;
211
211
  line-height: 14px;
212
212
  color: #402f7a;
213
- font-family: GillSansMTStd-Medium;
213
+ font-family: Roboto-Regular;
214
214
  font-weight: normal;
215
215
  text-transform: uppercase;
216
216
  -webkit-letter-spacing: 1px;
@@ -252,7 +252,7 @@ exports[`<OlympicsMedalTable> renders 1`] = `
252
252
  .c0 .pa-medaltable .pa_MedalTableView_medaltable table thead {
253
253
  color: #1D1D1B;
254
254
  line-height: 48px;
255
- font-family: GillSansMTStd-Medium;
255
+ font-family: Roboto-Regular;
256
256
  font-size: 14px;
257
257
  }
258
258
 
@@ -284,7 +284,7 @@ exports[`<OlympicsMedalTable> renders 1`] = `
284
284
  }
285
285
 
286
286
  .c0 .pa-medaltable .pa_MedalTableView_medaltable tbody tr td:first-child {
287
- font-family: GillSansMTStd-Medium;
287
+ font-family: Roboto-Regular;
288
288
  color: #402f7a;
289
289
  }
290
290
 
@@ -300,7 +300,7 @@ exports[`<OlympicsMedalTable> renders 1`] = `
300
300
  .c0 .pa-medaltable .pa_OdfFooter_ctr {
301
301
  position: relative;
302
302
  top: 60px;
303
- font-family: GillSansMTStd-Medium;
303
+ font-family: Roboto-Regular;
304
304
  color: #1D1D1B;
305
305
  }
306
306
 
@@ -374,7 +374,7 @@ exports[`<OlympicsMedalTable> renders default keys 1`] = `
374
374
  }
375
375
 
376
376
  .c4 {
377
- font-family: GillSansMTStd-Medium;
377
+ font-family: Roboto-Regular;
378
378
  font-size: 14px;
379
379
  line-height: 20px;
380
380
  padding: 14px 16px;
@@ -392,7 +392,7 @@ exports[`<OlympicsMedalTable> renders default keys 1`] = `
392
392
  font-size: 12px;
393
393
  line-height: 14px;
394
394
  color: #402f7a;
395
- font-family: GillSansMTStd-Medium;
395
+ font-family: Roboto-Regular;
396
396
  font-weight: normal;
397
397
  text-transform: uppercase;
398
398
  -webkit-letter-spacing: 1px;
@@ -434,7 +434,7 @@ exports[`<OlympicsMedalTable> renders default keys 1`] = `
434
434
  .c0 .pa-medaltable .pa_MedalTableView_medaltable table thead {
435
435
  color: #1D1D1B;
436
436
  line-height: 48px;
437
- font-family: GillSansMTStd-Medium;
437
+ font-family: Roboto-Regular;
438
438
  font-size: 14px;
439
439
  }
440
440
 
@@ -466,7 +466,7 @@ exports[`<OlympicsMedalTable> renders default keys 1`] = `
466
466
  }
467
467
 
468
468
  .c0 .pa-medaltable .pa_MedalTableView_medaltable tbody tr td:first-child {
469
- font-family: GillSansMTStd-Medium;
469
+ font-family: Roboto-Regular;
470
470
  color: #402f7a;
471
471
  }
472
472
 
@@ -482,7 +482,7 @@ exports[`<OlympicsMedalTable> renders default keys 1`] = `
482
482
  .c0 .pa-medaltable .pa_OdfFooter_ctr {
483
483
  position: relative;
484
484
  top: 60px;
485
- font-family: GillSansMTStd-Medium;
485
+ font-family: Roboto-Regular;
486
486
  color: #1D1D1B;
487
487
  }
488
488
 
@@ -556,7 +556,7 @@ exports[`<OlympicsMedalTable> renders outside of article 1`] = `
556
556
  }
557
557
 
558
558
  .c4 {
559
- font-family: GillSansMTStd-Medium;
559
+ font-family: Roboto-Regular;
560
560
  font-size: 14px;
561
561
  line-height: 20px;
562
562
  padding: 14px 16px;
@@ -574,7 +574,7 @@ exports[`<OlympicsMedalTable> renders outside of article 1`] = `
574
574
  font-size: 12px;
575
575
  line-height: 14px;
576
576
  color: #402f7a;
577
- font-family: GillSansMTStd-Medium;
577
+ font-family: Roboto-Regular;
578
578
  font-weight: normal;
579
579
  text-transform: uppercase;
580
580
  -webkit-letter-spacing: 1px;
@@ -616,7 +616,7 @@ exports[`<OlympicsMedalTable> renders outside of article 1`] = `
616
616
  .c0 .pa-medaltable .pa_MedalTableView_medaltable table thead {
617
617
  color: #1D1D1B;
618
618
  line-height: 48px;
619
- font-family: GillSansMTStd-Medium;
619
+ font-family: Roboto-Regular;
620
620
  font-size: 14px;
621
621
  }
622
622
 
@@ -648,7 +648,7 @@ exports[`<OlympicsMedalTable> renders outside of article 1`] = `
648
648
  }
649
649
 
650
650
  .c0 .pa-medaltable .pa_MedalTableView_medaltable tbody tr td:first-child {
651
- font-family: GillSansMTStd-Medium;
651
+ font-family: Roboto-Regular;
652
652
  color: #402f7a;
653
653
  }
654
654
 
@@ -664,7 +664,7 @@ exports[`<OlympicsMedalTable> renders outside of article 1`] = `
664
664
  .c0 .pa-medaltable .pa_OdfFooter_ctr {
665
665
  position: relative;
666
666
  top: 60px;
667
- font-family: GillSansMTStd-Medium;
667
+ font-family: Roboto-Regular;
668
668
  color: #1D1D1B;
669
669
  }
670
670
 
@@ -10,7 +10,7 @@ exports[`<OlympicsSchedule> click show all 1`] = `
10
10
  }
11
11
 
12
12
  .c4 {
13
- font-family: GillSansMTStd-Medium;
13
+ font-family: Roboto-Regular;
14
14
  font-size: 14px;
15
15
  line-height: 20px;
16
16
  padding: 14px 16px;
@@ -28,7 +28,7 @@ exports[`<OlympicsSchedule> click show all 1`] = `
28
28
  font-size: 12px;
29
29
  line-height: 14px;
30
30
  color: #402f7a;
31
- font-family: GillSansMTStd-Medium;
31
+ font-family: Roboto-Regular;
32
32
  font-weight: normal;
33
33
  text-transform: uppercase;
34
34
  -webkit-letter-spacing: 1px;
@@ -52,20 +52,20 @@ exports[`<OlympicsSchedule> click show all 1`] = `
52
52
 
53
53
  .c0 .pa-schedule .pa_ScheduleHeader_header {
54
54
  color: #1D1D1B;
55
- font-family: GillSansMTStd-Medium;
55
+ font-family: Roboto-Regular;
56
56
  font-size: 18px;
57
57
  background: #EDEDED;
58
58
  }
59
59
 
60
60
  .c0 .pa-schedule .pa_ScheduleHeader_filterbar {
61
61
  color: #1D1D1B;
62
- font-family: GillSansMTStd-Medium;
62
+ font-family: Roboto-Regular;
63
63
  background: #EDEDED;
64
64
  font-size: 16px;
65
65
  }
66
66
 
67
67
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr {
68
- font-family: GillSansMTStd-Medium;
68
+ font-family: Roboto-Regular;
69
69
  font-size: 16px;
70
70
  }
71
71
 
@@ -93,7 +93,7 @@ exports[`<OlympicsSchedule> click show all 1`] = `
93
93
  }
94
94
 
95
95
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr .pa_UnitListView_unit-text {
96
- font-family: GillSansMTStd-Medium;
96
+ font-family: Roboto-Regular;
97
97
  font-size: 16px;
98
98
  }
99
99
 
@@ -112,7 +112,7 @@ exports[`<OlympicsSchedule> click show all 1`] = `
112
112
  }
113
113
 
114
114
  .c0 .pa-schedule .pa_OdfFooter_ctr {
115
- font-family: GillSansMTStd-Medium;
115
+ font-family: Roboto-Regular;
116
116
  font-size: 12px;
117
117
  top: 60px;
118
118
  position: relative;
@@ -208,7 +208,7 @@ exports[`<OlympicsSchedule> render default keys 1`] = `
208
208
  }
209
209
 
210
210
  .c4 {
211
- font-family: GillSansMTStd-Medium;
211
+ font-family: Roboto-Regular;
212
212
  font-size: 14px;
213
213
  line-height: 20px;
214
214
  padding: 14px 16px;
@@ -226,7 +226,7 @@ exports[`<OlympicsSchedule> render default keys 1`] = `
226
226
  font-size: 12px;
227
227
  line-height: 14px;
228
228
  color: #402f7a;
229
- font-family: GillSansMTStd-Medium;
229
+ font-family: Roboto-Regular;
230
230
  font-weight: normal;
231
231
  text-transform: uppercase;
232
232
  -webkit-letter-spacing: 1px;
@@ -250,20 +250,20 @@ exports[`<OlympicsSchedule> render default keys 1`] = `
250
250
 
251
251
  .c0 .pa-schedule .pa_ScheduleHeader_header {
252
252
  color: #1D1D1B;
253
- font-family: GillSansMTStd-Medium;
253
+ font-family: Roboto-Regular;
254
254
  font-size: 18px;
255
255
  background: #EDEDED;
256
256
  }
257
257
 
258
258
  .c0 .pa-schedule .pa_ScheduleHeader_filterbar {
259
259
  color: #1D1D1B;
260
- font-family: GillSansMTStd-Medium;
260
+ font-family: Roboto-Regular;
261
261
  background: #EDEDED;
262
262
  font-size: 16px;
263
263
  }
264
264
 
265
265
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr {
266
- font-family: GillSansMTStd-Medium;
266
+ font-family: Roboto-Regular;
267
267
  font-size: 16px;
268
268
  }
269
269
 
@@ -291,7 +291,7 @@ exports[`<OlympicsSchedule> render default keys 1`] = `
291
291
  }
292
292
 
293
293
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr .pa_UnitListView_unit-text {
294
- font-family: GillSansMTStd-Medium;
294
+ font-family: Roboto-Regular;
295
295
  font-size: 16px;
296
296
  }
297
297
 
@@ -310,7 +310,7 @@ exports[`<OlympicsSchedule> render default keys 1`] = `
310
310
  }
311
311
 
312
312
  .c0 .pa-schedule .pa_OdfFooter_ctr {
313
- font-family: GillSansMTStd-Medium;
313
+ font-family: Roboto-Regular;
314
314
  font-size: 12px;
315
315
  top: 60px;
316
316
  position: relative;
@@ -406,7 +406,7 @@ exports[`<OlympicsSchedule> renders 1`] = `
406
406
  }
407
407
 
408
408
  .c4 {
409
- font-family: GillSansMTStd-Medium;
409
+ font-family: Roboto-Regular;
410
410
  font-size: 14px;
411
411
  line-height: 20px;
412
412
  padding: 14px 16px;
@@ -424,7 +424,7 @@ exports[`<OlympicsSchedule> renders 1`] = `
424
424
  font-size: 12px;
425
425
  line-height: 14px;
426
426
  color: #402f7a;
427
- font-family: GillSansMTStd-Medium;
427
+ font-family: Roboto-Regular;
428
428
  font-weight: normal;
429
429
  text-transform: uppercase;
430
430
  -webkit-letter-spacing: 1px;
@@ -448,20 +448,20 @@ exports[`<OlympicsSchedule> renders 1`] = `
448
448
 
449
449
  .c0 .pa-schedule .pa_ScheduleHeader_header {
450
450
  color: #1D1D1B;
451
- font-family: GillSansMTStd-Medium;
451
+ font-family: Roboto-Regular;
452
452
  font-size: 18px;
453
453
  background: #EDEDED;
454
454
  }
455
455
 
456
456
  .c0 .pa-schedule .pa_ScheduleHeader_filterbar {
457
457
  color: #1D1D1B;
458
- font-family: GillSansMTStd-Medium;
458
+ font-family: Roboto-Regular;
459
459
  background: #EDEDED;
460
460
  font-size: 16px;
461
461
  }
462
462
 
463
463
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr {
464
- font-family: GillSansMTStd-Medium;
464
+ font-family: Roboto-Regular;
465
465
  font-size: 16px;
466
466
  }
467
467
 
@@ -489,7 +489,7 @@ exports[`<OlympicsSchedule> renders 1`] = `
489
489
  }
490
490
 
491
491
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr .pa_UnitListView_unit-text {
492
- font-family: GillSansMTStd-Medium;
492
+ font-family: Roboto-Regular;
493
493
  font-size: 16px;
494
494
  }
495
495
 
@@ -508,7 +508,7 @@ exports[`<OlympicsSchedule> renders 1`] = `
508
508
  }
509
509
 
510
510
  .c0 .pa-schedule .pa_OdfFooter_ctr {
511
- font-family: GillSansMTStd-Medium;
511
+ font-family: Roboto-Regular;
512
512
  font-size: 12px;
513
513
  top: 60px;
514
514
  position: relative;
@@ -604,7 +604,7 @@ exports[`<OlympicsSchedule> renders outside of article 1`] = `
604
604
  }
605
605
 
606
606
  .c4 {
607
- font-family: GillSansMTStd-Medium;
607
+ font-family: Roboto-Regular;
608
608
  font-size: 14px;
609
609
  line-height: 20px;
610
610
  padding: 14px 16px;
@@ -622,7 +622,7 @@ exports[`<OlympicsSchedule> renders outside of article 1`] = `
622
622
  font-size: 12px;
623
623
  line-height: 14px;
624
624
  color: #402f7a;
625
- font-family: GillSansMTStd-Medium;
625
+ font-family: Roboto-Regular;
626
626
  font-weight: normal;
627
627
  text-transform: uppercase;
628
628
  -webkit-letter-spacing: 1px;
@@ -646,20 +646,20 @@ exports[`<OlympicsSchedule> renders outside of article 1`] = `
646
646
 
647
647
  .c0 .pa-schedule .pa_ScheduleHeader_header {
648
648
  color: #1D1D1B;
649
- font-family: GillSansMTStd-Medium;
649
+ font-family: Roboto-Regular;
650
650
  font-size: 18px;
651
651
  background: #EDEDED;
652
652
  }
653
653
 
654
654
  .c0 .pa-schedule .pa_ScheduleHeader_filterbar {
655
655
  color: #1D1D1B;
656
- font-family: GillSansMTStd-Medium;
656
+ font-family: Roboto-Regular;
657
657
  background: #EDEDED;
658
658
  font-size: 16px;
659
659
  }
660
660
 
661
661
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr {
662
- font-family: GillSansMTStd-Medium;
662
+ font-family: Roboto-Regular;
663
663
  font-size: 16px;
664
664
  }
665
665
 
@@ -687,7 +687,7 @@ exports[`<OlympicsSchedule> renders outside of article 1`] = `
687
687
  }
688
688
 
689
689
  .c0 .pa-schedule .pa_LoadingOverlayContainer_ctr .pa_UnitListView_ctr .pa_UnitListView_unit-text {
690
- font-family: GillSansMTStd-Medium;
690
+ font-family: Roboto-Regular;
691
691
  font-size: 16px;
692
692
  }
693
693
 
@@ -706,7 +706,7 @@ exports[`<OlympicsSchedule> renders outside of article 1`] = `
706
706
  }
707
707
 
708
708
  .c0 .pa-schedule .pa_OdfFooter_ctr {
709
- font-family: GillSansMTStd-Medium;
709
+ font-family: Roboto-Regular;
710
710
  font-size: 12px;
711
711
  top: 60px;
712
712
  position: relative;
@@ -6,20 +6,17 @@ import { ArticleHarness } from '../../../fixtures/article-harness/ArticleHarness
6
6
  import { boolean, text } from '@storybook/addon-knobs';
7
7
  import { config } from '../OlympicsKeys';
8
8
 
9
- storiesOf('Typescript Component/Olympics', module)
10
- .addDecorator((storyFn: () => React.ReactNode) => (
11
- <ArticleHarness>{storyFn()}</ArticleHarness>
12
- ))
9
+ storiesOf('Typescript Component/Olympics', module).add('Medal Table', () => {
10
+ const inArticle = boolean('Is In Article', true);
11
+ const highlighted = text('Highlighted Country', 'GBR');
13
12
 
14
- .add('Medal Table', () => {
15
- const inArticle = boolean('Is In Article', true);
16
- const highlighted = text('Highlighted Country', 'GBR');
17
-
18
- return (
13
+ return (
14
+ <ArticleHarness>
19
15
  <OlympicsMedalTable
20
16
  keys={config.prod}
21
17
  highlighted={highlighted}
22
18
  inArticle={inArticle}
23
19
  />
24
- );
25
- });
20
+ </ArticleHarness>
21
+ );
22
+ });
@@ -6,13 +6,11 @@ import { ArticleHarness } from '../../../fixtures/article-harness/ArticleHarness
6
6
  import { boolean } from '@storybook/addon-knobs';
7
7
  import { config } from '../OlympicsKeys';
8
8
 
9
- storiesOf('Typescript Component/Olympics', module)
10
- .addDecorator((storyFn: () => React.ReactNode) => (
11
- <ArticleHarness>{storyFn()}</ArticleHarness>
12
- ))
13
-
14
- .add('Schedule', () => {
15
- const inArticle = boolean('Is In Article', true);
16
-
17
- return <OlympicsSchedule keys={config.prod} inArticle={inArticle} />;
18
- });
9
+ storiesOf('Typescript Component/Olympics', module).add('Schedule', () => {
10
+ const inArticle = boolean('Is In Article', true);
11
+ return (
12
+ <ArticleHarness>
13
+ <OlympicsSchedule keys={config.prod} inArticle={inArticle} />
14
+ </ArticleHarness>
15
+ );
16
+ });
@@ -6,7 +6,7 @@ exports[`OptaFootballFixtures should render correctly 1`] = `
6
6
  class="sc-bdVaJa giUBsz"
7
7
  >
8
8
  <div
9
- class="sc-htpNat sc-ifAKCX ceXVkP"
9
+ class="sc-htpNat sc-ifAKCX eajDtg"
10
10
  />
11
11
  <div
12
12
  class="sc-bwzfXH kVYHKf"
@@ -23,7 +23,7 @@ exports[`OptaFootballFixtures should render correctly 2`] = `
23
23
  class="sc-bdVaJa hGXeaj"
24
24
  >
25
25
  <div
26
- class="sc-htpNat sc-ifAKCX ceXVkP"
26
+ class="sc-htpNat sc-ifAKCX eajDtg"
27
27
  >
28
28
  <div>
29
29
  Widget
@@ -65,6 +65,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
65
65
  span {
66
66
  float: none;
67
67
  padding: 0;
68
+ font-size: 13px;
68
69
  }
69
70
 
70
71
  @media (min-width: ${breakpoints.medium}px) {
@@ -106,7 +107,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
106
107
  @media (min-width: ${breakpoints.medium}px) {
107
108
  width: 60px !important;
108
109
  padding: 6px 0 0 20px;
109
- font-size: 14px;
110
+ font-size: 13px;
110
111
  line-height: 14px;
111
112
  }
112
113
  }
@@ -197,7 +198,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
197
198
  padding: 10px;
198
199
  color: ${colours.functional.primary};
199
200
  font-family: ${fonts.supporting};
200
- font-size: 14px;
201
+ font-size: 13px;
201
202
  line-height: 16px;
202
203
  background-color: transparent;
203
204
 
@@ -230,7 +231,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
230
231
  .Opta-Event-Text {
231
232
  color: ${colours.functional.primary};
232
233
  font-family: ${fonts.supporting};
233
- font-size: 14px;
234
+ font-size: 13px;
234
235
  line-height: 16px;
235
236
 
236
237
  .Opta-Event-Player,
@@ -6,7 +6,7 @@ exports[`OptaFootballMatchStats should render correctly 1`] = `
6
6
  class="sc-bdVaJa giUBsz"
7
7
  >
8
8
  <div
9
- class="sc-htpNat sc-bxivhb ljTAFU"
9
+ class="sc-htpNat sc-bxivhb jbuKhZ"
10
10
  />
11
11
  <div
12
12
  class="sc-bwzfXH kVYHKf"
@@ -23,7 +23,7 @@ exports[`OptaFootballMatchStats should render correctly 2`] = `
23
23
  class="sc-bdVaJa hGXeaj"
24
24
  >
25
25
  <div
26
- class="sc-htpNat sc-bxivhb ljTAFU"
26
+ class="sc-htpNat sc-bxivhb jbuKhZ"
27
27
  >
28
28
  <div>
29
29
  Widget
@@ -21,7 +21,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
21
21
  padding: 20px 0 0 0;
22
22
  color: ${colours.functional.brandColour};
23
23
  font-family: ${fonts.supporting};
24
- font-size: 14px;
24
+ font-size: 13px;
25
25
  line-height: 14px;
26
26
  }
27
27
 
@@ -6,7 +6,7 @@ exports[`OptaFootballStandings should render correctly 1`] = `
6
6
  class="sc-bdVaJa giUBsz"
7
7
  >
8
8
  <div
9
- class="sc-htpNat sc-bxivhb cPAtKK"
9
+ class="sc-htpNat sc-bxivhb kQLOGL"
10
10
  />
11
11
  <div
12
12
  class="sc-bwzfXH kVYHKf"
@@ -23,7 +23,7 @@ exports[`OptaFootballStandings should render correctly 2`] = `
23
23
  class="sc-bdVaJa hGXeaj"
24
24
  >
25
25
  <div
26
- class="sc-htpNat sc-bxivhb cPAtKK"
26
+ class="sc-htpNat sc-bxivhb kQLOGL"
27
27
  >
28
28
  <div>
29
29
  Widget
@@ -155,7 +155,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
155
155
  padding: 0;
156
156
  color: ${colours.functional.primary};
157
157
  font-family: ${fonts.supporting};
158
- font-size: 14px;
158
+ font-size: 13px;
159
159
  line-height: 14px;
160
160
  font-weight: normal;
161
161
  text-align: center;
@@ -196,7 +196,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
196
196
 
197
197
  @media (min-width: ${breakpoints.medium}px) {
198
198
  width: 50px;
199
- font-size: 16px;
199
+ font-size: 15px;
200
200
  line-height: 16px;
201
201
  }
202
202
  }
@@ -6,7 +6,7 @@ exports[`OptaFootballSummary should render correctly 1`] = `
6
6
  class="sc-bdVaJa giUBsz"
7
7
  >
8
8
  <div
9
- class="sc-htpNat sc-bxivhb hHhneA"
9
+ class="sc-htpNat sc-bxivhb kplfa"
10
10
  />
11
11
  <div
12
12
  class="sc-bwzfXH kVYHKf"
@@ -23,7 +23,7 @@ exports[`OptaFootballSummary should render correctly 2`] = `
23
23
  class="sc-bdVaJa hGXeaj"
24
24
  >
25
25
  <div
26
- class="sc-htpNat sc-bxivhb hHhneA"
26
+ class="sc-htpNat sc-bxivhb kplfa"
27
27
  >
28
28
  <div>
29
29
  Widget
@@ -132,7 +132,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
132
132
  .Opta-Event-Text {
133
133
  color: ${colours.functional.brandColour};
134
134
  font-family: ${fonts.supporting};
135
- font-size: 14px;
135
+ font-size: 13px;
136
136
  line-height: 16px;
137
137
 
138
138
  .Opta-Event-Player,
@@ -6,7 +6,7 @@ exports[`OptaRugbyFixtures should render correctly 1`] = `
6
6
  class="sc-bdVaJa giUBsz"
7
7
  >
8
8
  <div
9
- class="sc-htpNat sc-ifAKCX cyWAhZ"
9
+ class="sc-htpNat sc-ifAKCX jZvPoQ"
10
10
  />
11
11
  <div
12
12
  class="sc-bwzfXH kVYHKf"
@@ -23,7 +23,7 @@ exports[`OptaRugbyFixtures should render correctly 2`] = `
23
23
  class="sc-bdVaJa hGXeaj"
24
24
  >
25
25
  <div
26
- class="sc-htpNat sc-ifAKCX cyWAhZ"
26
+ class="sc-htpNat sc-ifAKCX jZvPoQ"
27
27
  >
28
28
  <div>
29
29
  Widget
@@ -65,6 +65,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
65
65
  span {
66
66
  float: none;
67
67
  padding: 0;
68
+ font-size: 13px;
68
69
  }
69
70
 
70
71
  @media (min-width: ${breakpoints.medium}px) {
@@ -106,7 +107,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
106
107
  @media (min-width: ${breakpoints.medium}px) {
107
108
  width: 60px !important;
108
109
  padding: 6px 0 0 20px;
109
- font-size: 14px;
110
+ font-size: 13px;
110
111
  line-height: 14px;
111
112
  }
112
113
  }
@@ -230,7 +231,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
230
231
  .Opta-Event-Text {
231
232
  color: ${colours.functional.primary};
232
233
  font-family: ${fonts.supporting};
233
- font-size: 14px;
234
+ font-size: 13px;
234
235
  line-height: 16px;
235
236
 
236
237
  .Opta-Event-Player,
@@ -6,7 +6,7 @@ exports[`OptaRugbyMatchStats should render correctly 1`] = `
6
6
  class="sc-bdVaJa giUBsz"
7
7
  >
8
8
  <div
9
- class="sc-htpNat sc-bxivhb ljTAFU"
9
+ class="sc-htpNat sc-bxivhb jbuKhZ"
10
10
  />
11
11
  <div
12
12
  class="sc-bwzfXH kVYHKf"
@@ -23,7 +23,7 @@ exports[`OptaRugbyMatchStats should render correctly 2`] = `
23
23
  class="sc-bdVaJa hGXeaj"
24
24
  >
25
25
  <div
26
- class="sc-htpNat sc-bxivhb ljTAFU"
26
+ class="sc-htpNat sc-bxivhb jbuKhZ"
27
27
  >
28
28
  <div>
29
29
  Widget
@@ -21,7 +21,7 @@ export const WidgetContainer = styled(WidgetContainerBase)`
21
21
  padding: 20px 0 0 0;
22
22
  color: ${colours.functional.brandColour};
23
23
  font-family: ${fonts.supporting};
24
- font-size: 14px;
24
+ font-size: 13px;
25
25
  line-height: 14px;
26
26
  }
27
27