@transferwise/components 0.0.0-experimental-8d248e3 → 0.0.0-experimental-0b6896b
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/build/index.esm.js +4 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -0
- package/build/index.js.map +1 -1
- package/build/types/select/Select.d.ts.map +1 -1
- package/build/types/select/searchBox/SearchBox.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/dateInput/DateInput.story.tsx +0 -3
- package/src/moneyInput/MoneyInput.story.tsx +0 -3
- package/src/phoneNumberInput/PhoneNumberInput.story.js +0 -3
- package/src/select/Select.js +2 -0
- package/src/select/Select.story.js +0 -6
- package/src/select/searchBox/SearchBox.spec.js +3 -7
- package/src/select/searchBox/SearchBox.tsx +2 -0
- package/src/select/searchBox/__snapshots__/SearchBox.spec.js.snap +0 -46
package/build/index.esm.js
CHANGED
|
@@ -7494,6 +7494,8 @@ const SearchBox = /*#__PURE__*/forwardRef(({
|
|
|
7494
7494
|
}), /*#__PURE__*/jsx(Input, {
|
|
7495
7495
|
ref: reference,
|
|
7496
7496
|
id: id,
|
|
7497
|
+
role: "searchbox",
|
|
7498
|
+
inputMode: "search",
|
|
7497
7499
|
className: classNames(style('np-select-filter')),
|
|
7498
7500
|
placeholder: placeholder,
|
|
7499
7501
|
value: value,
|
|
@@ -7784,6 +7786,8 @@ function Select({
|
|
|
7784
7786
|
ref: optionsListReference,
|
|
7785
7787
|
id: listboxId,
|
|
7786
7788
|
role: "listbox",
|
|
7789
|
+
"aria-orientation": "vertical",
|
|
7790
|
+
"aria-activedescendant": getUniqueIdForOption(id, selected),
|
|
7787
7791
|
tabIndex: "-1",
|
|
7788
7792
|
className: dropdownClass,
|
|
7789
7793
|
...dropdownProps,
|