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
193 lines
6.2 KiB
JSON
193 lines
6.2 KiB
JSON
{
|
|
"props": {
|
|
"children": { "type": { "name": "node" } },
|
|
"color": {
|
|
"type": {
|
|
"name": "enum",
|
|
"description": "'danger'<br>| 'neutral'<br>| 'primary'<br>| 'success'<br>| 'warning'"
|
|
},
|
|
"additionalInfo": { "joy-color": true }
|
|
},
|
|
"component": { "type": { "name": "elementType" } },
|
|
"level": {
|
|
"type": {
|
|
"name": "enum",
|
|
"description": "'body-lg'<br>| 'body-md'<br>| 'body-sm'<br>| 'body-xs'<br>| 'h1'<br>| 'h2'<br>| 'h3'<br>| 'h4'<br>| 'inherit'<br>| 'title-lg'<br>| 'title-md'<br>| 'title-sm'"
|
|
},
|
|
"default": "{ sm: 'title-md', md: 'title-lg', lg: 'h4' }"
|
|
},
|
|
"slotProps": {
|
|
"type": { "name": "shape", "description": "{ root?: func<br>| object }" },
|
|
"default": "{}"
|
|
},
|
|
"slots": {
|
|
"type": { "name": "shape", "description": "{ root?: elementType }" },
|
|
"default": "{}",
|
|
"additionalInfo": { "slotsApi": true }
|
|
},
|
|
"sx": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
|
|
},
|
|
"additionalInfo": { "sx": true }
|
|
},
|
|
"variant": {
|
|
"type": {
|
|
"name": "enum",
|
|
"description": "'outlined'<br>| 'plain'<br>| 'soft'<br>| 'solid'"
|
|
},
|
|
"additionalInfo": { "joy-variant": true }
|
|
}
|
|
},
|
|
"name": "DialogTitle",
|
|
"imports": [
|
|
"import DialogTitle from '@mui/joy/DialogTitle';",
|
|
"import { DialogTitle } from '@mui/joy';"
|
|
],
|
|
"slots": [
|
|
{
|
|
"name": "root",
|
|
"description": "The component that renders the root.",
|
|
"default": "'div'",
|
|
"class": "MuiDialogTitle-root"
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"key": "body-lg",
|
|
"className": "MuiDialogTitle-body-lg",
|
|
"description": "Class name applied to the root element if `level=\"body-lg\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "body-md",
|
|
"className": "MuiDialogTitle-body-md",
|
|
"description": "Class name applied to the root element if `level=\"body-md\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "body-sm",
|
|
"className": "MuiDialogTitle-body-sm",
|
|
"description": "Class name applied to the root element if `level=\"body-sm\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "body-xs",
|
|
"className": "MuiDialogTitle-body-xs",
|
|
"description": "Class name applied to the root element if `level=\"body-xs\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorContext",
|
|
"className": "MuiDialogTitle-colorContext",
|
|
"description": "Class name applied to the root element when color inversion is triggered.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorDanger",
|
|
"className": "MuiDialogTitle-colorDanger",
|
|
"description": "Class name applied to the root element if `color=\"danger\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorNeutral",
|
|
"className": "MuiDialogTitle-colorNeutral",
|
|
"description": "Class name applied to the root element if `color=\"neutral\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorPrimary",
|
|
"className": "MuiDialogTitle-colorPrimary",
|
|
"description": "Class name applied to the root element if `color=\"primary\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorSuccess",
|
|
"className": "MuiDialogTitle-colorSuccess",
|
|
"description": "Class name applied to the root element if `color=\"success\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "colorWarning",
|
|
"className": "MuiDialogTitle-colorWarning",
|
|
"description": "Class name applied to the root element if `color=\"warning\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "h1",
|
|
"className": "MuiDialogTitle-h1",
|
|
"description": "Class name applied to the root element if `level=\"h1\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "h2",
|
|
"className": "MuiDialogTitle-h2",
|
|
"description": "Class name applied to the root element if `level=\"h2\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "h3",
|
|
"className": "MuiDialogTitle-h3",
|
|
"description": "Class name applied to the root element if `level=\"h3\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "h4",
|
|
"className": "MuiDialogTitle-h4",
|
|
"description": "Class name applied to the root element if `level=\"h4\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "title-lg",
|
|
"className": "MuiDialogTitle-title-lg",
|
|
"description": "Class name applied to the root element if `level=\"title-lg\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "title-md",
|
|
"className": "MuiDialogTitle-title-md",
|
|
"description": "Class name applied to the root element if `level=\"title-md\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "title-sm",
|
|
"className": "MuiDialogTitle-title-sm",
|
|
"description": "Class name applied to the root element if `level=\"title-sm\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "variantOutlined",
|
|
"className": "MuiDialogTitle-variantOutlined",
|
|
"description": "Class name applied to the root element if `variant=\"outlined\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "variantPlain",
|
|
"className": "MuiDialogTitle-variantPlain",
|
|
"description": "Class name applied to the root element if `variant=\"plain\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "variantSoft",
|
|
"className": "MuiDialogTitle-variantSoft",
|
|
"description": "Class name applied to the root element if `variant=\"soft\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "variantSolid",
|
|
"className": "MuiDialogTitle-variantSolid",
|
|
"description": "Class name applied to the root element if `variant=\"solid\"`.",
|
|
"isGlobal": false
|
|
}
|
|
],
|
|
"spread": true,
|
|
"themeDefaultProps": true,
|
|
"muiName": "JoyDialogTitle",
|
|
"forwardsRefTo": "HTMLDivElement",
|
|
"filename": "/packages/mui-joy/src/DialogTitle/DialogTitle.tsx",
|
|
"inheritance": null,
|
|
"demos": "<ul><li><a href=\"/joy-ui/react-modal/\">Modal</a></li></ul>",
|
|
"cssComponent": false
|
|
}
|