@atlaskit/editor-plugin-type-ahead 6.5.10 → 6.5.11
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,12 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-type-ahead
|
|
2
2
|
|
|
3
|
+
## 6.5.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`069d0ff21c75e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/069d0ff21c75e) -
|
|
8
|
+
Cleans up FG platform_editor_typeahead_aria_label
|
|
9
|
+
|
|
3
10
|
## 6.5.10
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -17,7 +17,6 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
17
17
|
var _typeAhead = require("@atlaskit/editor-common/type-ahead");
|
|
18
18
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
19
19
|
var _menu = require("@atlaskit/menu");
|
|
20
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
22
21
|
var _closeTypeAhead = require("../pm-plugins/commands/close-type-ahead");
|
|
23
22
|
var _updateSelectedIndex = require("../pm-plugins/commands/update-selected-index");
|
|
@@ -357,10 +356,7 @@ var TypeAheadListComponent = /*#__PURE__*/_react.default.memo(function (_ref2) {
|
|
|
357
356
|
onScroll: onScroll,
|
|
358
357
|
height: height,
|
|
359
358
|
overscanRowCount: 3,
|
|
360
|
-
"aria-label": (0,
|
|
361
|
-
// We need to make this walkaround to make TS happy, cannot pass undefined otherwise ReactVirualized will make it equal to "grid" which we want to avoid
|
|
362
|
-
// https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/Grid.js#L260
|
|
363
|
-
null,
|
|
359
|
+
"aria-label": (0, _utils.getTypeAheadListAriaLabels)(undefined, intl).popupAriaLabel,
|
|
364
360
|
containerRole: "presentation",
|
|
365
361
|
role: "listbox"
|
|
366
362
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -15,7 +15,6 @@ import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/
|
|
|
15
15
|
import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/type-ahead';
|
|
16
16
|
import { AssistiveText } from '@atlaskit/editor-common/ui';
|
|
17
17
|
import { MenuGroup } from '@atlaskit/menu';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
18
|
import { Text, Box } from '@atlaskit/primitives/compiled';
|
|
20
19
|
import { closeTypeAhead } from '../pm-plugins/commands/close-type-ahead';
|
|
21
20
|
import { updateSelectedIndex } from '../pm-plugins/commands/update-selected-index';
|
|
@@ -337,10 +336,7 @@ const TypeAheadListComponent = /*#__PURE__*/React.memo(({
|
|
|
337
336
|
onScroll: onScroll,
|
|
338
337
|
height: height,
|
|
339
338
|
overscanRowCount: 3,
|
|
340
|
-
"aria-label":
|
|
341
|
-
// We need to make this walkaround to make TS happy, cannot pass undefined otherwise ReactVirualized will make it equal to "grid" which we want to avoid
|
|
342
|
-
// https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/Grid.js#L260
|
|
343
|
-
null,
|
|
339
|
+
"aria-label": getTypeAheadListAriaLabels(undefined, intl).popupAriaLabel,
|
|
344
340
|
containerRole: "presentation",
|
|
345
341
|
role: "listbox"
|
|
346
342
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
@@ -16,7 +16,6 @@ import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/
|
|
|
16
16
|
import { SelectItemMode, typeAheadListMessages } from '@atlaskit/editor-common/type-ahead';
|
|
17
17
|
import { AssistiveText } from '@atlaskit/editor-common/ui';
|
|
18
18
|
import { MenuGroup } from '@atlaskit/menu';
|
|
19
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
20
19
|
import { Text, Box } from '@atlaskit/primitives/compiled';
|
|
21
20
|
import { closeTypeAhead } from '../pm-plugins/commands/close-type-ahead';
|
|
22
21
|
import { updateSelectedIndex } from '../pm-plugins/commands/update-selected-index';
|
|
@@ -348,10 +347,7 @@ var TypeAheadListComponent = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
348
347
|
onScroll: onScroll,
|
|
349
348
|
height: height,
|
|
350
349
|
overscanRowCount: 3,
|
|
351
|
-
"aria-label":
|
|
352
|
-
// We need to make this walkaround to make TS happy, cannot pass undefined otherwise ReactVirualized will make it equal to "grid" which we want to avoid
|
|
353
|
-
// https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/Grid.js#L260
|
|
354
|
-
null,
|
|
350
|
+
"aria-label": getTypeAheadListAriaLabels(undefined, intl).popupAriaLabel,
|
|
355
351
|
containerRole: "presentation",
|
|
356
352
|
role: "listbox"
|
|
357
353
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-type-ahead",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.11",
|
|
4
4
|
"description": "Type-ahead plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"w3c-keyname": "^2.1.8"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@atlaskit/editor-common": "^110.
|
|
61
|
+
"@atlaskit/editor-common": "^110.22.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"
|
|
@@ -108,9 +108,6 @@
|
|
|
108
108
|
"platform_editor_a11y_remove_input_query_on_click": {
|
|
109
109
|
"type": "boolean"
|
|
110
110
|
},
|
|
111
|
-
"platform_editor_typeahead_aria_label": {
|
|
112
|
-
"type": "boolean"
|
|
113
|
-
},
|
|
114
111
|
"platform_editor_typeahead_description_text_colour": {
|
|
115
112
|
"type": "boolean"
|
|
116
113
|
},
|