Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "onno", | ||
"license": "MIT", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"homepage": "https://onnojs.com", | ||
@@ -33,3 +33,3 @@ "description": "Responsive style props for building themed design systems", | ||
}, | ||
"gitHead": "5db438b1058429cbebb229448ff78cad548d5a53" | ||
"gitHead": "be2154c634b965ddaa15d98eed0e2b4419755c2d" | ||
} |
@@ -23,5 +23,8 @@ import { PropertiesFallback, Pseudos } from "csstype" | ||
export declare type Prop<T> = T | ResponsiveProp<T> | Nil | ||
export interface AliasObject<T> { | ||
[key: string]: AliasObject<T> | T | ||
} | ||
export interface Alias<T = Primitive> { | ||
alias: Key | ||
value: T | ||
value: AliasObject<T> | T | ||
} | ||
@@ -38,38 +41,38 @@ export declare type ThemeArrayValue<T> = Alias<T> | T | ||
export declare type Breakpoints<T = Primitive> = ThemeArray<T> | Nil | ||
export interface Theme<T = Primitive> { | ||
[key: string]: ThemeValue<T> | ||
breakpoints?: Breakpoints<T> | ||
animations?: ThemeValue<T> | ||
transitions?: ThemeValue<T> | ||
borders?: ThemeValue<T> | ||
borderRadii?: ThemeValue<T> | ||
borderStyles?: ThemeValue<T> | ||
borderWidths?: ThemeValue<T> | ||
colors?: ThemeValue<T> | ||
opacities?: ThemeValue<T> | ||
sizes?: ThemeValue<T> | ||
widths?: ThemeValue<T> | ||
minWidths?: ThemeValue<T> | ||
maxWidths?: ThemeValue<T> | ||
heights?: ThemeValue<T> | ||
minHeights?: ThemeValue<T> | ||
maxHeights?: ThemeValue<T> | ||
zIndices?: ThemeValue<T> | ||
outlines?: ThemeValue<T> | ||
outlineOffsets?: ThemeValue<T> | ||
outlineStyles?: ThemeValue<T> | ||
outlineWidths?: ThemeValue<T> | ||
boxShadows?: ThemeValue<T> | ||
textShadows?: ThemeValue<T> | ||
spaces?: ThemeValue<T> | ||
fontSizes?: ThemeValue<T> | ||
fontFamilies?: ThemeValue<T> | ||
fontWeights?: ThemeValue<T> | ||
lineHeights?: ThemeValue<T> | ||
letterSpacings?: ThemeValue<T> | ||
textStyles?: ThemeValue<T> | ||
colorStyles?: ThemeValue<T> | ||
buttonStyles?: ThemeValue<T> | ||
globalStyles?: ThemeValue<T> | ||
components?: ThemeValue<T> | ||
export interface Theme { | ||
[key: string]: ThemeValue | ||
breakpoints?: Breakpoints | ||
animations?: ThemeValue | ||
transitions?: ThemeValue | ||
borders?: ThemeValue | ||
borderRadii?: ThemeValue | ||
borderStyles?: ThemeValue | ||
borderWidths?: ThemeValue | ||
colors?: ThemeValue | ||
opacities?: ThemeValue | ||
sizes?: ThemeValue | ||
widths?: ThemeValue | ||
minWidths?: ThemeValue | ||
maxWidths?: ThemeValue | ||
heights?: ThemeValue | ||
minHeights?: ThemeValue | ||
maxHeights?: ThemeValue | ||
zIndices?: ThemeValue | ||
outlines?: ThemeValue | ||
outlineOffsets?: ThemeValue | ||
outlineStyles?: ThemeValue | ||
outlineWidths?: ThemeValue | ||
boxShadows?: ThemeValue | ||
textShadows?: ThemeValue | ||
spaces?: ThemeValue | ||
fontSizes?: ThemeValue | ||
fontFamilies?: ThemeValue | ||
fontWeights?: ThemeValue | ||
lineHeights?: ThemeValue | ||
letterSpacings?: ThemeValue | ||
textStyles?: ThemeValue | ||
colorStyles?: ThemeValue | ||
buttonStyles?: ThemeValue | ||
globalStyles?: ThemeValue | ||
components?: ThemeValue | ||
} | ||
@@ -76,0 +79,0 @@ export interface ThemeProps { |
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
4123
120089