@stitches/react
Advanced tools
Comparing version 1.0.0-canary.8 to 1.0.0-canary.9
{ | ||
"name": "@stitches/react", | ||
"version": "1.0.0-canary.8", | ||
"version": "1.0.0-canary.9", | ||
"description": "The modern CSS-in-JS library", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -25,5 +25,5 @@ import type * as Default from './default' | ||
: As extends React.ComponentType<infer P> | ||
? Util.Assign<P, TransformedProps & { as: As }> | ||
? Util.Assign<P, TransformedProps & { as: As, css?: CSS }> | ||
: As extends keyof JSX.IntrinsicElements | ||
? Util.Assign<JSX.IntrinsicElements[As], TransformedProps & { as: As }> | ||
? Util.Assign<JSX.IntrinsicElements[As], TransformedProps & { as: As, css?: CSS }> | ||
: never | ||
@@ -41,6 +41,2 @@ ) | ||
type InferLate<CSS extends {} = {}, Props extends {} = {}> = { | ||
[K in keyof Props]: K extends 'css' ? CSS : unknown | ||
} | ||
/** Returns a new CSS Component. */ | ||
@@ -47,0 +43,0 @@ export interface CssComponent< |
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
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
517862
10342