2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Card is a flexible container component.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/card/)
|
|
|
|
*
|
|
|
|
* @module cardstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum CardClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-card',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the header element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
header = 'p-card-header',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the body element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
body = 'p-card-body',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the caption element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
caption = 'p-card-caption',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the title element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
title = 'p-card-title',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the subtitle element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
subtitle = 'p-card-subtitle',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
content = 'p-card-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-card-footer'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface CardStyle extends BaseStyle {}
|