@equinor/fusion-web-theme
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.1.4](https://github.com/equinor/fusion-web/compare/@equinor/fusion-web-theme@0.1.3...@equinor/fusion-web-theme@0.1.4) (2021-09-15) | ||
### Bug Fixes | ||
* exclude absolute css props ([bb3cd1f](https://github.com/equinor/fusion-web/commit/bb3cd1f186e83ba1ac3c8088f4fdb6e5903b091f)) | ||
## [0.1.3](https://github.com/equinor/fusion-web/compare/@equinor/fusion-web-theme@0.1.2...@equinor/fusion-web-theme@0.1.3) (2021-09-14) | ||
@@ -8,0 +19,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Properties } from 'csstype'; | ||
import { StandardProperties } from 'csstype'; | ||
export declare type StyleAttribute = { | ||
@@ -11,3 +11,3 @@ attribute: string; | ||
static makeCssVar(element: string, module: string): string; | ||
static makeCss(obj: Properties): string; | ||
static makeCss(obj: StandardProperties): string; | ||
static makeVariable({ attribute, value }: StyleAttribute): string; | ||
@@ -17,3 +17,3 @@ static extractVariables<T extends StyleProperty>(styles: Record<string, T>): string[]; | ||
abstract get attributes(): Record<A, StyleAttribute>; | ||
get style(): Properties; | ||
get style(): StandardProperties; | ||
get css(): string; | ||
@@ -20,0 +20,0 @@ get variables(): string[]; |
@@ -1,2 +0,2 @@ | ||
import { Properties } from 'csstype'; | ||
import { StandardProperties } from 'csstype'; | ||
import StyleProperty, { StyleAttribute } from '../style-property'; | ||
@@ -11,3 +11,3 @@ export declare type Color = { | ||
get attributes(): Record<ColorStyleAttribute, StyleAttribute>; | ||
get style(): Properties; | ||
get style(): StandardProperties; | ||
} | ||
@@ -14,0 +14,0 @@ export declare const colors: { |
import { tokens } from '@equinor/eds-tokens'; | ||
import { StyleAttribute, StyleProperty } from '../style-property'; | ||
import { Properties } from 'csstype'; | ||
import { StandardProperties } from 'csstype'; | ||
export declare type ElevationType = keyof typeof tokens.elevation; | ||
@@ -8,3 +8,3 @@ export declare type ElevationAttribute = 'shadow'; | ||
get attributes(): Record<ElevationAttribute, StyleAttribute>; | ||
get style(): Properties; | ||
get style(): StandardProperties; | ||
} | ||
@@ -11,0 +11,0 @@ export declare const elevation: Record<"none" | "overlay" | "sticky" | "raised" | "temporary_nav" | "above_scrim", ElevationStyleProperty>; |
@@ -1,2 +0,2 @@ | ||
import { Properties } from 'csstype'; | ||
import { StandardProperties } from 'csstype'; | ||
import StyleProperty from '../style-property'; | ||
@@ -11,3 +11,3 @@ export declare type SpacingStyleAttribute = 'padding'; | ||
}; | ||
get style(): Properties; | ||
get style(): StandardProperties; | ||
} | ||
@@ -14,0 +14,0 @@ export declare const spacing: { |
{ | ||
"name": "@equinor/fusion-web-theme", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "fusion web theme", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"@equinor/eds-tokens": "0.5.5", | ||
"csstype": "^3.0.7" | ||
"csstype": "^3.0.9" | ||
}, | ||
@@ -45,3 +45,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "915bf485556f4f223686b768ec1bdf7d02df3f98" | ||
"gitHead": "112f1ca87322d93e8e08f4a743528212d6265b38" | ||
} |
Sorry, the diff of this file is not supported yet
31946
Updatedcsstype@^3.0.9