Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "onno", | ||
"license": "MIT", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Responsive style props for building themed design systems", | ||
@@ -32,3 +32,3 @@ "homepage": "https://github.com/wagerfield/onno/tree/master/packages/onno#readme", | ||
}, | ||
"gitHead": "7440cf946830bd7fb71e00c5fc1a510864116f24" | ||
"gitHead": "11f8f588f23357434f474806f6060f36de5ee87a" | ||
} |
@@ -16,3 +16,3 @@ export declare type Length = number | ||
export declare type Prop<T> = T | ResponsiveProp<T> | Nil | ||
export interface Alias<T> { | ||
export interface Alias<T = Primitive> { | ||
alias: Key | ||
@@ -22,4 +22,4 @@ value: T | ||
export declare type ThemeArrayValue<T> = Alias<T> | T | ||
export declare type ThemeArray<T> = ThemeArrayValue<T>[] | ||
export interface ThemeObject<T> { | ||
export declare type ThemeArray<T = Primitive> = ThemeArrayValue<T>[] | ||
export interface ThemeObject<T = Primitive> { | ||
[key: string]: ThemeObject<T> | ThemeArray<T> | T | ||
@@ -30,6 +30,6 @@ } | ||
| ThemeObject<T> | ||
| null | ||
export declare type Breakpoints<T = Primitive> = ThemeArray<T> | null | ||
| Nil | ||
export declare type Breakpoints<T = Primitive> = ThemeArray<T> | Nil | ||
export interface Theme { | ||
[key: string]: ThemeValue | undefined | ||
[key: string]: ThemeValue | ||
breakpoints?: Breakpoints | ||
@@ -36,0 +36,0 @@ global?: ThemeValue |
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
97316