chore: v11 ComboBox

Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
Gregor Wassmann 2023-03-26 23:02:25 +02:00
commit d168d2408a
8 changed files with 12 additions and 12 deletions

View file

@ -1,7 +1,7 @@
<script>
/**
* Set the size of the list box
* @type {"sm" | "xl"}
* @type {"sm" | "lg" }
*/
export let size = undefined;
@ -39,7 +39,7 @@
data-invalid="{invalid || undefined}"
class:bx--list-box="{true}"
class:bx--list-box--sm="{size === 'sm'}"
class:bx--list-box--xl="{size === 'xl'}"
class:bx--list-box--lg="{size === 'lg' || size === 'xl'}"
class:bx--list-box--inline="{type === 'inline'}"
class:bx--list-box--disabled="{disabled}"
class:bx--list-box--expanded="{open}"