require('./TextField.styles_78c4rk.css');
'use strict';

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

var react = require('@linaria/react');
var TextField_tokens = require('./TextField.tokens.js');
var common = require('../../engines/common.js');
var Tooltip$1 = require('../Tooltip/Tooltip.js');

var mergedConfig = /*#__PURE__*/common.mergeConfig(Tooltip$1.tooltipConfig);
var Tooltip = /*#__PURE__*/common.component(mergedConfig);
var InputWrapper = /*#__PURE__*/react.styled('div')({
  name: "InputWrapper",
  "class": "ib21kyq",
  propsAsIs: false
});
var InputLabelWrapper = /*#__PURE__*/react.styled('div')({
  name: "InputLabelWrapper",
  "class": "i1tk1s6u",
  propsAsIs: false
});
var StyledChips = /*#__PURE__*/react.styled('div')({
  name: "StyledChips",
  "class": "s15z9hl",
  propsAsIs: false
});
var Input = /*#__PURE__*/react.styled('input')({
  name: "Input",
  "class": "i1eth5mm",
  propsAsIs: false
});
var _exp12 = function _exp12() {
  return function (_ref) {
    var hasDynamicWidth = _ref.hasDynamicWidth;
    return hasDynamicWidth ? 'auto' : '60%';
  };
};
var _exp14 = function _exp14() {
  return function (_ref2) {
    var hasDynamicWidth = _ref2.hasDynamicWidth;
    return hasDynamicWidth ? '100%' : 'none';
  };
};
var InputContainer = /*#__PURE__*/react.styled('div')({
  name: "InputContainer",
  "class": "ihsgvbx",
  propsAsIs: false,
  vars: {
    "ihsgvbx-0": [/*#__PURE__*/_exp12()],
    "ihsgvbx-1": [/*#__PURE__*/_exp14()]
  }
});
var _exp16 = function _exp16() {
  return function (_ref3) {
    var hasPadding = _ref3.hasPadding;
    return hasPadding ? "var(".concat(TextField_tokens.tokens.contentLabelInnerPadding, ")") : '0';
  };
};
var InputPlaceholder = /*#__PURE__*/react.styled('div')({
  name: "InputPlaceholder",
  "class": "idleox9",
  propsAsIs: false,
  vars: {
    "idleox9-0": [/*#__PURE__*/_exp16()]
  }
});
var InputPlaceholderValue = /*#__PURE__*/react.styled('div')({
  name: "InputPlaceholderValue",
  "class": "i1wb3lrr",
  propsAsIs: false
});
var _exp19 = function _exp19() {
  return function (_ref4) {
    var isInnerLabel = _ref4.isInnerLabel;
    return isInnerLabel ? "var(".concat(TextField_tokens.tokens.titleCaptionInnerLabelOffset, ")") : "var(".concat(TextField_tokens.tokens.labelOffset, ")");
  };
};
var _exp20 = function _exp20() {
  return function (_ref5) {
    var isInnerLabel = _ref5.isInnerLabel;
    return isInnerLabel ? 0 : "var(".concat(TextField_tokens.tokens.labelPadding, ", 0)");
  };
};
var _exp21 = function _exp21() {
  return function (_ref6) {
    var isInnerLabel = _ref6.isInnerLabel;
    return isInnerLabel ? 'nowrap' : 'normal';
  };
};
var OuterLabelWrapper = /*#__PURE__*/react.styled('div')({
  name: "OuterLabelWrapper",
  "class": "o1pcskg1",
  propsAsIs: false,
  vars: {
    "o1pcskg1-0": [/*#__PURE__*/_exp19()],
    "o1pcskg1-1": [/*#__PURE__*/_exp20()],
    "o1pcskg1-2": [/*#__PURE__*/_exp21()]
  }
});
var TitleCaption = /*#__PURE__*/react.styled('div')({
  name: "TitleCaption",
  "class": "tsasqg5",
  propsAsIs: false
});
var StyledIndicatorWrapper = /*#__PURE__*/react.styled('div')({
  name: "StyledIndicatorWrapper",
  "class": "s178x8c6",
  propsAsIs: false
});
var Label = /*#__PURE__*/react.styled('label')({
  name: "Label",
  "class": "lk515tj",
  propsAsIs: false
});
var StyledContentLeft = /*#__PURE__*/react.styled('div')({
  name: "StyledContentLeft",
  "class": "sksog6b",
  propsAsIs: false
});
var StyledContentRightWrapper = /*#__PURE__*/react.styled('div')({
  name: "StyledContentRightWrapper",
  "class": "sde9qgt",
  propsAsIs: false
});
var StyledContentRight = /*#__PURE__*/react.styled('div')({
  name: "StyledContentRight",
  "class": "s1q4408c",
  propsAsIs: false
});
var StyledHelpers = /*#__PURE__*/react.styled('div')({
  name: "StyledHelpers",
  "class": "s1orllbx",
  propsAsIs: false
});
var StyledLeftHelper = /*#__PURE__*/react.styled('div')({
  name: "StyledLeftHelper",
  "class": "s1woncfk",
  propsAsIs: false
});
var StyledRightHelper = /*#__PURE__*/react.styled('div')({
  name: "StyledRightHelper",
  "class": "s1ggd2l2",
  propsAsIs: false
});
var _exp35 = function _exp35() {
  return function (_ref7) {
    var isHidden = _ref7.isHidden;
    return isHidden ? 'hidden' : 'visible';
  };
};
var StyledTextBefore = /*#__PURE__*/react.styled('div')({
  name: "StyledTextBefore",
  "class": "s1w5u5es",
  propsAsIs: false,
  vars: {
    "s1w5u5es-0": [/*#__PURE__*/_exp35()]
  }
});
var StyledTextAfter = /*#__PURE__*/react.styled('div')({
  name: "StyledTextAfter",
  "class": "s17meze7",
  propsAsIs: false
});
var StyledOptionalText = /*#__PURE__*/react.styled('span')({
  name: "StyledOptionalText",
  "class": "s1fjhio3",
  propsAsIs: false
});
var StyledHintWrapper = /*#__PURE__*/react.styled('div')({
  name: "StyledHintWrapper",
  "class": "s1bjol95",
  propsAsIs: false
});
var HintTargetWrapper = /*#__PURE__*/react.styled('div')({
  name: "HintTargetWrapper",
  "class": "h1xuzkt5",
  propsAsIs: false
});
var _exp40 = function _exp40() {
  return Tooltip;
};
var Hint = /*#__PURE__*/react.styled(_exp40())({
  name: "Hint",
  "class": "hxak1qg",
  propsAsIs: true
});
var HintIconWrapper = /*#__PURE__*/react.styled('div')({
  name: "HintIconWrapper",
  "class": "hyon82h",
  propsAsIs: false
});
var StyledIndicator = /*#__PURE__*/react.styled('div')({
  name: "StyledIndicator",
  "class": "s1p8sbat",
  propsAsIs: false
});

