@atlaskit/editor-plugin-media 2.6.4 → 2.6.5

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,14 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 2.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#144182](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/144182)
8
+ [`94ee57c2be328`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/94ee57c2be328) -
9
+ A11Y-9934: Update aria labels to be translated and more accurate.
10
+ - Updated dependencies
11
+
3
12
  ## 2.6.4
4
13
 
5
14
  ### Patch Changes
@@ -131,7 +131,7 @@ var ImageBorder = function ImageBorder(_ref) {
131
131
  content: (0, _react2.jsx)("div", null, (0, _react2.jsx)("button", {
132
132
  ref: dropDownColorOptionButton,
133
133
  type: "button",
134
- "aria-label": "Image border options Color dropdown button",
134
+ "aria-label": formatMessage(_media.imageBorderMessages.borderColorDropdownAriaLabel),
135
135
  "data-testid": "image-border-dropdown-button-color"
136
136
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
137
137
  ,
@@ -197,7 +197,7 @@ var ImageBorder = function ImageBorder(_ref) {
197
197
  }, {
198
198
  content: (0, _react2.jsx)("div", null, (0, _react2.jsx)("button", {
199
199
  type: "button",
200
- "aria-label": "Image border options Size dropdown button",
200
+ "aria-label": formatMessage(_media.imageBorderMessages.borderSizeDropdownAriaLabel),
201
201
  "data-testid": "image-border-dropdown-button-size"
202
202
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
203
203
  ,
@@ -111,7 +111,7 @@ const ImageBorder = ({
111
111
  content: jsx("div", null, jsx("button", {
112
112
  ref: dropDownColorOptionButton,
113
113
  type: "button",
114
- "aria-label": "Image border options Color dropdown button",
114
+ "aria-label": formatMessage(messages.borderColorDropdownAriaLabel),
115
115
  "data-testid": "image-border-dropdown-button-color"
116
116
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
117
117
  ,
@@ -173,7 +173,7 @@ const ImageBorder = ({
173
173
  }, {
174
174
  content: jsx("div", null, jsx("button", {
175
175
  type: "button",
176
- "aria-label": "Image border options Size dropdown button",
176
+ "aria-label": formatMessage(messages.borderSizeDropdownAriaLabel),
177
177
  "data-testid": "image-border-dropdown-button-size"
178
178
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
179
179
  ,
@@ -123,7 +123,7 @@ var ImageBorder = function ImageBorder(_ref) {
123
123
  content: jsx("div", null, jsx("button", {
124
124
  ref: dropDownColorOptionButton,
125
125
  type: "button",
126
- "aria-label": "Image border options Color dropdown button",
126
+ "aria-label": formatMessage(messages.borderColorDropdownAriaLabel),
127
127
  "data-testid": "image-border-dropdown-button-color"
128
128
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
129
129
  ,
@@ -189,7 +189,7 @@ var ImageBorder = function ImageBorder(_ref) {
189
189
  }, {
190
190
  content: jsx("div", null, jsx("button", {
191
191
  type: "button",
192
- "aria-label": "Image border options Size dropdown button",
192
+ "aria-label": formatMessage(messages.borderSizeDropdownAriaLabel),
193
193
  "data-testid": "image-border-dropdown-button-size"
194
194
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
195
195
  ,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
39
39
  "@atlaskit/analytics-next": "^11.0.0",
40
40
  "@atlaskit/button": "^23.0.0",
41
- "@atlaskit/editor-common": "^103.13.0",
41
+ "@atlaskit/editor-common": "^103.14.0",
42
42
  "@atlaskit/editor-palette": "^2.1.0",
43
43
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
44
44
  "@atlaskit/editor-plugin-annotation": "^2.7.0",