@claromentis/design-system
Version:
Claromentis Design System Component Library
38 lines (37 loc) • 865 B
TypeScript
import { InsigniaFillType, InsigniaShapeType } from '../../interfaces';
/**
* @slot - Holds the cla-insignia-image
*/
export declare class Insignia {
/**
* The host element.
*/
element: HTMLElement;
/**
* The insignia colour.
*/
colour: string;
/**
* The insignia width.
*/
width: string;
/**
* The insignia shape: 'hexagon', '' or ''.
* Default: 'hexagon'
*/
shape: InsigniaShapeType;
/**
* The insignia fill option: 'fill', 'outline' or 'empty'.
* Default: 'hexagon'
*/
type: InsigniaFillType;
svgObject: (shape: string, type: string, insigniaSvg: object) => any;
svgHtml: string;
changeSvgColour: () => void;
addNonShadowDomClass: (el: HTMLElement) => void;
componentWillLoad(): void;
componentWillUpdate(): void;
componentDidLoad(): void;
componentDidUpdate(): void;
render(): any;
}