@atlaskit/editor-plugin-type-ahead 25.0.1 → 25.0.2

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-type-ahead
2
2
 
3
+ ## 25.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`395ccdc5786c2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/395ccdc5786c2) -
8
+ Clean up experiment `cc_fd_db_quick_insert_options`
9
+
3
10
  ## 25.0.1
4
11
 
5
12
  ### Patch Changes
@@ -15,7 +15,6 @@ var _hooks = require("@atlaskit/editor-common/hooks");
15
15
  var _typeAhead = require("@atlaskit/editor-common/type-ahead");
16
16
  var _ui = require("@atlaskit/editor-common/ui");
17
17
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
18
- var _featureGates = _interopRequireDefault(require("@atlaskit/feature-gate-js-client/feature-gates"));
19
18
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
20
19
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
21
20
  var _analytics2 = require("../pm-plugins/analytics");
@@ -116,9 +115,6 @@ var TypeAheadPopup = exports.TypeAheadPopup = /*#__PURE__*/_react.default.memo(f
116
115
  }
117
116
  var stopTime = performance.now();
118
117
  var time = stopTime - startTime;
119
-
120
- // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
121
- _featureGates.default.getExperimentValue('cc_fd_db_quick_insert_options', 'isEnabled', false);
122
118
  api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || (_api$analytics2 = _api$analytics2.actions) === null || _api$analytics2 === void 0 || _api$analytics2.fireAnalyticsEvent({
123
119
  action: _analytics.ACTION.RENDERED,
124
120
  actionSubject: _analytics.ACTION_SUBJECT.TYPEAHEAD,
@@ -12,7 +12,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
12
12
  import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
13
13
  import { findOverflowScrollParent, Popup } from '@atlaskit/editor-common/ui';
14
14
  import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
15
- import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
16
15
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
17
16
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
17
  import { fireTypeAheadClosedAnalyticsEvent } from '../pm-plugins/analytics';
@@ -104,9 +103,6 @@ export const TypeAheadPopup = /*#__PURE__*/React.memo(props => {
104
103
  }
105
104
  const stopTime = performance.now();
106
105
  const time = stopTime - startTime;
107
-
108
- // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
109
- FeatureGates.getExperimentValue('cc_fd_db_quick_insert_options', 'isEnabled', false);
110
106
  api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : (_api$analytics2$actio = _api$analytics2.actions) === null || _api$analytics2$actio === void 0 ? void 0 : _api$analytics2$actio.fireAnalyticsEvent({
111
107
  action: ACTION.RENDERED,
112
108
  actionSubject: ACTION_SUBJECT.TYPEAHEAD,
@@ -13,7 +13,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
13
13
  import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
14
14
  import { findOverflowScrollParent, Popup } from '@atlaskit/editor-common/ui';
15
15
  import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
16
- import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
17
16
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
18
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
19
18
  import { fireTypeAheadClosedAnalyticsEvent } from '../pm-plugins/analytics';
@@ -106,9 +105,6 @@ export var TypeAheadPopup = /*#__PURE__*/React.memo(function (props) {
106
105
  }
107
106
  var stopTime = performance.now();
108
107
  var time = stopTime - startTime;
109
-
110
- // eslint-disable-next-line @atlaskit/platform/use-recommended-utils
111
- FeatureGates.getExperimentValue('cc_fd_db_quick_insert_options', 'isEnabled', false);
112
108
  api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || (_api$analytics2 = _api$analytics2.actions) === null || _api$analytics2 === void 0 || _api$analytics2.fireAnalyticsEvent({
113
109
  action: ACTION.RENDERED,
114
110
  actionSubject: ACTION_SUBJECT.TYPEAHEAD,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "25.0.1",
3
+ "version": "25.0.2",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/heading": "^8.0.0",
36
36
  "@atlaskit/icon": "^38.0.0",
37
37
  "@atlaskit/insm": "^3.0.0",
38
- "@atlaskit/mention": "^30.0.0",
38
+ "@atlaskit/mention": "^30.1.0",
39
39
  "@atlaskit/menu": "^11.0.0",
40
40
  "@atlaskit/platform-feature-experiments": "^0.3.0",
41
41
  "@atlaskit/platform-feature-flags": "^2.2.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/prosemirror-history": "^1.3.0",
44
44
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
45
45
  "@atlaskit/tmp-editor-statsig": "^221.0.0",
46
- "@atlaskit/tokens": "^20.1.0",
46
+ "@atlaskit/tokens": "^20.2.0",
47
47
  "@atlaskit/visually-hidden": "^4.4.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
@@ -54,7 +54,7 @@
54
54
  "w3c-keyname": "^2.1.8"
55
55
  },
56
56
  "peerDependencies": {
57
- "@atlaskit/editor-common": "^128.1.0",
57
+ "@atlaskit/editor-common": "^128.2.0",
58
58
  "react": "^18.2.0 || ^19.2.0",
59
59
  "react-dom": "^18.2.0 || ^19.2.0",
60
60
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"