title | description | releaseUrl | releaseDate | version |
---|---|---|---|---|
Version 1.7.0 |
Explore the changelog for Chakra UI version 1.7.0. Learn about the latest features, bug fixes, and improvements. |
November 11, 2021 |
1.7.0 |
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
-
#4989
013c90d89
Thanks @takethefake! - Fixed color mode behavior priority in the following order:-
if
useSystemColorMode
is true system-color will be used as default - initial colormode is the fallback if system color mode isn't resolved -
if
--chakra-ui-color-mode
is defined through e.g.ColorModeScript
this will be used -
if
colorModeManager
=localStorage
and a value is defined forchakra-ui-color-mode
this will be used -
if
initialColorMode
=system
system-color will be used as default - initial colormode is the fallback if system color mode isn't resolved -
if
initialColorMode
='light'|'dark'
the corresponding value will be used
-
-
Updated dependencies [
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @chakra-ui/css-reset
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @chakra-ui/css-reset
Note: Version bump only for package @chakra-ui/css-reset
Note: Version bump only for package @chakra-ui/css-reset
Note: Version bump only for package @chakra-ui/css-reset
Note: Version bump only for package @chakra-ui/css-reset
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @chakra-ui/css-reset
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-rc.1 (2020-08-06)
- add svg improvements in css reset (071c329)
- move font feature settings to stat and add default to css reset (2c1ba4b)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-rc.0 (2020-07-26)
Note: Version bump only for package @chakra-ui/css-reset
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-next.7 (2020-07-26)
- issue with input element ui and css-reset (cc221de)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-next.6 (2020-07-15)
Note: Version bump only for package @chakra-ui/css-reset
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-next.5 (2020-07-15)
Note: Version bump only for package @chakra-ui/css-reset
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
- #891 (e107acc)
- ts issue with sx prop (d3b1340)
- select: remove duplicate Select arrow in ie11 (c21681b)
- use pseudo element instead of pseudo class (756cdae)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
- #891 (e107acc)
- ts issue with sx prop (d3b1340)
- select: remove duplicate Select arrow in ie11 (c21681b)
- use pseudo element instead of pseudo class (756cdae)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
- #891 (e107acc)
- select: remove duplicate Select arrow in ie11 (c21681b)
- use pseudo element instead of pseudo class (756cdae)
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
-
#4995
802e0a4d2
Thanks @jesstelford! -react-focus-lock@2.5.1
includes a dependency update offocus-lock
from0.8.1
->0.9.1
. The change infocus-lock
includes a fix for performance in JSDOM: theKashey/focus-lock#24JSDOM is used when testing react components in jest and other unit testing frameworks. In particular, when used with
@testing-library/react
for simulating real user input.Locally tested on an Apple M1 Air using a moderately complex
<Modal>
component (which contained inputs,react-hook-form
usage, etc). Before this change: 20,149ms After this change: 2,347msApprox. 10x performance increase.
-
Updated dependencies [
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
-
#5010
0dd56ab1b
Thanks @jrolfs! - Fixed an styling issue where it was not possible to customize the icon spacing of theSelect
component. -
Updated dependencies [
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- #5020
c7277cdf7
Thanks @burhanuday! - fixed the bug in RangeSlider where an index out of bounds error would occur incase of stacked thumb - Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
-
#5010
0dd56ab1b
Thanks @jrolfs! - Fixed an styling issue where it was not possible to customize the icon spacing of theSelect
component. -
Updated dependencies [
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
@chakra-ui/visually-hidden@1.1.0
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
- Updated dependencies
[
6095eaf9a
]
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]
- Updated dependencies
[
6095eaf9a
]
- Updated dependencies
[
6095eaf9a
]
- Updated dependencies
[
6095eaf9a
]
- Updated dependencies
[
6095eaf9a
]
- Updated dependencies
[
6095eaf9a
]