UNPKG

@kelvininc/ui-components

Version:
40 lines (35 loc) 2.92 kB
import { p as proxyCustomElement, H, h, e as Host } from './p-D6GMjtmE.js'; import { g as getClassMap } from './p-DKOxy79t.js'; const illustrationsCss = "@property --rotation{syntax:\"<angle>\";initial-value:0deg;inherits:false}@keyframes rotate-border{to{--rotation:360deg}}.illustration{--illustration-color:var(--kv-illustrations-color, #005cc7);--illustration-color-light-90:var(--kv-illustrations-color-light-90, rgb(228.225, 237.885, 249.12));--illustration-color-light-80:var(--kv-illustrations-color-light-80, rgb(200.175, 219.955, 242.96));--illustration-color-dark-55:var(--kv-illustrations-color-dark-55, rgb(0, 41.86, 90.545));--illustration-color-dark-35:var(--kv-illustrations-color-dark-35, rgb(0, 58.88, 127.36));--illustration-success-color:var(--kv-illustrations-success-color, #05a357);width:var(--illustration-width);height:var(--illustration-height);display:flex}.illustration-full-size{width:100%;height:100%}"; const KvSoftAgree$1 = /*@__PURE__*/ proxyCustomElement(class KvSoftAgree extends H { constructor() { super(); this.__registerHost(); this.__attachShadow(); /** @inheritdoc */ this.customClass = ''; } render() { return (h(Host, { key: 'e9762ec8b88dd099bea900cb9263a7d7c2e6ea76' }, h("svg", { key: 'cae2b9db7263f2df6b451cbfd487a144aa603d01', part: "illustration", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 40 40", class: Object.assign(Object.assign({}, getClassMap(this.customClass)), { illustration: true }) }, h("path", { key: '7792f2fb4ddb8742b99bc88805b8a1a661cac6c0', fill: "#3F3F3F", d: "M20 40c11.046 0 20-8.954 20-20S31.046 0 20 0 0 8.954 0 20s8.954 20 20 20" }), h("path", { key: '0b89af8dc24727137ab55ee34d3d7abaf4524fff', fill: "#FFC043", "fill-rule": "evenodd", d: "M31.808 20c0 6.52-5.286 11.806-11.806 11.806S8.195 26.52 8.195 20 13.481 8.193 20.002 8.193c6.52 0 11.806 5.286 11.806 11.807m-5.91-4.146a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0m-10.109 1.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5m6.894 4.982-1.637 1.637 1.637 1.638a.74.74 0 0 1-1.045 1.045l-1.637-1.637-1.638 1.637a.74.74 0 0 1-1.045-1.045l1.637-1.638-1.637-1.637a.74.74 0 0 1 1.045-1.046l1.638 1.638 1.637-1.638a.74.74 0 0 1 1.045 1.046" })))); } static get style() { return illustrationsCss; } }, [1, "kv-soft-agree", { "customClass": [513, "custom-class"] }]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["kv-soft-agree"]; components.forEach(tagName => { switch (tagName) { case "kv-soft-agree": if (!customElements.get(tagName)) { customElements.define(tagName, KvSoftAgree$1); } break; } }); } defineCustomElement$1(); const KvSoftAgree = KvSoftAgree$1; const defineCustomElement = defineCustomElement$1; export { KvSoftAgree, defineCustomElement };