@atlaskit/editor-core 221.8.0 → 221.8.2
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 +18 -0
- package/dist/cjs/utils/extensions.js +3 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/utils/extensions.js +1 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/utils/extensions.js +3 -6
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 221.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`dad5416e6deb2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dad5416e6deb2) -
|
|
8
|
+
Clean up the fully launched `rovo_chat_enable_skills_ui_m1` and
|
|
9
|
+
`cc_fd_wb_create_priority_in_slash_menu_enabled` feature gates so extension priority is always
|
|
10
|
+
available in slash menus.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 221.8.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`a421f8d9ac2be`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a421f8d9ac2be) -
|
|
18
|
+
Revert rovo_chat_enable_skills_ui_m1 cleanup in editor packages to fix slash menu priority
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 221.8.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -13,7 +13,6 @@ var _reactLoadable = _interopRequireDefault(require("react-loadable"));
|
|
|
13
13
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
14
14
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
15
15
|
var _analytics2 = require("@atlaskit/editor-common/utils/analytics");
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
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; }
|
|
18
17
|
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; }
|
|
19
18
|
// Structural shape of the markdown-mode plugin's slice of the injection API.
|
|
@@ -108,7 +107,7 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
108
107
|
return null;
|
|
109
108
|
}
|
|
110
109
|
});
|
|
111
|
-
return _objectSpread(_objectSpread(
|
|
110
|
+
return _objectSpread(_objectSpread({
|
|
112
111
|
// Add module key so typeahead/quick-insert can identify items
|
|
113
112
|
// **locale-agnostically**! nb: we _already_ send key in analytics
|
|
114
113
|
// events, this standardises and makes our items more predictable.
|
|
@@ -121,10 +120,8 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
121
120
|
});
|
|
122
121
|
},
|
|
123
122
|
keywords: item.keywords,
|
|
124
|
-
featured: item.featured
|
|
125
|
-
|
|
126
|
-
priority: item.priority
|
|
127
|
-
}), {}, {
|
|
123
|
+
featured: item.featured,
|
|
124
|
+
priority: item.priority,
|
|
128
125
|
categories: item.categories
|
|
129
126
|
}, item.lozenge != null && {
|
|
130
127
|
lozenge: item.lozenge
|
|
@@ -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 = "221.
|
|
9
|
+
var version = exports.version = "221.8.1";
|
|
@@ -3,7 +3,6 @@ import Loadable from 'react-loadable';
|
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { getQuickInsertItemsFromModule, resolveImport } from '@atlaskit/editor-common/extensions';
|
|
5
5
|
import { findInsertLocation } from '@atlaskit/editor-common/utils/analytics';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
|
|
8
7
|
// Structural shape of the markdown-mode plugin's slice of the injection API.
|
|
9
8
|
// Used to read `isMarkdownMode` without importing the `MarkdownModePlugin`
|
|
@@ -85,9 +84,7 @@ export async function extensionProviderToQuickInsertProvider(extensionProvider,
|
|
|
85
84
|
}),
|
|
86
85
|
keywords: item.keywords,
|
|
87
86
|
featured: item.featured,
|
|
88
|
-
|
|
89
|
-
priority: item.priority
|
|
90
|
-
}),
|
|
87
|
+
priority: item.priority,
|
|
91
88
|
categories: item.categories,
|
|
92
89
|
...(item.lozenge != null && {
|
|
93
90
|
lozenge: item.lozenge
|
|
@@ -8,7 +8,6 @@ import Loadable from 'react-loadable';
|
|
|
8
8
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import { getQuickInsertItemsFromModule, resolveImport } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import { findInsertLocation } from '@atlaskit/editor-common/utils/analytics';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
|
|
13
12
|
// Structural shape of the markdown-mode plugin's slice of the injection API.
|
|
14
13
|
// Used to read `isMarkdownMode` without importing the `MarkdownModePlugin`
|
|
@@ -102,7 +101,7 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
102
101
|
return null;
|
|
103
102
|
}
|
|
104
103
|
});
|
|
105
|
-
return _objectSpread(_objectSpread(
|
|
104
|
+
return _objectSpread(_objectSpread({
|
|
106
105
|
// Add module key so typeahead/quick-insert can identify items
|
|
107
106
|
// **locale-agnostically**! nb: we _already_ send key in analytics
|
|
108
107
|
// events, this standardises and makes our items more predictable.
|
|
@@ -115,10 +114,8 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
115
114
|
});
|
|
116
115
|
},
|
|
117
116
|
keywords: item.keywords,
|
|
118
|
-
featured: item.featured
|
|
119
|
-
|
|
120
|
-
priority: item.priority
|
|
121
|
-
}), {}, {
|
|
117
|
+
featured: item.featured,
|
|
118
|
+
priority: item.priority,
|
|
122
119
|
categories: item.categories
|
|
123
120
|
}, item.lozenge != null && {
|
|
124
121
|
lozenge: item.lozenge
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "221.8.
|
|
3
|
+
"version": "221.8.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"uuid": "^3.1.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@atlaskit/editor-common": "^116.
|
|
88
|
+
"@atlaskit/editor-common": "^116.26.0",
|
|
89
89
|
"@atlaskit/link-provider": "^5.2.0",
|
|
90
90
|
"@atlaskit/media-core": "^38.0.0",
|
|
91
91
|
"react": "^18.2.0",
|
|
@@ -312,9 +312,6 @@
|
|
|
312
312
|
"platform_editor_comments_border_radius": {
|
|
313
313
|
"type": "boolean"
|
|
314
314
|
},
|
|
315
|
-
"cc_fd_wb_create_priority_in_slash_menu_enabled": {
|
|
316
|
-
"type": "boolean"
|
|
317
|
-
},
|
|
318
315
|
"platform_editor_table_fixed_column_width_prop": {
|
|
319
316
|
"type": "boolean"
|
|
320
317
|
},
|