Skip to content

Commit

Permalink
Merge #982
Browse files Browse the repository at this point in the history
982: chore(deps): update dependency @types/styled-components to v4.1.6 r=dicarlo2 a=danwbyrne

### Description of the Change

Do #758 but also add a type to an inferred any callback.

### Test Plan

```
yarn tsc
```


### Applicable Issues

#758 


Co-authored-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
bors[bot] and renovate-bot committed Jan 24, 2019
2 parents b072174 + 610e9ed commit c6e3937
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 27 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
"@types/autoprefixer": "9.1.1",
"@types/jest": "23.3.13",
"@types/react": "16.7.20",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"@types/webpack": "4.4.24",
"@types/webpack-bundle-analyzer": "2.13.0",
"@types/yargs": "12.0.2",
Expand Down Expand Up @@ -225,7 +225,7 @@
"source-map": "0.7.3",
"stats-webpack-plugin": "0.7.0",
"style-loader": "0.23.1",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"stylelint": "9.10.1",
"stylelint-config-standard": "18.2.0",
"stylelint-config-styled-components": "0.1.1",
Expand Down Expand Up @@ -262,7 +262,7 @@
"bn.js": "4.11.8",
"grpc": "1.16.1",
"regenerator-runtime": "0.13.1",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"webpack": "4.29.0"
},
"config": {
Expand Down
4 changes: 2 additions & 2 deletions packages/neo-one-react-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"main": "./src/index.ts",
"dependencies": {
"@neo-one/types": "1.0.1",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"react": "16.7.0",
"rxjs": "6.3.3",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"styled-tools": "1.7.1"
},
"sideEffects": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"@neo-one/react-core": "1.0.0-preview.5",
"@types/react": "16.7.20",
"@types/react-dom": "16.0.11",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"bignumber.js": "8.0.2",
"react": "16.7.0",
"react-dom": "16.7.0",
"rxjs": "6.3.3",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"styled-tools": "1.7.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"@neo-one/react-core": "1.0.0-preview.5",
"@types/react": "16.7.20",
"@types/react-dom": "16.0.11",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"bignumber.js": "8.0.2",
"react": "16.7.0",
"react-dom": "16.7.0",
"rxjs": "6.3.3",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"styled-tools": "1.7.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"@neo-one/react-core": "1.0.0-preview.5",
"@types/react": "16.7.20",
"@types/react-dom": "16.0.11",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"bignumber.js": "8.0.2",
"react": "16.7.0",
"react-dom": "16.7.0",
"rxjs": "6.3.3",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"styled-tools": "1.7.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"@neo-one/react-core": "1.0.0-preview.5",
"@types/react": "16.7.20",
"@types/react-dom": "16.0.11",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"bignumber.js": "8.0.2",
"react": "16.7.0",
"react-dom": "16.7.0",
"rxjs": "6.3.3",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"styled-tools": "1.7.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"@neo-one/react-core": "1.0.0-preview.5",
"@types/react": "16.7.20",
"@types/react-dom": "16.0.11",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"bignumber.js": "8.0.2",
"react": "16.7.0",
"react-dom": "16.7.0",
"rxjs": "6.3.3",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"styled-tools": "1.7.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"@neo-one/react-core": "1.0.0-preview.5",
"@types/react": "16.7.20",
"@types/react-dom": "16.0.11",
"@types/styled-components": "4.1.0",
"@types/styled-components": "4.1.6",
"bignumber.js": "8.0.2",
"react": "16.7.0",
"react-dom": "16.7.0",
"rxjs": "6.3.3",
"styled-components": "4.1.1",
"styled-components": "4.1.3",
"styled-tools": "1.7.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ export const ReferenceGrid = ({ content, ...props }: Props) => {
<Wrapper {...props}>
<FilterWrapper>
<TypeFilter selected={typeFilter} onChange={setTypeFilter} />
<StyledInput placeholder="Filter" onChange={(event) => setTextFilter(event.target.value)} />
<StyledInput
placeholder="Filter"
onChange={(event: React.ChangeEvent<HTMLInputElement>) => setTextFilter(event.target.value)}
/>
</FilterWrapper>
<ReferenceLayout>
{content
Expand Down
31 changes: 22 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1278,11 +1278,15 @@
version "0.6.6"
resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.6.6.tgz#62266c5f0eac6941fece302abad69f2ee7e25e44"

"@emotion/is-prop-valid@^0.6.8":
version "0.6.8"
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.6.8.tgz#68ad02831da41213a2089d2cab4e8ac8b30cbd85"
"@emotion/is-prop-valid@^0.7.3":
version "0.7.3"
resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.7.3.tgz#a6bf4fa5387cbba59d44e698a4680f481a8da6cc"
dependencies:
"@emotion/memoize" "^0.6.6"
"@emotion/memoize" "0.7.1"

"@emotion/memoize@0.7.1":
version "0.7.1"
resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.1.tgz#e93c13942592cf5ef01aa8297444dc192beee52f"

"@emotion/memoize@^0.6.1", "@emotion/memoize@^0.6.6":
version "0.6.6"
Expand Down Expand Up @@ -3174,7 +3178,15 @@
dependencies:
"@types/node" "*"

"@types/styled-components@4.1.0", "@types/styled-components@^4.1.0":
"@types/styled-components@4.1.6":
version "4.1.6"
resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-4.1.6.tgz#9aa1d47dbc6bae540083869bcc6c639c6e9af0fe"
dependencies:
"@types/node" "*"
"@types/react" "*"
csstype "^2.2.0"

"@types/styled-components@^4.1.0":
version "4.1.0"
resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-4.1.0.tgz#87d193ccfd4768c3b7606404646f3564c18830d0"
dependencies:
Expand Down Expand Up @@ -17560,11 +17572,12 @@ style-search@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902"

styled-components@4.1.1, styled-components@^4.0.3, styled-components@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.1.1.tgz#943922048fae556e286bcbfdd29da4f1399446bc"
styled-components@4.1.3, styled-components@^4.0.3, styled-components@^4.1.1:
version "4.1.3"
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.1.3.tgz#4472447208e618b57e84deaaeb6acd34a5e0fe9b"
dependencies:
"@emotion/is-prop-valid" "^0.6.8"
"@babel/helper-module-imports" "^7.0.0"
"@emotion/is-prop-valid" "^0.7.3"
"@emotion/unitless" "^0.7.0"
babel-plugin-styled-components ">= 1"
css-to-react-native "^2.2.2"
Expand Down

0 comments on commit c6e3937

Please sign in to comment.