require('./Toast.styles_11c999v.css');
'use strict';

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

var react = require('@linaria/react');
var utils = require('./utils.js');
var Overlay = require('../Overlay/Overlay.js');

var base = "bewr6li";
var _exp3 = function _exp3() {
  return function (_ref) {
    var position = _ref.position,
      _ref$offset = _ref.offset,
      offset = _ref$offset === void 0 ? 0 : _ref$offset;
    return position === 'top' ? "".concat(Number(offset) + 5, "rem") : 'unset';
  };
};
var _exp4 = function _exp4() {
  return function (_ref2) {
    var position = _ref2.position,
      _ref2$offset = _ref2.offset,
      offset = _ref2$offset === void 0 ? 0 : _ref2$offset;
    return position === 'bottom' ? "".concat(Number(offset) + 5, "rem") : 'unset';
  };
};
var _exp8 = function _exp8() {
  return function (_ref3) {
    var position = _ref3.position;
    return "translate(-50%, ".concat(position === 'top' ? '-' : '', "5rem)");
  };
};
var StyledRoot = /*#__PURE__*/react.styled('div')({
  name: "StyledRoot",
  "class": "s9z95p3",
  propsAsIs: false,
  vars: {
    "s9z95p3-0": [/*#__PURE__*/_exp3()],
    "s9z95p3-1": [/*#__PURE__*/_exp4()],
    "s9z95p3-2": [/*#__PURE__*/_exp8()]
  }
});
var _exp9 = function _exp9() {
  return utils.Button;
};
var CloseIconWrapper = /*#__PURE__*/react.styled(_exp9())({
  name: "CloseIconWrapper",
  "class": "c1bk2hmd",
  propsAsIs: true
});
var _exp12 = function _exp12() {
  return Overlay.Overlay;
};
var StyledOverlay = /*#__PURE__*/react.styled(_exp12())({
  name: "StyledOverlay",
  "class": "s1ohhqnw",
  propsAsIs: true
});
var StyledContentLeft = /*#__PURE__*/react.styled('div')({
  name: "StyledContentLeft",
  "class": "sfkrvsc",
  propsAsIs: false
});
var _exp17 = function _exp17() {
  return function (_ref4) {
    var textColor = _ref4.textColor;
    return textColor || 'currentColor';
  };
};
var StyledContent = /*#__PURE__*/react.styled('div')({
  name: "StyledContent",
  "class": "s1cnc3zf",
  propsAsIs: false,
  vars: {
    "s1cnc3zf-0": [/*#__PURE__*/_exp17()]
  }
});

exports.CloseIconWrapper = CloseIconWrapper;
exports.StyledContent = StyledContent;
exports.StyledContentLeft = StyledContentLeft;
exports.StyledOverlay = StyledOverlay;
exports.StyledRoot = StyledRoot;
exports.base = base;
