cf-style-container
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="6.0.2"></a> | ||
## [6.0.2](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-container@6.0.1...cf-style-container@6.0.2) (2018-01-18) | ||
### Bug Fixes | ||
* **cf-style-container:** UI-331: Typings allow createComponent to decorate components ([fc3f33f](http://stash.cfops.it:7999/www/cf-ux/commits/fc3f33f)) | ||
<a name="6.0.1"></a> | ||
@@ -19,3 +30,3 @@ ## [6.0.1](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-container@6.0.0...cf-style-container@6.0.1) (2017-11-22) | ||
<a name="6.0.0"></a> | ||
<a name="6.0.0"></a> | ||
# [6.0.0](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-container@5.3.2...cf-style-container@6.0.0) (2017-11-14) | ||
@@ -40,3 +51,3 @@ | ||
<a name="5.3.2"></a> | ||
<a name="5.3.2"></a> | ||
## [5.3.2](http://stash.cfops.it:7999/www/cf-ux/compare/cf-style-container@5.3.1...cf-style-container@5.3.2) (2017-11-08) | ||
@@ -43,0 +54,0 @@ |
@@ -14,7 +14,7 @@ declare module 'cf-style-container' { | ||
export function createComponent<T>( | ||
rule: TRule<T>, | ||
type?: string | TComponent<T> | HTMLElement, | ||
passThroughProps?: string[] | ||
): React.StatelessComponent<T>; | ||
export function createComponent<T, P = {}>( | ||
rule: TRule<T & { theme?: any }>, | ||
type?: string | HTMLElement | TComponent<P>, | ||
passThroughProps?: string[], | ||
): React.StatelessComponent<Partial<T & P>> | ||
@@ -21,0 +21,0 @@ export function applyTheme<A, B>( |
{ | ||
"name": "cf-style-container", | ||
"description": "Cloudflare Style Container", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "module": "es/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25821
9
1