import './InformationWrapper.styles_p99b7q.css';
import { styled } from '@linaria/react';
import { tokens, privateTokens } from './InformationWrapper.tokens.js';
import { component, mergeConfig } from '../../engines/common.js';
import { tooltipConfig } from '../Tooltip/Tooltip.js';

var mergedConfig = /*#__PURE__*/mergeConfig(tooltipConfig);
var Tooltip = /*#__PURE__*/component(mergedConfig);
var base = "b1afvn77";
var ContentWrapper = /*#__PURE__*/styled('div')({
  name: "ContentWrapper",
  "class": "c145ezhs",
  propsAsIs: false
});
var ContentChildrenWrapper = /*#__PURE__*/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(tokens.labelWrapperOffset, ")") : "var(".concat(tokens.labelWrapperTitleCaptionOffset, ")");
  };
};
var _exp5 = function _exp5() {
  return function (_ref3) {
    var hasCaption = _ref3.hasCaption;
    return hasCaption ? "var(".concat(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__*/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__*/styled('div')({
  name: "IndicatorWrapper",
  "class": "ia4nqa1",
  propsAsIs: false,
  vars: {
    "ia4nqa1-0": [/*#__PURE__*/_exp8()]
  }
});
var Label = /*#__PURE__*/styled('label')({
  name: "Label",
  "class": "l1fqe3w9",
  propsAsIs: false
});
var _exp14 = function _exp14() {
  return function (_ref7) {
    var hasCaption = _ref7.hasCaption;
    return hasCaption ? "translateY(var(".concat(tokens.labelWrapperTitleCaptionOffset, "))") : "translateY(var(".concat(privateTokens.translateYWithoutTitle, "))");
  };
};
var HintWrapper = /*#__PURE__*/styled('div')({
  name: "HintWrapper",
  "class": "h1wtm44t",
  propsAsIs: false,
  vars: {
    "h1wtm44t-0": [/*#__PURE__*/_exp14()]
  }
});
var HintTargetWrapper = /*#__PURE__*/styled('div')({
  name: "HintTargetWrapper",
  "class": "h43wmae",
  propsAsIs: false
});
var _exp16 = function _exp16() {
  return Tooltip;
};
var Hint = /*#__PURE__*/styled(_exp16())({
  name: "Hint",
  "class": "hdyyw77",
  propsAsIs: true
});
var HintIconWrapper = /*#__PURE__*/styled('div')({
  name: "HintIconWrapper",
  "class": "ho64r6r",
  propsAsIs: false
});
var _exp29 = function _exp29() {
  return function (_ref8) {
    var hasCaption = _ref8.hasCaption;
    return hasCaption ? "translateY(var(".concat(tokens.labelWrapperTitleCaptionOffset, "))") : 'translateY(0)';
  };
};
var Indicator = /*#__PURE__*/styled('div')({
  name: "Indicator",
  "class": "i1jayrnz",
  propsAsIs: false,
  vars: {
    "i1jayrnz-0": [/*#__PURE__*/_exp29()]
  }
});
var OptionalText = /*#__PURE__*/styled('span')({
  name: "OptionalText",
  "class": "oaxqu7s",
  propsAsIs: false
});
var _exp33 = function _exp33() {
  return function (_ref9) {
    var hasLabel = _ref9.hasLabel;
    return hasLabel ? "var(".concat(tokens.titleCaptionOffset, ")") : 'unset';
  };
};
var TitleCaption = /*#__PURE__*/styled('div')({
  name: "TitleCaption",
  "class": "t7bnw1h",
  propsAsIs: false,
  vars: {
    "t7bnw1h-0": [/*#__PURE__*/_exp33()]
  }
});
var Helpers = /*#__PURE__*/styled('div')({
  name: "Helpers",
  "class": "h18pp23t",
  propsAsIs: false
});
var LeftHelper = /*#__PURE__*/styled('div')({
  name: "LeftHelper",
  "class": "l132dj1",
  propsAsIs: false
});
var RightHelper = /*#__PURE__*/styled('div')({
  name: "RightHelper",
  "class": "r19wxw5z",
  propsAsIs: false
});

export { ContentChildrenWrapper, ContentWrapper, Helpers, Hint, HintIconWrapper, HintTargetWrapper, HintWrapper, Indicator, IndicatorWrapper, Label, LabelWrapper, LeftHelper, OptionalText, RightHelper, TitleCaption, base };
//# sourceMappingURL=InformationWrapper.styles.js.map
