/* 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 { OdsThemeColorIntent } from "@ovhcloud/ods-theming";
import { OdsButtonSize, OdsButtonType, OdsButtonVariant, OdsHTMLAnchorElementRel, OdsHTMLAnchorElementTarget } from "@ovhcloud/ods-core";
export namespace Components {
interface OsdsButton {
/**
* use a circle shape
* @see OdsButtonAttributes.circle
*/
"circle"?: boolean | undefined;
/**
* main color: see component principles
* @see OdsButtonAttributes.color
*/
"color"?: OdsThemeColorIntent;
/**
* contrasted or not: see component principles
* @see OdsButtonAttributes.contrasted
*/
"contrasted"?: boolean | undefined;
/**
* disabled or not: see component principles
* @see OdsButtonAttributes.disabled
*/
"disabled"?: boolean | undefined;
/**
* Button with href as download source
* @see OdsButtonAttributes.rel
*/
"download"?: HTMLAnchorElement['download'];
/**
* full width or not: see component principles
* @see OdsButtonAttributes.flex
*/
"flex"?: boolean | undefined;
/**
* use a button as a link with `` element
* @see OdsButtonAttributes.href
*/
"href"?: string;
/**
* Button with href relationship
* @see OdsButtonAttributes.rel
*/
"rel"?: OdsHTMLAnchorElementRel;
/**
* size: see component principles
* @see OdsButtonAttributes.size
*/
"size"?: OdsButtonSize;
/**
* link target if we are in a link-mode (using `href` attribute)
* @see OdsButtonAttributes.target
*/
"target"?: OdsHTMLAnchorElementTarget;
/**
* type of the vanilla button
* @see OdsButtonAttributes.type
*/
"type"?: OdsButtonType;
/**
* used design aspect
* @see OdsButtonAttributes.variant
*/
"variant"?: OdsButtonVariant;
}
}
declare global {
interface HTMLOsdsButtonElement extends Components.OsdsButton, HTMLStencilElement {
}
var HTMLOsdsButtonElement: {
prototype: HTMLOsdsButtonElement;
new (): HTMLOsdsButtonElement;
};
interface HTMLElementTagNameMap {
"osds-button": HTMLOsdsButtonElement;
}
}
declare namespace LocalJSX {
interface OsdsButton {
/**
* use a circle shape
* @see OdsButtonAttributes.circle
*/
"circle"?: boolean | undefined;
/**
* main color: see component principles
* @see OdsButtonAttributes.color
*/
"color"?: OdsThemeColorIntent;
/**
* contrasted or not: see component principles
* @see OdsButtonAttributes.contrasted
*/
"contrasted"?: boolean | undefined;
/**
* disabled or not: see component principles
* @see OdsButtonAttributes.disabled
*/
"disabled"?: boolean | undefined;
/**
* Button with href as download source
* @see OdsButtonAttributes.rel
*/
"download"?: HTMLAnchorElement['download'];
/**
* full width or not: see component principles
* @see OdsButtonAttributes.flex
*/
"flex"?: boolean | undefined;
/**
* use a button as a link with `` element
* @see OdsButtonAttributes.href
*/
"href"?: string;
/**
* Button with href relationship
* @see OdsButtonAttributes.rel
*/
"rel"?: OdsHTMLAnchorElementRel;
/**
* size: see component principles
* @see OdsButtonAttributes.size
*/
"size"?: OdsButtonSize;
/**
* link target if we are in a link-mode (using `href` attribute)
* @see OdsButtonAttributes.target
*/
"target"?: OdsHTMLAnchorElementTarget;
/**
* type of the vanilla button
* @see OdsButtonAttributes.type
*/
"type"?: OdsButtonType;
/**
* used design aspect
* @see OdsButtonAttributes.variant
*/
"variant"?: OdsButtonVariant;
}
interface IntrinsicElements {
"osds-button": OsdsButton;
}
}
export { LocalJSX as JSX };
declare module "@stencil/core" {
export namespace JSX {
interface IntrinsicElements {
"osds-button": LocalJSX.OsdsButton & JSXBase.HTMLAttributes;
}
}
}