@atlaskit/editor-core 205.10.0 → 206.0.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 206.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#150109](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/150109)
8
+ [`15c263bb5c421`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/15c263bb5c421) -
9
+ Clean-up feature gate platform_editor_lcm_toolbar_portals
10
+ - Updated dependencies
11
+
12
+ ## 206.0.0
13
+
14
+ ### Patch Changes
15
+
16
+ - [#148725](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148725)
17
+ [`1bc7ac4bd7eff`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1bc7ac4bd7eff) -
18
+ [ux] [ED-27491] Make main content area focus-able and remove autofocus behaviour from editor-core
19
+ - Updated dependencies
20
+
3
21
  ## 205.10.0
4
22
 
5
23
  ### Minor Changes
@@ -46,14 +46,6 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
46
46
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
47
47
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
48
48
  var EDIT_AREA_ID = 'ak-editor-textarea';
49
- var focusElementOutsideEditor = function focusElementOutsideEditor() {
50
- // TODO: ED-26841 - This is an awful way of selecting this, would love a
51
- // better way be that a ref or even an id or data attibute.
52
- var aiButton = document.querySelector('[data-testid="platform-ai-button"]');
53
- if (aiButton && aiButton instanceof HTMLElement) {
54
- aiButton.focus();
55
- }
56
- };
57
49
  function ReactEditorView(props) {
58
50
  var _pluginInjectionAPI$c, _media, _linking, _document$querySelect, _props$render, _props$render2;
59
51
  var preset = props.preset,
@@ -486,17 +478,13 @@ function ReactEditorView(props) {
486
478
  if ((0, _platformFeatureFlags.fg)('platform_editor_reduce_scroll_jump_on_editor_start')) {
487
479
  if (!mitigateScrollJump) {
488
480
  var liveDocWithContent = __livePage && !(0, _document.isEmptyDocument)(editorView.state.doc);
489
- if (liveDocWithContent && (0, _platformFeatureFlags.fg)('platform_editor_no_cursor_on_live_doc_init')) {
490
- focusElementOutsideEditor();
491
- } else {
481
+ if (!liveDocWithContent || !(0, _platformFeatureFlags.fg)('platform_editor_no_cursor_on_live_doc_init')) {
492
482
  focusTimeoutId.current = (0, _handleEditorFocus.handleEditorFocus)(editorView);
493
483
  }
494
484
  }
495
485
  } else {
496
486
  var _liveDocWithContent = __livePage && !(0, _document.isEmptyDocument)(editorView.state.doc);
497
- if (_liveDocWithContent && (0, _platformFeatureFlags.fg)('platform_editor_no_cursor_on_live_doc_init')) {
498
- focusElementOutsideEditor();
499
- } else {
487
+ if (!_liveDocWithContent || !(0, _platformFeatureFlags.fg)('platform_editor_no_cursor_on_live_doc_init')) {
500
488
  focusTimeoutId.current = (0, _handleEditorFocus.handleEditorFocus)(editorView);
501
489
  }
502
490
  }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /* prettier-ignore */
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //Croatian (Croatia) [hr-HR]
15
+ var _default = exports.default = {
16
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Upiši nešto...',
17
+ 'fabric.editor.editorAssistiveLabel': 'Glavno područje sadržaja, počni tipkati za unos teksta.',
18
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Otvori dijaloški okvir pomoći'
19
+ };
@@ -14,5 +14,6 @@ exports.default = void 0;
14
14
  //Slovak
15
15
  var _default = exports.default = {
16
16
  'fabric.editor.chromeCollapsedPlaceholder': 'None',
17
+ 'fabric.editor.editorAssistiveLabel': 'Hlavná oblasť obsahu, sem začnite zadávať text.',
17
18
  'fabric.editor.headingLink.toolbarHelpTitle': 'None'
18
19
  };
@@ -13,7 +13,6 @@ var _reactIntlNext = require("react-intl-next");
13
13
  var _messages = require("@atlaskit/editor-common/messages");
14
14
  var _ui = require("@atlaskit/editor-common/ui");
15
15
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
16
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
18
17
  var _ToolbarPortal = require("../../Toolbar/ToolbarPortal");
19
18
  var _ToolbarWithSizeDetector = require("../../Toolbar/ToolbarWithSizeDetector");
@@ -46,7 +45,7 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
46
45
  },
47
46
  ToolbarPortal = _ref.Portal;
48
47
  var hasToolbarPortal = ToolbarPortal !== _react.default.Fragment;
49
- var popupsMountPoint = hasToolbarPortal && (0, _platformFeatureFlags.fg)('platform_editor_lcm_toolbar_portals') ? undefined : props.popupsMountPoint;
48
+ var popupsMountPoint = hasToolbarPortal ? undefined : props.popupsMountPoint;
50
49
  var nonCustomToolbar =
51
50
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
52
51
  (0, _react2.jsx)("div", {
@@ -120,7 +119,7 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
120
119
  isShortcutToFocusToolbar: isShortcutToFocusToolbar,
121
120
  handleEscape: handleEscape,
122
121
  intl: props.intl
123
- }, (0, _platformFeatureFlags.fg)('platform_editor_lcm_toolbar_portals') ? (0, _react2.jsx)(ToolbarPortal, null, (0, _react2.jsx)("div", {
122
+ }, (0, _react2.jsx)(ToolbarPortal, null, (0, _react2.jsx)("div", {
124
123
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
125
124
  css: (0, _MainToolbar.mainToolbarStyle)(props.showKeyline || contextPanelWidth > 0, twoLineEditorToolbar),
126
125
  "data-testid": "ak-editor-main-toolbar"
@@ -135,22 +134,7 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
135
134
  "data-testid": "avatar-group-outside-plugin",
136
135
  role: "region",
137
136
  "aria-label": props.intl.formatMessage(_messages.fullPageMessages.pageActionsLabel)
138
- }, shouldSplitToolbar ? nonCustomToolbar : customToolbar), (0, _react2.jsx)(_ToolbarPortal.ToolbarPortalMountPoint, null))) : (0, _react2.jsx)("div", {
139
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
140
- css: (0, _MainToolbar.mainToolbarStyle)(props.showKeyline || contextPanelWidth > 0, twoLineEditorToolbar),
141
- "data-testid": "ak-editor-main-toolbar"
142
- }, (0, _react2.jsx)("div", {
143
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
144
- css: (0, _MainToolbar.mainToolbarFirstChildStyle)(twoLineEditorToolbar),
145
- role: "toolbar",
146
- "aria-label": props.intl.formatMessage(_messages.fullPageMessages.toolbarLabel)
147
- }, shouldSplitToolbar ? customToolbar : nonCustomToolbar), (0, _react2.jsx)("div", {
148
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
149
- css: (0, _MainToolbar.mainToolbarSecondChildStyle)(twoLineEditorToolbar),
150
- "data-testid": "avatar-group-outside-plugin",
151
- role: "region",
152
- "aria-label": props.intl.formatMessage(_messages.fullPageMessages.pageActionsLabel)
153
- }, shouldSplitToolbar ? nonCustomToolbar : customToolbar)));
137
+ }, shouldSplitToolbar ? nonCustomToolbar : customToolbar), (0, _react2.jsx)(_ToolbarPortal.ToolbarPortalMountPoint, null))));
154
138
  });
