@atlaskit/ds-explorations 2.0.13 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/ds-explorations
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
9
+ ## 2.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 2.0.13
4
20
 
5
21
  ### Patch Changes
package/box/package.json CHANGED
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/components/box.partial.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/components/box.partial.d.ts"
11
+ "../dist/types-ts4.5/components/box.partial.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.13",
3
+ "version": "2.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.13",
3
+ "version": "2.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.13",
3
+ "version": "2.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -7,8 +7,8 @@ import type { BasePrimitiveProps } from './types';
7
7
  * @deprecated DSP-8009: This type is scheduled for deletion.
8
8
  * Please use `Box` from `@atlaskit/primitives` instead.
9
9
  */
10
- export declare type BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, 'as' | 'className' | 'style'> & BasePrimitiveProps & BoxPropsBase<T>;
11
- declare type BoxPropsBase<T extends ElementType> = {
10
+ export type BoxProps<T extends ElementType = 'div'> = Omit<ComponentPropsWithoutRef<T>, 'as' | 'className' | 'style'> & BasePrimitiveProps & BoxPropsBase<T>;
11
+ type BoxPropsBase<T extends ElementType> = {
12
12
  /**
13
13
  * The DOM element to render as the Box. Defaults to `div`.
14
14
  */
@@ -111,7 +111,7 @@ declare type BoxPropsBase<T extends ElementType> = {
111
111
  position?: Position;
112
112
  ref?: ComponentPropsWithRef<T>['ref'];
113
113
  };
114
- declare type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: BoxProps<T>) => ReactElement | null) & FC<BoxProps<T>>;
114
+ type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementType = 'div'>(props: BoxProps<T>) => ReactElement | null) & FC<BoxProps<T>>;
115
115
  /**
116
116
  * __Box__
117
117
  *
@@ -124,21 +124,21 @@ declare type BoxComponent<T extends ElementType = 'div'> = (<T extends ElementTy
124
124
  */
125
125
  export declare const Box: BoxComponent;
126
126
  export default Box;
127
- declare type BorderStyle = keyof typeof borderStyleMap;
127
+ type BorderStyle = keyof typeof borderStyleMap;
128
128
  declare const borderStyleMap: {
129
129
  none: import("@emotion/react").SerializedStyles;
130
130
  solid: import("@emotion/react").SerializedStyles;
131
131
  dashed: import("@emotion/react").SerializedStyles;
132
132
  dotted: import("@emotion/react").SerializedStyles;
133
133
  };
134
- declare type BorderWidth = keyof typeof borderWidthMap;
134
+ type BorderWidth = keyof typeof borderWidthMap;
135
135
  declare const borderWidthMap: {
136
136
  '0px': import("@emotion/react").SerializedStyles;
137
137
  '1px': import("@emotion/react").SerializedStyles;
138
138
  '2px': import("@emotion/react").SerializedStyles;
139
139
  '3px': import("@emotion/react").SerializedStyles;
140
140
  };
