UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

110 lines (109 loc) 4.22 kB
/*! * (C) Fentrica http://fentrica.com - Seee LICENSE.md */ import { h } from "@stencil/core"; export class NodeButtonPush { constructor() { /** * The color to use from your application's color palette. * Detrouble options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. */ this.color = 'primary'; /** * size */ this.size = 'default'; /** * The color to use from your application's color palette. * Detrouble options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. */ this.disabled = false; } render() { return (h("lar-button", { key: 'd84863abe1a3dba1ac54cb1cc165970f224629f0', style: { "borderRadius": "10px" }, color: "light", disabled: this.disabled, size: this.size }, h("slot", { key: '3587e4d916d01c86406e662d8e787fffa9aeb873' }, h("lar-icon", { key: 'f51c0224e241c5db3140c2065213db9e1f475036', icon: "solid-circle" })))); } static get is() { return "lar-button-push"; } static get encapsulation() { return "scoped"; } static get originalStyleUrls() { return { "$": ["button-push.scss"] }; } static get styleUrls() { return { "$": ["button-push.css"] }; } static get properties() { return { "color": { "type": "string", "mutable": false, "complexType": { "original": "Color", "resolved": "string", "references": { "Color": { "location": "import", "path": "../../../interface", "id": "src/interface.d.ts::Color" } } }, "required": false, "optional": true, "docs": { "tags": [], "text": "The color to use from your application's color palette.\nDetrouble options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`." }, "getter": false, "setter": false, "reflect": false, "attribute": "color", "defaultValue": "'primary'" }, "size": { "type": "string", "mutable": false, "complexType": { "original": "('small' | 'default')", "resolved": "\"default\" | \"small\"", "references": {} }, "required": false, "optional": true, "docs": { "tags": [], "text": "size" }, "getter": false, "setter": false, "reflect": false, "attribute": "size", "defaultValue": "'default'" }, "disabled": { "type": "boolean", "mutable": false, "complexType": { "original": "boolean", "resolved": "boolean", "references": {} }, "required": false, "optional": true, "docs": { "tags": [], "text": "The color to use from your application's color palette.\nDetrouble options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`." }, "getter": false, "setter": false, "reflect": false, "attribute": "disabled", "defaultValue": "false" } }; } static get elementRef() { return "el"; } } //# sourceMappingURL=button-push.js.map