@atlaskit/editor-plugin-mentions 1.7.0 → 1.7.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,15 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 1.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#111187](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111187)
8
+ [`3fc3b37188f2c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3fc3b37188f2c) -
9
+ [ux] [ED-23788] Make sure that profilecards in the Editor do not autofocus, so that users can
10
+ click on a mention and immediate delete it by pressing `Backspace` or `Delete`
11
+ - Updated dependencies
12
+
3
13
  ## 1.7.0
4
14
 
5
15
  ### Minor Changes
@@ -105,6 +105,7 @@ var Mention = exports.Mention = function Mention(props) {
105
105
  });
106
106
  if (profilecardProvider) {
107
107
  return /*#__PURE__*/_react.default.createElement(_mention.MentionWithProfileCard, (0, _extends2.default)({
108
+ autoFocus: false,
108
109
  id: id,
109
110
  text: resolvedName,
110
111
  accessLevel: accessLevel,
@@ -72,6 +72,7 @@ export const Mention = props => {
72
72
  });
73
73
  if (profilecardProvider) {
74
74
  return /*#__PURE__*/React.createElement(MentionWithProfileCard, _extends({
75
+ autoFocus: false,
75
76
  id: id,
76
77
  text: resolvedName,
77
78
  accessLevel: accessLevel,
@@ -96,6 +96,7 @@ export var Mention = function Mention(props) {
96
96
  });
97
97
  if (profilecardProvider) {
98
98
  return /*#__PURE__*/React.createElement(MentionWithProfileCard, _extends({
99
+ autoFocus: false,
99
100
  id: id,
100
101
  text: resolvedName,
101
102
  accessLevel: accessLevel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^37.0.0",
37
37
  "@atlaskit/analytics-gas-types": "^5.1.0",
38
- "@atlaskit/editor-common": "^82.12.0",
38
+ "@atlaskit/editor-common": "^83.0.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.3.0",
40
40
  "@atlaskit/editor-plugin-context-identifier": "^1.1.0",
41
41
  "@atlaskit/editor-plugin-type-ahead": "^1.3.0",