@atlaskit/editor-plugin-panel 5.2.0 → 5.2.1
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 +6 -6
- package/dist/es2019/ui/toolbar.js +3 -3
- package/dist/esm/ui/toolbar.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 5.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
|
|
8
|
+
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
|
|
9
|
+
Migrated usage of renamed/deprecated icons
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 5.2.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -22,9 +22,9 @@ var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
|
|
|
22
22
|
var _emojiRemove = _interopRequireDefault(require("@atlaskit/icon/core/emoji-remove"));
|
|
23
23
|
var _crossCircleEditorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross-circle--editor-error"));
|
|
24
24
|
var _discoveryEditorNote = _interopRequireDefault(require("@atlaskit/icon/core/migration/discovery--editor-note"));
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
25
|
+
var _statusInformationEditorInfo = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-information--editor-info"));
|
|
26
|
+
var _statusSuccessEditorSuccess = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-success--editor-success"));
|
|
27
|
+
var _statusWarningEditorWarning = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-warning--editor-warning"));
|
|
28
28
|
var _remove = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove"));
|
|
29
29
|
var _removeEmoji = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove-emoji"));
|
|
30
30
|
var _actions = require("../editor-actions/actions");
|
|
@@ -58,7 +58,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
58
58
|
var items = isNewEditorToolbarDisabled ? [{
|
|
59
59
|
id: 'editor.panel.info',
|
|
60
60
|
type: 'button',
|
|
61
|
-
icon:
|
|
61
|
+
icon: _statusInformationEditorInfo.default,
|
|
62
62
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.INFO),
|
|
63
63
|
selected: activePanelType === _adfSchema.PanelType.INFO,
|
|
64
64
|
title: formatMessage(_messages.panelMessages.info),
|
|
@@ -74,7 +74,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
74
74
|
}, {
|
|
75
75
|
id: 'editor.panel.success',
|
|
76
76
|
type: 'button',
|
|
77
|
-
icon:
|
|
77
|
+
icon: _statusSuccessEditorSuccess.default,
|
|
78
78
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.SUCCESS),
|
|
79
79
|
selected: activePanelType === _adfSchema.PanelType.SUCCESS,
|
|
80
80
|
title: formatMessage(_messages.panelMessages.success),
|
|
@@ -82,7 +82,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
82
82
|
}, {
|
|
83
83
|
id: 'editor.panel.warning',
|
|
84
84
|
type: 'button',
|
|
85
|
-
icon:
|
|
85
|
+
icon: _statusWarningEditorWarning.default,
|
|
86
86
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.WARNING),
|
|
87
87
|
selected: activePanelType === _adfSchema.PanelType.WARNING,
|
|
88
88
|
title: formatMessage(_messages.panelMessages.warning),
|
|
@@ -13,9 +13,9 @@ import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
|
13
13
|
import EmojiRemoveIcon from '@atlaskit/icon/core/emoji-remove';
|
|
14
14
|
import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle--editor-error';
|
|
15
15
|
import DiscoveryIcon from '@atlaskit/icon/core/migration/discovery--editor-note';
|
|
16
|
-
import InformationIcon from '@atlaskit/icon/core/migration/information--editor-info';
|
|
17
|
-
import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
|
|
18
|
-
import WarningIcon from '@atlaskit/icon/core/migration/warning--editor-warning';
|
|
16
|
+
import InformationIcon from '@atlaskit/icon/core/migration/status-information--editor-info';
|
|
17
|
+
import SuccessIcon from '@atlaskit/icon/core/migration/status-success--editor-success';
|
|
18
|
+
import WarningIcon from '@atlaskit/icon/core/migration/status-warning--editor-warning';
|
|
19
19
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
20
20
|
import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
|
|
21
21
|
import { changePanelType, removePanel } from '../editor-actions/actions';
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -16,9 +16,9 @@ import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
|
16
16
|
import EmojiRemoveIcon from '@atlaskit/icon/core/emoji-remove';
|
|
17
17
|
import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle--editor-error';
|
|
18
18
|
import DiscoveryIcon from '@atlaskit/icon/core/migration/discovery--editor-note';
|
|
19
|
-
import InformationIcon from '@atlaskit/icon/core/migration/information--editor-info';
|
|
20
|
-
import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
|
|
21
|
-
import WarningIcon from '@atlaskit/icon/core/migration/warning--editor-warning';
|
|
19
|
+
import InformationIcon from '@atlaskit/icon/core/migration/status-information--editor-info';
|
|
20
|
+
import SuccessIcon from '@atlaskit/icon/core/migration/status-success--editor-success';
|
|
21
|
+
import WarningIcon from '@atlaskit/icon/core/migration/status-warning--editor-warning';
|
|
22
22
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
23
23
|
import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
|
|
24
24
|
import { changePanelType, removePanel } from '../editor-actions/actions';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-decorations": "^3.0.0",
|
|
37
|
-
"@atlaskit/editor-plugin-emoji": "^4.
|
|
37
|
+
"@atlaskit/editor-plugin-emoji": "^4.2.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.5.0",
|
|
40
40
|
"@atlaskit/emoji": "^69.3.0",
|