@aurora-ds/components 0.24.3 → 0.24.4

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/cjs/index.js CHANGED
@@ -1400,7 +1400,7 @@ const SelectItem = ({ option, isSelected = false, onSelect }) => {
1400
1400
  onSelect(option.value);
1401
1401
  }
1402
1402
  };
1403
- return (jsxRuntime.jsx("button", { className: SELECT_ITEM_STYLES.root({ isSelected, disabled: option.disabled }), onClick: handleClick, role: 'option', "aria-selected": isSelected, children: jsxRuntime.jsx(Text, { variant: 'label', maxLines: 1, children: option.label }) }));
1403
+ return (jsxRuntime.jsx("button", { className: SELECT_ITEM_STYLES.root({ isSelected, disabled: option.disabled }), onClick: handleClick, role: 'option', "aria-selected": isSelected, children: jsxRuntime.jsx(Text, { variant: 'label', maxLines: 1, color: isSelected ? 'surface' : 'text', children: option.label }) }));
1404
1404
  };
1405
1405
  SelectItem.displayName = 'SelectItem';
1406
1406