design-angular-kit
Version:
Un toolkit Angular conforme alle linee guida di design per i servizi web della PA
51 lines (50 loc) • 1.94 kB
TypeScript
import { CalloutAppearance, CalloutColor } from '../../../interfaces/core';
import { IconName } from '../../../interfaces/icon';
import * as i0 from "@angular/core";
/**
* Callout
* @description Callouts can be used to highlight certain parts of the text that require particular attention. They may contain error messages, warnings, hints, etc.
*/
export declare class ItCalloutComponent {
/**
* Callout label
* @default undefined
*/
label: string | undefined;
/**
* Callout hiddenLabel
* @default undefined
*/
hiddenLabel: string | undefined;
/**
* Callout color
* - <b>success</b>
* - <b>danger</b>
* - <b>warning</b>
* - <b>important</b>
* - <b>note</b>
* @default undefined
*/
color: CalloutColor | undefined;
/**
* Callout appearance
* - <b>default</b>
* - <b>highlight</b>: Callout version with border only on the left side
* - <b>more</b>: It looks radically different from the other styles available and is suitable for more extensive texts
* @default default
*/
appearance: CalloutAppearance;
/**
* Custom icon
* @default undefined
*/
icon: IconName | undefined;
/**
* The input label even get labelWaria icon
* @default undefined
*/
labelWaria: string | undefined;
protected get iconName(): IconName;
static ɵfac: i0.ɵɵFactoryDeclaration<ItCalloutComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ItCalloutComponent, "it-callout", never, { "label": { "alias": "label"; "required": false; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; }; "color": { "alias": "color"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; }, {}, never, ["[bigText]", "*"], true, never>;
}