title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.6.6 |
Explore the changelog for Chakra UI version 1.6.6. Learn about the latest features, bug fixes, and improvements. |
August 9, 2021 |
1.6.6 |
-
ff4dc7c38
#4317 Thanks @bhishp! - Added acontainer
part to theFormControl
component theme, allowing the rootFormControl
element to be themed.import { extendTheme } from "@chakra-ui/react" export const theme = extendTheme({ components: { Form: { variants: { // create a variant named "custom" custom: { // style the root `FormControl` element container: { color: "white", bg: "blue.900", }, }, }, }, }, })
-
4c1071969
#4437 Thanks @Toxiapo! - Remove code that was added as a workaround for pre-releases of React concurrent mode. -
4981d9898
#4538 Thanks @takethefake! - if anaria-describedby
property is passed it will be joined with the id's from helper-text and error-message instead of being overwritten.
-
ff4dc7c38
#4317 Thanks @bhishp! - Added acontainer
part to theFormControl
component theme, allowing the rootFormControl
element to be themed.import { extendTheme } from "@chakra-ui/react" export const theme = extendTheme({ components: { Form: { variants: { // create a variant named "custom" custom: { // style the root `FormControl` element container: { color: "white", bg: "blue.900", }, }, }, }, }, })
-
2d9942d3b
#4539 Thanks @takethefake! - Addcontainer
-part to Stat styleConfig -
46d0fb099
#4463 Thanks @takethefake! - Modals withsize:full
have no vertical margin
bafcc39aa
#4353 Thanks @dsumer! - Resolved an issue where aButton
in loading state didn't consider the width ofleftIcon
andrightIcon
, resulting in layout shifts when the button leaves the loading state. Buttons now render with the same width regardless of state.- Updated dependencies
[
4c1071969
,43f66097b
]
-
4c1071969
#4437 Thanks @Toxiapo! - Remove code that was added as a workaround for pre-releases of React concurrent mode.
- Updated dependencies
a8dcdfdb6
#4452 Thanks @jamesopti! - fix(Stack): Ensure that when cloning children, their provided keys are preferred over index. This prevents them from being destroyed and recreated when a child's position in the list changes.- Updated dependencies
[
4c1071969
,43f66097b
]
-
6dadb97db
#4514 Thanks @takethefake! - MenuList scroll to next MenuItem on KeyboardNavigation when there is a defined maxHeight on MenuList -
43f66097b
#4458 Thanks @agundermann! - Fix issues when rendering chakra components in different window
-
4c1071969
#4437 Thanks @Toxiapo! - Remove code that was added as a workaround for pre-releases of React concurrent mode. -
Updated dependencies [
4c1071969
,4981d9898
,ff4dc7c38
,43f66097b
]
-
4c1071969
#4437 Thanks @Toxiapo! - Remove code that was added as a workaround for pre-releases of React concurrent mode. -
Updated dependencies [
4c1071969
,4981d9898
,ff4dc7c38
,43f66097b
]
- Updated dependencies
[
4c1071969
,bafcc39aa
,2d9942d3b
,4981d9898
,df57f448f
,2172e610b
,6dadb97db
,d3d85956c
,a8dcdfdb6
,46d0fb099
,ff4dc7c38
,43f66097b
]
-
2172e610b
#4370 Thanks @segunadebayo! - Fix issue where slider thumb doesn't show active state in firefox
-
2d9942d3b
#4539 Thanks @takethefake! - Addcontainer
-part to Stat styleConfig
-
1d4b1f874
#4460 Thanks @primos63! - Corrected parseGradient function so that it checks for CSS functions.Previously, using the CSS
calc
function would result in invalid CSS being generated.The expectation is that
<Heading bgGradient="linear(to-r, green.200, pink.500 calc(20px + 20px))"> Chakra-UI: Create accessible React apps with speed </Heading>
functions similar to
linear-gradient
which handles using a CSS function<Heading bgImage="linear-gradient( to right, var(--chakra-colors-green-200)), var(--chakra-colors-pink-500 calc(20px + 20px))" > Chakra-UI: Create accessible React apps with speed </Heading>
-
270b71ebb
#4368 Thanks @avendiart! - Grid props type definitions now correclty reflect the implemented behavior in regard to tokens.
-
d3d85956c
#4511 Thanks @jrolfs! - Fix type definitions forapply
prop.The
apply
prop supports responsive styles:// Before: type error, expects `string` for `apply` <Text apply={{ sm: 'styles.h3', lg: 'styles.h4' }}> // After: no type error, expects `ResponsiveValue<string>` for `apply` <Text apply={{ sm: 'styles.h3', lg: 'styles.h4' }}>
-
Updated dependencies [
4c1071969
,1d4b1f874
,270b71ebb
,43f66097b
]
-
df57f448f
#4442 Thanks @5ebastianMeier! - Fix tooltips not closing when openDelay is set
-
4c1071969
#4437 Thanks @Toxiapo! - Remove code that was added as a workaround for pre-releases of React concurrent mode. -
43f66097b
#4458 Thanks @agundermann! - Fix issues when rendering chakra components in different window
@chakra-ui/visually-hidden@1.0.14
- Updated dependencies
f5d7a458b
#4493 Thanks @takethefake! - - Migrated fromnext-mdx-enhanced
tonext-mdx-remote
- Generate Headings from
mdx
before rendering instead of renderedReact.Element
- removed
getUserData
generation if there is anauthor
mentioned in frontmatter because we partially ran into rate limits fromoctokit/rest
but didn't used the data at all
- Generate Headings from
- Updated dependencies
[
4c1071969
,43f66097b
]