@atlaskit/editor-plugin-undo-redo 3.2.2 → 3.2.3
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 +13 -0
- package/dist/cjs/ui/ToolbarUndoRedo/RedoButton.js +2 -1
- package/dist/cjs/ui/ToolbarUndoRedo/UndoButton.js +2 -1
- package/dist/es2019/ui/ToolbarUndoRedo/RedoButton.js +2 -1
- package/dist/es2019/ui/ToolbarUndoRedo/UndoButton.js +2 -1
- package/dist/esm/ui/ToolbarUndoRedo/RedoButton.js +2 -1
- package/dist/esm/ui/ToolbarUndoRedo/UndoButton.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-undo-redo
|
|
2
2
|
|
|
3
|
+
## 3.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`286abb4d35eba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/286abb4d35eba) -
|
|
8
|
+
[ux] [ED-28960] Finish full page primary toolbar migration
|
|
9
|
+
|
|
10
|
+
- Align with design update (separator, gap, height, icon size)
|
|
11
|
+
- Add keyboard shortcut to focus toolbar and arrow key navigation
|
|
12
|
+
- Address accessibility
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 3.2.2
|
|
4
17
|
|
|
5
18
|
### 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.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "Undo redo plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,12 +41,12 @@
|
|
|
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.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^11.4.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.
|
|
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
|
},
|