'use strict';

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

const index = require('./index-b499856a.js');

const teliaColorDotCss = ".telia-color-dot{border-radius:calc(99.9rem * var(--voca-rem-multiplier))}.telia-color-dot--with_border{border:calc(0.1rem * var(--voca-rem-multiplier)) solid #c8c8cd}.telia-color-dot--xs{height:calc(1.2rem * var(--voca-rem-multiplier));width:calc(1.2rem * var(--voca-rem-multiplier))}.telia-color-dot--sm{height:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-color-dot--md{height:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}.telia-color-dot--lg{height:calc(4.8rem * var(--voca-rem-multiplier));width:calc(4.8rem * var(--voca-rem-multiplier))}";

const TeliaColorDot = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    /** Change size of TeliaColorDot from xs to lg */
    this.size = 'sm';
    /** Add border. Use if color contrast is low. */
    this.withborder = false;
    /** Tracking id is used to identify and count Component usage */
    this.dataTrackingId = 'telia-color-dot';
  }
  render() {
    return (index.h("div", { "data-testid": "telia-color-dot-border-container", class: {
        'telia-color-dot': true,
        'telia-color-dot--with_border': this.withborder,
        [`telia-color-dot--${this.size}`]: true,
      }, style: { backgroundColor: this.color, borderColor: this.borderColor } }, index.h("telia-vst", { dataTrackingId: this.dataTrackingId })));
  }
};
TeliaColorDot.style = teliaColorDotCss;

exports.telia_color_dot = TeliaColorDot;
