@atlaskit/editor-plugin-mentions 24.0.5 → 24.0.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,20 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 24.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 24.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [`cee5b4d36850b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cee5b4d36850b) -
14
+ Hide the agents section LABS lozenge when `platform_editor_agent_mentions_hide_labs_lozenge` is
15
+ enabled.
16
+ - Updated dependencies
17
+
3
18
  ## 24.0.5
4
19
 
5
20
  ### Patch Changes
@@ -44,7 +44,7 @@ var ACTIONS = exports.ACTIONS = {
44
44
  CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
45
45
  };
46
46
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
47
- var PACKAGE_VERSION = "24.0.4";
47
+ var PACKAGE_VERSION = "24.0.6";
48
48
  var setProvider = function setProvider(provider) {
49
49
  return function (state, dispatch) {
50
50
  if (dispatch) {
@@ -527,7 +527,7 @@ var createTypeAheadConfig = exports.createTypeAheadConfig = function createTypeA
527
527
  showWhenQueryPresent: false,
528
528
  showWhenOnlySection: true
529
529
  },
530
- lozenge: !(0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || showAgentMentionsLabsLozenge ? /*#__PURE__*/_react.default.createElement(_lozenge.default, {
530
+ lozenge: !(0, _fg.fg)('platform_editor_agent_mentions_hide_labs_lozenge') && (!(0, _fg.fg)('platform_editor_agent_mentions_drop_one_fixes') || showAgentMentionsLabsLozenge) ? /*#__PURE__*/_react.default.createElement(_lozenge.default, {
531
531
  appearance: "discovery"
532
532
  }, intl.formatMessage(_messages.mentionMessages.typeAheadSectionAgentsLabsLozengeLabel)) : null
533
533
  }];
@@ -33,7 +33,7 @@ export const ACTIONS = {
33
33
  CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
34
34
  };
35
35
  const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
36
- const PACKAGE_VERSION = "24.0.4";
36
+ const PACKAGE_VERSION = "24.0.6";
37
37
  const setProvider = provider => (state, dispatch) => {
38
38
  if (dispatch) {
39
39
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -484,7 +484,7 @@ export const createTypeAheadConfig = ({
484
484
  showWhenQueryPresent: false,
485
485
  showWhenOnlySection: true
486
486
  },
487
- lozenge: !fg('platform_editor_agent_mentions_drop_one_fixes') || showAgentMentionsLabsLozenge ? /*#__PURE__*/React.createElement(Lozenge, {
487
+ lozenge: !fg('platform_editor_agent_mentions_hide_labs_lozenge') && (!fg('platform_editor_agent_mentions_drop_one_fixes') || showAgentMentionsLabsLozenge) ? /*#__PURE__*/React.createElement(Lozenge, {
488
488
  appearance: "discovery"
489
489
  }, intl.formatMessage(mentionMessages.typeAheadSectionAgentsLabsLozengeLabel)) : null
490
490
  }];
@@ -36,7 +36,7 @@ export var ACTIONS = {
36
36
  CLEAR_PENDING_PASTED_AGENT_MENTION: 'CLEAR_PENDING_PASTED_AGENT_MENTION'
37
37
  };
38
38
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
39
- var PACKAGE_VERSION = "24.0.4";
39
+ var PACKAGE_VERSION = "24.0.6";
40
40
  var setProvider = function setProvider(provider) {
41
41
  return function (state, dispatch) {
42
42
  if (dispatch) {
@@ -518,7 +518,7 @@ export var createTypeAheadConfig = function createTypeAheadConfig(_ref1) {
518
518
  showWhenQueryPresent: false,
519
519
  showWhenOnlySection: true
520
520
  },
521
- lozenge: !fg('platform_editor_agent_mentions_drop_one_fixes') || showAgentMentionsLabsLozenge ? /*#__PURE__*/React.createElement(Lozenge, {
521
+ lozenge: !fg('platform_editor_agent_mentions_hide_labs_lozenge') && (!fg('platform_editor_agent_mentions_drop_one_fixes') || showAgentMentionsLabsLozenge) ? /*#__PURE__*/React.createElement(Lozenge, {
522
522
  appearance: "discovery"
523
523
  }, intl.formatMessage(mentionMessages.typeAheadSectionAgentsLabsLozengeLabel)) : null
524
524
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "24.0.5",
3
+ "version": "24.0.7",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,20 +34,20 @@
34
34
  "@atlaskit/icon": "^38.0.0",
35
35
  "@atlaskit/insm": "^3.0.0",
36
36
  "@atlaskit/link": "^5.1.0",
37
- "@atlaskit/lozenge": "^16.0.0",
37
+ "@atlaskit/lozenge": "^17.0.0",
38
38
  "@atlaskit/mention": "^30.0.0",
39
39
  "@atlaskit/node-data-provider": "^23.0.0",
40
40
  "@atlaskit/platform-feature-experiments": "^0.3.0",
41
41
  "@atlaskit/platform-feature-flags": "^2.2.0",
42
42
  "@atlaskit/popper": "^9.4.0",
43
- "@atlaskit/popup": "^6.3.0",
43
+ "@atlaskit/popup": "^8.0.0",
44
44
  "@atlaskit/portal": "^7.0.0",
45
45
  "@atlaskit/primitives": "^22.5.0",
46
46
  "@atlaskit/profilecard": "^27.1.0",
47
47
  "@atlaskit/section-message": "^10.2.0",
48
48
  "@atlaskit/teams-app-config": "^3.1.0",
49
49
  "@atlaskit/theme": "^28.2.0",
50
- "@atlaskit/tmp-editor-statsig": "^214.0.0",
50
+ "@atlaskit/tmp-editor-statsig": "^215.0.0",
51
51
  "@atlaskit/tokens": "^20.1.0",
52
52
  "@atlaskit/tooltip": "^24.3.0",
53
53
  "@atlaskit/user-picker": "^14.0.0",
@@ -60,7 +60,7 @@
60
60
  "uuid": "^11.1.1"
61
61
  },
62
62
  "peerDependencies": {
63
- "@atlaskit/editor-common": "^126.2.0",
63
+ "@atlaskit/editor-common": "^126.3.0",
64
64
  "react": "^18.2.0 || ^19.2.0",
65
65
  "react-dom": "^18.2.0 || ^19.2.0",
66
66
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -117,6 +117,9 @@
117
117
  "platform_editor_agent_mentions_no_task_autofire": {
118
118
  "type": "boolean"
119
119
  },
120
+ "platform_editor_agent_mentions_hide_labs_lozenge": {
121
+ "type": "boolean"
122
+ },
120
123
  "platform_editor_agent_card_fixes": {
121
124
  "type": "boolean"
122
125
  }