@atlaskit/editor-plugin-save-on-enter 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-save-on-enter
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
+ - [#171440](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171440)
14
+ [`835f7bbff3122`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/835f7bbff3122) -
15
+ ED-25816: refactors plugins to meet folder standards
16
+
3
17
  ## 1.3.11
4
18
 
5
19
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "saveOnEnterPlugin", {
7
7
  enumerable: true,
8
8
  get: function get() {
9
- return _plugin.saveOnEnterPlugin;
9
+ return _saveOnEnterPlugin.saveOnEnterPlugin;
10
10
  }
11
11
  });
12
- var _plugin = require("./plugin");
12
+ var _saveOnEnterPlugin = require("./saveOnEnterPlugin");
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -1 +1,4 @@
1
- export { saveOnEnterPlugin } from './plugin';
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
4
+ export { saveOnEnterPlugin } from './saveOnEnterPlugin';
@@ -0,0 +1 @@
1
+ export {};
package/dist/esm/index.js CHANGED
@@ -1 +1,4 @@
1
- export { saveOnEnterPlugin } from './plugin';
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
4
+ export { saveOnEnterPlugin } from './saveOnEnterPlugin';
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,2 @@
1
- export { saveOnEnterPlugin } from './plugin';
2
- export type { SaveOnEnterPlugin } from './plugin';
1
+ export { saveOnEnterPlugin } from './saveOnEnterPlugin';
2
+ export type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
@@ -1,11 +1,6 @@
1
1
  import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
4
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
+ import type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
5
5
  export declare function createPlugin(eventDispatch: Dispatch, onSave?: (editorView: EditorView) => void): SafePlugin | undefined;
6
- type Config = (editorView: EditorView) => void;
7
- export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
8
- pluginConfiguration: Config | undefined;
9
- }>;
10
6
  export declare const saveOnEnterPlugin: SaveOnEnterPlugin;
11
- export {};
@@ -0,0 +1,7 @@
1
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
+ type Config = (editorView: EditorView) => void;
4
+ export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
5
+ pluginConfiguration: Config | undefined;
6
+ }>;
7
+ export {};
@@ -1,2 +1,2 @@
1
- export { saveOnEnterPlugin } from './plugin';
2
- export type { SaveOnEnterPlugin } from './plugin';
1
+ export { saveOnEnterPlugin } from './saveOnEnterPlugin';
2
+ export type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
@@ -1,11 +1,6 @@
1
1
  import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
4
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
+ import type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
5
5
  export declare function createPlugin(eventDispatch: Dispatch, onSave?: (editorView: EditorView) => void): SafePlugin | undefined;
6
- type Config = (editorView: EditorView) => void;
7
- export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
8
- pluginConfiguration: Config | undefined;
9
- }>;
10
6
  export declare const saveOnEnterPlugin: SaveOnEnterPlugin;
11
- export {};
@@ -0,0 +1,7 @@
1
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
+ type Config = (editorView: EditorView) => void;
4
+ export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
5
+ pluginConfiguration: Config | undefined;
6
+ }>;
7
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-save-on-enter",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "Save-on-enter plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^96.0.0",
34
+ "@atlaskit/editor-common": "^97.0.0",
35
35
  "@atlaskit/editor-prosemirror": "6.2.1",
36
36
  "@babel/runtime": "^7.0.0"
37
37
  },
@@ -43,6 +43,9 @@
43
43
  },
44
44
  "techstack": {
45
45
  "@atlassian/frontend": {
46
+ "code-structure": [
47
+ "editor-plugin"
48
+ ],
46
49
  "import-structure": [
47
50
  "atlassian-conventions"
48
51
  ],
File without changes
File without changes
File without changes