@atlaskit/editor-plugin-panel 8.1.19 → 8.2.0
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 +11 -0
- package/dist/cjs/ui/toolbar.js +0 -4
- package/dist/es2019/ui/toolbar.js +0 -4
- package/dist/esm/ui/toolbar.js +0 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 8.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
|
|
8
|
+
Migrated and cleaned up legacy iconography usage.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 8.1.19
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -26,8 +26,6 @@ var _statusDiscovery = _interopRequireDefault(require("@atlaskit/icon/core/statu
|
|
|
26
26
|
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
27
27
|
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
28
28
|
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
29
|
-
var _remove = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove"));
|
|
30
|
-
var _removeEmoji = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove-emoji"));
|
|
31
29
|
var _actions = require("../editor-actions/actions");
|
|
32
30
|
var _utils2 = require("../pm-plugins/utils/utils");
|
|
33
31
|
var _panelTypeDropdown = require("./panelTypeDropdown");
|
|
@@ -237,7 +235,6 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
237
235
|
type: 'button',
|
|
238
236
|
icon: function icon() {
|
|
239
237
|
return /*#__PURE__*/_react.default.createElement(_emojiRemove.default, {
|
|
240
|
-
LEGACY_fallbackIcon: _removeEmoji.default,
|
|
241
238
|
spacing: 'spacious',
|
|
242
239
|
label: ''
|
|
243
240
|
});
|
|
@@ -274,7 +271,6 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
274
271
|
focusEditoronEnter: true,
|
|
275
272
|
icon: function icon() {
|
|
276
273
|
return /*#__PURE__*/_react.default.createElement(_delete.default, {
|
|
277
|
-
LEGACY_fallbackIcon: _remove.default,
|
|
278
274
|
spacing: 'spacious',
|
|
279
275
|
label: ''
|
|
280
276
|
});
|
|
@@ -16,8 +16,6 @@ import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
|
16
16
|
import InformationIcon from '@atlaskit/icon/core/status-information';
|
|
17
17
|
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
18
18
|
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
19
|
-
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
20
|
-
import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
|
|
21
19
|
import { changePanelType, removePanel } from '../editor-actions/actions';
|
|
22
20
|
import { findPanel } from '../pm-plugins/utils/utils';
|
|
23
21
|
import { panelTypeDropdown } from './panelTypeDropdown';
|
|
@@ -220,7 +218,6 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
|
|
|
220
218
|
id: 'editor.panel.removeEmoji',
|
|
221
219
|
type: 'button',
|
|
222
220
|
icon: () => /*#__PURE__*/React.createElement(EmojiRemoveIcon, {
|
|
223
|
-
LEGACY_fallbackIcon: RemoveEmojiIcon,
|
|
224
221
|
spacing: 'spacious',
|
|
225
222
|
label: ''
|
|
226
223
|
}),
|
|
@@ -255,7 +252,6 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
|
|
|
255
252
|
appearance: 'danger',
|
|
256
253
|
focusEditoronEnter: true,
|
|
257
254
|
icon: () => /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
258
|
-
LEGACY_fallbackIcon: RemoveIcon,
|
|
259
255
|
spacing: 'spacious',
|
|
260
256
|
label: ''
|
|
261
257
|
}),
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -20,8 +20,6 @@ import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
|
20
20
|
import InformationIcon from '@atlaskit/icon/core/status-information';
|
|
21
21
|
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
22
22
|
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
23
|
-
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
24
|
-
import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
|
|
25
23
|
import { changePanelType, removePanel } from '../editor-actions/actions';
|
|
26
24
|
import { findPanel } from '../pm-plugins/utils/utils';
|
|
27
25
|
import { panelTypeDropdown } from './panelTypeDropdown';
|
|
@@ -228,7 +226,6 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
|
|
|
228
226
|
type: 'button',
|
|
229
227
|
icon: function icon() {
|
|
230
228
|
return /*#__PURE__*/React.createElement(EmojiRemoveIcon, {
|
|
231
|
-
LEGACY_fallbackIcon: RemoveEmojiIcon,
|
|
232
229
|
spacing: 'spacious',
|
|
233
230
|
label: ''
|
|
234
231
|
});
|
|
@@ -265,7 +262,6 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
|
|
|
265
262
|
focusEditoronEnter: true,
|
|
266
263
|
icon: function icon() {
|
|
267
264
|
return /*#__PURE__*/React.createElement(DeleteIcon, {
|
|
268
|
-
LEGACY_fallbackIcon: RemoveIcon,
|
|
269
265
|
spacing: 'spacious',
|
|
270
266
|
label: ''
|
|
271
267
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
40
40
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
41
41
|
"@atlaskit/emoji": "^69.9.0",
|
|
42
|
-
"@atlaskit/icon": "^29.
|
|
42
|
+
"@atlaskit/icon": "^29.2.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^21.0.0",
|
|
45
45
|
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
46
|
-
"@atlaskit/tokens": "^8.
|
|
46
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@atlaskit/editor-common": "^110.
|
|
51
|
+
"@atlaskit/editor-common": "^110.45.0",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0",
|
|
54
54
|
"react-intl-next": "npm:react-intl@^5.18.1"
|