UNPKG

@utrecht/web-component-library-stencil

Version:

Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture

36 lines (31 loc) 1.69 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const markCss = ".utrecht-mark{background-color:var(--utrecht-mark-background-color, revert);color:var(--utrecht-mark-color, revert)}@media print{.utrecht-mark{outline-color:currentColor;outline-style:dotted;outline-width:0.1em}}@media screen and (-ms-high-contrast: active){.utrecht-mark{background-color:Highlight;color:HighlightText}}.utrecht-mark--print{outline-color:currentColor;outline-style:dotted;outline-width:0.1em}.utrecht-mark--windows-high-contrast{background-color:Highlight;color:HighlightText}:host{display:inline}:host([hidden]){display:none !important}"; const UtrechtMarkStyle0 = markCss; const Mark = /*@__PURE__*/ proxyCustomElement(class Mark extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("mark", { key: 'a793458821099962fbb9cbe815c81d84fd3ce039', class: "utrecht-mark" }, h("slot", { key: '1b5cff7a85ec1fca18dda787ed20396c35641d6e' }))); } static get style() { return UtrechtMarkStyle0; } }, [1, "utrecht-mark"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-mark"]; components.forEach(tagName => { switch (tagName) { case "utrecht-mark": if (!customElements.get(tagName)) { customElements.define(tagName, Mark); } break; } }); } const UtrechtMark = Mark; const defineCustomElement = defineCustomElement$1; export { UtrechtMark, defineCustomElement }; //# sourceMappingURL=utrecht-mark.js.map