@atlaskit/editor-plugin-undo-redo 3.2.0 → 3.2.2

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
+ ## 3.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.2.0
4
16
 
5
17
  ### Minor Changes
@@ -1,12 +1,12 @@
1
- import React from "react";
2
- import { useIntl } from "react-intl-next";
3
- import { useSharedPluginStateWithSelector } from "@atlaskit/editor-common/hooks";
1
+ import React from 'react';
2
+ import { useIntl } from 'react-intl-next';
3
+ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
4
  import { getAriaKeyshortcuts, redo as redoKeymap, ToolTipContent } from '@atlaskit/editor-common/keymaps';
5
5
  import { undoRedoMessages } from '@atlaskit/editor-common/messages';
6
- import { useEditorToolbar } from "@atlaskit/editor-common/toolbar";
7
- import { ToolbarButton, RedoIcon, ToolbarTooltip } from "@atlaskit/editor-toolbar";
8
- import { redoFromToolbarWithAnalytics } from "../../pm-plugins/commands";
9
- import { forceFocus } from "../../pm-plugins/utils";
6
+ import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
7
+ import { ToolbarButton, RedoIcon, ToolbarTooltip } from '@atlaskit/editor-toolbar';
8
+ import { redoFromToolbarWithAnalytics } from '../../pm-plugins/commands';
9
+ import { forceFocus } from '../../pm-plugins/utils';
10
10
  export const RedoButton = ({
11
11
  api
12
12
  }) => {
@@ -1,12 +1,12 @@
1
- import React from "react";
2
- import { useIntl } from "react-intl-next";
3
- import { useSharedPluginStateWithSelector } from "@atlaskit/editor-common/hooks";
1
+ import React from 'react';
2
+ import { useIntl } from 'react-intl-next';
3
+ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
4
  import { getAriaKeyshortcuts, ToolTipContent, undo as undoKeymap } from '@atlaskit/editor-common/keymaps';
5
5
  import { undoRedoMessages } from '@atlaskit/editor-common/messages';
6
- import { useEditorToolbar } from "@atlaskit/editor-common/toolbar";
7
- import { ToolbarButton, ToolbarTooltip, UndoIcon } from "@atlaskit/editor-toolbar";
8
- import { undoFromToolbarWithAnalytics } from "../../pm-plugins/commands";
9
- import { forceFocus } from "../../pm-plugins/utils";
6
+ import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
7
+ import { ToolbarButton, ToolbarTooltip, UndoIcon } from '@atlaskit/editor-toolbar';
8
+ import { undoFromToolbarWithAnalytics } from '../../pm-plugins/commands';
9
+ import { forceFocus } from '../../pm-plugins/utils';
10
10
  export const UndoButton = ({
11
11
  api
12
12
  }) => {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UNDO_BUTTON, REDO_BUTTON, TRACK_CHANGES_GROUP_RANK, TRACK_CHANGES_GROUP } from "@atlaskit/editor-common/toolbar";
2
+ import { UNDO_BUTTON, REDO_BUTTON, TRACK_CHANGES_GROUP_RANK, TRACK_CHANGES_GROUP } from '@atlaskit/editor-common/toolbar';
3
3
  import { RedoButton } from './RedoButton';
4
- import { UndoButton } from "./UndoButton";
4
+ import { UndoButton } from './UndoButton';
5
5
  export const getToolbarComponents = api => {
6
6
  return [{
7
7
  type: UNDO_BUTTON.type,
@@ -1,12 +1,12 @@
1
- import React from "react";
2
- import { useIntl } from "react-intl-next";
3
- import { useSharedPluginStateWithSelector } from "@atlaskit/editor-common/hooks";
1
+ import React from 'react';
2
+ import { useIntl } from 'react-intl-next';
3
+ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
4
  import { getAriaKeyshortcuts, redo as redoKeymap, ToolTipContent } from '@atlaskit/editor-common/keymaps';
5
5
  import { undoRedoMessages } from '@atlaskit/editor-common/messages';
6
- import { useEditorToolbar } from "@atlaskit/editor-common/toolbar";
7
- import { ToolbarButton, RedoIcon, ToolbarTooltip } from "@atlaskit/editor-toolbar";
8
- import { redoFromToolbarWithAnalytics } from "../../pm-plugins/commands";
9
- import { forceFocus } from "../../pm-plugins/utils";
6
+ import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
7
+ import { ToolbarButton, RedoIcon, ToolbarTooltip } from '@atlaskit/editor-toolbar';
8
+ import { redoFromToolbarWithAnalytics } from '../../pm-plugins/commands';
9
+ import { forceFocus } from '../../pm-plugins/utils';
10
10
  export var RedoButton = function RedoButton(_ref) {
11
11
  var api = _ref.api;
12
12
  var _useIntl = useIntl(),
@@ -1,12 +1,12 @@
1
- import React from "react";
2
- import { useIntl } from "react-intl-next";
3
- import { useSharedPluginStateWithSelector } from "@atlaskit/editor-common/hooks";
1
+ import React from 'react';
2
+ import { useIntl } from 'react-intl-next';
3
+ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
4
  import { getAriaKeyshortcuts, ToolTipContent, undo as undoKeymap } from '@atlaskit/editor-common/keymaps';
5
5
  import { undoRedoMessages } from '@atlaskit/editor-common/messages';
6
- import { useEditorToolbar } from "@atlaskit/editor-common/toolbar";
7
- import { ToolbarButton, ToolbarTooltip, UndoIcon } from "@atlaskit/editor-toolbar";
8
- import { undoFromToolbarWithAnalytics } from "../../pm-plugins/commands";
9
- import { forceFocus } from "../../pm-plugins/utils";
6
+ import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
7
+ import { ToolbarButton, ToolbarTooltip, UndoIcon } from '@atlaskit/editor-toolbar';
8
+ import { undoFromToolbarWithAnalytics } from '../../pm-plugins/commands';
9
+ import { forceFocus } from '../../pm-plugins/utils';
10
10
  export var UndoButton = function UndoButton(_ref) {
11
11
  var api = _ref.api;
12
12
  var _useIntl = useIntl(),
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UNDO_BUTTON, REDO_BUTTON, TRACK_CHANGES_GROUP_RANK, TRACK_CHANGES_GROUP } from "@atlaskit/editor-common/toolbar";
2
+ import { UNDO_BUTTON, REDO_BUTTON, TRACK_CHANGES_GROUP_RANK, TRACK_CHANGES_GROUP } from '@atlaskit/editor-common/toolbar';
3
3
  import { RedoButton } from './RedoButton';
4
- import { UndoButton } from "./UndoButton";
4
+ import { UndoButton } from './UndoButton';
5
5
  export var getToolbarComponents = function getToolbarComponents(api) {
6
6
  return [{
7
7
  type: UNDO_BUTTON.type,
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- import type { ExtractInjectionAPI } from "@atlaskit/editor-common/types";
3
- import type { UndoRedoPlugin } from "../../undoRedoPluginType";
1
+ import React from 'react';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { UndoRedoPlugin } from '../../undoRedoPluginType';
4
4
  type RedoButtonProps = {
5
5
  api?: ExtractInjectionAPI<UndoRedoPlugin>;
6
6
  };
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- import type { ExtractInjectionAPI } from "@atlaskit/editor-common/types";
3
- import type { UndoRedoPlugin } from "../../undoRedoPluginType";
1
+ import React from 'react';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { UndoRedoPlugin } from '../../undoRedoPluginType';
4
4
  type UndoButtonProps = {
5
5
  api?: ExtractInjectionAPI<UndoRedoPlugin>;
6
6
  };
@@ -1,4 +1,4 @@
1
- import type { ExtractInjectionAPI } from "@atlaskit/editor-common/types";
2
- import type { RegisterComponent } from "@atlaskit/editor-toolbar-model";
3
- import type { UndoRedoPlugin } from "../../undoRedoPluginType";
1
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
+ import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
3
+ import type { UndoRedoPlugin } from '../../undoRedoPluginType';
4
4
  export declare const getToolbarComponents: (api?: ExtractInjectionAPI<UndoRedoPlugin>) => RegisterComponent[];
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- import type { ExtractInjectionAPI } from "@atlaskit/editor-common/types";
3
- import type { UndoRedoPlugin } from "../../undoRedoPluginType";
1
+ import React from 'react';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { UndoRedoPlugin } from '../../undoRedoPluginType';
4
4
  type RedoButtonProps = {
5
5
  api?: ExtractInjectionAPI<UndoRedoPlugin>;
6
6
  };
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- import type { ExtractInjectionAPI } from "@atlaskit/editor-common/types";
3
- import type { UndoRedoPlugin } from "../../undoRedoPluginType";
1
+ import React from 'react';
2
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
3
+ import type { UndoRedoPlugin } from '../../undoRedoPluginType';
4
4
  type UndoButtonProps = {
5
5
  api?: ExtractInjectionAPI<UndoRedoPlugin>;
6
6
  };
@@ -1,4 +1,4 @@
1
- import type { ExtractInjectionAPI } from "@atlaskit/editor-common/types";
2
- import type { RegisterComponent } from "@atlaskit/editor-toolbar-model";
3
- import type { UndoRedoPlugin } from "../../undoRedoPluginType";
1
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
+ import type { RegisterComponent } from '@atlaskit/editor-toolbar-model';
3
+ import type { UndoRedoPlugin } from '../../undoRedoPluginType';
4
4
  export declare const getToolbarComponents: (api?: ExtractInjectionAPI<UndoRedoPlugin>) => RegisterComponent[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-undo-redo",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "Undo redo plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,12 +34,12 @@
34
34
  "dependencies": {
35
35
  "@atlaskit/editor-plugin-history": "^3.1.0",
36
36
  "@atlaskit/editor-plugin-primary-toolbar": "^4.1.0",
37
- "@atlaskit/editor-plugin-toolbar": "^0.2.0",
37
+ "@atlaskit/editor-plugin-toolbar": "^0.3.0",
38
38
  "@atlaskit/editor-plugin-type-ahead": "^3.1.0",
39
39
  "@atlaskit/editor-prosemirror": "7.0.0",
40
40
  "@atlaskit/editor-toolbar": "^0.3.0",
41
41
  "@atlaskit/editor-toolbar-model": "^0.1.0",
42
- "@atlaskit/icon": "^27.12.0",
42
+ "@atlaskit/icon": "^28.0.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/tmp-editor-statsig": "^11.3.0",
45
45
  "@babel/runtime": "^7.0.0",