Skip to content

Commit fb4c4b8

Browse files
author
Luke Bowerman
authored
Remove requirement that package consumers add @types/styled-system as implicit peerDependency (#830)
1 parent 512fb11 commit fb4c4b8

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- `Menu` closes by default on `MenuItem` click
13+
- Provide `@types/styled-system` as a package dependency
1314

1415
## [0.7.28] - 2020-04-20
1516

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"react-hotkeys": "^2.0.0",
4242
"react-resize-detector": "^4.2.3",
4343
"react-transition-group": "^4.3.0",
44+
"@types/styled-system": "^5.1.9",
4445
"styled-system": "^5.1.5",
4546
"uuid": "^7.0.3"
4647
},
@@ -57,7 +58,6 @@
5758
"@types/react-resize-detector": "^4.2.0",
5859
"@types/react-transition-group": "^4.2.4",
5960
"@types/styled-components": "^4.4.1",
60-
"@types/styled-system": "^5.1.9",
6161
"@types/uuid": "^7.0.2",
6262
"csstype": "^2.6.10",
6363
"jest-styled-components": "^6.3.4",

packages/design-tokens/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"develop": "yarn build:es --watch --verbose & yarn declaration --watch"
2626
},
2727
"dependencies": {
28+
"@types/styled-system": "^5.1.9",
2829
"lodash": "^4.17.15",
2930
"polished": "^3.5.1",
3031
"styled-system": "^5.1.5"
3132
},
3233
"devDependencies": {
3334
"@types/lodash": "^4.14.149",
3435
"@types/styled-components": "^4.4.1",
35-
"@types/styled-system": "^5.1.9",
3636
"csstype": "^2.6.10",
3737
"lodash": "^4.17.15",
3838
"react": "^16.13.1",

packages/providers/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@
2525
"develop": "yarn build:es --watch --verbose & yarn declaration --watch"
2626
},
2727
"dependencies": {
28-
"@looker/design-tokens": "^0.7.28",
29-
"styled-components": "^4.4.1"
28+
"@looker/design-tokens": "^0.7.28"
3029
},
3130
"devDependencies": {
3231
"@types/react": "^16.9.34",
3332
"@types/styled-components": "^4.4.1",
34-
"react": "^16.13.1"
33+
"react": "^16.13.1",
34+
"styled-components": "^4.4.1"
3535
},
3636
"peerDependencies": {
37-
"react": "^16.13.1"
37+
"react": "^16.9.0",
38+
"styled-components": "^4.3.2"
3839
}
3940
}

0 commit comments

Comments
 (0)