iter(g222): 时间选择支持高度档位

This commit is contained in:
HIsheR
2026-10-26 20:03:10 +08:00
parent 467de41d4e
commit 3067c6380a
6 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ export function timePicker(props: TimePickerProps): HTMLElement {
'button',
{
type: 'button',
class: 'ua-timepicker-trigger',
class: `ua-timepicker-trigger${props.size && props.size !== 'md' ? ` is-${props.size}` : ''}`,
'aria-haspopup': 'dialog',
'aria-expanded': () => String(open()),
disabled: props.disabled, // 布尔或信号禁用,h() 直接透传