@emotion/styled
Advanced tools
Comparing version 11.0.0-next.8 to 11.0.0-next.9
# @emotion/styled | ||
## 11.0.0-next.9 | ||
### Patch Changes | ||
- [`8b59959`](https://github.com/emotion-js/emotion/commit/8b59959f0929799f050089b05cafb39ca2c57d2d) [#1600](https://github.com/emotion-js/emotion/pull/1600) Thanks [@Andarist](https://github.com/Andarist)! - Fixed issue when using "component as selector" in styled interpolations which caused the wrong type to be inferred. | ||
- Updated dependencies []: | ||
- @emotion/core@11.0.0-next.9 | ||
## 11.0.0-next.8 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "@emotion/styled", | ||
"version": "11.0.0-next.8", | ||
"version": "11.0.0-next.9", | ||
"description": "styled API for emotion", | ||
@@ -22,3 +22,3 @@ "main": "dist/styled.cjs.js", | ||
"@babel/core": "^7.0.0", | ||
"@emotion/core": "^11.0.0-next.8", | ||
"@emotion/core": "^11.0.0-next.9", | ||
"react": ">=16.8.0" | ||
@@ -33,3 +33,3 @@ }, | ||
"@babel/core": "^7.7.2", | ||
"@emotion/core": "^11.0.0-next.8", | ||
"@emotion/core": "^11.0.0-next.9", | ||
"dtslint": "^0.3.0", | ||
@@ -36,0 +36,0 @@ "react": "^16.11.0" |
@@ -151,3 +151,3 @@ // @flow | ||
return ( | ||
<React.Fragment> | ||
<> | ||
<style | ||
@@ -161,3 +161,3 @@ {...{ | ||
{ele} | ||
</React.Fragment> | ||
</> | ||
) | ||
@@ -164,0 +164,0 @@ } |
@@ -82,6 +82,14 @@ // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun> | ||
): StyledComponent<ComponentProps & AdditionalProps, SpecificComponentProps> | ||
( | ||
template: TemplateStringsArray, | ||
...styles: Array< | ||
Interpolation<ComponentProps & SpecificComponentProps & StyleProps> | ||
> | ||
): StyledComponent<ComponentProps, SpecificComponentProps> | ||
/** | ||
* @typeparam AdditionalProps Additional props to add to your styled component | ||
*/ | ||
<AdditionalProps extends {} = {}>( | ||
<AdditionalProps extends {}>( | ||
template: TemplateStringsArray, | ||
@@ -88,0 +96,0 @@ ...styles: Array< |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
179846
1851