chore: v11 MultiSelect

Size `xl` changed to `lg`.
This commit is contained in:
Gregor Wassmann 2023-03-28 19:16:32 +02:00
commit 5221080309
6 changed files with 9 additions and 9 deletions

View file

@ -7019,7 +7019,7 @@
"name": "size",
"kind": "let",
"description": "Set the size of the combobox",
"type": "\"sm\" | \"lg\" | \"xl\"",
"type": "\"sm\" | \"lg\"",
"isFunction": false,
"isFunctionDeclaration": false,
"isRequired": false,

View file

@ -32,7 +32,7 @@ To prevent alphabetical item ordering, pass an empty function to the `sortItem`
<MultiSelect titleText="Contact" label="Select contact methods..."
items="{[{id: "0", text: "Slack"},
{id: "1", text: "Email"},
{id: "2", text: "Fax"}]}"
{id: "2", text: "Fax"}]}"
sortItem="{() => {}}"
/>
@ -53,7 +53,7 @@ To select (or bind) items, pass an array of item ids to `selectedIds`.
<MultiSelect selectedIds="{["0", "1"]}" titleText="Contact" label="Select contact methods..."
items="{[{id: "0", text: "Slack"},
{id: "1", text: "Email"},
{id: "2", text: "Fax"}]}"
{id: "2", text: "Fax"}]}"
/>
## Multiple multi-select dropdowns
@ -107,9 +107,9 @@ Set `direction` to `"top"` for the dropdown menu to appear above the input.
{id: "2", text: "Fax"}]}"
/>
## Extra-large size
## Large size
<MultiSelect size="xl" titleText="Contact" label="Select contact methods..."
<MultiSelect size="lg" titleText="Contact" label="Select contact methods..."
items="{[{id: "0", text: "Slack"},
{id: "1", text: "Email"},
{id: "2", text: "Fax"}]}"