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
173 lines
5.7 KiB
JSON
173 lines
5.7 KiB
JSON
{
|
|
"props": {
|
|
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
|
|
"color": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "'inherit'<br>| 'primary'<br>| 'secondary'<br>| string"
|
|
},
|
|
"default": "'primary'"
|
|
},
|
|
"sx": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
|
|
},
|
|
"additionalInfo": { "sx": true }
|
|
},
|
|
"value": { "type": { "name": "number" } },
|
|
"valueBuffer": { "type": { "name": "number" } },
|
|
"variant": {
|
|
"type": {
|
|
"name": "enum",
|
|
"description": "'buffer'<br>| 'determinate'<br>| 'indeterminate'<br>| 'query'"
|
|
},
|
|
"default": "'indeterminate'"
|
|
}
|
|
},
|
|
"name": "LinearProgress",
|
|
"imports": [
|
|
"import LinearProgress from '@mui/material/LinearProgress';",
|
|
"import { LinearProgress } from '@mui/material';"
|
|
],
|
|
"classes": [
|
|
{
|
|
"key": "bar",
|
|
"className": "MuiLinearProgress-bar",
|
|
"description": "Styles applied to the layered bar1 and bar2 elements.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "bar1",
|
|
"className": "MuiLinearProgress-bar1",
|
|
"description": "Styles applied to the bar1 element.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "bar1Buffer",
|
|
"className": "MuiLinearProgress-bar1Buffer",
|
|
"description": "Styles applied to the bar1 element if `variant=\"buffer\"`.",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "bar1Determinate",
|
|
"className": "MuiLinearProgress-bar1Determinate",
|
|
"description": "Styles applied to the bar1 element if `variant=\"determinate\"`.",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "bar1Indeterminate",
|
|
"className": "MuiLinearProgress-bar1Indeterminate",
|
|
"description": "Styles applied to the bar1 element if `variant=\"indeterminate or query\"`.",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "bar2",
|
|
"className": "MuiLinearProgress-bar2",
|
|
"description": "Styles applied to the bar2 element.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "bar2Buffer",
|
|
"className": "MuiLinearProgress-bar2Buffer",
|
|
"description": "Styles applied to the bar2 element if `variant=\"buffer\"`.",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "bar2Indeterminate",
|
|
"className": "MuiLinearProgress-bar2Indeterminate",
|
|
"description": "Styles applied to the bar2 element if `variant=\"indeterminate or query\"`.",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "barColorPrimary",
|
|
"className": "MuiLinearProgress-barColorPrimary",
|
|
"description": "Styles applied to the bar elements if `color=\"primary\"`; bar2 if `variant` not \"buffer\".",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "barColorSecondary",
|
|
"className": "MuiLinearProgress-barColorSecondary",
|
|
"description": "Styles applied to the bar elements if `color=\"secondary\"`; bar2 if `variant` not \"buffer\".",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "buffer",
|
|
"className": "MuiLinearProgress-buffer",
|
|
"description": "Styles applied to the root element if `variant=\"buffer\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorPrimary",
|
|
"className": "MuiLinearProgress-colorPrimary",
|
|
"description": "Styles applied to the root and bar2 element if `color=\"primary\"`; bar2 if `variant=\"buffer\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorSecondary",
|
|
"className": "MuiLinearProgress-colorSecondary",
|
|
"description": "Styles applied to the root and bar2 elements if `color=\"secondary\"`; bar2 if `variant=\"buffer\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "dashed",
|
|
"className": "MuiLinearProgress-dashed",
|
|
"description": "Styles applied to the additional bar element if `variant=\"buffer\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "dashedColorPrimary",
|
|
"className": "MuiLinearProgress-dashedColorPrimary",
|
|
"description": "Styles applied to the additional bar element if `variant=\"buffer\"` and `color=\"primary\"`.",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "dashedColorSecondary",
|
|
"className": "MuiLinearProgress-dashedColorSecondary",
|
|
"description": "Styles applied to the additional bar element if `variant=\"buffer\"` and `color=\"secondary\"`.",
|
|
"isGlobal": false,
|
|
"isDeprecated": true
|
|
},
|
|
{
|
|
"key": "determinate",
|
|
"className": "MuiLinearProgress-determinate",
|
|
"description": "Styles applied to the root element if `variant=\"determinate\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "indeterminate",
|
|
"className": "MuiLinearProgress-indeterminate",
|
|
"description": "Styles applied to the root element if `variant=\"indeterminate\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "query",
|
|
"className": "MuiLinearProgress-query",
|
|
"description": "Styles applied to the root element if `variant=\"query\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "root",
|
|
"className": "MuiLinearProgress-root",
|
|
"description": "Styles applied to the root element.",
|
|
"isGlobal": false
|
|
}
|
|
],
|
|
"spread": true,
|
|
"themeDefaultProps": true,
|
|
"muiName": "MuiLinearProgress",
|
|
"forwardsRefTo": "HTMLSpanElement",
|
|
"filename": "/packages/mui-material/src/LinearProgress/LinearProgress.js",
|
|
"inheritance": null,
|
|
"demos": "<ul><li><a href=\"/material-ui/react-progress/\">Progress</a></li></ul>",
|
|
"cssComponent": false
|
|
}
|