vira
Version:
A simple and highly versatile design system using element-vir.
36 lines (35 loc) • 1.21 kB
TypeScript
import { type PartialWithUndefined } from '@augment-vir/common';
/**
* Possible corner styles for {@link ViraPopUpMenu}.
*
* @category Internal
*/
export declare enum PopUpMenuCornerStyle {
/** Rounding of corners depends on the open direction of the menu. */
Directional = "directional",
/** All of the menus corners should be rounded. */
AllRounded = "all-rounded",
/** None of the menus corners should be rounded. */
AllSquare = "all-square"
}
/**
* Menu pop-up directions available for {@link ViraPopUpMenu}.
*
* @category Internal
*/
export declare enum PopUpMenuDirection {
Downwards = "downwards",
Upwards = "upwards"
}
/**
* A simple default style wrapper for pop-up menus.
*
* @category PopUp
* @category Elements
*/
export declare const ViraPopUpMenu: import("element-vir").DeclarativeElementDefinition<"vira-pop-up-menu", PartialWithUndefined<{
/** @default PopUpMenuDirection.Downwards */
direction: PopUpMenuDirection;
/** @default PopUpMenuCornerStyle.Directional */
cornerStyle: PopUpMenuCornerStyle;
}>, {}, {}, "vira-pop-up-menu-open-upwards" | "vira-pop-up-menu-rounded" | "vira-pop-up-menu-square", "vira-pop-up-menu-", readonly []>;