require('./DatePickerBase.styles_tp9mx9.css');
'use strict';

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

var react = require('@linaria/react');
var DatePicker_tokens = require('./DatePicker.tokens.js');
var common = require('../../engines/common.js');
var CalendarBase = require('../Calendar/CalendarBase/CalendarBase.js');

var mergedCalendarConfig = /*#__PURE__*/common.mergeConfig(CalendarBase.calendarBaseConfig);
var Calendar = /*#__PURE__*/common.component(mergedCalendarConfig);

// NOTE: переопределение токенов Calendar
var _exp = function _exp() {
  return Calendar;
};
var _exp2 = function _exp2() {
  return function (_ref) {
    var innerWidth = _ref.innerWidth;
    return innerWidth && innerWidth !== '0' ? '1' : '0';
  };
};
var _exp3 = function _exp3() {
  return function (_ref2) {
    var innerWidth = _ref2.innerWidth;
    return innerWidth && innerWidth !== '0' ? '100%' : "var(".concat(DatePicker_tokens.tokens.calendarWidth, ")");
  };
};
var _exp4 = function _exp4() {
  return function (_ref3) {
    var innerHeight = _ref3.innerHeight;
    return innerHeight && innerHeight !== '0' ? '100%' : "var(".concat(DatePicker_tokens.tokens.calendarHeight, ")");
  };
};
var StyledCalendar = /*#__PURE__*/react.styled(_exp())({
  name: "StyledCalendar",
  "class": "s1ywkx25",
  propsAsIs: true,
  vars: {
    "s1ywkx25-0": [/*#__PURE__*/_exp2()],
    "s1ywkx25-1": [/*#__PURE__*/_exp3()],
    "s1ywkx25-2": [/*#__PURE__*/_exp4()]
  }
});
var InputHidden = /*#__PURE__*/react.styled('input')({
  name: "InputHidden",
  "class": "i1kteo3u",
  propsAsIs: false
});

exports.InputHidden = InputHidden;
exports.StyledCalendar = StyledCalendar;
//# sourceMappingURL=DatePickerBase.styles.js.map
