@types/styled-system__css
Advanced tools
Comparing version 5.0.12 to 5.0.13
@@ -324,3 +324,3 @@ // Type definitions for @styled-system/css 5.0 | ||
*/ | ||
boxShadow?: CSS.BoxShadowProperty | number; | ||
boxShadow?: CSS.Property.BoxShadow | number; | ||
/** | ||
@@ -338,3 +338,3 @@ * The **`font-weight`** CSS property specifies the weight (or boldness) of the font. The font weights available to you will depend on the `font-family` you are using. Some fonts are only | ||
*/ | ||
fontWeight?: CSS.FontWeightProperty | string; | ||
fontWeight?: CSS.Property.FontWeight | string; | ||
/** | ||
@@ -351,3 +351,3 @@ * The **`z-index`** CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one. | ||
*/ | ||
zIndex?: CSS.ZIndexProperty | string; | ||
zIndex?: CSS.Property.ZIndex | string; | ||
} | ||
@@ -423,3 +423,3 @@ | ||
* Theme values can be nested, but their value eventually has to match a certain `CSSProperty`. | ||
* E.g. `colors.light.primary`, `primary` has to be from type `CSS.ColorProperty`. | ||
* E.g. `colors.light.primary`, `primary` has to be from type `CSS.Property.Color`. | ||
*/ | ||
@@ -456,3 +456,3 @@ export type ThemeValue<T> = | ||
*/ | ||
colors?: ThemeValue<CSS.ColorProperty>; | ||
colors?: ThemeValue<CSS.Property.Color>; | ||
/** | ||
@@ -478,3 +478,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
space?: ThemeValue<CSS.MarginProperty<number> & CSS.PaddingProperty<number>>; | ||
space?: ThemeValue<CSS.Property.Margin<number> & CSS.Property.Padding<number>>; | ||
/** | ||
@@ -487,3 +487,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
fonts?: ThemeValue<CSS.FontFamilyProperty>; | ||
fonts?: ThemeValue<CSS.Property.FontFamily>; | ||
/** | ||
@@ -496,3 +496,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
fontSizes?: ThemeValue<CSS.FontSizeProperty<number>>; | ||
fontSizes?: ThemeValue<CSS.Property.FontSize<number>>; | ||
/** | ||
@@ -505,3 +505,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
fontWeights?: ThemeValue<CSS.FontWeightProperty>; | ||
fontWeights?: ThemeValue<CSS.Property.FontWeight>; | ||
/** | ||
@@ -514,3 +514,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
lineHeights?: ThemeValue<CSS.LineHeightProperty<string>>; | ||
lineHeights?: ThemeValue<CSS.Property.LineHeight<string>>; | ||
/** | ||
@@ -523,3 +523,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
letterSpacings?: ThemeValue<CSS.LetterSpacingProperty<string | number>>; | ||
letterSpacings?: ThemeValue<CSS.Property.LetterSpacing<string | number>>; | ||
/** | ||
@@ -538,3 +538,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
borders?: ThemeValue<CSS.BorderProperty<{}>>; | ||
borders?: ThemeValue<CSS.Property.Border<{}>>; | ||
/** | ||
@@ -547,3 +547,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
borderWidths?: ThemeValue<CSS.BorderWidthProperty<{}>>; | ||
borderWidths?: ThemeValue<CSS.Property.BorderWidth<{}>>; | ||
/** | ||
@@ -556,3 +556,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
borderStyles?: ThemeValue<CSS.LineStyle>; | ||
borderStyles?: ThemeValue<CSS.Property.BorderStyle>; | ||
/** | ||
@@ -565,3 +565,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
radii?: ThemeValue<CSS.BorderRadiusProperty<{}>>; | ||
radii?: ThemeValue<CSS.Property.BorderRadius<{}>>; | ||
/** | ||
@@ -575,3 +575,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
shadows?: ThemeValue<CSS.BoxShadowProperty>; | ||
shadows?: ThemeValue<CSS.Property.BoxShadow>; | ||
/** | ||
@@ -584,3 +584,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
zIndices?: ThemeValue<CSS.ZIndexProperty>; | ||
zIndices?: ThemeValue<CSS.Property.ZIndex>; | ||
/** | ||
@@ -599,3 +599,3 @@ * | Prop | CSS Property | Theme Field | | ||
*/ | ||
sizes?: ThemeValue<CSS.HeightProperty<{}> | CSS.WidthProperty<{}>>; | ||
sizes?: ThemeValue<CSS.Property.Height<{}> | CSS.Property.Width<{}>>; | ||
} | ||
@@ -602,0 +602,0 @@ |
{ | ||
"name": "@types/styled-system__css", | ||
"version": "5.0.12", | ||
"version": "5.0.13", | ||
"description": "TypeScript definitions for @styled-system/css", | ||
@@ -32,6 +32,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"csstype": "^2.6.6" | ||
"csstype": "^3.0.2" | ||
}, | ||
"typesPublisherContentHash": "8598bdc80604f886b0df33ae6e9b60ba0db0aa355d676abd899d93085b8f966e", | ||
"typesPublisherContentHash": "79530836f8338d3d38d4aeeee5055871fc9b99c246d9e196c43e118fb8d20328", | ||
"typeScriptVersion": "3.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 14 Jul 2020 00:24:04 GMT | ||
* Last updated: Fri, 31 Jul 2020 20:41:31 GMT | ||
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
27417
+ Addedcsstype@3.1.3(transitive)
- Removedcsstype@2.6.21(transitive)
Updatedcsstype@^3.0.2