@atlaskit/editor-core 219.9.19 → 220.0.0

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,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 220.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [`bb770e21fd25c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bb770e21fd25c) -
8
+ Clean up feature gate platform_editor_delay_markdown_view_mode_eval, keeping the enabled path.
9
+ - Updated dependencies
10
+
3
11
  ## 219.9.19
4
12
 
5
13
  ### Patch Changes
@@ -66,12 +66,6 @@ var editorContentAreaProsemirrorStyle = (0, _react2.css)({
66
66
  EDITOR-7249: Scope to the main editor's ProseMirror (direct child) so nested
67
67
  editors like the footer page-comment composer aren't hidden in Syntax view.
68
68
  */
69
- var hideEditorContentAreaProsemirrorStyle = (0, _react2.css)({
70
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
71
- '& > .ak-editor-content-area > .ProseMirror': {
72
- display: 'none'
73
- }
74
- });
75
69
  var hideEditorContentAreaProsemirrorWithAttributeStyle = (0, _react2.css)({
76
70
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
77
71
  '&[data-markdown-mode-hide-prosemirror="true"] > .ak-editor-content-area > .ProseMirror': {
@@ -290,11 +284,11 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
290
284
  editorView: props.editorView,
291
285
  editorDisabled: props.disabled
292
286
  }, (0, _react2.jsx)("div", {
293
- "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode && (0, _platformFeatureFlags.fg)('platform_editor_delay_markdown_view_mode_eval') ? 'true' : undefined,
287
+ "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode ? 'true' : undefined,
294
288
  css: [editorContentAreaNew, editorContentAreaProsemirrorStyle,
295
289
  // EDITOR-6558: hide ProseMirror when the markdown-mode plugin
296
290
  // reports a non-WYSIWYG view.
297
- shouldHideProseMirrorForMarkdownMode && ((0, _platformFeatureFlags.fg)('platform_editor_delay_markdown_view_mode_eval') ? hideEditorContentAreaProsemirrorWithAttributeStyle : hideEditorContentAreaProsemirrorStyle), tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
291
+ shouldHideProseMirrorForMarkdownMode && hideEditorContentAreaProsemirrorWithAttributeStyle, tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
298
292
  // for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
299
293
  (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? 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],
300
294
  style: {
@@ -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 = "219.9.18";
8
+ var version = exports.version = "219.9.19";
@@ -57,12 +57,6 @@ const editorContentAreaProsemirrorStyle = css({
57
57
  EDITOR-7249: Scope to the main editor's ProseMirror (direct child) so nested
58
58
  editors like the footer page-comment composer aren't hidden in Syntax view.
59
59
  */
60
- const hideEditorContentAreaProsemirrorStyle = css({
61
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
62
- '& > .ak-editor-content-area > .ProseMirror': {
63
- display: 'none'
64
- }
65
- });
66
60
  const hideEditorContentAreaProsemirrorWithAttributeStyle = css({
67
61
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
68
62
  '&[data-markdown-mode-hide-prosemirror="true"] > .ak-editor-content-area > .ProseMirror': {
@@ -282,11 +276,11 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
282
276
  editorView: props.editorView,
283
277
  editorDisabled: props.disabled
284
278
  }, jsx("div", {
285
- "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode && fg('platform_editor_delay_markdown_view_mode_eval') ? 'true' : undefined,
279
+ "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode ? 'true' : undefined,
286
280
  css: [editorContentAreaNew, editorContentAreaProsemirrorStyle,
287
281
  // EDITOR-6558: hide ProseMirror when the markdown-mode plugin
288
282
  // reports a non-WYSIWYG view.
289
- shouldHideProseMirrorForMarkdownMode && (fg('platform_editor_delay_markdown_view_mode_eval') ? hideEditorContentAreaProsemirrorWithAttributeStyle : hideEditorContentAreaProsemirrorStyle), tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
283
+ shouldHideProseMirrorForMarkdownMode && hideEditorContentAreaProsemirrorWithAttributeStyle, tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
290
284
  // for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
291
285
  expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? 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],
292
286
  style: {
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "219.9.18";
2
+ export const version = "219.9.19";
@@ -56,12 +56,6 @@ var editorContentAreaProsemirrorStyle = css({
56
56
  EDITOR-7249: Scope to the main editor's ProseMirror (direct child) so nested
57
57
  editors like the footer page-comment composer aren't hidden in Syntax view.
58
58
  */
59
- var hideEditorContentAreaProsemirrorStyle = css({
60
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
61
- '& > .ak-editor-content-area > .ProseMirror': {
62
- display: 'none'
63
- }
64
- });
65
59
  var hideEditorContentAreaProsemirrorWithAttributeStyle = css({
66
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
67
61
  '&[data-markdown-mode-hide-prosemirror="true"] > .ak-editor-content-area > .ProseMirror': {
@@ -280,11 +274,11 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
280
274
  editorView: props.editorView,
281
275
  editorDisabled: props.disabled
282
276
  }, jsx("div", {
283
- "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode && fg('platform_editor_delay_markdown_view_mode_eval') ? 'true' : undefined,
277
+ "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode ? 'true' : undefined,
284
278
  css: [editorContentAreaNew, editorContentAreaProsemirrorStyle,
285
279
  // EDITOR-6558: hide ProseMirror when the markdown-mode plugin
286
280
  // reports a non-WYSIWYG view.
287
- shouldHideProseMirrorForMarkdownMode && (fg('platform_editor_delay_markdown_view_mode_eval') ? hideEditorContentAreaProsemirrorWithAttributeStyle : hideEditorContentAreaProsemirrorStyle), tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
281
+ shouldHideProseMirrorForMarkdownMode && hideEditorContentAreaProsemirrorWithAttributeStyle, tableFullPageEditorStylesNew, fullWidthNonChromelessBreakoutBlockTableStyle,
288
282
  // for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
289
283
  expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) ? 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],
290
284
  style: {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "219.9.18";
2
+ export var version = "219.9.19";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "219.9.19",
3
+ "version": "220.0.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,13 +55,13 @@
55
55
  "@atlaskit/css": "^0.19.0",
56
56
  "@atlaskit/editor-json-transformer": "^8.33.0",
57
57
  "@atlaskit/editor-performance-metrics": "^2.2.0",
58
- "@atlaskit/editor-plugin-connectivity": "^10.1.0",
59
- "@atlaskit/editor-plugin-quick-insert": "^10.4.0",
60
- "@atlaskit/editor-plugin-user-preferences": "^8.2.0",
58
+ "@atlaskit/editor-plugin-connectivity": "^11.0.0",
59
+ "@atlaskit/editor-plugin-quick-insert": "^11.0.0",
60
+ "@atlaskit/editor-plugin-user-preferences": "^9.0.0",
61
61
  "@atlaskit/editor-plugins": "^13.1.0",
62
62
  "@atlaskit/editor-prosemirror": "^7.3.0",
63
63
  "@atlaskit/editor-shared-styles": "^3.11.0",
64
- "@atlaskit/editor-ssr-renderer": "^5.2.0",
64
+ "@atlaskit/editor-ssr-renderer": "^6.0.0",
65
65
  "@atlaskit/editor-toolbar": "^1.9.0",
66
66
  "@atlaskit/editor-toolbar-model": "^0.5.0",
67
67
  "@atlaskit/emoji": "^70.14.0",
@@ -74,7 +74,7 @@
74
74
  "@atlaskit/platform-feature-flags-react": "^0.5.0",
75
75
  "@atlaskit/react-ufo": "^6.6.0",
76
76
  "@atlaskit/task-decision": "^20.1.0",
77
- "@atlaskit/tmp-editor-statsig": "^87.0.0",
77
+ "@atlaskit/tmp-editor-statsig": "^88.0.0",
78
78
  "@atlaskit/tokens": "^13.1.0",
79
79
  "@atlaskit/tooltip": "^22.5.0",
80
80
  "@atlaskit/width-detector": "^5.1.0",
@@ -92,7 +92,7 @@
92
92
  "uuid": "^3.1.0"
93
93
  },
94
94
  "peerDependencies": {
95
- "@atlaskit/editor-common": "^114.55.0",
95
+ "@atlaskit/editor-common": "^115.0.0",
96
96
  "@atlaskit/link-provider": "^4.4.0",
97
97
  "@atlaskit/media-core": "^37.1.0",
98
98
  "react": "^18.2.0",
@@ -106,11 +106,11 @@
106
106
  "@atlaskit/adf-utils": "^19.32.0",
107
107
  "@atlaskit/analytics-listeners": "^10.1.0",
108
108
  "@atlaskit/code": "^17.5.0",
109
- "@atlaskit/collab-provider": "^19.0.0",
110
- "@atlaskit/editor-plugin-annotation": "^10.5.0",
111
- "@atlaskit/editor-plugin-card": "^16.11.0",
112
- "@atlaskit/editor-plugin-list": "^12.1.0",
113
- "@atlaskit/editor-plugin-paste": "^11.2.0",
109
+ "@atlaskit/collab-provider": "^20.0.0",
110
+ "@atlaskit/editor-plugin-annotation": "^11.0.0",
111
+ "@atlaskit/editor-plugin-card": "^17.0.0",
112
+ "@atlaskit/editor-plugin-list": "^13.0.0",
113
+ "@atlaskit/editor-plugin-paste": "^12.0.0",
114
114
  "@atlaskit/editor-test-helpers": "workspace:^",
115
115
  "@atlaskit/link-provider": "^4.4.0",
116
116
  "@atlaskit/linking-common": "^9.12.0",
@@ -121,7 +121,7 @@
121
121
  "@atlaskit/modal-dialog": "^15.2.0",
122
122
  "@atlaskit/popper": "^7.2.0",
123
123
  "@atlaskit/portal": "^5.5.0",
124
- "@atlaskit/renderer": "^131.2.0",
124
+ "@atlaskit/renderer": "^132.0.0",
125
125
  "@atlaskit/section-message": "^8.13.0",
126
126
  "@atlaskit/synchrony-test-helpers": "workspace:^",
127
127
  "@atlaskit/toggle": "^16.1.0",
@@ -129,11 +129,11 @@
129
129
  "@atlassian/a11y-jest-testing": "^0.11.0",
130
130
  "@atlassian/a11y-playwright-testing": "^0.10.0",
131
131
  "@atlassian/adf-schema-json": "^1.33.0",
132
- "@atlassian/editor-rovo-bridge": "^8.16.0",
132
+ "@atlassian/editor-rovo-bridge": "^9.0.0",
133
133
  "@atlassian/feature-flags-test-utils": "^1.1.0",
134
134
  "@atlassian/react-compiler-gating": "workspace:^",
135
135
  "@atlassian/search-client": "^1.10.0",
136
- "@atlassian/search-provider": "^11.1.0",
136
+ "@atlassian/search-provider": "^12.0.0",
137
137
  "@atlassian/structured-docs-types": "workspace:^",
138
138
  "@atlassian/user-profile-card": "^1.8.0",
139
139
  "@emotion/jest": "^11.8.0",
@@ -336,9 +336,6 @@
336
336
  },
337
337
  "platform_editor_chromeless_akeditor_class": {
338
338
  "type": "boolean"
339
- },
340
- "platform_editor_delay_markdown_view_mode_eval": {
341
- "type": "boolean"
342
339
  }
343
340
  },
344
341
  "stricter": {