@atlaskit/editor-plugin-panel 4.3.1 → 4.3.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 +9 -0
- package/dist/cjs/ui/toolbar.js +4 -4
- package/dist/es2019/ui/toolbar.js +4 -4
- package/dist/esm/ui/toolbar.js +4 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 4.3.2
|
|
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
|
## 4.3.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -300,7 +300,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
300
300
|
}, {
|
|
301
301
|
type: 'overflow-dropdown',
|
|
302
302
|
options: [_objectSpread({
|
|
303
|
-
title:
|
|
303
|
+
title: formatMessage(_messages.default.copyToClipboard),
|
|
304
304
|
onClick: function onClick() {
|
|
305
305
|
var _api$core, _api$floatingToolbar;
|
|
306
306
|
api === null || api === void 0 || (_api$core = api.core) === null || _api$core === void 0 || _api$core.actions.execute( // @ts-ignore
|
|
@@ -308,13 +308,13 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
308
308
|
return true;
|
|
309
309
|
},
|
|
310
310
|
icon: /*#__PURE__*/_react.default.createElement(_copy.default, {
|
|
311
|
-
label: "
|
|
311
|
+
label: ""
|
|
312
312
|
})
|
|
313
313
|
}, hoverDecorationProps(panelNodeType, _editorSharedStyles.akEditorSelectedNodeClassName)), _objectSpread({
|
|
314
|
-
title:
|
|
314
|
+
title: formatMessage(_messages.default.delete),
|
|
315
315
|
onClick: (0, _actions.removePanel)(editorAnalyticsAPI),
|
|
316
316
|
icon: /*#__PURE__*/_react.default.createElement(_delete.default, {
|
|
317
|
-
label: "
|
|
317
|
+
label: ""
|
|
318
318
|
})
|
|
319
319
|
}, hoverDecorationProps(panelNodeType))]
|
|
320
320
|
}];
|
|
@@ -278,7 +278,7 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
|
|
|
278
278
|
}, {
|
|
279
279
|
type: 'overflow-dropdown',
|
|
280
280
|
options: [{
|
|
281
|
-
title:
|
|
281
|
+
title: formatMessage(commonMessages.copyToClipboard),
|
|
282
282
|
onClick: () => {
|
|
283
283
|
var _api$core, _api$floatingToolbar;
|
|
284
284
|
api === null || api === void 0 ? void 0 : (_api$core = api.core) === null || _api$core === void 0 ? void 0 : _api$core.actions.execute( // @ts-ignore
|
|
@@ -286,14 +286,14 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
|
|
|
286
286
|
return true;
|
|
287
287
|
},
|
|
288
288
|
icon: /*#__PURE__*/React.createElement(CopyIcon, {
|
|
289
|
-
label: "
|
|
289
|
+
label: ""
|
|
290
290
|
}),
|
|
291
291
|
...hoverDecorationProps(panelNodeType, akEditorSelectedNodeClassName)
|
|
292
292
|
}, {
|
|
293
|
-
title:
|
|
293
|
+
title: formatMessage(commonMessages.delete),
|
|
294
294
|
onClick: removePanel(editorAnalyticsAPI),
|
|
295
295
|
icon: /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
296
|
-
label: "
|
|
296
|
+
label: ""
|
|
297
297
|
}),
|
|
298
298
|
...hoverDecorationProps(panelNodeType)
|
|
299
299
|
}]
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -290,7 +290,7 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
|
|
|
290
290
|
}, {
|
|
291
291
|
type: 'overflow-dropdown',
|
|
292
292
|
options: [_objectSpread({
|
|
293
|
-
title:
|
|
293
|
+
title: formatMessage(commonMessages.copyToClipboard),
|
|
294
294
|
onClick: function onClick() {
|
|
295
295
|
var _api$core, _api$floatingToolbar;
|
|
296
296
|
api === null || api === void 0 || (_api$core = api.core) === null || _api$core === void 0 || _api$core.actions.execute( // @ts-ignore
|
|
@@ -298,13 +298,13 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
|
|
|
298
298
|
return true;
|
|
299
299
|
},
|
|
300
300
|
icon: /*#__PURE__*/React.createElement(CopyIcon, {
|
|
301
|
-
label: "
|
|
301
|
+
label: ""
|
|
302
302
|
})
|
|
303
303
|
}, hoverDecorationProps(panelNodeType, akEditorSelectedNodeClassName)), _objectSpread({
|
|
304
|
-
title:
|
|
304
|
+
title: formatMessage(commonMessages.delete),
|
|
305
305
|
onClick: removePanel(editorAnalyticsAPI),
|
|
306
306
|
icon: /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
307
|
-
label: "
|
|
307
|
+
label: ""
|
|
308
308
|
})
|
|
309
309
|
}, hoverDecorationProps(panelNodeType))]
|
|
310
310
|
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
35
|
-
"@atlaskit/editor-common": "^102.
|
|
35
|
+
"@atlaskit/editor-common": "^102.18.0",
|
|
36
36
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^2.0.0",
|
|
39
|
-
"@atlaskit/editor-plugin-emoji": "^3.
|
|
39
|
+
"@atlaskit/editor-plugin-emoji": "^3.4.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
42
42
|
"@atlaskit/emoji": "^69.0.0",
|
|
43
|
-
"@atlaskit/icon": "^25.
|
|
43
|
+
"@atlaskit/icon": "^25.5.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/theme": "^18.0.0",
|
|
46
46
|
"@atlaskit/tmp-editor-statsig": "^4.6.0",
|
|
47
|
-
"@atlaskit/tokens": "^4.
|
|
47
|
+
"@atlaskit/tokens": "^4.6.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"uuid": "^3.1.0"
|
|
50
50
|
},
|