import './TimePicker.styles_pw742b.css';
import { styled } from '@linaria/react';
import { tokens } from './TimePicker.tokens.js';
import { component, mergeConfig } from '../../engines/common.js';
import { textFieldConfig } from '../TextField/TextField.js';
import { timePickerGridConfig } from '../TimePickerGrid/TimePickerGrid.js';

var mergedTextFieldConfig = /*#__PURE__*/mergeConfig(textFieldConfig);
var TextField = /*#__PURE__*/component(mergedTextFieldConfig);
var mergedTimePickerGrid = /*#__PURE__*/mergeConfig(timePickerGridConfig);
var TimePickerGrid = /*#__PURE__*/component(mergedTimePickerGrid);
var FloatingWrapper = /*#__PURE__*/styled('div')({
  name: "FloatingWrapper",
  "class": "f1shtld9",
  propsAsIs: false
});
var FloatingTarget = /*#__PURE__*/styled('div')({
  name: "FloatingTarget",
  "class": "fvchwcr",
  propsAsIs: false
});
var FloatingContent = /*#__PURE__*/styled('div')({
  name: "FloatingContent",
  "class": "fyi217y",
  propsAsIs: false
});
var _exp = function _exp() {
  return TimePickerGrid;
};
var _exp38 = function _exp38() {
  return function (_ref) {
    var innerWidth = _ref.innerWidth;
    return innerWidth || "var(".concat(tokens.timePickerWidth, ")");
  };
};
var _exp39 = function _exp39() {
  return function (_ref2) {
    var innerHeight = _ref2.innerHeight;
    return innerHeight || "var(".concat(tokens.columnHeight, ")");
  };
};
var StyledTimePickerGrid = /*#__PURE__*/styled(_exp())({
  name: "StyledTimePickerGrid",
  "class": "s1evkvqg",
  propsAsIs: true,
  vars: {
    "s1evkvqg-0": [/*#__PURE__*/_exp38()],
    "s1evkvqg-1": [/*#__PURE__*/_exp39()]
  }
});

// NOTE: переопределение токенов TextField
var _exp40 = function _exp40() {
  return TextField;
};
var StyledInput = /*#__PURE__*/styled(_exp40())({
  name: "StyledInput",
  "class": "s11yow15",
  propsAsIs: true
});
var LeftHelper = /*#__PURE__*/styled('div')({
  name: "LeftHelper",
  "class": "l1uvg3ai",
  propsAsIs: false
});
var base = "beryhn8";

export { FloatingContent, FloatingTarget, FloatingWrapper, LeftHelper, StyledInput, StyledTimePickerGrid, base };
