@sixbell-telco/sdk
Version:
A collection of reusable components designed for use in Sixbell Telco Angular projects
65 lines (64 loc) • 2.15 kB
TypeScript
import { TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Animation states for the menu bar content
*/
type AnimationState = 'closed' | 'opening' | 'open' | 'closing';
/**
* DropdownMenuBarContent - Container for menu bar dropdown content
*/
export declare class DropdownMenuBarContentComponent {
private readonly menuStack;
template: TemplateRef<unknown>;
private readonly isOpen;
private readonly isAnimatingOpen;
/**
* Custom CSS classes
*/
class: import("@angular/core").InputSignal<string>;
/**
* Size variant
*/
size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | "lg" | "xl">;
/** Whether to apply shadow */
shadow: import("@angular/core").InputSignal<boolean>;
/**
* Emitted when the menu is opened
*/
opened: import("@angular/core").OutputEmitterRef<void>;
/**
* Emitted when the menu is closed
*/
closed: import("@angular/core").OutputEmitterRef<void>;
/**
* Computed data state for ARIA and animations
*/
dataState: import("@angular/core").Signal<AnimationState>;
/**
* Handle ESC key press
*/
onEscapeKey(event: KeyboardEvent): void;
/**
* Handle menu opened event
*/
onMenuOpened(): void;
/**
* Handle menu closed event
*/
onMenuClosed(): void;
/**
* Handle animation end
*/
onAnimationEnd(event: AnimationEvent): void;
/**
* Close this menu and all child menus
*/
closeMenu(): void;
/**
* Computed CSS classes for the menu
*/
menuClass: () => string;
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuBarContentComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuBarContentComponent, "st-dropdown-menu-bar-content", ["menuBarContent"], { "class": { "alias": "class"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["*"], true, never>;
}
export {};