@atlaskit/editor-plugin-type-ahead 2.4.1 → 2.4.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,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 2.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#142098](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142098)
|
|
8
|
+
[`e84b542ba2d44`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e84b542ba2d44) -
|
|
9
|
+
[ED-27614] Put quick insert placeholder behind a separate
|
|
10
|
+
FGplatform_editor_quick_insert_placeholder
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 2.4.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -112,7 +112,7 @@ var InputQuery = exports.InputQuery = /*#__PURE__*/_react.default.memo(function
|
|
|
112
112
|
setQuery = _useState2[1];
|
|
113
113
|
var isEditorInsertionEnabled = (0, _experiments.editorExperiment)('platform_editor_insertion', 'variant1');
|
|
114
114
|
var isEditorControlsPatch2Enabled = (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_2');
|
|
115
|
-
var isSearchPlaceholderEnabled = isEditorInsertionEnabled || (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('
|
|
115
|
+
var isSearchPlaceholderEnabled = isEditorInsertionEnabled || (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_quick_insert_placeholder');
|
|
116
116
|
var selection = editorView.state.selection;
|
|
117
117
|
var table = editorView.state.schema.nodes.table;
|
|
118
118
|
var _useState3 = (0, _react.useState)(isSearchPlaceholderEnabled && triggerQueryPrefix === '/' &&
|
|
@@ -98,7 +98,7 @@ export const InputQuery = /*#__PURE__*/React.memo(({
|
|
|
98
98
|
const [query, setQuery] = useState(null);
|
|
99
99
|
const isEditorInsertionEnabled = editorExperiment('platform_editor_insertion', 'variant1');
|
|
100
100
|
const isEditorControlsPatch2Enabled = editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_2');
|
|
101
|
-
const isSearchPlaceholderEnabled = isEditorInsertionEnabled || editorExperiment('platform_editor_controls', 'variant1') && fg('
|
|
101
|
+
const isSearchPlaceholderEnabled = isEditorInsertionEnabled || editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder');
|
|
102
102
|
const selection = editorView.state.selection;
|
|
103
103
|
const {
|
|
104
104
|
table
|
|
@@ -101,7 +101,7 @@ export var InputQuery = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
101
101
|
setQuery = _useState2[1];
|
|
102
102
|
var isEditorInsertionEnabled = editorExperiment('platform_editor_insertion', 'variant1');
|
|
103
103
|
var isEditorControlsPatch2Enabled = editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_2');
|
|
104
|
-
var isSearchPlaceholderEnabled = isEditorInsertionEnabled || editorExperiment('platform_editor_controls', 'variant1') && fg('
|
|
104
|
+
var isSearchPlaceholderEnabled = isEditorInsertionEnabled || editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder');
|
|
105
105
|
var selection = editorView.state.selection;
|
|
106
106
|
var table = editorView.state.schema.nodes.table;
|
|
107
107
|
var _useState3 = useState(isSearchPlaceholderEnabled && triggerQueryPrefix === '/' &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
|
-
"@atlaskit/editor-common": "^103.
|
|
37
|
+
"@atlaskit/editor-common": "^103.8.0",
|
|
38
38
|
"@atlaskit/editor-element-browser": "^0.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@atlaskit/primitives": "^14.4.0",
|
|
49
49
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
50
50
|
"@atlaskit/theme": "^18.0.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
52
|
-
"@atlaskit/tokens": "^4.
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^4.10.0",
|
|
52
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
55
55
|
"lodash": "^4.17.21",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"platform_editor_controls_patch_2": {
|
|
108
108
|
"type": "boolean"
|
|
109
109
|
},
|
|
110
|
-
"
|
|
110
|
+
"platform_editor_quick_insert_placeholder": {
|
|
111
111
|
"type": "boolean"
|
|
112
112
|
},
|
|
113
113
|
"platform_editor_controls_patch_4": {
|