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
165 lines
9.3 KiB
JSON
165 lines
9.3 KiB
JSON
{
|
|
"componentDescription": "",
|
|
"propDescriptions": {
|
|
"autoComplete": {
|
|
"description": "This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it <a href=\"https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill\">following the specification</a>."
|
|
},
|
|
"autoFocus": {
|
|
"description": "If <code>true</code>, the <code>input</code> element is focused during the first mount."
|
|
},
|
|
"classes": { "description": "Override or extend the styles applied to the component." },
|
|
"color": {
|
|
"description": "The color of the component. It supports both default and custom theme colors, which can be added as shown in the <a href=\"https://mui.com/material-ui/customization/palette/#custom-colors\">palette customization guide</a>. The prop defaults to the value (<code>'primary'</code>) inherited from the parent FormControl component."
|
|
},
|
|
"components": { "description": "The components used for each slot inside." },
|
|
"defaultValue": {
|
|
"description": "The default value. Use when the component is not controlled."
|
|
},
|
|
"disabled": {
|
|
"description": "If <code>true</code>, the component is disabled. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component."
|
|
},
|
|
"endAdornment": { "description": "End <code>InputAdornment</code> for this component." },
|
|
"error": {
|
|
"description": "If <code>true</code>, the <code>input</code> will indicate an error. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component."
|
|
},
|
|
"fullWidth": {
|
|
"description": "If <code>true</code>, the <code>input</code> will take up the full width of its container."
|
|
},
|
|
"id": { "description": "The id of the <code>input</code> element." },
|
|
"inputComponent": {
|
|
"description": "The component used for the <code>input</code> element. Either a string to use a HTML element or a component."
|
|
},
|
|
"inputProps": {
|
|
"description": "<a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes\">Attributes</a> applied to the <code>input</code> element."
|
|
},
|
|
"inputRef": { "description": "Pass a ref to the <code>input</code> element." },
|
|
"label": {
|
|
"description": "The label of the <code>input</code>. It is only used for layout. The actual labelling is handled by <code>InputLabel</code>."
|
|
},
|
|
"margin": {
|
|
"description": "If <code>dense</code>, will adjust vertical spacing. This is normally obtained via context from FormControl. The prop defaults to the value (<code>'none'</code>) inherited from the parent FormControl component."
|
|
},
|
|
"maxRows": {
|
|
"description": "Maximum number of rows to display when multiline option is set to true."
|
|
},
|
|
"minRows": {
|
|
"description": "Minimum number of rows to display when multiline option is set to true."
|
|
},
|
|
"multiline": {
|
|
"description": "If <code>true</code>, a <a href=\"https://mui.com/material-ui/react-textarea-autosize/\">TextareaAutosize</a> element is rendered."
|
|
},
|
|
"name": { "description": "Name attribute of the <code>input</code> element." },
|
|
"notched": {
|
|
"description": "If <code>true</code>, the outline is notched to accommodate the label."
|
|
},
|
|
"onChange": {
|
|
"description": "Callback fired when the value is changed.",
|
|
"typeDescriptions": {
|
|
"event": {
|
|
"name": "event",
|
|
"description": "The event source of the callback. You can pull out the new value by accessing <code>event.target.value</code> (string)."
|
|
}
|
|
}
|
|
},
|
|
"placeholder": {
|
|
"description": "The short hint displayed in the <code>input</code> before the user enters a value."
|
|
},
|
|
"readOnly": {
|
|
"description": "It prevents the user from changing the value of the field (not from interacting with the field)."
|
|
},
|
|
"required": {
|
|
"description": "If <code>true</code>, the <code>input</code> element is required. The prop defaults to the value (<code>false</code>) inherited from the parent FormControl component."
|
|
},
|
|
"rows": { "description": "Number of rows to display when multiline option is set to true." },
|
|
"slotProps": { "description": "The props used for each slot inside." },
|
|
"slots": { "description": "The components used for each slot inside." },
|
|
"startAdornment": { "description": "Start <code>InputAdornment</code> for this component." },
|
|
"sx": {
|
|
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
|
|
},
|
|
"type": {
|
|
"description": "Type of the <code>input</code> element. It should be <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types\">a valid HTML5 input type</a>."
|
|
},
|
|
"value": {
|
|
"description": "The value of the <code>input</code> element, required for a controlled component."
|
|
}
|
|
},
|
|
"classDescriptions": {
|
|
"adornedEnd": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>endAdornment</code> is provided"
|
|
},
|
|
"adornedStart": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>startAdornment</code> is provided"
|
|
},
|
|
"colorSecondary": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "the color is secondary"
|
|
},
|
|
"disabled": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>disabled={true}</code>"
|
|
},
|
|
"error": {
|
|
"description": "State class applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>error={true}</code>"
|
|
},
|
|
"focused": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "the component is focused"
|
|
},
|
|
"input": { "description": "Styles applied to {{nodeName}}.", "nodeName": "the input element" },
|
|
"inputAdornedEnd": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the input element",
|
|
"conditions": "<code>endAdornment</code> is provided",
|
|
"deprecationInfo": "Combine the <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-input\">.MuiInputBase-input</a> and <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-adornedEnd\">.MuiInputBase-adornedEnd</a> classes instead. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
|
|
},
|
|
"inputAdornedStart": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the input element",
|
|
"conditions": "<code>startAdornment</code> is provided",
|
|
"deprecationInfo": "Combine the <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-input\">.MuiInputBase-input</a> and <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-adornedStart\">.MuiInputBase-adornedStart</a> classes instead. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
|
|
},
|
|
"inputMultiline": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the input element",
|
|
"conditions": "<code>multiline={true}</code>",
|
|
"deprecationInfo": "Combine the <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-input\">.MuiInputBase-input</a> and <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-multiline\">.MuiInputBase-multiline</a> classes instead. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
|
|
},
|
|
"inputSizeSmall": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the input element",
|
|
"conditions": "<code>size=\"small\"</code>",
|
|
"deprecationInfo": "Combine the <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-input\">.MuiInputBase-input</a> and <a href=\"/material-ui/api/input-base/#input-base-classes-MuiInputBase-sizeSmall\">.MuiInputBase-sizeSmall</a> classes instead. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
|
|
},
|
|
"inputTypeSearch": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the input element",
|
|
"conditions": "<code>type=\"search\"</code>"
|
|
},
|
|
"multiline": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the root element",
|
|
"conditions": "<code>multiline={true}</code>"
|
|
},
|
|
"notchedOutline": {
|
|
"description": "Styles applied to {{nodeName}}.",
|
|
"nodeName": "the NotchedOutline element"
|
|
},
|
|
"root": { "description": "Styles applied to the root element." },
|
|
"sizeSmall": {
|
|
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
|
|
"nodeName": "the input element",
|
|
"conditions": "<code>size=\"small\"</code>"
|
|
}
|
|
}
|
|
}
|