@atlaskit/editor-plugin-breakout 15.0.7 → 15.0.9
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,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-breakout
|
|
2
2
|
|
|
3
|
+
## 15.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b8598a6de03d4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b8598a6de03d4) -
|
|
8
|
+
[EDITOR-8613] clean up resize kill switches for bugfixes
|
|
9
|
+
|
|
10
|
+
## 15.0.8
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 15.0.7
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -149,8 +149,7 @@ var createResizingPlugin = exports.createResizingPlugin = function createResizin
|
|
|
149
149
|
var _api$editorViewMode2;
|
|
150
150
|
var isPageLoadNormalizationEnabled = (0, _expValEquals.expValEquals)('platform_editor_add_breakout_marks_on_page_load', 'isEnabled', true) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions');
|
|
151
151
|
var isRuleAndPanelResizingEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true);
|
|
152
|
-
|
|
153
|
-
if (!isPageLoadNormalizationEnabled && !isPanelAndDividerNormalizationEnabled) {
|
|
152
|
+
if (!isPageLoadNormalizationEnabled && !isRuleAndPanelResizingEnabled) {
|
|
154
153
|
return {};
|
|
155
154
|
}
|
|
156
155
|
|
|
@@ -219,8 +218,7 @@ var createResizingPlugin = exports.createResizingPlugin = function createResizin
|
|
|
219
218
|
var isFullWidthEnabled = !((options === null || options === void 0 ? void 0 : options.allowBreakoutButton) === true);
|
|
220
219
|
var isMaxWidthEnabled = (options === null || options === void 0 ? void 0 : options.appearance) === 'max' && (0, _expValEquals.expValEquals)('confluence_max_width_content_appearance', 'isEnabled', true) && (0, _expValEquals.expValEquals)('platform_editor_lovability_breakout_resizing_fixes', 'isEnabled', true);
|
|
221
220
|
var isPageLoadNormalizationEnabled = (0, _expValEquals.expValEquals)('platform_editor_add_breakout_marks_on_page_load', 'isEnabled', true) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions');
|
|
222
|
-
|
|
223
|
-
if (!isPageLoadNormalizationEnabled && !isPanelAndDividerNormalizationEnabled && (0, _document.isReplaceDocOperation)(transactions, oldState)) {
|
|
221
|
+
if (!isPageLoadNormalizationEnabled && !isRuleAndPanelResizingEnabled && (0, _document.isReplaceDocOperation)(transactions, oldState)) {
|
|
224
222
|
newState.doc.forEach(function (node, pos) {
|
|
225
223
|
var _addBreakoutToResizab2 = addBreakoutToResizableNode({
|
|
226
224
|
node: node,
|
|
@@ -145,8 +145,7 @@ export const createResizingPlugin = (api, getIntl, nodeViewPortalProviderAPI, op
|
|
|
145
145
|
var _api$editorViewMode2;
|
|
146
146
|
const isPageLoadNormalizationEnabled = expValEquals('platform_editor_add_breakout_marks_on_page_load', 'isEnabled', true) || isExperimentEnabled('platform_editor_lovability_resize_extensions');
|
|
147
147
|
const isRuleAndPanelResizingEnabled = expValEquals('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true);
|
|
148
|
-
|
|
149
|
-
if (!isPageLoadNormalizationEnabled && !isPanelAndDividerNormalizationEnabled) {
|
|
148
|
+
if (!isPageLoadNormalizationEnabled && !isRuleAndPanelResizingEnabled) {
|
|
150
149
|
return {};
|
|
151
150
|
}
|
|
152
151
|
|
|
@@ -219,8 +218,7 @@ export const createResizingPlugin = (api, getIntl, nodeViewPortalProviderAPI, op
|
|
|
219
218
|
const isFullWidthEnabled = !((options === null || options === void 0 ? void 0 : options.allowBreakoutButton) === true);
|
|
220
219
|
const isMaxWidthEnabled = (options === null || options === void 0 ? void 0 : options.appearance) === 'max' && expValEquals('confluence_max_width_content_appearance', 'isEnabled', true) && expValEquals('platform_editor_lovability_breakout_resizing_fixes', 'isEnabled', true);
|
|
221
220
|
const isPageLoadNormalizationEnabled = expValEquals('platform_editor_add_breakout_marks_on_page_load', 'isEnabled', true) || isExperimentEnabled('platform_editor_lovability_resize_extensions');
|
|
222
|
-
|
|
223
|
-
if (!isPageLoadNormalizationEnabled && !isPanelAndDividerNormalizationEnabled && isReplaceDocOperation(transactions, oldState)) {
|
|
221
|
+
if (!isPageLoadNormalizationEnabled && !isRuleAndPanelResizingEnabled && isReplaceDocOperation(transactions, oldState)) {
|
|
224
222
|
newState.doc.forEach((node, pos) => {
|
|
225
223
|
const {
|
|
226
224
|
updatedTr,
|
|
@@ -142,8 +142,7 @@ export var createResizingPlugin = function createResizingPlugin(api, getIntl, no
|
|
|
142
142
|
var _api$editorViewMode2;
|
|
143
143
|
var isPageLoadNormalizationEnabled = expValEquals('platform_editor_add_breakout_marks_on_page_load', 'isEnabled', true) || isExperimentEnabled('platform_editor_lovability_resize_extensions');
|
|
144
144
|
var isRuleAndPanelResizingEnabled = expValEquals('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true);
|
|
145
|
-
|
|
146
|
-
if (!isPageLoadNormalizationEnabled && !isPanelAndDividerNormalizationEnabled) {
|
|
145
|
+
if (!isPageLoadNormalizationEnabled && !isRuleAndPanelResizingEnabled) {
|
|
147
146
|
return {};
|
|
148
147
|
}
|
|
149
148
|
|
|
@@ -212,8 +211,7 @@ export var createResizingPlugin = function createResizingPlugin(api, getIntl, no
|
|
|
212
211
|
var isFullWidthEnabled = !((options === null || options === void 0 ? void 0 : options.allowBreakoutButton) === true);
|
|
213
212
|
var isMaxWidthEnabled = (options === null || options === void 0 ? void 0 : options.appearance) === 'max' && expValEquals('confluence_max_width_content_appearance', 'isEnabled', true) && expValEquals('platform_editor_lovability_breakout_resizing_fixes', 'isEnabled', true);
|
|
214
213
|
var isPageLoadNormalizationEnabled = expValEquals('platform_editor_add_breakout_marks_on_page_load', 'isEnabled', true) || isExperimentEnabled('platform_editor_lovability_resize_extensions');
|
|
215
|
-
|
|
216
|
-
if (!isPageLoadNormalizationEnabled && !isPanelAndDividerNormalizationEnabled && isReplaceDocOperation(transactions, oldState)) {
|
|
214
|
+
if (!isPageLoadNormalizationEnabled && !isRuleAndPanelResizingEnabled && isReplaceDocOperation(transactions, oldState)) {
|
|
217
215
|
newState.doc.forEach(function (node, pos) {
|
|
218
216
|
var _addBreakoutToResizab2 = addBreakoutToResizableNode({
|
|
219
217
|
node: node,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.9",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
37
37
|
"@atlaskit/pragmatic-drag-and-drop": "^3.0.0",
|
|
38
38
|
"@atlaskit/theme": "^28.0.0",
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^152.0.0",
|
|
40
40
|
"@atlaskit/tokens": "^16.7.0",
|
|
41
41
|
"@atlaskit/tooltip": "^24.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
@@ -101,9 +101,6 @@
|
|
|
101
101
|
"platform_editor_lovability_resize_gracefully": {
|
|
102
102
|
"type": "boolean"
|
|
103
103
|
},
|
|
104
|
-
"platform_editor_lovability_resize_patch_1": {
|
|
105
|
-
"type": "boolean"
|
|
106
|
-
},
|
|
107
104
|
"platform_editor_breakout_auto_normalization_history_patch": {
|
|
108
105
|
"type": "boolean"
|
|
109
106
|
}
|