UNPKG

3.72 kBTypeScriptView Raw
1export interface PaginationItemClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `type="page"`. */
5 page: string;
6 /** Styles applied to the root element if `size="small"`. */
7 sizeSmall: string;
8 /** Styles applied to the root element if `size="large"`. */
9 sizeLarge: string;
10 /** Styles applied to the root element if `variant="text"`. */
11 text: string;
12 /** Styles applied to the root element if `variant="text"` and `color="primary"`.
13 * @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. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
14 */
15 textPrimary: string;
16 /** Styles applied to the root element if `variant="text"` and `color="secondary"`.
17 * @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. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
18 */
19 textSecondary: string;
20 /** Styles applied to the root element if `variant="outlined"`. */
21 outlined: string;
22 /** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
23 * @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. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
24 */
25 outlinedPrimary: string;
26 /** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
27 * @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. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
28 */
29 outlinedSecondary: string;
30 /** Styles applied to the root element if `rounded="true"`. */
31 rounded: string;
32 /** Styles applied to the root element if `type="start-ellipsis"` or `type="end-ellipsis"`. */
33 ellipsis: string;
34 /** Styles applied to the root element if `type="first"` or type="last". */
35 firstLast: string;
36 /** Styles applied to the root element if `type="previous"` or type="next". */
37 previousNext: string;
38 /** State class applied to the root element if keyboard focused. */
39 focusVisible: string;
40 /** State class applied to the root element if `disabled={true}`. */
41 disabled: string;
42 /** State class applied to the root element if `selected={true}`. */
43 selected: string;
44 /** Styles applied to the icon to display. */
45 icon: string;
46 /** Styles applied to the root element if `color="primary"`. */
47 colorPrimary: string;
48 /** Styles applied to the root element if `color="secondary"`. */
49 colorSecondary: string;
50}
51export type PaginationItemClassKey = keyof PaginationItemClasses;
52export declare function getPaginationItemUtilityClass(slot: string): string;
53declare const paginationItemClasses: PaginationItemClasses;
54export default paginationItemClasses;