@entur/dropdown 5.0.0-beta.0 → 5.0.0-beta.1

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.
@@ -1294,13 +1294,14 @@ var DropdownList = function DropdownList(_ref) {
1294
1294
  };
1295
1295
  var selectAllListItemContent = function selectAllListItemContent() {
1296
1296
  return React.createElement(React.Fragment, null, React.createElement(Checkbox, {
1297
+ className: "eds-dropdown__list__item__checkbox",
1297
1298
  checked: selectAllCheckboxState == null ? void 0 : selectAllCheckboxState(),
1298
1299
  "aria-hidden": "true",
1299
1300
  onChange: function onChange() {
1300
1301
  return;
1301
1302
  }
1302
1303
  }), React.createElement("span", {
1303
- className: "eds-dropdown__list__item-text"
1304
+ className: "eds-dropdown__list__item__text"
1304
1305
  }, selectAllItem == null ? void 0 : selectAllItem.label));
1305
1306
  };
1306
1307
  var listItemContent = function listItemContent(item) {
@@ -1308,18 +1309,19 @@ var DropdownList = function DropdownList(_ref) {
1308
1309
  style: !isMultiselect ? {
1309
1310
  display: 'none'
1310
1311
  } : {},
1312
+ className: "eds-dropdown__list__item__checkbox",
1311
1313
  checked: itemIsSelected(item),
1312
1314
  "aria-hidden": "true",
1313
1315
  onChange: function onChange() {
1314
1316
  return;
1315
1317
  }
1316
1318
  }), React.createElement("span", {
1317
- className: "eds-dropdown__list__item-text"
1319
+ className: "eds-dropdown__list__item__text"
1318
1320
  }, item.label, React.createElement(VisuallyHidden, null, selectedItemAriaLabel)), item.icons && React.createElement("span", null, item.icons.map(function (Icon, index) {
1319
1321
  return React.createElement(Icon, {
1320
1322
  key: index,
1321
1323
  inline: true,
1322
- className: "eds-dropdown__list__item-icon"
1324
+ className: "eds-dropdown__list__item__icon"
1323
1325
  });
1324
1326
  })));
1325
1327
  };