Version 2.2.0
v2.2.0@chakra-ui/checkbox@2.1.0#
Minor Changes#
-
#6153
bcbfcbcce
Thanks @segunadebayo! - Remove annoying focus outline by leveraging focus visible -
#6153
bcbfcbcce
Thanks @segunadebayo! - Track focus visible and adddata-focus-visible
togetCheckboxProps
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/media-query@3.1.0#
Minor Changes#
-
#6157
95bcaf1ff
Thanks @segunadebayo! - Add support for client-side rendered (CSR) apps to get the correct value on first render.Affected hooks:
useMediaQuery
,useBreakpoint
,useBreakpointValue
.These hooks are built work in server-side rendering (SSR) applications by default. You might notice a quick flash of incorrect media query value when you use them.
If you're creating a CSR-only app, you can now leverage the
ssr
argument to get the correct value on first render.const [isMobile] = useMediaQuery("(max-width: 768px)", {// you can now pass `ssr: false`ssr: false,})const buttonSize = useBreakpointValue({ base: "sm", lg: "md" },// you can now pass `ssr: false`{ ssr: false },)// you can now pass `ssr: false`const breakpoint = useBreakpoint({ ssr: false })
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/react@2.2.0#
Minor Changes#
-
#6153
400a2091a
Thanks @segunadebayo! - - Ensure components show focus outline only when interacting with the keyboard.- Migrate components to use
_focusVisible
instead of_focus
selectors to indicate focus.
🚨 NOTE: This might be a potential breaking change for consumers who use the
extendTheme
with the_focus
styles. Kindly migrate to_focusVisible
. - Migrate components to use
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
bcbfcbcce
,b6083bb16
,95bcaf1ff
,06f29f8cd
,7de782f04
,424090429
,bcbfcbcce
]
@chakra-ui/styled-system@2.2.0#
Minor Changes#
-
#6153
bcbfcbcce
Thanks @segunadebayo! - Remove annoying focus outline by leveraging focus visible -
#6153
bcbfcbcce
Thanks @segunadebayo! - Add support for stylingdata-focus-visible
using the_focusVisible
pseudo prop
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/theme@2.1.0#
Minor Changes#
- #6153
bcbfcbcce
Thanks @segunadebayo! - Remove annoying focus outline by leveraging focus visible
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/cli@2.1.0#
Minor Changes#
-
#6117
154fee7f1
Thanks @TimKolberger! - New watch flag for the tokens command. You can specify a directory path to watch for changes. It defaults to the parent dir of<source>
, e.g.src/theme/theme.ts
=>src/theme
.> chakra-cli tokens src/theme/theme.ts --watch> chakra-cli tokens --helpUsage: chakra-cli tokens [options] <source>Options:--out <path> output file e.g. node_modules/@chakra-ui/styled-system/dist/declarations/src/theming.types.d.ts--strict-component-types Generate strict types for props variant and size--watch [path] Watch directory for changes and rebuild-h, --help display help for command
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6117
5ce803dde
Thanks @TimKolberger! - Fixed an issue where the tokens command failed withSyntaxError: Undefined label 'e'
. -
Updated dependencies [
06f29f8cd
]
storybook-addon@2.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/accordion@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/alert@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/anatomy@2.0.1#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/avatar@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/breadcrumb@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/button@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/clickable@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/close-button@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/color-mode@2.0.4#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/control-box@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/counter@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/css-reset@2.0.1#
Patch Changes#
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/descendant@3.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/editable@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/react-env@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/focus-lock@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/form-control@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/hooks@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/icon@3.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/icons@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/image@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/input@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function.
@chakra-ui/layout@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/live-region@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/menu@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/modal@2.0.3#
Patch Changes#
-
#6155
b6083bb16
Thanks @itkrt2y! - Fix shifting screen when opening modal -
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/number-input@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function.
@chakra-ui/pin-input@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/popover@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/popper@3.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/portal@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/progress@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/provider@2.0.5#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/radio@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6119
424090429
Thanks @itkrt2y! - Fix a bug in chromium browsers where the modal position would change when focusing on the radio button in the modal which has some long content.
@chakra-ui/react-utils@2.0.1#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/select@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/skeleton@2.0.5#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/skip-nav@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/slider@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/spinner@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/stat@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/switch@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/system@2.1.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function.
@chakra-ui/table@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/tabs@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/tag@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. -
Updated dependencies [
06f29f8cd
]
@chakra-ui/textarea@2.0.3#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/theme-tools@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/toast@2.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/tooltip@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/transition@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/utils@2.0.2#
Patch Changes#
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/visually-hidden@2.0.2#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
06f29f8cd
]
@chakra-ui/babel-plugin@1.0.3#
Patch Changes#
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/cra-template@2.0.2#
Patch Changes#
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/cra-template-typescript@2.0.2#
Patch Changes#
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/gatsby-plugin@3.0.1#
Patch Changes#
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/props-docs@2.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
Updated dependencies [
bcbfcbcce
,400a2091a
,06f29f8cd
,bcbfcbcce
]
@chakra-ui/storybook-addon@4.0.0#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues -
#6152
06a09312a
Thanks @itkrt2y! - Update storybook dependency
create-react-app-ts@2.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
gatsby-starter-default@1.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
chakra-nextjs@2.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
chakra-nextjs-ts@2.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
vite-ts@1.0.1#
Patch Changes#
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
@chakra-ui/test-utils@2.0.6#
Patch Changes#
-
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues