@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
package/dist/dropdown.esm.js
CHANGED
|
@@ -2208,7 +2208,7 @@ var MultiSelect = function MultiSelect(_ref) {
|
|
|
2208
2208
|
onClick: function onClick(e) {
|
|
2209
2209
|
if (e.target === e.currentTarget) openMenu();
|
|
2210
2210
|
}
|
|
2211
|
-
}, selectedItems.length
|
|
2211
|
+
}, selectedItems.length <= maxChips ? React.createElement(React.Fragment, null, selectedItems.length > 1 ? React.createElement(VisuallyHidden, {
|
|
2212
2212
|
onClick: function onClick() {
|
|
2213
2213
|
var _inputRef$current5;
|
|
2214
2214
|
return (_inputRef$current5 = inputRef.current) == null ? void 0 : _inputRef$current5.focus();
|