@entur/dropdown 5.0.19 → 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 +59 -59
- package/package.json +10 -10
package/dist/dropdown.esm.js
CHANGED
|
@@ -1313,8 +1313,9 @@ var DropdownList = function DropdownList(_ref) {
|
|
|
1313
1313
|
}), React.createElement("span", {
|
|
1314
1314
|
className: "eds-dropdown__list__item__text"
|
|
1315
1315
|
}, item.label, React.createElement(VisuallyHidden, null, isItemSelected(item) ? ariaLabelSelectedItem : '')), item.icons && React.createElement("span", null, item.icons.map(function (Icon) {
|
|
1316
|
+
var _Icon$displayName;
|
|
1316
1317
|
return React.createElement(Icon, {
|
|
1317
|
-
key: (item == null ? void 0 : item.label) + (item == null ? void 0 : item.value) + (Icon == null ? void 0 : Icon.displayName),
|
|
1318
|
+
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),
|
|
1318
1319
|
inline: true,
|
|
1319
1320
|
className: "eds-dropdown__list__item__icon"
|
|
1320
1321
|
});
|