@times-components/ts-components 1.30.7 → 1.32.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 +30 -0
- package/package.json +13 -13
- package/src/components/latest-from-section/__tests__/__snapshots__/LatestFromSection.test.tsx.snap +9 -12
- package/src/components/newsletter-puff/__tests__/__snapshots__/InlineNewsletterPuff.test.tsx.snap +1 -1
- package/src/components/newsletter-puff/__tests__/__snapshots__/NewsletterPuffLink.test.tsx.snap +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
# [1.32.0](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.31.1...@times-components/ts-components@1.32.0) (2022-04-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **TDP-1691:** remove react native from article label ([#2921](https://github.com/newsuk/times-components/issues/2921)) ([a2f1d2f](https://github.com/newsuk/times-components/commit/a2f1d2fd3923378b8a8f1a91cc87e6bc97aef9eb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.31.1](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.31.0...@times-components/ts-components@1.31.1) (2022-04-20)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @times-components/ts-components
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [1.31.0](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.30.7...@times-components/ts-components@1.31.0) (2022-04-20)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **TDP-1716:** remove react native from utils ([#2915](https://github.com/newsuk/times-components/issues/2915)) ([647388c](https://github.com/newsuk/times-components/commit/647388c28f6e869be5cb0eb9d85685bec192c723))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [1.30.7](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.30.6...@times-components/ts-components@1.30.7) (2022-04-19)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @times-components/ts-components
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/ts-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "Reuseable Typescript React Components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"dev": "dist/index.js",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"node": ">=8.9"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@times-components/button": "2.5.
|
|
54
|
-
"@times-components/date-publication": "0.22.
|
|
55
|
-
"@times-components/icons": "2.16.
|
|
56
|
-
"@times-components/image": "6.
|
|
57
|
-
"@times-components/link": "3.
|
|
58
|
-
"@times-components/provider": "1.30.
|
|
53
|
+
"@times-components/button": "2.5.9",
|
|
54
|
+
"@times-components/date-publication": "0.22.10",
|
|
55
|
+
"@times-components/icons": "2.16.20",
|
|
56
|
+
"@times-components/image": "6.11.2",
|
|
57
|
+
"@times-components/link": "3.9.2",
|
|
58
|
+
"@times-components/provider": "1.30.13",
|
|
59
59
|
"@times-components/provider-queries": "2.15.3",
|
|
60
|
-
"@times-components/related-articles": "6.
|
|
61
|
-
"@times-components/styleguide": "3.38.
|
|
62
|
-
"@times-components/ts-slices": "1.3.
|
|
63
|
-
"@times-components/utils": "6.
|
|
60
|
+
"@times-components/related-articles": "6.8.0",
|
|
61
|
+
"@times-components/styleguide": "3.38.39",
|
|
62
|
+
"@times-components/ts-slices": "1.3.10",
|
|
63
|
+
"@times-components/utils": "6.9.0",
|
|
64
64
|
"algoliasearch": "4.9.0",
|
|
65
65
|
"date-fns": "2.28.0",
|
|
66
66
|
"graphql": "14.2.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@testing-library/jest-dom": "^5.12.0",
|
|
83
83
|
"@testing-library/react": "^12.1.2",
|
|
84
84
|
"@times-components/provider-test-tools": "1.26.1",
|
|
85
|
-
"@times-components/storybook": "4.2.
|
|
85
|
+
"@times-components/storybook": "4.2.9",
|
|
86
86
|
"@times-components/test-utils": "2.3.10",
|
|
87
87
|
"@types/graphql": "14.0.3",
|
|
88
88
|
"@types/jest": "24.9.1",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"@testing-library/jest-dom/extend-expect"
|
|
119
119
|
]
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "a45aac6892b29f73179d8312c1b50e41eeab1790"
|
|
122
122
|
}
|
package/src/components/latest-from-section/__tests__/__snapshots__/LatestFromSection.test.tsx.snap
CHANGED
|
@@ -58,7 +58,7 @@ exports[`<LatestFromSection> renders 1`] = `
|
|
|
58
58
|
data-testid="related-article-item"
|
|
59
59
|
>
|
|
60
60
|
<a
|
|
61
|
-
class="link__RespLink-sc-1ocvixa-0
|
|
61
|
+
class="link__RespLink-sc-1ocvixa-0 eeJpYz"
|
|
62
62
|
href="https://www.thetimes.co.uk/article/the-entire-tour-de-france-bows-to-the-greatness-of-mark-cavendish-2zq0zgfmn"
|
|
63
63
|
>
|
|
64
64
|
<div
|
|
@@ -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>
|
|
@@ -206,7 +205,7 @@ exports[`<LatestFromSection> renders 1`] = `
|
|
|
206
205
|
data-testid="related-article-item"
|
|
207
206
|
>
|
|
208
207
|
<a
|
|
209
|
-
class="link__RespLink-sc-1ocvixa-0
|
|
208
|
+
class="link__RespLink-sc-1ocvixa-0 eeJpYz"
|
|
210
209
|
href="https://www.thetimes.co.uk/article/jordan-pickford-repels-everything-germans-muster-ktkcvc85p"
|
|
211
210
|
>
|
|
212
211
|
<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>
|
|
@@ -354,7 +352,7 @@ exports[`<LatestFromSection> renders 1`] = `
|
|
|
354
352
|
data-testid="related-article-item"
|
|
355
353
|
>
|
|
356
354
|
<a
|
|
357
|
-
class="link__RespLink-sc-1ocvixa-0
|
|
355
|
+
class="link__RespLink-sc-1ocvixa-0 eeJpYz"
|
|
358
356
|
href="https://www.thetimes.co.uk/article/the-tactical-masterstrokes-behind-englands-ruthless-win-s2s5j6k8l"
|
|
359
357
|
>
|
|
360
358
|
<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>
|
package/src/components/newsletter-puff/__tests__/__snapshots__/InlineNewsletterPuff.test.tsx.snap
CHANGED
|
@@ -142,7 +142,7 @@ exports[`Inline Newsletter Puff Manage preferences renders the success view aft
|
|
|
142
142
|
class="sc-bdVaJa sc-gZMcBi hBIkUX"
|
|
143
143
|
>
|
|
144
144
|
<a
|
|
145
|
-
class="link__RespLink-sc-1ocvixa-0
|
|
145
|
+
class="link__RespLink-sc-1ocvixa-0 eeJpYz"
|
|
146
146
|
href="https://home.thetimes.co.uk/myNews"
|
|
147
147
|
>
|
|
148
148
|
<div
|