UNPKG

@kelvininc/ui-components

Version:
60 lines (59 loc) 3.31 kB
import { Host, h } from "@stencil/core"; import { getClassMap } from "../../../utils/css-class.helper"; /** * @part illustration - The illustration container. */ export class KvEsKelvinLogo { constructor() { /** @inheritdoc */ this.customClass = ''; } render() { return (h(Host, { key: 'f570ce8212f19060522c859b2164ab2104a2af49' }, h("svg", { key: 'aa9b9698e7afec50af4763c08de76337f5926eca', part: "illustration", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", fill: "none", class: Object.assign(Object.assign({}, getClassMap(this.customClass)), { illustration: true }) }, h("path", { key: 'ab22dda287d96905a05b72af0b3785d7a8446eed', fill: "url(#a)", "fill-rule": "evenodd", d: "M16.002 0C7.177 0 0 7.178 0 16s7.177 16 16 16 16-7.178 16-16S24.824 0 16.002 0m0 30.897C7.786 30.897 1.104 24.214 1.104 16S7.786 1.103 16.002 1.103 30.896 7.787 30.896 16s-6.681 14.897-14.894 14.897M23.35 8.48 15.825 16l7.526 7.518h-1.462l-7.435-7.289v7.289H13.29V8.48h1.163v7.286l7.293-7.286zm-13.293.537a.864.864 0 0 1-.864.864.87.87 0 0 1-.864-.864c0-.47.396-.867.864-.867.469 0 .864.39.864.867", "clip-rule": "evenodd" }), h("defs", { key: '1cda54304c00b00e44cfbf32b2f8972a5208b18c' }, h("linearGradient", { key: 'd3626c56c9f9958e7ce15b2e2e26803a4f3fbdbc', id: "a", x1: "0", x2: "33.5", y1: "16", y2: "16", gradientUnits: "userSpaceOnUse" }, h("stop", { key: '5610467022033d212a0cfa5c06d57111e4b62f5b', "stop-color": "var(--navigation-logo-color-subtle)" }), h("stop", { key: '4c775533be212b6ba5c6449d0f3c866a84148ed9', offset: "1", "stop-color": "var(--navigation-logo-color-default)" })))))); } static get is() { return "kv-es-kelvin-logo"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["../../../illustrations/illustrations.scss"] }; } static get styleUrls() { return { "$": ["../../../illustrations/illustrations.css"] }; } static get properties() { return { "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": false, "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": "''" } }; } }