@atlaskit/menu 2.1.10 → 2.1.12

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,17 @@
1
1
  # @atlaskit/menu
2
2
 
3
+ ## 2.1.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#88717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88717) [`d92770eae702`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d92770eae702) - Adding internal eslint opt outs for a new rule `@atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop`.
8
+
9
+ ## 2.1.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
14
+
3
15
  ## 2.1.10
4
16
 
5
17
  ### Patch Changes
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/button-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-item/button-item.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/custom-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-item/custom-item.d.ts"
12
12
  ]
@@ -83,7 +83,9 @@ function (props, ref) {
83
83
  }, rest, {
84
84
  className: className,
85
85
  href: isDisabled ? undefined : href,
86
- draggable: false,
86
+ draggable: false
87
+ // eslint-disable-next-line @atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop
88
+ ,
87
89
  onDragStart: preventEvent,
88
90
  onMouseDown: isDisabled ? preventEvent : onMouseDownHandler,
89
91
  onClick: isDisabled ? preventEvent : onClick,
@@ -77,7 +77,9 @@ const LinkItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
77
77
  }, rest, {
78
78
  className: className,
79
79
  href: isDisabled ? undefined : href,
80
- draggable: false,
80
+ draggable: false
81
+ // eslint-disable-next-line @atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop
82
+ ,
81
83
  onDragStart: preventEvent,
82
84
  onMouseDown: isDisabled ? preventEvent : onMouseDownHandler,
83
85
  onClick: isDisabled ? preventEvent : onClick,
@@ -76,7 +76,9 @@ function (props, ref) {
76
76
  }, rest, {
77
77
  className: className,
78
78
  href: isDisabled ? undefined : href,
79
- draggable: false,
79
+ draggable: false
80
+ // eslint-disable-next-line @atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop
81
+ ,
80
82
  onDragStart: preventEvent,
81
83
  onMouseDown: isDisabled ? preventEvent : onMouseDownHandler,
82
84
  onClick: isDisabled ? preventEvent : onClick,
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/heading-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-item/heading-item.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/link-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-item/link-item.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-section/menu-group.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-section/menu-group.d.ts"
12
12
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "2.1.10",
3
+ "version": "2.1.12",
4
4
  "description": "A collection of composable menu components that can be used anywhere.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,9 +45,9 @@
45
45
  "@atlaskit/ds-lib": "^2.2.0",
46
46
  "@atlaskit/focus-ring": "^1.3.0",
47
47
  "@atlaskit/platform-feature-flags": "^0.2.0",
48
- "@atlaskit/primitives": "^5.0.0",
49
- "@atlaskit/theme": "^12.6.0",
50
- "@atlaskit/tokens": "^1.41.0",
48
+ "@atlaskit/primitives": "^5.5.0",
49
+ "@atlaskit/theme": "^12.7.0",
50
+ "@atlaskit/tokens": "^1.43.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1"
53
53
  },
@@ -71,7 +71,7 @@
71
71
  "jscodeshift": "^0.13.0",
72
72
  "react-router-dom": "^4.2.2",
73
73
  "storybook-addon-performance": "^0.16.0",
74
- "typescript": "~4.9.5"
74
+ "typescript": "~5.4.2"
75
75
  },
76
76
  "keywords": [
77
77
  "atlaskit",
@@ -129,4 +129,4 @@
129
129
  },
130
130
  "homepage": "https://atlassian.design/components/menu/",
131
131
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
132
- }
132
+ }
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-section/popup-menu-group.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-section/popup-menu-group.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-section/section.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-section/section.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/skeleton-heading-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-item/skeleton-heading-item.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/menu-item/skeleton-item.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/menu-item/skeleton-item.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/types.d.ts"
12
12
  ]