@atlaskit/editor-plugin-base 2.0.7 → 2.0.9

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
+ ## 2.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#176803](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/176803)
8
+ [`7a0ef514e8d39`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7a0ef514e8d39) -
9
+ Add data-vc attribute to scroll-gutter
10
+
11
+ ## 2.0.8
12
+
13
+ ### Patch Changes
14
+
15
+ - [#172929](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/172929)
16
+ [`ee80242ee0a31`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ee80242ee0a31) -
17
+ Remediate re-exports
18
+ - Updated dependencies
19
+
3
20
  ## 2.0.7
4
21
 
5
22
  ### Patch Changes
@@ -15,6 +15,7 @@ var GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
15
15
  function createGutter(gutterSize, parent) {
16
16
  var gutter = document.createElement('div');
17
17
  gutter.style.paddingBottom = "".concat(gutterSize, "px");
18
+ gutter.setAttribute('data-vc', 'scroll-gutter');
18
19
  gutter.id = GUTTER_SELECTOR_NAME;
19
20
  if (parent) {
20
21
  parent.appendChild(gutter);
@@ -1,2 +1,5 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
1
4
  import basePlugin from './basePlugin';
2
5
  export { basePlugin };
@@ -9,6 +9,7 @@ const GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
9
9
  function createGutter(gutterSize, parent) {
10
10
  const gutter = document.createElement('div');
11
11
  gutter.style.paddingBottom = `${gutterSize}px`;
12
+ gutter.setAttribute('data-vc', 'scroll-gutter');
12
13
  gutter.id = GUTTER_SELECTOR_NAME;
13
14
  if (parent) {
14
15
  parent.appendChild(gutter);
package/dist/esm/index.js CHANGED
@@ -1,2 +1,5 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
1
4
  import basePlugin from './basePlugin';
2
5
  export { basePlugin };
@@ -9,6 +9,7 @@ var GUTTER_SELECTOR_NAME = 'editor-scroll-gutter';
9
9
  function createGutter(gutterSize, parent) {
10
10
  var gutter = document.createElement('div');
11
11
  gutter.style.paddingBottom = "".concat(gutterSize, "px");
12
+ gutter.setAttribute('data-vc', 'scroll-gutter');
12
13
  gutter.id = GUTTER_SELECTOR_NAME;
13
14
  if (parent) {
14
15
  parent.appendChild(gutter);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-base",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Base plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,12 +32,12 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^96.0.0",
35
+ "@atlaskit/editor-common": "^96.3.0",
36
36
  "@atlaskit/editor-plugin-context-identifier": "^1.3.0",
37
37
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
38
38
  "@atlaskit/editor-prosemirror": "6.2.1",
39
39
  "@atlaskit/platform-feature-flags": "^0.3.0",
40
- "@atlaskit/tmp-editor-statsig": "^2.22.0",
40
+ "@atlaskit/tmp-editor-statsig": "^2.24.0",
41
41
  "@babel/runtime": "^7.0.0"
42
42
  },
43
43
  "techstack": {
package/tsconfig.app.json CHANGED
@@ -41,6 +41,9 @@
41
41
  {
42
42
  "path": "../editor-plugin-feature-flags/tsconfig.app.json"
43
43
  },
44
+ {
45
+ "path": "../../platform/feature-flags/tsconfig.app.json"
46
+ },
44
47
  {
45
48
  "path": "../tmp-editor-statsig/tsconfig.app.json"
46
49
  }
package/tsconfig.dev.json CHANGED
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "references": [
35
35
  {
36
- "path": "tsconfig.app.json"
36
+ "path": "./tsconfig.app.json"
37
37
  },
38
38
  {
39
39
  "path": "../../../build/website/docs/tsconfig.app.json"