@atlaskit/editor-core 213.5.5 → 213.5.6
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/FullPage/FullPageContentArea.js +10 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +10 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +10 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 213.5.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`fba5acd7818c3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fba5acd7818c3) -
|
|
8
|
+
ED-29392: fix scroll gutter hydration issue
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 213.5.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -20,6 +20,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
20
20
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
21
21
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
22
22
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
23
|
+
var _expVal = require("@atlaskit/tmp-editor-statsig/expVal");
|
|
23
24
|
var _ClickAreaBlock = _interopRequireDefault(require("../../Addon/ClickAreaBlock"));
|
|
24
25
|
var _contentComponentWrapper = require("../../Addon/ClickAreaBlock/contentComponentWrapper");
|
|
25
26
|
var _ContextPanel = require("../../ContextPanel");
|
|
@@ -240,6 +241,10 @@ var tableFullPageEditorStylesNew = (0, _react2.css)({
|
|
|
240
241
|
width: '100%'
|
|
241
242
|
}
|
|
242
243
|
});
|
|
244
|
+
var scrollGutter = (0, _react2.css)({
|
|
245
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
246
|
+
display: 'none'
|
|
247
|
+
});
|
|
243
248
|
var editorContentAreaContainerNestedDndStyle = (0, _react2.css)({
|
|
244
249
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
245
250
|
'.fabric-editor--full-width-mode': {
|
|
@@ -435,7 +440,11 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
435
440
|
containerElement: scrollContainerRef.current,
|
|
436
441
|
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
437
442
|
wrapperElement: props.wrapperElement
|
|
438
|
-
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? (0, _contentComponentWrapper.contentComponentClickWrapper)(props.customContentComponents.after) : null)
|
|
443
|
+
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? (0, _contentComponentWrapper.contentComponentClickWrapper)(props.customContentComponents.after) : null, (0, _expVal.expVal)('platform_editor_hydratable_ui', 'isEnabled', false) && (0, _react2.jsx)("div", {
|
|
444
|
+
id: "editor-scroll-gutter",
|
|
445
|
+
css: scrollGutter,
|
|
446
|
+
"data-vc": "scroll-gutter"
|
|
447
|
+
})))))), (0, _react2.jsx)("div", {
|
|
439
448
|
css: _StyledComponents.sidebarArea
|
|
440
449
|
}, props.contextPanel || (0, _react2.jsx)(_ContextPanel.ContextPanel, {
|
|
441
450
|
editorAPI: props.editorAPI,
|
|
@@ -17,6 +17,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
17
17
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
18
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
19
19
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
|
+
import { expVal } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
20
21
|
// Ignored via go/ees005
|
|
21
22
|
// eslint-disable-next-line import/no-named-as-default
|
|
22
23
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -225,6 +226,10 @@ const tableFullPageEditorStylesNew = css({
|
|
|
225
226
|
width: '100%'
|
|
226
227
|
}
|
|
227
228
|
});
|
|
229
|
+
const scrollGutter = css({
|
|
230
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
231
|
+
display: 'none'
|
|
232
|
+
});
|
|
228
233
|
const editorContentAreaContainerNestedDndStyle = css({
|
|
229
234
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
230
235
|
'.fabric-editor--full-width-mode': {
|
|
@@ -423,7 +428,11 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
423
428
|
containerElement: scrollContainerRef.current,
|
|
424
429
|
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
425
430
|
wrapperElement: props.wrapperElement
|
|
426
|
-
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null
|
|
431
|
+
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null, expVal('platform_editor_hydratable_ui', 'isEnabled', false) && jsx("div", {
|
|
432
|
+
id: "editor-scroll-gutter",
|
|
433
|
+
css: scrollGutter,
|
|
434
|
+
"data-vc": "scroll-gutter"
|
|
435
|
+
})))))), jsx("div", {
|
|
427
436
|
css: sidebarArea
|
|
428
437
|
}, props.contextPanel || jsx(ContextPanel, {
|
|
429
438
|
editorAPI: props.editorAPI,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "213.5.
|
|
2
|
+
export const version = "213.5.5";
|
|
@@ -19,6 +19,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
19
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
20
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
21
21
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
22
|
+
import { expVal } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
22
23
|
// Ignored via go/ees005
|
|
23
24
|
// eslint-disable-next-line import/no-named-as-default
|
|
24
25
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -230,6 +231,10 @@ var tableFullPageEditorStylesNew = css({
|
|
|
230
231
|
width: '100%'
|
|
231
232
|
}
|
|
232
233
|
});
|
|
234
|
+
var scrollGutter = css({
|
|
235
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
236
|
+
display: 'none'
|
|
237
|
+
});
|
|
233
238
|
var editorContentAreaContainerNestedDndStyle = css({
|
|
234
239
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
235
240
|
'.fabric-editor--full-width-mode': {
|
|
@@ -425,7 +430,11 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
425
430
|
containerElement: scrollContainerRef.current,
|
|
426
431
|
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
427
432
|
wrapperElement: props.wrapperElement
|
|
428
|
-
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null
|
|
433
|
+
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? contentComponentClickWrapper(props.customContentComponents.after) : null, expVal('platform_editor_hydratable_ui', 'isEnabled', false) && jsx("div", {
|
|
434
|
+
id: "editor-scroll-gutter",
|
|
435
|
+
css: scrollGutter,
|
|
436
|
+
"data-vc": "scroll-gutter"
|
|
437
|
+
})))))), jsx("div", {
|
|
429
438
|
css: sidebarArea
|
|
430
439
|
}, props.contextPanel || jsx(ContextPanel, {
|
|
431
440
|
editorAPI: props.editorAPI,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "213.5.
|
|
2
|
+
export var version = "213.5.5";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "213.5.
|
|
3
|
+
"version": "213.5.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"uuid": "^3.1.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@atlaskit/editor-common": "^109.
|
|
84
|
+
"@atlaskit/editor-common": "^109.15.0",
|
|
85
85
|
"@atlaskit/link-provider": "^4.0.0",
|
|
86
86
|
"@atlaskit/media-core": "^37.0.0",
|
|
87
87
|
"react": "^18.2.0",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@atlaskit/media-core": "^37.0.0",
|
|
104
104
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
105
105
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
106
|
-
"@atlaskit/modal-dialog": "^14.
|
|
106
|
+
"@atlaskit/modal-dialog": "^14.4.0",
|
|
107
107
|
"@atlaskit/primitives": "^14.15.0",
|
|
108
108
|
"@atlaskit/renderer": "^123.4.0",
|
|
109
109
|
"@atlaskit/section-message": "^8.7.0",
|