@atlaskit/editor-plugin-undo-redo 7.3.23 → 8.0.1

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,17 @@
1
1
  # @atlaskit/editor-plugin-undo-redo
2
2
 
3
+ ## 8.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 7.3.23
4
16
 
5
17
  ### Patch Changes
@@ -20,7 +20,8 @@ var _utils = require("../../pm-plugins/utils");
20
20
  * @jsxRuntime classic
21
21
  * @jsx jsx
22
22
  */
23
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
+
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
24
25
 
25
26
  var ToolbarUndoRedo = exports.ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
26
27
  var disabled = _ref.disabled,
@@ -94,4 +95,7 @@ var ToolbarUndoRedo = exports.ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
94
95
  }))
95
96
  );
96
97
  };
97
- var _default = exports.default = (0, _reactIntlNext.injectIntl)(ToolbarUndoRedo);
98
+
99
+ // eslint-disable-next-line @typescript-eslint/ban-types
100
+ var _default_1 = (0, _reactIntlNext.injectIntl)(ToolbarUndoRedo);
101
+ var _default = exports.default = _default_1;
@@ -2,7 +2,8 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
7
  import { jsx } from '@emotion/react';
7
8
  import { injectIntl } from 'react-intl-next';
8
9
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
@@ -90,4 +91,7 @@ export const ToolbarUndoRedo = ({
90
91
  }))
91
92
  );
92
93
  };
93
- export default injectIntl(ToolbarUndoRedo);
94
+
95
+ // eslint-disable-next-line @typescript-eslint/ban-types
96
+ const _default_1 = injectIntl(ToolbarUndoRedo);
97
+ export default _default_1;
@@ -2,7 +2,8 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
7
  import { jsx } from '@emotion/react';
7
8
  import { injectIntl } from 'react-intl-next';
8
9
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
@@ -86,4 +87,7 @@ export var ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
86
87
  }))
87
88
  );
88
89
  };
89
- export default injectIntl(ToolbarUndoRedo);
90
+
91
+ // eslint-disable-next-line @typescript-eslint/ban-types
92
+ var _default_1 = injectIntl(ToolbarUndoRedo);
93
+ export default _default_1;
@@ -1,9 +1,10 @@
1
1
  import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
- export declare const undoFromKeyboard: import("@atlaskit/editor-common/types").Command;
3
- export declare const redoFromKeyboard: import("@atlaskit/editor-common/types").Command;
4
- export declare const undoFromToolbar: import("@atlaskit/editor-common/types").Command;
5
- export declare const redoFromToolbar: import("@atlaskit/editor-common/types").Command;
6
- export declare const undoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
7
- export declare const redoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
8
- export declare const undoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
9
- export declare const redoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
2
+ import type { Command } from '@atlaskit/editor-common/types';
3
+ export declare const undoFromKeyboard: Command;
4
+ export declare const redoFromKeyboard: Command;
5
+ export declare const undoFromToolbar: Command;
6
+ export declare const redoFromToolbar: Command;
7
+ export declare const undoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
8
+ export declare const redoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
9
+ export declare const undoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
10
+ export declare const redoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
@@ -1,2 +1,2 @@
1
1
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const pluginKey: PluginKey<any>;
2
+ export declare const pluginKey: PluginKey;
@@ -2,8 +2,9 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
+ import type { ComponentType, FC } from 'react';
5
6
  import { jsx } from '@emotion/react';
6
- import type { WrappedComponentProps } from 'react-intl-next';
7
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
7
8
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
8
9
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
10
  import type { UndoRedoPlugin } from '../../undoRedoPluginType';
@@ -16,7 +17,7 @@ export interface Props {
16
17
  undoDisabled?: boolean;
17
18
  }
18
19
  export declare const ToolbarUndoRedo: ({ disabled, isReducedSpacing, editorView, api, intl: { formatMessage }, }: Props & WrappedComponentProps) => jsx.JSX.Element;
19
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
20
- WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
20
+ declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
21
+ WrappedComponent: ComponentType<Props & WrappedComponentProps>;
21
22
  };
22
- export default _default;
23
+ export default _default_1;
@@ -1,9 +1,10 @@
1
1
  import { type EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
2
- export declare const undoFromKeyboard: import("@atlaskit/editor-common/types").Command;
3
- export declare const redoFromKeyboard: import("@atlaskit/editor-common/types").Command;
4
- export declare const undoFromToolbar: import("@atlaskit/editor-common/types").Command;
5
- export declare const redoFromToolbar: import("@atlaskit/editor-common/types").Command;
6
- export declare const undoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
7
- export declare const redoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
8
- export declare const undoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
9
- export declare const redoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => import("@atlaskit/editor-common/types").Command;
2
+ import type { Command } from '@atlaskit/editor-common/types';
3
+ export declare const undoFromKeyboard: Command;
4
+ export declare const redoFromKeyboard: Command;
5
+ export declare const undoFromToolbar: Command;
6
+ export declare const redoFromToolbar: Command;
7
+ export declare const undoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
8
+ export declare const redoFromKeyboardWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
9
+ export declare const undoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
10
+ export declare const redoFromToolbarWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
@@ -1,2 +1,2 @@
1
1
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const pluginKey: PluginKey<any>;
2
+ export declare const pluginKey: PluginKey;
@@ -2,8 +2,9 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
+ import type { ComponentType, FC } from 'react';
5
6
  import { jsx } from '@emotion/react';
6
- import type { WrappedComponentProps } from 'react-intl-next';
7
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
7
8
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
8
9
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
10
  import type { UndoRedoPlugin } from '../../undoRedoPluginType';
@@ -16,7 +17,7 @@ export interface Props {
16
17
  undoDisabled?: boolean;
17
18
  }
18
19
  export declare const ToolbarUndoRedo: ({ disabled, isReducedSpacing, editorView, api, intl: { formatMessage }, }: Props & WrappedComponentProps) => jsx.JSX.Element;
19
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
20
- WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps>;
20
+ declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
21
+ WrappedComponent: ComponentType<Props & WrappedComponentProps>;
21
22
  };
22
- export default _default;
23
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-undo-redo",
3
- "version": "7.3.23",
3
+ "version": "8.0.1",
4
4
  "description": "Undo redo plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,22 +29,22 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/editor-plugin-history": "^7.0.0",
33
- "@atlaskit/editor-plugin-primary-toolbar": "^8.0.0",
34
- "@atlaskit/editor-plugin-toolbar": "^4.1.0",
35
- "@atlaskit/editor-plugin-type-ahead": "^7.0.0",
32
+ "@atlaskit/editor-plugin-history": "^8.0.0",
33
+ "@atlaskit/editor-plugin-primary-toolbar": "^9.0.0",
34
+ "@atlaskit/editor-plugin-toolbar": "^5.0.0",
35
+ "@atlaskit/editor-plugin-type-ahead": "^8.0.0",
36
36
  "@atlaskit/editor-prosemirror": "^7.3.0",
37
37
  "@atlaskit/editor-toolbar": "^0.19.0",
38
38
  "@atlaskit/editor-toolbar-model": "^0.4.0",
39
39
  "@atlaskit/icon": "^32.0.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
41
  "@atlaskit/prosemirror-history": "^0.2.0",
42
- "@atlaskit/tmp-editor-statsig": "^35.0.0",
42
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "@atlaskit/editor-common": "^111.30.0",
47
+ "@atlaskit/editor-common": "^112.0.0",
48
48
  "react": "^18.2.0",
49
49
  "react-intl-next": "npm:react-intl@^5.18.1"
50
50
  },