@akveo/nga-theme
Version:
@akveo/nga-theme
50 lines (49 loc) • 1.42 kB
TypeScript
/**
* Action item, display a link with an icon, or any other content provided instead.
*/
export declare class NgaActionComponent {
disabledValue: boolean;
/**
* Icon class to display
* @type string
*/
icon: string;
/**
* Disables the item (changes item opacity and mouse cursor)
* @type boolean
*/
disabled: boolean;
}
/**
* Shows a a horizontal list of actions, available in multiple sizes
* Aligns items vertically.
*
* @theme
* $nga-actions-size-small: 1.5rem !default;
* $nga-actions-size-medium: 2.5rem !default;
* $nga-actions-size-large: 4rem !default;
* $nga-actions-color: $nga-color-inverse !default;
* $nga-actions-background: transparent !default;
* $nga-actions-color-inverse: $nga-color-default !default;
* $nga-actions-background-inverse: $nga-background-inverse !default;
*/
export declare class NgaActionsComponent {
static readonly SIZE_SMALL: string;
static readonly SIZE_MEDIUM: string;
static readonly SIZE_LARGE: string;
private sizeValue;
inverseValue: boolean;
readonly small: boolean;
readonly medium: boolean;
readonly large: boolean;
/**
* Size of the component, small|medium|large
* @type string
*/
size: string;
/**
* Makes colors inverse based on current theme
* @type boolean
*/
inverse: boolean;
}