@atlaskit/editor-plugin-type-ahead 1.10.6 → 1.10.7
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
|
@@ -393,13 +393,14 @@ var InputQuery = exports.InputQuery = /*#__PURE__*/_react.default.memo(function
|
|
|
393
393
|
"data-query-prefix": triggerQueryPrefix
|
|
394
394
|
}, query === null ? (0, _react2.jsx)("input", {
|
|
395
395
|
ref: inputRef,
|
|
396
|
-
type: "text"
|
|
396
|
+
type: "text",
|
|
397
|
+
"aria-label": intl.formatMessage(getAriaLabel(triggerQueryPrefix, intl))
|
|
397
398
|
}) : query), (0, _react2.jsx)("span", {
|
|
398
399
|
id: assistiveHintID,
|
|
399
400
|
style: {
|
|
400
401
|
display: 'none'
|
|
401
402
|
}
|
|
402
|
-
}, intl.formatMessage(
|
|
403
|
+
}, intl.formatMessage(_typeAhead.typeAheadListMessages.inputQueryAssistiveLabel)), (0, _react2.jsx)(_AssistiveText.AssistiveText, {
|
|
403
404
|
assistiveText: items.length === 0 ? intl.formatMessage(_typeAhead.typeAheadListMessages.noSearchResultsLabel, {
|
|
404
405
|
itemsLength: items.length
|
|
405
406
|
}) : '',
|
|
@@ -385,13 +385,14 @@ export const InputQuery = /*#__PURE__*/React.memo(({
|
|
|
385
385
|
"data-query-prefix": triggerQueryPrefix
|
|
386
386
|
}, query === null ? jsx("input", {
|
|
387
387
|
ref: inputRef,
|
|
388
|
-
type: "text"
|
|
388
|
+
type: "text",
|
|
389
|
+
"aria-label": intl.formatMessage(getAriaLabel(triggerQueryPrefix, intl))
|
|
389
390
|
}) : query), jsx("span", {
|
|
390
391
|
id: assistiveHintID,
|
|
391
392
|
style: {
|
|
392
393
|
display: 'none'
|
|
393
394
|
}
|
|
394
|
-
}, intl.formatMessage(
|
|
395
|
+
}, intl.formatMessage(typeAheadListMessages.inputQueryAssistiveLabel)), jsx(AssistiveText, {
|
|
395
396
|
assistiveText: items.length === 0 ? intl.formatMessage(typeAheadListMessages.noSearchResultsLabel, {
|
|
396
397
|
itemsLength: items.length
|
|
397
398
|
}) : '',
|
|
@@ -382,13 +382,14 @@ export var InputQuery = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
382
382
|
"data-query-prefix": triggerQueryPrefix
|
|
383
383
|
}, query === null ? jsx("input", {
|
|
384
384
|
ref: inputRef,
|
|
385
|
-
type: "text"
|
|
385
|
+
type: "text",
|
|
386
|
+
"aria-label": intl.formatMessage(getAriaLabel(triggerQueryPrefix, intl))
|
|
386
387
|
}) : query), jsx("span", {
|
|
387
388
|
id: assistiveHintID,
|
|
388
389
|
style: {
|
|
389
390
|
display: 'none'
|
|
390
391
|
}
|
|
391
|
-
}, intl.formatMessage(
|
|
392
|
+
}, intl.formatMessage(typeAheadListMessages.inputQueryAssistiveLabel)), jsx(AssistiveText, {
|
|
392
393
|
assistiveText: items.length === 0 ? intl.formatMessage(typeAheadListMessages.noSearchResultsLabel, {
|
|
393
394
|
itemsLength: items.length
|
|
394
395
|
}) : '',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.7",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^44.2.0",
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
35
|
+
"@atlaskit/editor-common": "^95.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
41
41
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
|
42
42
|
"@atlaskit/theme": "^14.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^2.
|
|
43
|
+
"@atlaskit/tokens": "^2.3.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1",
|
|
46
46
|
"lodash": "^4.17.21",
|