@atlaskit/editor-plugin-panel 8.0.10 → 8.0.12
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 +16 -1
- package/dist/cjs/ui/toolbar.js +1 -2
- package/dist/es2019/ui/toolbar.js +1 -2
- package/dist/esm/ui/toolbar.js +1 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 8.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.0.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ef001bf65d48f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef001bf65d48f) -
|
|
14
|
+
Remove usage of `platform_editor_toolbar_aifc` inside editor packages - instead rely on checking
|
|
15
|
+
for new toolbar plugin option, make `enableNewToolbarExperience` mandatory for consumers to opt in
|
|
16
|
+
to new toolbar experience
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 8.0.10
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -435,7 +451,6 @@
|
|
|
435
451
|
shared context or singletons.
|
|
436
452
|
|
|
437
453
|
**HOW TO ADJUST:**
|
|
438
|
-
|
|
439
454
|
- Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
|
|
440
455
|
any of these editor plugins.
|
|
441
456
|
- Ensure the version you install matches the version required by the plugins.
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -28,7 +28,6 @@ var _statusSuccessEditorSuccess = _interopRequireDefault(require("@atlaskit/icon
|
|
|
28
28
|
var _statusWarningEditorWarning = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-warning--editor-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
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
32
31
|
var _actions = require("../editor-actions/actions");
|
|
33
32
|
var _utils2 = require("../pm-plugins/utils/utils");
|
|
34
33
|
var _panelTypeDropdown = require("./panelTypeDropdown");
|
|
@@ -102,7 +101,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
|
|
|
102
101
|
activePanelType: activePanelType,
|
|
103
102
|
editorAnalyticsAPI: editorAnalyticsAPI,
|
|
104
103
|
formatMessage: formatMessage
|
|
105
|
-
})].concat((0, _toConsumableArray2.default)(Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
104
|
+
})].concat((0, _toConsumableArray2.default)(Boolean(api === null || api === void 0 ? void 0 : api.toolbar) ? [] : [{
|
|
106
105
|
type: 'separator'
|
|
107
106
|
}]));
|
|
108
107
|
if (isCustomPanelEnabled) {
|
|
@@ -18,7 +18,6 @@ import SuccessIcon from '@atlaskit/icon/core/migration/status-success--editor-su
|
|
|
18
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
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
22
21
|
import { changePanelType, removePanel } from '../editor-actions/actions';
|
|
23
22
|
import { findPanel } from '../pm-plugins/utils/utils';
|
|
24
23
|
import { panelTypeDropdown } from './panelTypeDropdown';
|
|
@@ -96,7 +95,7 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
|
|
|
96
95
|
activePanelType,
|
|
97
96
|
editorAnalyticsAPI,
|
|
98
97
|
formatMessage
|
|
99
|
-
}), ...(Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
98
|
+
}), ...(Boolean(api === null || api === void 0 ? void 0 : api.toolbar) ? [] : [{
|
|
100
99
|
type: 'separator'
|
|
101
100
|
}])];
|
|
102
101
|
if (isCustomPanelEnabled) {
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -22,7 +22,6 @@ import SuccessIcon from '@atlaskit/icon/core/migration/status-success--editor-su
|
|
|
22
22
|
import WarningIcon from '@atlaskit/icon/core/migration/status-warning--editor-warning';
|
|
23
23
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
24
24
|
import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
|
|
25
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
26
25
|
import { changePanelType, removePanel } from '../editor-actions/actions';
|
|
27
26
|
import { findPanel } from '../pm-plugins/utils/utils';
|
|
28
27
|
import { panelTypeDropdown } from './panelTypeDropdown';
|
|
@@ -93,7 +92,7 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
|
|
|
93
92
|
activePanelType: activePanelType,
|
|
94
93
|
editorAnalyticsAPI: editorAnalyticsAPI,
|
|
95
94
|
formatMessage: formatMessage
|
|
96
|
-
})].concat(_toConsumableArray(Boolean(api === null || api === void 0 ? void 0 : api.toolbar)
|
|
95
|
+
})].concat(_toConsumableArray(Boolean(api === null || api === void 0 ? void 0 : api.toolbar) ? [] : [{
|
|
97
96
|
type: 'separator'
|
|
98
97
|
}]));
|
|
99
98
|
if (isCustomPanelEnabled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.12",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^6.1.0",
|
|
33
33
|
"@atlaskit/editor-plugin-block-menu": "^4.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-decorations": "^6.1.0",
|
|
35
|
-
"@atlaskit/editor-plugin-emoji": "^7.
|
|
35
|
+
"@atlaskit/editor-plugin-emoji": "^7.3.0",
|
|
36
36
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
37
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
37
|
+
"@atlaskit/editor-plugin-toolbar": "^3.3.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
39
|
+
"@atlaskit/editor-shared-styles": "^3.7.0",
|
|
40
40
|
"@atlaskit/editor-toolbar": "^0.15.0",
|
|
41
|
-
"@atlaskit/emoji": "^69.
|
|
41
|
+
"@atlaskit/emoji": "^69.6.0",
|
|
42
42
|
"@atlaskit/icon": "^28.5.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^21.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
46
|
-
"@atlaskit/tokens": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^13.13.0",
|
|
46
|
+
"@atlaskit/tokens": "^7.0.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.13.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"
|