@atlaskit/editor-plugin-undo-redo 2.0.15 → 2.0.16

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,11 @@
1
1
  # @atlaskit/editor-plugin-undo-redo
2
2
 
3
+ ## 2.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.0.15
4
10
 
5
11
  ### Patch Changes
@@ -9,6 +9,11 @@ var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
9
9
  var _keymap = require("@atlaskit/editor-prosemirror/keymap");
10
10
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
11
  var _commands = require("./commands");
12
+ /**
13
+ *
14
+ * @param api
15
+ * @example
16
+ */
12
17
  function keymapPlugin(api) {
13
18
  var _api$analytics, _api$analytics3;
14
19
  var list = {};
@@ -3,6 +3,12 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
3
  import { keydownHandler } from '@atlaskit/editor-prosemirror/keymap';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
5
  import { redoFromKeyboard, redoFromKeyboardWithAnalytics, undoFromKeyboard, undoFromKeyboardWithAnalytics } from './commands';
6
+
7
+ /**
8
+ *
9
+ * @param api
10
+ * @example
11
+ */
6
12
  export function keymapPlugin(api) {
7
13
  var _api$analytics, _api$analytics3;
8
14
  const list = {};
@@ -3,6 +3,12 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
3
  import { keydownHandler } from '@atlaskit/editor-prosemirror/keymap';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
5
  import { redoFromKeyboard, redoFromKeyboardWithAnalytics, undoFromKeyboard, undoFromKeyboardWithAnalytics } from './commands';
6
+
7
+ /**
8
+ *
9
+ * @param api
10
+ * @example
11
+ */
6
12
  export function keymapPlugin(api) {
7
13
  var _api$analytics, _api$analytics3;
8
14
  var list = {};
@@ -1,4 +1,4 @@
1
- import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
1
+ import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  export declare const undoFromKeyboard: import("@atlaskit/editor-common/types").Command;
3
3
  export declare const redoFromKeyboard: import("@atlaskit/editor-common/types").Command;
4
4
  export declare const undoFromToolbar: import("@atlaskit/editor-common/types").Command;
@@ -1,4 +1,9 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { UndoRedoPlugin } from '../undoRedoPluginType';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { UndoRedoPlugin } from '../undoRedoPluginType';
4
+ /**
5
+ *
6
+ * @param api
7
+ * @example
8
+ */
4
9
  export declare function keymapPlugin(api?: ExtractInjectionAPI<UndoRedoPlugin>): SafePlugin;
@@ -1,5 +1,5 @@
1
1
  import type { Command, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import { UndoRedoPlugin } from '../undoRedoPluginType';
3
+ import type { UndoRedoPlugin } from '../undoRedoPluginType';
4
4
  export declare const closeTypeAheadAndRunCommand: (editorView: EditorView, api: ExtractInjectionAPI<UndoRedoPlugin> | undefined) => (command: Command) => boolean;
5
5
  export declare const forceFocus: (editorView: EditorView, api: ExtractInjectionAPI<UndoRedoPlugin> | undefined) => (command: Command) => boolean;
@@ -1,4 +1,4 @@
1
- import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
1
+ import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
2
  export declare const undoFromKeyboard: import("@atlaskit/editor-common/types").Command;
3
3
  export declare const redoFromKeyboard: import("@atlaskit/editor-common/types").Command;
4
4
  export declare const undoFromToolbar: import("@atlaskit/editor-common/types").Command;
@@ -1,4 +1,9 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
- import { UndoRedoPlugin } from '../undoRedoPluginType';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { UndoRedoPlugin } from '../undoRedoPluginType';
4
+ /**
5
+ *
6
+ * @param api
7
+ * @example
8
+ */
4
9
  export declare function keymapPlugin(api?: ExtractInjectionAPI<UndoRedoPlugin>): SafePlugin;
@@ -1,5 +1,5 @@
1
1
  import type { Command, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
2
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- import { UndoRedoPlugin } from '../undoRedoPluginType';
3
+ import type { UndoRedoPlugin } from '../undoRedoPluginType';
4
4
  export declare const closeTypeAheadAndRunCommand: (editorView: EditorView, api: ExtractInjectionAPI<UndoRedoPlugin> | undefined) => (command: Command) => boolean;
5
5
  export declare const forceFocus: (editorView: EditorView, api: ExtractInjectionAPI<UndoRedoPlugin> | undefined) => (command: Command) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-undo-redo",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "description": "Undo redo plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,14 +33,14 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/editor-common": "^105.2.0",
36
+ "@atlaskit/editor-common": "^105.10.0",
37
37
  "@atlaskit/editor-plugin-history": "^2.0.0",
38
38
  "@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
39
39
  "@atlaskit/editor-plugin-type-ahead": "^2.7.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
- "@atlaskit/icon": "^26.0.0",
41
+ "@atlaskit/icon": "^26.3.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
- "@atlaskit/tmp-editor-statsig": "^4.21.0",
43
+ "@atlaskit/tmp-editor-statsig": "^5.0.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1"
46
46
  },