Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
123 lines
5.3 KiB
JSON
123 lines
5.3 KiB
JSON
{
|
|
"componentDescription": "",
|
|
"propDescriptions": {
|
|
"classes": { "description": "Override or extend the styles applied to the component." },
|
|
"component": {
|
|
"description": "The component used for the root node. Either a string to use a HTML element or a component."
|
|
},
|
|
"defaultValue": {
|
|
"description": "The default value. Use when the component is not controlled."
|
|
},
|
|
"disabled": { "description": "If <code>true</code>, the component is disabled." },
|
|
"emptyIcon": { "description": "The icon to display when empty." },
|
|
"emptyLabelText": { "description": "The label read when the rating input is empty." },
|
|
"getLabelText": {
|
|
"description": "Accepts a function which returns a string value that provides a user-friendly name for the current value of the rating. This is important for screen reader users.<br>For localization purposes, you can use the provided <a href=\"https://mui.com/material-ui/guides/localization/\">translations</a>.",
|
|
"typeDescriptions": {
|
|
"value": { "name": "value", "description": "The rating label's value to format." }
|
|
}
|
|
},
|
|
"highlightSelectedOnly": {
|
|
"description": "If <code>true</code>, only the selected icon will be highlighted."
|
|
},
|
|
"icon": { "description": "The icon to display." },
|
|
"IconContainerComponent": { "description": "The component containing the icon." },
|
|
"max": { "description": "Maximum rating." },
|
|
"name": {
|
|
"description": "The name attribute of the radio <code>input</code> elements. This input <code>name</code> should be unique within the page. Being unique within a form is insufficient since the <code>name</code> is used to generate IDs."
|
|
},
|
|
"onChange": {
|
|
"description": "Callback fired when the value changes.",
|
|
"typeDescriptions": {
|
|
"event": { "name": "event", "description": "The event source of the callback." },
|
|
"value": { "name": "value", "description": "The new value." }
|
|
}
|
|
},
|
|
"onChangeActive": {
|
|
"description": "Callback function that is fired when the hover state changes.",
|
|
"typeDescriptions": {
|
|
"event": { "name": "event", "description": "The event source of the callback." },
|
|
"value": { "name": "value", "description": "The new value." }
|
|
}
|
|
},
|
|
"precision": { "description": "The minimum increment value change allowed." },
|
|
"readOnly": { "description": "Removes all hover effects and pointer events." },
|
|
"size": { "description": "The size of the component." },
|
|
"slotProps": { "description": "The props used for each slot inside." },
|
|
"slots": { "description": "The components used for each slot inside." },
|
|
"sx": {
|
|
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
|
|
},
|
|
"value": { "description": "The rating value." }
|
|
},
|
|
"classDescriptions": {
|
|
"disabled": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>disabled={true}</code>"
|
|
},
|
|
"focusVisible": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "keyboard focused"
|
|
},
|
|
"iconActive": {
|
|
"description": "Styles applied to {{nodeName}} when {{conditions}}.",
|
|
"nodeName": "the icon wrapping elements",
|
|
"conditions": "active"
|
|
},
|
|
"iconEmpty": {
|
|
"description": "Styles applied to {{nodeName}} when {{conditions}}.",
|
|
"nodeName": "the icon wrapping elements",
|
|
"conditions": "empty"
|
|
},
|
|
"iconFilled": {
|
|
"description": "Styles applied to {{nodeName}} when {{conditions}}.",
|
|
"nodeName": "the icon wrapping elements",
|
|
"conditions": "filled"
|
|
},
|
|
"iconFocus": {
|
|
"description": "Styles applied to {{nodeName}} when {{conditions}}.",
|
|
"nodeName": "the icon wrapping elements",
|
|
"conditions": "focus"
|
|
},
|
|
"iconHover": {
|
|
"description": "Styles applied to {{nodeName}} when {{conditions}}.",
|
|
"nodeName": "the icon wrapping elements",
|
|
"conditions": "hover"
|
|
},
|
|
"labelEmptyValueActive": {
|
|
"description": "Styles applied to {{nodeName}} when {{conditions}}.",
|
|
"nodeName": "the label of the "no value" input",
|
|
"conditions": "it is active"
|
|
},
|
|
"readOnly": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>readOnly={true}</code>"
|
|
},
|
|
"sizeLarge": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>size=\"large\"</code>"
|
|
},
|
|
"sizeMedium": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>size=\"medium\"</code>"
|
|
},
|
|
"sizeSmall": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>size=\"small\"</code>"
|
|
},
|
|
"visuallyHidden": { "description": "Visually hide an element." }
|
|
},
|
|
"slotDescriptions": {
|
|
"decimal": "The component used for the decimal slot.",
|
|
"icon": "The component used for the icon slot.",
|
|
"label": "The component used for the label slot.",
|
|
"root": "The component used for the root slot."
|
|
}
|
|
}
|