import { Component, Prop, h } from '@stencil/core';
export class TeliaCardFrame {
  constructor() {
    /** Setting for card padding */
    this.disablePadding = false;
    /** Tracking id is used to identify and count Component usage */
    this.dataTrackingId = 'telia-card-frame';
    this.componentClass = 'telia-card-frame';
  }
  render() {
    const classes = {
      [this.componentClass]: true,
      [`${this.componentClass}--padded`]: !this.disablePadding,
    };
    return (h("div", { class: classes },
      h("telia-vst", { dataTrackingId: this.dataTrackingId }),
      h("div", { class: `${this.componentClass}__content` },
        h("slot", null))));
  }
  static get is() { return "telia-card-frame"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() { return {
    "$": ["telia-card-frame.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["telia-card-frame.css"]
  }; }
  static get properties() { return {
    "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,
      "defaultValue": "false"
    },
    "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
    }
  }; }
}
