Skip to main content
0.15.0
View Zag.js on Github
Join the Discord server

Changelog

Zag releases and their changelogs.

Release PRDate: August 10, 2022

Minor Changes

NumberInput 0.1.14

  • Add support for spinOnPress to allow user control whether to spin the input's value when the decrement or increment button is pressed.

  • Add support for onFocus and onBlur callbacks in the machine's context.

const [state, send] = useMachine( numberInput.machine({ onFocus(details) { // details => { value: string, valueAsNumber: number, srcElement: HTMLElement | null } }, onBlur(details) { // details => { value: string, valueAsNumber: number } }, }), )
  • Add focus() and blur() methods to the machine's api

Patch Changes

  • Fixed issue where menu menu gets closed if item is selected with keyboard while closeOnSelect is set to true.

Rating 0.1.13

  • Fixed issue where the rating is unusable on touch devices

TagsInput 0.2.4

  • Fixed issue where input tried to edit a non existent tag after all tags are deleted.

Toast 0.1.12

  • Expose toast description in api.

Popper 0.1.10

  • Update dependency @floating-ui/dom to v1

Edit this page on GitHub

Proudly made in🇳🇬by Segun Adebayo

Copyright © 2023