/* 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 { OdsTabItemSelectEventDetail, OdsTabsChangeEventDetail, OdsTabsSize } from "@ovhcloud/ods-core"; export namespace Components { interface OsdsTabBar { } interface OsdsTabBarItem { /** * is this tab item is selected or not * @see OdsTabBarItemAttributes.active */ "active": boolean; /** * is in contrasted mode or not * @see OdsTabBarItemAttributes.contrasted */ "contrasted": boolean; /** * The tab is disabled or not * @see OdsTabBarItemAttributes.disabled */ "disabled": boolean; /** * The panel of the corresponding Tab * @see OdsTabBarItemAttributes.panel */ "panel": string; /** * select the panel by emitting * @see OdsTabBarItemBehavior.select */ "select": () => Promise; } interface OsdsTabPanel { /** * is the panel is active or nor * @see OdsTabPanelAttributes.active */ "active": boolean; /** * identifier name of the panel * @see OdsTabPanelAttributes.name */ "name": string; } interface OsdsTabs { /** * The tab is contrasted * @see OdsTabsAttributes.contrasted */ "contrasted": boolean; /** * Tabs active panel * @see OdsTabsAttributes.panel */ "panel": string; /** * Tabs size * @see OdsTabsAttributes.size */ "size": OdsTabsSize; } } export interface OsdsTabBarItemCustomEvent extends CustomEvent { detail: T; target: HTMLOsdsTabBarItemElement; } export interface OsdsTabsCustomEvent extends CustomEvent { detail: T; target: HTMLOsdsTabsElement; } declare global { interface HTMLOsdsTabBarElement extends Components.OsdsTabBar, HTMLStencilElement { } var HTMLOsdsTabBarElement: { prototype: HTMLOsdsTabBarElement; new (): HTMLOsdsTabBarElement; }; interface HTMLOsdsTabBarItemElement extends Components.OsdsTabBarItem, HTMLStencilElement { } var HTMLOsdsTabBarItemElement: { prototype: HTMLOsdsTabBarItemElement; new (): HTMLOsdsTabBarItemElement; }; interface HTMLOsdsTabPanelElement extends Components.OsdsTabPanel, HTMLStencilElement { } var HTMLOsdsTabPanelElement: { prototype: HTMLOsdsTabPanelElement; new (): HTMLOsdsTabPanelElement; }; interface HTMLOsdsTabsElement extends Components.OsdsTabs, HTMLStencilElement { } var HTMLOsdsTabsElement: { prototype: HTMLOsdsTabsElement; new (): HTMLOsdsTabsElement; }; interface HTMLElementTagNameMap { "osds-tab-bar": HTMLOsdsTabBarElement; "osds-tab-bar-item": HTMLOsdsTabBarItemElement; "osds-tab-panel": HTMLOsdsTabPanelElement; "osds-tabs": HTMLOsdsTabsElement; } } declare namespace LocalJSX { interface OsdsTabBar { } interface OsdsTabBarItem { /** * is this tab item is selected or not * @see OdsTabBarItemAttributes.active */ "active"?: boolean; /** * is in contrasted mode or not * @see OdsTabBarItemAttributes.contrasted */ "contrasted"?: boolean; /** * The tab is disabled or not * @see OdsTabBarItemAttributes.disabled */ "disabled"?: boolean; /** * @see OdsTabBarItemEvents.odsTabItemSelectEvent */ "onOdsTabItemSelectEvent"?: (event: OsdsTabBarItemCustomEvent) => void; /** * The panel of the corresponding Tab * @see OdsTabBarItemAttributes.panel */ "panel"?: string; } interface OsdsTabPanel { /** * is the panel is active or nor * @see OdsTabPanelAttributes.active */ "active"?: boolean; /** * identifier name of the panel * @see OdsTabPanelAttributes.name */ "name"?: string; } interface OsdsTabs { /** * The tab is contrasted * @see OdsTabsAttributes.contrasted */ "contrasted"?: boolean; /** * @see OdsTabsEvents.odsTabsChanged */ "onOdsTabsChanged"?: (event: OsdsTabsCustomEvent) => void; /** * Tabs active panel * @see OdsTabsAttributes.panel */ "panel"?: string; /** * Tabs size * @see OdsTabsAttributes.size */ "size"?: OdsTabsSize; } interface IntrinsicElements { "osds-tab-bar": OsdsTabBar; "osds-tab-bar-item": OsdsTabBarItem; "osds-tab-panel": OsdsTabPanel; "osds-tabs": OsdsTabs; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "osds-tab-bar": LocalJSX.OsdsTabBar & JSXBase.HTMLAttributes; "osds-tab-bar-item": LocalJSX.OsdsTabBarItem & JSXBase.HTMLAttributes; "osds-tab-panel": LocalJSX.OsdsTabPanel & JSXBase.HTMLAttributes; "osds-tabs": LocalJSX.OsdsTabs & JSXBase.HTMLAttributes; } } }