chore: v11 TimePicker

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-31 22:33:42 +02:00
commit 68aa238621
6 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
<script>
/**
* Specify the size of the input
* @type {"sm" | "xl"}
* @type {"sm" | "lg"}
*/
export let size = undefined;
@ -66,7 +66,7 @@
class:bx--time-picker--light="{light}"
class:bx--time-picker--invalid="{invalid}"
class:bx--time-picker--sm="{size === 'sm'}"
class:bx--time-picker--xl="{size === 'xl'}"
class:bx--time-picker--lg="{size === 'lg' || size === 'xl'}"
class:bx--select--light="{light}"
>
<div class:bx--time-picker__input="{true}">