Added
-
Implemented support for reactive props in
use-*.ts
functions.const accordionProps = createMemo<UseAccordionProps>(() => ({ multiple: true, value: value(), onValueChange: (e) => setValue(e.value), })) const accordion = useAccordion(accordionProps)
Fixed
- Checkbox:
data-invalid
is no longer set wheninvalid
isfalse
. - Combobox: Fixed unexpected cursor movement when editing input.
- PinInput: OTP SMS autofill now works as expected.
- RatingGroup: Fixed incorrect focus placement on the label.
- TagsInput: Improved caret detection to prevent unintended tag removal.
- Timer
- Fixed slowdown when switching tabs/windows.
- Changed default
interval
from250
to1000
.