@atlaskit/editor-plugin-breakout 18.0.3 → 18.0.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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-breakout
|
|
2
2
|
|
|
3
|
+
## 18.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9f005c4fabff9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f005c4fabff9) -
|
|
8
|
+
Clean up experiment `platform_editor_sync_block_guideline_bugfix`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 18.0.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -8,7 +8,6 @@ exports.getGuidelines = exports.GUIDELINE_KEYS = void 0;
|
|
|
8
8
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
9
9
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
10
10
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
11
|
-
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
12
11
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
13
12
|
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
14
13
|
var WIDTHS = {
|
|
@@ -50,9 +49,7 @@ var getGuidelines = exports.getGuidelines = (0, _memoizeOne.default)(function (i
|
|
|
50
49
|
break;
|
|
51
50
|
case 'bodiedSyncBlock':
|
|
52
51
|
case 'syncBlock':
|
|
53
|
-
|
|
54
|
-
innerPaddingOffset = SYNC_BLOCK_PADDING;
|
|
55
|
-
}
|
|
52
|
+
innerPaddingOffset = SYNC_BLOCK_PADDING;
|
|
56
53
|
break;
|
|
57
54
|
case 'extension':
|
|
58
55
|
case 'multiBodiedExtension':
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import memoizeOne from 'memoize-one';
|
|
2
2
|
import { EXPAND_CONTAINER_PADDING, LAYOUT_COLUMN_PADDING, resizerHandleThumbWidth } from '@atlaskit/editor-common/styles';
|
|
3
3
|
import { akEditorGutterPaddingDynamic, akEditorGutterPadding, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, akEditorCalculatedWideLayoutWidth, akEditorFullWidthLayoutWidth, akEditorDefaultLayoutWidth, akEditorMaxLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
5
4
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
7
6
|
const WIDTHS = {
|
|
@@ -40,9 +39,7 @@ export const getGuidelines = memoizeOne((isResizing, newWidth, getEditorWidth, n
|
|
|
40
39
|
break;
|
|
41
40
|
case 'bodiedSyncBlock':
|
|
42
41
|
case 'syncBlock':
|
|
43
|
-
|
|
44
|
-
innerPaddingOffset = SYNC_BLOCK_PADDING;
|
|
45
|
-
}
|
|
42
|
+
innerPaddingOffset = SYNC_BLOCK_PADDING;
|
|
46
43
|
break;
|
|
47
44
|
case 'extension':
|
|
48
45
|
case 'multiBodiedExtension':
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import memoizeOne from 'memoize-one';
|
|
2
2
|
import { EXPAND_CONTAINER_PADDING, LAYOUT_COLUMN_PADDING, resizerHandleThumbWidth } from '@atlaskit/editor-common/styles';
|
|
3
3
|
import { akEditorGutterPaddingDynamic, akEditorGutterPadding, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, akEditorCalculatedWideLayoutWidth, akEditorFullWidthLayoutWidth, akEditorDefaultLayoutWidth, akEditorMaxLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
5
4
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
7
6
|
var WIDTHS = {
|
|
@@ -43,9 +42,7 @@ export var getGuidelines = memoizeOne(function (isResizing, newWidth, getEditorW
|
|
|
43
42
|
break;
|
|
44
43
|
case 'bodiedSyncBlock':
|
|
45
44
|
case 'syncBlock':
|
|
46
|
-
|
|
47
|
-
innerPaddingOffset = SYNC_BLOCK_PADDING;
|
|
48
|
-
}
|
|
45
|
+
innerPaddingOffset = SYNC_BLOCK_PADDING;
|
|
49
46
|
break;
|
|
50
47
|
case 'extension':
|
|
51
48
|
case 'multiBodiedExtension':
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.4",
|
|
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.2.0",
|
|
37
37
|
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
38
38
|
"@atlaskit/theme": "^28.2.0",
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^192.0.0",
|
|
40
40
|
"@atlaskit/tokens": "^16.12.0",
|
|
41
41
|
"@atlaskit/tooltip": "^24.3.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|