@atlaskit/editor-plugin-panel 8.0.9 → 8.0.11

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,21 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 8.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ef001bf65d48f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef001bf65d48f) -
8
+ Remove usage of `platform_editor_toolbar_aifc` inside editor packages - instead rely on checking
9
+ for new toolbar plugin option, make `enableNewToolbarExperience` mandatory for consumers to opt in
10
+ to new toolbar experience
11
+ - Updated dependencies
12
+
13
+ ## 8.0.10
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 8.0.9
4
20
 
5
21
  ### Patch Changes
@@ -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) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) ? [] : [{
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) && editorExperiment('platform_editor_toolbar_aifc', true) ? [] : [{
98
+ }), ...(Boolean(api === null || api === void 0 ? void 0 : api.toolbar) ? [] : [{
100
99
  type: 'separator'
101
100
  }])];
102
101
  if (isCustomPanelEnabled) {
@@ -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) && editorExperiment('platform_editor_toolbar_aifc', true) ? [] : [{
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.9",
3
+ "version": "8.0.11",
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.1.0",
35
+ "@atlaskit/editor-plugin-emoji": "^7.2.0",
36
36
  "@atlaskit/editor-plugin-selection": "^6.1.0",
37
- "@atlaskit/editor-plugin-toolbar": "^3.1.0",
37
+ "@atlaskit/editor-plugin-toolbar": "^3.2.0",
38
38
  "@atlaskit/editor-prosemirror": "7.0.0",
39
- "@atlaskit/editor-shared-styles": "^3.6.0",
40
- "@atlaskit/editor-toolbar": "^0.14.0",
39
+ "@atlaskit/editor-shared-styles": "^3.7.0",
40
+ "@atlaskit/editor-toolbar": "^0.15.0",
41
41
  "@atlaskit/emoji": "^69.5.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.5.0",
45
+ "@atlaskit/tmp-editor-statsig": "^13.10.0",
46
46
  "@atlaskit/tokens": "^6.4.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "uuid": "^3.1.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@atlaskit/editor-common": "^110.7.0",
51
+ "@atlaskit/editor-common": "^110.10.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"