141
- declare type BorderRadius = keyof typeof borderRadiusMap;
141
+ type BorderRadius = keyof typeof borderRadiusMap;
142
142
  declare const borderRadiusMap: {
143
143
  normal: import("@emotion/react").SerializedStyles;
144
144
  rounded: import("@emotion/react").SerializedStyles;
@@ -147,7 +147,7 @@ declare const borderRadiusMap: {
147
147
  /**
148
148
  * @experimental - this is likely to be removed
149
149
  */
150
- declare type FlexDirection = keyof typeof flexDirectionMap;
150
+ type FlexDirection = keyof typeof flexDirectionMap;
151
151
  declare const flexDirectionMap: {
152
152
  column: import("@emotion/react").SerializedStyles;
153
153
  row: import("@emotion/react").SerializedStyles;
@@ -155,7 +155,7 @@ declare const flexDirectionMap: {
155
155
  /**
156
156
  * @experimental - this is likely to be removed
157
157
  */
158
- declare type FlexAlignItems = keyof typeof flexAlignItemsMap;
158
+ type FlexAlignItems = keyof typeof flexAlignItemsMap;
159
159
  declare const flexAlignItemsMap: {
160
160
  center: import("@emotion/react").SerializedStyles;
161
161
  baseline: import("@emotion/react").SerializedStyles;
@@ -167,7 +167,7 @@ declare const flexAlignItemsMap: {
167
167
  /**
168
168
  * @experimental - this is likely to be removed
169
169
  */
170
- declare type FlexJustifyContent = keyof typeof flexJustifyContentMap;
170
+ type FlexJustifyContent = keyof typeof flexJustifyContentMap;
171
171
  declare const flexJustifyContentMap: {
172
172
  center: import("@emotion/react").SerializedStyles;
173
173
  flexStart: import("@emotion/react").SerializedStyles;
@@ -175,7 +175,7 @@ declare const flexJustifyContentMap: {
175
175
  start: import("@emotion/react").SerializedStyles;
176
176
  end: import("@emotion/react").SerializedStyles;
177
177
  };
178
- declare type Display = keyof typeof displayMap;
178
+ type Display = keyof typeof displayMap;
179
179
  declare const displayMap: {
180
180
  block: import("@emotion/react").SerializedStyles;
181
181
  inline: import("@emotion/react").SerializedStyles;
@@ -183,14 +183,14 @@ declare const displayMap: {
183
183
  inlineFlex: import("@emotion/react").SerializedStyles;
184
184
  inlineBlock: import("@emotion/react").SerializedStyles;
185
185
  };
186
- declare type Position = keyof typeof positionMap;
186
+ type Position = keyof typeof positionMap;
187
187
  declare const positionMap: {
188
188
  absolute: import("@emotion/react").SerializedStyles;
189
189
  fixed: import("@emotion/react").SerializedStyles;
190
190
  relative: import("@emotion/react").SerializedStyles;
191
191
  static: import("@emotion/react").SerializedStyles;
192
192
  };
193
- declare type Overflow = keyof typeof overflowMap;
193
+ type Overflow = keyof typeof overflowMap;
194
194
  declare const overflowMap: {
195
195
  auto: import("@emotion/react").SerializedStyles;
196
196
  hidden: import("@emotion/react").SerializedStyles;
@@ -212,7 +212,7 @@ declare const widthMap: {
212
212
  'size.500': import("@emotion/react").SerializedStyles;
213
213
  'size.600': import("@emotion/react").SerializedStyles;
214
214
  };
215
- export declare type Width = keyof typeof widthMap;
215
+ export type Width = keyof typeof widthMap;
216
216
  declare const heightMap: {
217
217
  '100%': import("@emotion/react").SerializedStyles;
218
218
  'size.100': import("@emotion/react").SerializedStyles;
@@ -223,7 +223,7 @@ declare const heightMap: {
223
223
  'size.500': import("@emotion/react").SerializedStyles;
224
224
  'size.600': import("@emotion/react").SerializedStyles;
225
225
  };
226
- export declare type Height = keyof typeof heightMap;
226
+ export type Height = keyof typeof heightMap;
227
227
  /**
228
228
  * @codegenEnd
229
229
  */
@@ -251,7 +251,7 @@ declare const paddingMap: {
251
251
  'space.600': import("@emotion/react").SerializedStyles;
252
252
  'space.800': import("@emotion/react").SerializedStyles;
253
253
  };
254
- export declare type Padding = keyof typeof paddingMap;
254
+ export type Padding = keyof typeof paddingMap;
255
255
  declare const paddingBlockMap: {
256
256
  'space.0': import("@emotion/react").SerializedStyles;
257
257
  'space.025': import("@emotion/react").SerializedStyles;
@@ -268,7 +268,7 @@ declare const paddingBlockMap: {
268
268
  'space.600': import("@emotion/react").SerializedStyles;
269
269
  'space.800': import("@emotion/react").SerializedStyles;
270
270
  };
271
- export declare type PaddingBlock = keyof typeof paddingBlockMap;
271
+ export type PaddingBlock = keyof typeof paddingBlockMap;
272
272
  declare const paddingInlineMap: {
273
273
  'space.0': import("@emotion/react").SerializedStyles;
274
274
  'space.025': import("@emotion/react").SerializedStyles;
@@ -285,7 +285,7 @@ declare const paddingInlineMap: {
285
285
  'space.600': import("@emotion/react").SerializedStyles;
286
286
  'space.800': import("@emotion/react").SerializedStyles;
287
287
  };
288
- export declare type PaddingInline = keyof typeof paddingInlineMap;
288
+ export type PaddingInline = keyof typeof paddingInlineMap;
289
289
  /**
290
290
  * @codegenEnd
291
291
  */
@@ -312,7 +312,7 @@ declare const borderColorMap: {
312
312
  readonly information: import("@emotion/react").SerializedStyles;
313
313
  readonly bold: import("@emotion/react").SerializedStyles;
314
314
  };
315
- export declare type BorderColor = keyof typeof borderColorMap;
315
+ export type BorderColor = keyof typeof borderColorMap;
316
316
  declare const backgroundColorMap: {
317
317
  readonly disabled: import("@emotion/react").SerializedStyles;
318
318
  readonly input: import("@emotion/react").SerializedStyles;
@@ -341,7 +341,7 @@ declare const backgroundColorMap: {
341
341
  readonly 'elevation.surface.raised': import("@emotion/react").SerializedStyles;
342
342
  readonly 'elevation.surface.sunken': import("@emotion/react").SerializedStyles;
343
343
  };
344
- export declare type BackgroundColor = keyof typeof backgroundColorMap;
344
+ export type BackgroundColor = keyof typeof backgroundColorMap;
345
345
  declare const shadowMap: {
346
346
  readonly overflow: import("@emotion/react").SerializedStyles;
347
347
  readonly 'overflow.perimeter': import("@emotion/react").SerializedStyles;
@@ -349,7 +349,7 @@ declare const shadowMap: {
349
349
  readonly overlay: import("@emotion/react").SerializedStyles;
350
350
  readonly raised: import("@emotion/react").SerializedStyles;
351
351
  };
352
- export declare type Shadow = keyof typeof shadowMap;
352
+ export type Shadow = keyof typeof shadowMap;
353
353
  /**
354
354
  * @codegenEnd
355
355
  */
@@ -33,7 +33,7 @@ export interface InlineProps extends BasePrimitiveProps {
33
33
  */
34
34
  children: ReactNode;
35
35
  }
36
- declare type FlexAlignItems = keyof typeof flexAlignItemsMap;
36
+ type FlexAlignItems = keyof typeof flexAlignItemsMap;
37
37
  declare const flexAlignItemsMap: {
38
38
  center: import("@emotion/react").SerializedStyles;
39
39
  baseline: import("@emotion/react").SerializedStyles;
@@ -42,7 +42,7 @@ declare const flexAlignItemsMap: {
42
42
  start: import("@emotion/react").SerializedStyles;
43
43
  end: import("@emotion/react").SerializedStyles;
44
44
  };
45
- declare type FlexJustifyContent = keyof typeof flexJustifyContentMap;
45
+ type FlexJustifyContent = keyof typeof flexJustifyContentMap;
46
46
  declare const flexJustifyContentMap: {
47
47
  center: import("@emotion/react").SerializedStyles;
48
48
  flexStart: import("@emotion/react").SerializedStyles;
@@ -52,7 +52,7 @@ declare const flexJustifyContentMap: {
52
52
  end: import("@emotion/react").SerializedStyles;
53
53
  spaceBetween: import("@emotion/react").SerializedStyles;
54
54
  };
55
- declare type FlexWrap = keyof typeof flexWrapMap;
55
+ type FlexWrap = keyof typeof flexWrapMap;
56
56
  declare const flexWrapMap: {
57
57
  wrap: import("@emotion/react").SerializedStyles;
58
58
  };
@@ -102,7 +102,7 @@ declare const columnGapMap: {
102
102
  'space.600': import("@emotion/react").SerializedStyles;
103
103
  'space.800': import("@emotion/react").SerializedStyles;
104
104
  };
105
- export declare type ColumnGap = keyof typeof columnGapMap;
105
+ export type ColumnGap = keyof typeof columnGapMap;
106
106
  /**
107
107
  * @codegenEnd
108
108
  */
@@ -43,7 +43,7 @@ declare const backgroundHoverColorMap: {
43
43
  'elevation.surface.overlay': import("@emotion/react").SerializedStyles;
44
44
  'elevation.surface.raised': import("@emotion/react").SerializedStyles;
45
45
  };
46
- declare type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap;
46
+ type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap;
47
47
  /**
48
48
  * @codegenEnd
49
49
  */
@@ -28,7 +28,7 @@ export interface StackProps extends BasePrimitiveProps {
28
28
  */
29
29
  children: ReactNode;
30
30
  }
31
- declare type FlexAlignItems = keyof typeof flexAlignItemsMap;
31
+ type FlexAlignItems = keyof typeof flexAlignItemsMap;
32
32
  declare const flexAlignItemsMap: {
33
33
  center: import("@emotion/react").SerializedStyles;
34
34
  baseline: import("@emotion/react").SerializedStyles;
@@ -37,7 +37,7 @@ declare const flexAlignItemsMap: {
37
37
  start: import("@emotion/react").SerializedStyles;
38
38
  end: import("@emotion/react").SerializedStyles;
39
39
  };
40
- declare type FlexJustifyContent = keyof typeof flexJustifyContentMap;
40
+ type FlexJustifyContent = keyof typeof flexJustifyContentMap;
41
41
  declare const flexJustifyContentMap: {
42
42
  center: import("@emotion/react").SerializedStyles;
43
43
  flexStart: import("@emotion/react").SerializedStyles;
@@ -45,7 +45,7 @@ declare const flexJustifyContentMap: {
45
45
  start: import("@emotion/react").SerializedStyles;
46
46
  end: import("@emotion/react").SerializedStyles;
47
47
  };
48
- declare type FlexWrap = keyof typeof flexWrapMap;
48
+ type FlexWrap = keyof typeof flexWrapMap;
49
49
  declare const flexWrapMap: {
50
50
  wrap: import("@emotion/react").SerializedStyles;
51
51
  };
@@ -86,7 +86,7 @@ declare const rowGapMap: {
86
86
  'space.600': import("@emotion/react").SerializedStyles;
87
87
  'space.800': import("@emotion/react").SerializedStyles;
88
88
  };
89
- export declare type RowGap = keyof typeof rowGapMap;
89
+ export type RowGap = keyof typeof rowGapMap;
90
90
  /**
91
91
  * @codegenEnd
92
92
  */
@@ -2,7 +2,7 @@
2
2
  import { FC, ReactNode } from 'react';
3
3
  import type { BasePrimitiveProps } from './types';
4
4
  declare const asAllowlist: readonly ["span", "div", "p", "strong"];
5
- declare type AsElement = typeof asAllowlist[number];
5
+ type AsElement = (typeof asAllowlist)[number];
6
6
  export interface TextProps extends BasePrimitiveProps {
7
7
  /**
8
8
  * HTML tag to be rendered. Defaults to `span`.
@@ -50,19 +50,19 @@ export interface TextProps extends BasePrimitiveProps {
50
50
  */
51
51
  verticalAlign?: VerticalAlign;
52
52
  }
53
- declare type TextAlign = keyof typeof textAlignMap;
53
+ type TextAlign = keyof typeof textAlignMap;
54
54
  declare const textAlignMap: {
55
55
  center: import("@emotion/react").SerializedStyles;
56
56
  end: import("@emotion/react").SerializedStyles;
57
57
  start: import("@emotion/react").SerializedStyles;
58
58
  };
59
- declare type TextTransform = keyof typeof textTransformMap;
59
+ type TextTransform = keyof typeof textTransformMap;
60
60
  declare const textTransformMap: {
61
61
  none: import("@emotion/react").SerializedStyles;
62
62
  lowercase: import("@emotion/react").SerializedStyles;
63
63
  uppercase: import("@emotion/react").SerializedStyles;
64
64
  };
65
- declare type VerticalAlign = keyof typeof verticalAlignMap;
65
+ type VerticalAlign = keyof typeof verticalAlignMap;
66
66
  declare const verticalAlignMap: {
67
67
  top: import("@emotion/react").SerializedStyles;
68
68
  middle: import("@emotion/react").SerializedStyles;
@@ -97,19 +97,19 @@ declare const fontSizeMap: {
97
97
  'size.500': import("@emotion/react").SerializedStyles;
98
98
  'size.600': import("@emotion/react").SerializedStyles;
99
99
  };
100
- export declare type FontSize = keyof typeof fontSizeMap;
100
+ export type FontSize = keyof typeof fontSizeMap;
101
101
  declare const fontWeightMap: {
102
102
  bold: import("@emotion/react").SerializedStyles;
103
103
  medium: import("@emotion/react").SerializedStyles;
104
104
  regular: import("@emotion/react").SerializedStyles;
105
105
  semibold: import("@emotion/react").SerializedStyles;
106
106
  };
107
- export declare type FontWeight = keyof typeof fontWeightMap;
107
+ export type FontWeight = keyof typeof fontWeightMap;
108
108
  declare const fontFamilyMap: {
109
109
  monospace: import("@emotion/react").SerializedStyles;
110
110
  sans: import("@emotion/react").SerializedStyles;
111
111
  };
112
- export declare type FontFamily = keyof typeof fontFamilyMap;
112
+ export type FontFamily = keyof typeof fontFamilyMap;
113
113
  declare const lineHeightMap: {
114
114
  'lineHeight.100': import("@emotion/react").SerializedStyles;
115
115
  'lineHeight.200': import("@emotion/react").SerializedStyles;
@@ -118,7 +118,7 @@ declare const lineHeightMap: {
118
118
  'lineHeight.500': import("@emotion/react").SerializedStyles;
119
119
  'lineHeight.600': import("@emotion/react").SerializedStyles;
120
120
  };
121
- export declare type LineHeight = keyof typeof lineHeightMap;
121
+ export type LineHeight = keyof typeof lineHeightMap;
122
122
  /**
123
123
  * @codegenEnd
124
124
  */
@@ -145,7 +145,7 @@ declare const textColorMap: {
145
145
  readonly subtlest: import("@emotion/react").SerializedStyles;
146
146
  readonly subtle: import("@emotion/react").SerializedStyles;
147
147
  };
148
- export declare type TextColor = keyof typeof textColorMap;
148
+ export type TextColor = keyof typeof textColorMap;
149
149
  /**
150
150
  * @codegenEnd
151
151
  */
@@ -9,4 +9,4 @@ export declare const LAYERS: {
9
9
  readonly spotlight: 700;
10
10
  readonly tooltip: 800;
11
11
  };
12
- export declare type Layer = keyof typeof LAYERS;
12
+ export type Layer = keyof typeof LAYERS;
@@ -1,3 +1,12 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ *
4
+ * The color map is used to map a background color token to a matching text color that will meet contrast.
5
+ *
6
+ * @codegen <<SignedSource::d168519874a16bbb92cfbfd4747a39b4>>
7
+ * @codegenCommand yarn codegen-styles
8
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>>
9
+ */
1
10
  declare const _default: {
2
11
  readonly 'neutral.bold': "inverse";
3
12
  readonly 'neutral.bold.hovered': "inverse";
@@ -24,13 +33,4 @@ declare const _default: {
24
33
  readonly 'information.bold.hovered': "inverse";
25
34
  readonly 'information.bold.pressed': "inverse";
26
35
  };
27
- /**
28
- * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
29
- *
30
- * The color map is used to map a background color token to a matching text color that will meet contrast.
31
- *
32
- * @codegen <<SignedSource::d168519874a16bbb92cfbfd4747a39b4>>
33
- * @codegenCommand yarn codegen-styles
34
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>>
35
- */
36
36
  export default _default;
@@ -26,7 +26,7 @@ declare const roleToElementType: {
26
26
  readonly presentation: "div";
27
27
  readonly group: "fieldset";
28
28
  };
29
- declare type RoleMap = typeof roleToElementType;
30
- export declare type Role = keyof RoleMap;
31
- export declare type SupportedElements = RoleMap[Role] & keyof JSX.IntrinsicElements;
29
+ type RoleMap = typeof roleToElementType;
30
+ export type Role = keyof RoleMap;
31
+ export type SupportedElements = RoleMap[Role] & keyof JSX.IntrinsicElements;
32
32
  export default roleToElementType;
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/components/inline.partial.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/components/inline.partial.d.ts"
11
+ "../dist/types-ts4.5/components/inline.partial.d.ts"
12
12
  ]
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "2.0.13",
3
+ "version": "2.1.1",
4
4
  "description": "An experimental package for exploration and validation of spacing / typography foundations.",
5
5
  "license": "Apache-2.0",
6
6
  "atlassian": {
@@ -22,9 +22,10 @@
22
22
  "module:es2019": "dist/es2019/index.js",
23
23
  "types": "dist/types/index.d.ts",
24
24
  "typesVersions": {
25
- ">=4.0 <4.5": {
25
+ ">=4.5 <4.9": {
26
26
  "*": [
27
- "dist/types-ts4.0/*"
27
+ "dist/types-ts4.5/*",
28
+ "dist/types-ts4.5/index.d.ts"
28
29
  ]
29
30
  }
30
31
  },
@@ -38,7 +39,7 @@
38
39
  "./inline": "./src/components/inline.partial.tsx"
39
40
  },
40
41
  "dependencies": {
41
- "@atlaskit/tokens": "^1.2.0",
42
+ "@atlaskit/tokens": "^1.4.0",
42
43
  "@babel/runtime": "^7.0.0",
43
44
  "@emotion/react": "^11.7.1",
44
45
  "tiny-invariant": "^1.2.0"
@@ -56,20 +57,20 @@
56
57
  "@atlaskit/heading": "*",
57
58
  "@atlaskit/icon": "*",
58
59
  "@atlaskit/lozenge": "*",
59
- "@atlaskit/primitives": "^0.8.0",
60
+ "@atlaskit/primitives": "^0.9.0",
60
61
  "@atlaskit/section-message": "*",
61
62
  "@atlaskit/ssr": "*",
62
63
  "@atlaskit/textfield": "*",
63
64
  "@atlaskit/visual-regression": "*",
64
65
  "@atlaskit/webdriver-runner": "*",
65
66
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
66
- "@atlassian/codegen": "^0.0.1",
67
+ "@atlassian/codegen": "^0.1.0",
67
68
  "@testing-library/react": "^12.1.5",
68
69
  "fs-extra": "^4.0.2",
69
- "prettier": "^2.7.0",
70
+ "prettier": "^2.8.0",
70
71
  "react-dom": "^16.8.0",
71
72
  "ts-node": "^10.9.1",
72
- "typescript": "4.5.5",
73
+ "typescript": "~4.9.5",
73
74
  "wait-for-expect": "^1.2.0"
74
75
  },
75
76
  "techstack": {
package/report.api.md CHANGED
@@ -32,7 +32,7 @@ import { SerializedStyles } from '@emotion/react';
32
32
  const asAllowlist: readonly ['span', 'div', 'p', 'strong'];
33
33
 
34
34
  // @public (undocumented)
35
- type AsElement = typeof asAllowlist[number];
35
+ type AsElement = (typeof asAllowlist)[number];
36
36
 
37
37
  // @public (undocumented)
38
38
  type BackgroundColor = keyof typeof backgroundColorMap;
@@ -12,7 +12,7 @@ import { useSurface } from './surface-provider';
12
12
  import type { BasePrimitiveProps } from './types';
13
13
 
14
14
  const asAllowlist = ['span', 'div', 'p', 'strong'] as const;
15
- type AsElement = typeof asAllowlist[number];
15
+ type AsElement = (typeof asAllowlist)[number];
16
16
  export interface TextProps extends BasePrimitiveProps {
17
17
  /**
18
18
  * HTML tag to be rendered. Defaults to `span`.
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/components/stack.partial.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/components/stack.partial.d.ts"
11
+ "../dist/types-ts4.5/components/stack.partial.d.ts"
12
12
  ]
13
13
  }
14
14
  }
package/text/package.json CHANGED
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/components/text.partial.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/components/text.partial.d.ts"
11
+ "../dist/types-ts4.5/components/text.partial.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -21,7 +21,7 @@ import { SerializedStyles } from '@emotion/react';
21
21
  const asAllowlist: readonly ["span", "div", "p", "strong"];
22
22
 
23
23
  // @public (undocumented)
24
- type AsElement = typeof asAllowlist[number];
24
+ type AsElement = (typeof asAllowlist)[number];
25
25
 
26
26
  // @public (undocumented)
27
27
  type BackgroundColor = keyof typeof backgroundColorMap;