155
139
  });
156
140
  var FullPageToolbar = exports.FullPageToolbar = (0, _reactIntlNext.injectIntl)(EditorToolbar);
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "205.10.0";
8
+ var version = exports.version = "206.0.1";
@@ -31,14 +31,6 @@ import { handleEditorFocus } from './ReactEditorView/handleEditorFocus';
31
31
  import { useDispatchTransaction } from './ReactEditorView/useDispatchTransaction';
32
32
  import { useFireFullWidthEvent } from './ReactEditorView/useFireFullWidthEvent';
33
33
  const EDIT_AREA_ID = 'ak-editor-textarea';
34
- const focusElementOutsideEditor = () => {
35
- // TODO: ED-26841 - This is an awful way of selecting this, would love a
36
- // better way be that a ref or even an id or data attibute.
37
- const aiButton = document.querySelector('[data-testid="platform-ai-button"]');
38
- if (aiButton && aiButton instanceof HTMLElement) {
39
- aiButton.focus();
40
- }
41
- };
42
34
  export function ReactEditorView(props) {
43
35
  var _pluginInjectionAPI$c, _pluginInjectionAPI$c2, _pluginInjectionAPI$c3, _media, _linking, _linking$smartLinks, _document$querySelect, _props$render, _props$render2;
44
36
  const {
@@ -456,17 +448,13 @@ export function ReactEditorView(props) {
456
448
  if (fg('platform_editor_reduce_scroll_jump_on_editor_start')) {
457
449
  if (!mitigateScrollJump) {
458
450
  const liveDocWithContent = __livePage && !isEmptyDocument(editorView.state.doc);
459
- if (liveDocWithContent && fg('platform_editor_no_cursor_on_live_doc_init')) {
460
- focusElementOutsideEditor();
461
- } else {
451
+ if (!liveDocWithContent || !fg('platform_editor_no_cursor_on_live_doc_init')) {
462
452
  focusTimeoutId.current = handleEditorFocus(editorView);
463
453
  }
464
454
  }
465
455
  } else {
466
456
  const liveDocWithContent = __livePage && !isEmptyDocument(editorView.state.doc);
467
- if (liveDocWithContent && fg('platform_editor_no_cursor_on_live_doc_init')) {
468
- focusElementOutsideEditor();
469
- } else {
457
+ if (!liveDocWithContent || !fg('platform_editor_no_cursor_on_live_doc_init')) {
470
458
  focusTimeoutId.current = handleEditorFocus(editorView);
471
459
  }
472
460
  }
@@ -0,0 +1,13 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Croatian (Croatia) [hr-HR]
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Upiši nešto...',
11
+ 'fabric.editor.editorAssistiveLabel': 'Glavno područje sadržaja, počni tipkati za unos teksta.',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Otvori dijaloški okvir pomoći'
13
+ };
@@ -8,5 +8,6 @@
8
8
  //Slovak
9
9
  export default {
10
10
  'fabric.editor.chromeCollapsedPlaceholder': 'None',
11
+ 'fabric.editor.editorAssistiveLabel': 'Hlavná oblasť obsahu, sem začnite zadávať text.',
11
12
  'fabric.editor.headingLink.toolbarHelpTitle': 'None'
12
13
  };
@@ -11,7 +11,6 @@ import { injectIntl } from 'react-intl-next';
11
11
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
12
12
  import { ContextPanelConsumer } from '@atlaskit/editor-common/ui';
13
13
  import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
14
- import { fg } from '@atlaskit/platform-feature-flags';
15
14
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
16
15
  import { ToolbarPortalMountPoint, useToolbarPortal } from '../../Toolbar/ToolbarPortal';
17
16
  import { ToolbarWithSizeDetector as Toolbar } from '../../Toolbar/ToolbarWithSizeDetector';
@@ -35,7 +34,7 @@ export const EditorToolbar = /*#__PURE__*/React.memo(props => {
35
34
  Portal: React.Fragment
36
35
  };
37
36
  const hasToolbarPortal = ToolbarPortal !== React.Fragment;
38
- const popupsMountPoint = hasToolbarPortal && fg('platform_editor_lcm_toolbar_portals') ? undefined : props.popupsMountPoint;
37
+ const popupsMountPoint = hasToolbarPortal ? undefined : props.popupsMountPoint;
39
38
  const nonCustomToolbar =
40
39
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
41
40
  jsx("div", {
@@ -107,7 +106,7 @@ export const EditorToolbar = /*#__PURE__*/React.memo(props => {
107
106
  isShortcutToFocusToolbar: isShortcutToFocusToolbar,
108
107
  handleEscape: handleEscape,
109
108
  intl: props.intl
110
- }, fg('platform_editor_lcm_toolbar_portals') ? jsx(ToolbarPortal, null, jsx("div", {
109
+ }, jsx(ToolbarPortal, null, jsx("div", {
111
110
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
112
111
  css: mainToolbarStyle(props.showKeyline || contextPanelWidth > 0, twoLineEditorToolbar),
113
112
  "data-testid": "ak-editor-main-toolbar"
@@ -122,21 +121,6 @@ export const EditorToolbar = /*#__PURE__*/React.memo(props => {
122
121
  "data-testid": "avatar-group-outside-plugin",
123
122
  role: "region",
124
123
  "aria-label": props.intl.formatMessage(messages.pageActionsLabel)
125
- }, shouldSplitToolbar ? nonCustomToolbar : customToolbar), jsx(ToolbarPortalMountPoint, null))) : jsx("div", {
126
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
127
- css: mainToolbarStyle(props.showKeyline || contextPanelWidth > 0, twoLineEditorToolbar),
128
- "data-testid": "ak-editor-main-toolbar"
129
- }, jsx("div", {
130
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
131
- css: mainToolbarFirstChildStyle(twoLineEditorToolbar),
132
- role: "toolbar",
133
- "aria-label": props.intl.formatMessage(messages.toolbarLabel)
134
- }, shouldSplitToolbar ? customToolbar : nonCustomToolbar), jsx("div", {
135
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
136
- css: mainToolbarSecondChildStyle(twoLineEditorToolbar),
137
- "data-testid": "avatar-group-outside-plugin",
138
- role: "region",
139
- "aria-label": props.intl.formatMessage(messages.pageActionsLabel)
140
- }, shouldSplitToolbar ? nonCustomToolbar : customToolbar))));
124
+ }, shouldSplitToolbar ? nonCustomToolbar : customToolbar), jsx(ToolbarPortalMountPoint, null)))));
141
125
  });
142
126
  export const FullPageToolbar = injectIntl(EditorToolbar);
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "205.10.0";
2
+ export const version = "206.0.1";
@@ -35,14 +35,6 @@ import { handleEditorFocus } from './ReactEditorView/handleEditorFocus';
35
35
  import { useDispatchTransaction } from './ReactEditorView/useDispatchTransaction';
36
36
  import { useFireFullWidthEvent } from './ReactEditorView/useFireFullWidthEvent';
37
37
  var EDIT_AREA_ID = 'ak-editor-textarea';
38
- var focusElementOutsideEditor = function focusElementOutsideEditor() {
39
- // TODO: ED-26841 - This is an awful way of selecting this, would love a
40
- // better way be that a ref or even an id or data attibute.
41
- var aiButton = document.querySelector('[data-testid="platform-ai-button"]');
42
- if (aiButton && aiButton instanceof HTMLElement) {
43
- aiButton.focus();
44
- }
45
- };
46
38
  export function ReactEditorView(props) {
47
39
  var _pluginInjectionAPI$c, _media, _linking, _document$querySelect, _props$render, _props$render2;
48
40
  var preset = props.preset,
@@ -475,17 +467,13 @@ export function ReactEditorView(props) {
475
467
  if (fg('platform_editor_reduce_scroll_jump_on_editor_start')) {
476
468
  if (!mitigateScrollJump) {
477
469
  var liveDocWithContent = __livePage && !isEmptyDocument(editorView.state.doc);
478
- if (liveDocWithContent && fg('platform_editor_no_cursor_on_live_doc_init')) {
479
- focusElementOutsideEditor();
480
- } else {
470
+ if (!liveDocWithContent || !fg('platform_editor_no_cursor_on_live_doc_init')) {
481
471
  focusTimeoutId.current = handleEditorFocus(editorView);
482
472
  }
483
473
  }
484
474
  } else {
485
475
  var _liveDocWithContent = __livePage && !isEmptyDocument(editorView.state.doc);
486
- if (_liveDocWithContent && fg('platform_editor_no_cursor_on_live_doc_init')) {
487
- focusElementOutsideEditor();
488
- } else {
476
+ if (!_liveDocWithContent || !fg('platform_editor_no_cursor_on_live_doc_init')) {
489
477
  focusTimeoutId.current = handleEditorFocus(editorView);
490
478
  }
491
479
  }
@@ -0,0 +1,13 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Croatian (Croatia) [hr-HR]
9
+ export default {
10
+ 'fabric.editor.chromeCollapsedPlaceholder': 'Upiši nešto...',
11
+ 'fabric.editor.editorAssistiveLabel': 'Glavno područje sadržaja, počni tipkati za unos teksta.',
12
+ 'fabric.editor.headingLink.toolbarHelpTitle': 'Otvori dijaloški okvir pomoći'
13
+ };
@@ -8,5 +8,6 @@
8
8
  //Slovak
9
9
  export default {
10
10
  'fabric.editor.chromeCollapsedPlaceholder': 'None',
11
+ 'fabric.editor.editorAssistiveLabel': 'Hlavná oblasť obsahu, sem začnite zadávať text.',
11
12
  'fabric.editor.headingLink.toolbarHelpTitle': 'None'
12
13
  };
@@ -12,7 +12,6 @@ import { injectIntl } from 'react-intl-next';
12
12
  import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
13
13
  import { ContextPanelConsumer } from '@atlaskit/editor-common/ui';
14
14
  import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
15
- import { fg } from '@atlaskit/platform-feature-flags';
16
15
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
17
16
  import { ToolbarPortalMountPoint, useToolbarPortal } from '../../Toolbar/ToolbarPortal';
18
17
  import { ToolbarWithSizeDetector as Toolbar } from '../../Toolbar/ToolbarWithSizeDetector';
@@ -36,7 +35,7 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
36
35
  },
37
36
  ToolbarPortal = _ref.Portal;
38
37
  var hasToolbarPortal = ToolbarPortal !== React.Fragment;
39
- var popupsMountPoint = hasToolbarPortal && fg('platform_editor_lcm_toolbar_portals') ? undefined : props.popupsMountPoint;
38
+ var popupsMountPoint = hasToolbarPortal ? undefined : props.popupsMountPoint;
40
39
  var nonCustomToolbar =
41
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
42
41
  jsx("div", {
@@ -110,7 +109,7 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
110
109
  isShortcutToFocusToolbar: isShortcutToFocusToolbar,
111
110
  handleEscape: handleEscape,
112
111
  intl: props.intl
113
- }, fg('platform_editor_lcm_toolbar_portals') ? jsx(ToolbarPortal, null, jsx("div", {
112
+ }, jsx(ToolbarPortal, null, jsx("div", {
114
113
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
115
114
  css: mainToolbarStyle(props.showKeyline || contextPanelWidth > 0, twoLineEditorToolbar),
116
115
  "data-testid": "ak-editor-main-toolbar"
@@ -125,22 +124,7 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
125
124
  "data-testid": "avatar-group-outside-plugin",
126
125
  role: "region",
127
126
  "aria-label": props.intl.formatMessage(messages.pageActionsLabel)
128
- }, shouldSplitToolbar ? nonCustomToolbar : customToolbar), jsx(ToolbarPortalMountPoint, null))) : jsx("div", {
129
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
130
- css: mainToolbarStyle(props.showKeyline || contextPanelWidth > 0, twoLineEditorToolbar),
131
- "data-testid": "ak-editor-main-toolbar"
132
- }, jsx("div", {
133
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
134
- css: mainToolbarFirstChildStyle(twoLineEditorToolbar),
135
- role: "toolbar",
136
- "aria-label": props.intl.formatMessage(messages.toolbarLabel)
137
- }, shouldSplitToolbar ? customToolbar : nonCustomToolbar), jsx("div", {
138
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
139
- css: mainToolbarSecondChildStyle(twoLineEditorToolbar),
140
- "data-testid": "avatar-group-outside-plugin",
141
- role: "region",
142
- "aria-label": props.intl.formatMessage(messages.pageActionsLabel)
143
- }, shouldSplitToolbar ? nonCustomToolbar : customToolbar)));
127
+ }, shouldSplitToolbar ? nonCustomToolbar : customToolbar), jsx(ToolbarPortalMountPoint, null))));
144
128
  });
