github chakra-ui/zag @zag-js/date-input@2.0.0-next.2

Patch Changes

  • #3252
    734b5e8 Thanks
    @github-actions! - Improved performance of state machine hot paths, and
    fixed an equality bug that could leave derived values stale.

    • Cached state chains and tag lookups per machine config, so nested state transitions and hasTag no longer rebuild
      the chain on every call.
    • Made isEqual cheaper by comparing arrays in place instead of copying them.
    • Fixed issue where a value that lost a key compared equal to its wider previous value. Removing a key from an object
      now correctly invalidates memoized values and restarts watchEffect effects that depend on it.
    • Fixed issue where the date input rebuilt its segments on every render when a translations object was passed
      inline.

    isEqual now compares functions by reference rather than by source text, and only considers an object's own
    properties. Values that relied on the previous behavior (a function recreated inline, or a property inherited from a
    prototype) now compare as unequal.

  • Updated dependencies [2668edc,
    06ddeb3,
    6d57458,
    734b5e8,
    e8b99d2,
    2859ef6,
    2859ef6,
    2859ef6]:

    • @zag-js/dom-query@2.0.0-next.2
    • @zag-js/core@2.0.0-next.2
    • @zag-js/types@2.0.0-next.2
    • @zag-js/utils@2.0.0-next.2
    • @zag-js/anatomy@2.0.0-next.2
    • @zag-js/date-utils@2.0.0-next.2
    • @zag-js/live-region@2.0.0-next.2

Don't miss a new zag release

NewReleases is sending notifications on new releases.