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.6 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; const rootCss = ":host{-webkit-font-smoothing:auto !important;-moz-osx-font-smoothing:auto !important;background-color:var(--utrecht-root-background-color);block-size:100%;color:var(--utrecht-root-color);font-family:var(--utrecht-root-font-family);-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;inline-size:100%;overflow-block:auto;overflow-inline:auto;position:relative;text-rendering:optimizeLegibility;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none;word-break:break-word}:host([hidden]){display:none !important}"; const UtrechtRootStyle0 = rootCss; const Root = /*@__PURE__*/ proxyCustomElement(class Root extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return h("slot", { key: '3f1a5ebf592319256507a14284f91c166d95a9c1' }); } static get style() { return UtrechtRootStyle0; } }, [1, "utrecht-root"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-root"]; components.forEach(tagName => { switch (tagName) { case "utrecht-root": if (!customElements.get(tagName)) { customElements.define(tagName, Root); } break; } }); } const UtrechtRoot = Root; const defineCustomElement = defineCustomElement$1; export { UtrechtRoot, defineCustomElement }; //# sourceMappingURL=utrecht-root.js.map