'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

var _themeGet = require('../../../extensions/themeGet');

var _themeGet2 = _interopRequireDefault(_themeGet);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var BulkSelectItem = _styledComponents2.default.button.withConfig({
  displayName: 'BulkSelectItem'
})(['padding:', ' ', ';background:', ';border-color:', ';border-width:', ';border-style:solid;border-radius:3px;cursor:pointer;margin:', ' calc(', ' / 2);display:flex;color:', ';font-weight:700;text-align:center;text-transform:uppercase;cursor:pointer;user-select:none;transition:0.2s ease;font-size:14px;&:disabled{color:', ';background-color:', ';border-color:', ';cursor:default;}', ';'], (0, _themeGet2.default)('spacing.small'), (0, _themeGet2.default)('spacing.medium'), (0, _themeGet2.default)('colors.background.default'), (0, _themeGet2.default)('colors.border.dark'), (0, _themeGet2.default)('thicknesses.wide'), (0, _themeGet2.default)('spacing.small'), (0, _themeGet2.default)('spacing.small'), (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('colors.text.disabled'), (0, _themeGet2.default)('colors.background.disabled'), (0, _themeGet2.default)('colors.border.disabled'), function (_ref) {
  var selected = _ref.selected;
  return selected ? (0, _styledComponents.css)(['background:', ';color:', ';border-color:', ';&:hover:not(:disabled){box-shadow:', ';}&:disabled{background-color:', ';border-color:', ';color:', ';}'], (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('colors.text.inverted'), (0, _themeGet2.default)('colors.primary.dark'), (0, _themeGet2.default)('shadows.focusOutline'), (0, _themeGet2.default)('colors.background.disabledSelected'), (0, _themeGet2.default)('colors.border.disabled'), (0, _themeGet2.default)('colors.text.inverted')) : '';
});

BulkSelectItem.Colorful = (0, _styledComponents2.default)(BulkSelectItem).withConfig({
  displayName: 'BulkSelectItem__Colorful'
})(['', ';'], function (_ref2) {
  var selected = _ref2.selected;
  return selected ? (0, _styledComponents.css)(['background-color:', ';border-color:', ';color:', ';&:hover:not(:disabled){background-color:', ';border-color:', ';}'], (0, _themeGet2.default)('colors.positive.medium'), (0, _themeGet2.default)('colors.positive.medium'), (0, _themeGet2.default)('colors.text.inverted'), (0, _themeGet2.default)('colors.negative.medium'), (0, _themeGet2.default)('colors.negative.medium')) : '';
});

exports.default = BulkSelectItem;