exports.Hint = Hint;
exports.HintIconWrapper = HintIconWrapper;
exports.HintTargetWrapper = HintTargetWrapper;
exports.Input = Input;
exports.InputContainer = InputContainer;
exports.InputLabelWrapper = InputLabelWrapper;
exports.InputPlaceholder = InputPlaceholder;
exports.InputPlaceholderValue = InputPlaceholderValue;
exports.InputWrapper = InputWrapper;
exports.Label = Label;
exports.OuterLabelWrapper = OuterLabelWrapper;
exports.StyledChips = StyledChips;
exports.StyledContentLeft = StyledContentLeft;
exports.StyledContentRight = StyledContentRight;
exports.StyledContentRightWrapper = StyledContentRightWrapper;
exports.StyledHelpers = StyledHelpers;
exports.StyledHintWrapper = StyledHintWrapper;
exports.StyledIndicator = StyledIndicator;
exports.StyledIndicatorWrapper = StyledIndicatorWrapper;
exports.StyledLeftHelper = StyledLeftHelper;
exports.StyledOptionalText = StyledOptionalText;
exports.StyledRightHelper = StyledRightHelper;
exports.StyledTextAfter = StyledTextAfter;
exports.StyledTextBefore = StyledTextBefore;
exports.TitleCaption = TitleCaption;
