@atlaskit/editor-plugin-expand 8.5.0 → 8.6.0
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 +18 -0
- package/dist/cjs/plugin.js +2 -2
- package/dist/es2019/plugin.js +2 -2
- package/dist/esm/plugin.js +2 -2
- package/package.json +5 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 8.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`9398ad3ad409c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9398ad3ad409c) -
|
|
8
|
+
[ux] [EDITOR-5376] change single player expands feature gate to the new
|
|
9
|
+
`platform_editor_single_player_expand` experiment
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 8.5.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 8.5.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.expandPlugin = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
8
8
|
var _plugin = require("./legacyExpand/plugin");
|
|
9
9
|
var _plugin2 = require("./singlePlayerExpand/plugin");
|
|
10
10
|
// Ignored via go/ees005
|
|
@@ -19,7 +19,7 @@ var expandPlugin = exports.expandPlugin = function expandPlugin(_ref) {
|
|
|
19
19
|
api: api
|
|
20
20
|
});
|
|
21
21
|
} else {
|
|
22
|
-
if ((0,
|
|
22
|
+
if ((0, _expValEquals.expValEquals)('platform_editor_single_player_expand', 'isEnabled', true)) {
|
|
23
23
|
return (0, _plugin2.expandPlugin)({
|
|
24
24
|
config: options,
|
|
25
25
|
api: api
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
2
2
|
import { expandPlugin as legacyExpandPlugin } from './legacyExpand/plugin';
|
|
3
3
|
import { expandPlugin as singlePlayerExpandPlugin } from './singlePlayerExpand/plugin';
|
|
4
4
|
// Ignored via go/ees005
|
|
@@ -13,7 +13,7 @@ export let expandPlugin = ({
|
|
|
13
13
|
api
|
|
14
14
|
});
|
|
15
15
|
} else {
|
|
16
|
-
if (
|
|
16
|
+
if (expValEquals('platform_editor_single_player_expand', 'isEnabled', true)) {
|
|
17
17
|
return singlePlayerExpandPlugin({
|
|
18
18
|
config: options,
|
|
19
19
|
api
|
package/dist/esm/plugin.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
2
2
|
import { expandPlugin as legacyExpandPlugin } from './legacyExpand/plugin';
|
|
3
3
|
import { expandPlugin as singlePlayerExpandPlugin } from './singlePlayerExpand/plugin';
|
|
4
4
|
// Ignored via go/ees005
|
|
@@ -13,7 +13,7 @@ export var expandPlugin = function expandPlugin(_ref) {
|
|
|
13
13
|
api: api
|
|
14
14
|
});
|
|
15
15
|
} else {
|
|
16
|
-
if (
|
|
16
|
+
if (expValEquals('platform_editor_single_player_expand', 'isEnabled', true)) {
|
|
17
17
|
return singlePlayerExpandPlugin({
|
|
18
18
|
config: options,
|
|
19
19
|
api: api
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.6.0",
|
|
4
4
|
"description": "Expand 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-plugin-editor-disabled": "^7.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-editor-viewmode": "^9.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-local-id": "^5.1.0",
|
|
40
|
-
"@atlaskit/editor-plugin-selection": "^7.
|
|
40
|
+
"@atlaskit/editor-plugin-selection": "^7.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-selection-marker": "^7.0.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
43
43
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@atlaskit/icon-lab": "^5.17.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
51
|
-
"@atlaskit/tokens": "^11.
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^35.5.0",
|
|
51
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
52
52
|
"@atlaskit/tooltip": "^20.14.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"w3c-keyname": "^2.1.8"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^111.
|
|
59
|
+
"@atlaskit/editor-common": "^111.32.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -99,9 +99,6 @@
|
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"platform-feature-flags": {
|
|
102
|
-
"platform-editor-single-player-expand": {
|
|
103
|
-
"type": "boolean"
|
|
104
|
-
},
|
|
105
102
|
"platform_editor_adf_with_localid": {
|
|
106
103
|
"type": "boolean"
|
|
107
104
|
},
|