'use strict';

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

var styled = require('styled-components');
var index = require('../../utils/index.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);

const Wrapper = styled__default['default'].div `
  display: flex;
  position: relative;
  background: ${index.getColorAlias('containerStrong')};
  border-radius: ${({ theme }) => theme.radius.roundedE};
  padding: 2px;
  width: fit-content;
  font-weight: ${(props) => props.theme.font.weightBold};
  font-family: ${(props) => props.theme.font.familyPrimary};
  ${index.getFontSize('size14')};
  height: ${(props) => props.height}px;
`;
const Indicator = styled__default['default'].div `
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: ${(props) => props.width}px;
  left: ${(props) => props.left}px;
  height: ${(props) => props.height}px;
  max-height: ${(props) => props.height}px;
  bottom: 2px;
  border-radius: ${({ theme }) => theme.radius.roundedE};
  background-color: ${index.getColorAlias('interactiveLight')};
  box-shadow: ${(props) => props.theme.elevation.e3};
  color: ${index.getColorAlias('contentInteractiveDark')};
  transition: ${({ theme }) => `${theme.motion.speed.exitM} ${theme.motion.easing.easeDefault}`};

  svg {
    margin-right: ${index.getSpacing('s01')};
    vertical-align: middle;
  }
`;

exports.Indicator = Indicator;
exports.Wrapper = Wrapper;
