github chakra-ui/zag @zag-js/progress@2.0.0-next.4

Major Changes

  • #3342
    d6089c3 Thanks
    @github-actions! - - Label the progress bar with the label part and expose
    the value via aria-valuetext.

    • Remove aria-live from the value text.

    • Clamp the value to min and max, and treat NaN and Infinity as indeterminate.

    • Fix percentAsString using the value format instead of a percent.

    • Breaking: Default the value to min instead of the midpoint. Pass a value to keep the old default.

      - progress.machine({ min: 0, max: 100 })
      + progress.machine({ min: 0, max: 100, defaultValue: 50 })

Patch Changes

  • Updated dependencies [a80b307]:
    • @zag-js/dom-query@2.0.0-next.4
    • @zag-js/core@2.0.0-next.4
    • @zag-js/anatomy@2.0.0-next.4
    • @zag-js/types@2.0.0-next.4
    • @zag-js/utils@2.0.0-next.4

Don't miss a new zag release

NewReleases is sending notifications on new releases.