mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
Run "yarn build:docs"
This commit is contained in:
parent
460ad3240a
commit
b8aab465bb
6 changed files with 31 additions and 6 deletions
|
@ -646,6 +646,7 @@ export type ComboBoxItemId = any;
|
||||||
export interface ComboBoxItem {
|
export interface ComboBoxItem {
|
||||||
id: ComboBoxItemId;
|
id: ComboBoxItemId;
|
||||||
text: string;
|
text: string;
|
||||||
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1140,6 +1141,7 @@ export type DropdownItemText = string;
|
||||||
export interface DropdownItem {
|
export interface DropdownItem {
|
||||||
id: DropdownItemId;
|
id: DropdownItemId;
|
||||||
text: DropdownItemText;
|
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 |
|
| 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 |
|
| 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
|
### Slots
|
||||||
|
|
||||||
|
@ -2328,6 +2331,7 @@ export type MultiSelectItemText = string;
|
||||||
export interface MultiSelectItem {
|
export interface MultiSelectItem {
|
||||||
id: MultiSelectItemId;
|
id: MultiSelectItemId;
|
||||||
text: MultiSelectItemText;
|
text: MultiSelectItemText;
|
||||||
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1769,9 +1769,9 @@
|
||||||
"ts": "type ComboBoxItemId = any"
|
"ts": "type ComboBoxItemId = any"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "{ id: ComboBoxItemId; text: string; }",
|
"type": "{ id: ComboBoxItemId; text: string; disabled?: boolean; }",
|
||||||
"name": "ComboBoxItem",
|
"name": "ComboBoxItem",
|
||||||
"ts": "interface ComboBoxItem { id: ComboBoxItemId; text: string; }"
|
"ts": "interface ComboBoxItem { id: ComboBoxItemId; text: string; disabled?: boolean; }"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rest_props": { "type": "Element", "name": "input" }
|
"rest_props": { "type": "Element", "name": "input" }
|
||||||
|
@ -3505,9 +3505,9 @@
|
||||||
"ts": "type DropdownItemText = string"
|
"ts": "type DropdownItemText = string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "{ id: DropdownItemId; text: DropdownItemText; }",
|
"type": "{ id: DropdownItemId; text: DropdownItemText; disabled?: boolean; }",
|
||||||
"name": "DropdownItem",
|
"name": "DropdownItem",
|
||||||
"ts": "interface DropdownItem { id: DropdownItemId; text: DropdownItemText; }"
|
"ts": "interface DropdownItem { id: DropdownItemId; text: DropdownItemText; disabled?: boolean; }"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rest_props": { "type": "Element", "name": "div" }
|
"rest_props": { "type": "Element", "name": "div" }
|
||||||
|
@ -6075,6 +6075,18 @@
|
||||||
"isRequired": false,
|
"isRequired": false,
|
||||||
"constant": false,
|
"constant": false,
|
||||||
"reactive": 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": [],
|
"moduleExports": [],
|
||||||
|
@ -7308,9 +7320,9 @@
|
||||||
"ts": "type MultiSelectItemText = string"
|
"ts": "type MultiSelectItemText = string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "{ id: MultiSelectItemId; text: MultiSelectItemText; }",
|
"type": "{ id: MultiSelectItemId; text: MultiSelectItemText; disabled?: boolean; }",
|
||||||
"name": "MultiSelectItem",
|
"name": "MultiSelectItem",
|
||||||
"ts": "interface MultiSelectItem { id: MultiSelectItemId; text: MultiSelectItemText; }"
|
"ts": "interface MultiSelectItem { id: MultiSelectItemId; text: MultiSelectItemText; disabled?: boolean; }"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rest_props": { "type": "Element", "name": "input" }
|
"rest_props": { "type": "Element", "name": "input" }
|
||||||
|
|
1
types/ComboBox/ComboBox.svelte.d.ts
vendored
1
types/ComboBox/ComboBox.svelte.d.ts
vendored
|
@ -6,6 +6,7 @@ export type ComboBoxItemId = any;
|
||||||
export interface ComboBoxItem {
|
export interface ComboBoxItem {
|
||||||
id: ComboBoxItemId;
|
id: ComboBoxItemId;
|
||||||
text: string;
|
text: string;
|
||||||
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ComboBoxProps
|
export interface ComboBoxProps
|
||||||
|
|
1
types/Dropdown/Dropdown.svelte.d.ts
vendored
1
types/Dropdown/Dropdown.svelte.d.ts
vendored
|
@ -8,6 +8,7 @@ export type DropdownItemText = string;
|
||||||
export interface DropdownItem {
|
export interface DropdownItem {
|
||||||
id: DropdownItemId;
|
id: DropdownItemId;
|
||||||
text: DropdownItemText;
|
text: DropdownItemText;
|
||||||
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DropdownProps
|
export interface DropdownProps
|
||||||
|
|
6
types/ListBox/ListBoxMenuItem.svelte.d.ts
vendored
6
types/ListBox/ListBoxMenuItem.svelte.d.ts
vendored
|
@ -14,6 +14,12 @@ export interface ListBoxMenuItemProps
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
highlighted?: boolean;
|
highlighted?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set to `true` to disable the menu item
|
||||||
|
* @default false
|
||||||
|
*/
|
||||||
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class ListBoxMenuItem extends SvelteComponentTyped<
|
export default class ListBoxMenuItem extends SvelteComponentTyped<
|
||||||
|
|
1
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
1
types/MultiSelect/MultiSelect.svelte.d.ts
vendored
|
@ -8,6 +8,7 @@ export type MultiSelectItemText = string;
|
||||||
export interface MultiSelectItem {
|
export interface MultiSelectItem {
|
||||||
id: MultiSelectItemId;
|
id: MultiSelectItemId;
|
||||||
text: MultiSelectItemText;
|
text: MultiSelectItemText;
|
||||||
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface MultiSelectProps
|
export interface MultiSelectProps
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue