title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.6.12 |
Explore the changelog for Chakra UI version 1.6.12. Learn about the latest features, bug fixes, and improvements. |
November 4, 2021 |
1.6.12 |
-
71f80b67c
#4634 Thanks @SkySails! - Added possibility to use the system preferred color scheme as value forinitialColorMode
, while still respecting a user's previous choice.As long as the user does not manually select a color mode through a website interaction, the theme will change when the system preference changes.
This would easily allow for an implementation where the user can choose between
light
,dark
andsystem
by simply setting theinitialColorMode
setting tosystem
and presenting the user with the three options.
- Updated dependencies
[
04774e219
]:- @chakra-ui/transition@1.3.8
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
97bad87c7
#4807 Thanks @primos63! - Corrected eslint errors. -
f2df9cfc1
#4807 Thanks @primos63! - Fix an issue where theuseMediaQuery
was not updating the array of booleans correctly when resizing the viewport.It also removes deprecated calls
addListener
andremoveListener
in favor of the recommendedaddEventListener
andremoveEventListener
calls.
-
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
Updated dependencies [
04774e219
,c3f016149
]:- @chakra-ui/transition@1.3.8
- @chakra-ui/popper@2.3.1
-
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
Updated dependencies [
04774e219
]:- @chakra-ui/transition@1.3.8
-
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
Updated dependencies [
c3f016149
]:- @chakra-ui/popper@2.3.1
c3f016149
Thanks @segunadebayo! - Remove default[]
value for modifiers and moved it intocreatePopper
definition. This allows memoized modifiers to work correctly in user-land when used withuseCallback
.
- Updated dependencies []:
- @chakra-ui/system@1.7.6
5f531c51f
#4967 Thanks @takethefake! - Improve types defined forgetRadioprops
-
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
Updated dependencies [
5f531c51f
,04774e219
,97bad87c7
,c3f016149
,f2df9cfc1
]:- @chakra-ui/radio@1.3.13
- @chakra-ui/checkbox@1.5.10
- @chakra-ui/menu@1.7.8
- @chakra-ui/modal@1.9.4
- @chakra-ui/popover@1.9.1
- @chakra-ui/theme@1.11.1
- @chakra-ui/toast@1.3.4
- @chakra-ui/tooltip@1.3.14
- @chakra-ui/transition@1.3.8
- @chakra-ui/media-query@1.1.5
- @chakra-ui/popper@2.3.1
- @chakra-ui/switch@1.2.13
- @chakra-ui/accordion@1.3.10
- @chakra-ui/skeleton@1.1.21
- @chakra-ui/system@1.7.6
- @chakra-ui/provider@1.6.11
- Updated dependencies
[
04774e219
]:- @chakra-ui/checkbox@1.5.10
- Updated dependencies
[
71f80b67c
]:- @chakra-ui/color-mode@1.2.0
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
Updated dependencies [
04774e219
]:- @chakra-ui/theme@1.11.1
- @chakra-ui/transition@1.3.8
-
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
-
Updated dependencies [
c3f016149
]:- @chakra-ui/popper@2.3.1
04774e219
#4965 Thanks @takethefake! - Allow usage offramer-motion
5.x inpeerDependency
- Updated dependencies
[
04774e219
]:- @chakra-ui/react@1.6.12
- Updated dependencies
[
04774e219
]:- @chakra-ui/react@1.6.12