145
129
  });
146
130
  export var FullPageToolbar = injectIntl(EditorToolbar);
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "205.10.0";
2
+ export var version = "206.0.1";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -6,6 +6,7 @@
6
6
  */
7
7
  declare const _default: {
8
8
  'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
9
10
  'fabric.editor.headingLink.toolbarHelpTitle': string;
10
11
  };
11
12
  export default _default;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
10
+ 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
+ };
12
+ export default _default;
@@ -6,6 +6,7 @@
6
6
  */
7
7
  declare const _default: {
8
8
  'fabric.editor.chromeCollapsedPlaceholder': string;
9
+ 'fabric.editor.editorAssistiveLabel': string;
9
10
  'fabric.editor.headingLink.toolbarHelpTitle': string;
10
11
  };
11
12
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "205.10.0",
3
+ "version": "206.0.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^23.0.0",
48
48
  "@atlaskit/css": "^0.10.0",
49
- "@atlaskit/editor-common": "^103.23.0",
49
+ "@atlaskit/editor-common": "^104.0.0",
50
50
  "@atlaskit/editor-json-transformer": "^8.24.0",
51
51
  "@atlaskit/editor-performance-metrics": "^2.1.0",
52
52
  "@atlaskit/editor-plugin-quick-insert": "^2.4.0",
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/platform-feature-flags-react": "^0.1.0",
62
62
  "@atlaskit/react-ufo": "^3.9.0",
