import { Component, Prop, h, Host } from '@stencil/core';
export class TeliaCardFrameLink {
  constructor() {
    /** Tracking id is used to identify and count Component usage */
    this.dataTrackingId = 'telia-card-frame-link';
    this.componentClass = 'telia-card-frame-link';
  }
  render() {
    return (h(Host, { class: this.componentClass, "data-testid": this.dataTestid },
      h("telia-link", { silent: true, variant: 'text', href: this.href, "link-title": this.linkTitle, class: this.componentClass + '__link' },
        h("div", { class: `${this.componentClass}__content` },
          h("telia-card-frame", { class: `${this.componentClass}__frame`, disablePadding: this.disablePadding },
            h("slot", null)))),
      h("telia-vst", { dataTrackingId: this.dataTrackingId })));
  }
  static get is() { return "telia-card-frame-link"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() { return {
    "$": ["telia-card-frame-link.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["telia-card-frame-link.css"]
  }; }
  static get properties() { return {
    "dataTestid": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Test id set for web component host"
      },
      "attribute": "data-testid",
      "reflect": false
    },
    "href": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "link url"
      },
      "attribute": "href",
      "reflect": false
    },
    "linkTitle": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "The link title attribute is shown on hover"
      },
      "attribute": "link-title",
      "reflect": false
    },
    "disablePadding": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Setting for card padding"
      },
      "attribute": "disable-padding",
      "reflect": false
    }
  }; }
}
