@atlaskit/editor-plugin-type-ahead 6.5.19 → 6.5.20
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
|
@@ -15,6 +15,7 @@ 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 _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
|
|
18
19
|
var _colors = require("@atlaskit/theme/colors");
|
|
19
20
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
20
21
|
var _analytics2 = require("../pm-plugins/analytics");
|
|
@@ -109,6 +110,9 @@ var TypeAheadPopup = exports.TypeAheadPopup = /*#__PURE__*/_react.default.memo(f
|
|
|
109
110
|
}
|
|
110
111
|
var stopTime = performance.now();
|
|
111
112
|
var time = stopTime - startTime;
|
|
113
|
+
|
|
114
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
115
|
+
_featureGateJsClient.default.getExperimentValue('cc_fd_db_quick_insert_options_aa', 'isEnabled', false);
|
|
112
116
|
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
117
|
action: _analytics.ACTION.RENDERED,
|
|
114
118
|
actionSubject: _analytics.ACTION_SUBJECT.TYPEAHEAD,
|
|
@@ -12,6 +12,7 @@ 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';
|
|
15
16
|
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
16
17
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
17
18
|
import { fireTypeAheadClosedAnalyticsEvent } from '../pm-plugins/analytics';
|
|
@@ -98,6 +99,9 @@ export const TypeAheadPopup = /*#__PURE__*/React.memo(props => {
|
|
|
98
99
|
}
|
|
99
100
|
const stopTime = performance.now();
|
|
100
101
|
const time = stopTime - startTime;
|
|
102
|
+
|
|
103
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
104
|
+
FeatureGates.getExperimentValue('cc_fd_db_quick_insert_options_aa', 'isEnabled', false);
|
|
101
105
|
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({
|
|
102
106
|
action: ACTION.RENDERED,
|
|
103
107
|
actionSubject: ACTION_SUBJECT.TYPEAHEAD,
|
|
@@ -13,6 +13,7 @@ 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';
|
|
16
17
|
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
17
18
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
18
19
|
import { fireTypeAheadClosedAnalyticsEvent } from '../pm-plugins/analytics';
|
|
@@ -99,6 +100,9 @@ export var TypeAheadPopup = /*#__PURE__*/React.memo(function (props) {
|
|
|
99
100
|
}
|
|
100
101
|
var stopTime = performance.now();
|
|
101
102
|
var time = stopTime - startTime;
|
|
103
|
+
|
|
104
|
+
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
105
|
+
FeatureGates.getExperimentValue('cc_fd_db_quick_insert_options_aa', 'isEnabled', false);
|
|
102
106
|
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({
|
|
103
107
|
action: ACTION.RENDERED,
|
|
104
108
|
actionSubject: ACTION_SUBJECT.TYPEAHEAD,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.20",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-metrics": "^7.1.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
40
|
+
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
40
41
|
"@atlaskit/heading": "^5.2.0",
|
|
41
|
-
"@atlaskit/icon": "^29.0.0",
|
|
42
42
|
"@atlaskit/insm": "^0.2.0",
|
|
43
43
|
"@atlaskit/menu": "^8.4.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/primitives": "^16.
|
|
45
|
+
"@atlaskit/primitives": "^16.4.0",
|
|
46
46
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
47
47
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
48
48
|
"@atlaskit/theme": "^21.0.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
50
|
-
"@atlaskit/tokens": "^8.
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^14.0.0",
|
|
50
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
51
51
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@emotion/react": "^11.7.1",
|
|
@@ -58,14 +58,12 @@
|
|
|
58
58
|
"w3c-keyname": "^2.1.8"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@atlaskit/editor-common": "^110.
|
|
61
|
+
"@atlaskit/editor-common": "^110.36.0",
|
|
62
62
|
"react": "^18.2.0",
|
|
63
63
|
"react-dom": "^18.2.0",
|
|
64
64
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@af/visual-regression": "workspace:^",
|
|
68
|
-
"@atlaskit/ssr": "workspace:^",
|
|
69
67
|
"@testing-library/react": "^13.4.0",
|
|
70
68
|
"@types/react-virtualized": "^9.18.12",
|
|
71
69
|
"wait-for-expect": "^1.2.0"
|