@atlaskit/editor-plugin-card 18.0.2 → 18.0.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,19 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 18.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 18.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`275679fbe0ea1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/275679fbe0ea1) -
14
+ Add accessible labels to two floating-toolbar buttons that axe flagged
15
+ - Updated dependencies
16
+
3
17
  ## 18.0.2
4
18
 
5
19
  ### 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.2",
3
+ "version": "18.0.4",
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.0.0",
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.0.0",
61
- "@atlaskit/tmp-editor-statsig": "^106.0.0",
60
+ "@atlaskit/smart-card": "^45.1.0",
61
+ "@atlaskit/tmp-editor-statsig": "^108.0.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.2.0",
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"