mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
chore: v11 Select
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
parent
27da0e691c
commit
d20a5a7f38
6 changed files with 9 additions and 9 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
/**
|
||||
* Set the size of the select input
|
||||
* @type {"sm" | "xl"}
|
||||
* @type {"sm" | "lg"}
|
||||
*/
|
||||
export let size = undefined;
|
||||
|
||||
|
@ -161,7 +161,7 @@
|
|||
name="{name}"
|
||||
class:bx--select-input="{true}"
|
||||
class:bx--select-input--sm="{size === 'sm'}"
|
||||
class:bx--select-input--xl="{size === 'xl'}"
|
||||
class:bx--select-input--lg="{size === 'lg' || size === 'xl'}"
|
||||
on:change="{handleChange}"
|
||||
on:change
|
||||
on:input
|
||||
|
@ -205,7 +205,7 @@
|
|||
aria-invalid="{invalid || undefined}"
|
||||
class:bx--select-input="{true}"
|
||||
class:bx--select-input--sm="{size === 'sm'}"
|
||||
class:bx--select-input--xl="{size === 'xl'}"
|
||||
class:bx--select-input--lg="{size === 'lg' || size === 'xl'}"
|
||||
on:change="{handleChange}"
|
||||
on:change
|
||||
on:input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue