@entur/dropdown 5.4.11-beta.0 → 5.4.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/dist/dropdown.cjs.development.js +1 -1
- 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 +1 -1
- package/dist/dropdown.esm.js.map +1 -1
- package/dist/styles.css +32 -31
- package/package.json +10 -10
|
@@ -2212,7 +2212,7 @@ var MultiSelect = function MultiSelect(_ref) {
|
|
|
2212
2212
|
onClick: function onClick(e) {
|
|
2213
2213
|
if (e.target === e.currentTarget) openMenu();
|
|
2214
2214
|
}
|
|
2215
|
-
}, selectedItems.length
|
|
2215
|
+
}, selectedItems.length <= maxChips ? React.createElement(React.Fragment, null, selectedItems.length > 1 ? React.createElement(a11y.VisuallyHidden, {
|
|
2216
2216
|
onClick: function onClick() {
|
|
2217
2217
|
var _inputRef$current5;
|
|
2218
2218
|
return (_inputRef$current5 = inputRef.current) == null ? void 0 : _inputRef$current5.focus();
|