Skip to content

Commit 98af68c

Browse files
author
Lucas Bento
authored
Merge pull request #144 from react-native-community/renovate/styled-components-5.x
fix(deps): update dependency styled-components to v5
2 parents f5915c8 + f84a4db commit 98af68c

File tree

8 files changed

+136
-73
lines changed

8 files changed

+136
-73
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react-github-btn": "1.1.1",
1818
"react-scripts": "3.0.1",
1919
"semver": "7.1.1",
20-
"styled-components": "4.4.1"
20+
"styled-components": "5.0.0"
2121
},
2222
"devDependencies": {
2323
"eslint": "5.16.0",

src/__tests__/components/common/__snapshots__/CompletedFilesCounter.spec.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`renders without crashing 1`] = `
44
<div>
55
<div
6-
class="sc-bdVaJa eYGfss"
6+
class="sc-AykKC dtOdrK"
77
>
88
<span
99
class="completedAmount"

src/__tests__/components/common/__snapshots__/Loading.spec.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`renders without crashing 1`] = `
44
<div>
55
<img
66
alt="Loading"
7-
class="sc-bdVaJa dRbStl"
7+
class="sc-AykKC cqLuft"
88
logo="test.png"
99
src="loading.svg"
1010
title="Loading"

src/__tests__/components/common/__snapshots__/Select.spec.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
exports[`renders without crashing 1`] = `
44
<div>
55
<div
6-
class="sc-bdVaJa UoSJW"
6+
class="sc-AykKC kCkcwd"
77
>
88
<h4>
99
MyTitle
1010
</h4>
1111
<div
12-
class="ant-select-lg sc-bwzfXH jwfMIB ant-select ant-select-enabled"
12+
class="ant-select-lg sc-AykKD epVcji ant-select ant-select-enabled"
1313
>
1414
<div
1515
aria-autocomplete="list"

src/__tests__/components/common/__snapshots__/UsefulContentSection.spec.js.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
exports[`renders without crashing 1`] = `
44
<div>
55
<div
6-
class="sc-htpNat cxJeAb"
6+
class="sc-AykKE dnSnnP"
77
>
88
<div
9-
class="sc-bxivhb cnNsuz"
9+
class="sc-AykKF dqdZRH"
1010
>
1111
<h2>
1212
<span
1313
aria-label="Close useful content section"
14-
class="sc-ifAKCX dQIIsA"
14+
class="sc-AykKG gpypFm"
1515
role="img"
1616
>
1717
📣
1818
</span>
1919
Useful content for upgrading
2020
</h2>
2121
<button
22-
class="ant-btn sc-EHOje kMAZtT ant-btn-link ant-btn-icon-only"
22+
class="ant-btn sc-AykKH cLLRHK ant-btn-link ant-btn-icon-only"
2323
type="button"
2424
>
2525
<i
@@ -46,11 +46,11 @@ exports[`renders without crashing 1`] = `
4646
React Native 0.61 includes Fast Refresh and more.
4747
</span>
4848
<ol
49-
class="sc-gzVnrw emyMmg"
49+
class="sc-AykKJ imPLGX"
5050
>
5151
<li>
5252
<a
53-
class="sc-bdVaJa dFUFTG"
53+
class="sc-AykKC csdPub"
5454
href="https://facebook.github.io/react-native/blog/2019/09/18/version-0.61"
5555
rel="noopener"
5656
target="_blank"
@@ -60,7 +60,7 @@ exports[`renders without crashing 1`] = `
6060
</li>
6161
<li>
6262
<a
63-
class="sc-bdVaJa dFUFTG"
63+
class="sc-AykKC csdPub"
6464
href="https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.61/"
6565
rel="noopener"
6666
target="_blank"
@@ -70,7 +70,7 @@ exports[`renders without crashing 1`] = `
7070
</li>
7171
<li>
7272
<a
73-
class="sc-bdVaJa dFUFTG"
73+
class="sc-AykKC csdPub"
7474
href="https://github.com/react-native-community/releases/blob/master/CHANGELOG.md#061"
7575
rel="noopener"
7676
target="_blank"

src/__tests__/components/common/__snapshots__/VersionSelector.spec.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
exports[`renders without crashing 1`] = `
44
<div>
55
<div
6-
class="sc-htpNat hqmgw"
6+
class="sc-AykKE eYKWmu"
77
>
88
<div
9-
class="sc-bdVaJa UoSJW"
9+
class="sc-AykKC kCkcwd"
1010
>
1111
<h4>
1212
What's your current React Native version?
1313
</h4>
1414
<div
15-
class="ant-select-lg sc-bwzfXH jwfMIB sc-bxivhb iYdHlP ant-select ant-select-enabled ant-select-loading"
15+
class="ant-select-lg sc-AykKD epVcji sc-AykKF ksxpcV ant-select ant-select-enabled ant-select-loading"
1616
>
1717
<div
1818
aria-autocomplete="list"
@@ -62,13 +62,13 @@ exports[`renders without crashing 1`] = `
6262
</div>
6363
</div>
6464
<div
65-
class="sc-bdVaJa UoSJW"
65+
class="sc-AykKC kCkcwd"
6666
>
6767
<h4>
6868
To which version would you like to upgrade?
6969
</h4>
7070
<div
71-
class="ant-select-lg sc-bwzfXH jwfMIB sc-ifAKCX dTveGH ant-select ant-select-enabled ant-select-loading"
71+
class="ant-select-lg sc-AykKD epVcji sc-AykKG bxUSbb ant-select ant-select-enabled ant-select-loading"
7272
>
7373
<div
7474
aria-autocomplete="list"
@@ -119,7 +119,7 @@ exports[`renders without crashing 1`] = `
119119
</div>
120120
</div>
121121
<div
122-
class="sc-EHOje jWoLok"
122+
class="sc-AykKH jYujfn"
123123
>
124124
<button
125125
class="ant-btn ant-btn-primary ant-btn-lg"

src/components/common/Diff/DiffComment.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ const CommentContent = styled.div`
1717
`
1818

1919
const CommentButton = styled(Button)`
20-
height: 16px;
21-
width: 16px;
20+
min-width: initial;
21+
width: 20px;
22+
height: 20px;
2223
position: absolute;
23-
top: 1px;
24-
left: -10px;
24+
top: -1px;
25+
left: 5px;
2526
font-size: 8px;
2627
cursor: 'pointer';
2728
`

0 commit comments

Comments
 (0)