@atlaskit/editor-core 217.5.7 → 217.5.8
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/composable-editor/editor-internal.js +2 -2
- package/dist/cjs/ui/Appearance/Chromeless.js +1 -1
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/cjs/ui/ContextPanel/index.js +1 -1
- package/dist/cjs/ui/Toolbar/Toolbar.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +2 -2
- package/dist/es2019/ui/Appearance/Chromeless.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/es2019/ui/ContextPanel/index.js +1 -1
- package/dist/es2019/ui/Toolbar/Toolbar.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +2 -2
- package/dist/esm/ui/Appearance/Chromeless.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/esm/ui/ContextPanel/index.js +1 -1
- package/dist/esm/ui/Toolbar/Toolbar.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 217.5.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`23ec129dbbb34`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23ec129dbbb34) -
|
|
8
|
+
[FFCLEANUP-74122] clean up feature flag platform_editor_blocktaskitem_patch_3
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 217.5.7
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -72,7 +72,7 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
72
72
|
action: _analytics.ACTION.RE_RENDERED,
|
|
73
73
|
actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
|
|
74
74
|
handleAnalyticsEvent: handleAnalyticsEvent
|
|
75
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
75
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
76
76
|
,
|
|
77
77
|
propsToIgnore: ['defaultValue'],
|
|
78
78
|
useShallow: useShallow
|
|
@@ -102,7 +102,7 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
102
102
|
onEditorDestroyed: onEditorDestroyed,
|
|
103
103
|
disabled: props.disabled,
|
|
104
104
|
preset: preset
|
|
105
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
105
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
106
106
|
,
|
|
107
107
|
render: function render(_ref2) {
|
|
108
108
|
var _props$featureFlags, _props$featureFlags2;
|
|
@@ -119,7 +119,7 @@ var Editor = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
119
119
|
}, (0, _react2.jsx)(ChromelessEditorContainer, {
|
|
120
120
|
maxHeight: maxHeight,
|
|
121
121
|
minHeight: minHeight
|
|
122
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
122
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
123
123
|
,
|
|
124
124
|
containerRef: function containerRef(ref) {
|
|
125
125
|
return _this.containerElement = ref;
|
|
@@ -265,7 +265,7 @@ var CommentEditorWithIntl = exports.CommentEditorWithIntl = function CommentEdit
|
|
|
265
265
|
var width = _ref.width;
|
|
266
266
|
return (0, _react2.jsx)(_EditorContentContainer.default, {
|
|
267
267
|
ref: containerElement
|
|
268
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
268
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
269
269
|
,
|
|
270
270
|
css: [maxHeight ?
|
|
271
271
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -94,7 +94,7 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
94
94
|
in: !!pluginContent,
|
|
95
95
|
mountOnEnter: true,
|
|
96
96
|
unmountOnExit: true
|
|
97
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
97
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
98
98
|
,
|
|
99
99
|
onExited: function onExited() {
|
|
100
100
|
return _this.unsetPluginContent();
|
|
@@ -81,7 +81,7 @@ var ToolbarNext = exports.ToolbarNext = function ToolbarNext(_ref) {
|
|
|
81
81
|
popupsMountPoint: popupsMountPoint,
|
|
82
82
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
83
83
|
popupsScrollableElement: popupsScrollableElement
|
|
84
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
84
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
85
85
|
,
|
|
86
86
|
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
87
87
|
var _editorAPI$analytics;
|
|
@@ -90,7 +90,7 @@ var ToolbarNext = exports.ToolbarNext = function ToolbarNext(_ref) {
|
|
|
90
90
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbarModel.ToolbarModelRenderer, {
|
|
91
91
|
toolbar: toolbar,
|
|
92
92
|
components: components
|
|
93
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
93
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
94
94
|
,
|
|
95
95
|
fallbacks: {
|
|
96
96
|
group: _editorToolbar.ToolbarButtonGroup,
|
|
@@ -60,7 +60,7 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
60
60
|
action: ACTION.RE_RENDERED,
|
|
61
61
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
62
62
|
handleAnalyticsEvent: handleAnalyticsEvent
|
|
63
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
63
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
64
64
|
,
|
|
65
65
|
propsToIgnore: ['defaultValue'],
|
|
66
66
|
useShallow: useShallow
|
|
@@ -90,7 +90,7 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
90
90
|
onEditorDestroyed: onEditorDestroyed,
|
|
91
91
|
disabled: props.disabled,
|
|
92
92
|
preset: preset
|
|
93
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
93
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
94
94
|
,
|
|
95
95
|
render: ({
|
|
96
96
|
editor,
|
|
@@ -101,7 +101,7 @@ export default class Editor extends React.Component {
|
|
|
101
101
|
}, jsx(ChromelessEditorContainer, {
|
|
102
102
|
maxHeight: maxHeight,
|
|
103
103
|
minHeight: minHeight
|
|
104
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
104
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
105
105
|
,
|
|
106
106
|
containerRef: ref => this.containerElement = ref
|
|
107
107
|
}, jsx(EditorContentContainer
|
|
@@ -254,7 +254,7 @@ export const CommentEditorWithIntl = props => {
|
|
|
254
254
|
}) => {
|
|
255
255
|
return jsx(EditorContentContainer, {
|
|
256
256
|
ref: containerElement
|
|
257
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
257
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
258
258
|
,
|
|
259
259
|
css: [maxHeight ?
|
|
260
260
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -81,7 +81,7 @@ class SwappableContentAreaInner extends React.PureComponent {
|
|
|
81
81
|
in: !!pluginContent,
|
|
82
82
|
mountOnEnter: true,
|
|
83
83
|
unmountOnExit: true
|
|
84
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
84
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
85
85
|
,
|
|
86
86
|
onExited: () => this.unsetPluginContent()
|
|
87
87
|
}, currentPluginContent);
|
|
@@ -77,7 +77,7 @@ export const ToolbarNext = ({
|
|
|
77
77
|
popupsMountPoint: popupsMountPoint,
|
|
78
78
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
79
79
|
popupsScrollableElement: popupsScrollableElement
|
|
80
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
80
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
81
81
|
,
|
|
82
82
|
fireAnalyticsEvent: payload => {
|
|
83
83
|
var _editorAPI$analytics;
|
|
@@ -86,7 +86,7 @@ export const ToolbarNext = ({
|
|
|
86
86
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
87
87
|
toolbar: toolbar,
|
|
88
88
|
components: components
|
|
89
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
89
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
90
90
|
,
|
|
91
91
|
fallbacks: {
|
|
92
92
|
group: ToolbarButtonGroup,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -68,7 +68,7 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
68
68
|
action: ACTION.RE_RENDERED,
|
|
69
69
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
70
70
|
handleAnalyticsEvent: handleAnalyticsEvent
|
|
71
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
71
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
72
72
|
,
|
|
73
73
|
propsToIgnore: ['defaultValue'],
|
|
74
74
|
useShallow: useShallow
|
|
@@ -98,7 +98,7 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
98
98
|
onEditorDestroyed: onEditorDestroyed,
|
|
99
99
|
disabled: props.disabled,
|
|
100
100
|
preset: preset
|
|
101
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
101
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
102
102
|
,
|
|
103
103
|
render: function render(_ref2) {
|
|
104
104
|
var _props$featureFlags, _props$featureFlags2;
|
|
@@ -112,7 +112,7 @@ var Editor = /*#__PURE__*/function (_React$Component) {
|
|
|
112
112
|
}, jsx(ChromelessEditorContainer, {
|
|
113
113
|
maxHeight: maxHeight,
|
|
114
114
|
minHeight: minHeight
|
|
115
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
115
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
116
116
|
,
|
|
117
117
|
containerRef: function containerRef(ref) {
|
|
118
118
|
return _this.containerElement = ref;
|
|
@@ -254,7 +254,7 @@ export var CommentEditorWithIntl = function CommentEditorWithIntl(props) {
|
|
|
254
254
|
var width = _ref.width;
|
|
255
255
|
return jsx(EditorContentContainer, {
|
|
256
256
|
ref: containerElement
|
|
257
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
257
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
258
258
|
,
|
|
259
259
|
css: [maxHeight ?
|
|
260
260
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -89,7 +89,7 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
89
89
|
in: !!pluginContent,
|
|
90
90
|
mountOnEnter: true,
|
|
91
91
|
unmountOnExit: true
|
|
92
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
92
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
93
93
|
,
|
|
94
94
|
onExited: function onExited() {
|
|
95
95
|
return _this.unsetPluginContent();
|
|
@@ -75,7 +75,7 @@ export var ToolbarNext = function ToolbarNext(_ref) {
|
|
|
75
75
|
popupsMountPoint: popupsMountPoint,
|
|
76
76
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
77
77
|
popupsScrollableElement: popupsScrollableElement
|
|
78
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
78
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
79
79
|
,
|
|
80
80
|
fireAnalyticsEvent: function fireAnalyticsEvent(payload) {
|
|
81
81
|
var _editorAPI$analytics;
|
|
@@ -84,7 +84,7 @@ export var ToolbarNext = function ToolbarNext(_ref) {
|
|
|
84
84
|
}, /*#__PURE__*/React.createElement(ToolbarModelRenderer, {
|
|
85
85
|
toolbar: toolbar,
|
|
86
86
|
components: components
|
|
87
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
87
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
88
88
|
,
|
|
89
89
|
fallbacks: {
|
|
90
90
|
group: ToolbarButtonGroup,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "217.5.
|
|
3
|
+
"version": "217.5.8",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"@atlaskit/mention": "^24.6.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
|
-
"@atlaskit/react-ufo": "^5.
|
|
67
|
+
"@atlaskit/react-ufo": "^5.5.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.3.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^44.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^44.3.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^21.0.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -282,10 +282,6 @@
|
|
|
282
282
|
"platform_editor_find_codeblock_color_contrast_fix": {
|
|
283
283
|
"type": "boolean"
|
|
284
284
|
},
|
|
285
|
-
"platform_editor_blocktaskitem_patch_3": {
|
|
286
|
-
"type": "boolean",
|
|
287
|
-
"referenceOnly": true
|
|
288
|
-
},
|
|
289
285
|
"platform_editor_toolbar_aifc_placement_overridden": {
|
|
290
286
|
"type": "boolean"
|
|
291
287
|
},
|