"use strict";

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

var _styledBase = require("@emotion/styled-base");

var _styledBase2 = _interopRequireDefault(_styledBase);

var _react = require("react");

var _react2 = _interopRequireDefault(_react);

var _Button = require("./Button.Skeleton");

var _Button2 = _interopRequireDefault(_Button);

var _BaseButton = require("./BaseButton");

var _presets = require("../../utils/presets");

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

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }

var StyledSecondaryButton = (
/*#__PURE__*/
0, _styledBase2["default"])(_BaseButton.StyledBaseButton, {
  target: "e1141ey80",
  label: "StyledSecondaryButton"
})("background:", _presets.palette.white, ";border:1px solid ", _presets.palette.purple[200], ";color:", _presets.palette.purple[500], ";:focus,&:hover:not([disabled]){border:1px solid ", _presets.palette.purple[600], ";color:", _presets.palette.purple[600], ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0J1dHRvbi9TZWNvbmRhcnlCdXR0b24uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV3NEIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0J1dHRvbi9TZWNvbmRhcnlCdX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lCdXR0b24uZGVmYXVsdFByb3BzID0gYnV0dG9uRGVmYXVsdFByb3BUeXBlc1xuXG5leHBvcnQgZGVmYXVsdCBTZWNvbmRhcnlCdXR0b25cbiJdfQ== */"));

var SecondaryButton = function SecondaryButton(_ref) {
  var StyledComponent = _ref.StyledComponent,
      rest = _objectWithoutProperties(_ref, ["StyledComponent"]);

  return _react2["default"].createElement(_Button2["default"], Object.assign({
    StyledComponent: StyledSecondaryButton
  }, rest));
};

SecondaryButton.propTypes = _Button.buttonPropTypes;
SecondaryButton.defaultProps = _Button.buttonDefaultPropTypes;
exports["default"] = SecondaryButton;