require('./InformationWrapper.styles_qiid2l.css');
'use strict';

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

var react = require('@linaria/react');
var InformationWrapper_tokens = require('./InformationWrapper.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 base = "b1654ee1";
var ContentWrapper = /*#__PURE__*/react.styled('div')({
  name: "ContentWrapper",
  "class": "c1x13r22",
  propsAsIs: false
});
var ContentChildrenWrapper = /*#__PURE__*/react.styled('div')({
  name: "ContentChildrenWrapper",
  "class": "c1dhezs1",
  propsAsIs: false
});
var _exp2 = function _exp2() {
  return function (_ref) {
    var hasLabel = _ref.hasLabel;
    return hasLabel ? 'nowrap' : 'normal';
  };
};
var _exp3 = function _exp3() {
  return function (_ref2) {
    var hasLabel = _ref2.hasLabel;
    return hasLabel ? "var(".concat(InformationWrapper_tokens.tokens.labelWrapperOffset, ")") : "var(".concat(InformationWrapper_tokens.tokens.labelWrapperTitleCaptionOffset, ")");
  };
};
var _exp5 = function _exp5() {
  return function (_ref3) {
    var hasCaption = _ref3.hasCaption;
    return hasCaption ? "var(".concat(InformationWrapper_tokens.tokens.labelWrapperTitleCaptionOffset, ")") : '0';
  };
};
var _exp6 = function _exp6() {
  return function (_ref4) {
    var hasCaption = _ref4.hasCaption;
    return hasCaption ? 'flex' : 'block';
  };
};
var _exp7 = function _exp7() {
  return function (_ref5) {
    var hasCaption = _ref5.hasCaption;
    return hasCaption ? 'fit-content' : '0';
  };
};
var LabelWrapper = /*#__PURE__*/react.styled('div')({
  name: "LabelWrapper",
  "class": "lbq1uk3",
  propsAsIs: false,
  vars: {
    "lbq1uk3-0": [/*#__PURE__*/_exp2()],
    "lbq1uk3-1": [/*#__PURE__*/_exp3()],
    "lbq1uk3-2": [/*#__PURE__*/_exp5()],
    "lbq1uk3-3": [/*#__PURE__*/_exp6()],
    "lbq1uk3-4": [/*#__PURE__*/_exp7()]
  }
});
var _exp8 = function _exp8() {
  return function (_ref6) {
    var hasLabel = _ref6.hasLabel;
    return hasLabel ? 'relative' : 'static';
  };
};
var IndicatorWrapper = /*#__PURE__*/react.styled('div')({
  name: "IndicatorWrapper",
  "class": "ietdidz",
  propsAsIs: false,
  vars: {
    "ietdidz-0": [/*#__PURE__*/_exp8()]
  }
});
var Label = /*#__PURE__*/react.styled('label')({
  name: "Label",
  "class": "lwuxw14",
  propsAsIs: false
});
var _exp12 = function _exp12() {
  return function (_ref7) {
    var hasCaption = _ref7.hasCaption;
    return hasCaption ? "translateY(var(".concat(InformationWrapper_tokens.tokens.labelWrapperTitleCaptionOffset, "))") : "translateY(var(".concat(InformationWrapper_tokens.privateTokens.translateYWithoutTitle, "))");
  };
};
var HintWrapper = /*#__PURE__*/react.styled('div')({
  name: "HintWrapper",
  "class": "h14vq0q",
  propsAsIs: false,
  vars: {
    "h14vq0q-0": [/*#__PURE__*/_exp12()]
  }
});
var HintTargetWrapper = /*#__PURE__*/react.styled('div')({
  name: "HintTargetWrapper",
  "class": "h1og3vrk",
  propsAsIs: false
});
var _exp14 = function _exp14() {
  return Tooltip;
};
var Hint = /*#__PURE__*/react.styled(_exp14())({
  name: "Hint",
  "class": "he2wdim",
  propsAsIs: true
});
var HintIconWrapper = /*#__PURE__*/react.styled('div')({
  name: "HintIconWrapper",
  "class": "h1d6jg8l",
  propsAsIs: false
});
var _exp27 = function _exp27() {
  return function (_ref8) {
    var hasCaption = _ref8.hasCaption;
    return hasCaption ? "translateY(var(".concat(InformationWrapper_tokens.tokens.labelWrapperTitleCaptionOffset, "))") : 'translateY(0)';
  };
};
var Indicator = /*#__PURE__*/react.styled('div')({
  name: "Indicator",
  "class": "i3p6umn",
  propsAsIs: false,
  vars: {
    "i3p6umn-0": [/*#__PURE__*/_exp27()]
  }
});
var OptionalText = /*#__PURE__*/react.styled('span')({
  name: "OptionalText",
  "class": "oyrp8o3",
  propsAsIs: false
});
var _exp31 = function _exp31() {
  return function (_ref9) {
    var hasLabel = _ref9.hasLabel;
    return hasLabel ? "var(".concat(InformationWrapper_tokens.tokens.titleCaptionOffset, ")") : 'unset';
  };
};
var TitleCaption = /*#__PURE__*/react.styled('div')({
  name: "TitleCaption",
  "class": "t1249ck4",
  propsAsIs: false,
  vars: {
    "t1249ck4-0": [/*#__PURE__*/_exp31()]
  }
});
var Helpers = /*#__PURE__*/react.styled('div')({
  name: "Helpers",
  "class": "h12fqhwc",
  propsAsIs: false
});
var LeftHelper = /*#__PURE__*/react.styled('div')({
  name: "LeftHelper",
  "class": "lpmjtbd",
  propsAsIs: false
});
var RightHelper = /*#__PURE__*/react.styled('div')({
  name: "RightHelper",
  "class": "r4x1cz0",
  propsAsIs: false
});

exports.ContentChildrenWrapper = ContentChildrenWrapper;
exports.ContentWrapper = ContentWrapper;
exports.Helpers = Helpers;
exports.Hint = Hint;
exports.HintIconWrapper = HintIconWrapper;
exports.HintTargetWrapper = HintTargetWrapper;
exports.HintWrapper = HintWrapper;
exports.Indicator = Indicator;
exports.IndicatorWrapper = IndicatorWrapper;
exports.Label = Label;
exports.LabelWrapper = LabelWrapper;
exports.LeftHelper = LeftHelper;
exports.OptionalText = OptionalText;
exports.RightHelper = RightHelper;
exports.TitleCaption = TitleCaption;
exports.base = base;
