2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Fieldset is a grouping component with the optional content toggle feature.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/fieldset/)
|
|
|
|
*
|
|
|
|
* @module fieldsetstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum FieldsetClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-fieldset',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the legend element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
legend = 'p-fieldset-legend',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the legend label element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
legendLabel = 'p-fieldset-legend-label',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the toggle icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
toggleIcon = 'p-fieldset-toggle-icon',
|
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-fieldset-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-fieldset-content'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface FieldsetStyle extends BaseStyle {}
|