@atlaskit/editor-plugin-editor-disabled 1.3.11 → 1.3.13

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,19 @@
1
1
  # @atlaskit/editor-plugin-editor-disabled
2
2
 
3
+ ## 1.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.3.12
10
+
11
+ ### Patch Changes
12
+
13
+ - [#177988](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/177988)
14
+ [`8f78c40775b7c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8f78c40775b7c) -
15
+ ED-25810 - refactors editor plugins to engineering standards
16
+
3
17
  ## 1.3.11
4
18
 
5
19
  ### Patch Changes
@@ -49,6 +49,7 @@ function createPlugin(dispatch) {
49
49
  }
50
50
  });
51
51
  }
52
+
52
53
  /**
53
54
  * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
54
55
  * from `@atlaskit/editor-core`.
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
package/dist/cjs/index.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "editorDisabledPlugin", {
7
7
  enumerable: true,
8
8
  get: function get() {
9
- return _plugin.editorDisabledPlugin;
9
+ return _editorDisabledPlugin.editorDisabledPlugin;
10
10
  }
11
11
  });
12
- var _plugin = require("./plugin");
12
+ var _editorDisabledPlugin = require("./editorDisabledPlugin");
@@ -43,6 +43,7 @@ function createPlugin(dispatch) {
43
43
  }
44
44
  });
45
45
  }
46
+
46
47
  /**
47
48
  * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
48
49
  * from `@atlaskit/editor-core`.
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,4 @@
1
- export { editorDisabledPlugin } from './plugin';
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
4
+ export { editorDisabledPlugin } from './editorDisabledPlugin';
@@ -42,6 +42,7 @@ function createPlugin(dispatch) {
42
42
  }
43
43
  });
44
44
  }
45
+
45
46
  /**
46
47
  * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
47
48
  * from `@atlaskit/editor-core`.
@@ -0,0 +1 @@
1
+ export {};
package/dist/esm/index.js CHANGED
@@ -1 +1,4 @@
1
- export { editorDisabledPlugin } from './plugin';
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
4
+ export { editorDisabledPlugin } from './editorDisabledPlugin';
@@ -0,0 +1,6 @@
1
+ import { type EditorDisabledPlugin } from './editorDisabledPluginType';
2
+ /**
3
+ * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
4
+ * from `@atlaskit/editor-core`.
5
+ */
6
+ export declare const editorDisabledPlugin: EditorDisabledPlugin;
@@ -5,8 +5,3 @@ export type EditorDisabledPluginState = {
5
5
  export type EditorDisabledPlugin = NextEditorPlugin<'editorDisabled', {
6
6
  sharedState: EditorDisabledPluginState;
7
7
  }>;
8
- /**
9
- * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
10
- * from `@atlaskit/editor-core`.
11
- */
12
- export declare const editorDisabledPlugin: EditorDisabledPlugin;
@@ -1,2 +1,2 @@
1
- export { editorDisabledPlugin } from './plugin';
2
- export type { EditorDisabledPluginState, EditorDisabledPlugin } from './plugin';
1
+ export { editorDisabledPlugin } from './editorDisabledPlugin';
2
+ export type { EditorDisabledPluginState, EditorDisabledPlugin } from './editorDisabledPluginType';
@@ -0,0 +1,6 @@
1
+ import { type EditorDisabledPlugin } from './editorDisabledPluginType';
2
+ /**
3
+ * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
4
+ * from `@atlaskit/editor-core`.
5
+ */
6
+ export declare const editorDisabledPlugin: EditorDisabledPlugin;
@@ -5,8 +5,3 @@ export type EditorDisabledPluginState = {
5
5
  export type EditorDisabledPlugin = NextEditorPlugin<'editorDisabled', {
6
6
  sharedState: EditorDisabledPluginState;
7
7
  }>;
8
- /**
9
- * Editor disabled plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
10
- * from `@atlaskit/editor-core`.
11
- */
12
- export declare const editorDisabledPlugin: EditorDisabledPlugin;
@@ -1,2 +1,2 @@
1
- export { editorDisabledPlugin } from './plugin';
2
- export type { EditorDisabledPluginState, EditorDisabledPlugin } from './plugin';
1
+ export { editorDisabledPlugin } from './editorDisabledPlugin';
2
+ export type { EditorDisabledPluginState, EditorDisabledPlugin } from './editorDisabledPluginType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-editor-disabled",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "Editor disabled plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,7 +23,7 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^96.0.0",
26
+ "@atlaskit/editor-common": "^97.0.0",
27
27
  "@atlaskit/editor-prosemirror": "6.2.1",
28
28
  "@babel/runtime": "^7.0.0",
29
29
  "raf-schd": "^4.0.3"
@@ -44,6 +44,9 @@
44
44
  "import-structure": [
45
45
  "atlassian-conventions"
46
46
  ],
47
+ "code-structure": [
48
+ "editor-plugin"
49
+ ],
47
50
  "circular-dependencies": [
48
51
  "file-and-folder-level"
49
52
  ]