src/components/Select.js
function updatePseudoClassStyle(styleId, properties) {
  const hoverStyle = {
    ...style.hoverStyle,
    ...properties.hoverStyle,
  };
  const disabledHoverStyle = {
    ...style.disabledHoverStyle,
    ...properties.disabledHoverStyle,
  };

  const styles = [
    {
      id: styleId,
      style: hoverStyle,
      pseudoClass: 'hover',
    },
    {
      id: styleId,
      style: disabledHoverStyle,
      pseudoClass: 'hover',
      disabled: true,
    },
  ];
  injectStyles(styles);
}
function updatePseudoClassStyle(styleId, properties) {
  const hoverStyle = {
    ...style.hoverStyle,
    ...properties.hoverStyle,
  };
  const disabledHoverStyle = {
    ...style.disabledHoverStyle,
    ...properties.disabledHoverStyle,
  };

  const styles = [
    {
      id: styleId,
      style: hoverStyle,
      pseudoClass: 'hover',
    },
    {
      id: styleId,
      style: disabledHoverStyle,
      pseudoClass: 'hover',
      disabled: true,
    },
  ];
  injectStyles(styles);
}
function updatePseudoClassStyle ( styleId , properties ) { const hoverStyle = { ... style . hoverStyle , ... properties . hoverStyle , } ; const disabledHoverStyle = { ... style . disabledHoverStyle , ... properties . disabledHoverStyle , } ; const styles = [ { id : styleId , style : hoverStyle , pseudoClass : 'hover' , } , { id : styleId , style : disabledHoverStyle , pseudoClass : 'hover' , disabled : true , } , ] ; injectStyles ( styles ) ; }
Update hover style for the speficied styleId.

@param styleId {string} - a unique id that exists as class attribute in the DOM
@param properties {object} - the components properties optionally containing hoverStyle
Update hover style for the speficied styleId .