'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);

var _userSpacing = require('../../../extensions/userSpacing');

var _userSpacing2 = _interopRequireDefault(_userSpacing);

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

var AccordionLabel = _styledComponents2.default.div.attrs({
  spacing: _userSpacing2.default.text
}).withConfig({
  displayName: 'AccordionLabel'
})(['padding:', ';color:', ';font-family:', ';font-size:1.5em;line-height:1.5;text-transform:none;font-weight:400;cursor:', ';display:flex;flex-direction:row;user-select:none;'], function (props) {
  return props.spacing;
}, (0, _themeGet2.default)('colors.primary.default'), (0, _themeGet2.default)('fonts.brand'), function (_ref) {
  var disabled = _ref.disabled;
  return disabled ? 'auto' : 'pointer';
});

AccordionLabel.Small = (0, _styledComponents2.default)(AccordionLabel).withConfig({
  displayName: 'AccordionLabel__Small'
})(['color:', ';font-weight:600;font-size:1em;text-transform:uppercase;'], (0, _themeGet2.default)('colors.text.default'));

exports.default = AccordionLabel;