title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.2.0 |
Explore the changelog for Chakra UI version 1.2.0. Learn about the latest features, bug fixes, and improvements. |
January 30, 2021 |
1.2.0 |
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
4e193f721
#3180 Thanks @with-heart! - Resolved an issue whereCheckbox
used insideCheckboxGroup
would call the group'sonChange
handler twice- Updated dependencies
[
b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
-
f90d8be54
Thanks @segunadebayo! - Bug Fixes:- Update transform style for
AbsoluteCenter
whenaxis
isboth
Features:
-
Add
shouldWrapChildren
toWrap
component to make it possible useWrap
directly without thinking aboutWrapItem
. -
Update
LinkBox
andLinkOverlay
components and make them public in docs.
- Update transform style for
-
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
-
68694e5ab
#3141 Thanks @dodas! - - TheMenuItem
now accepts acommandSpacing
prop that can be used to adjust the space between the command and label.-
Add support
rootProps
toMenuList
so it's possible override the styles for root container for menu list. Common use case is to change the appliedzIndex
of the menulist. -
Make it possible to override
zIndex
by passing props toMenuList
-
-
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
b572bceed
]
-
14be4be2c
#3210 Thanks @segunadebayo! - Add support for forwarding props to the underlyingPortal
component. Pass theportalProps
prop to achive this.The 2 props you can pass to the portalProps are:
containerRef
:ref
for the element where to mount the portalappendToParentPortal
: Iffalse
, it'll opt out of portal nesting
<Modal portalProps={{ containerRef: ref }}> <ModalOverlay /> <ModalContent> <Box>Modal content</Box> <Tooltip portalProps={{ appendToParentPortal: false }}> Some tooltip </Tooltip> </ModalContent> </Modal>
-
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
ab788323d
#3181 Thanks @with-heart! - Resolved an issue where blurringNumberInputField
did not clamp the value using theprecision
prop- Updated dependencies
[
90c7a4fbf
,b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
-
e41e6b81b
#3210 Thanks @segunadebayo! - - Add support for changing the container that portal is appended to. You can now passcontainerRef
to portal.- Update portal
README.md
and tests. - Add support for
appendToParentPortal={false}
to opt out of nested portals. - Fix issue with portal
zIndex
container where it renders elements outside of view. - Renamed
getContainer
prop tocontainerRef
to make it possible to pass theref
directly. This affects theModal
component primarily
// Before <Portal getContainer={() => ref.current}>{/** Content */}</Portal> // After <Portal containerRef={ref}>{/** Content */}</Portal>
- Update portal
- Updated dependencies
[
b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
-
408096ca3
#3164 Thanks @ivanyeoh! - fix: Extend theme should not include polyfill function -
fa2083807
#3150 Thanks @TimKolberger! - Improve TypeScript type forextendTheme
to allow deeply nested color objects -
Updated dependencies [
500b1eea0
,14be4be2c
,98ed67bc0
,ab788323d
,68694e5ab
,20fb74c07
,f90d8be54
,90c7a4fbf
,4e193f721
,709ca0398
,b572bceed
,e41e6b81b
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
-
e434aed4a
#3214 Thanks @TimKolberger! - Fix issue where CSS color names are not passed correctly.<Box backgroundColor="red">Background is red</Box>
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
-
500b1eea0
#3187 Thanks @dodas! - TheuseTabsContext
hook is now exported and can be used in userland. -
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
- Updated dependencies
[
90c7a4fbf
]
-
20fb74c07
Thanks @segunadebayo! - - Add8xl
to size tokens. It maps to90rem
-
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
709ca0398
#3200 Thanks @dodas! - AButton
withvariant="link"
has nowverticalAlign
set tobaseline
, instead ofmiddle
.
-
14be4be2c
#3210 Thanks @segunadebayo! - Add support for forwarding props to the underlyingPortal
component. Pass theportalProps
prop to achive this.The 2 props you can pass to the portalProps are:
containerRef
:ref
for the element where to mount the portalappendToParentPortal
: Iffalse
, it'll opt out of portal nesting
<Modal portalProps={{ containerRef: ref }}> <ModalOverlay /> <ModalContent> <Box>Modal content</Box> <Tooltip portalProps={{ appendToParentPortal: false }}> Some tooltip </Tooltip> </ModalContent> </Modal>
-
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like
-
e859a9fc1
#3133 Thanks @chrisbull! -useColorModeValue
defaults to light mode on first render if system color mode is used. -
Updated dependencies [
b572bceed
]
- Updated dependencies
[
b572bceed
]
- Updated dependencies
[
b572bceed
]
-
b572bceed
Thanks @segunadebayo! - useOutsideClick:- Update reference to
document.addEventListener
to detect owner document based onref
passed. This would help detect outside click currently from within aniframe
.
- Update reference to
- Updated dependencies
[
90c7a4fbf
]
- Updated dependencies
[
b572bceed
]
- Updated dependencies
[
b572bceed
]
- Updated dependencies
[
b572bceed
]
90c7a4fbf
#3092 Thanks @TimKolberger! - - Improved theme typing in order to provide a better autocomplete experience- Fixed a type issue where pseudo style props like
_hover
and_active
didn't allow regular css properties
- Fixed a type issue where pseudo style props like