Skip to content

Commit

Permalink
docs(vue): update type docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Apr 26, 2023
1 parent df369c3 commit 69c8460
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/vue/src/accordion/docs/accordion.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"isRequired": false,
"description": "Whether an accordion item can be collapsed after it has been opened."
},
"defaultValue": { "type": "string | string[]", "isRequired": false },
"dir": {
"type": "'ltr' | 'rtl'",
"isRequired": false,
Expand Down Expand Up @@ -41,6 +40,11 @@
"type": "'horizontal' | 'vertical'",
"isRequired": false,
"description": "The orientation of the accordion items."
},
"value": {
"type": "string | string[]",
"isRequired": false,
"description": "The `id` of the accordion item that is currently being opened."
}
},
"AccordionItemProps": {
Expand Down
6 changes: 5 additions & 1 deletion packages/vue/src/combobox/docs/combobox.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"isRequired": false,
"description": "Whether to blur the input on select"
},
"defaultValue": { "type": "string", "isRequired": false },
"dir": {
"type": "'ltr' | 'rtl'",
"isRequired": false,
Expand Down Expand Up @@ -56,6 +55,11 @@
"isRequired": false,
"description": "Defines the auto-completion behavior of the combobox.\n\n- `autohighlight`: The first focused option is highlighted as the user types\n- `autocomplete`: Navigating the listbox with the arrow keys selects the option and the input is updated"
},
"inputValue": {
"type": "string",
"isRequired": false,
"description": "The current value of the combobox's input"
},
"invalid": {
"type": "boolean",
"isRequired": false,
Expand Down
5 changes: 5 additions & 0 deletions packages/vue/src/select/docs/select.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
"isRequired": false,
"description": "Whether the select is read-only"
},
"selectedOption": {
"type": "Option",
"isRequired": false,
"description": "The selected option"
},
"selectOnTab": {
"type": "boolean",
"isRequired": false,
Expand Down

0 comments on commit 69c8460

Please sign in to comment.