require('./Toast.styles_1kasmzh.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 = "b1xqk743";
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": "s1ajsqhx",
  propsAsIs: false,
  vars: {
    "s1ajsqhx-0": [/*#__PURE__*/_exp3()],
    "s1ajsqhx-1": [/*#__PURE__*/_exp4()],
    "s1ajsqhx-2": [/*#__PURE__*/_exp8()]
  }
});
var _exp9 = function _exp9() {
  return utils.Button;
};
var CloseIconWrapper = /*#__PURE__*/react.styled(_exp9())({
  name: "CloseIconWrapper",
  "class": "cb0tpdq",
  propsAsIs: true
});
var _exp14 = function _exp14() {
  return Overlay.Overlay;
};
var StyledOverlay = /*#__PURE__*/react.styled(_exp14())({
  name: "StyledOverlay",
  "class": "segu2tf",
  propsAsIs: true
});
var StyledContentLeft = /*#__PURE__*/react.styled('div')({
  name: "StyledContentLeft",
  "class": "s1bt6ppa",
  propsAsIs: false
});
var _exp19 = function _exp19() {
  return function (_ref4) {
    var textColor = _ref4.textColor;
    return textColor || 'currentColor';
  };
};
var StyledContent = /*#__PURE__*/react.styled('div')({
  name: "StyledContent",
  "class": "s1h44nk1",
  propsAsIs: false,
  vars: {
    "s1h44nk1-0": [/*#__PURE__*/_exp19()]
  }
});

exports.CloseIconWrapper = CloseIconWrapper;
exports.StyledContent = StyledContent;
exports.StyledContentLeft = StyledContentLeft;
exports.StyledOverlay = StyledOverlay;
exports.StyledRoot = StyledRoot;
exports.base = base;
//# sourceMappingURL=Toast.styles.js.map
