Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 178 additions & 0 deletions content/changelog/v2.3.7.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
---
title: Version 2.3.7
description:
Explore the changelog for Chakra UI version 2.3.7. Learn about the latest
features, bug fixes, and improvements.
releaseUrl: https://github.com/chakra-ui/chakra-ui/pull/6875
releaseDate: November 2, 2022
version: 2.3.7
---

## @chakra-ui/progress@2.1.0

### Minor Changes

- [#6915](https://github.com/chakra-ui/chakra-ui/pull/6915)
[`3ae5df659`](https://github.com/chakra-ui/chakra-ui/commit/3ae5df659a2c6061dbfb57bfce92b5bf3e0b5cd7)
Thanks [@lexanth](https://github.com/lexanth)! - Add support for overriding
the `role` for `Progress` eleement. This makes it possible to use the progress
as a meter element.

```jsx live=false
<Progress size='sm' value={20} role='meter' aria-label='Usage' />
```

### Patch Changes

- [#6911](https://github.com/chakra-ui/chakra-ui/pull/6911)
[`2e7327b64`](https://github.com/chakra-ui/chakra-ui/commit/2e7327b640870546941428f13d0806ec0330c228)
Thanks [@anubra266](https://github.com/anubra266)! - Fix accessibility issue
where the `title` prop was not passed to the underlying `role=progress`
element.

## @chakra-ui/checkbox@2.2.3

### Patch Changes

- [#6929](https://github.com/chakra-ui/chakra-ui/pull/6929)
[`1377b7280`](https://github.com/chakra-ui/chakra-ui/commit/1377b7280e398aadf70b54c7846a36136c7bd772)
Thanks [@yukukotani](https://github.com/yukukotani)! - Replaced
`framer-motion` with css animation

- Updated dependencies
\[[`132a98958`](https://github.com/chakra-ui/chakra-ui/commit/132a98958be64e46619b1e280ca6405d0a833cb0)]

## @chakra-ui/css-reset@2.0.9

### Patch Changes

- [#6898](https://github.com/chakra-ui/chakra-ui/pull/6898)
[`8705372a0`](https://github.com/chakra-ui/chakra-ui/commit/8705372a014bfd7073fe8012a46d7aa22904370b)
Thanks [@leomelzer](https://github.com/leomelzer)! - fix(css-reset): Use dvh
unit if supported

This allows the user agent to dynamically adapt the height of a Modal,
depending on what parts of the UI (e.g. address bar) are visible.

## @chakra-ui/editable@2.0.14

### Patch Changes

- [#6851](https://github.com/chakra-ui/chakra-ui/pull/6851)
[`30b1b62f3`](https://github.com/chakra-ui/chakra-ui/commit/30b1b62f335cdf85b3b46761fdeb0105a4773a61)
Thanks [@anubra266](https://github.com/anubra266)! - Fix issue where
`onSubmit` was called twice when input is blurred with enter key.

## @chakra-ui/menu@2.1.3

### Patch Changes

- Updated dependencies
\[[`49dc149cc`](https://github.com/chakra-ui/chakra-ui/commit/49dc149cc600af83dcde4fa9b6a34a6b14dca837)]

## @chakra-ui/popover@2.1.2

### Patch Changes

- Updated dependencies
\[[`49dc149cc`](https://github.com/chakra-ui/chakra-ui/commit/49dc149cc600af83dcde4fa9b6a34a6b14dca837)]

## @chakra-ui/provider@2.0.21

### Patch Changes

- Updated dependencies
\[[`8705372a0`](https://github.com/chakra-ui/chakra-ui/commit/8705372a014bfd7073fe8012a46d7aa22904370b)]

## @chakra-ui/react@2.3.7

### Patch Changes

- Updated dependencies
\[[`1377b7280`](https://github.com/chakra-ui/chakra-ui/commit/1377b7280e398aadf70b54c7846a36136c7bd772),
[`30b1b62f3`](https://github.com/chakra-ui/chakra-ui/commit/30b1b62f335cdf85b3b46761fdeb0105a4773a61),
[`2e7327b64`](https://github.com/chakra-ui/chakra-ui/commit/2e7327b640870546941428f13d0806ec0330c228),
[`132a98958`](https://github.com/chakra-ui/chakra-ui/commit/132a98958be64e46619b1e280ca6405d0a833cb0),
[`f3b66694f`](https://github.com/chakra-ui/chakra-ui/commit/f3b66694f054491dcf8830ec48cd0e4ee77490e0),
[`3ae5df659`](https://github.com/chakra-ui/chakra-ui/commit/3ae5df659a2c6061dbfb57bfce92b5bf3e0b5cd7),
[`49dc149cc`](https://github.com/chakra-ui/chakra-ui/commit/49dc149cc600af83dcde4fa9b6a34a6b14dca837),
[`8705372a0`](https://github.com/chakra-ui/chakra-ui/commit/8705372a014bfd7073fe8012a46d7aa22904370b)]

## @chakra-ui/switch@2.0.15

### Patch Changes

- Updated dependencies
\[[`1377b7280`](https://github.com/chakra-ui/chakra-ui/commit/1377b7280e398aadf70b54c7846a36136c7bd772)]

## @chakra-ui/system@2.3.1

### Patch Changes

- Updated dependencies

## @chakra-ui/theme@2.1.15

### Patch Changes

- [#6857](https://github.com/chakra-ui/chakra-ui/pull/6857)
[`f3b66694f`](https://github.com/chakra-ui/chakra-ui/commit/f3b66694f054491dcf8830ec48cd0e4ee77490e0)
Thanks [@anubra266](https://github.com/anubra266)! - Replace using JS runtime
function in the theme to CSS variables. This removed the need for the `mode`
function in most components.

## @chakra-ui/toast@4.0.1

### Patch Changes

- Updated dependencies
\[[`f3b66694f`](https://github.com/chakra-ui/chakra-ui/commit/f3b66694f054491dcf8830ec48cd0e4ee77490e0)]

## @chakra-ui/visually-hidden@2.0.12

### Patch Changes

- [#6839](https://github.com/chakra-ui/chakra-ui/pull/6839)
[`132a98958`](https://github.com/chakra-ui/chakra-ui/commit/132a98958be64e46619b1e280ca6405d0a833cb0)
Thanks [@mountainash](https://github.com/mountainash)! - Removed unneeded
units for zero values `0px -> 0`

## @chakra-ui/react-use-focus-effect@2.0.6

### Patch Changes

- [#6863](https://github.com/chakra-ui/chakra-ui/pull/6863)
[`49dc149cc`](https://github.com/chakra-ui/chakra-ui/commit/49dc149cc600af83dcde4fa9b6a34a6b14dca837)
Thanks [@Andarist](https://github.com/Andarist)! - Fixed issue where focus
sometimes moved back to the open element when it was intentionally moved away
from it.

## @chakra-ui/hooks@2.1.1

### Patch Changes

- [#6863](https://github.com/chakra-ui/chakra-ui/pull/6863)
[`49dc149cc`](https://github.com/chakra-ui/chakra-ui/commit/49dc149cc600af83dcde4fa9b6a34a6b14dca837)
Thanks [@Andarist](https://github.com/Andarist)! - Fixed issue where focus
sometimes moved back to the open element when it was intentionally moved away
from it.

## @chakra-ui/theme-utils@2.0.2

### Patch Changes

- Updated dependencies
\[[`f3b66694f`](https://github.com/chakra-ui/chakra-ui/commit/f3b66694f054491dcf8830ec48cd0e4ee77490e0)]

## @chakra-ui/props-docs@2.0.23

### Patch Changes

- Updated dependencies

## @chakra-ui/test-utils@2.0.23

### Patch Changes

- Updated dependencies
\[[`f3b66694f`](https://github.com/chakra-ui/chakra-ui/commit/f3b66694f054491dcf8830ec48cd0e4ee77490e0)]
53 changes: 53 additions & 0 deletions content/changelog/v2.4.0.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: Version 2.4.0
description:
Explore the changelog for Chakra UI version 2.4.0. Learn about the latest
features, bug fixes, and improvements.
releaseUrl: https://github.com/chakra-ui/chakra-ui/pull/6948
releaseDate: November 14, 2022
version: 2.4.0
---

## All packages

Fix issue where using `@chakra-ui/react` or any sub-package in a TypeScript
project with `"type": "module"` in `package.json` and
`"moduleResolution": "Node16"` in `tsconfig.json` cannot find the types.

## @chakra-ui/card@2.1.0

Introduced new `Card` component

```jsx live=false
export function Basic() {
return (
<Card>
<CardHeader>
<Heading size="md"> Customer dashboard</Heading>
</CardHeader>
<CardBody>
<Text>View a summary of all your customers over the last month.</Text>
</CardBody>
<CardFooter>
<Button>View here</Button>
</CardFooter>
</Card>
)
}
```

## @chakra-ui/system@2.3.2

Remove `Dict` type dependency from `createStyleContext`

## @chakra-ui/tooltip@2.2.1

Fixed issue where dynamically changing a tooltip's `isDisabled` when it is open
didn't have any effect.

Now, changing the `isDisabled` prop will close the tooltip leading to a more
consistent behavior.

## @chakra-ui/theme@2.2.0

Refactor theme to use CSS variables
72 changes: 72 additions & 0 deletions content/changelog/v2.4.1.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
title: Version 2.4.1
description:
Explore the changelog for Chakra UI version 2.4.1. Learn about the latest
features, bug fixes, and improvements.
releaseUrl: https://github.com/chakra-ui/chakra-ui/pull/6983
releaseDate: November 14, 2022
version: 2.4.1
---

## @chakra-ui/card@2.1.1

### Patch Changes

- [`33e039e2e`](https://github.com/chakra-ui/chakra-ui/commit/33e039e2e0f52bfef20eddd13005534812ccb654)
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix
`React is not defined` issue when importing `Card` component.

## @chakra-ui/provider@2.0.23

### Patch Changes

- Updated dependencies

## @chakra-ui/react@2.4.1

### Patch Changes

- Updated dependencies
\[[`33e039e2e`](https://github.com/chakra-ui/chakra-ui/commit/33e039e2e0f52bfef20eddd13005534812ccb654),
[`cbd09c31f`](https://github.com/chakra-ui/chakra-ui/commit/cbd09c31ff7134157906dbaeaaea5a920185e36a)]

## @chakra-ui/system@2.3.3

### Patch Changes

- Updated dependencies

## @chakra-ui/theme@2.2.1

### Patch Changes

- [`cbd09c31f`](https://github.com/chakra-ui/chakra-ui/commit/cbd09c31ff7134157906dbaeaaea5a920185e36a)
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix TypeScript
errors and format files

## @chakra-ui/toast@4.0.3

### Patch Changes

- Updated dependencies
\[[`cbd09c31f`](https://github.com/chakra-ui/chakra-ui/commit/cbd09c31ff7134157906dbaeaaea5a920185e36a)]

## @chakra-ui/theme-utils@2.0.4

### Patch Changes

- Updated dependencies
\[[`cbd09c31f`](https://github.com/chakra-ui/chakra-ui/commit/cbd09c31ff7134157906dbaeaaea5a920185e36a)]

## @chakra-ui/props-docs@2.0.25

### Patch Changes

- Updated dependencies

## @chakra-ui/test-utils@2.0.25

### Patch Changes

- Updated dependencies
\[[`cbd09c31f`](https://github.com/chakra-ui/chakra-ui/commit/cbd09c31ff7134157906dbaeaaea5a920185e36a)]
Loading