@atlaskit/editor-plugin-base 17.0.7 → 17.1.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-base
2
2
 
3
+ ## 17.1.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
+ ## 17.0.8
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 17.0.7
4
21
 
5
22
  ### Patch Changes
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
8
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
8
+ var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
9
9
  var _pluginKey = require("./plugin-key");
10
10
  var GUTTER_SIZE_IN_PX = 120;
11
11
  var GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
@@ -15,7 +15,7 @@ var GUTTER_ATTR = 'data-editor-scroll-gutter';
15
15
  * Create a gutter element that can be added or removed from the DOM.
16
16
  */
17
17
  function createGutter(gutterSize, parent) {
18
- if ((0, _experiments.editorExperiment)('platform_editor_blocks', true)) {
18
+ if ((0, _editorExperiment.editorExperiment)('platform_editor_blocks', true)) {
19
19
  if (!parent) {
20
20
  return function () {};
21
21
  }
@@ -1,5 +1,5 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  import { scrollGutterPluginKey } from './plugin-key';
4
4
  const GUTTER_SIZE_IN_PX = 120;
5
5
  const GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
@@ -1,5 +1,5 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  import { scrollGutterPluginKey } from './plugin-key';
4
4
  var GUTTER_SIZE_IN_PX = 120;
5
5
  var GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-base",
3
- "version": "17.0.7",
3
+ "version": "17.1.0",
4
4
  "description": "Base plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,11 +21,11 @@
21
21
  "dependencies": {
22
22
  "@atlaskit/adf-schema": "^57.2.0",
23
23
  "@atlaskit/editor-plugin-context-identifier": "^16.0.0",
24
- "@atlaskit/editor-plugin-feature-flags": "^15.0.0",
24
+ "@atlaskit/editor-plugin-feature-flags": "^15.1.0",
25
25
  "@atlaskit/editor-prosemirror": "^8.0.0",
26
26
  "@atlaskit/feature-gate-js-client": "^6.0.0",
27
27
  "@atlaskit/prosemirror-history": "^1.2.0",
28
- "@atlaskit/tmp-editor-statsig": "^167.0.0",
28
+ "@atlaskit/tmp-editor-statsig": "^168.0.0",
29
29
  "@babel/runtime": "^7.0.0"
30
30
  },
31
31
  "techstack": {
@@ -62,6 +62,6 @@
62
62
  }
63
63
  },
64
64
  "peerDependencies": {
65
- "@atlaskit/editor-common": "^120.7.0"
65
+ "@atlaskit/editor-common": "^120.9.0"
66
66
  }
67
67
  }
package/report.api.md DELETED
@@ -1,88 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/editor-plugin-base"
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 { BrowserFreezetracking } from '@atlaskit/editor-common/types';
20
- import type { Command } from '@atlaskit/editor-common/types';
21
- import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
22
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
23
- import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
24
- import type { InputTracking } from '@atlaskit/editor-common/types';
25
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
26
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
27
-
28
- // @public (undocumented)
29
- export type BasePlugin = NextEditorPlugin<
30
- 'base',
31
- {
32
- pluginConfiguration: BasePluginOptions | undefined;
33
- dependencies: [OptionalPlugin<FeatureFlagsPlugin>];
34
- sharedState: BasePluginState;
35
- actions: {
36
- setKeyboardHeight: typeof setKeyboardHeight;
37
- };
38
- }
39
- >;
40
-
41
- // @public (undocumented)
42
- export const basePlugin: BasePlugin;
43
-
44
- // @public (undocumented)
45
- export interface BasePluginOptions {
46
- // (undocumented)
47
- allowInlineCursorTarget?: boolean;
48
- // (undocumented)
49
- allowScrollGutter?: ScrollGutterPluginOptions;
50
- // (undocumented)
51
- browserFreezeTracking?: BrowserFreezetracking;
52
- // (undocumented)
53
- inputTracking?: InputTracking;
54
- // (undocumented)
55
- ufo?: boolean;
56
- }
57
-
58
- // @public (undocumented)
59
- export type BasePluginState = {
60
- contextIdentifier: ContextIdentifierProvider | undefined;
61
- keyboardHeight: number | undefined;
62
- };
63
-
64
- // @public (undocumented)
65
- export type ScrollGutterPluginOptions = {
66
- getScrollElement?: (view: EditorView) => HTMLElement | null;
67
- allowCustomScrollHandler?: boolean;
68
- persistScrollGutter?: boolean;
69
- gutterSize?: number;
70
- };
71
-
72
- // @public (undocumented)
73
- const setKeyboardHeight: (keyboardHeight: number) => Command;
74
-
75
- // (No @packageDocumentation comment for this package)
76
- ```
77
-
78
- <!--SECTION END: Main Entry Types-->
79
-
80
- ### Peer Dependencies
81
-
82
- <!--SECTION START: Peer Dependencies-->
83
-
84
- ```json
85
- {}
86
- ```
87
-
88
- <!--SECTION END: Peer Dependencies-->