@atlaskit/editor-plugin-panel 18.1.4 → 18.1.6

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,17 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 18.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 18.1.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 18.1.4
4
16
 
5
17
  ### Patch Changes
@@ -15,7 +15,7 @@ var _quickInsert = require("@atlaskit/editor-common/quick-insert");
15
15
  var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
16
16
  var _fg = require("@atlaskit/platform-feature-flags/fg");
17
17
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
18
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
18
+ var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
19
19
  var _createPanelAction = require("./pm-plugins/commands/create-panel-action");
20
20
  var _keymaps = _interopRequireDefault(require("./pm-plugins/keymaps"));
21
21
  var _main = require("./pm-plugins/main");
@@ -33,7 +33,7 @@ var panelPlugin = function panelPlugin(_ref) {
33
33
  _ref$config2$allowCus2 = _ref$config2.allowCustomPanelEdit,
34
34
  allowCustomPanelEdit = _ref$config2$allowCus2 === void 0 ? false : _ref$config2$allowCus2,
35
35
  api = _ref.api;
36
- if ((0, _experiments.editorExperiment)('platform_editor_block_menu', true)) {
36
+ if ((0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true)) {
37
37
  var _api$blockMenu;
38
38
  api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 || _api$blockMenu.actions.registerBlockMenuComponents([{
39
39
  type: 'block-menu-item',
@@ -6,7 +6,7 @@ import { IconCustomPanel, IconPanel, IconPanelError, IconPanelNote, IconPanelSuc
6
6
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
7
7
  import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
10
10
  import { createPanelAction } from './pm-plugins/commands/create-panel-action';
11
11
  import keymap from './pm-plugins/keymaps';
12
12
  import { createPlugin } from './pm-plugins/main';
@@ -10,7 +10,7 @@ import { IconCustomPanel, IconPanel, IconPanelError, IconPanelNote, IconPanelSuc
10
10
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
11
11
  import { fg } from '@atlaskit/platform-feature-flags/fg';
12
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
13
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
14
14
  import { createPanelAction } from './pm-plugins/commands/create-panel-action';
15
15
  import keymap from './pm-plugins/keymaps';
16
16
  import { createPlugin } from './pm-plugins/main';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "18.1.4",
3
+ "version": "18.1.6",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,13 +37,13 @@
37
37
  "@atlaskit/icon-lab": "^7.7.0",
38
38
  "@atlaskit/platform-feature-experiments": "^0.3.0",
39
39
  "@atlaskit/platform-feature-flags": "^2.1.0",
40
- "@atlaskit/tmp-editor-statsig": "^166.0.0",
41
- "@atlaskit/tokens": "^16.8.0",
40
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
41
+ "@atlaskit/tokens": "^16.9.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "uuid": "^3.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@atlaskit/editor-common": "^120.6.0",
46
+ "@atlaskit/editor-common": "^120.7.0",
47
47
  "react": "^18.2.0 || ^19.2.0",
48
48
  "react-dom": "^18.2.0 || ^19.2.0",
49
49
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"