UNPKG

@koalarx/ui

Version:

Koala UI is a modern and accessible component library designed to speed up interface development in Angular projects. With simple integration and clear documentation, you can easily build robust and visually appealing applications.

20 lines (17 loc) 1.05 kB
import * as _angular_core from '@angular/core'; import { InputFieldBase } from '@koalarx/ui/shared/components/input-field'; type SwitcherColor = 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'ghost'; type SwitcherSize = 'extraSmall' | 'small' | 'medium' | 'large' | 'extraLarge'; declare class Switcher extends InputFieldBase { private readonly switcherElement; color: _angular_core.InputSignal<SwitcherColor | undefined>; size: _angular_core.InputSignal<SwitcherSize | undefined>; private getColorClass; private getSizeClass; constructor(); toggle(event: Event): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration<Switcher, never>; static ɵcmp: _angular_core.ɵɵComponentDeclaration<Switcher, "kl-switcher", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; } export { Switcher }; export type { SwitcherColor, SwitcherSize };