"use strict";

exports.__esModule = true;
exports.TitleIcon = exports.Title = exports.Header = exports.Dialog = exports.Content = exports.Body = exports.Actions = void 0;
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _icon = require("../icon");
var _modal = _interopRequireWildcard(require("../modal"));
var _typography = require("../typography");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
var Actions = exports.Actions = (0, _styledComponents["default"])(_modal.ModalFooter).attrs({
  gap: 3,
  hasBorder: false,
  parentPadding: [0],
  padding: [0]
}).withConfig({
  displayName: "styled__Actions",
  componentId: "sc-bc708g-0"
})([""]);
var Content = exports.Content = (0, _styledComponents["default"])(_typography.Text).attrs({
  as: _modal.ModalContent,
  background: "dropdown",
  gap: 4,
  height: {
    max: "calc(100vh - 32px)"
  },
  padding: [4],
  width: {
    base: 128,
    max: 140,
    min: 70
  }
}).withConfig({
  displayName: "styled__Content",
  componentId: "sc-bc708g-1"
})([""]);
var Body = exports.Body = (0, _styledComponents["default"])(_modal.ModalBody).attrs({
  column: false,
  padding: [0]
}).withConfig({
  displayName: "styled__Body",
  componentId: "sc-bc708g-2"
})(["display:block;strong{font-weight:bold;}"]);
var Dialog = exports.Dialog = (0, _styledComponents["default"])(_modal["default"]).attrs(function (props) {
  return _extends({
    backdropProps: {
      backdropBlur: 8
    }
  }, props);
}).withConfig({
  displayName: "styled__Dialog",
  componentId: "sc-bc708g-3"
})(["box-shadow:0 11px 15px -7px rgb(0 0 0 / 20%),0px 24px 38px 3px rgb(0 0 0 / 14%),0px 9px 46px 8px rgb(0 0 0 / 12%);"]);
var Header = exports.Header = (0, _styledComponents["default"])(_modal.ModalHeader).attrs({
  alignItems: "center",
  padding: [0],
  background: ""
}).withConfig({
  displayName: "styled__Header",
  componentId: "sc-bc708g-4"
})([""]);
var Title = exports.Title = (0, _styledComponents["default"])(_typography.H3).attrs({
  margin: [0]
}).withConfig({
  displayName: "styled__Title",
  componentId: "sc-bc708g-5"
})([""]);
var TitleIcon = exports.TitleIcon = (0, _styledComponents["default"])(_icon.Icon).attrs({
  color: "main",
  height: "24px",
  width: "24px"
}).withConfig({
  displayName: "styled__TitleIcon",
  componentId: "sc-bc708g-6"
})([""]);