@atlaskit/editor-plugin-extension 5.1.2 → 5.1.3
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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 5.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#135586](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/135586)
|
|
8
|
+
[`3aeba66081612`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3aeba66081612) -
|
|
9
|
+
ED-26593 Add missing i18n for editor control
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 5.1.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -373,7 +373,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
|
|
|
373
373
|
}, {
|
|
374
374
|
type: 'overflow-dropdown',
|
|
375
375
|
options: [_objectSpread({
|
|
376
|
-
title:
|
|
376
|
+
title: formatMessage(_messages.default.copyToClipboard),
|
|
377
377
|
onClick: function onClick() {
|
|
378
378
|
var _extensionApi$core, _extensionApi$floatin;
|
|
379
379
|
extensionApi === null || extensionApi === void 0 || (_extensionApi$core = extensionApi.core) === null || _extensionApi$core === void 0 || _extensionApi$core.actions.execute( // @ts-ignore
|
|
@@ -381,13 +381,13 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
|
|
|
381
381
|
return true;
|
|
382
382
|
},
|
|
383
383
|
icon: /*#__PURE__*/_react.default.createElement(_copy.default, {
|
|
384
|
-
label: "
|
|
384
|
+
label: ""
|
|
385
385
|
})
|
|
386
386
|
}, hoverDecorationProps(nodeType, _editorSharedStyles.akEditorSelectedNodeClassName)), _objectSpread({
|
|
387
|
-
title:
|
|
387
|
+
title: formatMessage(_messages.default.delete),
|
|
388
388
|
onClick: (0, _commands.removeExtension)(editorAnalyticsAPI),
|
|
389
389
|
icon: /*#__PURE__*/_react.default.createElement(_delete.default, {
|
|
390
|
-
label: "
|
|
390
|
+
label: ""
|
|
391
391
|
})
|
|
392
392
|
}, hoverDecorationProps(nodeType))]
|
|
393
393
|
}])),
|
|
@@ -363,7 +363,7 @@ export const getToolbarConfig = ({
|
|
|
363
363
|
}, {
|
|
364
364
|
type: 'overflow-dropdown',
|
|
365
365
|
options: [{
|
|
366
|
-
title:
|
|
366
|
+
title: formatMessage(commonMessages.copyToClipboard),
|
|
367
367
|
onClick: () => {
|
|
368
368
|
var _extensionApi$core, _extensionApi$floatin;
|
|
369
369
|
extensionApi === null || extensionApi === void 0 ? void 0 : (_extensionApi$core = extensionApi.core) === null || _extensionApi$core === void 0 ? void 0 : _extensionApi$core.actions.execute( // @ts-ignore
|
|
@@ -371,14 +371,14 @@ export const getToolbarConfig = ({
|
|
|
371
371
|
return true;
|
|
372
372
|
},
|
|
373
373
|
icon: /*#__PURE__*/React.createElement(CopyIcon, {
|
|
374
|
-
label: "
|
|
374
|
+
label: ""
|
|
375
375
|
}),
|
|
376
376
|
...hoverDecorationProps(nodeType, akEditorSelectedNodeClassName)
|
|
377
377
|
}, {
|
|
378
|
-
title:
|
|
378
|
+
title: formatMessage(commonMessages.delete),
|
|
379
379
|
onClick: removeExtension(editorAnalyticsAPI),
|
|
380
380
|
icon: /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
381
|
-
label: "
|
|
381
|
+
label: ""
|
|
382
382
|
}),
|
|
383
383
|
...hoverDecorationProps(nodeType)
|
|
384
384
|
}]
|
|
@@ -367,7 +367,7 @@ export var getToolbarConfig = function getToolbarConfig(_ref) {
|
|
|
367
367
|
}, {
|
|
368
368
|
type: 'overflow-dropdown',
|
|
369
369
|
options: [_objectSpread({
|
|
370
|
-
title:
|
|
370
|
+
title: formatMessage(commonMessages.copyToClipboard),
|
|
371
371
|
onClick: function onClick() {
|
|
372
372
|
var _extensionApi$core, _extensionApi$floatin;
|
|
373
373
|
extensionApi === null || extensionApi === void 0 || (_extensionApi$core = extensionApi.core) === null || _extensionApi$core === void 0 || _extensionApi$core.actions.execute( // @ts-ignore
|
|
@@ -375,13 +375,13 @@ export var getToolbarConfig = function getToolbarConfig(_ref) {
|
|
|
375
375
|
return true;
|
|
376
376
|
},
|
|
377
377
|
icon: /*#__PURE__*/React.createElement(CopyIcon, {
|
|
378
|
-
label: "
|
|
378
|
+
label: ""
|
|
379
379
|
})
|
|
380
380
|
}, hoverDecorationProps(nodeType, akEditorSelectedNodeClassName)), _objectSpread({
|
|
381
|
-
title:
|
|
381
|
+
title: formatMessage(commonMessages.delete),
|
|
382
382
|
onClick: removeExtension(editorAnalyticsAPI),
|
|
383
383
|
icon: /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
384
|
-
label: "
|
|
384
|
+
label: ""
|
|
385
385
|
})
|
|
386
386
|
}, hoverDecorationProps(nodeType))]
|
|
387
387
|
}])),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.3",
|
|
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.0.0",
|
|
33
33
|
"@atlaskit/checkbox": "^17.0.0",
|
|
34
34
|
"@atlaskit/datetime-picker": "^16.2.0",
|
|
35
|
-
"@atlaskit/editor-common": "^102.
|
|
35
|
+
"@atlaskit/editor-common": "^102.18.0",
|
|
36
36
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-context-identifier": "^2.0.0",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@atlaskit/empty-state": "^9.0.0",
|
|
47
47
|
"@atlaskit/form": "^12.0.0",
|
|
48
48
|
"@atlaskit/heading": "^5.1.0",
|
|
49
|
-
"@atlaskit/icon": "^25.
|
|
49
|
+
"@atlaskit/icon": "^25.5.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
|
-
"@atlaskit/primitives": "^14.
|
|
51
|
+
"@atlaskit/primitives": "^14.3.0",
|
|
52
52
|
"@atlaskit/radio": "^8.0.0",
|
|
53
53
|
"@atlaskit/section-message": "^8.2.0",
|
|
54
54
|
"@atlaskit/select": "^20.0.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/theme": "^18.0.0",
|
|
61
61
|
"@atlaskit/tmp-editor-statsig": "^4.6.0",
|
|
62
62
|
"@atlaskit/toggle": "^15.0.0",
|
|
63
|
-
"@atlaskit/tokens": "^4.
|
|
63
|
+
"@atlaskit/tokens": "^4.6.0",
|
|
64
64
|
"@atlaskit/tooltip": "^20.0.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|
|
66
66
|
"@emotion/react": "^11.7.1",
|