2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Menu is a navigation / command component that supports dynamic and static positioning.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/menu/)
|
|
|
|
*
|
|
|
|
* @module menustyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum MenuClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-menu',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the start element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
start = 'p-menu-start',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
list = 'p-menu-list',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the submenu item element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
submenuItem = 'p-menu-submenu-item',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the separator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
separator = 'p-menu-separator',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the end element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
end = 'p-menu-end',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
item = 'p-menu-item',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemContent = 'p-menu-item-content',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item link element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemLink = 'p-menu-item-link',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemIcon = 'p-menu-item-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item label element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
itemLabel = 'p-menu-item-label'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface MenuStyle extends BaseStyle {}
|