UNPKG

mwcpl

Version:

Master's Web Component Pattern Library

384 lines (383 loc) 11.2 kB
/* 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"; export namespace Components { interface MwcplButton { /** * Makes the button non interactive. */ "disabled": boolean; /** * Creates a fullwidth button. */ "fullwidth": boolean; /** * Label for the button. */ "label": string; /** * Adds a loading indicator. */ "loading": boolean; /** * Creates an outlined button. */ "outlined": boolean; /** * Creates a button with rounded corners. */ "rounded": boolean; /** * Makes the button text uppercase. */ "uppercase": boolean; } interface MwcplDialog { /** * Dismisses the dialog by clicking on the backdrop. */ "dismissable": boolean; /** * The title of the dialog. */ "heading": string; /** * Controls the visibility of the dialog. */ "open": boolean; } interface MwcplFab { /** * Label for the FAB. */ "label": string; /** * Creates a smaller of FAB. */ "mini": boolean; } interface MwcplFormField { /** * Creates a fullwidth form field. */ "fullwidth": boolean; /** * Label for the form field. */ "label": string; } interface MwcplList { /** * Makes the list clickable. */ "clickable": boolean; } interface MwcplListItem { } interface MwcplNavbar { /** * Creates a fixed navigation bar. */ "fixed": boolean; } interface MwcplNavbarItem { /** * Selects the text, icon and background. */ "active": boolean; /** * Makes the font larger and bolder. */ "header": boolean; /** * `href` of the navigation item. */ "href": string; /** * Hides the header icon. */ "iconless": boolean; /** * The label of the navigation item. */ "label": string; /** * Extends the navigation item. */ "open": boolean; /** * Pushes the element to the bottom of the navigation bar. */ "spacer": boolean; } interface MwcplNotification { /** * The text of the notification. */ "label": string; /** * Makes the notification visible. */ "show": boolean; } interface MwcplTreeView { } interface MwcplTreeViewItem { /** * Label of the tree view item. */ "label": string; /** * Shows children tree view item(s). */ "open": boolean; } } declare global { interface HTMLMwcplButtonElement extends Components.MwcplButton, HTMLStencilElement { } var HTMLMwcplButtonElement: { prototype: HTMLMwcplButtonElement; new (): HTMLMwcplButtonElement; }; interface HTMLMwcplDialogElement extends Components.MwcplDialog, HTMLStencilElement { } var HTMLMwcplDialogElement: { prototype: HTMLMwcplDialogElement; new (): HTMLMwcplDialogElement; }; interface HTMLMwcplFabElement extends Components.MwcplFab, HTMLStencilElement { } var HTMLMwcplFabElement: { prototype: HTMLMwcplFabElement; new (): HTMLMwcplFabElement; }; interface HTMLMwcplFormFieldElement extends Components.MwcplFormField, HTMLStencilElement { } var HTMLMwcplFormFieldElement: { prototype: HTMLMwcplFormFieldElement; new (): HTMLMwcplFormFieldElement; }; interface HTMLMwcplListElement extends Components.MwcplList, HTMLStencilElement { } var HTMLMwcplListElement: { prototype: HTMLMwcplListElement; new (): HTMLMwcplListElement; }; interface HTMLMwcplListItemElement extends Components.MwcplListItem, HTMLStencilElement { } var HTMLMwcplListItemElement: { prototype: HTMLMwcplListItemElement; new (): HTMLMwcplListItemElement; }; interface HTMLMwcplNavbarElement extends Components.MwcplNavbar, HTMLStencilElement { } var HTMLMwcplNavbarElement: { prototype: HTMLMwcplNavbarElement; new (): HTMLMwcplNavbarElement; }; interface HTMLMwcplNavbarItemElement extends Components.MwcplNavbarItem, HTMLStencilElement { } var HTMLMwcplNavbarItemElement: { prototype: HTMLMwcplNavbarItemElement; new (): HTMLMwcplNavbarItemElement; }; interface HTMLMwcplNotificationElement extends Components.MwcplNotification, HTMLStencilElement { } var HTMLMwcplNotificationElement: { prototype: HTMLMwcplNotificationElement; new (): HTMLMwcplNotificationElement; }; interface HTMLMwcplTreeViewElement extends Components.MwcplTreeView, HTMLStencilElement { } var HTMLMwcplTreeViewElement: { prototype: HTMLMwcplTreeViewElement; new (): HTMLMwcplTreeViewElement; }; interface HTMLMwcplTreeViewItemElement extends Components.MwcplTreeViewItem, HTMLStencilElement { } var HTMLMwcplTreeViewItemElement: { prototype: HTMLMwcplTreeViewItemElement; new (): HTMLMwcplTreeViewItemElement; }; interface HTMLElementTagNameMap { "mwcpl-button": HTMLMwcplButtonElement; "mwcpl-dialog": HTMLMwcplDialogElement; "mwcpl-fab": HTMLMwcplFabElement; "mwcpl-form-field": HTMLMwcplFormFieldElement; "mwcpl-list": HTMLMwcplListElement; "mwcpl-list-item": HTMLMwcplListItemElement; "mwcpl-navbar": HTMLMwcplNavbarElement; "mwcpl-navbar-item": HTMLMwcplNavbarItemElement; "mwcpl-notification": HTMLMwcplNotificationElement; "mwcpl-tree-view": HTMLMwcplTreeViewElement; "mwcpl-tree-view-item": HTMLMwcplTreeViewItemElement; } } declare namespace LocalJSX { interface MwcplButton { /** * Makes the button non interactive. */ "disabled"?: boolean; /** * Creates a fullwidth button. */ "fullwidth"?: boolean; /** * Label for the button. */ "label"?: string; /** * Adds a loading indicator. */ "loading"?: boolean; /** * Creates an outlined button. */ "outlined"?: boolean; /** * Creates a button with rounded corners. */ "rounded"?: boolean; /** * Makes the button text uppercase. */ "uppercase"?: boolean; } interface MwcplDialog { /** * Dismisses the dialog by clicking on the backdrop. */ "dismissable"?: boolean; /** * The title of the dialog. */ "heading"?: string; /** * Controls the visibility of the dialog. */ "open"?: boolean; } interface MwcplFab { /** * Label for the FAB. */ "label"?: string; /** * Creates a smaller of FAB. */ "mini"?: boolean; } interface MwcplFormField { /** * Creates a fullwidth form field. */ "fullwidth"?: boolean; /** * Label for the form field. */ "label"?: string; } interface MwcplList { /** * Makes the list clickable. */ "clickable"?: boolean; } interface MwcplListItem { } interface MwcplNavbar { /** * Creates a fixed navigation bar. */ "fixed"?: boolean; } interface MwcplNavbarItem { /** * Selects the text, icon and background. */ "active"?: boolean; /** * Makes the font larger and bolder. */ "header"?: boolean; /** * `href` of the navigation item. */ "href"?: string; /** * Hides the header icon. */ "iconless"?: boolean; /** * The label of the navigation item. */ "label"?: string; /** * Extends the navigation item. */ "open"?: boolean; /** * Pushes the element to the bottom of the navigation bar. */ "spacer"?: boolean; } interface MwcplNotification { /** * The text of the notification. */ "label"?: string; /** * Makes the notification visible. */ "show"?: boolean; } interface MwcplTreeView { } interface MwcplTreeViewItem { /** * Label of the tree view item. */ "label"?: string; /** * Shows children tree view item(s). */ "open"?: boolean; } interface IntrinsicElements { "mwcpl-button": MwcplButton; "mwcpl-dialog": MwcplDialog; "mwcpl-fab": MwcplFab; "mwcpl-form-field": MwcplFormField; "mwcpl-list": MwcplList; "mwcpl-list-item": MwcplListItem; "mwcpl-navbar": MwcplNavbar; "mwcpl-navbar-item": MwcplNavbarItem; "mwcpl-notification": MwcplNotification; "mwcpl-tree-view": MwcplTreeView; "mwcpl-tree-view-item": MwcplTreeViewItem; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "mwcpl-button": LocalJSX.MwcplButton & JSXBase.HTMLAttributes<HTMLMwcplButtonElement>; "mwcpl-dialog": LocalJSX.MwcplDialog & JSXBase.HTMLAttributes<HTMLMwcplDialogElement>; "mwcpl-fab": LocalJSX.MwcplFab & JSXBase.HTMLAttributes<HTMLMwcplFabElement>; "mwcpl-form-field": LocalJSX.MwcplFormField & JSXBase.HTMLAttributes<HTMLMwcplFormFieldElement>; "mwcpl-list": LocalJSX.MwcplList & JSXBase.HTMLAttributes<HTMLMwcplListElement>; "mwcpl-list-item": LocalJSX.MwcplListItem & JSXBase.HTMLAttributes<HTMLMwcplListItemElement>; "mwcpl-navbar": LocalJSX.MwcplNavbar & JSXBase.HTMLAttributes<HTMLMwcplNavbarElement>; "mwcpl-navbar-item": LocalJSX.MwcplNavbarItem & JSXBase.HTMLAttributes<HTMLMwcplNavbarItemElement>; "mwcpl-notification": LocalJSX.MwcplNotification & JSXBase.HTMLAttributes<HTMLMwcplNotificationElement>; "mwcpl-tree-view": LocalJSX.MwcplTreeView & JSXBase.HTMLAttributes<HTMLMwcplTreeViewElement>; "mwcpl-tree-view-item": LocalJSX.MwcplTreeViewItem & JSXBase.HTMLAttributes<HTMLMwcplTreeViewItemElement>; } } }