@entur/dropdown 6.0.3-RC.3 → 6.0.3-RC.5
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 +58 -58
- package/package.json +2 -2
|
@@ -1888,9 +1888,12 @@ var SearchableDropdown = function SearchableDropdown(_ref) {
|
|
|
1888
1888
|
},
|
|
1889
1889
|
onKeyDown: function onKeyDown(e) {
|
|
1890
1890
|
if (selectOnTab && isOpen && e.key === 'Tab') onChange == null ? void 0 : onChange(listItems[highlightedIndex]);
|
|
1891
|
-
}
|
|
1891
|
+
}
|
|
1892
|
+
}, {
|
|
1893
|
+
suppressRefError: true
|
|
1894
|
+
}), {
|
|
1892
1895
|
ref: inputRef
|
|
1893
|
-
}))
|
|
1896
|
+
})), React.createElement(DropdownList, {
|
|
1894
1897
|
ariaLabelChosenSingular: ariaLabelChosenSingular,
|
|
1895
1898
|
ariaLabelSelectedItem: ariaLabelSelectedItem,
|
|
1896
1899
|
getItemProps: getItemProps,
|
|
@@ -2267,9 +2270,12 @@ var MultiSelect = function MultiSelect(_ref) {
|
|
|
2267
2270
|
}
|
|
2268
2271
|
}, getDropdownProps({
|
|
2269
2272
|
preventKeyAction: isOpen,
|
|
2270
|
-
value: inputValue != null ? inputValue : EMPTY_INPUT
|
|
2273
|
+
value: inputValue != null ? inputValue : EMPTY_INPUT
|
|
2274
|
+
}, {
|
|
2275
|
+
suppressRefError: true
|
|
2276
|
+
}))), {
|
|
2271
2277
|
ref: inputRef
|
|
2272
|
-
})))
|
|
2278
|
+
}))), React.createElement(DropdownList, {
|
|
2273
2279
|
ariaLabelChosenSingular: ariaLabelChosenSingular,
|
|
2274
2280
|
ariaLabelSelectedItem: ariaLabelSelectedItem,
|
|
2275
2281
|
getItemProps: getItemProps,
|