'use strict';

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

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

var _styledComponents2 = _interopRequireDefault(_styledComponents);

var _Label = require('../../../components/Label');

var _Label2 = _interopRequireDefault(_Label);

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

/**
 * Adjustments to the top and bottom margin of label so that it:
 * 1. Retains a 1.5 line-height so that wrapped label lines are spaced correctly
 * 2. The very top of the label from a layout perspective is its cap-height (the very top of a capital letter)
 * 3. The very bottom of a label (even if wrapped) is the baseline (the bottom of a lowercase letter, not
 *    including descenders)
 */
exports.default = (0, _styledComponents2.default)(_Label2.default).withConfig({
  displayName: 'FieldLabel'
})(['margin-top:-0.25em;margin-bottom:-0.5em;']);