@atlaskit/menu 2.1.11 → 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,11 @@
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
+
3
9
  ## 2.1.11
4
10
 
5
11
  ### Patch Changes
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "2.1.11",
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.1.0",
49
- "@atlaskit/theme": "^12.6.0",
50
- "@atlaskit/tokens": "^1.42.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
  },