2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* MegaMenu is navigation component that displays submenus together.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/megamenu/)
|
|
|
|
*
|
|
|
|
* @module megamenustyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum MegaMenuClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-megamenu',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the start element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
start = 'p-megamenu-start',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
button = 'p-megamenu-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root list element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
rootList = 'p-megamenu-root-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-megamenu-submenu-item',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the item element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
item = 'p-megamenu-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-megamenu-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-megamenu-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-megamenu-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-megamenu-item-label',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the submenu icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
submenuIcon = 'p-megamenu-submenu-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the panel element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
panel = 'p-megamenu-panel',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the grid element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
grid = 'p-megamenu-grid',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the submenu element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
submenu = 'p-megamenu-submenu',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the submenu item label element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
submenuItemLabel = 'p-megamenu-submenu-item-label',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the separator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
separator = 'p-megamenu-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-megamenu-end'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface MegaMenuStyle extends BaseStyle {}
|