2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Panel is a container with the optional content toggle feature.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/panel/)
|
|
|
|
*
|
|
|
|
* @module panelstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum PanelClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-panel',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-panel-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the title element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
title = 'p-panel-title',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header actions element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
headerActions = 'p-panel-header-actions',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the toggle button element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcToggleButton = 'p-panel-toggle-button',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content container element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
contentContainer = 'p-panel-content-container',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
content = 'p-panel-content',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the footer element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
footer = 'p-panel-footer'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface PanelStyle extends BaseStyle {}
|