@atlaskit/editor-core 232.0.3 → 232.0.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,16 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 232.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a4fe8636fa0ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4fe8636fa0ec) -
|
|
8
|
+
Clean up the fully rolled out `platform_editor_layout_column_menu` experiment and the
|
|
9
|
+
`platform_editor_layout_column_menu_kill_switch_1` feature gate, retaining their shipped behavior.
|
|
10
|
+
Consumers must remove any direct `@atlaskit/tmp-editor-statsig` experiment override for
|
|
11
|
+
`platform_editor_layout_column_menu`.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 232.0.3
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -43,8 +43,6 @@ var _undoRedo = require("@atlaskit/editor-plugins/undo-redo");
|
|
|
43
43
|
var _unsupportedContent = require("@atlaskit/editor-plugins/unsupported-content");
|
|
44
44
|
var _userIntent = require("@atlaskit/editor-plugins/user-intent");
|
|
45
45
|
var _width = require("@atlaskit/editor-plugins/width");
|
|
46
|
-
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
47
|
-
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
48
46
|
var _isFullPage = require("../utils/is-full-page");
|
|
49
47
|
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; }
|
|
50
48
|
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; } // #region Imports
|
|
@@ -72,7 +70,7 @@ function createDefaultPreset(options) {
|
|
|
72
70
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
73
71
|
}]).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, {
|
|
74
72
|
contextualFormattingEnabled: isFullPage
|
|
75
|
-
}]).
|
|
73
|
+
}]).add(_uiControlRegistry.uiControlRegistryPlugin).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, {
|
|
76
74
|
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,
|
|
77
75
|
blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
|
|
78
76
|
getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
|
|
@@ -36,8 +36,6 @@ import { undoRedoPlugin } from '@atlaskit/editor-plugins/undo-redo';
|
|
|
36
36
|
import { unsupportedContentPlugin } from '@atlaskit/editor-plugins/unsupported-content';
|
|
37
37
|
import { userIntentPlugin } from '@atlaskit/editor-plugins/user-intent';
|
|
38
38
|
import { widthPlugin } from '@atlaskit/editor-plugins/width';
|
|
39
|
-
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
40
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
41
39
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
42
40
|
|
|
43
41
|
// #endregion
|
|
@@ -65,7 +63,7 @@ export function createDefaultPreset(options) {
|
|
|
65
63
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
66
64
|
}]).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, {
|
|
67
65
|
contextualFormattingEnabled: isFullPage
|
|
68
|
-
}]).
|
|
66
|
+
}]).add(uiControlRegistryPlugin).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, {
|
|
69
67
|
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,
|
|
70
68
|
blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
|
|
71
69
|
getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
|
|
@@ -39,8 +39,6 @@ import { undoRedoPlugin } from '@atlaskit/editor-plugins/undo-redo';
|
|
|
39
39
|
import { unsupportedContentPlugin } from '@atlaskit/editor-plugins/unsupported-content';
|
|
40
40
|
import { userIntentPlugin } from '@atlaskit/editor-plugins/user-intent';
|
|
41
41
|
import { widthPlugin } from '@atlaskit/editor-plugins/width';
|
|
42
|
-
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
43
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
44
42
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
45
43
|
|
|
46
44
|
// #endregion
|
|
@@ -67,7 +65,7 @@ export function createDefaultPreset(options) {
|
|
|
67
65
|
contextIdentifierProvider: options.contextIdentifierProvider
|
|
68
66
|
}]).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
67
|
contextualFormattingEnabled: isFullPage
|
|
70
|
-
}]).
|
|
68
|
+
}]).add(uiControlRegistryPlugin).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
69
|
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
70
|
blockLinkHashPrefix: (_options$blockMenu2 = options.blockMenu) === null || _options$blockMenu2 === void 0 ? void 0 : _options$blockMenu2.blockLinkHashPrefix,
|
|
73
71
|
getLinkPath: (_options$blockMenu3 = options.blockMenu) === null || _options$blockMenu3 === void 0 ? void 0 : _options$blockMenu3.getLinkPath
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "232.0.
|
|
3
|
+
"version": "232.0.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/feature-gate-js-client": "^7.0.0",
|
|
66
66
|
"@atlaskit/heading": "^8.0.0",
|
|
67
67
|
"@atlaskit/icon": "^38.0.0",
|
|
68
|
-
"@atlaskit/icon-lab": "^7.
|
|
68
|
+
"@atlaskit/icon-lab": "^7.11.0",
|
|
69
69
|
"@atlaskit/link": "^5.1.0",
|
|
70
70
|
"@atlaskit/media-card": "^82.1.0",
|
|
71
71
|
"@atlaskit/mention": "^30.0.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
78
78
|
"@atlaskit/react-ufo": "^8.0.0",
|
|
79
79
|
"@atlaskit/task-decision": "^21.11.0",
|
|
80
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
80
|
+
"@atlaskit/tmp-editor-statsig": "^213.0.0",
|
|
81
81
|
"@atlaskit/tokens": "^20.1.0",
|
|
82
82
|
"@atlaskit/tooltip": "^24.3.0",
|
|
83
83
|
"@atlaskit/width-detector": "^7.2.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"uuid": "^11.1.1"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"@atlaskit/editor-common": "^126.
|
|
99
|
+
"@atlaskit/editor-common": "^126.2.0",
|
|
100
100
|
"@atlaskit/link-provider": "^6.0.0",
|
|
101
101
|
"@atlaskit/media-core": "^39.0.0",
|
|
102
102
|
"react": "^18.2.0 || ^19.2.0",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"@atlaskit/navigation-system": "^10.17.0",
|
|
158
158
|
"@atlaskit/popper": "^9.4.0",
|
|
159
159
|
"@atlaskit/portal": "^7.0.0",
|
|
160
|
-
"@atlaskit/profilecard": "^27.
|
|
160
|
+
"@atlaskit/profilecard": "^27.1.0",
|
|
161
161
|
"@atlaskit/radio": "^10.2.0",
|
|
162
162
|
"@atlaskit/renderer": "^145.0.0",
|
|
163
163
|
"@atlaskit/section-message": "^10.2.0",
|
|
@@ -168,16 +168,16 @@
|
|
|
168
168
|
"@atlaskit/toggle": "^17.3.0",
|
|
169
169
|
"@atlaskit/util-data-test": "^19.1.0",
|
|
170
170
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
171
|
-
"@atlassian/a11y-playwright-testing": "^0.
|
|
171
|
+
"@atlassian/a11y-playwright-testing": "^0.13.0",
|
|
172
172
|
"@atlassian/adf-schema-json": "^1.35.0",
|
|
173
173
|
"@atlassian/editor-rovo-bridge": "^21.0.0",
|
|
174
174
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
175
175
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
176
|
-
"@atlassian/search-client": "^3.
|
|
176
|
+
"@atlassian/search-client": "^3.5.0",
|
|
177
177
|
"@atlassian/search-provider": "^23.0.0",
|
|
178
178
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
179
179
|
"@atlassian/testing-library": "^0.11.0",
|
|
180
|
-
"@atlassian/user-profile-card": "^1.
|
|
180
|
+
"@atlassian/user-profile-card": "^1.42.0",
|
|
181
181
|
"@emotion/jest": "^11.8.0",
|
|
182
182
|
"@testing-library/react": "^16.3.0",
|
|
183
183
|
"@types/diff": "^5.0.2",
|