63
63
  "@atlaskit/task-decision": "^19.2.0",
64
- "@atlaskit/tmp-editor-statsig": "^4.15.0",
64
+ "@atlaskit/tmp-editor-statsig": "^4.16.0",
65
65
  "@atlaskit/tokens": "^4.8.0",
66
66
  "@atlaskit/tooltip": "^20.0.0",
67
67
  "@atlaskit/width-detector": "^5.0.0",
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@atlaskit/link-provider": "^2.1.0",
82
- "@atlaskit/media-core": "^35.0.0",
82
+ "@atlaskit/media-core": "^36.0.0",
83
83
  "react": "^18.2.0",
84
84
  "react-dom": "^18.2.0",
85
85
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -96,13 +96,13 @@
96
96
  "@atlaskit/editor-plugin-paste": "^3.3.0",
97
97
  "@atlaskit/link-provider": "^2.1.0",
98
98
  "@atlaskit/logo": "^18.0.0",
99
- "@atlaskit/media-core": "^35.0.0",
99
+ "@atlaskit/media-core": "^36.0.0",
100
100
  "@atlaskit/media-integration-test-helpers": "workspace:^",
101
- "@atlaskit/media-test-helpers": "^35.0.0",
101
+ "@atlaskit/media-test-helpers": "^36.0.0",
102
102
  "@atlaskit/modal-dialog": "^14.1.0",
103
103
  "@atlaskit/primitives": "^14.7.0",
104
- "@atlaskit/renderer": "^114.13.0",
105
- "@atlaskit/smart-card": "^36.14.0",
104
+ "@atlaskit/renderer": "^115.0.0",
105
+ "@atlaskit/smart-card": "^36.15.0",
106
106
  "@atlaskit/synchrony-test-helpers": "workspace:^",
107
107
  "@atlaskit/toggle": "^15.0.0",
108
108
  "@atlaskit/util-data-test": "^18.0.0",
@@ -400,9 +400,6 @@
400
400
  "type": "boolean",
401
401
  "referenceOnly": true
402
402
  },
403
- "platform_editor_lcm_toolbar_portals": {
404
- "type": "boolean"
405
- },
406
403
  "platform_editor_track_node_types": {
407
404
  "type": "boolean",
408
405
  "referenceOnly": true