@atlaskit/editor-plugin-type-ahead 7.0.11 → 7.0.13
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
|
+
## 7.0.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7ba3979b92b42`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7ba3979b92b42) -
|
|
8
|
+
Remove platform_synced_block_dogfooding feature gate
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 7.0.12
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 7.0.11
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -17,7 +17,6 @@ var _editorPluginConnectivity = require("@atlaskit/editor-plugin-connectivity");
|
|
|
17
17
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
18
18
|
var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
|
19
19
|
var _menu = require("@atlaskit/menu");
|
|
20
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
20
|
var _colors = require("@atlaskit/theme/colors");
|
|
22
21
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
23
22
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
@@ -261,7 +260,7 @@ var TypeAheadListItem = exports.TypeAheadListItem = /*#__PURE__*/_react.default.
|
|
|
261
260
|
role: "option",
|
|
262
261
|
ref: buttonItemRef,
|
|
263
262
|
isDisabled: itemIsDisabled,
|
|
264
|
-
testId: (0, _experiments.editorExperiment)('platform_synced_block', true)
|
|
263
|
+
testId: (0, _experiments.editorExperiment)('platform_synced_block', true) ? item.testId : undefined
|
|
265
264
|
// @ts-ignore
|
|
266
265
|
,
|
|
267
266
|
css: listItemClasses
|
|
@@ -14,7 +14,6 @@ import { isOfflineMode } from '@atlaskit/editor-plugin-connectivity';
|
|
|
14
14
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
15
15
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
16
16
|
import { ButtonItem } from '@atlaskit/menu';
|
|
17
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
17
|
import { B400, N30, N800 } from '@atlaskit/theme/colors';
|
|
19
18
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
19
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
@@ -274,7 +273,7 @@ export const TypeAheadListItem = /*#__PURE__*/React.memo(({
|
|
|
274
273
|
role: "option",
|
|
275
274
|
ref: buttonItemRef,
|
|
276
275
|
isDisabled: itemIsDisabled,
|
|
277
|
-
testId: editorExperiment('platform_synced_block', true)
|
|
276
|
+
testId: editorExperiment('platform_synced_block', true) ? item.testId : undefined
|
|
278
277
|
// @ts-ignore
|
|
279
278
|
,
|
|
280
279
|
css: listItemClasses
|
|
@@ -16,7 +16,6 @@ import { isOfflineMode } from '@atlaskit/editor-plugin-connectivity';
|
|
|
16
16
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
17
17
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
18
18
|
import { ButtonItem } from '@atlaskit/menu';
|
|
19
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
20
19
|
import { B400, N30, N800 } from '@atlaskit/theme/colors';
|
|
21
20
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
22
21
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
@@ -253,7 +252,7 @@ export var TypeAheadListItem = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
253
252
|
role: "option",
|
|
254
253
|
ref: buttonItemRef,
|
|
255
254
|
isDisabled: itemIsDisabled,
|
|
256
|
-
testId: editorExperiment('platform_synced_block', true)
|
|
255
|
+
testId: editorExperiment('platform_synced_block', true) ? item.testId : undefined
|
|
257
256
|
// @ts-ignore
|
|
258
257
|
,
|
|
259
258
|
css: listItemClasses
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.13",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
39
39
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
40
|
-
"@atlaskit/heading": "^5.
|
|
40
|
+
"@atlaskit/heading": "^5.3.0",
|
|
41
41
|
"@atlaskit/insm": "^0.3.0",
|
|
42
42
|
"@atlaskit/menu": "^8.4.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
46
46
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
47
47
|
"@atlaskit/theme": "^21.0.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^22.1.0",
|
|
49
49
|
"@atlaskit/tokens": "^11.0.0",
|
|
50
50
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
@@ -98,9 +98,6 @@
|
|
|
98
98
|
},
|
|
99
99
|
"platform_editor_ease_of_use_metrics": {
|
|
100
100
|
"type": "boolean"
|
|
101
|
-
},
|
|
102
|
-
"platform_synced_block_dogfooding": {
|
|
103
|
-
"type": "boolean"
|
|
104
101
|
}
|
|
105
102
|
}
|
|
106
103
|
}
|