require('./InformationWrapper.styles_p99b7q.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 = "b1afvn77";
var ContentWrapper = /*#__PURE__*/react.styled('div')({
  name: "ContentWrapper",
  "class": "c145ezhs",
  propsAsIs: false
});
var ContentChildrenWrapper = /*#__PURE__*/react.styled('div')({
  name: "ContentChildrenWrapper",
  "class": "c155wolr",
  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": "l19xn9bg",
  propsAsIs: false,
  vars: {
    "l19xn9bg-0": [/*#__PURE__*/_exp2()],
    "l19xn9bg-1": [/*#__PURE__*/_exp3()],
    "l19xn9bg-2": [/*#__PURE__*/_exp5()],
    "l19xn9bg-3": [/*#__PURE__*/_exp6()],
    "l19xn9bg-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": "ia4nqa1",
  propsAsIs: false,
  vars: {
    "ia4nqa1-0": [/*#__PURE__*/_exp8()]
  }
});
var Label = /*#__PURE__*/react.styled('label')({
  name: "Label",
  "class": "l1fqe3w9",
  propsAsIs: false
});
var _exp14 = function _exp14() {
  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": "h1wtm44t",
  propsAsIs: false,
  vars: {
    "h1wtm44t-0": [/*#__PURE__*/_exp14()]
  }
});
var HintTargetWrapper = /*#__PURE__*/react.styled('div')({
  name: "HintTargetWrapper",
  "class": "h43wmae",
  propsAsIs: false
});
var _exp16 = function _exp16() {
  return Tooltip;
};
var Hint = /*#__PURE__*/react.styled(_exp16())({
  name: "Hint",
  "class": "hdyyw77",
  propsAsIs: true
});
var HintIconWrapper = /*#__PURE__*/react.styled('div')({
  name: "HintIconWrapper",
  "class": "ho64r6r",
  propsAsIs: false
});
var _exp29 = function _exp29() {
  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": "i1jayrnz",
  propsAsIs: false,
  vars: {
    "i1jayrnz-0": [/*#__PURE__*/_exp29()]
  }
});
var OptionalText = /*#__PURE__*/react.styled('span')({
  name: "OptionalText",
  "class": "oaxqu7s",
  propsAsIs: false
});
var _exp33 = function _exp33() {
  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": "t7bnw1h",
  propsAsIs: false,
  vars: {
    "t7bnw1h-0": [/*#__PURE__*/_exp33()]
  }
});
var Helpers = /*#__PURE__*/react.styled('div')({
  name: "Helpers",
  "class": "h18pp23t",
  propsAsIs: false
});
var LeftHelper = /*#__PURE__*/react.styled('div')({
  name: "LeftHelper",
  "class": "l132dj1",
  propsAsIs: false
});
var RightHelper = /*#__PURE__*/react.styled('div')({
  name: "RightHelper",
  "class": "r19wxw5z",
  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;
//# sourceMappingURL=InformationWrapper.styles.js.map
