message: refactor(components): Use new props to pass styles to the Input
diff: import PropTypes from 'prop-types';
  import styled from '@emotion/styled';
  -import { css, ClassNames, jsx } from '@emotion/core';
  +import { css, jsx } from '@emotion/core';
  import { withTheme } from 'emotion-theming';
  import { themePropType } from '../../../../util/shared-prop-types';
  @@ -60,22 +60,22 @@ const CurrencyIcon = styled('span')`
  ${iconInvalidStyles};
  `;
  -const inputStyles = stringCss => stringCss`
  +const inputBaseStyles = () => css`
  label: currency-input__input;
  text-align: right;
  `;
  -const inputPrependStyles = ({ theme, symbol = '', prependSymbol, stringCss }) =>
  +const inputPrependStyles = ({ theme, symbol = '', prependSymbol }) =>
  prependSymbol &&
  - stringCss`
  + css`
  label: currency-input__input--prepend-symbol;
  padding-left: ${theme.spacings.exa};
  padding-left: calc(${theme.spacings.giga} + ${symbol.length}ch);
  `;
  -const inputAppendStyles = ({ theme, symbol = '', prependSymbol, stringCss }) =>
  +const inputAppendStyles = ({ theme, symbol = '', prependSymbol }) =>
  !prependSymbol &&
  - stringCss`
  + css`
  label: currency-input__input--prepend-symbol;
  padding-right: ${theme.spacings.exa};
  padding-right: calc(${theme.spacings.giga} + ${symbol.length}ch);
  @@ -94,27 +94,20 @@ const SimpleCurrencyInput = ({
  numberMask,
  ...props
  }) => (
  - <ClassNames>
  - {({ css: stringCss, cx }) => {
  - const inputClassName = cx(
  - inputStyles(stringCss),
  + <MaskedInput
  + inputStyles={css([
  + inputBaseStyles(),
  inputPrependStyles({
  theme,
  symbol,
  - stringCss,
  prependSymbol
  }),
  inputAppendStyles({
  theme,
  symbol,
  - stringCss,
  prependSymbol
  })
  - );
  -
  - return (
  - <MaskedInput
  - inputClassName={inputClassName}
  + ])}
  renderPrefix={({ className }) =>
  prependSymbol && (
  <CurrencyIcon
  @@ -148,9 +141,6 @@ const SimpleCurrencyInput = ({
  {...{ ...props, hasWarning, invalid, disabled }}
  />
  );
  - }}
  - </ClassNames>
  -);
  SimpleCurrencyInput.propTypes = {
  theme: themePropType.isRequired,
  