mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
Run "yarn build:docs"
This commit is contained in:
parent
12045756ca
commit
1cf28c6809
4 changed files with 11 additions and 11 deletions
|
@ -3147,7 +3147,7 @@ None.
|
||||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||||
| :---------- | :------- | :--------------- | :------- | ------------------------------------------ | ------------------------------------------------ | ----------------------------------------------- |
|
| :---------- | :------- | :--------------- | :------- | ------------------------------------------ | ------------------------------------------------ | ----------------------------------------------- |
|
||||||
| ref | No | <code>let</code> | Yes | <code>null | HTMLSelectElement</code> | <code>null</code> | Obtain a reference to the select HTML element |
|
| ref | No | <code>let</code> | Yes | <code>null | HTMLSelectElement</code> | <code>null</code> | Obtain a reference to the select HTML element |
|
||||||
| selected | No | <code>let</code> | Yes | <code>string</code> | <code>undefined</code> | Specify the selected item value |
|
| selected | No | <code>let</code> | Yes | <code>string | number</code> | <code>undefined</code> | Specify the selected item value |
|
||||||
| size | No | <code>let</code> | No | <code>"sm" | "xl"</code> | <code>undefined</code> | Set the size of the select input |
|
| size | No | <code>let</code> | No | <code>"sm" | "xl"</code> | <code>undefined</code> | Set the size of the select input |
|
||||||
| inline | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the inline variant |
|
| inline | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the inline variant |
|
||||||
| light | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to enable the light variant |
|
| light | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to enable the light variant |
|
||||||
|
@ -3184,12 +3184,12 @@ None.
|
||||||
|
|
||||||
### Props
|
### Props
|
||||||
|
|
||||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||||
| :-------- | :------- | :--------------- | :------- | -------------------- | ------------------ | ----------------------------------- |
|
| :-------- | :------- | :--------------- | :------- | --------------------------------- | ------------------ | ----------------------------------- |
|
||||||
| value | No | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the option value |
|
| value | No | <code>let</code> | No | <code>string | number</code> | <code>""</code> | Specify the option value |
|
||||||
| text | No | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the option text |
|
| text | No | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the option text |
|
||||||
| hidden | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to hide the option |
|
| hidden | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to hide the option |
|
||||||
| disabled | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the option |
|
| disabled | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the option |
|
||||||
|
|
||||||
### Slots
|
### Slots
|
||||||
|
|
||||||
|
|
|
@ -10027,7 +10027,7 @@
|
||||||
"name": "selected",
|
"name": "selected",
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
"description": "Specify the selected item value",
|
"description": "Specify the selected item value",
|
||||||
"type": "string",
|
"type": "string | number",
|
||||||
"isFunction": false,
|
"isFunction": false,
|
||||||
"isFunctionDeclaration": false,
|
"isFunctionDeclaration": false,
|
||||||
"isRequired": false,
|
"isRequired": false,
|
||||||
|
@ -10252,7 +10252,7 @@
|
||||||
"name": "value",
|
"name": "value",
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
"description": "Specify the option value",
|
"description": "Specify the option value",
|
||||||
"type": "string",
|
"type": "string | number",
|
||||||
"value": "\"\"",
|
"value": "\"\"",
|
||||||
"isFunction": false,
|
"isFunction": false,
|
||||||
"isFunctionDeclaration": false,
|
"isFunctionDeclaration": false,
|
||||||
|
|
2
types/Select/Select.svelte.d.ts
vendored
2
types/Select/Select.svelte.d.ts
vendored
|
@ -7,7 +7,7 @@ export interface SelectProps
|
||||||
* Specify the selected item value
|
* Specify the selected item value
|
||||||
* @default undefined
|
* @default undefined
|
||||||
*/
|
*/
|
||||||
selected?: string;
|
selected?: string | number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the size of the select input
|
* Set the size of the select input
|
||||||
|
|
2
types/Select/SelectItem.svelte.d.ts
vendored
2
types/Select/SelectItem.svelte.d.ts
vendored
|
@ -6,7 +6,7 @@ export interface SelectItemProps {
|
||||||
* Specify the option value
|
* Specify the option value
|
||||||
* @default ""
|
* @default ""
|
||||||
*/
|
*/
|
||||||
value?: string;
|
value?: string | number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify the option text
|
* Specify the option text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue