Skip to content

Latest commit

 

History

History
658 lines (463 loc) · 29.1 KB

v1.6.1.mdx

File metadata and controls

658 lines (463 loc) · 29.1 KB
title description releaseUrl releaseDate version
Version 1.6.1
Explore the changelog for Chakra UI version 1.6.1. Learn about the latest features, bug fixes, and improvements.
May 5, 2021
1.6.1

Minor Changes

Patch Changes

Minor Changes

  • b199b06e3 #3946 Thanks @segunadebayo! - - Add support for tweaking the enter-exit transitions.

    Affected components: Fade, Slide, SlideFade, SlideScale, Collapse

    <Fade
      transition={{
        enter: { duration: 0.3 },
        exit: { duration: 0.1 },
      }}
    />
    • Fix issue where Collapse animation hide overflow when it expands.

    Collapse transition how shows overflow when it's expanded and hides overflow when it's collapsed.

    • Add support for delay prop for all transition components.
    // as a number
    <Fade delay={0.3} />
    
    // or based on state (enter/exit only)
    <Fade delay={{ enter: 0.2 }} />
    
    // or both
    <Fade delay={{ enter: 0.2, exit: 0.1 }} />

    Note: this only works when you're using our built-in transition definition. If you're passing your own transition definition, pass the delay there.

    // adding delay to your custom transition definition
    <Fade
      transition={{
        enter: { duration: 0.2, delay: 0.1 },
      }}
    />

Patch Changes

Minor Changes

Patch Changes

  • d0f50a46e Thanks @segunadebayo! - PanSession class

    • Add velocity data to pointer pan event
    • Add onSessionStart to pan event handlers

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

  • 173738dd9 Thanks @segunadebayo! - > This is an internal package

    • Unexport internal functions and hooks
    • Allow options passed in useDescendants to be set in DescendantsManager
    • Add default export for createDescendantsContext

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

  • Updated dependencies

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

  • d0f50a46e Thanks @segunadebayo! - - Fix issue where onChangeStart doesnt get called
    • Fix issue where slider thumb remains tabbable when isDisabled={true}
    • Fix issue where onChangeEnd doesn't get called when you click anywhere on the track
  • Updated dependencies [d0f50a46e, b479ff22e, 07d15eab4, d0f50a46e]

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

  • e8f64a4a6 #3941 Thanks @jbarzegar! - Fixes issues with tokens command hanging forever if theme workers run into errors during runtime. Now when an error is discovered within a worker an { err: string } object is passed to the parent which will cause the promise to reject. This will in turn, pass the same err upwards to allow the command to exit gracefully, printing the err in question to stdout
  • Updated dependencies [d0f50a46e, b479ff22e, 07d15eab4]

Patch Changes

Patch Changes

  • Updated dependencies

Patch Changes