@atlaskit/editor-core 215.21.1 → 215.21.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 +8 -0
- package/dist/cjs/ui/Appearance/Chromeless.js +2 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Chromeless.js +2 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Chromeless.js +2 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.21.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6ef7509a0bf5b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6ef7509a0bf5b) -
|
|
8
|
+
Clean up platform_fix_extra_space_last_line_comment_editor
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 215.21.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -16,7 +16,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _react2 = require("@emotion/react");
|
|
18
18
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
19
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
19
|
var _EditorContentContainer = _interopRequireDefault(require("../EditorContentContainer/EditorContentContainer"));
|
|
21
20
|
var _PluginSlot = _interopRequireDefault(require("../PluginSlot"));
|
|
22
21
|
var _WithFlash = _interopRequireDefault(require("../WithFlash"));
|
|
@@ -65,9 +64,7 @@ var chromelessEditorStylesNew = (0, _react2.css)({
|
|
|
65
64
|
'& > :last-child': {
|
|
66
65
|
paddingBottom: "var(--ds-space-100, 0.5em)"
|
|
67
66
|
}
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
var extraSpaceLastLineFix = (0, _react2.css)({
|
|
67
|
+
},
|
|
71
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
72
69
|
'.ProseMirror': {
|
|
73
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -183,7 +180,7 @@ function ChromelessEditorContainer(_ref3) {
|
|
|
183
180
|
children = _ref3.children,
|
|
184
181
|
containerRef = _ref3.containerRef;
|
|
185
182
|
return (0, _react2.jsx)("div", {
|
|
186
|
-
css: [chromelessEditorStylesNew, scrollbarStylesNew
|
|
183
|
+
css: [chromelessEditorStylesNew, scrollbarStylesNew],
|
|
187
184
|
style: {
|
|
188
185
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
189
186
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -8,7 +8,6 @@ import React, { Fragment } from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import EditorContentContainer from '../EditorContentContainer/EditorContentContainer';
|
|
13
12
|
import PluginSlot from '../PluginSlot';
|
|
14
13
|
import WithFlash from '../WithFlash';
|
|
@@ -51,9 +50,7 @@ const chromelessEditorStylesNew = css({
|
|
|
51
50
|
'& > :last-child': {
|
|
52
51
|
paddingBottom: "var(--ds-space-100, 0.5em)"
|
|
53
52
|
}
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
const extraSpaceLastLineFix = css({
|
|
53
|
+
},
|
|
57
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
58
55
|
'.ProseMirror': {
|
|
59
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -160,7 +157,7 @@ export function ChromelessEditorContainer({
|
|
|
160
157
|
containerRef
|
|
161
158
|
}) {
|
|
162
159
|
return jsx("div", {
|
|
163
|
-
css: [chromelessEditorStylesNew, scrollbarStylesNew
|
|
160
|
+
css: [chromelessEditorStylesNew, scrollbarStylesNew],
|
|
164
161
|
style: {
|
|
165
162
|
maxHeight: maxHeight ? `${maxHeight}px` : undefined,
|
|
166
163
|
minHeight: `${minHeight}px`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.21.
|
|
2
|
+
export const version = "215.21.1";
|
|
@@ -15,7 +15,6 @@ import React, { Fragment } from 'react';
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
import { css, jsx } from '@emotion/react';
|
|
17
17
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
18
|
import EditorContentContainer from '../EditorContentContainer/EditorContentContainer';
|
|
20
19
|
import PluginSlot from '../PluginSlot';
|
|
21
20
|
import WithFlash from '../WithFlash';
|
|
@@ -58,9 +57,7 @@ var chromelessEditorStylesNew = css({
|
|
|
58
57
|
'& > :last-child': {
|
|
59
58
|
paddingBottom: "var(--ds-space-100, 0.5em)"
|
|
60
59
|
}
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
var extraSpaceLastLineFix = css({
|
|
60
|
+
},
|
|
64
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
65
62
|
'.ProseMirror': {
|
|
66
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -177,7 +174,7 @@ export function ChromelessEditorContainer(_ref3) {
|
|
|
177
174
|
children = _ref3.children,
|
|
178
175
|
containerRef = _ref3.containerRef;
|
|
179
176
|
return jsx("div", {
|
|
180
|
-
css: [chromelessEditorStylesNew, scrollbarStylesNew
|
|
177
|
+
css: [chromelessEditorStylesNew, scrollbarStylesNew],
|
|
181
178
|
style: {
|
|
182
179
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
183
180
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.21.
|
|
2
|
+
export var version = "215.21.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.21.
|
|
3
|
+
"version": "215.21.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -339,9 +339,6 @@
|
|
|
339
339
|
"platform_editor_vanilla_codebidi_warning": {
|
|
340
340
|
"type": "boolean"
|
|
341
341
|
},
|
|
342
|
-
"platform_fix_extra_space_last_line_comment_editor": {
|
|
343
|
-
"type": "boolean"
|
|
344
|
-
},
|
|
345
342
|
"platform_editor_adf_with_localid": {
|
|
346
343
|
"type": "boolean",
|
|
347
344
|
"referenceOnly": true
|