@atlaskit/editor-plugin-panel 8.1.17 → 8.1.19
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 8.1.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
8
|
+
Icon entrypoint migration
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 8.1.18
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 8.1.17
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ var _icons = require("@atlaskit/editor-common/icons");
|
|
|
16
16
|
var _panel = require("@atlaskit/editor-common/panel");
|
|
17
17
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
18
18
|
var _consts = require("@atlaskit/editor-shared-styles/consts");
|
|
19
|
-
var
|
|
19
|
+
var _lightbulb = _interopRequireDefault(require("@atlaskit/icon/core/lightbulb"));
|
|
20
20
|
var _utils = require("../pm-plugins/utils/utils");
|
|
21
21
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ var panelIcons = exports.panelIcons = {
|
|
|
26
26
|
info: _icons.PanelInfoIcon,
|
|
27
27
|
success: _icons.PanelSuccessIcon,
|
|
28
28
|
note: _icons.PanelNoteIcon,
|
|
29
|
-
tip:
|
|
29
|
+
tip: _lightbulb.default,
|
|
30
30
|
warning: _icons.PanelWarningIcon,
|
|
31
31
|
error: _icons.PanelErrorIcon,
|
|
32
32
|
custom: _icons.PanelInfoIcon
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -19,13 +19,13 @@ var _uiColor = require("@atlaskit/editor-common/ui-color");
|
|
|
19
19
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
20
20
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
21
21
|
var _copy = _interopRequireDefault(require("@atlaskit/icon/core/copy"));
|
|
22
|
+
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
22
23
|
var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
|
|
23
24
|
var _emojiRemove = _interopRequireDefault(require("@atlaskit/icon/core/emoji-remove"));
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var _statusWarningEditorWarning = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-warning--editor-warning"));
|
|
25
|
+
var _statusDiscovery = _interopRequireDefault(require("@atlaskit/icon/core/status-discovery"));
|
|
26
|
+
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
27
|
+
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
28
|
+
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
29
29
|
var _remove = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove"));
|
|
30
30
|
var _removeEmoji = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove-emoji"));
|
|
31
31
|
var _actions = require("../editor-actions/actions");
|
|
@@ -60,7 +60,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
60
60
|
var items = areAllNewToolbarFlagsDisabled ? [{
|
|
61
61
|
id: 'editor.panel.info',
|
|
62
62
|
type: 'button',
|
|
63
|
-
icon:
|
|
63
|
+
icon: _statusInformation.default,
|
|
64
64
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.INFO),
|
|
65
65
|
selected: activePanelType === _adfSchema.PanelType.INFO,
|
|
66
66
|
title: formatMessage(_messages.panelMessages.info),
|
|
@@ -68,7 +68,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
68
68
|
}, {
|
|
69
69
|
id: 'editor.panel.note',
|
|
70
70
|
type: 'button',
|
|
71
|
-
icon:
|
|
71
|
+
icon: _statusDiscovery.default,
|
|
72
72
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.NOTE),
|
|
73
73
|
selected: activePanelType === _adfSchema.PanelType.NOTE,
|
|
74
74
|
title: formatMessage(_messages.panelMessages.note),
|
|
@@ -76,7 +76,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
76
76
|
}, {
|
|
77
77
|
id: 'editor.panel.success',
|
|
78
78
|
type: 'button',
|
|
79
|
-
icon:
|
|
79
|
+
icon: _statusSuccess.default,
|
|
80
80
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.SUCCESS),
|
|
81
81
|
selected: activePanelType === _adfSchema.PanelType.SUCCESS,
|
|
82
82
|
title: formatMessage(_messages.panelMessages.success),
|
|
@@ -84,7 +84,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
84
84
|
}, {
|
|
85
85
|
id: 'editor.panel.warning',
|
|
86
86
|
type: 'button',
|
|
87
|
-
icon:
|
|
87
|
+
icon: _statusWarning.default,
|
|
88
88
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.WARNING),
|
|
89
89
|
selected: activePanelType === _adfSchema.PanelType.WARNING,
|
|
90
90
|
title: formatMessage(_messages.panelMessages.warning),
|
|
@@ -92,7 +92,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
92
92
|
}, {
|
|
93
93
|
id: 'editor.panel.error',
|
|
94
94
|
type: 'button',
|
|
95
|
-
icon:
|
|
95
|
+
icon: _crossCircle.default,
|
|
96
96
|
onClick: (0, _actions.changePanelType)(editorAnalyticsAPI)(_adfSchema.PanelType.ERROR),
|
|
97
97
|
selected: activePanelType === _adfSchema.PanelType.ERROR,
|
|
98
98
|
title: formatMessage(_messages.panelMessages.error),
|
|
@@ -9,7 +9,7 @@ import { PanelErrorIcon, PanelInfoIcon, PanelNoteIcon, PanelSuccessIcon, PanelWa
|
|
|
9
9
|
import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
|
|
10
10
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
11
11
|
import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
|
|
12
|
-
import LightbulbIcon from '@atlaskit/icon/core/
|
|
12
|
+
import LightbulbIcon from '@atlaskit/icon/core/lightbulb';
|
|
13
13
|
import { panelAttrsToDom } from '../pm-plugins/utils/utils';
|
|
14
14
|
|
|
15
15
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
@@ -9,13 +9,13 @@ import { DEFAULT_BORDER_COLOR, panelBackgroundPalette } from '@atlaskit/editor-c
|
|
|
9
9
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
10
10
|
import { akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
|
|
11
11
|
import CopyIcon from '@atlaskit/icon/core/copy';
|
|
12
|
+
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
12
13
|
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
13
14
|
import EmojiRemoveIcon from '@atlaskit/icon/core/emoji-remove';
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import WarningIcon from '@atlaskit/icon/core/migration/status-warning--editor-warning';
|
|
15
|
+
import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
16
|
+
import InformationIcon from '@atlaskit/icon/core/status-information';
|
|
17
|
+
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
18
|
+
import WarningIcon from '@atlaskit/icon/core/status-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';
|
|
@@ -62,7 +62,7 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
|
|
|
62
62
|
}, {
|
|
63
63
|
id: 'editor.panel.note',
|
|
64
64
|
type: 'button',
|
|
65
|
-
icon:
|
|
65
|
+
icon: StatusDiscoveryIcon,
|
|
66
66
|
onClick: changePanelType(editorAnalyticsAPI)(PanelType.NOTE),
|
|
67
67
|
selected: activePanelType === PanelType.NOTE,
|
|
68
68
|
title: formatMessage(messages.note),
|
|
@@ -11,7 +11,7 @@ import { PanelErrorIcon, PanelInfoIcon, PanelNoteIcon, PanelSuccessIcon, PanelWa
|
|
|
11
11
|
import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
|
|
12
12
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
13
13
|
import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
|
|
14
|
-
import LightbulbIcon from '@atlaskit/icon/core/
|
|
14
|
+
import LightbulbIcon from '@atlaskit/icon/core/lightbulb';
|
|
15
15
|
import { panelAttrsToDom } from '../pm-plugins/utils/utils';
|
|
16
16
|
|
|
17
17
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -13,13 +13,13 @@ import { DEFAULT_BORDER_COLOR, panelBackgroundPalette } from '@atlaskit/editor-c
|
|
|
13
13
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
14
14
|
import { akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
|
|
15
15
|
import CopyIcon from '@atlaskit/icon/core/copy';
|
|
16
|
+
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
16
17
|
import DeleteIcon from '@atlaskit/icon/core/delete';
|
|
17
18
|
import EmojiRemoveIcon from '@atlaskit/icon/core/emoji-remove';
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import WarningIcon from '@atlaskit/icon/core/migration/status-warning--editor-warning';
|
|
19
|
+
import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
20
|
+
import InformationIcon from '@atlaskit/icon/core/status-information';
|
|
21
|
+
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
22
|
+
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
23
23
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
24
24
|
import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
|
|
25
25
|
import { changePanelType, removePanel } from '../editor-actions/actions';
|
|
@@ -59,7 +59,7 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
|
|
|
59
59
|
}, {
|
|
60
60
|
id: 'editor.panel.note',
|
|
61
61
|
type: 'button',
|
|
62
|
-
icon:
|
|
62
|
+
icon: StatusDiscoveryIcon,
|
|
63
63
|
onClick: changePanelType(editorAnalyticsAPI)(PanelType.NOTE),
|
|
64
64
|
selected: activePanelType === PanelType.NOTE,
|
|
65
65
|
title: formatMessage(messages.note),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.19",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,28 +27,28 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^51.5.
|
|
30
|
+
"@atlaskit/adf-schema": "^51.5.0",
|
|
31
31
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
33
|
-
"@atlaskit/editor-plugin-block-menu": "^5.
|
|
33
|
+
"@atlaskit/editor-plugin-block-menu": "^5.2.0",
|
|
34
34
|
"@atlaskit/editor-plugin-decorations": "^6.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-emoji": "^7.7.0",
|
|
36
36
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-toolbar": "^3.4.0",
|
|
38
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
38
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
40
40
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
41
|
-
"@atlaskit/emoji": "^69.
|
|
42
|
-
"@atlaskit/icon": "^29.
|
|
41
|
+
"@atlaskit/emoji": "^69.9.0",
|
|
42
|
+
"@atlaskit/icon": "^29.1.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^21.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
-
"@atlaskit/tokens": "^8.
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
46
|
+
"@atlaskit/tokens": "^8.5.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.44.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"
|