@atlaskit/editor-plugin-mentions 32.0.11 → 32.0.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 +8 -0
- package/dist/cjs/pm-plugins/main.js +1 -1
- package/dist/cjs/ui/type-ahead/index.js +1 -1
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/es2019/ui/type-ahead/index.js +1 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/esm/ui/type-ahead/index.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 32.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3382e70050534`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3382e70050534) -
|
|
8
|
+
Clean up feature gate `platform_editor_mention_typeahead_profilecard`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 32.0.11
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -45,7 +45,7 @@ var ACTIONS = exports.ACTIONS = {
|
|
|
45
45
|
CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
|
|
46
46
|
};
|
|
47
47
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
48
|
-
var PACKAGE_VERSION = "32.0.
|
|
48
|
+
var PACKAGE_VERSION = "32.0.11";
|
|
49
49
|
var setProvider = function setProvider(provider) {
|
|
50
50
|
return function (state, dispatch) {
|
|
51
51
|
if (dispatch) {
|
|
@@ -171,7 +171,7 @@ var makeMentionToTypeaheadItem = function makeMentionToTypeaheadItem(_ref4) {
|
|
|
171
171
|
var isSelected = _ref7.isSelected,
|
|
172
172
|
onClick = _ref7.onClick,
|
|
173
173
|
onHover = _ref7.onHover;
|
|
174
|
-
return (0, _expVal.expVal)('platform_editor_agent_mentions', 'isEnabled', false)
|
|
174
|
+
return (0, _expVal.expVal)('platform_editor_agent_mentions', 'isEnabled', false) || (0, _fg.fg)('platform_editor_agent_card_fixes') ? /*#__PURE__*/_react.default.createElement(_MentionItemWithProfileCard.MentionItemWithProfileCard, {
|
|
175
175
|
mention: mention,
|
|
176
176
|
selected: isSelected,
|
|
177
177
|
onSelection: onClick,
|
|
@@ -34,7 +34,7 @@ export const ACTIONS = {
|
|
|
34
34
|
CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
|
|
35
35
|
};
|
|
36
36
|
const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
37
|
-
const PACKAGE_VERSION = "32.0.
|
|
37
|
+
const PACKAGE_VERSION = "32.0.11";
|
|
38
38
|
const setProvider = provider => (state, dispatch) => {
|
|
39
39
|
if (dispatch) {
|
|
40
40
|
dispatch(state.tr.setMeta(mentionPluginKey, {
|
|
@@ -138,7 +138,7 @@ const makeMentionToTypeaheadItem = ({
|
|
|
138
138
|
isSelected,
|
|
139
139
|
onClick,
|
|
140
140
|
onHover
|
|
141
|
-
}) => expVal('platform_editor_agent_mentions', 'isEnabled', false)
|
|
141
|
+
}) => expVal('platform_editor_agent_mentions', 'isEnabled', false) || fg('platform_editor_agent_card_fixes') ? /*#__PURE__*/React.createElement(MentionItemWithProfileCard, {
|
|
142
142
|
mention: mention,
|
|
143
143
|
selected: isSelected,
|
|
144
144
|
onSelection: onClick,
|
|
@@ -37,7 +37,7 @@ export var ACTIONS = {
|
|
|
37
37
|
CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
|
|
38
38
|
};
|
|
39
39
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
40
|
-
var PACKAGE_VERSION = "32.0.
|
|
40
|
+
var PACKAGE_VERSION = "32.0.11";
|
|
41
41
|
var setProvider = function setProvider(provider) {
|
|
42
42
|
return function (state, dispatch) {
|
|
43
43
|
if (dispatch) {
|
|
@@ -162,7 +162,7 @@ var makeMentionToTypeaheadItem = function makeMentionToTypeaheadItem(_ref4) {
|
|
|
162
162
|
var isSelected = _ref7.isSelected,
|
|
163
163
|
onClick = _ref7.onClick,
|
|
164
164
|
onHover = _ref7.onHover;
|
|
165
|
-
return expVal('platform_editor_agent_mentions', 'isEnabled', false)
|
|
165
|
+
return expVal('platform_editor_agent_mentions', 'isEnabled', false) || fg('platform_editor_agent_card_fixes') ? /*#__PURE__*/React.createElement(MentionItemWithProfileCard, {
|
|
166
166
|
mention: mention,
|
|
167
167
|
selected: isSelected,
|
|
168
168
|
onSelection: onClick,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "32.0.
|
|
3
|
+
"version": "32.0.12",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -103,9 +103,6 @@
|
|
|
103
103
|
"platform_editor_agent_mentions_drop_one_fixes": {
|
|
104
104
|
"type": "boolean"
|
|
105
105
|
},
|
|
106
|
-
"platform_editor_mention_typeahead_profilecard": {
|
|
107
|
-
"type": "boolean"
|
|
108
|
-
},
|
|
109
106
|
"platform_editor_agent_mentions_invite_order": {
|
|
110
107
|
"type": "boolean"
|
|
111
108
|
},
|