/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { Color, } from "./components/atoms/k-button/k-button"; export namespace Components { interface KButton { /** * The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"success"`, `"warning"`, `"danger"`. */ "color"?: Color; /** * If `true`, the user cannot interact with the button. */ "disabled": boolean; /** * Set to `"block"` for a full-width button or to `"full"` for a full-width button without left and right borders. */ "expand"?: "block"; /** * Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered. */ "href": string | undefined; /** * Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). */ "rel": string | undefined; /** * Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`. */ "target": string | undefined; /** * The type of the button. */ "type": "submit" | "reset" | "button"; } } declare global { interface HTMLKButtonElement extends Components.KButton, HTMLStencilElement { } var HTMLKButtonElement: { prototype: HTMLKButtonElement; new (): HTMLKButtonElement; }; interface HTMLElementTagNameMap { "k-button": HTMLKButtonElement; } } declare namespace LocalJSX { interface KButton { /** * The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"success"`, `"warning"`, `"danger"`. */ "color"?: Color; /** * If `true`, the user cannot interact with the button. */ "disabled"?: boolean; /** * Set to `"block"` for a full-width button or to `"full"` for a full-width button without left and right borders. */ "expand"?: "block"; /** * Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered. */ "href"?: string | undefined; /** * Emitted when the button loses focus. */ "onKBlur"?: (event: CustomEvent) => void; /** * Emitted when the button has focus. */ "onKFocus"?: (event: CustomEvent) => void; /** * Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). */ "rel"?: string | undefined; /** * Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`. */ "target"?: string | undefined; /** * The type of the button. */ "type"?: "submit" | "reset" | "button"; } interface IntrinsicElements { "k-button": KButton; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "k-button": LocalJSX.KButton & JSXBase.HTMLAttributes; } } }