"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StyledSpan = exports.StyledMenu = exports.StyledDiv = exports.StyledControl = exports.StyledButtonGroup = exports.StyledButton = void 0;
var _styledComponents = _interopRequireWildcard(require("styled-components"));
var _BoxSizingStyle = require("../../BoxSizingStyle");
var _ButtonGroup = require("../../ButtonGroup");
var _FontStyle = require("../../FontStyle");
var _IconButton = require("../../IconButton");
var _Menu = require("../../Menu");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
var StyledButton = exports.StyledButton = _styledComponents.default.button.withConfig({
  displayName: "Styles__StyledButton",
  componentId: "sc-1v8h7mt-0"
})(["", " ", " ", " color:var(--color-theme-700);margin:0;padding:0;background:none;width:100%;height:auto;border:none;height:30px;line-height:1;transition:all 0.3s ease;svg{fill:currentColor;}&::-moz-focus-inner{border:0;}&:focus{outline:none;}&:hover{text-decoration:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}"], _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle, {
  "position": "relative",
  "margin": "0px",
  "display": "inline-block",
  "cursor": "pointer",
  "userSelect": "none",
  "textAlign": "center",
  "verticalAlign": "middle",
  "fontSize": "0.875rem",
  "lineHeight": "1",
  "fontWeight": "500",
  "textDecorationLine": "none",
  "WebkitFontSmoothing": "antialiased",
  "MozOsxFontSmoothing": "grayscale"
});
var StyledMenu = exports.StyledMenu = (0, _styledComponents.default)(_Menu.Menu).withConfig({
  displayName: "Styles__StyledMenu",
  componentId: "sc-1v8h7mt-1"
})(["", ""], {
  "height": "auto",
  "width": "auto",
  "paddingLeft": "0.5rem",
  "paddingRight": "0.5rem",
  "paddingTop": "1rem",
  "paddingBottom": "1rem"
});
var StyledButtonGroup = exports.StyledButtonGroup = (0, _styledComponents.default)(_ButtonGroup.ButtonGroup).withConfig({
  displayName: "Styles__StyledButtonGroup",
  componentId: "sc-1v8h7mt-2"
})(["", " ", " button:hover{position:relative;z-index:1;}"], _FontStyle.FontStyle, _BoxSizingStyle.BoxSizingStyle);
var StyledSpan = exports.StyledSpan = _styledComponents.default.span.withConfig({
  displayName: "Styles__StyledSpan",
  componentId: "sc-1v8h7mt-3"
})(["line-height:30px;color:var(--color-theme-700);"]);
var StyledDiv = exports.StyledDiv = _styledComponents.default.div.withConfig({
  displayName: "Styles__StyledDiv",
  componentId: "sc-1v8h7mt-4"
})(["", " ", " ", " ", " height:32px;transition:all 0.3s ease;background-color:transparent;", " color:var(--color-theme-700);margin-right:-1px;display:block;", " svg{fill:currentColor;}&::-moz-focus-inner{border:0;}&:focus{outline:none;}&:disabled{cursor:default;opacity:50%;pointer-events:none;}&:hover{", " color:var(--color-primary);text-decoration:none;}&:active{", " color:var(--color-primary);}"], function (props) {
  return props.$isTargetable && (0, _styledComponents.css)(["", ""], {
    "pointerEvents": "none"
  });
}, function (props) {
  return props.$isRounded && (0, _styledComponents.css)(["border-radius:var(--ac-br-rounded);"]);
}, function (props) {
  return props.$mode !== "flat" ? {
    "borderWidth": "1px",
    "borderStyle": "solid"
  } : {
    "borderWidth": "0px"
  };
}, {
  "position": "relative",
  "margin": "0px",
  "display": "inline-block",
  "cursor": "pointer",
  "userSelect": "none",
  "padding": "0px",
  "textAlign": "center",
  "verticalAlign": "middle",
  "fontSize": "0.875rem",
  "lineHeight": "1",
  "fontWeight": "500",
  "textDecorationLine": "none",
  "WebkitFontSmoothing": "antialiased",
  "MozOsxFontSmoothing": "grayscale"
}, function (props) {
  return props.$mode !== "flat" && (0, _styledComponents.css)(["border:1px solid var(--color-theme-700);"]);
}, function (props) {
  return !props.$alwaysShowDate && (0, _styledComponents.css)(["@media (max-width:768px){display:none;}"]);
}, function (props) {
  return props.$mode !== "flat" && (0, _styledComponents.css)(["border-color:var(--color-primary);"]);
}, function (props) {
  return props.$mode !== "flat" && (0, _styledComponents.css)(["border-color:var(--color-primary);background-color:var(--color-primary-200);"]);
});
var StyledControl = exports.StyledControl = (0, _styledComponents.default)(_IconButton.IconButton).withConfig({
  displayName: "Styles__StyledControl",
  componentId: "sc-1v8h7mt-5"
})(["border-radius:var(--ac-br-8);"]);
StyledButtonGroup.displayName = "StyledButtonGroup";
StyledSpan.displayName = "StyledSpan";
StyledDiv.displayName = "StyledDiv";
StyledMenu.displayName = "StyledMenu";
StyledButton.displayName = "StyledButton";
StyledControl.displayName = "StyledControl";
//# sourceMappingURL=Styles.js.map