title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 2.7.0 |
Explore the changelog for Chakra UI version 2.7.0. Learn about the latest features, bug fixes, and improvements. |
May 31, 2023 |
2.7.0 |
@chakra-ui/[email protected]
- Updated dependencies
@chakra-ui/[email protected]
-
c31df5a4b
Thanks @segunadebayo! - - Add newIndicator
layout component. Useful for positioning an element in the corners of another element.For example, let's say you want to position a notification badge in the top end corner of a box. You can use the
Indicator
component to achieve this.<Box position="relative" width="80px" height="80px" bg="gray.50"> <Indicator placement="top-end"> <Circle size="5" bg="red.100"> 3 </Circle> </Indicator> </Box>
-
Refactored the
Stack
andWrap
components to use the flex gap instead of the owl selector& > * ~ *
for spacing.This fixes an issue where you can't use raw text nodes as a child of the
Stack
orWrap
component.
-
- Updated dependencies
@chakra-ui/[email protected]
-
3a164da59
Thanks @segunadebayo! - Add support for disabling global styles via thedisableGlobalStyle
prop on theChakraProvider
.This is useful for scenarios where user needs to scope all global styles + css reset to a specific element.
import { ChakraProvider } from "@chakra-ui/react" function App() { return ( <ChakraProvider disableGlobalStyle> <App /> </ChakraProvider> ) }
-
38acfe89c
Thanks @segunadebayo! - Bump emotion version to11.11.x
to support css cascade layers -
Updated dependencies [
38acfe89c
]
@chakra-ui/[email protected]
-
c31df5a4b
Thanks @segunadebayo! - - Add newIndicator
layout component. Useful for positioning an element in the corners of another element.For example, let's say you want to position a notification badge in the top end corner of a box. You can use the
Indicator
component to achieve this.<Box position="relative" width="80px" height="80px" bg="gray.50"> <Indicator placement="top-end"> <Circle size="5" bg="red.100"> 3 </Circle> </Indicator> </Box>
-
Refactored the
Stack
andWrap
components to use the flex gap instead of the owl selector& > * ~ *
for spacing.This fixes an issue where you can't use raw text nodes as a child of the
Stack
orWrap
component.
-
-
38acfe89c
Thanks @segunadebayo! - Bump emotion version to11.11.x
to support css cascade layers -
Updated dependencies [
9d0b311b1
,c6d523ced
,0167b68a8
,c121c35c0
,3a164da59
,148c66bc6
,16c0ab7ec
,c31df5a4b
,c4fcc2a43
,148c66bc6
,38acfe89c
,6f9eb3518
,2347e3306
,0bec820bd
]
@chakra-ui/[email protected]
0bec820bd
Thanks @segunadebayo! - Fix issue wherecloseOnScroll
doesn't work when tooltip trigger's scrolling parent is not the root document
@chakra-ui/[email protected]
-
c121c35c0
Thanks @segunadebayo! - Force release avatar package to reflectArray.at
refactoring -
Updated dependencies
@chakra-ui/[email protected]
38acfe89c
Thanks @segunadebayo! - Bump emotion version to11.11.x
to support css cascade layers
@chakra-ui/[email protected]
148c66bc6
Thanks @segunadebayo! - Upgradefocus-trap
package to fix regression with return focus and initial focus ref.- Updated dependencies
[
0bec820bd
]
@chakra-ui/[email protected]
6f9eb3518
Thanks @segunadebayo! - Fix issue where keyboard events don't work reliably when a MenuItem contains a Dialog or similar interactive element.- Updated dependencies
@chakra-ui/[email protected]
- #7338
0167b68a8
Thanks @bertho-zero! - ExportsmodalManager
and returns the index of the modal fromuseModal
to allow creating custom components similar to modals - Updated dependencies
[
148c66bc6
]
@chakra-ui/[email protected]
-
148c66bc6
Thanks @segunadebayo! - Fix issues due to framer-motion upgrade -
Updated dependencies
@chakra-ui/[email protected]
-
c4fcc2a43
Thanks @segunadebayo! - Fix issue where range slider mark is not connected to theme -
38acfe89c
Thanks @segunadebayo! - Bump emotion version to11.11.x
to support css cascade layers
@chakra-ui/[email protected]
-
#7590
9d0b311b1
Thanks @dvartic! - Add explicit color attribute on buttons to ensure consistency across light and dark modes.**🚨 Potentially Breaking Change 🚨 **
If your button component code relies on inheriting color on buttons, consider adding an explicit color.
-
#7671
c6d523ced
Thanks @kashikarparth! - Fix issue where excess label looks inconsistent with the avatar initials forxs
and2xs
sizes -
16c0ab7ec
Thanks @segunadebayo! - Refactor input theme to use css var instead of resolving to raw value -
Updated dependencies [
16c0ab7ec
]
@chakra-ui/[email protected]
16c0ab7ec
Thanks @segunadebayo! - AddgetColorVar
function to get color css variable from theme object
@chakra-ui/[email protected]
@chakra-ui/[email protected]
0bec820bd
Thanks @segunadebayo! - Fix issue wherecloseOnScroll
doesn't work when tooltip trigger's scrolling parent is not the root document- Updated dependencies
[
0bec820bd
]
@chakra-ui/[email protected]
38acfe89c
Thanks @segunadebayo! - Bump emotion version to11.11.x
to support css cascade layers
@chakra-ui/[email protected]
-
38acfe89c
Thanks @segunadebayo! - Bump emotion version to11.11.x
to support css cascade layers -
Updated dependencies [
38acfe89c
]
@chakra-ui/[email protected]
- Updated dependencies
[
0bec820bd
]
@chakra-ui/[email protected]
- Updated dependencies
[
0bec820bd
]
@chakra-ui/[email protected]
-
5a755971a
Thanks @segunadebayo! - AddisExternal
to Link component -
38acfe89c
Thanks @segunadebayo! - Bump emotion version to11.11.x
to support css cascade layers