@trimble-oss/moduswebcomponents
Version:
Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust
24 lines (22 loc) • 948 B
TypeScript
import { DaisySize } from '../types';
/**
* A customizable icon component used to render Modus icons.
*
* <b>This component requires Modus icons to be installed in the host application. See [Modus Icon Usage](/docs/documentation-modus-icon-usage--docs) for steps.</b>
*/
export declare class ModusWcIcon {
private inheritedAttributes;
/** Reference to the host element */
el: HTMLElement;
/** Custom CSS class to apply to the i element. */
customClass?: string;
/** Indicates that the icon is decorative. When true, sets aria-hidden to hide the icon from screen readers. */
decorative?: boolean;
/** The icon name, should match the CSS class in the icon font. */
name: string;
/** The icon size, can be "sm", "md", "lg" (a custom size can be specified in CSS). This adjusts the font size for the icon. */
size?: DaisySize;
componentWillLoad(): void;
private getClasses;
render(): any;
}