@entur/dropdown 5.0.20 → 5.0.21
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 +2 -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 +2 -1
- package/dist/dropdown.esm.js.map +1 -1
- package/dist/styles.css +88 -88
- package/package.json +8 -8
|
@@ -1317,8 +1317,9 @@ var DropdownList = function DropdownList(_ref) {
|
|
|
1317
1317
|
}), React.createElement("span", {
|
|
1318
1318
|
className: "eds-dropdown__list__item__text"
|
|
1319
1319
|
}, item.label, React.createElement(a11y.VisuallyHidden, null, isItemSelected(item) ? ariaLabelSelectedItem : '')), item.icons && React.createElement("span", null, item.icons.map(function (Icon) {
|
|
1320
|
+
var _Icon$displayName;
|
|
1320
1321
|
return React.createElement(Icon, {
|
|
1321
|
-
key: (item == null ? void 0 : item.label) + (item == null ? void 0 : item.value) + (Icon == null ? void 0 : Icon.displayName),
|
|
1322
|
+
key: (item == null ? void 0 : item.label) + (item == null ? void 0 : item.value) + ((_Icon$displayName = Icon == null ? void 0 : Icon.displayName) != null ? _Icon$displayName : Icon == null ? void 0 : Icon.name),
|
|
1322
1323
|
inline: true,
|
|
1323
1324
|
className: "eds-dropdown__list__item__icon"
|
|
1324
1325
|
});
|