@atlaskit/menu 1.6.0 → 1.6.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,11 @@
1
1
  # @atlaskit/menu
2
2
 
3
+ ## 1.6.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
+
3
9
  ## 1.6.0
4
10
 
5
11
  ### Minor Changes
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/button-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-item/button-item.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-item/button-item.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/custom-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-item/custom-item.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-item/custom-item.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type SpacingMode = 'compact' | 'cozy';
2
+ export type SpacingMode = 'compact' | 'cozy';
3
3
  /**
4
4
  * __Spacing context__
5
5
  *
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- declare type SkeletonShimmerProps = {
4
+ type SkeletonShimmerProps = {
5
5
  children: ({ className }: {
6
6
  className?: string;
7
7
  }) => ReactNode;
@@ -20,7 +20,7 @@ export interface TitleOverrides {
20
20
  export interface Overrides {
21
21
  Title?: TitleOverrides;
22
22
  }
23
- export declare type Dimension = string | number;
23
+ export type Dimension = string | number;
24
24
  export interface MenuGroupSizing {
25
25
  /**
26
26
  * Useful to constrain the menu group minimum height to a specific value.
@@ -367,7 +367,7 @@ export interface SkeletonHeadingItemProps {
367
367
  */
368
368
  cssFn?: StatelessCSSFn;
369
369
  }
370
- export declare type ItemState = {
370
+ export type ItemState = {
371
371
  isSelected: boolean;
372
372
  isDisabled: boolean;
373
373
  };
@@ -385,4 +385,4 @@ export interface CSSFn<TState = ItemState extends void ? void : ItemState> {
385
385
  /**
386
386
  * @deprecated This type is deprecated and will be removed in a future release. See DSP-2676 for more information.
387
387
  */
388
- export declare type StatelessCSSFn = CSSFn<void>;
388
+ export type StatelessCSSFn = CSSFn<void>;
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/heading-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-item/heading-item.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-item/heading-item.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/link-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-item/link-item.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-item/link-item.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-section/menu-group.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-section/menu-group.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-section/menu-group.d.ts"
12
12
  ]
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "A collection of composable menu components that can be used anywhere.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,6 +12,14 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "sideEffects": false,
16
24
  "atlaskit:src": "src/index.tsx",
17
25
  "atlassian": {
@@ -41,7 +49,7 @@
41
49
  "@atlaskit/focus-ring": "^1.3.0",
42
50
  "@atlaskit/primitives": "^0.9.0",
43
51
  "@atlaskit/theme": "^12.5.0",
44
- "@atlaskit/tokens": "^1.3.0",
52
+ "@atlaskit/tokens": "^1.4.0",
45
53
  "@babel/runtime": "^7.0.0",
46
54
  "@emotion/react": "^11.7.1"
47
55
  },
@@ -70,7 +78,7 @@
70
78
  "jscodeshift": "^0.13.0",
71
79
  "react-router-dom": "^4.2.2",
72
80
  "storybook-addon-performance": "^0.16.0",
73
- "typescript": "4.5.5"
81
+ "typescript": "~4.9.5"
74
82
  },
75
83
  "keywords": [
76
84
  "atlaskit",
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-section/popup-menu-group.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-section/popup-menu-group.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-section/popup-menu-group.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-section/section.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-section/section.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-section/section.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/skeleton-heading-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-item/skeleton-heading-item.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-item/skeleton-heading-item.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/skeleton-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-points/menu-item/skeleton-item.d.ts"
11
+ "../dist/types-ts4.5/entry-points/menu-item/skeleton-item.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/types.d.ts"
11
+ "../dist/types-ts4.5/types.d.ts"
12
12
  ]
13
13
  }
14
14
  }