import './Item.styles_owjvwe.css';
import { styled } from '@linaria/react';
import { tokens } from '../../../../Combobox.tokens.js';
import { component, mergeConfig } from '../../../../../../../engines/common.js';
import { IconDisclosureRightCentered } from '../../../../../../_Icon/Icons/IconDisclosureRightCentered.js';
import { IconDone } from '../../../../../../_Icon/Icons/IconDone.js';
import { checkboxConfig } from '../../../../../../Checkbox/Checkbox.js';
import { cellConfig } from '../../../../../../Cell/Cell.js';
import { indicatorConfig } from '../../../../../../Indicator/Indicator.js';

var mergedCheckboxConfig = /*#__PURE__*/mergeConfig(checkboxConfig);
var Checkbox = /*#__PURE__*/component(mergedCheckboxConfig);
var mergedCellConfig = /*#__PURE__*/mergeConfig(cellConfig);
var Cell = /*#__PURE__*/component(mergedCellConfig);

// TODO: #1548
var _exp = function _exp() {
  return Cell;
};
var StyledCell = /*#__PURE__*/styled(_exp())({
  name: "StyledCell",
  "class": "s17m41ki",
  propsAsIs: true
});
var _exp31 = function _exp31() {
  return Checkbox;
};
var StyledCheckbox = /*#__PURE__*/styled(_exp31())({
  name: "StyledCheckbox",
  "class": "safu7u9",
  propsAsIs: true
});
var mergedIndicatorConfig = /*#__PURE__*/mergeConfig(indicatorConfig);
var Indicator = /*#__PURE__*/component(mergedIndicatorConfig);
var _exp46 = function _exp46() {
  return Indicator;
};
var StyledIndicator = /*#__PURE__*/styled(_exp46())({
  name: "StyledIndicator",
  "class": "sabntqz",
  propsAsIs: true
});
var _exp51 = function _exp51() {
  return IconDisclosureRightCentered;
};
var _exp53 = function _exp53() {
  return function (_ref) {
    var _ref$size = _ref.size,
      size = _ref$size === void 0 ? 'xs' : _ref$size;
    return "var(".concat(tokens.disclosureIconSize, ", ").concat({
      xs: "1rem",
      s: "1.5rem"
    }[size], ")");
  };
};
var StyledArrow = /*#__PURE__*/styled(_exp51())({
  name: "StyledArrow",
  "class": "sbva27s",
  propsAsIs: true,
  vars: {
    "sbva27s-0": [/*#__PURE__*/_exp53()]
  }
});
var _exp54 = function _exp54() {
  return IconDone;
};
var _exp56 = function _exp56() {
  return function (_ref2) {
    var _ref2$size = _ref2.size,
      size = _ref2$size === void 0 ? 'xs' : _ref2$size;
    return "var(".concat(tokens.disclosureIconSize, ", ").concat({
      xs: "1rem",
      s: "1.5rem"
    }[size], ")");
  };
};
var StyledIconDone = /*#__PURE__*/styled(_exp54())({
  name: "StyledIconDone",
  "class": "s198ssfl",
  propsAsIs: true,
  vars: {
    "s198ssfl-0": [/*#__PURE__*/_exp56()]
  }
});
var DisclosureIconWrapper = /*#__PURE__*/styled('div')({
  name: "DisclosureIconWrapper",
  "class": "d170raop",
  propsAsIs: false
});
var _exp61 = function _exp61() {
  return function (_ref3) {
    var variant = _ref3.variant;
    return "var(".concat(variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize, ")");
  };
};
var IconWrapper = /*#__PURE__*/styled('div')({
  name: "IconWrapper",
  "class": "i1bsz3m1",
  propsAsIs: false,
  vars: {
    "i1bsz3m1-0": [/*#__PURE__*/_exp61()]
  }
});
var StyledText = /*#__PURE__*/styled('div')({
  name: "StyledText",
  "class": "swurntn",
  propsAsIs: false
});
var _exp66 = function _exp66() {
  return function (_ref4) {
    var variant = _ref4.variant;
    return "var(".concat(variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding, ")");
  };
};
var Wrapper = /*#__PURE__*/styled('li')({
  name: "Wrapper",
  "class": "w1pzdaox",
  propsAsIs: false,
  vars: {
    "w1pzdaox-0": [/*#__PURE__*/_exp66()]
  }
});
var StyledCheckboxWrapper = /*#__PURE__*/styled('span')({
  name: "StyledCheckboxWrapper",
  "class": "sm3n62u",
  propsAsIs: false
});

export { DisclosureIconWrapper, IconWrapper, StyledArrow, StyledCell, StyledCheckbox, StyledCheckboxWrapper, StyledIconDone, StyledIndicator, StyledText, Wrapper };
//# sourceMappingURL=Item.styles.js.map
