@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 +12 -0
- package/dist/cjs/panelPlugin.js +2 -2
- package/dist/es2019/panelPlugin.js +1 -1
- package/dist/esm/panelPlugin.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/cjs/panelPlugin.js
CHANGED
|
@@ -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
|
|
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,
|
|
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/
|
|
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';
|
package/dist/esm/panelPlugin.js
CHANGED
|
@@ -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/
|
|
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.
|
|
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": "^
|
|
41
|
-
"@atlaskit/tokens": "^16.
|
|
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.
|
|
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"
|