title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.7.3 |
Explore the changelog for Chakra UI version 1.7.3. Learn about the latest features, bug fixes, and improvements. |
December 9, 2021 |
1.7.3 |
-
#5129
17400aff6
Thanks @zgid123! - Auto assignkey
when passing array of paths tocreateIcon
const HeartIcon = createIcon({ displayName: "HeartIcon", path: [<path stroke="none" d="..." fill="none" />, <path d="..." />], })
-
#5123
26d2a547b
Thanks @TimKolberger! - Add support for style propsgap
,columnGap
androwGap
. Those CSS properties are valid in a grid or flex contextFor further information see MDN Docs
f565841c6
Thanks @segunadebayo! - Fix TS issue with Grid component due to the nativegap
,rowGap
andcolumnGap
we added to styled system.- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
-
#5044
f4fd9441e
Thanks @dodas! - AddPopoverAnchor
component which allows you to set thePopover
reference point without acting as a trigger.<Popover> {/* triggers the popover to open/close */} <PopoverTrigger> <button>Trigger</button> </PopoverTrigger> {/* popover will be positioned relative to this */} <PopoverAnchor> <Box width="40px" height="40px" /> </PopoverAnchor> <PopoverContent>Hello World</PopoverContent> </Popover>
-
cd0b7996b
Thanks @segunadebayo! - Fix issue whereenabled
TS type was exposed to popover and menu fromUsePopperProps
. This was resolved by omittingenabled
from the type -
#4877
d139cc151
Thanks @noyanyan! - Fix issue wherePopover
will bedisplay:none
when inner element focused. -
Updated dependencies []:
- @chakra-ui/close-button@1.2.2
-
#5123
26d2a547b
Thanks @TimKolberger! - Add support for style propsgap
,columnGap
androwGap
. Those CSS properties are valid in a grid or flex contextFor further information see MDN Docs
-
#4970
73235af10
Thanks @giuseppelt! - Fix issue wherebgGradient
parser doesn't work when a position is specified -
f15099adc
Thanks @segunadebayo! - Fix issue where tokens autocomplete don't show up anymore except user runs the cli command. -
#5192
a1d5e7bfa
Thanks @selrond! - Fixed issue where multi-valueinset
property doesn't work.
-
#4922
98b9fbecb
Thanks @karrui! - Thetoast
function now exposes acontainerStyle
property you can use to override the default styles for the toast container.function Example() { // Via instantiation const toast = useToast({ position: "top", title: "Container style is customizable", containerStyle: { maxWidth: "100%", }, }) // Or via trigger return ( <Button onClick={() => { toast({ containerStyle: { maxWidth: "100%", }, }) }} > Click me to show toast with custom container style. </Button> ) }
-
b4decca9a
Thanks @segunadebayo! - Fix TS issue with toast placement utility -
Updated dependencies [
f15099adc
,39846457e
]:- @chakra-ui/theme@1.12.2
- @chakra-ui/transition@1.4.2
- @chakra-ui/alert@1.3.2
- @chakra-ui/close-button@1.2.2
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
- #5106
ba76b8125
Thanks @anubra266! - Fixed an issue whereInputGroup
passes undefinedsize
andvariant
props which overrides the ones defined by default in a customInput
component. - Updated dependencies []:
- @chakra-ui/form-control@1.5.2
cd0b7996b
Thanks @segunadebayo! - Fix issue whereenabled
TS type was exposed to popover and menu fromUsePopperProps
. This was resolved by omittingenabled
from the type- Updated dependencies
[
39846457e
]:- @chakra-ui/transition@1.4.2
- Updated dependencies
[
39846457e
]:- @chakra-ui/transition@1.4.2
- @chakra-ui/close-button@1.2.2
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
- @chakra-ui/form-control@1.5.2
- Updated dependencies
[
586eb6090
]:- @chakra-ui/system@1.8.3
- Updated dependencies []:
- @chakra-ui/form-control@1.5.2
- #5133
6efe10f21
Thanks @yoannfleurydev! - Update storybook url configuration for@chakra-ui/react
to https://storybook.chakra-ui.com - Updated dependencies
[
26d2a547b
,cd0b7996b
,ba76b8125
,d139cc151
,586eb6090
,f565841c6
,f15099adc
,98b9fbecb
,c20aa919e
,53e2df4f9
,b4decca9a
,39846457e
,f4fd9441e
,17400aff6
]:- @chakra-ui/layout@1.6.0
- @chakra-ui/menu@1.8.2
- @chakra-ui/popover@1.11.0
- @chakra-ui/input@1.3.2
- @chakra-ui/system@1.8.3
- @chakra-ui/theme@1.12.2
- @chakra-ui/toast@1.5.0
- @chakra-ui/tooltip@1.4.2
- @chakra-ui/media-query@1.2.2
- @chakra-ui/transition@1.4.2
- @chakra-ui/icon@2.0.0
- @chakra-ui/accordion@1.4.2
- @chakra-ui/alert@1.3.2
- @chakra-ui/close-button@1.2.2
- @chakra-ui/form-control@1.5.2
- @chakra-ui/modal@1.10.2
- @chakra-ui/number-input@1.3.2
- @chakra-ui/provider@1.7.3
- @chakra-ui/radio@1.4.3
- @chakra-ui/select@1.2.2
- @chakra-ui/skeleton@1.2.3
- @chakra-ui/stat@1.2.2
- @chakra-ui/tag@1.2.2
- @chakra-ui/textarea@1.2.2
- Updated dependencies []:
- @chakra-ui/form-control@1.5.2
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
-
#5117
586eb6090
Thanks @primos63! - Allow retrieving breakpoint tokens when using useToken -
Updated dependencies [
26d2a547b
,73235af10
,f15099adc
,a1d5e7bfa
]:- @chakra-ui/styled-system@1.15.0
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
- Updated dependencies []:
- @chakra-ui/form-control@1.5.2
f15099adc
Thanks @segunadebayo! - Fix issue where tokens autocomplete don't show up anymore except user runs the cli command.
- #5139
c20aa919e
Thanks @mlajtos! - PreventonKeyDown
callback from de/registering on every call ofuseTooltip
- #5130
39846457e
Thanks @georgekrax! - Fixed issue where theref
ofSlider
returnsnull
due to prop override
- Updated dependencies
[
26d2a547b
,73235af10
,6efe10f21
,f15099adc
,a1d5e7bfa
]:- @chakra-ui/styled-system@1.15.0
- @chakra-ui/react@1.7.3
- Updated dependencies
[
6efe10f21
]:- @chakra-ui/react@1.7.3
- Updated dependencies
[
6efe10f21
]:- @chakra-ui/react@1.7.3
- Updated dependencies
[
6efe10f21
]:- @chakra-ui/react@1.7.3
- Updated dependencies
[
6efe10f21
]:- @chakra-ui/react@1.7.3
- @chakra-ui/icons@1.1.2
- Updated dependencies
[
6efe10f21
]:- @chakra-ui/react@1.7.3