import { IEventDetail, IEventEmitter } from '@breadstone/mosaik-elements'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IMenuElementProps } from './IMenuElementProps'; declare const MenuElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Insetable").IInsetableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Menu - A vertical list container for presenting navigation options and actionable commands. * * Provides structured menu layouts with support for menu items, dividers, and hierarchical organization. * Handles selection states, keyboard navigation, and accessibility features. Essential for context menus, * navigation menus, and dropdown command lists. * * @name MenuElement * @element mosaik-menu * @category Selectors * * @slot - The default slot. * * @csspart root - The root part. * * @cssprop {Color} --menu-background-color - Background color of the menu container * @cssprop {Color} --menu-border-color - Border color around the menu * @cssprop {String} --menu-border-radius - Border radius for menu corners * @cssprop {String} --menu-border-style - The border style CSS custom property. * @cssprop {String} --menu-border-width - The border width CSS custom property. * @cssprop {String} --menu-font-family - The font family CSS custom property. * @cssprop {String} --menu-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --menu-font-line-height - The font line height CSS custom property. * @cssprop {String} --menu-font-size - The font size CSS custom property. * @cssprop {String} --menu-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --menu-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --menu-font-weight - The font weight CSS custom property. * @cssprop {String} --menu-foreground-color - The foreground color CSS custom property. * @cssprop {String} --menu-gap - The gap CSS custom property. * @cssprop {String} --menu-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --menu-padding-left - The padding left CSS custom property. * @cssprop {String} --menu-padding-right - The padding right CSS custom property. * @cssprop {String} --menu-padding-top - The padding top CSS custom property. * @cssprop {String} --menu-shadow - The shadow CSS custom property. * @cssprop {String} --menu-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --menu-shadow-color - The shadow color CSS custom property. * @cssprop {String} --menu-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --menu-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --menu-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --menu-transition-duration - The transition duration CSS custom property. * @cssprop {String} --menu-transition-mode - The transition mode CSS custom property. * @cssprop {String} --menu-transition-property - The transition property CSS custom property. * @cssprop {String} --menu-translate - The translate CSS custom property. * * @fires activated {ActivatedEvent} - Emitted when a menu item is activated or selected * * @example * ```html * * * Cut * Copy * Paste * * Delete * * * * * * * Home * * * * Profile * * * * Settings * * * * * * File * * Edit * * Undo * Redo * * * View * * ``` * * @public */ export declare class MenuElement extends MenuElement_base implements IMenuElementProps { private readonly _provider; private readonly _activated; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Called when a menu item is activated. * Provides reference to `IEventDetail` as event detail. * * @public * @readonly * @eventProperty */ get activated(): IEventEmitter; /** * @protected * @template */ onSlotChange(x: Event): void; } /** * @public */ export declare namespace MenuElement { type Props = IMenuElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-menu': MenuElement; } } export {}; //# sourceMappingURL=MenuElement.d.ts.map