Skip to content

Commit 12ed9b1

Browse files
Bump styled-component dependencies (#66611) (#67114)
# Conflicts: # packages/kbn-babel-preset/package.json
1 parent e21a1ed commit 12ed9b1

File tree

12 files changed

+140
-173
lines changed

12 files changed

+140
-173
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
"@types/semver": "^5.5.0",
383383
"@types/sinon": "^7.0.13",
384384
"@types/strip-ansi": "^3.0.0",
385-
"@types/styled-components": "^4.4.2",
385+
"@types/styled-components": "^5.1.0",
386386
"@types/supertest": "^2.0.5",
387387
"@types/supertest-as-promised": "^2.0.38",
388388
"@types/testing-library__react": "^9.1.2",

packages/kbn-babel-preset/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"@babel/preset-typescript": "^7.9.0",
1515
"babel-plugin-add-module-exports": "^1.0.2",
1616
"babel-plugin-filter-imports": "^3.0.0",
17-
"babel-plugin-styled-components": "^1.10.6",
18-
"babel-plugin-transform-define": "^2.0.0",
17+
"babel-plugin-styled-components": "^1.10.7",
18+
"babel-plugin-transform-define": "^1.3.1",
1919
"babel-plugin-transform-imports": "^2.0.0"
2020
}
2121
}

packages/kbn-storybook/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
"fast-glob": "2.2.7",
1919
"glob-watcher": "5.0.3",
2020
"jest-specific-snapshot": "2.0.0",
21-
"jest-styled-components": "6.3.1",
21+
"jest-styled-components": "^7.0.2",
2222
"mkdirp": "0.5.1",
2323
"mini-css-extract-plugin": "0.7.0",
2424
"normalize-path": "3.0.0",
2525
"react-docgen-typescript-loader": "3.1.0",
2626
"rxjs": "6.5.2",
2727
"serve-static": "1.14.1",
28-
"styled-components": "^3",
28+
"styled-components": "^5.1.0",
2929
"webpack": "^4.41.5"
3030
}
3131
}

x-pack/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"@types/redux-actions": "^2.6.1",
107107
"@types/set-value": "^2.0.0",
108108
"@types/sinon": "^7.0.13",
109-
"@types/styled-components": "^4.4.2",
109+
"@types/styled-components": "^5.1.0",
110110
"@types/supertest": "^2.0.5",
111111
"@types/tar-fs": "^1.16.1",
112112
"@types/tinycolor2": "^1.4.1",
@@ -149,7 +149,7 @@
149149
"hoist-non-react-statics": "^3.3.2",
150150
"jest": "^24.9.0",
151151
"jest-cli": "^24.9.0",
152-
"jest-styled-components": "^7.0.0",
152+
"jest-styled-components": "^7.0.2",
153153
"jsdom": "^15.2.1",
154154
"loader-utils": "^1.2.3",
155155
"madge": "3.4.4",
@@ -351,7 +351,7 @@
351351
"squel": "^5.13.0",
352352
"stats-lite": "^2.2.0",
353353
"style-it": "^2.1.3",
354-
"styled-components": "^5.0.0",
354+
"styled-components": "^5.1.0",
355355
"suricata-sid-db": "^1.0.2",
356356
"tinycolor2": "1.4.1",
357357
"tinymath": "1.2.1",

x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/Stackframe.test.tsx.snap

Lines changed: 40 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/siem/public/common/components/link_icon/index.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('LinkIcon', () => {
7979
</TestProviders>
8080
);
8181

82-
expect(wrapper.find('.siemLinkIcon').first()).toHaveStyleRule('flex-direction', 'row-reverse');
82+
expect(wrapper.find('.siemLinkIcon').at(1)).toHaveStyleRule('flex-direction', 'row-reverse');
8383
});
8484

8585
test('it positions the icon to the left when iconSide is left (or not provided)', () => {
@@ -91,7 +91,7 @@ describe('LinkIcon', () => {
9191
</TestProviders>
9292
);
9393

94-
expect(wrapper.find('.siemLinkIcon').first()).not.toHaveStyleRule(
94+
expect(wrapper.find('.siemLinkIcon').at(1)).not.toHaveStyleRule(
9595
'flex-direction',
9696
'row-reverse'
9797
);

x-pack/plugins/siem/public/common/components/matrix_histogram/__snapshots__/index.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)