@atlaskit/editor-plugin-selection-extension 4.1.0 → 4.1.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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-extension
|
|
2
2
|
|
|
3
|
+
## 4.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`db97eb262cc5a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/db97eb262cc5a) -
|
|
8
|
+
replace platform_editor_toolbar_aifc with separate experiements for jira and confluence
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.1.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.1.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -13,6 +13,7 @@ var _usePluginStateEffect = require("@atlaskit/editor-common/use-plugin-state-ef
|
|
|
13
13
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
14
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
15
15
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
16
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
16
17
|
var _insertAdfAtEndOfDoc2 = require("./pm-plugins/actions/insertAdfAtEndOfDoc");
|
|
17
18
|
var _replaceWithAdf2 = require("./pm-plugins/actions/replaceWithAdf");
|
|
18
19
|
var _main = require("./pm-plugins/main");
|
|
@@ -32,7 +33,7 @@ var selectionExtensionPlugin = exports.selectionExtensionPlugin = function selec
|
|
|
32
33
|
};
|
|
33
34
|
var cachedSelection;
|
|
34
35
|
var cachedOverflowMenuOptions;
|
|
35
|
-
var isToolbarAIFCEnabled = (0,
|
|
36
|
+
var isToolbarAIFCEnabled = (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true);
|
|
36
37
|
var _ref2 = config || {},
|
|
37
38
|
_ref2$extensionList = _ref2.extensionList,
|
|
38
39
|
extensionList = _ref2$extensionList === void 0 ? [] : _ref2$extensionList,
|
|
@@ -5,6 +5,7 @@ import { usePluginStateEffect } from '@atlaskit/editor-common/use-plugin-state-e
|
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
6
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
7
7
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
8
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
8
9
|
import { insertAdfAtEndOfDoc } from './pm-plugins/actions/insertAdfAtEndOfDoc';
|
|
9
10
|
import { replaceWithAdf } from './pm-plugins/actions/replaceWithAdf';
|
|
10
11
|
import { createPlugin, selectionExtensionPluginKey } from './pm-plugins/main';
|
|
@@ -25,7 +26,7 @@ export const selectionExtensionPlugin = ({
|
|
|
25
26
|
};
|
|
26
27
|
let cachedSelection;
|
|
27
28
|
let cachedOverflowMenuOptions;
|
|
28
|
-
const isToolbarAIFCEnabled =
|
|
29
|
+
const isToolbarAIFCEnabled = editorExperiment('platform_editor_toolbar_aifc', true);
|
|
29
30
|
const {
|
|
30
31
|
extensionList = [],
|
|
31
32
|
extensions = {}
|
|
@@ -6,6 +6,7 @@ import { usePluginStateEffect } from '@atlaskit/editor-common/use-plugin-state-e
|
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
9
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
9
10
|
import { insertAdfAtEndOfDoc as _insertAdfAtEndOfDoc } from './pm-plugins/actions/insertAdfAtEndOfDoc';
|
|
10
11
|
import { replaceWithAdf as _replaceWithAdf } from './pm-plugins/actions/replaceWithAdf';
|
|
11
12
|
import { createPlugin, selectionExtensionPluginKey } from './pm-plugins/main';
|
|
@@ -25,7 +26,7 @@ export var selectionExtensionPlugin = function selectionExtensionPlugin(_ref) {
|
|
|
25
26
|
};
|
|
26
27
|
var cachedSelection;
|
|
27
28
|
var cachedOverflowMenuOptions;
|
|
28
|
-
var isToolbarAIFCEnabled =
|
|
29
|
+
var isToolbarAIFCEnabled = editorExperiment('platform_editor_toolbar_aifc', true);
|
|
29
30
|
var _ref2 = config || {},
|
|
30
31
|
_ref2$extensionList = _ref2.extensionList,
|
|
31
32
|
extensionList = _ref2$extensionList === void 0 ? [] : _ref2$extensionList,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-extension",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "editor-plugin-selection-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
45
45
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
46
46
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
47
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
47
|
+
"@atlaskit/editor-toolbar": "^0.8.0",
|
|
48
48
|
"@atlaskit/icon": "^28.1.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
|
-
"@atlaskit/primitives": "^14.
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
50
|
+
"@atlaskit/primitives": "^14.13.0",
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^12.5.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"lodash": "^4.17.21",
|
|
54
54
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
55
55
|
"uuid": "^3.1.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@atlaskit/editor-common": "^108.
|
|
58
|
+
"@atlaskit/editor-common": "^108.3.0",
|
|
59
59
|
"react": "^18.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|