@atlaskit/editor-plugin-type-ahead 1.8.7 → 1.8.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
|
@@ -222,7 +222,11 @@ var TypeAheadListItem = exports.TypeAheadListItem = /*#__PURE__*/_react.default.
|
|
|
222
222
|
iconBefore: elementIcon,
|
|
223
223
|
isSelected: isSelected,
|
|
224
224
|
"aria-selected": isSelected,
|
|
225
|
-
"aria-label": title
|
|
225
|
+
"aria-label": title
|
|
226
|
+
// TODO: aria-description is in draft for ARIA 1.3.
|
|
227
|
+
// For now replace it with aria-describedby.
|
|
228
|
+
// eslint-disable-next-line jsx-a11y/aria-props
|
|
229
|
+
,
|
|
226
230
|
"aria-description": "".concat(descriptionText, " ").concat(shortcutText),
|
|
227
231
|
"aria-setsize": itemsLength,
|
|
228
232
|
"aria-posinset": itemIndex,
|
|
@@ -235,7 +235,11 @@ export const TypeAheadListItem = /*#__PURE__*/React.memo(({
|
|
|
235
235
|
iconBefore: elementIcon,
|
|
236
236
|
isSelected: isSelected,
|
|
237
237
|
"aria-selected": isSelected,
|
|
238
|
-
"aria-label": title
|
|
238
|
+
"aria-label": title
|
|
239
|
+
// TODO: aria-description is in draft for ARIA 1.3.
|
|
240
|
+
// For now replace it with aria-describedby.
|
|
241
|
+
// eslint-disable-next-line jsx-a11y/aria-props
|
|
242
|
+
,
|
|
239
243
|
"aria-description": `${descriptionText} ${shortcutText}`,
|
|
240
244
|
"aria-setsize": itemsLength,
|
|
241
245
|
"aria-posinset": itemIndex,
|
|
@@ -214,7 +214,11 @@ export var TypeAheadListItem = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
214
214
|
iconBefore: elementIcon,
|
|
215
215
|
isSelected: isSelected,
|
|
216
216
|
"aria-selected": isSelected,
|
|
217
|
-
"aria-label": title
|
|
217
|
+
"aria-label": title
|
|
218
|
+
// TODO: aria-description is in draft for ARIA 1.3.
|
|
219
|
+
// For now replace it with aria-describedby.
|
|
220
|
+
// eslint-disable-next-line jsx-a11y/aria-props
|
|
221
|
+
,
|
|
218
222
|
"aria-description": "".concat(descriptionText, " ").concat(shortcutText),
|
|
219
223
|
"aria-setsize": itemsLength,
|
|
220
224
|
"aria-posinset": itemIndex,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^40.9.0",
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
35
|
+
"@atlaskit/editor-common": "^91.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.8.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
39
39
|
"@atlaskit/menu": "^2.12.0",
|
|
40
40
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
|
41
41
|
"@atlaskit/theme": "^13.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^1.
|
|
42
|
+
"@atlaskit/tokens": "^1.61.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1",
|
|
45
45
|
"lodash": "^4.17.21",
|
package/.eslintrc.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
rules: {
|
|
3
|
-
'@typescript-eslint/no-duplicate-imports': 'error',
|
|
4
|
-
'@typescript-eslint/no-explicit-any': 'error',
|
|
5
|
-
'@atlaskit/design-system/ensure-design-token-usage/preview': [
|
|
6
|
-
'error',
|
|
7
|
-
{ domains: ['spacing'], shouldEnforceFallbacks: false },
|
|
8
|
-
],
|
|
9
|
-
},
|
|
10
|
-
};
|