Run "yarn build:docs"

This commit is contained in:
Eric Liu 2022-06-01 19:09:56 -07:00
commit b8aab465bb
6 changed files with 31 additions and 6 deletions

View file

@ -646,6 +646,7 @@ export type ComboBoxItemId = any;
export interface ComboBoxItem {
id: ComboBoxItemId;
text: string;
disabled?: boolean;
}
```
@ -1140,6 +1141,7 @@ export type DropdownItemText = string;
export interface DropdownItem {
id: DropdownItemId;
text: DropdownItemText;
disabled?: boolean;
}
```
@ -2086,6 +2088,7 @@ None.
| :---------- | :------- | :--------------- | :------- | -------------------- | ------------------ | --------------------------------------------- |
| active | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to enable the active state |
| highlighted | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to enable the highlighted state |
| disabled | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the menu item |
### Slots
@ -2328,6 +2331,7 @@ export type MultiSelectItemText = string;
export interface MultiSelectItem {
id: MultiSelectItemId;
text: MultiSelectItemText;
disabled?: boolean;
}
```

View file

@ -1769,9 +1769,9 @@
"ts": "type ComboBoxItemId = any"
},
{
"type": "{ id: ComboBoxItemId; text: string; }",
"type": "{ id: ComboBoxItemId; text: string; disabled?: boolean; }",
"name": "ComboBoxItem",
"ts": "interface ComboBoxItem { id: ComboBoxItemId; text: string; }"
"ts": "interface ComboBoxItem { id: ComboBoxItemId; text: string; disabled?: boolean; }"
}
],
"rest_props": { "type": "Element", "name": "input" }
@ -3505,9 +3505,9 @@
"ts": "type DropdownItemText = string"
},
{
"type": "{ id: DropdownItemId; text: DropdownItemText; }",
"type": "{ id: DropdownItemId; text: DropdownItemText; disabled?: boolean; }",
"name": "DropdownItem",
"ts": "interface DropdownItem { id: DropdownItemId; text: DropdownItemText; }"
"ts": "interface DropdownItem { id: DropdownItemId; text: DropdownItemText; disabled?: boolean; }"
}
],
"rest_props": { "type": "Element", "name": "div" }
@ -6075,6 +6075,18 @@
"isRequired": false,
"constant": false,
"reactive": false
},
{
"name": "disabled",
"kind": "let",
"description": "Set to `true` to disable the menu item",
"type": "boolean",
"value": "false",
"isFunction": false,
"isFunctionDeclaration": false,
"isRequired": false,
"constant": false,
"reactive": false
}
],
"moduleExports": [],
@ -7308,9 +7320,9 @@
"ts": "type MultiSelectItemText = string"
},
{
"type": "{ id: MultiSelectItemId; text: MultiSelectItemText; }",
"type": "{ id: MultiSelectItemId; text: MultiSelectItemText; disabled?: boolean; }",
"name": "MultiSelectItem",
"ts": "interface MultiSelectItem { id: MultiSelectItemId; text: MultiSelectItemText; }"
"ts": "interface MultiSelectItem { id: MultiSelectItemId; text: MultiSelectItemText; disabled?: boolean; }"
}
],
"rest_props": { "type": "Element", "name": "input" }

View file

@ -6,6 +6,7 @@ export type ComboBoxItemId = any;
export interface ComboBoxItem {
id: ComboBoxItemId;
text: string;
disabled?: boolean;
}
export interface ComboBoxProps

View file

@ -8,6 +8,7 @@ export type DropdownItemText = string;
export interface DropdownItem {
id: DropdownItemId;
text: DropdownItemText;
disabled?: boolean;
}
export interface DropdownProps

View file

@ -14,6 +14,12 @@ export interface ListBoxMenuItemProps
* @default false
*/
highlighted?: boolean;
/**
* Set to `true` to disable the menu item
* @default false
*/
disabled?: boolean;
}
export default class ListBoxMenuItem extends SvelteComponentTyped<

View file

@ -8,6 +8,7 @@ export type MultiSelectItemText = string;
export interface MultiSelectItem {
id: MultiSelectItemId;
text: MultiSelectItemText;
disabled?: boolean;
}
export interface MultiSelectProps