@atlaskit/editor-plugin-card 18.0.2 → 18.0.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-plugin-card
|
|
2
2
|
|
|
3
|
+
## 18.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`275679fbe0ea1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/275679fbe0ea1) -
|
|
8
|
+
Add accessible labels to two floating-toolbar buttons that axe flagged
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 18.0.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -76,6 +76,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
76
76
|
testId: "edit-link",
|
|
77
77
|
onClick: onEditLink,
|
|
78
78
|
icon: icon,
|
|
79
|
+
ariaLabel: areAnyNewToolbarFlagsEnabled ? intl.formatMessage(_messages.linkToolbarMessages.editLink) : undefined,
|
|
79
80
|
tooltipContent: tooltipContent,
|
|
80
81
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
81
82
|
}, !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
@@ -59,6 +59,7 @@ const EditToolbarButtonPresentation = ({
|
|
|
59
59
|
testId: "edit-link",
|
|
60
60
|
onClick: onEditLink,
|
|
61
61
|
icon: icon,
|
|
62
|
+
ariaLabel: areAnyNewToolbarFlagsEnabled ? intl.formatMessage(linkToolbarMessages.editLink) : undefined,
|
|
62
63
|
tooltipContent: tooltipContent,
|
|
63
64
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
64
65
|
}, !areAnyNewToolbarFlagsEnabled && jsx(FormattedMessage
|
|
@@ -68,6 +68,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
68
68
|
testId: "edit-link",
|
|
69
69
|
onClick: onEditLink,
|
|
70
70
|
icon: icon,
|
|
71
|
+
ariaLabel: areAnyNewToolbarFlagsEnabled ? intl.formatMessage(linkToolbarMessages.editLink) : undefined,
|
|
71
72
|
tooltipContent: tooltipContent,
|
|
72
73
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
73
74
|
}, !areAnyNewToolbarFlagsEnabled && jsx(FormattedMessage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.3",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^55.
|
|
24
|
+
"@atlaskit/adf-schema": "^55.2.0",
|
|
25
25
|
"@atlaskit/analytics-next": "^12.0.0",
|
|
26
26
|
"@atlaskit/button": "^24.0.0",
|
|
27
27
|
"@atlaskit/css": "^1.0.0",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"@atlaskit/platform-feature-flags-react": "^1.0.0",
|
|
58
58
|
"@atlaskit/primitives": "^20.0.0",
|
|
59
59
|
"@atlaskit/prosemirror-history": "^1.0.0",
|
|
60
|
-
"@atlaskit/smart-card": "^45.
|
|
61
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
60
|
+
"@atlaskit/smart-card": "^45.1.0",
|
|
61
|
+
"@atlaskit/tmp-editor-statsig": "^107.1.0",
|
|
62
62
|
"@atlaskit/tokens": "^14.0.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
64
64
|
"@emotion/react": "^11.7.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uuid": "^3.1.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^116.
|
|
71
|
+
"@atlaskit/editor-common": "^116.3.0",
|
|
72
72
|
"@atlaskit/link-provider": "^5.0.0",
|
|
73
73
|
"react": "^18.2.0",
|
|
74
74
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|