@entur/dropdown 6.0.3-RC.2 → 6.0.3-RC.4
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/dist/dropdown.cjs.development.js +10 -4
- package/dist/dropdown.cjs.development.js.map +1 -1
- package/dist/dropdown.cjs.production.min.js +1 -1
- package/dist/dropdown.cjs.production.min.js.map +1 -1
- package/dist/dropdown.esm.js +10 -4
- package/dist/dropdown.esm.js.map +1 -1
- package/dist/styles.css +106 -106
- package/package.json +2 -2
package/dist/dropdown.esm.js
CHANGED
|
@@ -1884,9 +1884,12 @@ var SearchableDropdown = function SearchableDropdown(_ref) {
|
|
|
1884
1884
|
},
|
|
1885
1885
|
onKeyDown: function onKeyDown(e) {
|
|
1886
1886
|
if (selectOnTab && isOpen && e.key === 'Tab') onChange == null ? void 0 : onChange(listItems[highlightedIndex]);
|
|
1887
|
-
}
|
|
1887
|
+
}
|
|
1888
|
+
}, {
|
|
1889
|
+
suppressRefError: true
|
|
1890
|
+
}), {
|
|
1888
1891
|
ref: inputRef
|
|
1889
|
-
}))
|
|
1892
|
+
})), React.createElement(DropdownList, {
|
|
1890
1893
|
ariaLabelChosenSingular: ariaLabelChosenSingular,
|
|
1891
1894
|
ariaLabelSelectedItem: ariaLabelSelectedItem,
|
|
1892
1895
|
getItemProps: getItemProps,
|
|
@@ -2263,9 +2266,12 @@ var MultiSelect = function MultiSelect(_ref) {
|
|
|
2263
2266
|
}
|
|
2264
2267
|
}, getDropdownProps({
|
|
2265
2268
|
preventKeyAction: isOpen,
|
|
2266
|
-
value: inputValue != null ? inputValue : EMPTY_INPUT
|
|
2269
|
+
value: inputValue != null ? inputValue : EMPTY_INPUT
|
|
2270
|
+
}, {
|
|
2271
|
+
suppressRefError: true
|
|
2272
|
+
}))), {
|
|
2267
2273
|
ref: inputRef
|
|
2268
|
-
})))
|
|
2274
|
+
}))), React.createElement(DropdownList, {
|
|
2269
2275
|
ariaLabelChosenSingular: ariaLabelChosenSingular,
|
|
2270
2276
|
ariaLabelSelectedItem: ariaLabelSelectedItem,
|
|
2271
2277
|
getItemProps: getItemProps,
|