@stitches/react
Advanced tools
Comparing version 1.0.0-canary.13 to 1.0.0-canary.14
{ | ||
"name": "@stitches/react", | ||
"version": "1.0.0-canary.13", | ||
"version": "1.0.0-canary.14", | ||
"description": "The modern CSS-in-JS library", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -1,2 +0,2 @@ | ||
import type * as CSS from './css' | ||
import type * as Native from './css' | ||
import type * as Config from './config' | ||
@@ -6,4 +6,6 @@ import type * as ThemeUtil from './theme' | ||
export { Native } | ||
/** CSS style declaration object. */ | ||
export interface CSSProperties extends CSS.StandardLonghandProperties, CSS.StandardShorthandProperties, CSS.SvgProperties {} | ||
export interface CSSProperties extends Native.StandardLonghandProperties, Native.StandardShorthandProperties, Native.SvgProperties {} | ||
@@ -33,3 +35,3 @@ type ValueByPropertyName<PropertyName> = PropertyName extends keyof CSSProperties ? CSSProperties[PropertyName] : never | ||
| TokenByPropertyName<K, Theme, ThemeMap> | ||
| CSS.Globals | ||
| Native.Globals | ||
| ThemeUtil.ScaleValue | ||
@@ -53,3 +55,3 @@ | undefined | ||
| TokenByPropertyName<P[0][$$PropertyValue], Theme, ThemeMap> | ||
| CSS.Globals | ||
| Native.Globals | ||
| ThemeUtil.ScaleValue | ||
@@ -72,3 +74,3 @@ | undefined | ||
| TokenByPropertyName<P[$$PropertyValue], Theme, ThemeMap> | ||
| CSS.Globals | ||
| Native.Globals | ||
| undefined | ||
@@ -98,3 +100,3 @@ ) | ||
: ( | ||
| CSS.Globals | ||
| Native.Globals | ||
| Util.Index | ||
@@ -101,0 +103,0 @@ | undefined |
@@ -31,4 +31,16 @@ import type * as CSSUtil from './css-util' | ||
'@import'?: unknown | ||
/** The **@font-face** CSS at-rule specifies a custom font with which to display text. */ | ||
'@font-face'?: unknown | ||
} & { | ||
[K in Prelude]: K extends '@import' ? string : CSSUtil.CSS<Media, Theme, ThemeMap, Utils> | ||
[K in Prelude]: K extends '@import' | ||
? string | ||
: K extends '@font-face' | ||
? CSSUtil.Native.AtRule.FontFace | CSSUtil.Native.AtRule.FontFace[] | ||
: K extends `@keyframes ${string}` | ||
? { | ||
[KeyFrame in string]: CSSUtil.CSS<Media, Theme, ThemeMap, Utils> | ||
} | ||
: K extends `@property ${string}` | ||
? CSSUtil.Native.AtRule.Property | ||
: CSSUtil.CSS<Media, Theme, ThemeMap, Utils> | ||
} | ||
@@ -35,0 +47,0 @@ ): { |
Sorry, the diff of this file is too big to display
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
518483
10280