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

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,24 @@
1
1
  # @atlaskit/editor-plugin-undo-redo
2
2
 
3
+ ## 3.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.2.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`286abb4d35eba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/286abb4d35eba) -
14
+ [ux] [ED-28960] Finish full page primary toolbar migration
15
+
16
+ - Align with design update (separator, gap, height, icon size)
17
+ - Add keyboard shortcut to focus toolbar and arrow key navigation
18
+ - Address accessibility
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 3.2.2
4
23
 
5
24
  ### Patch Changes
@@ -40,7 +40,8 @@ var RedoButton = exports.RedoButton = function RedoButton(_ref) {
40
40
  })
41
41
  }, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
42
42
  iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.RedoIcon, {
43
- label: formatMessage(_messages.undoRedoMessages.redo)
43
+ label: formatMessage(_messages.undoRedoMessages.redo),
44
+ size: "small"
44
45
  }),
45
46
  onClick: handleRedo,
46
47
  isDisabled: !canRedo,
@@ -40,7 +40,8 @@ var UndoButton = exports.UndoButton = function UndoButton(_ref) {
40
40
  })
41
41
  }, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
42
42
  iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.UndoIcon, {
43
- label: formatMessage(_messages.undoRedoMessages.undo)
43
+ label: formatMessage(_messages.undoRedoMessages.undo),
44
+ size: "small"
44
45
  }),
45
46
  onClick: handleUndo,
46
47
  isDisabled: !canUndo,
@@ -37,7 +37,8 @@ export const RedoButton = ({
37
37
  })
38
38
  }, /*#__PURE__*/React.createElement(ToolbarButton, {
39
39
  iconBefore: /*#__PURE__*/React.createElement(RedoIcon, {
40
- label: formatMessage(undoRedoMessages.redo)
40
+ label: formatMessage(undoRedoMessages.redo),
41
+ size: "small"
41
42
  }),
42
43
  onClick: handleRedo,
43
44
  isDisabled: !canRedo,
@@ -37,7 +37,8 @@ export const UndoButton = ({
37
37
  })
38
38
  }, /*#__PURE__*/React.createElement(ToolbarButton, {
39
39
  iconBefore: /*#__PURE__*/React.createElement(UndoIcon, {
40
- label: formatMessage(undoRedoMessages.undo)
40
+ label: formatMessage(undoRedoMessages.undo),
41
+ size: "small"
41
42
  }),
42
43
  onClick: handleUndo,
43
44
  isDisabled: !canUndo,
@@ -33,7 +33,8 @@ export var RedoButton = function RedoButton(_ref) {
33
33
  })
34
34
  }, /*#__PURE__*/React.createElement(ToolbarButton, {
35
35
  iconBefore: /*#__PURE__*/React.createElement(RedoIcon, {
36
- label: formatMessage(undoRedoMessages.redo)
36
+ label: formatMessage(undoRedoMessages.redo),
37
+ size: "small"
37
38
  }),
38
39
  onClick: handleRedo,
39
40
  isDisabled: !canRedo,
@@ -33,7 +33,8 @@ export var UndoButton = function UndoButton(_ref) {
33
33
  })
34
34
  }, /*#__PURE__*/React.createElement(ToolbarButton, {
35
35
  iconBefore: /*#__PURE__*/React.createElement(UndoIcon, {
36
- label: formatMessage(undoRedoMessages.undo)
36
+ label: formatMessage(undoRedoMessages.undo),
37
+ size: "small"
37
38
  }),
38
39
  onClick: handleUndo,
39
40
  isDisabled: !canUndo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-undo-redo",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "description": "Undo redo plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,19 +34,19 @@
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.3.0",
37
+ "@atlaskit/editor-plugin-toolbar": "^0.4.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
42
  "@atlaskit/icon": "^28.0.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/tmp-editor-statsig": "^11.3.0",
44
+ "@atlaskit/tmp-editor-statsig": "^11.5.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@atlaskit/editor-common": "^107.26.0",
49
+ "@atlaskit/editor-common": "^107.28.0",
50
50
  "react": "^18.2.0",
51
51
  "react-intl-next": "npm:react-intl@^5.18.1"
52
52
  },