import { h, Host } from "@stencil/core";
import { FormSearchClass } from "./constants";
export class GovFormSearch {
    constructor() {
        /**
         * Search’s size.
         */
        this.size = "m";
        /**
         * Style variation of the form input.
         */
        this.color = 'neutral';
    }
    render() {
        return (h(Host, { key: '71109e2502931ac3b92b4e2e6336c3d08d666fae', class: FormSearchClass.root, color: this.color, size: this.size }, h("slot", { key: '615ea1dab3ebee905d7bc9f1c7b4f0da4e89eee5', name: "input" }), h("slot", { key: 'fa9abfbaee3dedecb4b217cc8681b16557d978bc', name: "button-erase" }), h("slot", { key: '8c2cb29b38de5634b220db526452b9a07873fc29', name: "button" })));
    }
    static get is() { return "gov-form-search"; }
    static get properties() {
        return {
            "size": {
                "type": "string",
                "attribute": "size",
                "mutable": false,
                "complexType": {
                    "original": "FormSearchSizesType",
                    "resolved": "\"l\" | \"m\" | \"s\"",
                    "references": {
                        "FormSearchSizesType": {
                            "location": "import",
                            "path": "./constants",
                            "id": "../../../packages/core/src/components/gov-form/search/constants.ts::FormSearchSizesType"
                        }
                    }
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": "Search\u2019s size."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "defaultValue": "\"m\""
            },
            "color": {
                "type": "string",
                "attribute": "color",
                "mutable": false,
                "complexType": {
                    "original": "FormSearchColorType",
                    "resolved": "\"neutral\" | \"primary\"",
                    "references": {
                        "FormSearchColorType": {
                            "location": "import",
                            "path": "./constants",
                            "id": "../../../packages/core/src/components/gov-form/search/constants.ts::FormSearchColorType"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Style variation of the form input."
                },
                "getter": false,
                "setter": false,
                "reflect": true,
                "defaultValue": "'neutral'"
            }
        };
    }
    static get elementRef() { return "host"; }
}
//# sourceMappingURL=gov-form-search.js.map
