@atlaskit/editor-toolbar 2.3.2 → 2.3.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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 2.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f02f8c37640f3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f02f8c37640f3) -
|
|
8
|
+
Migrate deprecated Badge appearance values to the new semantic appearances.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 2.3.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -13,7 +13,7 @@ var ToolbarKeyboardShortcutHint = exports.ToolbarKeyboardShortcutHint = function
|
|
|
13
13
|
isDisabled = _ref.isDisabled;
|
|
14
14
|
if (isDisabled) {
|
|
15
15
|
return /*#__PURE__*/_react.default.createElement(_badge.default, {
|
|
16
|
-
appearance: "
|
|
16
|
+
appearance: "inverse"
|
|
17
17
|
}, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
18
18
|
color: "color.text.disabled"
|
|
19
19
|
}, shortcut));
|
|
@@ -7,7 +7,7 @@ export const ToolbarKeyboardShortcutHint = ({
|
|
|
7
7
|
}) => {
|
|
8
8
|
if (isDisabled) {
|
|
9
9
|
return /*#__PURE__*/React.createElement(Badge, {
|
|
10
|
-
appearance: "
|
|
10
|
+
appearance: "inverse"
|
|
11
11
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
12
12
|
color: "color.text.disabled"
|
|
13
13
|
}, shortcut));
|
|
@@ -6,7 +6,7 @@ export var ToolbarKeyboardShortcutHint = function ToolbarKeyboardShortcutHint(_r
|
|
|
6
6
|
isDisabled = _ref.isDisabled;
|
|
7
7
|
if (isDisabled) {
|
|
8
8
|
return /*#__PURE__*/React.createElement(Badge, {
|
|
9
|
-
appearance: "
|
|
9
|
+
appearance: "inverse"
|
|
10
10
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
11
11
|
color: "color.text.disabled"
|
|
12
12
|
}, shortcut));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org/"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.3.
|
|
6
|
+
"version": "2.3.3",
|
|
7
7
|
"description": "Common UI for Toolbars across the platform",
|
|
8
8
|
"atlassian": {
|
|
9
9
|
"react-compiler": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/popup": "^5.1.0",
|
|
39
39
|
"@atlaskit/primitives": "^22.0.0",
|
|
40
40
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^126.
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^126.4.0",
|
|
42
42
|
"@atlaskit/tokens": "^16.0.0",
|
|
43
43
|
"@atlaskit/tooltip": "^23.1.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|