@atlaskit/editor-core 221.16.2 → 221.16.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 +14 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -14
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -2
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -14
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -2
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -3
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -14
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +4 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 221.16.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5ee00c9dc4881`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5ee00c9dc4881) -
|
|
8
|
+
Clean up feature gate `platform_editor_controls_no_toolbar_space`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 221.16.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 221.16.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
._19bvt9kd{padding-left:72px}
|
|
18
18
|
._19pk1wug{margin-top:auto}
|
|
19
19
|
._19pkidpf{margin-top:0}
|
|
20
|
-
._19pknm9q{margin-top:calc(var(--ds-space-500, 40px) + 1px)}
|
|
21
20
|
._1a1d1osq >.ak-editor-content-area{height:100%}
|
|
22
21
|
._1b7c1kw7 .fabric-editor--full-width-mode td .extension-container.inline{max-width:inherit}
|
|
23
22
|
._1bsb1osq{width:100%}
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
._boivkb7n >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{flex-shrink:1}
|
|
58
57
|
._ca0qidpf{padding-top:0}
|
|
59
58
|
._ca0qoahv{padding-top:var(--ds-space-600,3pc)}
|
|
60
|
-
._ca0qxy5q{padding-top:var(--ds-space-400,2pc)}
|
|
61
59
|
._evz0idpf >.ak-editor-content-area{padding-bottom:0}
|
|
62
60
|
._fh67idpf >.ak-editor-content-area{padding-top:0}
|
|
63
61
|
._i92uagmp .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .fabric-editor-breakout-mark{transform:none!important}
|
|
@@ -44,8 +44,6 @@ var compiledStyles = {
|
|
|
44
44
|
hideEditorContentAreaScrollGutterWithAttributeStyle: "_amwgglyw",
|
|
45
45
|
hideEditorScrollGutterStyle: "_1e0cglyw",
|
|
46
46
|
fullWidthNonChromelessBreakoutBlockTableStyle: "_xpemaq80 _pnffaq80 _zr7faq80 _qkfz261p _i92uagmp",
|
|
47
|
-
contentAreaReservedPrimaryToolbarSpace: "_19pknm9q",
|
|
48
|
-
contentAreaReducedHeaderSpace: "_ca0qxy5q",
|
|
49
47
|
editorContentAreaNew: "_19pk1wug _2hwx1wug _otyr1wug _18u01wug _v5641fxv _vwz41tcg _ca0qoahv _n3tdoahv _4t3i1ap5 _1bsb1osq _2lx21bp4 _16jlkb7n _p12f5kin _1uizkqmb",
|
|
50
48
|
tableFullPageEditorStylesNew: "_1tb2idpf _8vye1n1a _1k8i1osq",
|
|
51
49
|
editorContentAreaContainerNestedDndStyle: "_tynl4diq",
|
|
@@ -129,7 +127,7 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
129
127
|
}
|
|
130
128
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
131
129
|
,
|
|
132
|
-
className: (0, _runtime.ax)([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew : compiledStyles.editorContentAreaContainerStyleNew, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && compiledStyles.editorContentAreaContainerNestedDndStyle,
|
|
130
|
+
className: (0, _runtime.ax)([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew : compiledStyles.editorContentAreaContainerStyleNew, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && compiledStyles.editorContentAreaContainerNestedDndStyle, "ak-editor-content-area-region"]),
|
|
133
131
|
"data-editor-editable-content": true,
|
|
134
132
|
role: "region",
|
|
135
133
|
"aria-label": props.intl.formatMessage(_messages.fullPageMessages.editableContentLabel),
|
|
@@ -99,19 +99,6 @@ var fullWidthNonChromelessBreakoutBlockTableStyle = (0, _react2.css)({
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
// An additional spacing applied at the top of the content area reserving space when the primary toolbar
|
|
103
|
-
// is hidden – this avoids layout shift when the toolbar is toggled under the editor controls feature
|
|
104
|
-
var contentAreaReservedPrimaryToolbarSpace = (0, _react2.css)({
|
|
105
|
-
// extra 1px to account for the bottom border on the toolbar
|
|
106
|
-
marginTop: "calc(".concat("var(--ds-space-500, 40px)", " + 1px)")
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
// A reduced top spacing applied to the content area to compensate for the reserved space at the top
|
|
110
|
-
// of the page when the primary toolbar is hidden under the editor controls feature
|
|
111
|
-
var contentAreaReducedHeaderSpace = (0, _react2.css)({
|
|
112
|
-
paddingTop: "var(--ds-space-400, 32px)"
|
|
113
|
-
});
|
|
114
|
-
|
|
115
102
|
// new styles
|
|
116
103
|
var editorContentAreaNew = (0, _react2.css)({
|
|
117
104
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
@@ -357,7 +344,7 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
357
344
|
// reports a non-WYSIWYG view.
|
|
358
345
|
shouldHideProseMirrorForMarkdownMode && hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && markdownModeContentAreaStyle, tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
|
|
359
346
|
// for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
|
|
360
|
-
(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle
|
|
347
|
+
(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle],
|
|
361
348
|
style: {
|
|
362
349
|
'--ak-editor-content-area-max-width': "".concat(contentAreaMaxWidth, "px")
|
|
363
350
|
}
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "221.16.
|
|
9
|
+
var version = exports.version = "221.16.3";
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
._19bvt9kd{padding-left:72px}
|
|
18
18
|
._19pk1wug{margin-top:auto}
|
|
19
19
|
._19pkidpf{margin-top:0}
|
|
20
|
-
._19pknm9q{margin-top:calc(var(--ds-space-500, 40px) + 1px)}
|
|
21
20
|
._1a1d1osq >.ak-editor-content-area{height:100%}
|
|
22
21
|
._1b7c1kw7 .fabric-editor--full-width-mode td .extension-container.inline{max-width:inherit}
|
|
23
22
|
._1bsb1osq{width:100%}
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
._boivkb7n >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{flex-shrink:1}
|
|
58
57
|
._ca0qidpf{padding-top:0}
|
|
59
58
|
._ca0qoahv{padding-top:var(--ds-space-600,3pc)}
|
|
60
|
-
._ca0qxy5q{padding-top:var(--ds-space-400,2pc)}
|
|
61
59
|
._evz0idpf >.ak-editor-content-area{padding-bottom:0}
|
|
62
60
|
._fh67idpf >.ak-editor-content-area{padding-top:0}
|
|
63
61
|
._i92uagmp .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .fabric-editor-breakout-mark{transform:none!important}
|
|
@@ -35,8 +35,6 @@ const compiledStyles = {
|
|
|
35
35
|
hideEditorContentAreaScrollGutterWithAttributeStyle: "_amwgglyw",
|
|
36
36
|
hideEditorScrollGutterStyle: "_1e0cglyw",
|
|
37
37
|
fullWidthNonChromelessBreakoutBlockTableStyle: "_xpemaq80 _pnffaq80 _zr7faq80 _qkfz261p _i92uagmp",
|
|
38
|
-
contentAreaReservedPrimaryToolbarSpace: "_19pknm9q",
|
|
39
|
-
contentAreaReducedHeaderSpace: "_ca0qxy5q",
|
|
40
38
|
editorContentAreaNew: "_19pk1wug _2hwx1wug _otyr1wug _18u01wug _v5641fxv _vwz41tcg _ca0qoahv _n3tdoahv _4t3i1ap5 _1bsb1osq _2lx21bp4 _16jlkb7n _p12f5kin _1uizkqmb",
|
|
41
39
|
tableFullPageEditorStylesNew: "_1tb2idpf _8vye1n1a _1k8i1osq",
|
|
42
40
|
editorContentAreaContainerNestedDndStyle: "_tynl4diq",
|
|
@@ -118,7 +116,7 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
118
116
|
}
|
|
119
117
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
120
118
|
,
|
|
121
|
-
className: ax([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew : compiledStyles.editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && compiledStyles.editorContentAreaContainerNestedDndStyle,
|
|
119
|
+
className: ax([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew : compiledStyles.editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && compiledStyles.editorContentAreaContainerNestedDndStyle, "ak-editor-content-area-region"]),
|
|
122
120
|
"data-editor-editable-content": true,
|
|
123
121
|
role: "region",
|
|
124
122
|
"aria-label": props.intl.formatMessage(messages.editableContentLabel),
|
|
@@ -90,19 +90,6 @@ const fullWidthNonChromelessBreakoutBlockTableStyle = css({
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
// An additional spacing applied at the top of the content area reserving space when the primary toolbar
|
|
94
|
-
// is hidden – this avoids layout shift when the toolbar is toggled under the editor controls feature
|
|
95
|
-
const contentAreaReservedPrimaryToolbarSpace = css({
|
|
96
|
-
// extra 1px to account for the bottom border on the toolbar
|
|
97
|
-
marginTop: `calc(${"var(--ds-space-500, 40px)"} + 1px)`
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
// A reduced top spacing applied to the content area to compensate for the reserved space at the top
|
|
101
|
-
// of the page when the primary toolbar is hidden under the editor controls feature
|
|
102
|
-
const contentAreaReducedHeaderSpace = css({
|
|
103
|
-
paddingTop: "var(--ds-space-400, 32px)"
|
|
104
|
-
});
|
|
105
|
-
|
|
106
93
|
// new styles
|
|
107
94
|
const editorContentAreaNew = css({
|
|
108
95
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
@@ -349,7 +336,7 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
349
336
|
// reports a non-WYSIWYG view.
|
|
350
337
|
shouldHideProseMirrorForMarkdownMode && hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && markdownModeContentAreaStyle, tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
|
|
351
338
|
// for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
|
|
352
|
-
expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle
|
|
339
|
+
expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle],
|
|
353
340
|
style: {
|
|
354
341
|
'--ak-editor-content-area-max-width': `${contentAreaMaxWidth}px`
|
|
355
342
|
}
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
._19bvt9kd{padding-left:72px}
|
|
18
18
|
._19pk1wug{margin-top:auto}
|
|
19
19
|
._19pkidpf{margin-top:0}
|
|
20
|
-
._19pknm9q{margin-top:calc(var(--ds-space-500, 40px) + 1px)}
|
|
21
20
|
._1a1d1osq >.ak-editor-content-area{height:100%}
|
|
22
21
|
._1b7c1kw7 .fabric-editor--full-width-mode td .extension-container.inline{max-width:inherit}
|
|
23
22
|
._1bsb1osq{width:100%}
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
._boivkb7n >.ak-editor-content-area>[data-testid=plugins-components-wrapper]{flex-shrink:1}
|
|
58
57
|
._ca0qidpf{padding-top:0}
|
|
59
58
|
._ca0qoahv{padding-top:var(--ds-space-600,3pc)}
|
|
60
|
-
._ca0qxy5q{padding-top:var(--ds-space-400,2pc)}
|
|
61
59
|
._evz0idpf >.ak-editor-content-area{padding-bottom:0}
|
|
62
60
|
._fh67idpf >.ak-editor-content-area{padding-top:0}
|
|
63
61
|
._i92uagmp .fabric-editor--full-width-mode:not(:has(#chromeless-editor)) .fabric-editor-breakout-mark{transform:none!important}
|
|
@@ -37,8 +37,6 @@ var compiledStyles = {
|
|
|
37
37
|
hideEditorContentAreaScrollGutterWithAttributeStyle: "_amwgglyw",
|
|
38
38
|
hideEditorScrollGutterStyle: "_1e0cglyw",
|
|
39
39
|
fullWidthNonChromelessBreakoutBlockTableStyle: "_xpemaq80 _pnffaq80 _zr7faq80 _qkfz261p _i92uagmp",
|
|
40
|
-
contentAreaReservedPrimaryToolbarSpace: "_19pknm9q",
|
|
41
|
-
contentAreaReducedHeaderSpace: "_ca0qxy5q",
|
|
42
40
|
editorContentAreaNew: "_19pk1wug _2hwx1wug _otyr1wug _18u01wug _v5641fxv _vwz41tcg _ca0qoahv _n3tdoahv _4t3i1ap5 _1bsb1osq _2lx21bp4 _16jlkb7n _p12f5kin _1uizkqmb",
|
|
43
41
|
tableFullPageEditorStylesNew: "_1tb2idpf _8vye1n1a _1k8i1osq",
|
|
44
42
|
editorContentAreaContainerNestedDndStyle: "_tynl4diq",
|
|
@@ -122,7 +120,7 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
122
120
|
}
|
|
123
121
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
124
122
|
,
|
|
125
|
-
className: ax([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew : compiledStyles.editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && compiledStyles.editorContentAreaContainerNestedDndStyle,
|
|
123
|
+
className: ax([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew : compiledStyles.editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && compiledStyles.editorContentAreaContainerNestedDndStyle, "ak-editor-content-area-region"]),
|
|
126
124
|
"data-editor-editable-content": true,
|
|
127
125
|
role: "region",
|
|
128
126
|
"aria-label": props.intl.formatMessage(messages.editableContentLabel),
|
|
@@ -89,19 +89,6 @@ var fullWidthNonChromelessBreakoutBlockTableStyle = css({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
// An additional spacing applied at the top of the content area reserving space when the primary toolbar
|
|
93
|
-
// is hidden – this avoids layout shift when the toolbar is toggled under the editor controls feature
|
|
94
|
-
var contentAreaReservedPrimaryToolbarSpace = css({
|
|
95
|
-
// extra 1px to account for the bottom border on the toolbar
|
|
96
|
-
marginTop: "calc(".concat("var(--ds-space-500, 40px)", " + 1px)")
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
// A reduced top spacing applied to the content area to compensate for the reserved space at the top
|
|
100
|
-
// of the page when the primary toolbar is hidden under the editor controls feature
|
|
101
|
-
var contentAreaReducedHeaderSpace = css({
|
|
102
|
-
paddingTop: "var(--ds-space-400, 32px)"
|
|
103
|
-
});
|
|
104
|
-
|
|
105
92
|
// new styles
|
|
106
93
|
var editorContentAreaNew = css({
|
|
107
94
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
@@ -347,7 +334,7 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
347
334
|
// reports a non-WYSIWYG view.
|
|
348
335
|
shouldHideProseMirrorForMarkdownMode && hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && markdownModeContentAreaStyle, tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
|
|
349
336
|
// for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
|
|
350
|
-
expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle
|
|
337
|
+
expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle],
|
|
351
338
|
style: {
|
|
352
339
|
'--ak-editor-content-area-max-width': "".concat(contentAreaMaxWidth, "px")
|
|
353
340
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "221.16.
|
|
3
|
+
"version": "221.16.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/editor-plugin-connectivity": "^12.0.0",
|
|
51
51
|
"@atlaskit/editor-plugin-quick-insert": "^12.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-user-preferences": "^10.0.0",
|
|
53
|
-
"@atlaskit/editor-plugins": "^14.
|
|
53
|
+
"@atlaskit/editor-plugins": "^14.2.0",
|
|
54
54
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
55
55
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
56
56
|
"@atlaskit/editor-ssr-renderer": "^7.1.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/emoji": "^71.15.0",
|
|
60
60
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
61
61
|
"@atlaskit/icon": "^37.2.0",
|
|
62
|
-
"@atlaskit/link": "^
|
|
62
|
+
"@atlaskit/link": "^5.0.0",
|
|
63
63
|
"@atlaskit/media-card": "^81.4.0",
|
|
64
64
|
"@atlaskit/mention": "^27.12.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@atlaskit/task-decision": "^21.8.0",
|
|
70
70
|
"@atlaskit/tmp-editor-statsig": "^135.6.0",
|
|
71
71
|
"@atlaskit/tokens": "^16.3.0",
|
|
72
|
-
"@atlaskit/tooltip": "^
|
|
72
|
+
"@atlaskit/tooltip": "^24.0.0",
|
|
73
73
|
"@atlaskit/width-detector": "^6.2.0",
|
|
74
74
|
"@babel/runtime": "^7.0.0",
|
|
75
75
|
"@compiled/react": "^1.0.0",
|
|
@@ -257,10 +257,6 @@
|
|
|
257
257
|
"platform_editor_nested_dnd_styles_changes": {
|
|
258
258
|
"type": "boolean"
|
|
259
259
|
},
|
|
260
|
-
"platform_editor_controls_no_toolbar_space": {
|
|
261
|
-
"type": "boolean",
|
|
262
|
-
"referenceOnly": true
|
|
263
|
-
},
|
|
264
260
|
"platform_editor_quick_insert_placeholder": {
|
|
265
261
|
"type": "boolean"
|
|
266
262
|
},
|