@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
25 lines (24 loc) • 874 B
TypeScript
import { FocusTrap } from './focusTrapComponent';
import { LogLevel } from './logger';
export interface CalciteConfig {
/**
* Defines the global trap stack to use for focus-trapping components.
*
* This is useful if your application uses its own instance of `focus-trap` and both need to be aware of each other.
*
* @see [focus-trap createOptions](https://github.com/focus-trap/focus-trap#createoptions).
*/
focusTrapStack: FocusTrap[];
/** Defines the global log level to use when logging messages. */
logLevel: LogLevel;
/**
* Contains the version of the Calcite components.
*
* @readonly
*/
version?: string;
}
export declare const focusTrapStack: FocusTrap[];
export declare const logLevel: LogLevel;
/** Stamp the version onto the global config. */
export declare function stampVersion(): void;