@cloudflare/style-container
Advanced tools
Comparing version 4.0.18 to 4.0.19
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="4.0.19"></a> | ||
## [4.0.19](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@4.0.18...@cloudflare/style-container@4.0.19) (2018-10-10) | ||
### Bug Fixes | ||
* **style-container:** UI-1350: Updating type definitions ([c2d3773](http://stash.cfops.it:7999/fe/stratus/commits/c2d3773)) | ||
<a name="4.0.18"></a> | ||
@@ -15,3 +26,3 @@ ## [4.0.18](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@4.0.17...@cloudflare/style-container@4.0.18) (2018-10-06) | ||
<a name="4.0.17"></a> | ||
<a name="4.0.17"></a> | ||
## [4.0.17](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@4.0.16...@cloudflare/style-container@4.0.17) (2018-10-05) | ||
@@ -24,3 +35,3 @@ | ||
<a name="4.0.16"></a> | ||
<a name="4.0.16"></a> | ||
@@ -31,3 +42,3 @@ ## [4.0.16](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@4.0.15...@cloudflare/style-container@4.0.16) (2018-10-03) | ||
<a name="4.0.15"></a> | ||
<a name="4.0.15"></a> | ||
@@ -34,0 +45,0 @@ ## [4.0.15](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/style-container@4.0.14...@cloudflare/style-container@4.0.15) (2018-10-02) |
declare module '@cloudflare/style-container' { | ||
import * as React from 'react'; | ||
import { Style, FelaHtmlComponent } from 'react-fela'; | ||
import { IStyle } from 'fela'; | ||
import { Style, FelaHtmlComponent, FelaWithThemeProps } from 'react-fela'; | ||
import { variables } from '@cloudflare/style-const'; | ||
@@ -88,3 +89,14 @@ | ||
type TStandardTheme = typeof variables; | ||
export function withTheme<Props>( | ||
component: React.ComponentType<FelaWithThemeProps<TStandardTheme> & Props> | ||
): React.ComponentType<Props>; | ||
export function applyStaticStyles<Props>( | ||
styles: IStyle, | ||
component: React.ComponentType<Props> | ||
): React.ComponentType<Props>; | ||
export default createComponent; | ||
} |
{ | ||
"name": "@cloudflare/style-container", | ||
"description": "Cloudflare Style Container", | ||
"version": "4.0.18", | ||
"version": "4.0.19", | ||
"types": "./src", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
105739
1476