UNPKG

@utrecht/web-component-library-stencil

Version:

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

54 lines (53 loc) 1.64 kB
/** * @license EUPL-1.2 * Copyright (c) 2020-2024 Frameless B.V. * Copyright (c) 2021-2024 Gemeente Utrecht */ import { h } from "@stencil/core"; import clsx from "clsx"; export class actionGroup { constructor() { this.direction = undefined; } render() { const { direction } = this; return (h("div", { key: '3a228227c9b4d99fc57e5c1a7337ed35f549829a', class: clsx('utrecht-action-group', { 'utrecht-action-group--column': direction === 'column', 'utrecht-action-group--row': direction === 'row', }) }, h("slot", { key: '4a0d5a27e0c98fda465f7064a5e23abb105f3eb9' }))); } static get is() { return "utrecht-action-group"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["action-group.scss"] }; } static get styleUrls() { return { "$": ["action-group.css"] }; } static get properties() { return { "direction": { "type": "string", "mutable": false, "complexType": { "original": "string | 'column' | 'row'", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "direction", "reflect": false } }; } } //# sourceMappingURL=action-group.js.map