@types/styled-system
Advanced tools
Comparing version 5.1.12 to 5.1.13
@@ -155,2 +155,10 @@ // Type definitions for styled-system 5.1 | ||
export interface ConfigFunction { | ||
(value: any, scale: Scale | undefined, props: any): any; | ||
/** A string referencing a key in the `theme` object. */ | ||
scale?: string; | ||
/** A fallback scale object for when there isn't one defined in the `theme` object. */ | ||
defaults?: Scale; | ||
} | ||
export interface ConfigStyle { | ||
@@ -174,3 +182,3 @@ /** The CSS property to use in the returned style object (overridden by `properties` if present). */ | ||
/** Property name exposed for use in components */ | ||
[customStyleName: string]: ConfigStyle | boolean; | ||
[customStyleName: string]: ConfigStyle | ConfigFunction | boolean; | ||
} | ||
@@ -177,0 +185,0 @@ |
{ | ||
"name": "@types/styled-system", | ||
"version": "5.1.12", | ||
"version": "5.1.13", | ||
"description": "TypeScript definitions for styled-system", | ||
@@ -120,4 +120,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/styled-system", | ||
}, | ||
"typesPublisherContentHash": "b6c0d7dbef4e514614aa3637301419791db62d040b27335d9b5f0fe9100dc11a", | ||
"typesPublisherContentHash": "56b8881c597ba37a0758d482702b91eefe9e7d33f77daf38c0de3bb5c927efa7", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 02 Jul 2021 22:33:06 GMT | ||
* Last updated: Sat, 14 Aug 2021 20:31:22 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
65637
1285