'use strict';

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

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

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

var _styledComponents2 = _interopRequireDefault(_styledComponents);

var _ListItem = require('./ListItem');

var _ListItem2 = _interopRequireDefault(_ListItem);

var _OrderedList = require('./OrderedList');

var _OrderedList2 = _interopRequireDefault(_OrderedList);

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

var UnorderedList = _styledComponents2.default.ul.withConfig({ displayName: 'UnorderedList' }).withConfig({
  displayName: 'UnorderedList'
})(['margin:0 0 1em;padding:0;list-style:disc outside;&:last-child{margin-bottom:0;}& > ul{list-style:circle outside;margin:0 0 0 1em;}& ul li:first-child,& ol li:first-child{margin-top:0.5em;}']);

UnorderedList.propTypes = {
  /**
   * Adds a class name to the element.
   */
  className: _propTypes2.default.string,
  /**
   * Adds an id to the element.
   */
  id: _propTypes2.default.string
};

UnorderedList.defaultProps = {
  className: null,
  id: null
};

UnorderedList.Item = _ListItem2.default;
UnorderedList.Ordered = _OrderedList2.default;

/**
 * @component
 */
exports.default = UnorderedList;