"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.UnstyledButton = void 0;

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _unstyledButton = require("./unstyled-button.css-rules");

var _focus = require("../../../mixins/focus");

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

var UnstyledButton = _styledComponents["default"].button.attrs(function (_ref) {
  var _ref$type = _ref.type,
      type = _ref$type === void 0 ? 'button' : _ref$type,
      _ref$role = _ref.role,
      role = _ref$role === void 0 ? 'button' : _ref$role;
  return {
    type: type,
    role: role
  };
}).withConfig({
  displayName: "UnstyledButton",
  componentId: "sc-1s5v1vk-0"
})(["font:inherit;color:inherit;background:transparent;border:0;padding:0;line-height:1;text-align:inherit;border-radius:", ";", " ", "{box-shadow:", ";}"], _focus.focusedBorderRadius, _unstyledButton.getFocusState, _focus.FOCUS_VISIBLE_SELECTOR, _unstyledButton.getBoxShadow);

exports.UnstyledButton = UnstyledButton;