149 lines
12 KiB
Plaintext
149 lines
12 KiB
Plaintext
export interface ChipClasses {
|
|
/** Styles applied to the root element. */
|
|
root: 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 `color="error"`. */
|
|
colorError: string;
|
|
/** Styles applied to the root element if `color="info"`. */
|
|
colorInfo: 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="warning"`. */
|
|
colorWarning: string;
|
|
/** State class applied to the root element if `disabled={true}`. */
|
|
disabled: string;
|
|
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
clickable: string;
|
|
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`.
|
|
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
clickableColorPrimary: string;
|
|
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`.
|
|
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
clickableColorSecondary: string;
|
|
/** Styles applied to the root element if `onDelete` is defined. */
|
|
deletable: string;
|
|
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined.
|
|
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deletableColorPrimary: string;
|
|
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined.
|
|
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deletableColorSecondary: string;
|
|
/** Styles applied to the root element if `variant="outlined"`. */
|
|
outlined: string;
|
|
/** Styles applied to the root element if `variant="filled"`. */
|
|
filled: string;
|
|
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-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 [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
outlinedSecondary: string;
|
|
/** Styles applied to the root element if `variant="filled"` and `color="primary"`.
|
|
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
filledPrimary: string;
|
|
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`.
|
|
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
filledSecondary: string;
|
|
/** Styles applied to the avatar element. */
|
|
avatar: string;
|
|
/** Styles applied to the avatar element if `size="small"`.
|
|
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
avatarSmall: string;
|
|
/** Styles applied to the avatar element if `size="medium"`.
|
|
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
avatarMedium: string;
|
|
/** Styles applied to the avatar element if `color="primary"`.
|
|
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
avatarColorPrimary: string;
|
|
/** Styles applied to the avatar element if `color="secondary"`.
|
|
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
avatarColorSecondary: string;
|
|
/** Styles applied to the icon element. */
|
|
icon: string;
|
|
/** Styles applied to the icon element if `size="small"`.
|
|
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
iconSmall: string;
|
|
/** Styles applied to the icon element if `size="medium"`.
|
|
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
iconMedium: string;
|
|
/** Styles applied to the icon element if `color="primary"`.
|
|
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
iconColorPrimary: string;
|
|
/** Styles applied to the icon element if `color="secondary"`.
|
|
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
iconColorSecondary: string;
|
|
/** Styles applied to the label `span` element. */
|
|
label: string;
|
|
/** Styles applied to the label `span` element if `size="small"`.
|
|
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#chip-classes-label) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
labelSmall: string;
|
|
/** Styles applied to the label `span` element if `size="medium"`.
|
|
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#chip-classes-label) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
labelMedium: string;
|
|
/** Styles applied to the deleteIcon element. */
|
|
deleteIcon: string;
|
|
/** Styles applied to the deleteIcon element if `size="small"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconSmall: string;
|
|
/** Styles applied to the deleteIcon element if `size="medium"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconMedium: string;
|
|
/** Styles applied to the deleteIcon element if `color="primary"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconColorPrimary: string;
|
|
/** Styles applied to the deleteIcon element if `color="secondary"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconColorSecondary: string;
|
|
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconOutlinedColorPrimary: string;
|
|
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconOutlinedColorSecondary: string;
|
|
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconFilledColorPrimary: string;
|
|
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`.
|
|
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
*/
|
|
deleteIconFilledColorSecondary: string;
|
|
/** State class applied to the root element if keyboard focused. */
|
|
focusVisible: string;
|
|
}
|
|
export type ChipClassKey = keyof ChipClasses;
|
|
export declare function getChipUtilityClass(slot: string): string;
|
|
declare const chipClasses: ChipClasses;
|
|
export default chipClasses;
|