@atlaskit/editor-plugin-type-ahead 31.0.10 → 31.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 31.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
+
11
+ ## 31.0.11
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 31.0.10
4
18
 
5
19
  ### Patch Changes
@@ -8,7 +8,6 @@ var _mentions = require("@atlaskit/editor-common/messages/mentions");
8
8
  var _typeAhead = require("@atlaskit/editor-common/type-ahead");
9
9
  var _messages = require("@atlaskit/editor-common/type-ahead/messages");
10
10
  var _types = require("@atlaskit/mention/types");
11
- var _fg = require("@atlaskit/platform-feature-flags/fg");
12
11
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
13
12
  var _updateSelectedIndex = require("./commands/update-selected-index");
14
13
  var _itemIsDisabled = require("./item-is-disabled");
@@ -171,7 +170,7 @@ var getTypeAheadListAriaLabels = exports.getTypeAheadListAriaLabels = function g
171
170
  case '@':
172
171
  {
173
172
  var _item$mention, _item$mention2, _item$mention3;
174
- var description = (0, _editorExperiment.editorExperiment)('platform_editor_agent_mentions', true) && (0, _fg.fg)('platform_editor_mention_typeahead_profilecard') ? item === null || item === void 0 || (_item$mention = item.mention) === null || _item$mention === void 0 ? void 0 : _item$mention.description : undefined;
173
+ var description = (0, _editorExperiment.editorExperiment)('platform_editor_agent_mentions', true) ? item === null || item === void 0 || (_item$mention = item.mention) === null || _item$mention === void 0 ? void 0 : _item$mention.description : undefined;
175
174
  var name = (item === null || item === void 0 || (_item$mention2 = item.mention) === null || _item$mention2 === void 0 ? void 0 : _item$mention2.name) || '';
176
175
  var shortName = (item === null || item === void 0 || (_item$mention3 = item.mention) === null || _item$mention3 === void 0 ? void 0 : _item$mention3.mentionName) || '';
177
176
  return {
@@ -2,7 +2,6 @@ import { mentionMessages } from '@atlaskit/editor-common/messages/mentions';
2
2
  import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
3
3
  import { typeAheadListMessages } from '@atlaskit/editor-common/type-ahead/messages';
4
4
  import { AGENT_MENTION_LOAD_ERROR_ID } from '@atlaskit/mention/types';
5
- import { fg } from '@atlaskit/platform-feature-flags/fg';
6
5
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
7
6
  import { updateSelectedIndex } from './commands/update-selected-index';
8
7
  import { itemIsDisabled } from './item-is-disabled';
@@ -165,7 +164,7 @@ export const getTypeAheadListAriaLabels = (trigger, intl, item) => {
165
164
  case '@':
166
165
  {
167
166
  var _item$mention, _item$mention2, _item$mention3;
168
- const description = editorExperiment('platform_editor_agent_mentions', true) && fg('platform_editor_mention_typeahead_profilecard') ? item === null || item === void 0 ? void 0 : (_item$mention = item.mention) === null || _item$mention === void 0 ? void 0 : _item$mention.description : undefined;
167
+ const description = editorExperiment('platform_editor_agent_mentions', true) ? item === null || item === void 0 ? void 0 : (_item$mention = item.mention) === null || _item$mention === void 0 ? void 0 : _item$mention.description : undefined;
169
168
  const name = (item === null || item === void 0 ? void 0 : (_item$mention2 = item.mention) === null || _item$mention2 === void 0 ? void 0 : _item$mention2.name) || '';
170
169
  const shortName = (item === null || item === void 0 ? void 0 : (_item$mention3 = item.mention) === null || _item$mention3 === void 0 ? void 0 : _item$mention3.mentionName) || '';
171
170
  return {
@@ -2,7 +2,6 @@ import { mentionMessages } from '@atlaskit/editor-common/messages/mentions';
2
2
  import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
3
3
  import { typeAheadListMessages } from '@atlaskit/editor-common/type-ahead/messages';
4
4
  import { AGENT_MENTION_LOAD_ERROR_ID } from '@atlaskit/mention/types';
5
- import { fg } from '@atlaskit/platform-feature-flags/fg';
6
5
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
7
6
  import { updateSelectedIndex } from './commands/update-selected-index';
8
7
  import { itemIsDisabled } from './item-is-disabled';
@@ -165,7 +164,7 @@ export var getTypeAheadListAriaLabels = function getTypeAheadListAriaLabels(trig
165
164
  case '@':
166
165
  {
167
166
  var _item$mention, _item$mention2, _item$mention3;
168
- var description = editorExperiment('platform_editor_agent_mentions', true) && fg('platform_editor_mention_typeahead_profilecard') ? item === null || item === void 0 || (_item$mention = item.mention) === null || _item$mention === void 0 ? void 0 : _item$mention.description : undefined;
167
+ var description = editorExperiment('platform_editor_agent_mentions', true) ? item === null || item === void 0 || (_item$mention = item.mention) === null || _item$mention === void 0 ? void 0 : _item$mention.description : undefined;
169
168
  var name = (item === null || item === void 0 || (_item$mention2 = item.mention) === null || _item$mention2 === void 0 ? void 0 : _item$mention2.name) || '';
170
169
  var shortName = (item === null || item === void 0 || (_item$mention3 = item.mention) === null || _item$mention3 === void 0 ? void 0 : _item$mention3.mentionName) || '';
171
170
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "31.0.10",
3
+ "version": "31.0.12",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/primitives": "^22.6.0",
41
41
  "@atlaskit/prosemirror-history": "^1.3.0",
42
42
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
43
- "@atlaskit/tmp-editor-statsig": "^252.0.0",
43
+ "@atlaskit/tmp-editor-statsig": "^253.0.0",
44
44
  "@atlaskit/tokens": "^20.9.0",
45
45
  "@atlaskit/visually-hidden": "^4.4.0",
46
46
  "@babel/runtime": "^7.0.0",
@@ -51,13 +51,13 @@
51
51
  "w3c-keyname": "^2.1.8"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^134.5.0",
54
+ "@atlaskit/editor-common": "^134.6.0",
55
55
  "react": "^18.2.0 || ^19.2.0",
56
56
  "react-dom": "^18.2.0 || ^19.2.0",
57
57
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@atlaskit/editor-common": "^134.5.0",
60
+ "@atlaskit/editor-common": "^134.6.0",
61
61
  "@types/react-virtualized": "^9.18.12",
62
62
  "react": "^19.2.0",
63
63
  "react-dom": "^19.2.0",
@@ -74,9 +74,6 @@
74
74
  "platform_editor_agent_mentions_drop_one_fixes": {
75
75
  "type": "boolean"
76
76
  },
77
- "platform_editor_mention_typeahead_profilecard": {
78
- "type": "boolean"
79
- },
80
77
  "platform_editor_a11y_quick_insert_aria_current": {
81
78
  "type": "boolean"
82
79
  },