@atlaskit/editor-plugin-extension 5.4.0 → 5.4.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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 5.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 5.4.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#159307](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159307)
|
|
14
|
+
[`5d1aacb58cf0b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5d1aacb58cf0b) -
|
|
15
|
+
[ED-27898] Fix a bug where delete button for extension nodes sometimes does not delete the node
|
|
16
|
+
when clicked
|
|
17
|
+
|
|
3
18
|
## 5.4.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -342,7 +342,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
|
|
|
342
342
|
}, {
|
|
343
343
|
id: 'editor.extension.delete',
|
|
344
344
|
type: 'button',
|
|
345
|
-
icon: function
|
|
345
|
+
icon: (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_10') ? _delete.default : function () {
|
|
346
346
|
return /*#__PURE__*/_react.default.createElement(_delete.default, {
|
|
347
347
|
label: formatMessage(_messages.default.remove),
|
|
348
348
|
spacing: "spacious"
|
|
@@ -331,7 +331,7 @@ export const getToolbarConfig = ({
|
|
|
331
331
|
}, {
|
|
332
332
|
id: 'editor.extension.delete',
|
|
333
333
|
type: 'button',
|
|
334
|
-
icon: () => /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
334
|
+
icon: editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_10') ? DeleteIcon : () => /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
335
335
|
label: formatMessage(commonMessages.remove),
|
|
336
336
|
spacing: "spacious"
|
|
337
337
|
}),
|
|
@@ -336,7 +336,7 @@ export var getToolbarConfig = function getToolbarConfig(_ref) {
|
|
|
336
336
|
}, {
|
|
337
337
|
id: 'editor.extension.delete',
|
|
338
338
|
type: 'button',
|
|
339
|
-
icon: function
|
|
339
|
+
icon: editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_10') ? DeleteIcon : function () {
|
|
340
340
|
return /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
341
341
|
label: formatMessage(commonMessages.remove),
|
|
342
342
|
spacing: "spacious"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
29
|
-
"@atlaskit/adf-utils": "^19.
|
|
29
|
+
"@atlaskit/adf-utils": "^19.20.0",
|
|
30
30
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
31
31
|
"@atlaskit/avatar": "^25.1.0",
|
|
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": "^105.
|
|
35
|
+
"@atlaskit/editor-common": "^105.10.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",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@atlaskit/empty-state": "^10.0.0",
|
|
48
48
|
"@atlaskit/form": "^12.0.0",
|
|
49
49
|
"@atlaskit/heading": "^5.2.0",
|
|
50
|
-
"@atlaskit/icon": "^26.
|
|
50
|
+
"@atlaskit/icon": "^26.3.0",
|
|
51
51
|
"@atlaskit/link": "^3.2.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/primitives": "^14.8.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
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": "^
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^5.0.0",
|
|
64
64
|
"@atlaskit/toggle": "^15.0.0",
|
|
65
65
|
"@atlaskit/tokens": "^4.9.0",
|
|
66
66
|
"@atlaskit/tooltip": "^20.0.0",
|
|
@@ -134,6 +134,9 @@
|
|
|
134
134
|
},
|
|
135
135
|
"dst-a11y__replace-anchor-with-link__editor-core-ex": {
|
|
136
136
|
"type": "boolean"
|
|
137
|
+
},
|
|
138
|
+
"platform_editor_controls_patch_10": {
|
|
139
|
+
"type": "boolean"
|
|
137
140
|
}
|
|
138
141
|
},
|
|
139
142
|
"stricter": {
|