@atlaskit/editor-plugin-mentions 32.1.6 → 32.1.7

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,12 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 32.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0ea42caf97069`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ea42caf97069) -
8
+ Use platform_editor_mention_rovo to hide the agent mentions Labs lozenge.
9
+
3
10
  ## 32.1.6
4
11
 
5
12
  ### 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.5";
48
+ var PACKAGE_VERSION = "32.1.6";
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, _fg.fg)('platform_editor_agent_mentions_hide_labs_lozenge')) {
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.5";
37
+ const PACKAGE_VERSION = "32.1.6";
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 (fg('platform_editor_agent_mentions_hide_labs_lozenge')) {
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.5";
40
+ var PACKAGE_VERSION = "32.1.6";
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 (fg('platform_editor_agent_mentions_hide_labs_lozenge')) {
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.6",
3
+ "version": "32.1.7",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -59,14 +59,14 @@
59
59
  "uuid": "^11.1.1"
60
60
  },
61
61
  "peerDependencies": {
62
- "@atlaskit/editor-common": "^134.8.0",
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.8.0",
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