@atlaskit/editor-core 226.1.2 → 226.1.4

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,21 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 226.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 226.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0841b102bfe4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0841b102bfe4a) -
14
+ Add a PM-state-backed multi-location left block-controls surface and register the display-only
15
+ heading collapse button behind `platform_editor_block_control_migration` and
16
+ `platform_editor_collapsible_headings`.
17
+ - Updated dependencies
18
+
3
19
  ## 226.1.2
4
20
 
5
21
  ### Patch Changes
@@ -76,7 +76,7 @@ function createDefaultPreset(options) {
76
76
  contextIdentifierProvider: options.contextIdentifierProvider
77
77
  }]).add([_base.basePlugin, options.base]).add(_decorations.decorationsPlugin).add([_typeAhead.typeAheadPlugin, options.typeAhead]).maybeAdd(_history.historyPlugin, Boolean(options.allowUndoRedoButtons)).add(_userIntent.userIntentPlugin).maybeAdd([_toolbar.toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([_primaryToolbar.primaryToolbarPlugin, {
78
78
  contextualFormattingEnabled: isFullPage
79
- }]).maybeAdd(_uiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_slash_command')).maybeAdd(_undoRedo.undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).maybeAdd([_blockMenu.blockMenuPlugin, {
79
+ }]).maybeAdd(_uiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_slash_command') || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_control_migration')).maybeAdd(_undoRedo.undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).maybeAdd([_blockMenu.blockMenuPlugin, {
80
80
  useStandardNodeWidth: (_options$blockMenu$us = (_options$blockMenu = options.blockMenu) === null || _options$blockMenu === void 0 ? void 0 : _options$blockMenu.useStandardNodeWidth) !== null && _options$blockMenu$us !== void 0 ? _options$blockMenu$us : false,
81
81
  blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
82
82
  getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "226.1.1";
9
+ var version = exports.version = "226.1.3";
@@ -67,7 +67,7 @@ export function createDefaultPreset(options) {
67
67
  contextIdentifierProvider: options.contextIdentifierProvider
68
68
  }]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).add(userIntentPlugin).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
69
69
  contextualFormattingEnabled: isFullPage
70
- }]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) || isExperimentEnabled('platform_editor_slash_command')).maybeAdd(undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).maybeAdd([blockMenuPlugin, {
70
+ }]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) || isExperimentEnabled('platform_editor_slash_command') || isExperimentEnabled('platform_editor_block_control_migration')).maybeAdd(undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).maybeAdd([blockMenuPlugin, {
71
71
  useStandardNodeWidth: (_options$blockMenu$us = (_options$blockMenu = options.blockMenu) === null || _options$blockMenu === void 0 ? void 0 : _options$blockMenu.useStandardNodeWidth) !== null && _options$blockMenu$us !== void 0 ? _options$blockMenu$us : false,
72
72
  blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
73
73
  getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "226.1.1";
3
+ export const version = "226.1.3";
@@ -71,7 +71,7 @@ export function createDefaultPreset(options) {
71
71
  contextIdentifierProvider: options.contextIdentifierProvider
72
72
  }]).add([basePlugin, options.base]).add(decorationsPlugin).add([typeAheadPlugin, options.typeAhead]).maybeAdd(historyPlugin, Boolean(options.allowUndoRedoButtons)).add(userIntentPlugin).maybeAdd([toolbarPlugin, options.toolbar || {}], Boolean((_options$toolbar = options.toolbar) === null || _options$toolbar === void 0 ? void 0 : _options$toolbar.enableNewToolbarExperience)).add([primaryToolbarPlugin, {
73
73
  contextualFormattingEnabled: isFullPage
74
- }]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) || isExperimentEnabled('platform_editor_slash_command')).maybeAdd(undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).maybeAdd([blockMenuPlugin, {
74
+ }]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) || isExperimentEnabled('platform_editor_slash_command') || isExperimentEnabled('platform_editor_block_control_migration')).maybeAdd(undoRedoPlugin, Boolean((_options$featureFlags = (_options$featureFlags2 = options.featureFlags) === null || _options$featureFlags2 === void 0 ? void 0 : _options$featureFlags2.undoRedoButtons) !== null && _options$featureFlags !== void 0 ? _options$featureFlags : options.allowUndoRedoButtons)).maybeAdd([blockMenuPlugin, {
75
75
  useStandardNodeWidth: (_options$blockMenu$us = (_options$blockMenu = options.blockMenu) === null || _options$blockMenu === void 0 ? void 0 : _options$blockMenu.useStandardNodeWidth) !== null && _options$blockMenu$us !== void 0 ? _options$blockMenu$us : false,
76
76
  blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
77
77
  getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "226.1.1";
3
+ export var version = "226.1.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "226.1.2",
3
+ "version": "226.1.4",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
46
46
  "@atlaskit/button": "^25.2.0",
47
47
  "@atlaskit/css": "^1.1.0",
48
- "@atlaskit/editor-json-transformer": "^9.6.0",
48
+ "@atlaskit/editor-json-transformer": "^9.7.0",
49
49
  "@atlaskit/editor-performance-metrics": "^3.2.0",
50
50
  "@atlaskit/editor-plugin-block-menu": "^15.0.0",
51
51
  "@atlaskit/editor-plugin-connectivity": "^16.0.0",
@@ -67,13 +67,13 @@
67
67
  "@atlaskit/mention": "^27.18.0",
68
68
  "@atlaskit/platform-feature-experiments": "^0.3.0",
69
69
  "@atlaskit/platform-feature-flags": "^2.1.0",
70
- "@atlaskit/platform-feature-flags-react": "^1.1.0",
70
+ "@atlaskit/platform-feature-flags-react": "^1.2.0",
71
71
  "@atlaskit/popup": "^6.2.0",
72
72
  "@atlaskit/primitives": "^22.4.0",
73
73
  "@atlaskit/react-compiler-gating": "^0.2.0",
74
74
  "@atlaskit/react-ufo": "^7.7.0",
75
75
  "@atlaskit/task-decision": "^21.8.0",
76
- "@atlaskit/tmp-editor-statsig": "^164.0.0",
76
+ "@atlaskit/tmp-editor-statsig": "^165.0.0",
77
77
  "@atlaskit/tokens": "^16.8.0",
78
78
  "@atlaskit/tooltip": "^24.2.0",
79
79
  "@atlaskit/width-detector": "^7.1.0",
@@ -91,9 +91,9 @@
91
91
  "uuid": "^3.1.0"
92
92
  },
93
93
  "peerDependencies": {
94
- "@atlaskit/editor-common": "^120.3.0",
94
+ "@atlaskit/editor-common": "^120.6.0",
95
95
  "@atlaskit/link-provider": "^5.4.0",
96
- "@atlaskit/media-core": "^38.0.0",
96
+ "@atlaskit/media-core": "^38.1.0",
97
97
  "react": "^18.2.0",
98
98
  "react-dom": "^18.2.0",
99
99
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -139,7 +139,7 @@
139
139
  "@atlaskit/link-provider": "^5.4.0",
140
140
  "@atlaskit/linking-common": "^12.0.0",
141
141
  "@atlaskit/logo": "^21.5.0",
142
- "@atlaskit/media-core": "^38.0.0",
142
+ "@atlaskit/media-core": "^38.1.0",
143
143
  "@atlaskit/media-integration-test-helpers": "workspace:^",
144
144
  "@atlaskit/media-picker": "^72.3.0",
145
145
  "@atlaskit/media-test-helpers": "^42.3.0",
@@ -148,7 +148,7 @@
148
148
  "@atlaskit/navigation-system": "^10.16.0",
149
149
  "@atlaskit/popper": "^9.3.0",
150
150
  "@atlaskit/portal": "^6.3.0",
151
- "@atlaskit/profilecard": "^26.19.0",
151
+ "@atlaskit/profilecard": "^26.20.0",
152
152
  "@atlaskit/radio": "^10.1.0",
153
153
  "@atlaskit/renderer": "^137.1.0",
154
154
  "@atlaskit/section-message": "^10.1.0",