mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
chore: v11 ComboBox
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
parent
70ebdd4e9e
commit
d168d2408a
8 changed files with 12 additions and 12 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue