@atlaskit/editor-plugin-extension 5.5.10 → 5.5.12
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-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 5.5.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 5.5.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#173846](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/173846)
|
|
14
|
+
[`852a3c0aec64b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/852a3c0aec64b) -
|
|
15
|
+
Clean up platform_editor_controls_patch_10
|
|
16
|
+
|
|
3
17
|
## 5.5.10
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -18,7 +18,6 @@ var _contentWidthWide = _interopRequireDefault(require("@atlaskit/icon/core/cont
|
|
|
18
18
|
var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
|
|
19
19
|
var _expandHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/expand-horizontal"));
|
|
20
20
|
var _editEditorEdit = _interopRequireDefault(require("@atlaskit/icon/core/migration/edit--editor-edit"));
|
|
21
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
21
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
23
22
|
var _actions = require("../editor-actions/actions");
|
|
24
23
|
var _commands = require("../editor-commands/commands");
|
|
@@ -325,7 +324,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
|
|
|
325
324
|
}, {
|
|
326
325
|
id: 'editor.extension.delete',
|
|
327
326
|
type: 'button',
|
|
328
|
-
icon: (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')
|
|
327
|
+
icon: (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? _delete.default : function () {
|
|
329
328
|
return /*#__PURE__*/_react.default.createElement(_delete.default, {
|
|
330
329
|
label: formatMessage(_messages.default.remove),
|
|
331
330
|
spacing: "spacious"
|
|
@@ -10,7 +10,6 @@ import ContentWidthWideIcon from '@atlaskit/icon/core/content-width-wide';
|
|
|
10
10
|
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
11
11
|
import ExpandHorizontalIcon from '@atlaskit/icon/core/expand-horizontal';
|
|
12
12
|
import EditIcon from '@atlaskit/icon/core/migration/edit--editor-edit';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
15
14
|
import { editExtension } from '../editor-actions/actions';
|
|
16
15
|
import { removeDescendantNodes, removeExtension, updateExtensionLayout } from '../editor-commands/commands';
|
|
@@ -319,7 +318,7 @@ export const getToolbarConfig = ({
|
|
|
319
318
|
}, {
|
|
320
319
|
id: 'editor.extension.delete',
|
|
321
320
|
type: 'button',
|
|
322
|
-
icon: editorExperiment('platform_editor_controls', 'variant1')
|
|
321
|
+
icon: editorExperiment('platform_editor_controls', 'variant1') ? DeleteIcon : () => /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
323
322
|
label: formatMessage(commonMessages.remove),
|
|
324
323
|
spacing: "spacious"
|
|
325
324
|
}),
|
|
@@ -11,7 +11,6 @@ import ContentWidthWideIcon from '@atlaskit/icon/core/content-width-wide';
|
|
|
11
11
|
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
12
12
|
import ExpandHorizontalIcon from '@atlaskit/icon/core/expand-horizontal';
|
|
13
13
|
import EditIcon from '@atlaskit/icon/core/migration/edit--editor-edit';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
16
15
|
import { editExtension } from '../editor-actions/actions';
|
|
17
16
|
import { removeDescendantNodes, removeExtension, updateExtensionLayout } from '../editor-commands/commands';
|
|
@@ -319,7 +318,7 @@ export var getToolbarConfig = function getToolbarConfig(_ref) {
|
|
|
319
318
|
}, {
|
|
320
319
|
id: 'editor.extension.delete',
|
|
321
320
|
type: 'button',
|
|
322
|
-
icon: editorExperiment('platform_editor_controls', 'variant1')
|
|
321
|
+
icon: editorExperiment('platform_editor_controls', 'variant1') ? DeleteIcon : function () {
|
|
323
322
|
return /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
324
323
|
label: formatMessage(commonMessages.remove),
|
|
325
324
|
spacing: "spacious"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.12",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/button": "^23.2.0",
|
|
33
33
|
"@atlaskit/checkbox": "^17.1.0",
|
|
34
34
|
"@atlaskit/datetime-picker": "^17.0.0",
|
|
35
|
-
"@atlaskit/editor-common": "^107.
|
|
35
|
+
"@atlaskit/editor-common": "^107.2.0",
|
|
36
36
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
@@ -44,25 +44,25 @@
|
|
|
44
44
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
45
45
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
46
46
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
47
|
-
"@atlaskit/empty-state": "^10.
|
|
47
|
+
"@atlaskit/empty-state": "^10.1.0",
|
|
48
48
|
"@atlaskit/form": "^12.0.0",
|
|
49
49
|
"@atlaskit/heading": "^5.2.0",
|
|
50
|
-
"@atlaskit/icon": "^27.
|
|
50
|
+
"@atlaskit/icon": "^27.2.0",
|
|
51
51
|
"@atlaskit/link": "^3.2.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/primitives": "^14.9.0",
|
|
54
54
|
"@atlaskit/radio": "^8.1.0",
|
|
55
55
|
"@atlaskit/section-message": "^8.2.0",
|
|
56
|
-
"@atlaskit/select": "^
|
|
56
|
+
"@atlaskit/select": "^21.0.0",
|
|
57
57
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
58
58
|
"@atlaskit/spinner": "^18.0.0",
|
|
59
59
|
"@atlaskit/tabs": "^18.1.0",
|
|
60
60
|
"@atlaskit/textarea": "^8.0.0",
|
|
61
61
|
"@atlaskit/textfield": "^8.0.0",
|
|
62
62
|
"@atlaskit/theme": "^18.0.0",
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^8.
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^8.2.0",
|
|
64
64
|
"@atlaskit/toggle": "^15.0.0",
|
|
65
|
-
"@atlaskit/tokens": "^5.
|
|
65
|
+
"@atlaskit/tokens": "^5.4.0",
|
|
66
66
|
"@atlaskit/tooltip": "^20.3.0",
|
|
67
67
|
"@babel/runtime": "^7.0.0",
|
|
68
68
|
"@emotion/react": "^11.7.1",
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
},
|
|
127
127
|
"dst-a11y__replace-anchor-with-link__editor-core-ex": {
|
|
128
128
|
"type": "boolean"
|
|
129
|
-
},
|
|
130
|
-
"platform_editor_controls_patch_10": {
|
|
131
|
-
"type": "boolean"
|
|
132
129
|
}
|
|
133
130
|
},
|
|
134
131
|
"stricter": {
|