require('./Item.styles_5cmygd.css');
'use strict';

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

var react = require('@linaria/react');
var IconDisclosureRightCentered = require('../../../../../_Icon/Icons/IconDisclosureRightCentered.js');
var Combobox_tokens = require('../../../../Combobox.tokens.js');

// TODO: Удалить после поддержки JS переменных в конфиге компонент
var sizeMap = {
  xs: '1rem',
  s: '1.5rem'
};
var _exp = function _exp() {
  return IconDisclosureRightCentered.IconDisclosureRightCentered;
};
var _exp3 = function _exp3() {
  return function (_ref) {
    var _ref$size = _ref.size,
      size = _ref$size === void 0 ? 'xs' : _ref$size;
    return "var(".concat(Combobox_tokens.tokens.disclosureIconSize, ", ").concat(sizeMap[size], ")");
  };
};
var StyledArrow = /*#__PURE__*/react.styled(_exp())({
  name: "StyledArrow",
  "class": "sc4kri2",
  propsAsIs: true,
  vars: {
    "sc4kri2-0": [/*#__PURE__*/_exp3()]
  }
});
var DisclosureIconWrapper = /*#__PURE__*/react.styled('div')({
  name: "DisclosureIconWrapper",
  "class": "dkgwyp6",
  propsAsIs: false
});
var _exp8 = function _exp8() {
  return function (_ref2) {
    var variant = _ref2.variant;
    return "var(".concat(variant === 'tight' ? Combobox_tokens.tokens.itemPaddingTight : Combobox_tokens.tokens.itemPadding, ")");
  };
};
var Wrapper = /*#__PURE__*/react.styled('li')({
  name: "Wrapper",
  "class": "w1o5lusj",
  propsAsIs: false,
  vars: {
    "w1o5lusj-0": [/*#__PURE__*/_exp8()]
  }
});

exports.DisclosureIconWrapper = DisclosureIconWrapper;
exports.StyledArrow = StyledArrow;
exports.Wrapper = Wrapper;
exports.sizeMap = sizeMap;
