@atlaskit/editor-plugin-panel 5.0.0 → 5.1.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
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 5.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 5.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#175869](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175869)
|
|
14
|
+
[`e7f822af7edc1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e7f822af7edc1) -
|
|
15
|
+
Updated usages of deprecated icons with replacement icons
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 5.0.0
|
|
4
22
|
|
|
5
23
|
### Major Changes
|
|
@@ -10,32 +10,32 @@ var _adfSchema = require("@atlaskit/adf-schema");
|
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
12
12
|
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
13
|
+
var _statusDiscovery = _interopRequireDefault(require("@atlaskit/icon/core/status-discovery"));
|
|
14
|
+
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
15
|
+
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
16
|
+
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
17
17
|
var _actions = require("../editor-actions/actions");
|
|
18
18
|
var panelTitleAndIcon = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _adfSchema.PanelType.INFO, {
|
|
19
19
|
title: _messages.panelMessages.info,
|
|
20
|
-
icon: (0,
|
|
20
|
+
icon: (0, _statusInformation.default)({
|
|
21
21
|
label: 'info-icon',
|
|
22
22
|
color: "var(--ds-icon-information, #1D7AFC)"
|
|
23
23
|
})
|
|
24
24
|
}), _adfSchema.PanelType.NOTE, {
|
|
25
25
|
title: _messages.panelMessages.note,
|
|
26
|
-
icon: (0,
|
|
26
|
+
icon: (0, _statusDiscovery.default)({
|
|
27
27
|
label: 'note-icon',
|
|
28
28
|
color: "var(--ds-icon-discovery, #8270DB)"
|
|
29
29
|
})
|
|
30
30
|
}), _adfSchema.PanelType.SUCCESS, {
|
|
31
31
|
title: _messages.panelMessages.success,
|
|
32
|
-
icon: (0,
|
|
32
|
+
icon: (0, _statusSuccess.default)({
|
|
33
33
|
label: 'success-icon',
|
|
34
34
|
color: "var(--ds-icon-success, #22A06B)"
|
|
35
35
|
})
|
|
36
36
|
}), _adfSchema.PanelType.WARNING, {
|
|
37
37
|
title: _messages.panelMessages.warning,
|
|
38
|
-
icon: (0,
|
|
38
|
+
icon: (0, _statusWarning.default)({
|
|
39
39
|
label: 'warning-icon',
|
|
40
40
|
color: "var(--ds-icon-warning, #E56910)"
|
|
41
41
|
})
|
|
@@ -2,36 +2,36 @@ import { PanelType } from '@atlaskit/adf-schema';
|
|
|
2
2
|
import { panelMessages as messages } from '@atlaskit/editor-common/messages';
|
|
3
3
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
4
4
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
5
|
+
import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
6
|
+
import StatusInformationIcon from '@atlaskit/icon/core/status-information';
|
|
7
|
+
import StatusSuccessIcon from '@atlaskit/icon/core/status-success';
|
|
8
|
+
import StatusWarningIcon from '@atlaskit/icon/core/status-warning';
|
|
9
9
|
import { changePanelType } from '../editor-actions/actions';
|
|
10
10
|
const panelTitleAndIcon = {
|
|
11
11
|
[PanelType.INFO]: {
|
|
12
12
|
title: messages.info,
|
|
13
|
-
icon:
|
|
13
|
+
icon: StatusInformationIcon({
|
|
14
14
|
label: 'info-icon',
|
|
15
15
|
color: "var(--ds-icon-information, #1D7AFC)"
|
|
16
16
|
})
|
|
17
17
|
},
|
|
18
18
|
[PanelType.NOTE]: {
|
|
19
19
|
title: messages.note,
|
|
20
|
-
icon:
|
|
20
|
+
icon: StatusDiscoveryIcon({
|
|
21
21
|
label: 'note-icon',
|
|
22
22
|
color: "var(--ds-icon-discovery, #8270DB)"
|
|
23
23
|
})
|
|
24
24
|
},
|
|
25
25
|
[PanelType.SUCCESS]: {
|
|
26
26
|
title: messages.success,
|
|
27
|
-
icon:
|
|
27
|
+
icon: StatusSuccessIcon({
|
|
28
28
|
label: 'success-icon',
|
|
29
29
|
color: "var(--ds-icon-success, #22A06B)"
|
|
30
30
|
})
|
|
31
31
|
},
|
|
32
32
|
[PanelType.WARNING]: {
|
|
33
33
|
title: messages.warning,
|
|
34
|
-
icon:
|
|
34
|
+
icon: StatusWarningIcon({
|
|
35
35
|
label: 'warning-icon',
|
|
36
36
|
color: "var(--ds-icon-warning, #E56910)"
|
|
37
37
|
})
|
|
@@ -3,32 +3,32 @@ import { PanelType } from '@atlaskit/adf-schema';
|
|
|
3
3
|
import { panelMessages as messages } from '@atlaskit/editor-common/messages';
|
|
4
4
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
5
5
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
6
|
+
import StatusDiscoveryIcon from '@atlaskit/icon/core/status-discovery';
|
|
7
|
+
import StatusInformationIcon from '@atlaskit/icon/core/status-information';
|
|
8
|
+
import StatusSuccessIcon from '@atlaskit/icon/core/status-success';
|
|
9
|
+
import StatusWarningIcon from '@atlaskit/icon/core/status-warning';
|
|
10
10
|
import { changePanelType } from '../editor-actions/actions';
|
|
11
11
|
var panelTitleAndIcon = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, PanelType.INFO, {
|
|
12
12
|
title: messages.info,
|
|
13
|
-
icon:
|
|
13
|
+
icon: StatusInformationIcon({
|
|
14
14
|
label: 'info-icon',
|
|
15
15
|
color: "var(--ds-icon-information, #1D7AFC)"
|
|
16
16
|
})
|
|
17
17
|
}), PanelType.NOTE, {
|
|
18
18
|
title: messages.note,
|
|
19
|
-
icon:
|
|
19
|
+
icon: StatusDiscoveryIcon({
|
|
20
20
|
label: 'note-icon',
|
|
21
21
|
color: "var(--ds-icon-discovery, #8270DB)"
|
|
22
22
|
})
|
|
23
23
|
}), PanelType.SUCCESS, {
|
|
24
24
|
title: messages.success,
|
|
25
|
-
icon:
|
|
25
|
+
icon: StatusSuccessIcon({
|
|
26
26
|
label: 'success-icon',
|
|
27
27
|
color: "var(--ds-icon-success, #22A06B)"
|
|
28
28
|
})
|
|
29
29
|
}), PanelType.WARNING, {
|
|
30
30
|
title: messages.warning,
|
|
31
|
-
icon:
|
|
31
|
+
icon: StatusWarningIcon({
|
|
32
32
|
label: 'warning-icon',
|
|
33
33
|
color: "var(--ds-icon-warning, #E56910)"
|
|
34
34
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
40
40
|
"@atlaskit/emoji": "^69.3.0",
|
|
41
|
-
"@atlaskit/icon": "^27.
|
|
41
|
+
"@atlaskit/icon": "^27.3.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/theme": "^18.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^9.0.0",
|
|
45
45
|
"@atlaskit/tokens": "^5.4.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"uuid": "^3.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@atlaskit/editor-common": "^107.
|
|
50
|
+
"@atlaskit/editor-common": "^107.7.0",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-dom": "^18.2.0",
|
|
53
53
|
"react-intl-next": "npm:react-intl@^5.18.1"
|