62 lines
2.7 KiB
TypeScript
62 lines
2.7 KiB
TypeScript
export interface ButtonClasses {
|
|
/** Styles applied to the root element. */
|
|
root: string;
|
|
/** Styles applied to the root element if `variant="text"`. */
|
|
text: string;
|
|
/** Styles applied to the root element if `variant="outlined"`. */
|
|
outlined: string;
|
|
/** Styles applied to the root element if `variant="contained"`. */
|
|
contained: string;
|
|
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
disableElevation: string;
|
|
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
focusVisible: string;
|
|
/** State class applied to the root element if `disabled={true}`. */
|
|
disabled: string;
|
|
/** Styles applied to the root element if `color="inherit"`. */
|
|
colorInherit: string;
|
|
/** Styles applied to the root element if `size="small"`. */
|
|
sizeSmall: string;
|
|
/** Styles applied to the root element if `size="medium"`. */
|
|
sizeMedium: string;
|
|
/** Styles applied to the root element if `size="large"`. */
|
|
sizeLarge: string;
|
|
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
fullWidth: string;
|
|
/** Styles applied to the icon element if supplied */
|
|
icon: string;
|
|
/** Styles applied to the startIcon element if supplied. */
|
|
startIcon: string;
|
|
/** Styles applied to the endIcon element if supplied. */
|
|
endIcon: string;
|
|
/** Styles applied to the root element if `color="primary"`. */
|
|
colorPrimary: string;
|
|
/** Styles applied to the root element if `color="secondary"`. */
|
|
colorSecondary: string;
|
|
/** Styles applied to the root element if `color="success"`. */
|
|
colorSuccess: string;
|
|
/** Styles applied to the root element if `color="error"`. */
|
|
colorError: string;
|
|
/** Styles applied to the root element if `color="info"`. */
|
|
colorInfo: string;
|
|
/** Styles applied to the root element if `color="warning"`. */
|
|
colorWarning: string;
|
|
/** Styles applied to the root element if `loading={true}`. */
|
|
loading: string;
|
|
/** Styles applied to the loadingWrapper element. */
|
|
loadingWrapper: string;
|
|
/** Styles applied to the loadingIconPlaceholder element. */
|
|
loadingIconPlaceholder: string;
|
|
/** Styles applied to the loadingIndicator element. */
|
|
loadingIndicator: string;
|
|
/** Styles applied to the root element if `loadingPosition="center"`. */
|
|
loadingPositionCenter: string;
|
|
/** Styles applied to the root element if `loadingPosition="start"`. */
|
|
loadingPositionStart: string;
|
|
/** Styles applied to the root element if `loadingPosition="end"`. */
|
|
loadingPositionEnd: string;
|
|
}
|
|
export type ButtonClassKey = keyof ButtonClasses;
|
|
export declare function getButtonUtilityClass(slot: string): string;
|
|
declare const buttonClasses: ButtonClasses;
|
|
export default buttonClasses; |