@atlaskit/editor-plugin-breakout 1.8.5 → 1.8.7
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,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-breakout
|
|
2
2
|
|
|
3
|
+
## 1.8.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#159308](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159308)
|
|
8
|
+
[`14ef6f05d711c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14ef6f05d711c) -
|
|
9
|
+
[ED-24690] Replace LD FF with Statsig platform-editor-single-player-expand
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 1.8.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#159176](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159176)
|
|
17
|
+
[`8f1d77592a9dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8f1d77592a9dc) -
|
|
18
|
+
Bump adf-schema to 44.2.0
|
|
19
|
+
|
|
3
20
|
## 1.8.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -7,7 +7,7 @@ exports.updateExpandedState = void 0;
|
|
|
7
7
|
var _expand = require("@atlaskit/editor-common/expand");
|
|
8
8
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
9
9
|
var updateExpandedState = exports.updateExpandedState = function updateExpandedState(tr, node, isLivePage) {
|
|
10
|
-
if (isLivePage || (0, _platformFeatureFlags.
|
|
10
|
+
if (isLivePage || (0, _platformFeatureFlags.fg)('platform-editor-single-player-expand')) {
|
|
11
11
|
var wasExpandExpanded = _expand.expandedState.get(node.node);
|
|
12
12
|
var newExpand = tr.doc.nodeAt(node.pos);
|
|
13
13
|
if (wasExpandExpanded !== undefined && newExpand) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { expandedState } from '@atlaskit/editor-common/expand';
|
|
2
|
-
import {
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
3
|
export const updateExpandedState = (tr, node, isLivePage) => {
|
|
4
|
-
if (isLivePage ||
|
|
4
|
+
if (isLivePage || fg('platform-editor-single-player-expand')) {
|
|
5
5
|
const wasExpandExpanded = expandedState.get(node.node);
|
|
6
6
|
const newExpand = tr.doc.nodeAt(node.pos);
|
|
7
7
|
if (wasExpandExpanded !== undefined && newExpand) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { expandedState } from '@atlaskit/editor-common/expand';
|
|
2
|
-
import {
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
3
|
export var updateExpandedState = function updateExpandedState(tr, node, isLivePage) {
|
|
4
|
-
if (isLivePage ||
|
|
4
|
+
if (isLivePage || fg('platform-editor-single-player-expand')) {
|
|
5
5
|
var wasExpandExpanded = expandedState.get(node.node);
|
|
6
6
|
var newExpand = tr.doc.nodeAt(node.pos);
|
|
7
7
|
if (wasExpandExpanded !== undefined && newExpand) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.7",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^
|
|
35
|
-
"@atlaskit/editor-common": "^94.
|
|
34
|
+
"@atlaskit/adf-schema": "^44.2.0",
|
|
35
|
+
"@atlaskit/editor-common": "^94.11.0",
|
|
36
36
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-width": "^1.3.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
39
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
39
|
+
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
40
40
|
"@atlaskit/icon": "^22.24.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
42
42
|
"@atlaskit/theme": "^14.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^2.
|
|
43
|
+
"@atlaskit/tokens": "^2.1.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1"
|
|
46
46
|
},
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"platform-feature-flags": {
|
|
98
|
-
"platform
|
|
98
|
+
"platform-editor-single-player-expand": {
|
|
99
99
|
"type": "boolean"
|
|
100
100
|
},
|
|
101
101
|
"platform_editor_core_increase_full_page_guttering": {
|