@atlaskit/editor-plugin-type-ahead 6.5.8 → 6.5.9

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,11 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 6.5.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 6.5.8
4
10
 
5
11
  ### Patch Changes
@@ -256,12 +256,7 @@ var TypeAheadListItem = exports.TypeAheadListItem = /*#__PURE__*/_react.default.
256
256
  iconBefore: elementIcon,
257
257
  isSelected: isSelected,
258
258
  "aria-selected": isSelected,
259
- "aria-label": title
260
- // TODO: ED-26959 - aria-description is in draft for ARIA 1.3.
261
- // For now replace it with aria-describedby.
262
- // eslint-disable-next-line @atlassian/a11y/aria-props -- TODO: Avoid using "aria-description" as aria attribute. See https://go/a11y-aria-props for more details.
263
- ,
264
- "aria-description": (0, _platformFeatureFlags.fg)('platform_editor_a11y_fix_aria_description') ? undefined : "".concat(descriptionText, " ").concat(shortcutText),
259
+ "aria-label": title,
265
260
  "aria-describedby": (descriptionText || shortcutText) && (0, _platformFeatureFlags.fg)('platform_editor_a11y_fix_aria_description') ? descriptionId : undefined,
266
261
  "aria-setsize": itemsLength,
267
262
  "aria-posinset": (0, _expValEquals.expValEquals)('platform_editor_fix_a11y_aria_posinset_0', 'isEnabled', true) ? itemIndex + 1 : itemIndex,
@@ -270,12 +270,7 @@ export const TypeAheadListItem = /*#__PURE__*/React.memo(({
270
270
  iconBefore: elementIcon,
271
271
  isSelected: isSelected,
272
272
  "aria-selected": isSelected,
273
- "aria-label": title
274
- // TODO: ED-26959 - aria-description is in draft for ARIA 1.3.
275
- // For now replace it with aria-describedby.
276
- // eslint-disable-next-line @atlassian/a11y/aria-props -- TODO: Avoid using "aria-description" as aria attribute. See https://go/a11y-aria-props for more details.
277
- ,
278
- "aria-description": fg('platform_editor_a11y_fix_aria_description') ? undefined : `${descriptionText} ${shortcutText}`,
273
+ "aria-label": title,
279
274
  "aria-describedby": (descriptionText || shortcutText) && fg('platform_editor_a11y_fix_aria_description') ? descriptionId : undefined,
280
275
  "aria-setsize": itemsLength,
281
276
  "aria-posinset": expValEquals('platform_editor_fix_a11y_aria_posinset_0', 'isEnabled', true) ? itemIndex + 1 : itemIndex,
@@ -248,12 +248,7 @@ export var TypeAheadListItem = /*#__PURE__*/React.memo(function (_ref2) {
248
248
  iconBefore: elementIcon,
249
249
  isSelected: isSelected,
250
250
  "aria-selected": isSelected,
251
- "aria-label": title
252
- // TODO: ED-26959 - aria-description is in draft for ARIA 1.3.
253
- // For now replace it with aria-describedby.
254
- // eslint-disable-next-line @atlassian/a11y/aria-props -- TODO: Avoid using "aria-description" as aria attribute. See https://go/a11y-aria-props for more details.
255
- ,
256
- "aria-description": fg('platform_editor_a11y_fix_aria_description') ? undefined : "".concat(descriptionText, " ").concat(shortcutText),
251
+ "aria-label": title,
257
252
  "aria-describedby": (descriptionText || shortcutText) && fg('platform_editor_a11y_fix_aria_description') ? descriptionId : undefined,
258
253
  "aria-setsize": itemsLength,
259
254
  "aria-posinset": expValEquals('platform_editor_fix_a11y_aria_posinset_0', 'isEnabled', true) ? itemIndex + 1 : itemIndex,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "6.5.8",
3
+ "version": "6.5.9",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,14 +39,14 @@
39
39
  "@atlaskit/editor-shared-styles": "^3.8.0",
40
40
  "@atlaskit/heading": "^5.2.0",
41
41
  "@atlaskit/icon": "^28.5.0",
42
- "@atlaskit/insm": "^0.1.0",
42
+ "@atlaskit/insm": "^0.2.0",
43
43
  "@atlaskit/menu": "^8.4.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/primitives": "^16.1.0",
46
46
  "@atlaskit/prosemirror-history": "^0.2.0",
47
47
  "@atlaskit/prosemirror-input-rules": "^3.5.0",
48
48
  "@atlaskit/theme": "^21.0.0",
49
- "@atlaskit/tmp-editor-statsig": "^13.20.0",
49
+ "@atlaskit/tmp-editor-statsig": "^13.23.0",
50
50
  "@atlaskit/tokens": "^7.0.0",
51
51
  "@atlaskit/visually-hidden": "^3.0.0",
52
52
  "@babel/runtime": "^7.0.0",
@@ -58,7 +58,7 @@
58
58
  "w3c-keyname": "^2.1.8"
59
59
  },
60
60
  "peerDependencies": {
61
- "@atlaskit/editor-common": "^110.18.0",
61
+ "@atlaskit/editor-common": "^110.20.0",
62
62
  "react": "^18.2.0",
63
63
  "react-dom": "^18.2.0",
64
64
  "react-intl-next": "npm:react-intl@^5.18.1"