UNPKG

@kelvininc/ui-components

Version:
85 lines (84 loc) 3.33 kB
import { h, Host } from "@stencil/core"; /** * @part illustration - The illustration container. */ export class KvIllustration { constructor() { /** @inheritdoc */ this.customClass = ''; } render() { const Tag = this.name; return (h(Host, { key: 'be09bdafb2f53e47aa4e4c6c9e4a0bf9663d30a8' }, h(Tag, { key: 'b8546b4cf114031060b53af9e0870bbe31250a97', customClass: this.customClass }))); } static get is() { return "kv-illustration"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["illustration.scss"] }; } static get styleUrls() { return { "$": ["illustration.css"] }; } static get properties() { return { "name": { "type": "string", "attribute": "name", "mutable": false, "complexType": { "original": "EIllustrationName", "resolved": "EIllustrationName.ErrorState | EIllustrationName.ErrorState404 | EIllustrationName.EsKelvinLogo | EIllustrationName.EsKelvinLogotype | EIllustrationName.Import | EIllustrationName.NoContentHere | EIllustrationName.NoDataAvailable | EIllustrationName.NoMatchingResults | EIllustrationName.NoResultsFound | EIllustrationName.TakeActions", "references": { "EIllustrationName": { "location": "import", "path": "./illustration.types", "id": "src/components/illustration/illustration.types.ts::EIllustrationName" } } }, "required": true, "optional": false, "docs": { "tags": [], "text": "(required) Illustration symbol name" }, "getter": false, "setter": false, "reflect": true }, "customClass": { "type": "string", "attribute": "custom-class", "mutable": false, "complexType": { "original": "CustomCssClass", "resolved": "CssClassMap | string | string[]", "references": { "CustomCssClass": { "location": "import", "path": "../../types", "id": "src/types.ts::CustomCssClass" } } }, "required": false, "optional": true, "docs": { "tags": [{ "name": "inheritdoc", "text": undefined }], "text": "(optional) Additional classes to apply for custom CSS. If multiple classes are\nprovided they should be separated by spaces. It is also valid to provide\nCssClassMap with boolean logic." }, "getter": false, "setter": false, "reflect": true, "defaultValue": "''" } }; } }