@atlaskit/editor-plugin-panel 18.1.5 → 18.2.0

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,22 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 18.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
8
+ Remove stale API report artifacts from published Platform packages.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 18.1.6
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 18.1.5
4
21
 
5
22
  ### 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.5",
3
+ "version": "18.2.0",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -20,30 +20,30 @@
20
20
  "atlaskit:src": "src/index.ts",
21
21
  "dependencies": {
22
22
  "@atlaskit/adf-schema": "^57.2.0",
23
- "@atlaskit/editor-palette": "^3.4.0",
24
- "@atlaskit/editor-plugin-analytics": "^16.0.0",
23
+ "@atlaskit/editor-palette": "^3.5.0",
24
+ "@atlaskit/editor-plugin-analytics": "^16.1.0",
25
25
  "@atlaskit/editor-plugin-block-menu": "^15.0.0",
26
- "@atlaskit/editor-plugin-decorations": "^16.0.0",
27
- "@atlaskit/editor-plugin-emoji": "^17.0.0",
28
- "@atlaskit/editor-plugin-selection": "^16.0.0",
26
+ "@atlaskit/editor-plugin-decorations": "^16.1.0",
27
+ "@atlaskit/editor-plugin-emoji": "^17.1.0",
28
+ "@atlaskit/editor-plugin-selection": "^16.1.0",
29
29
  "@atlaskit/editor-plugin-toolbar": "^13.0.0",
30
30
  "@atlaskit/editor-plugin-ui-control-registry": "^10.0.0",
31
31
  "@atlaskit/editor-prosemirror": "^8.0.0",
32
- "@atlaskit/editor-shared-styles": "^4.0.0",
32
+ "@atlaskit/editor-shared-styles": "^4.1.0",
33
33
  "@atlaskit/editor-toolbar": "^2.6.0",
34
34
  "@atlaskit/editor-ui-control-model": "^2.9.0",
35
- "@atlaskit/emoji": "^72.1.0",
36
- "@atlaskit/icon": "^37.5.0",
35
+ "@atlaskit/emoji": "^72.2.0",
36
+ "@atlaskit/icon": "^37.6.0",
37
37
  "@atlaskit/icon-lab": "^7.7.0",
38
38
  "@atlaskit/platform-feature-experiments": "^0.3.0",
39
- "@atlaskit/platform-feature-flags": "^2.1.0",
40
- "@atlaskit/tmp-editor-statsig": "^167.0.0",
41
- "@atlaskit/tokens": "^16.9.0",
39
+ "@atlaskit/platform-feature-flags": "^2.2.0",
40
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
41
+ "@atlaskit/tokens": "^16.10.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "uuid": "^3.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@atlaskit/editor-common": "^120.7.0",
46
+ "@atlaskit/editor-common": "^120.9.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"
package/report.api.md DELETED
@@ -1,70 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/editor-plugin-panel"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
20
- import type { Command } from '@atlaskit/editor-common/types';
21
- import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
22
- import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
23
- import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
24
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
25
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
26
-
27
- // @public (undocumented)
28
- export type PanelPlugin = NextEditorPlugin<
29
- 'panel',
30
- {
31
- pluginConfiguration: PanelPluginOptions | undefined;
32
- dependencies: [typeof decorationsPlugin, OptionalPlugin<typeof analyticsPlugin>];
33
- actions: {
34
- insertPanel: (inputMethod: INPUT_METHOD) => Command;
35
- };
36
- }
37
- >;
38
-
39
- // @public (undocumented)
40
- export const panelPlugin: PanelPlugin;
41
-
42
- // @public (undocumented)
43
- export interface PanelPluginConfig {
44
- // (undocumented)
45
- allowCustomPanel?: boolean;
46
- // (undocumented)
47
- allowCustomPanelEdit?: boolean;
48
- }
49
-
50
- // @public (undocumented)
51
- interface PanelPluginOptions extends LongPressSelectionPluginOptions, PanelPluginConfig {}
52
-
53
- // (No @packageDocumentation comment for this package)
54
- ```
55
-
56
- <!--SECTION END: Main Entry Types-->
57
-
58
- ### Peer Dependencies
59
-
60
- <!--SECTION START: Peer Dependencies-->
61
-
62
- ```json
63
- {
64
- "react": "^16.8.0",
65
- "react-dom": "^16.8.0",
66
- "react-intl": "npm:react-intl@^5.18.1"
67
- }
68
- ```
69
-
70
- <!--SECTION END: Peer Dependencies-->