@atlaskit/editor-core 214.0.7 → 214.0.9

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,19 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 214.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 214.0.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [`d24d26320c940`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d24d26320c940) -
14
+ FD-100510 clean up fg platform_editor_breakout_resizing_hello_release
15
+ - Updated dependencies
16
+
3
17
  ## 214.0.7
4
18
 
5
19
  ### Patch Changes
@@ -64,7 +64,7 @@ function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEvent
64
64
  quickInsert: {
65
65
  enableElementBrowser: props.elementBrowser && props.elementBrowser.showModal,
66
66
  elementBrowserHelpUrl: props.elementBrowser && props.elementBrowser.helpUrl,
67
- disableDefaultItems: false,
67
+ disableDefaultItems: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.disableDefaultItems || false,
68
68
  headless: false,
69
69
  emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler,
70
70
  prioritySortingFn: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.prioritySortingFn || undefined,
@@ -309,9 +309,9 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
309
309
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
310
310
  _resizerStyles.pragmaticResizerStylesNew :
311
311
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
312
- _resizerStyles.pragmaticResizerStyles : undefined, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_hello_release') &&
312
+ _resizerStyles.pragmaticResizerStyles : undefined, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) &&
313
313
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
314
- _resizerStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_hello_release') &&
314
+ _resizerStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) &&
315
315
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
316
316
  _resizerStyles.pragmaticResizerStylesForTooltip, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _experiments.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true)) &&
317
317
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -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 = "214.0.6";
8
+ var version = exports.version = "0.0.0-development";
@@ -54,7 +54,7 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
54
54
  quickInsert: {
55
55
  enableElementBrowser: props.elementBrowser && props.elementBrowser.showModal,
56
56
  elementBrowserHelpUrl: props.elementBrowser && props.elementBrowser.helpUrl,
57
- disableDefaultItems: false,
57
+ disableDefaultItems: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.disableDefaultItems || false,
58
58
  headless: false,
59
59
  emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler,
60
60
  prioritySortingFn: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.prioritySortingFn || undefined,
@@ -304,9 +304,9 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
304
304
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
305
305
  pragmaticResizerStylesNew :
306
306
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
307
- pragmaticResizerStyles : undefined, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
307
+ pragmaticResizerStyles : undefined, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) &&
308
308
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
309
- pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
309
+ pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) &&
310
310
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
311
311
  pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) &&
312
312
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "214.0.6";
2
+ export const version = "0.0.0-development";
@@ -55,7 +55,7 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
55
55
  quickInsert: {
56
56
  enableElementBrowser: props.elementBrowser && props.elementBrowser.showModal,
57
57
  elementBrowserHelpUrl: props.elementBrowser && props.elementBrowser.helpUrl,
58
- disableDefaultItems: false,
58
+ disableDefaultItems: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.disableDefaultItems || false,
59
59
  headless: false,
60
60
  emptyStateHandler: props.elementBrowser && props.elementBrowser.emptyStateHandler,
61
61
  prioritySortingFn: props.quickInsert && typeof props.quickInsert !== 'boolean' && props.quickInsert.prioritySortingFn || undefined,
@@ -301,9 +301,9 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
301
301
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
302
302
  pragmaticResizerStylesNew :
303
303
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
304
- pragmaticResizerStyles : undefined, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
304
+ pragmaticResizerStyles : undefined, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) &&
305
305
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
306
- pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release') &&
306
+ pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) &&
307
307
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
308
308
  pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) &&
309
309
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "214.0.6";
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": "214.0.7",
3
+ "version": "214.0.9",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/editor-plugins": "^10.6.0",
54
54
  "@atlaskit/editor-prosemirror": "7.0.0",
55
55
  "@atlaskit/editor-shared-styles": "^3.6.0",
56
- "@atlaskit/editor-toolbar": "^0.10.0",
56
+ "@atlaskit/editor-toolbar": "^0.11.0",
57
57
  "@atlaskit/editor-toolbar-model": "^0.2.0",
58
58
  "@atlaskit/emoji": "^69.5.0",
59
59
  "@atlaskit/icon": "^28.3.0",
@@ -427,9 +427,6 @@
427
427
  "platform-dst-jira-web-fonts": {
428
428
  "type": "boolean"
429
429
  },
430
- "platform_editor_breakout_resizing_hello_release": {
431
- "type": "boolean"
432
- },
433
430
  "atlas_editor_typography_refreshed": {
434
431
  "type": "boolean"
435
432
  },