UNPKG

aura-glass

Version:

A comprehensive glassmorphism design system for React applications with 142+ production-ready components

14 lines 651 B
export interface TabItem { id?: string; label: string; disabled?: boolean; width?: number; } export declare const calculateVisibleTabs: (tabs: TabItem[], containerWidth: number, tabWidth?: number) => { visibleTabs: TabItem[]; hiddenTabs: TabItem[]; }; export declare const calculateTotalBadgeCount: (tabs: TabItem[]) => number; export declare const getNextEnabledTabIndex: (tabs: TabItem[], currentIndex: number, direction?: "next" | "prev") => number; export declare const scrollTabIntoView: (tabElement: HTMLElement, containerElement: HTMLElement, behavior?: "smooth" | "auto") => void; //# sourceMappingURL=tabUtils.d.ts.map