@defencedigital/design-tokens
Advanced tools
Comparing version 3.13.6 to 3.13.7
@@ -581,22 +581,22 @@ import type { InterpolationValue } from 'styled-components'; | ||
}; | ||
export declare type StyledComponentsInterpolation = ((executionContext: Record<string, unknown>) => StyledComponentsInterpolation) | InterpolationValue | readonly StyledComponentsInterpolation[]; | ||
export declare type Tokens = typeof tokens; | ||
export declare type Theme = Tokens & { | ||
export type StyledComponentsInterpolation = ((executionContext: Record<string, unknown>) => StyledComponentsInterpolation) | InterpolationValue | readonly StyledComponentsInterpolation[]; | ||
export type Tokens = typeof tokens; | ||
export type Theme = Tokens & { | ||
mode: string; | ||
}; | ||
export declare type ThemeProps = { | ||
export type ThemeProps = { | ||
theme?: Theme; | ||
}; | ||
export declare type AnimationTiming = keyof Tokens['animationTokens']['timing']; | ||
export declare type BreakpointSize = keyof Tokens['breakpointsTokens']['breakpoint']; | ||
export declare type Breakpoint = { | ||
export type AnimationTiming = keyof Tokens['animationTokens']['timing']; | ||
export type BreakpointSize = keyof Tokens['breakpointsTokens']['breakpoint']; | ||
export type Breakpoint = { | ||
breakpoint: string; | ||
}; | ||
export declare type ColorGroup = keyof Tokens['colorsTokens']['color']; | ||
export declare type ColorShade = 'black' | 'white' | '000' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; | ||
export declare type ShadowWeight = keyof Tokens['shadowsTokens']['shadow']; | ||
export declare type Spacing = keyof Tokens['spacingTokens']['spacing']; | ||
export declare type TypographySize = keyof Tokens['typographyTokens']['typography']; | ||
export declare type ZIndexGroup = keyof Tokens['zindexTokens']['zindex']; | ||
export type ColorGroup = keyof Tokens['colorsTokens']['color']; | ||
export type ColorShade = 'black' | 'white' | '000' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; | ||
export type ShadowWeight = keyof Tokens['shadowsTokens']['shadow']; | ||
export type Spacing = keyof Tokens['spacingTokens']['spacing']; | ||
export type TypographySize = keyof Tokens['typographyTokens']['typography']; | ||
export type ZIndexGroup = keyof Tokens['zindexTokens']['zindex']; | ||
export {}; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@defencedigital/design-tokens", | ||
"version": "3.13.6", | ||
"version": "3.13.7", | ||
"main": "dist/cjs/index.js", | ||
@@ -43,3 +43,3 @@ "author": "Defence Digital", | ||
"@babel/preset-typescript": "^7.10.4", | ||
"@defencedigital/eslint-config-react": "^3.13.6", | ||
"@defencedigital/eslint-config-react": "^3.13.7", | ||
"@testing-library/jest-dom": "^5.16.2", | ||
@@ -58,3 +58,3 @@ "@testing-library/react": "^12.0.0", | ||
"react": "^17.0.2", | ||
"source-map-loader": "^3.0.0", | ||
"source-map-loader": "^4.0.1", | ||
"style-dictionary": "^3.1.1", | ||
@@ -64,3 +64,3 @@ "styled-components": "^5.3.3", | ||
"webpack": "^5.52.1", | ||
"webpack-cli": "^4.7.2", | ||
"webpack-cli": "^5.0.1", | ||
"webpack-merge": "^5.2.0" | ||
@@ -67,0 +67,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
894877