@times-components/ts-components 1.31.0 → 1.32.1
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 +30 -0
- package/dist/components/article-header/ArticleHeader.d.ts +2 -1
- package/dist/components/article-header/ArticleHeader.js +21 -18
- package/dist/components/article-header/ArticleHeader.stories.js +18 -23
- package/dist/components/article-header/__tests__/ArticleHeader.test.js +59 -91
- package/dist/components/article-header/styles.d.ts +1 -3
- package/dist/components/article-header/styles.js +2 -2
- package/package.json +15 -14
- package/rnw.js +1 -1
- package/src/components/article-header/ArticleHeader.stories.tsx +28 -28
- package/src/components/article-header/ArticleHeader.tsx +35 -25
- package/src/components/article-header/__tests__/ArticleHeader.test.tsx +104 -136
- package/src/components/article-header/__tests__/__snapshots__/ArticleHeader.test.tsx.snap +23 -68
- package/src/components/article-header/styles.ts +2 -2
- package/src/components/latest-from-section/__tests__/__snapshots__/LatestFromSection.test.tsx.snap +6 -9
package/src/components/latest-from-section/__tests__/__snapshots__/LatestFromSection.test.tsx.snap
CHANGED
|
@@ -123,9 +123,8 @@ exports[`<LatestFromSection> renders 1`] = `
|
|
|
123
123
|
style="margin-bottom: 0px;"
|
|
124
124
|
>
|
|
125
125
|
<div
|
|
126
|
-
class="
|
|
127
|
-
|
|
128
|
-
style="color: rgb(0, 131, 71); font-family: GillSansMTStd-Medium; font-size: 12px; font-weight: 400; letter-spacing: 1px; line-height: 12px; margin-bottom: 0px; margin-top: -1px; padding-top: 1px;"
|
|
126
|
+
class="tc-text__TcText-sc-15igzev-0 lhcAkf"
|
|
127
|
+
style="font-family: GillSansMTStd-Medium; font-size: 12px; line-height: 12px; font-weight: 400; margin-bottom: 0px; margin-top: -1px; padding-top: 1px; letter-spacing: 1px; color: rgb(0, 131, 71);"
|
|
129
128
|
>
|
|
130
129
|
CYCLING | DAVID WALSH
|
|
131
130
|
</div>
|
|
@@ -271,9 +270,8 @@ exports[`<LatestFromSection> renders 1`] = `
|
|
|
271
270
|
style="margin-bottom: 0px;"
|
|
272
271
|
>
|
|
273
272
|
<div
|
|
274
|
-
class="
|
|
275
|
-
|
|
276
|
-
style="color: rgb(0, 131, 71); font-family: GillSansMTStd-Medium; font-size: 12px; font-weight: 400; letter-spacing: 1px; line-height: 12px; margin-bottom: 0px; margin-top: -1px; padding-top: 1px;"
|
|
273
|
+
class="tc-text__TcText-sc-15igzev-0 lhcAkf"
|
|
274
|
+
style="font-family: GillSansMTStd-Medium; font-size: 12px; line-height: 12px; font-weight: 400; margin-bottom: 0px; margin-top: -1px; padding-top: 1px; letter-spacing: 1px; color: rgb(0, 131, 71);"
|
|
277
275
|
>
|
|
278
276
|
EURO 2020 | MATT LAWTON
|
|
279
277
|
</div>
|
|
@@ -419,9 +417,8 @@ exports[`<LatestFromSection> renders 1`] = `
|
|
|
419
417
|
style="margin-bottom: 0px;"
|
|
420
418
|
>
|
|
421
419
|
<div
|
|
422
|
-
class="
|
|
423
|
-
|
|
424
|
-
style="color: rgb(0, 131, 71); font-family: GillSansMTStd-Medium; font-size: 12px; font-weight: 400; letter-spacing: 1px; line-height: 12px; margin-bottom: 0px; margin-top: -1px; padding-top: 1px;"
|
|
420
|
+
class="tc-text__TcText-sc-15igzev-0 lhcAkf"
|
|
421
|
+
style="font-family: GillSansMTStd-Medium; font-size: 12px; line-height: 12px; font-weight: 400; margin-bottom: 0px; margin-top: -1px; padding-top: 1px; letter-spacing: 1px; color: rgb(0, 131, 71);"
|
|
425
422
|
>
|
|
426
423
|
EURO 2020 | JONATHAN NORTHCROFT
|
|
427
424
|
</div>
|