v41.0.0
Breaking Changes
This release brings all packages under one main package. This means that instead of installing multiple packages for different parts of Coral, you can now just install one package and import everything from there.
No more version mismatches between packages.
Steps to upgrade:
Upgrade your Coral dependencies to version 41
Remove any other coral-* package you have installed, except for coral-design
Use our codemod to update all of your imports
npx @krakentech/codemods coral-imports-to-subpathsThis will do a find and replace for all of your imports, for example:
Manually update CoralConfigProvider import location
Manually update hooks import location
- The following hooks now import from
@.../coral/hooksuseHeaderHeightuseCoralBreakpointsuseCoralStripe
Run your site and check everything is working as expected
Last updated on