storybook-addon@2.0.1
Patch Changes
- Updated dependencies
@chakra-ui/checkbox@2.0.1
Patch Changes
7eaf538a4
Thanks @segunadebayo! - Fix issue where checkbox doesn't reset the the form reset event is triggered
@chakra-ui/color-mode@2.0.1
Patch Changes
#6030
17aeb7185
Thanks @RagOfJoes! - - Improve SSR for color mode by addingmanager.get()
in the default stateAdd support
disableTransitionOnChange
option inColorModeProvider
andtheme.config
to control whether the transition of all elements should be temporarily disabled while the color mode changes.Expose
cookieStorageManagerSSR
for users who prefer to manage color mode server-side. If you use this, there's no need for theColorModeScript
function App({ Component, pageProps }) {
// get the `cookie` from each page `getServerSideProps` return value
// Note: the implementation is up to you
const manager = cookieStorageManagerSSR(pageProps.cookie);
return (
<ChakraProvider manager={manager}>
<Component />
</ChakraProvider>
);
}#6035
b7bdbb482
Thanks @segunadebayo! - We now provide a way to customize the localStorage / cookie storage keyimport { createLocalStorageManager } from '@chakra-ui/react';
const manager = createLocalStorageManager('my-key');
// in root
function App() {
return <ChakraProvider colorModeManager={manager} />;
}
// in script
function Document() {
return <ColorModeScript storageKey='my-key' />;
}#6035
fb99cd7a8
Thanks @segunadebayo! - Fix inconsistent handling across provider and script
@chakra-ui/provider@2.0.1
Patch Changes
- Updated dependencies
@chakra-ui/react@2.0.1
Patch Changes
@chakra-ui/skeleton@2.0.1
Patch Changes
- Updated dependencies
@chakra-ui/switch@2.0.1
Patch Changes
- Updated dependencies
[
7eaf538a4
]
@chakra-ui/system@2.0.1
Patch Changes
@chakra-ui/theme@2.0.1
Patch Changes
- #6038
a9099c106
Thanks @segunadebayo! - Refactor global theme to use semantic token to prevent flash of white
@chakra-ui/toast@2.0.1
Patch Changes
#6037
3996f46d1
Thanks @TylerAPfledderer! - Revert toast's default variant tosolid
Updated dependencies [
a9099c106
]
@chakra-ui/props-docs@2.0.1
Patch Changes
- Updated dependencies
@chakra-ui/storybook-addon@2.0.1
Patch Changes
- Updated dependencies
create-react-app-ts@2.0.1
Patch Changes
- Updated dependencies
gatsby-starter-default@1.0.1
Patch Changes
- Updated dependencies
chakra-nextjs@2.0.1
Patch Changes
- Updated dependencies
chakra-nextjs-ts@2.0.1
Patch Changes
- Updated dependencies
@chakra-ui/test-utils@2.0.1
Patch Changes
- Updated dependencies