import { Component, h, Host, Prop } from '@stencil/core';
export class DvnMenu {
  constructor() {
    this.orientation = 'vertical';
    this.overrideStyle = {};
  }
  render() {
    const style = this.overrideStyle || {};
    if (this.width) {
      style.width = this.width;
    }
    return (h(Host, { style: style, class: {
        leaned: this.leaned,
        [this.orientation]: true,
      } },
      h("slot", null)));
  }
  static get is() { return "dvn-menu"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() { return {
    "$": ["dvn-menu.css"]
  }; }
  static get styleUrls() { return {
    "$": ["dvn-menu.css"]
  }; }
  static get properties() { return {
    "leaned": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "leaned",
      "reflect": false
    },
    "orientation": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "'horizontal' | 'vertical'",
        "resolved": "\"horizontal\" | \"vertical\"",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "orientation",
      "reflect": false,
      "defaultValue": "'vertical'"
    },
    "overrideStyle": {
      "type": "any",
      "mutable": false,
      "complexType": {
        "original": "any",
        "resolved": "any",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "override-style",
      "reflect": false,
      "defaultValue": "{}"
    },
    "width": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "width",
      "reflect": false
    }
  }; }
}
