Skip to content

Latest commit

 

History

History
283 lines (201 loc) · 11.1 KB

v1.6.8.mdx

File metadata and controls

283 lines (201 loc) · 11.1 KB
title description releaseUrl releaseDate version
Version 1.6.8
Explore the changelog for Chakra UI version 1.6.8. Learn about the latest features, bug fixes, and improvements.
September 20, 2021
1.6.8

Minor Changes

  • 8c61e75ec #3837 Thanks @mcha-dev! - Drawer: Add support for RTL-aware placement values. You can now pass start and end values. The drawer will use left/right placement depending on the specified theme.direction value.

Patch Changes

  • c1d1029bc Thanks @segunadebayo! - Drawer: omit the motionPreset prop type since Drawer only implements the Slide transition, unlike Modal that allows you switch its motion preset.

Minor Changes

  • 4146a9051 #3837 Thanks @mcha-dev! - usePopper now accepts a direction prop so it can handle placement for RTL languages. Values such as top-start, top-end, bottom-start and bottom-end will be flipped depending on the theme's direction value.

    In addition to the default popper.js placement, you can pass start-start, start-end, end-start and end-end. This will resolve to the equivalent popper.js placement as well.

Minor Changes

  • 74fada62b #3837 Thanks @mcha-dev! - Add RTL support by using the theme's direction ("ltr" or "rtl") to set the default isReversed property when the orientation is horizontal

Minor Changes

  • 347294426 #3837 Thanks @mcha-dev! - Add support for RTL-aware position values. You can now use top-start, top-end, bottom-start and bottom-end values. The toast will flip depending on the direction provided in the theme.

Patch Changes

Patch Changes

Patch Changes

  • 93c99bdd7 Thanks @segunadebayo! - Fix issue where avatar blinks during API call due to its fallback logic. You can disable the fallback logic by setting ignoreFallback, just like you can with the Image component
  • Updated dependencies [a1ca91b76, 11eebac4c]

Patch Changes

  • 87ffdd1cb Thanks @segunadebayo! - Fix issue where composing Button with framer-motion's motion factory breaks animation/transition

Patch Changes

  • 726105acb Thanks @segunadebayo! - Add state data-* attributes to the checkbox container to allow user style the _checked, _invalid and _disabled states

Patch Changes

Patch Changes

  • 19d9abe75 #4691 Thanks @segunadebayo! - Fix issue where keyboard navigation doesn't work when MenuButton isn't rendered. This is useful in scenarios where you want the menu to be triggered by a command or right-click.
  • Updated dependencies [4146a9051]

Patch Changes

Patch Changes

Patch Changes

  • 17c84be66 Thanks @segunadebayo! - - Resolve dependency issues caused by previous release
    • Add ChakraProviderProps type what was removed in previous release

Patch Changes

Patch Changes

  • fba77bf32 #4660 Thanks @takethefake! - The disabled state of the SelectIcon can be reflected by a disabled FormControl or by the isDisabled-flag of the select field

Patch Changes

Patch Changes

Patch Changes

  • 09577b088 #4708 Thanks @hiroppy! - Replace tinycolor2 with @ctrl/tinycolor to get better tree-shaking benefits

Patch Changes

Patch Changes

  • c96f44e16 #4725 Thanks @TimKolberger! - Fixed an issue where the CLI did not resolve custom tsconfig paths.

    🚨 Please note that only the first alias target from the string array will be resolved.

    // tsconfig.json
    {
      //...
      compilerOptions: {
        baseUrl: "src",
        paths: {
          "@alias/*": ["target/*"],
          //           ^-- only the first target will be resolved
        },
      },
    }

Patch Changes

  • Updated dependencies

Minor Changes

Patch Changes

Patch Changes

  • Updated dependencies