@atlaskit/editor-plugin-quick-insert 16.3.2 → 16.3.4
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,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 16.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 16.3.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`e29faa16e0c66`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e29faa16e0c66) -
|
|
14
|
+
Migrate selected editor experiment reads and tooling from tmp-editor-statsig to
|
|
15
|
+
platform-feature-experiments, including static CSS, floating ToC, insert-menu AI, table overflow
|
|
16
|
+
shadows, and collapsible headings.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 16.3.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -63,7 +63,7 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
|
|
|
63
63
|
},
|
|
64
64
|
getEmptyItem: function getEmptyItem(_ref3) {
|
|
65
65
|
var editorState = _ref3.editorState;
|
|
66
|
-
if (!(0,
|
|
66
|
+
if (!(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_insert_menu_ai')) {
|
|
67
67
|
return undefined;
|
|
68
68
|
}
|
|
69
69
|
var quickInsertState = _pluginKey.pluginKey.getState(editorState);
|
|
@@ -53,7 +53,7 @@ export const quickInsertPlugin = ({
|
|
|
53
53
|
getEmptyItem({
|
|
54
54
|
editorState
|
|
55
55
|
}) {
|
|
56
|
-
if (!
|
|
56
|
+
if (!isExperimentEnabled('platform_editor_insert_menu_ai')) {
|
|
57
57
|
return undefined;
|
|
58
58
|
}
|
|
59
59
|
const quickInsertState = pluginKey.getState(editorState);
|
|
@@ -56,7 +56,7 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
|
56
56
|
},
|
|
57
57
|
getEmptyItem: function getEmptyItem(_ref3) {
|
|
58
58
|
var editorState = _ref3.editorState;
|
|
59
|
-
if (!
|
|
59
|
+
if (!isExperimentEnabled('platform_editor_insert_menu_ai')) {
|
|
60
60
|
return undefined;
|
|
61
61
|
}
|
|
62
62
|
var quickInsertState = pluginKey.getState(editorState);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "16.3.
|
|
3
|
+
"version": "16.3.4",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
27
27
|
"@atlaskit/editor-plugin-connectivity": "^16.0.0",
|
|
28
28
|
"@atlaskit/editor-plugin-metrics": "^17.0.0",
|
|
29
|
-
"@atlaskit/editor-plugin-type-ahead": "^17.
|
|
29
|
+
"@atlaskit/editor-plugin-type-ahead": "^17.2.0",
|
|
30
30
|
"@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
|
|
31
31
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
32
32
|
"@atlaskit/editor-tables": "^3.1.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
39
39
|
"@atlaskit/primitives": "^22.5.0",
|
|
40
40
|
"@atlaskit/textfield": "^10.2.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^178.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^16.11.0",
|
|
43
43
|
"@atlaskit/tooltip": "^24.3.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|