Skip to content

Latest commit

 

History

History
608 lines (410 loc) · 24.5 KB

v1.5.2.mdx

File metadata and controls

608 lines (410 loc) · 24.5 KB
title description releaseUrl releaseDate version
Version 1.5.2
Explore the changelog for Chakra UI version 1.5.2. Learn about the latest features, bug fixes, and improvements.
April 19, 2021
1.5.2

@chakra-ui/button@1.3.0

Minor Changes

  • aec2aaf9d #3732 Thanks @jatin33! - Added spinnerPlacement prop to allow changing the spinner placement for the button when isLoading is true. Spinner placement can be either start or end

    <Button isLoading spinnerPlacement="end">
      Click me
    </Button>

Patch Changes

@chakra-ui/checkbox@1.5.0

Minor Changes

Patch Changes

@chakra-ui/hooks@1.5.0

Minor Changes

  • 384902e35 #3836 Thanks @segunadebayo! - - Add pan session hook usePanGesture for detecting pan gestures

    • Update useLatestRef to inline value updates. Not concurrent mode safe but works for now.

    • Add useEventListenerMap to provide an elegant way of attaching several pointer event to the document or an element.

Patch Changes

@chakra-ui/menu@1.5.0

Minor Changes

  • f2544fb58 #3839 Thanks @with-heart! - This change restores the behavior of the isLazy prop (which was broken by the previous release) and adds a new lazyBehavior prop which configures the behavior of isLazy.

    If you'd like the content of tab panel, popover and menu components to be unmounted when not selected or opened, please continue to use isLazy. This is the default behavior.

    If you'd like the content of tab panel, popover and menu components to remain mounted (but hidden) after it was previously selected or opened, use lazyBehavior="keepMounted" in combination with isLazy.

Patch Changes

@chakra-ui/popover@1.6.0

Minor Changes

  • f2544fb58 #3839 Thanks @with-heart! - This change restores the behavior of the isLazy prop (which was broken by the previous release) and adds a new lazyBehavior prop which configures the behavior of isLazy.

    If you'd like the content of tab panel, popover and menu components to be unmounted when not selected or opened, please continue to use isLazy. This is the default behavior.

    If you'd like the content of tab panel, popover and menu components to remain mounted (but hidden) after it was previously selected or opened, use lazyBehavior="keepMounted" in combination with isLazy.

Patch Changes

@chakra-ui/tabs@1.4.0

Minor Changes

  • f2544fb58 #3839 Thanks @with-heart! - This change restores the behavior of the isLazy prop (which was broken by the previous release) and adds a new lazyBehavior prop which configures the behavior of isLazy.

    If you'd like the content of tab panel, popover and menu components to be unmounted when not selected or opened, please continue to use isLazy. This is the default behavior.

    If you'd like the content of tab panel, popover and menu components to remain mounted (but hidden) after it was previously selected or opened, use lazyBehavior="keepMounted" in combination with isLazy.

Patch Changes

@chakra-ui/utils@1.6.0

Minor Changes

  • 0974e547c Thanks @segunadebayo! - Add lazy content utility for disclosure components like popover, menu, tab, etc.

  • 59ea894a7 #3836 Thanks @segunadebayo! - - Add pan session class to handle pan gestures. This is used in the slider logic and sharable with vue library.

    • Perf: Throttle pan move events to once per frame which improves the slider's onChange call performance.

    • Update types for internal pointer event

@chakra-ui/accordion@1.2.3

Patch Changes

@chakra-ui/alert@1.2.3

Patch Changes

@chakra-ui/avatar@1.2.3

Patch Changes

@chakra-ui/breadcrumb@1.2.3

Patch Changes

@chakra-ui/clickable@1.1.3

Patch Changes

@chakra-ui/close-button@1.1.7

Patch Changes

@chakra-ui/color-mode@1.1.6

Patch Changes

@chakra-ui/control-box@1.0.10

Patch Changes

@chakra-ui/counter@1.1.3

Patch Changes

@chakra-ui/descendant@1.1.3

Patch Changes

@chakra-ui/editable@1.2.3

Patch Changes

@chakra-ui/react-env@1.0.2

Patch Changes

@chakra-ui/focus-lock@1.1.6

Patch Changes

@chakra-ui/form-control@1.3.3

Patch Changes

@chakra-ui/icon@1.1.7

Patch Changes

@chakra-ui/icons@1.0.11

Patch Changes

  • Updated dependencies

@chakra-ui/image@1.0.13

Patch Changes

@chakra-ui/input@1.2.3

Patch Changes

@chakra-ui/layout@1.4.3

Patch Changes

@chakra-ui/live-region@1.0.10

Patch Changes

@chakra-ui/media-query@1.0.11

Patch Changes

@chakra-ui/modal@1.8.3

Patch Changes

@chakra-ui/number-input@1.2.3

Patch Changes

@chakra-ui/pin-input@1.5.3

Patch Changes

@chakra-ui/portal@1.2.3

Patch Changes

@chakra-ui/progress@1.1.7

Patch Changes

@chakra-ui/radio@1.3.3

Patch Changes

@chakra-ui/react@1.5.2

Patch Changes

@chakra-ui/select@1.1.7

Patch Changes

@chakra-ui/skeleton@1.1.10

Patch Changes

@chakra-ui/skip-nav@1.1.7

Patch Changes

@chakra-ui/slider@1.2.3

Patch Changes

    • Fix issue where slider doesnt work after first slide
    • Avoid exccess onChange calls
  • Updated dependencies [0974e547c, 59ea894a7, 384902e35]

@chakra-ui/spinner@1.1.7

Patch Changes

@chakra-ui/stat@1.1.7

Patch Changes

@chakra-ui/styled-system@1.10.3

Patch Changes

@chakra-ui/switch@1.2.3

Patch Changes

@chakra-ui/system@1.6.3

Patch Changes

@chakra-ui/table@1.2.2

Patch Changes

@chakra-ui/tag@1.1.7

Patch Changes

@chakra-ui/textarea@1.1.7

Patch Changes

@chakra-ui/theme@1.8.3

Patch Changes

@chakra-ui/theme-tools@1.1.5

Patch Changes

@chakra-ui/toast@1.2.4

Patch Changes

@chakra-ui/tooltip@1.3.3

Patch Changes

@chakra-ui/transition@1.2.1

Patch Changes

@chakra-ui/visually-hidden@1.0.10

Patch Changes

@chakra-ui/props-docs@1.0.24

Patch Changes

@chakra-ui/test-utils@1.0.24

Patch Changes

  • Updated dependencies

@chakra-ui/docs@1.2.3

Patch Changes