@atlaskit/ds-explorations
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/components/box.partial.d.ts" | ||
"../dist/types-ts4.5/components/box.partial.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
# @atlaskit/ds-explorations | ||
## 2.1.1 | ||
### Patch Changes | ||
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5` | ||
## 2.1.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"sideEffects": false | ||
} |
@@ -10,4 +10,4 @@ /** @jsx jsx */ | ||
*/ | ||
export declare type BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, 'as' | 'className' | 'style'> & BasePrimitiveProps & BoxPropsBase<T>; | ||
declare type BoxPropsBase<T extends ElementType> = { | ||
export type BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, 'as' | 'className' | 'style'> & BasePrimitiveProps & BoxPropsBase<T>; | ||
type BoxPropsBase<T extends ElementType> = { | ||
/** | ||
@@ -115,3 +115,3 @@ * The DOM element to render as the Box. Defaults to `div`. | ||
}; | ||
declare type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: BoxProps<T>) => ReactElement | null) & FC<BoxProps<T>>; | ||
type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: BoxProps<T>) => ReactElement | null) & FC<BoxProps<T>>; | ||
/** | ||
@@ -129,3 +129,3 @@ * __Box__ | ||
export default Box; | ||
declare type BorderStyle = keyof typeof borderStyleMap; | ||
type BorderStyle = keyof typeof borderStyleMap; | ||
declare const borderStyleMap: { | ||
@@ -137,3 +137,3 @@ none: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type BorderWidth = keyof typeof borderWidthMap; | ||
type BorderWidth = keyof typeof borderWidthMap; | ||
declare const borderWidthMap: { | ||
@@ -145,3 +145,3 @@ '0px': import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type BorderRadius = keyof typeof borderRadiusMap; | ||
type BorderRadius = keyof typeof borderRadiusMap; | ||
declare const borderRadiusMap: { | ||
@@ -155,3 +155,3 @@ normal: import("@emotion/react").SerializedStyles; | ||
*/ | ||
declare type FlexDirection = keyof typeof flexDirectionMap; | ||
type FlexDirection = keyof typeof flexDirectionMap; | ||
declare const flexDirectionMap: { | ||
@@ -164,3 +164,3 @@ column: import("@emotion/react").SerializedStyles; | ||
*/ | ||
declare type FlexAlignItems = keyof typeof flexAlignItemsMap; | ||
type FlexAlignItems = keyof typeof flexAlignItemsMap; | ||
declare const flexAlignItemsMap: { | ||
@@ -177,3 +177,3 @@ center: import("@emotion/react").SerializedStyles; | ||
*/ | ||
declare type FlexJustifyContent = keyof typeof flexJustifyContentMap; | ||
type FlexJustifyContent = keyof typeof flexJustifyContentMap; | ||
declare const flexJustifyContentMap: { | ||
@@ -186,3 +186,3 @@ center: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type Display = keyof typeof displayMap; | ||
type Display = keyof typeof displayMap; | ||
declare const displayMap: { | ||
@@ -195,3 +195,3 @@ block: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type Position = keyof typeof positionMap; | ||
type Position = keyof typeof positionMap; | ||
declare const positionMap: { | ||
@@ -203,3 +203,3 @@ absolute: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type Overflow = keyof typeof overflowMap; | ||
type Overflow = keyof typeof overflowMap; | ||
declare const overflowMap: { | ||
@@ -226,3 +226,3 @@ auto: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type Width = keyof typeof widthMap; | ||
export type Width = keyof typeof widthMap; | ||
declare const heightMap: { | ||
@@ -238,3 +238,3 @@ '100%': import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type Height = keyof typeof heightMap; | ||
export type Height = keyof typeof heightMap; | ||
/** | ||
@@ -267,3 +267,3 @@ * @codegenEnd | ||
}; | ||
export declare type Padding = keyof typeof paddingMap; | ||
export type Padding = keyof typeof paddingMap; | ||
declare const paddingBlockMap: { | ||
@@ -285,3 +285,3 @@ 'space.0': import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type PaddingBlock = keyof typeof paddingBlockMap; | ||
export type PaddingBlock = keyof typeof paddingBlockMap; | ||
declare const paddingInlineMap: { | ||
@@ -303,3 +303,3 @@ 'space.0': import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type PaddingInline = keyof typeof paddingInlineMap; | ||
export type PaddingInline = keyof typeof paddingInlineMap; | ||
/** | ||
@@ -331,3 +331,3 @@ * @codegenEnd | ||
}; | ||
export declare type BorderColor = keyof typeof borderColorMap; | ||
export type BorderColor = keyof typeof borderColorMap; | ||
declare const backgroundColorMap: { | ||
@@ -361,3 +361,3 @@ readonly disabled: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type BackgroundColor = keyof typeof backgroundColorMap; | ||
export type BackgroundColor = keyof typeof backgroundColorMap; | ||
declare const shadowMap: { | ||
@@ -370,5 +370,5 @@ readonly overflow: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type Shadow = keyof typeof shadowMap; | ||
export type Shadow = keyof typeof shadowMap; | ||
/** | ||
* @codegenEnd | ||
*/ |
@@ -36,3 +36,3 @@ /** @jsx jsx */ | ||
} | ||
declare type FlexAlignItems = keyof typeof flexAlignItemsMap; | ||
type FlexAlignItems = keyof typeof flexAlignItemsMap; | ||
declare const flexAlignItemsMap: { | ||
@@ -46,3 +46,3 @@ center: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type FlexJustifyContent = keyof typeof flexJustifyContentMap; | ||
type FlexJustifyContent = keyof typeof flexJustifyContentMap; | ||
declare const flexJustifyContentMap: { | ||
@@ -57,3 +57,3 @@ center: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type FlexWrap = keyof typeof flexWrapMap; | ||
type FlexWrap = keyof typeof flexWrapMap; | ||
declare const flexWrapMap: { | ||
@@ -108,5 +108,5 @@ wrap: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type ColumnGap = keyof typeof columnGapMap; | ||
export type ColumnGap = keyof typeof columnGapMap; | ||
/** | ||
* @codegenEnd | ||
*/ |
@@ -46,5 +46,5 @@ /** @jsx jsx */ | ||
}; | ||
declare type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap; | ||
type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap; | ||
/** | ||
* @codegenEnd | ||
*/ |
@@ -31,3 +31,3 @@ /** @jsx jsx */ | ||
} | ||
declare type FlexAlignItems = keyof typeof flexAlignItemsMap; | ||
type FlexAlignItems = keyof typeof flexAlignItemsMap; | ||
declare const flexAlignItemsMap: { | ||
@@ -41,3 +41,3 @@ center: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type FlexJustifyContent = keyof typeof flexJustifyContentMap; | ||
type FlexJustifyContent = keyof typeof flexJustifyContentMap; | ||
declare const flexJustifyContentMap: { | ||
@@ -50,3 +50,3 @@ center: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type FlexWrap = keyof typeof flexWrapMap; | ||
type FlexWrap = keyof typeof flexWrapMap; | ||
declare const flexWrapMap: { | ||
@@ -92,5 +92,5 @@ wrap: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type RowGap = keyof typeof rowGapMap; | ||
export type RowGap = keyof typeof rowGapMap; | ||
/** | ||
* @codegenEnd | ||
*/ |
@@ -5,3 +5,3 @@ /** @jsx jsx */ | ||
declare const asAllowlist: readonly ["span", "div", "p", "strong"]; | ||
declare type AsElement = (typeof asAllowlist)[number]; | ||
type AsElement = (typeof asAllowlist)[number]; | ||
export interface TextProps extends BasePrimitiveProps { | ||
@@ -54,3 +54,3 @@ /** | ||
} | ||
declare type TextAlign = keyof typeof textAlignMap; | ||
type TextAlign = keyof typeof textAlignMap; | ||
declare const textAlignMap: { | ||
@@ -61,3 +61,3 @@ center: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type TextTransform = keyof typeof textTransformMap; | ||
type TextTransform = keyof typeof textTransformMap; | ||
declare const textTransformMap: { | ||
@@ -68,3 +68,3 @@ none: import("@emotion/react").SerializedStyles; | ||
}; | ||
declare type VerticalAlign = keyof typeof verticalAlignMap; | ||
type VerticalAlign = keyof typeof verticalAlignMap; | ||
declare const verticalAlignMap: { | ||
@@ -104,3 +104,3 @@ top: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type FontSize = keyof typeof fontSizeMap; | ||
export type FontSize = keyof typeof fontSizeMap; | ||
declare const fontWeightMap: { | ||
@@ -112,3 +112,3 @@ bold: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type FontWeight = keyof typeof fontWeightMap; | ||
export type FontWeight = keyof typeof fontWeightMap; | ||
declare const fontFamilyMap: { | ||
@@ -118,3 +118,3 @@ monospace: import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type FontFamily = keyof typeof fontFamilyMap; | ||
export type FontFamily = keyof typeof fontFamilyMap; | ||
declare const lineHeightMap: { | ||
@@ -128,3 +128,3 @@ 'lineHeight.100': import("@emotion/react").SerializedStyles; | ||
}; | ||
export declare type LineHeight = keyof typeof lineHeightMap; | ||
export type LineHeight = keyof typeof lineHeightMap; | ||
/** | ||
@@ -156,5 +156,5 @@ * @codegenEnd | ||
}; | ||
export declare type TextColor = keyof typeof textColorMap; | ||
export type TextColor = keyof typeof textColorMap; | ||
/** | ||
* @codegenEnd | ||
*/ |
@@ -12,2 +12,2 @@ export declare const LAYERS: { | ||
}; | ||
export declare type Layer = keyof typeof LAYERS; | ||
export type Layer = keyof typeof LAYERS; |
@@ -0,1 +1,10 @@ | ||
/** | ||
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* | ||
* The color map is used to map a background color token to a matching text color that will meet contrast. | ||
* | ||
* @codegen <<SignedSource::d168519874a16bbb92cfbfd4747a39b4>> | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>> | ||
*/ | ||
declare const _default: { | ||
@@ -27,11 +36,2 @@ readonly 'neutral.bold': "inverse"; | ||
}; | ||
/** | ||
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* | ||
* The color map is used to map a background color token to a matching text color that will meet contrast. | ||
* | ||
* @codegen <<SignedSource::d168519874a16bbb92cfbfd4747a39b4>> | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>> | ||
*/ | ||
export default _default; |
@@ -29,5 +29,5 @@ /// <reference types="react" /> | ||
}; | ||
declare type RoleMap = typeof roleToElementType; | ||
export declare type Role = keyof RoleMap; | ||
export declare type SupportedElements = RoleMap[Role] & keyof JSX.IntrinsicElements; | ||
type RoleMap = typeof roleToElementType; | ||
export type Role = keyof RoleMap; | ||
export type SupportedElements = RoleMap[Role] & keyof JSX.IntrinsicElements; | ||
export default roleToElementType; |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/components/inline.partial.d.ts" | ||
"../dist/types-ts4.5/components/inline.partial.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "An experimental package for exploration and validation of spacing / typography foundations.", | ||
@@ -25,5 +25,6 @@ "license": "Apache-2.0", | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"dist/types-ts4.0/*" | ||
"dist/types-ts4.5/*", | ||
"dist/types-ts4.5/index.d.ts" | ||
] | ||
@@ -42,3 +43,3 @@ } | ||
"dependencies": { | ||
"@atlaskit/tokens": "^1.3.0", | ||
"@atlaskit/tokens": "^1.4.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -74,3 +75,3 @@ "@emotion/react": "^11.7.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "4.5.5", | ||
"typescript": "~4.9.5", | ||
"wait-for-expect": "^1.2.0" | ||
@@ -77,0 +78,0 @@ }, |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/components/stack.partial.d.ts" | ||
"../dist/types-ts4.5/components/stack.partial.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
@@ -9,5 +9,5 @@ { | ||
"typesVersions": { | ||
">=4.0 <4.5": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"../dist/types-ts4.0/components/text.partial.d.ts" | ||
"../dist/types-ts4.5/components/text.partial.d.ts" | ||
] | ||
@@ -14,0 +14,0 @@ } |
345115
127
9804
Updated@atlaskit/tokens@^1.4.0