@atlaskit/editor-plugin-mentions 32.1.6 → 32.1.8
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 +13 -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 +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 32.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 32.1.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`0ea42caf97069`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ea42caf97069) -
|
|
14
|
+
Use platform_editor_mention_rovo to hide the agent mentions Labs lozenge.
|
|
15
|
+
|
|
3
16
|
## 32.1.6
|
|
4
17
|
|
|
5
18
|
### 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.1.
|
|
48
|
+
var PACKAGE_VERSION = "32.1.7";
|
|
49
49
|
var setProvider = function setProvider(provider) {
|
|
50
50
|
return function (state, dispatch) {
|
|
51
51
|
if (dispatch) {
|
|
@@ -439,7 +439,7 @@ var createTypeAheadConfig = exports.createTypeAheadConfig = function createTypeA
|
|
|
439
439
|
})).call
|
|
440
440
|
});
|
|
441
441
|
var getAgentSectionLozenge = function getAgentSectionLozenge(label) {
|
|
442
|
-
if ((0,
|
|
442
|
+
if ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_rovo')) {
|
|
443
443
|
return null;
|
|
444
444
|
}
|
|
445
445
|
if (agentSectionLozenge !== undefined) {
|
|
@@ -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.1.
|
|
37
|
+
const PACKAGE_VERSION = "32.1.7";
|
|
38
38
|
const setProvider = provider => (state, dispatch) => {
|
|
39
39
|
if (dispatch) {
|
|
40
40
|
dispatch(state.tr.setMeta(mentionPluginKey, {
|
|
@@ -392,7 +392,7 @@ export const createTypeAheadConfig = ({
|
|
|
392
392
|
})).call
|
|
393
393
|
});
|
|
394
394
|
const getAgentSectionLozenge = label => {
|
|
395
|
-
if (
|
|
395
|
+
if (isExperimentEnabled('platform_editor_mention_rovo')) {
|
|
396
396
|
return null;
|
|
397
397
|
}
|
|
398
398
|
if (agentSectionLozenge !== undefined) {
|
|
@@ -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.1.
|
|
40
|
+
var PACKAGE_VERSION = "32.1.7";
|
|
41
41
|
var setProvider = function setProvider(provider) {
|
|
42
42
|
return function (state, dispatch) {
|
|
43
43
|
if (dispatch) {
|
|
@@ -430,7 +430,7 @@ export var createTypeAheadConfig = function createTypeAheadConfig(_ref1) {
|
|
|
430
430
|
})).call
|
|
431
431
|
});
|
|
432
432
|
var getAgentSectionLozenge = function getAgentSectionLozenge(label) {
|
|
433
|
-
if (
|
|
433
|
+
if (isExperimentEnabled('platform_editor_mention_rovo')) {
|
|
434
434
|
return null;
|
|
435
435
|
}
|
|
436
436
|
if (agentSectionLozenge !== undefined) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "32.1.
|
|
3
|
+
"version": "32.1.8",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/section-message": "^10.2.0",
|
|
47
47
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
48
48
|
"@atlaskit/theme": "^28.2.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^259.0.0",
|
|
50
50
|
"@atlaskit/tokens": "^20.9.0",
|
|
51
51
|
"@atlaskit/tooltip": "^24.4.0",
|
|
52
52
|
"@atlaskit/user-picker": "^14.5.0",
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"uuid": "^11.1.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@atlaskit/editor-common": "^134.
|
|
62
|
+
"@atlaskit/editor-common": "^134.9.0",
|
|
63
63
|
"react": "^18.2.0 || ^19.2.0",
|
|
64
64
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
65
65
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@atlaskit/button": "^25.7.0",
|
|
69
|
-
"@atlaskit/editor-common": "^134.
|
|
69
|
+
"@atlaskit/editor-common": "^134.9.0",
|
|
70
70
|
"@atlaskit/editor-core": "^242.0.0",
|
|
71
71
|
"@atlassian/workbench": "workspace:*",
|
|
72
72
|
"react": "^19.2.0",
|
|
@@ -106,14 +106,15 @@
|
|
|
106
106
|
"platform_editor_agent_mentions_invite_order": {
|
|
107
107
|
"type": "boolean"
|
|
108
108
|
},
|
|
109
|
-
"platform_editor_agent_mentions_hide_labs_lozenge": {
|
|
110
|
-
"type": "boolean"
|
|
111
|
-
},
|
|
112
109
|
"platform_editor_agent_card_fixes": {
|
|
113
110
|
"type": "boolean"
|
|
114
111
|
}
|
|
115
112
|
},
|
|
116
113
|
"platform-experiments": {
|
|
114
|
+
"platform_editor_mention_rovo": {
|
|
115
|
+
"param": "isEnabled",
|
|
116
|
+
"defaultValue": false
|
|
117
|
+
},
|
|
117
118
|
"platform_editor_mention_node_avatar": {
|
|
118
119
|
"param": "isEnabled",
|
|
119
120
|
"defaultValue": false
|