@fower/types
Advanced tools
Comparing version 1.14.0 to 1.15.0
@@ -49,3 +49,3 @@ import * as CSS from 'csstype' | ||
interface FowerCSSProperties extends AtomicProps, Omit<CSS.Properties, keyof AtomicProps> { } | ||
interface FowerCSSProperties extends AtomicProps, Omit<CSS.Properties, keyof AtomicProps> {} | ||
@@ -57,6 +57,6 @@ type PseudosObject = { [P in CSS.Pseudos]?: FowerCSSProperties } | ||
| { | ||
[K in keyof T]?: T[K] extends object | ||
? CSSObject<T[K]> | ||
: FowerCSSProperties | number | string | boolean | ||
} | ||
[K in keyof T]?: T[K] extends object | ||
? CSSObject<T[K]> | ||
: FowerCSSProperties | number | string | boolean | ||
} | ||
@@ -161,9 +161,29 @@ // type CSSObject<T = FowerCSSProperties> = | ||
unit: 'none' | 'px' | 'rem' | 'em' | 'vh' | 'rpx' | ({} & string) | ||
/** | ||
* prefix for all css classes | ||
*/ | ||
prefix?: string | ||
/** use inline style or not */ | ||
/** | ||
* use inline style or not | ||
* */ | ||
inline?: boolean | ||
/** | ||
* make all rule important | ||
*/ | ||
important?: boolean | ||
/** | ||
* enable auto dark mode | ||
*/ | ||
autoDarkMode?: boolean | ||
pseudos?: string[] | ||
theme: Theme | ||
plugins: FowerPlugin[] | ||
transformUnit?: (data: string | number) => string | ||
@@ -170,0 +190,0 @@ } |
{ | ||
"name": "@fower/types", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"license": "MIT", | ||
@@ -12,6 +12,6 @@ "main": "", | ||
"dependencies": { | ||
"@fower/atom": "^1.14.0", | ||
"@fower/atom": "^1.15.0", | ||
"csstype": "^3.0.7" | ||
}, | ||
"gitHead": "386fcd8f920e15fe83b1b3f3813d1159fe5e0af3" | ||
"gitHead": "68ecf5259290891641d157b3d97ebfc445abda42" | ||
} |
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
14997
464
Updated@fower/atom@^1.15.0