@atlaskit/editor-core 215.13.0 → 215.13.1
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 +3 -4
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +3 -3
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +3 -4
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +4 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.13.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4cab7924c4af0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4cab7924c4af0) -
|
|
8
|
+
[ux] Clean up editor_inline_comments_paste_insert_nodes
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 215.13.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -265,10 +265,9 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
265
265
|
// for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
|
|
266
266
|
(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_width_changes') ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle, !(0, _platformFeatureFlags.fg)('platform_editor_controls_no_toolbar_space') && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && contentAreaReducedHeaderSpace, !(0, _platformFeatureFlags.fg)('platform_editor_controls_no_toolbar_space') && props.isEditorToolbarHidden && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && contentAreaReservedPrimaryToolbarSpace],
|
|
267
267
|
style: {
|
|
268
|
-
'--ak-editor-content-area-max-width': !fullWidthMode ? Boolean(maxWidthMode) && (0, _expValEquals.expValEquals)('editor_tinymce_full_width_mode', 'isEnabled', true)
|
|
269
|
-
// @ts-ignore
|
|
270
|
-
|
|
271
|
-
: "".concat(theme.layoutMaxWidth + getTotalPadding(), "px") : "".concat(akEditorFullWidthLayoutWidth + getTotalPadding(), "px")
|
|
268
|
+
'--ak-editor-content-area-max-width': !fullWidthMode ? Boolean(maxWidthMode) && (0, _expValEquals.expValEquals)('editor_tinymce_full_width_mode', 'isEnabled', true) ? // @ts-ignore
|
|
269
|
+
"".concat(akEditorUltraWideLayoutWidth + getTotalPadding(), "px") : // @ts-ignore
|
|
270
|
+
"".concat(theme.layoutMaxWidth + getTotalPadding(), "px") : "".concat(akEditorFullWidthLayoutWidth + getTotalPadding(), "px")
|
|
272
271
|
}
|
|
273
272
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
274
273
|
,
|
|
@@ -431,9 +431,9 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
431
431
|
_mentions.mentionsSelectionStyles,
|
|
432
432
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
433
433
|
(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ?
|
|
434
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
434
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
435
435
|
_emoji.scaledEmojiStyles :
|
|
436
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
436
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
437
437
|
_emoji.emojiStyles,
|
|
438
438
|
// Dense emoji scaling based on base font size
|
|
439
439
|
(0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ?
|
|
@@ -257,11 +257,11 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
257
257
|
// for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
|
|
258
258
|
expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_width_changes') ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle, !fg('platform_editor_controls_no_toolbar_space') && editorExperiment('platform_editor_controls', 'variant1') && contentAreaReducedHeaderSpace, !fg('platform_editor_controls_no_toolbar_space') && props.isEditorToolbarHidden && editorExperiment('platform_editor_controls', 'variant1') && contentAreaReservedPrimaryToolbarSpace],
|
|
259
259
|
style: {
|
|
260
|
-
'--ak-editor-content-area-max-width': !fullWidthMode ? Boolean(maxWidthMode) && expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true)
|
|
260
|
+
'--ak-editor-content-area-max-width': !fullWidthMode ? Boolean(maxWidthMode) && expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) ?
|
|
261
261
|
// @ts-ignore
|
|
262
|
-
|
|
262
|
+
`${akEditorUltraWideLayoutWidth + getTotalPadding()}px` :
|
|
263
263
|
// @ts-ignore
|
|
264
|
-
|
|
264
|
+
`${theme.layoutMaxWidth + getTotalPadding()}px` : `${akEditorFullWidthLayoutWidth + getTotalPadding()}px`
|
|
265
265
|
}
|
|
266
266
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
267
267
|
,
|
|
@@ -427,9 +427,9 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
427
427
|
mentionsSelectionStyles,
|
|
428
428
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
429
429
|
expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ?
|
|
430
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
430
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
431
431
|
scaledEmojiStyles :
|
|
432
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
432
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
433
433
|
emojiStyles,
|
|
434
434
|
// Dense emoji scaling based on base font size
|
|
435
435
|
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ?
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "215.
|
|
2
|
+
export const version = "215.13.0";
|
|
@@ -255,10 +255,9 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
255
255
|
// for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
|
|
256
256
|
expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_width_changes') ? editorContentAreaContainerStyleExcludeCodeBlockNew : editorContentAreaContainerStyleNew, fg('platform_editor_nested_dnd_styles_changes') && editorContentAreaContainerNestedDndStyle, !fg('platform_editor_controls_no_toolbar_space') && editorExperiment('platform_editor_controls', 'variant1') && contentAreaReducedHeaderSpace, !fg('platform_editor_controls_no_toolbar_space') && props.isEditorToolbarHidden && editorExperiment('platform_editor_controls', 'variant1') && contentAreaReservedPrimaryToolbarSpace],
|
|
257
257
|
style: {
|
|
258
|
-
'--ak-editor-content-area-max-width': !fullWidthMode ? Boolean(maxWidthMode) && expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true)
|
|
259
|
-
// @ts-ignore
|
|
260
|
-
|
|
261
|
-
: "".concat(theme.layoutMaxWidth + getTotalPadding(), "px") : "".concat(akEditorFullWidthLayoutWidth + getTotalPadding(), "px")
|
|
258
|
+
'--ak-editor-content-area-max-width': !fullWidthMode ? Boolean(maxWidthMode) && expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) ? // @ts-ignore
|
|
259
|
+
"".concat(akEditorUltraWideLayoutWidth + getTotalPadding(), "px") : // @ts-ignore
|
|
260
|
+
"".concat(theme.layoutMaxWidth + getTotalPadding(), "px") : "".concat(akEditorFullWidthLayoutWidth + getTotalPadding(), "px")
|
|
262
261
|
}
|
|
263
262
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
264
263
|
,
|
|
@@ -423,9 +423,9 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
423
423
|
mentionsSelectionStyles,
|
|
424
424
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
425
425
|
expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ?
|
|
426
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
426
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
427
427
|
scaledEmojiStyles :
|
|
428
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
428
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
429
429
|
emojiStyles,
|
|
430
430
|
// Dense emoji scaling based on base font size
|
|
431
431
|
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ?
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "215.
|
|
2
|
+
export var version = "215.13.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.13.
|
|
3
|
+
"version": "215.13.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.14.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^13.38.0",
|
|
68
68
|
"@atlaskit/tokens": "^8.0.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.8.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"uuid": "^3.1.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@atlaskit/editor-common": "^110.
|
|
84
|
+
"@atlaskit/editor-common": "^110.29.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.7.0",
|
|
107
107
|
"@atlaskit/primitives": "^16.1.0",
|
|
108
108
|
"@atlaskit/renderer": "^124.13.0",
|
|
109
109
|
"@atlaskit/section-message": "^8.9.0",
|
|
@@ -165,10 +165,6 @@
|
|
|
165
165
|
"type": "boolean",
|
|
166
166
|
"referenceOnly": "true"
|
|
167
167
|
},
|
|
168
|
-
"editor_inline_comments_paste_insert_nodes": {
|
|
169
|
-
"type": "boolean",
|
|
170
|
-
"referenceOnly": "true"
|
|
171
|
-
},
|
|
172
168
|
"editor_a11y_announce_status_editor_open": {
|
|
173
169
|
"type": "boolean",
|
|
174
170
|
"referenceOnly": true
|