144 lines
4.7 KiB
JSON
144 lines
4.7 KiB
JSON
|
|
{
|
||
|
|
"props": {
|
||
|
|
"color": {
|
||
|
|
"type": {
|
||
|
|
"name": "union",
|
||
|
|
"description": "'danger'<br>| 'neutral'<br>| 'primary'<br>| 'success'<br>| 'warning'<br>| string"
|
||
|
|
},
|
||
|
|
"default": "'neutral'",
|
||
|
|
"additionalInfo": { "joy-color": true }
|
||
|
|
},
|
||
|
|
"component": { "type": { "name": "elementType" } },
|
||
|
|
"size": {
|
||
|
|
"type": { "name": "enum", "description": "'sm'<br>| 'md'<br>| 'lg'" },
|
||
|
|
"default": "'md'",
|
||
|
|
"additionalInfo": { "joy-size": true }
|
||
|
|
},
|
||
|
|
"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": "union",
|
||
|
|
"description": "'contained'<br>| 'light'<br>| 'outlined'<br>| 'text'<br>| string"
|
||
|
|
},
|
||
|
|
"default": "'outlined'",
|
||
|
|
"additionalInfo": { "joy-variant": true }
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"name": "AutocompleteListbox",
|
||
|
|
"imports": [
|
||
|
|
"import AutocompleteListbox from '@mui/joy/AutocompleteListbox';",
|
||
|
|
"import { AutocompleteListbox } from '@mui/joy';"
|
||
|
|
],
|
||
|
|
"slots": [
|
||
|
|
{
|
||
|
|
"name": "root",
|
||
|
|
"description": "The component that renders the root.",
|
||
|
|
"default": "'ul'",
|
||
|
|
"class": "MuiAutocompleteListbox-root"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
{
|
||
|
|
"key": "colorContext",
|
||
|
|
"className": "MuiAutocompleteListbox-colorContext",
|
||
|
|
"description": "Class name applied to the root element when color inversion is triggered.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorDanger",
|
||
|
|
"className": "MuiAutocompleteListbox-colorDanger",
|
||
|
|
"description": "Class name applied to the root element if `color=\"danger\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorNeutral",
|
||
|
|
"className": "MuiAutocompleteListbox-colorNeutral",
|
||
|
|
"description": "Class name applied to the root element if `color=\"neutral\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorPrimary",
|
||
|
|
"className": "MuiAutocompleteListbox-colorPrimary",
|
||
|
|
"description": "Class name applied to the root element if `color=\"primary\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorSuccess",
|
||
|
|
"className": "MuiAutocompleteListbox-colorSuccess",
|
||
|
|
"description": "Class name applied to the root element if `color=\"success\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorWarning",
|
||
|
|
"className": "MuiAutocompleteListbox-colorWarning",
|
||
|
|
"description": "Class name applied to the root element if `color=\"warning\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "sizeLg",
|
||
|
|
"className": "MuiAutocompleteListbox-sizeLg",
|
||
|
|
"description": "Class name applied to the root element if `size=\"lg\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "sizeMd",
|
||
|
|
"className": "MuiAutocompleteListbox-sizeMd",
|
||
|
|
"description": "Class name applied to the root element if `size=\"md\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "sizeSm",
|
||
|
|
"className": "MuiAutocompleteListbox-sizeSm",
|
||
|
|
"description": "Class name applied to the root element if `size=\"sm\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "variantOutlined",
|
||
|
|
"className": "MuiAutocompleteListbox-variantOutlined",
|
||
|
|
"description": "Class name applied to the root element if `variant=\"outlined\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "variantPlain",
|
||
|
|
"className": "MuiAutocompleteListbox-variantPlain",
|
||
|
|
"description": "Class name applied to the root element if `variant=\"plain\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "variantSoft",
|
||
|
|
"className": "MuiAutocompleteListbox-variantSoft",
|
||
|
|
"description": "Class name applied to the root element if `variant=\"soft\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "variantSolid",
|
||
|
|
"className": "MuiAutocompleteListbox-variantSolid",
|
||
|
|
"description": "Class name applied to the root element if `variant=\"solid\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"spread": true,
|
||
|
|
"themeDefaultProps": true,
|
||
|
|
"muiName": "JoyAutocompleteListbox",
|
||
|
|
"forwardsRefTo": "HTMLUListElement",
|
||
|
|
"filename": "/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.tsx",
|
||
|
|
"inheritance": null,
|
||
|
|
"demos": "<ul><li><a href=\"/joy-ui/react-autocomplete/\">Autocomplete</a></li></ul>",
|
||
|
|
"cssComponent": false
|
||
|
|
}
|