55 lines
3.5 KiB
TypeScript
55 lines
3.5 KiB
TypeScript
export interface PaginationItemClasses {
|
|
/** Styles applied to the root element. */
|
|
root: string;
|
|
/** Styles applied to the root element if `type="page"`. */
|
|
page: string;
|
|
/** Styles applied to the root element if `size="small"`. */
|
|
sizeSmall: string;
|
|
/** Styles applied to the root element if `size="large"`. */
|
|
sizeLarge: string;
|
|
/** Styles applied to the root element if `variant="text"`. */
|
|
text: string;
|
|
/** Styles applied to the root element if `variant="text"` and `color="primary"`.
|
|
* @deprecated Combine the [.MuiPaginationItem-text](/material-ui/api/pagination-item/#pagination-item-classes-text) and [.MuiPaginationItem-colorPrimary](/material-ui/api/pagination-item/#pagination-item-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
*/
|
|
textPrimary: string;
|
|
/** Styles applied to the root element if `variant="text"` and `color="secondary"`.
|
|
* @deprecated Combine the [.MuiPaginationItem-text](/material-ui/api/pagination-item/#pagination-item-classes-text) and [.MuiPaginationItem-colorSecondary](/material-ui/api/pagination-item/#pagination-item-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
*/
|
|
textSecondary: string;
|
|
/** Styles applied to the root element if `variant="outlined"`. */
|
|
outlined: string;
|
|
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
* @deprecated Combine the [.MuiPaginationItem-outlined](/material-ui/api/pagination-item/#pagination-item-classes-outlined) and [.MuiPaginationItem-colorPrimary](/material-ui/api/pagination-item/#pagination-item-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
*/
|
|
outlinedPrimary: string;
|
|
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
|
|
* @deprecated Combine the [.MuiPaginationItem-outlined](/material-ui/api/pagination-item/#pagination-item-classes-outlined) and [.MuiPaginationItem-colorSecondary](/material-ui/api/pagination-item/#pagination-item-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
*/
|
|
outlinedSecondary: string;
|
|
/** Styles applied to the root element if `rounded="true"`. */
|
|
rounded: string;
|
|
/** Styles applied to the root element if `type="start-ellipsis"` or `type="end-ellipsis"`. */
|
|
ellipsis: string;
|
|
/** Styles applied to the root element if `type="first"` or type="last". */
|
|
firstLast: string;
|
|
/** Styles applied to the root element if `type="previous"` or type="next". */
|
|
previousNext: string;
|
|
/** State class applied to the root element if keyboard focused. */
|
|
focusVisible: string;
|
|
/** State class applied to the root element if `disabled={true}`. */
|
|
disabled: string;
|
|
/** State class applied to the root element if `selected={true}`. */
|
|
selected: string;
|
|
/** Styles applied to the icon to display. */
|
|
icon: string;
|
|
/** Styles applied to the root element if `color="primary"`. */
|
|
colorPrimary: string;
|
|
/** Styles applied to the root element if `color="secondary"`. */
|
|
colorSecondary: string;
|
|
}
|
|
export type PaginationItemClassKey = keyof PaginationItemClasses;
|
|
export declare function getPaginationItemUtilityClass(slot: string): string;
|
|
declare const paginationItemClasses: PaginationItemClasses;
|
|
export default paginationItemClasses;
|