import { h, Host } from "@stencil/core";
export class DgaActions {
    constructor() {
        /** Direction of stack items: 'row' (horizontal) or 'column' (vertical) */
        this.direction = 'row';
        /** Spacing between stack items */
        this.spacing = 0;
        /** Horizontal alignment of stack items */
        this.align = 'start';
        /** Vertical alignment of stack items */
        this.justify = 'start';
        /** Controls if items should wrap */
        this.wrap = false;
    }
    render() {
        const styles = {
            display: 'flex',
            flexDirection: this.direction,
            gap: `${this.spacing}px`,
            alignItems: this.align,
            justifyContent: this.justify === 'between' ? 'space-between' : this.justify,
            flexWrap: this.wrap ? 'wrap' : 'nowrap',
        };
        return (h(Host, { key: '03783a816bf380a78b525e443382cd00682ad48e', style: styles }, h("slot", { key: 'a3ac6b487af04fbd06ce58565d8cba04e9ab3165' })));
    }
    static get is() { return "dga-actions"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["dga-actions.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["dga-actions.css"]
        };
    }
    static get properties() {
        return {
            "direction": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'row' | 'column'",
                    "resolved": "\"column\" | \"row\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Direction of stack items: 'row' (horizontal) or 'column' (vertical)"
                },
                "getter": false,
                "setter": false,
                "attribute": "direction",
                "reflect": false,
                "defaultValue": "'row'"
            },
            "spacing": {
                "type": "number",
                "mutable": false,
                "complexType": {
                    "original": "number",
                    "resolved": "number",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Spacing between stack items"
                },
                "getter": false,
                "setter": false,
                "attribute": "spacing",
                "reflect": false,
                "defaultValue": "0"
            },
            "align": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'start' | 'center' | 'end' | 'stretch'",
                    "resolved": "\"center\" | \"end\" | \"start\" | \"stretch\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Horizontal alignment of stack items"
                },
                "getter": false,
                "setter": false,
                "attribute": "align",
                "reflect": false,
                "defaultValue": "'start'"
            },
            "justify": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'start' | 'center' | 'end' | 'between'",
                    "resolved": "\"between\" | \"center\" | \"end\" | \"start\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Vertical alignment of stack items"
                },
                "getter": false,
                "setter": false,
                "attribute": "justify",
                "reflect": false,
                "defaultValue": "'start'"
            },
            "wrap": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Controls if items should wrap"
                },
                "getter": false,
                "setter": false,
                "attribute": "wrap",
                "reflect": false,
                "defaultValue": "false"
            }
        };
    }
}
//# sourceMappingURL=dga-actions.js.map
