@jupyter-notebook/web-components
Version:
A component library for building extensions in Jupyter frontends.
37 lines (36 loc) • 1.91 kB
TypeScript
import { TextField as FoundationTextField } from '@microsoft/fast-foundation';
import { TextField } from '@microsoft/fast-components';
import { textFieldStyles as styles } from './text-field.styles';
/**
* A function that returns a TextField registration for configuring the component with a DesignSystem.
*
*
* @public
* @remarks
* Generates HTML Element: `<jp-text-field>`
*
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
*/
export declare const jpTextField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
baseClass: typeof FoundationTextField;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationTextField, any>, import("@microsoft/fast-foundation").TextFieldOptions>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").TextFieldOptions>;
shadowOptions: {
delegatesFocus: true;
};
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
baseClass: typeof FoundationTextField;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<FoundationTextField, any>, import("@microsoft/fast-foundation").TextFieldOptions>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").TextFieldOptions>;
shadowOptions: {
delegatesFocus: true;
};
}, typeof TextField>;
export { TextField, TextFieldAppearance } from '@microsoft/fast-components';
/**
* Styles for TextField
* @public
*/
export { styles as textFieldStyles };