import styled, { css } from "styled-components";
import { BoxSizingStyle } from "../BoxSizingStyle";
import { FontStyle } from "../FontStyle";
import { Typography } from "../Typography/Typography";
export const StyledDiv = styled.div.withConfig({
  displayName: "Styles__StyledDiv",
  componentId: "sc-1wapx2a-0"
})(["", " ", " ", ""], FontStyle, BoxSizingStyle, {
  "position": "relative",
  "display": "inline-block",
  "maxWidth": "100%"
});
export const StyledSpan = styled(Typography).withConfig({
  displayName: "Styles__StyledSpan",
  componentId: "sc-1wapx2a-1"
})(["visibility:hidden;display:block;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;position:relative;border:1px solid transparent;border-radius:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:pre;font-variant-numeric:tabular-nums;", " ", " &:empty:before{content:\" \";}"], _ref => {
  let {
    $disabled
  } = _ref;
  return $disabled && css(["visibility:visible;"]);
}, _ref2 => {
  let {
    invalid
  } = _ref2;
  return invalid && css(["border:1px solid var(--red-alert);"]);
});
StyledSpan.displayName = "StyledSpan";
export const StyledInput = styled(Typography).withConfig({
  displayName: "Styles__StyledInput",
  componentId: "sc-1wapx2a-2"
})(["", " background-color:inherit;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;text-overflow:ellipsis;font-variant-numeric:tabular-nums;&:focus-whitin{text-overflow:clip;}outline-width:0px;outline:none;&:disabled{opacity:0;}", ""], {
  "position": "absolute",
  "inset": "0px",
  "boxSizing": "border-box",
  "width": "100%",
  "overflow": "hidden",
  "whiteSpace": "nowrap",
  "borderRadius": "0.375rem",
  "borderWidth": "1px",
  "borderStyle": "solid",
  "borderColor": "transparent",
  ":focus-within": {
    "overflow": "scroll",
    "borderColor": "var(--color-theme-700)"
  },
  ":hover": {
    "borderColor": "var(--color-theme-700)"
  }
}, _ref3 => {
  let {
    invalid
  } = _ref3;
  return invalid && css(["border-color:var(--red-alert) !important;"]);
});
StyledInput.displayName = "StyledInput";
//# sourceMappingURL=Styles.js.map