import { Component, Host, h, Prop } from '@stencil/core';
import { createColorClasses } from '../../utils/theme';
export class GascoDivider {
  constructor() {
    /**
     * The color to use from your application's color palette.
     * Default options are: `"primary"`, `"secondary"`, `"success"`, `"warning"` and `"danger"`.
     */
    this.color = 'primary';
  }
  render() {
    return (h(Host, { class: createColorClasses(this.color, {
        [`divider-${this.shape}`]: this.shape !== undefined,
        'gasco-activatable': true,
      }) },
      h("div", { class: "divider-native" })));
  }
  static get is() { return "gasco-divider"; }
  static get encapsulation() { return "scoped"; }
  static get originalStyleUrls() { return {
    "$": ["gasco-divider.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["gasco-divider.css"]
  }; }
  static get properties() { return {
    "color": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "Color",
        "resolved": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never>",
        "references": {
          "Color": {
            "location": "import",
            "path": "../../interface"
          }
        }
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"success\"`, `\"warning\"` and `\"danger\"`."
      },
      "attribute": "color",
      "reflect": true,
      "defaultValue": "'primary'"
    },
    "shape": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "'round'",
        "resolved": "\"round\"",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": "The Divider shape."
      },
      "attribute": "shape",
      "reflect": true
    }
  }; }
}
