title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.5.0 |
Explore the changelog for Chakra UI version 1.5.0. Learn about the latest features, bug fixes, and improvements. |
April 7, 2021 |
1.5.0 |
@chakra-ui/[email protected]
-
75817ec42
#3733 Thanks @segunadebayo! - - Return prop getters for popover header and body and useref
callback to determine element's presense instead ofuseEffect
.-
Mark
usePopover
as internal for now. -
Add support for
rootProps
toPopoverContent
to allow passing props to popover's positioner. -
Make it possible to add custom motion
variants
so users can orchestrate custom transitions. -
Remove unused dependencies
-
Move popover arrow shadow color computation to popover's theme.
-
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
-
Updated dependencies [
87a03b320
,1a04a41bd
,75817ec42
,e481ba491
]
@chakra-ui/[email protected]
-
75817ec42
#3733 Thanks @segunadebayo! - Add prop getters for popper and arrow for better ssr supportReplace
utils
dependency withreact-utils
@chakra-ui/[email protected]
ac21d798a
Thanks @segunadebayo! - Bump package as minor
2287d82e3
#3715 Thanks @with-heart! - Resolved a peer dependency resolution issue reported by yarn2, npm7, and other more modern package managers- Updated dependencies
[
1cff6f54e
,06612e3ba
,38706f731
,1a04a41bd
,799f3c803
,c69d2b983
,2287d82e3
,75817ec42
,75817ec42
,e481ba491
,d86a0f6b4
,75817ec42
,07ddf0f27
,ac21d798a
]
@chakra-ui/[email protected]
-
06612e3ba
Thanks @segunadebayo! - AddTableContainer
component to help tables scroll horizontally when overflowing.<TableContainer> <Table> {...} </Table> </TableContainer>
@chakra-ui/[email protected]
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
-
Updated dependencies [
87a03b320
,1a04a41bd
,c69d2b983
,e481ba491
]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
38706f731
Thanks @segunadebayo! - ReplacewithFlushSync
with microtask callback to prevent ReactDOM warning. -
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
@chakra-ui/[email protected]
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
- Updated dependencies
@chakra-ui/[email protected]
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
@chakra-ui/[email protected]
@chakra-ui/[email protected]
d86a0f6b4
Thanks @segunadebayo! - - Refactor form label to use prop getter instead of hook for better consistency- Replace
withFlushSync
withscheduleMicrotask
callback to prevent ReactDOM warning when an element us focused by calling.focus()
. This works as well in concurrent mode.
- Replace
- Updated dependencies
[
87a03b320
,1a04a41bd
,e481ba491
]
@chakra-ui/[email protected]
@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]
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
-
Updated dependencies [
87a03b320
,1a04a41bd
,c69d2b983
,75817ec42
,e481ba491
]
@chakra-ui/[email protected]
-
2287d82e3
#3715 Thanks @with-heart! - Resolved a peer dependency resolution issue reported by yarn2, npm7, and other more modern package managers -
07ddf0f27
Thanks @segunadebayo! - Omit scroll-behavior from drawer props -
Updated dependencies [
87a03b320
,1a04a41bd
,c69d2b983
,e481ba491
]
@chakra-ui/[email protected]
-
38706f731
Thanks @segunadebayo! - ReplacewithFlushSync
with microtask callback to prevent ReactDOM warning. -
Updated dependencies [
87a03b320
,1a04a41bd
,e481ba491
,d86a0f6b4
]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
1cff6f54e
Thanks @segunadebayo! - Fix issue in safari where circular progress indicator shows a tiny bit when value is0
- Updated dependencies
[
1a04a41bd
,c69d2b983
,e481ba491
]
@chakra-ui/[email protected]
-
38706f731
Thanks @segunadebayo! - ReplacewithFlushSync
with microtask callback to prevent ReactDOM warning. -
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
-
Updated dependencies [
87a03b320
,1a04a41bd
,e481ba491
,d86a0f6b4
]
@chakra-ui/[email protected]
-
87a03b320
#3733 Thanks @segunadebayo! - Update prop getter v2 type to take second parameter -
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
-
e481ba491
Thanks @segunadebayo! - - Extract functions fromreact-utils
back toutils
package- Remove
withFlushSync
function in favor of using a microtask callback - Import types for
warn
function
- Remove
@chakra-ui/[email protected]
-
ac21d798a
Thanks @segunadebayo! - Fix RTL styles for select field to usepaddingEnd
instead ofpr
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
75817ec42
#3733 Thanks @segunadebayo! - Popover- Moved
maxW
from popover'spopper
tocontent
to allow for better control of the popover's width. - Use
width
instead ofmaxW
to allow users more control of popover's width - Use
--popover-bg
css property to control popover and arrow background.
<PopoverContent style={{ "--popover-bg": "purple" }}> <PopoverArrow /> </PopoverContent>
- Add popover arrow shadow color
Select
- Update select icon to use
insetEnd
instead ofright
for RTL.
Skip Link
- Update styles to use
insetStart
instead ofleft
for RTL.
Table
- Update text align attribute to use
end
instead ofright
for RTL.
- Moved
@chakra-ui/[email protected]
-
c69d2b983
Thanks @segunadebayo! - Fix issue wherewarn
doesn't get called
@chakra-ui/[email protected]
-
799f3c803
#3752 Thanks @baptisteArno! - Take into account safe area insets for Toasts -
Updated dependencies [
1a04a41bd
,c69d2b983
,75817ec42
,e481ba491
]
@chakra-ui/[email protected]
2287d82e3
#3715 Thanks @with-heart! - Resolved a peer dependency resolution issue reported by yarn2, npm7, and other more modern package managers- Updated dependencies
[
1a04a41bd
,75817ec42
,e481ba491
]
@chakra-ui/[email protected]
-
c69d2b983
Thanks @segunadebayo! - Fix issue wherewarn
doesn't get called
@chakra-ui/[email protected]
-
1a04a41bd
Thanks @segunadebayo! - Update import of shared utils fromreact-utils
toutils
-
e481ba491
Thanks @segunadebayo! - - Extract functions fromreact-utils
back toutils
package- Remove
withFlushSync
function in favor of using a microtask callback - Import types for
warn
function
- Remove
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
-
d79f5bce9
#3729 Thanks @navarroaxel! - Add docs foruseMergeRefs
hook -
5f19da9db
#3730 Thanks @navarroaxel! - Add docs foruseBoolean
hook -
372b8f485
#3661 Thanks @navarroaxel! - Add docs foruseOutsideClick
hook -
Updated dependencies [
ac21d798a
,1a04a41bd
,c69d2b983
,2287d82e3
,e481ba491
]