github chakra-ui/chakra-ui @chakra-ui/modal@1.4.0

latest releases: @chakra-ui/system@2.6.2, @chakra-ui/styled-system@2.9.2, @chakra-ui/storybook-addon@5.1.0...
3 years ago

Minor Changes

Patch Changes

  • 5cef5de4
    #2918 Thanks
    @MohamedSayed008! - ## Button

    • Update the style props applied for leftIcon and rightIcon to support
      RTL. Changed ml and mr to marginStart and marginEnd respectively.
    • Update the style props applied when isLoading is true. Changed
      marginRight to marginEnd.

    Stack

    • Update directionStyles to use logical CSS properties for RTL support.
      Changed marginLeft and marginRight to marginStart and marginEnd
      respectively.

    Styled System

    • Add missing borderStart, and borderEnd for style and color.
    • Sort Object.assign keys in configs/border.ts for better readability.

    Other RTL Fixes

    • Alignment for close icon for Tag, Modal, and Drawer components to
      support RTL.

    Storybook

    Add RTL storybook toolbar for make it easy to test layouts.

    Packages added:

    • @storybook/addon-toolbars

Don't miss a new chakra-ui release

NewReleases is sending notifications on new releases.