Update MegaMenu Application Customizer: Version bump to 1.1.0, localization support added, and unnecessary files removed
- Deleted obsolete localization file for English (en-us). - Updated version number from 1.0.4 to 1.1.0 in manifests.js and manifests.json. - Added localization support for German (de-de) in a new localization file. - Removed unnecessary dependencies from manifests. - Added .gitignore to exclude build artifacts and temporary files.
This commit is contained in:
28
lib/extensions/megaMenu/MegaMenuRenderer.d.ts
vendored
28
lib/extensions/megaMenu/MegaMenuRenderer.d.ts
vendored
@@ -1,17 +1,18 @@
|
||||
import { ApplicationCustomizerContext } from '@microsoft/sp-application-base';
|
||||
import { IMenuItem } from '../../services/IMenuItem';
|
||||
import { IMegaMenuApplicationCustomizerProperties } from './MegaMenuApplicationCustomizer';
|
||||
export declare class MegaMenuRenderer {
|
||||
private context;
|
||||
private menuItems;
|
||||
private updateCallback;
|
||||
private _settingsPanel?;
|
||||
constructor(context: ApplicationCustomizerContext, menuItems: IMenuItem[], updateCallback: (data: IMegaMenuApplicationCustomizerProperties) => void);
|
||||
private debug;
|
||||
private static readonly hoverOpenDelayMs;
|
||||
private static readonly hoverCloseDelayMs;
|
||||
private _container;
|
||||
private _documentKeydownHandler;
|
||||
private _documentClickHandler;
|
||||
private _announcer;
|
||||
constructor(menuItems: IMenuItem[], debug?: boolean);
|
||||
render(container: HTMLElement): void;
|
||||
private createSettingsItem();
|
||||
private openSettings();
|
||||
dispose(): void;
|
||||
private createTopLevelItem(item);
|
||||
private createTopLevelElement(item);
|
||||
private createTopLevelElement(item, hasChildren, isActive, isCurrent);
|
||||
private createMegaMenu(parentItem);
|
||||
private createCategorySection(item);
|
||||
private attachEventListeners();
|
||||
@@ -19,10 +20,17 @@ export declare class MegaMenuRenderer {
|
||||
private attachMouseEvents(heading, megaMenu);
|
||||
private attachFocusManagement(heading, megaMenu);
|
||||
private attachGlobalKeyboardNavigation();
|
||||
private attachGlobalClickOutsideHandler();
|
||||
private openMegaMenu(trigger, menu);
|
||||
private closeMegaMenu(trigger, menu);
|
||||
private toggleMegaMenu(trigger, menu);
|
||||
private closeAllMegaMenus();
|
||||
private closeAllMegaMenus(exceptMenu?);
|
||||
private focusFirstLink(megaMenu);
|
||||
private isItemActive(item);
|
||||
private isCurrentUrl(url?);
|
||||
private normalizePath(url?);
|
||||
private getColumnCount(items?);
|
||||
private joinClasses(...classNames);
|
||||
private createScreenReaderAnnouncer();
|
||||
private announce(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user