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

Changelog

Zag releases and their changelogs.

Release PRDate: December 6, 2022

Minor Changes

All machines

  • Describe the anatomy of a machine and use it to generate data-scope and data-part
  • Add support for onOpen and onClose callbacks

Patch Changes

  • Change activeId to highlightedId

Accordion 0.2.3

  • Fix issue where value was reset infinitely when value: [] and multiple: false is passed to machine context.

Checkbox 0.2.4

  • Fix issue where onChange is called with incorrect checked state

  • Use aria-readonly instead of readOnly attribute. readonly attribute only applies to text inputs, not checkboxes and radios according to the spec

  • Remove unused aria-invalid property

  • Remove aria-checked and aria-disabled from checkbox input part. Based on recent spec, those attributes should be applied to native input elements.

  • Move html for attribute to rootProps so it targets label elements.

Tooltip 0.2.3

  • Fix issue where the hidden property is not added to the content element.

Edit this page on GitHub

Proudly made in🇳🇬by Segun Adebayo

Copyright © 2023