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) 2 kB
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js'; const rootCss = ":host{-webkit-font-smoothing:auto !important;-moz-osx-font-smoothing:auto !important;background-color:var(--utrecht-root-background-color, Canvas);border-width:0;box-sizing:border-box;color:var(--utrecht-root-color, CanvasText);font-family:var(--utrecht-root-font-family);font-size-adjust:var(--utrecht-root-font-size-adjust, 0.5);font-weight:var(--utrecht-root-font-weight, var(--utrecht-body-font-weight));-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;inline-size:100%;margin:0;min-block-size:100%;overflow-wrap:break-word;padding:0;position:relative;text-rendering:optimizeLegibility;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none;view-transition-name:root}@media (prefers-reduced-motion: no-preference){:host{scroll-behavior:smooth}}:host{font-size:var(--utrecht-root-font-size, var(--utrecht-body-font-size));line-height:var(--utrecht-root-line-height, var(--utrecht-body-line-height))}:host([hidden]){display:none !important}"; const UtrechtRootStyle0 = rootCss; const Root = /*@__PURE__*/ proxyCustomElement(class Root extends H { 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