From c23782b1613c3a3e5d81fcfb26971261cbe03bab Mon Sep 17 00:00:00 2001 From: Gregor Wassmann Date: Tue, 28 Mar 2023 19:16:32 +0200 Subject: [PATCH] chore: v11 MultiSelect Size `xl` changed to `lg`. --- COMPONENT_INDEX.md | 2 +- docs/src/COMPONENT_API.json | 26 ++++++++++++++++++++++- docs/src/pages/components/MultiSelect.svx | 8 +++---- src/MultiSelect/MultiSelect.svelte | 2 +- tests/MultiSelect.test.svelte | 2 +- types/MultiSelect/MultiSelect.svelte.d.ts | 2 +- types/Tile/ExpandableTile.svelte.d.ts | 12 +++++++++++ 7 files changed, 45 insertions(+), 9 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 4b35148f..dcb62877 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2367,7 +2367,7 @@ export interface MultiSelectItem { | items | No | let | Yes | ReadonlyArray | [] | Set the multiselect items | | itemToString | No | let | No | (item: MultiSelectItem) => any | (item) => item.text || item.id | Override the display of a multiselect item | | itemToInput | No | let | No | (item: MultiSelectItem) => { name?: string; labelText?: any; title?: string; value?: string } | (item) => {} | Override the item name, title, labelText, or value passed to the user-selectable checkbox input as well as the hidden inputs. | -| size | No | let | No | "sm" | "lg" | "xl" | undefined | Set the size of the combobox | +| size | No | let | No | "sm" | "lg" | undefined | Set the size of the combobox | | type | No | let | No | "default" | "inline" | "default" | Specify the type of multiselect | | direction | No | let | No | "bottom" | "top" | "bottom" | Specify the direction of the multiselect dropdown menu | | selectionFeedback | No | let | No | "top" | "fixed" | "top-after-reopen" | "top-after-reopen" | Specify the selection feedback after selecting items | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 9cc033f8..3766ad24 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -3642,6 +3642,30 @@ "constant": false, "reactive": false }, + { + "name": "tileExpandedLabel", + "kind": "let", + "description": "Specify the icon label of the expanded tile", + "type": "string", + "value": "\"\"", + "isFunction": false, + "isFunctionDeclaration": false, + "isRequired": false, + "constant": false, + "reactive": false + }, + { + "name": "tileCollapsedLabel", + "kind": "let", + "description": "Specify the icon label of the collapsed tile", + "type": "string", + "value": "\"\"", + "isFunction": false, + "isFunctionDeclaration": false, + "isRequired": false, + "constant": false, + "reactive": false + }, { "name": "tabindex", "kind": "let", @@ -7019,7 +7043,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, diff --git a/docs/src/pages/components/MultiSelect.svx b/docs/src/pages/components/MultiSelect.svx index 563fee26..e33b03d0 100644 --- a/docs/src/pages/components/MultiSelect.svx +++ b/docs/src/pages/components/MultiSelect.svx @@ -37,7 +37,7 @@ To prevent alphabetical item ordering, pass an empty function to the `sortItem` @@ -58,7 +58,7 @@ To select (or bind) items, pass an array of item ids to `selectedIds`. ## Multiple multi-select dropdowns @@ -140,9 +140,9 @@ Set `direction` to `"top"` for the dropdown menu to appear above the input. {id: "2", text: "Fax"}]}" /> -## Extra-large size +## Large size -