title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.6.1 |
Explore the changelog for Chakra UI version 1.6.1. Learn about the latest features, bug fixes, and improvements. |
May 5, 2021 |
1.6.1 |
@chakra-ui/[email protected]
8501fd105
#3906 Thanks @joaorodrs! - Add an export forusePopoverContext
hook
@chakra-ui/[email protected]
-
b199b06e3
#3946 Thanks @segunadebayo! - - Add support for tweaking the enter-exit transitions.Affected components:
Fade
,Slide
,SlideFade
,SlideScale
,Collapse
<Fade transition={{ enter: { duration: 0.3 }, exit: { duration: 0.1 }, }} />
- Fix issue where
Collapse
animation hide overflow when it expands.
Collapse transition how shows overflow when it's expanded and hides overflow when it's collapsed.
- Add support for
delay
prop for all transition components.
// as a number <Fade delay={0.3} /> // or based on state (enter/exit only) <Fade delay={{ enter: 0.2 }} /> // or both <Fade delay={{ enter: 0.2, exit: 0.1 }} />
Note: this only works when you're using our built-in transition definition. If you're passing your own transition definition, pass the delay there.
// adding delay to your custom transition definition <Fade transition={{ enter: { duration: 0.2, delay: 0.1 }, }} />
- Fix issue where
@chakra-ui/[email protected]
-
b479ff22e
#3930 Thanks @TimKolberger! - - Add types for the return value ofpipe
function- Update user agent assertions
-
07d15eab4
#3850 Thanks @TimKolberger! - Add walkObject helper to iterate over all keys including nested
-
d0f50a46e
Thanks @segunadebayo! -PanSession
class- Add velocity data to pointer pan event
- Add
onSessionStart
to pan event handlers
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
173738dd9
Thanks @segunadebayo! - > This is an internal package- Unexport internal functions and hooks
- Allow options passed in
useDescendants
to be set inDescendantsManager
- Add default export for
createDescendantsContext
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
48cc3f00d
Thanks @segunadebayo! - Update mock window
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
d0f50a46e
Thanks @segunadebayo! - -usePanGesture
: AddonPanSessionEnd
to pan event handlers and mark as internaluseDimensions
: Removeref
from effect dependency list
- Updated dependencies
[
d0f50a46e
,b479ff22e
,07d15eab4
]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
- Updated dependencies
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
ad87d837a
Thanks @segunadebayo! - Fix issue wherecloseOnSelect
didn't work for menuitem options -
Updated dependencies [
d0f50a46e
,b199b06e3
,173738dd9
,b479ff22e
,07d15eab4
,d0f50a46e
]
@chakra-ui/[email protected]
-
db8adf204
#3946 Thanks @segunadebayo! - Fix types for modal overlay fade config -
Updated dependencies [
d0f50a46e
,b199b06e3
,b479ff22e
,07d15eab4
,d0f50a46e
]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
- Updated dependencies
[
d0f50a46e
,8501fd105
,48cc3f00d
,b199b06e3
,b479ff22e
,d0f50a46e
,07d15eab4
,ad87d837a
,d0f50a46e
,db8adf204
]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
d0f50a46e
Thanks @segunadebayo! - - Fix issue whereonChangeStart
doesnt get called- Fix issue where slider thumb remains tabbable when
isDisabled={true}
- Fix issue where
onChangeEnd
doesn't get called when you click anywhere on the track
- Fix issue where slider thumb remains tabbable when
- Updated dependencies
[
d0f50a46e
,b479ff22e
,07d15eab4
,d0f50a46e
]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
07d15eab4
#3850 Thanks @TimKolberger! - Refactored the creation of the theme css vars
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
e8f64a4a6
#3941 Thanks @jbarzegar! - Fixes issues withtokens
command hanging forever if theme workers run into errors during runtime. Now when an error is discovered within a worker an{ err: string }
object is passed to the parent which will cause the promise to reject. This will in turn, pass the sameerr
upwards to allow the command to exit gracefully, printing theerr
in question tostdout
- Updated dependencies
[
d0f50a46e
,b479ff22e
,07d15eab4
]
@chakra-ui/[email protected]
- Updated dependencies
[
07d15eab4
]
@chakra-ui/[email protected]
- Updated dependencies