CoreUI for React v5.5.0

We are excited to announce the release of CoreUI for React v5.5.0. This update introduces new features, important refactors, and dependency updates to enhance the functionality and performance of the CoreUI library.
How to Update
To update your project to CoreUI for React v5.5.0, follow these steps:
- Open your project’s
package.json
. - Locate the
@coreui/react
entry under dependencies and update the version number to5.5.0
. - Find the
@coreui/coreui
entry under dependencies and update the version number to5.2.0
. - Save your changes to the
package.json
file. - In your project’s root directory, run the update command appropriate for your package manager:
- For npm users, execute
npm install
. - For yarn users, execute
yarn install
.
- For npm users, execute
What’s New
This release introduces key enhancements, accessibility improvements, and crucial bug fixes to optimize your development experience with CoreUI for React.
Features
- CDropdown, CPopover, CTooltip: Added support for custom Popper configurations, offering greater flexibility in positioning.
- CSidebar: Introduced the
as
prop, allowing customization of the component’s rendered element.
Fixes
- CModal: Resolved an issue where the
onClose
event was emitted twice. - CNavGroup: Added the missing
href
attribute to the toggler for improved navigation.
Accessibility & Refactors
- CAccordion: Improved accessibility for better usability.
- CDropdown: Removed
aria-hidden
attribute to enhance component accessibility.
Dependency Updates
This update ensures compatibility, stability, and performance improvements by upgrading key dependencies:
- Updated
@docsearch/css
from^3.8.1
to^3.8.3
- Updated
@docsearch/react
from^3.8.1
to^3.8.3
- Updated
@rollup/plugin-commonjs
from^28.0.1
to^28.0.2
- Updated
@rollup/plugin-node-resolve
from^15.3.0
to^16.0.0
- Updated
@rollup/plugin-typescript
from^12.1.1
to^12.1.2
- Updated
@testing-library/jest-dom
from^6.6.2
to^6.6.3
- Updated
@testing-library/react
from^16.0.1
to^16.2.0
- Updated
@types/react
from18.3.12
to18.3.18
- Updated
@types/react-dom
from^18.3.1
to^18.3.5
- Updated
@types/react-transition-group
from^4.4.11
to^4.4.12
- Updated
@typescript-eslint/eslint-plugin
from^8.12.1
to^8.23.0
- Updated
@typescript-eslint/parser
from^8.12.1
to^8.23.0
- Updated
eslint
from^9.17.0
to^9.19.0
- Updated
eslint-config-prettier
from^9.1.0
to^10.0.1
- Updated
eslint-plugin-prettier
from^5.2.1
to^5.2.3
- Updated
eslint-plugin-react
from^7.37.2
to^7.37.4
- Updated
eslint-plugin-react-hooks
from^5.0.0
to^5.1.0
- Updated
eslint-plugin-unicorn
from^56.0.0
to^56.0.1
- Updated
gatsby
from^5.13.7
to^5.14.1
- Updated
gatsby-plugin-google-tagmanager
from^5.13.1
to^5.14.0
- Updated
gatsby-plugin-image
from^3.13.1
to^3.14.0
- Updated
gatsby-plugin-manifest
from^5.13.1
to^5.14.0
- Updated
gatsby-plugin-mdx
from^5.13.1
to^5.14.0
- Updated
gatsby-plugin-offline
from^6.13.3
to^6.14.0
- Updated
gatsby-plugin-sass
from^6.13.1
to^6.14.0
- Updated
gatsby-plugin-sharp
from^5.13.1
to^5.14.0
- Updated
gatsby-plugin-sitemap
from^6.13.1
to^6.14.0
- Updated
gatsby-remark-autolink-headers
from^6.13.1
to^6.14.0
- Updated
gatsby-source-filesystem
from^5.13.1
to^5.14.0
- Updated
gatsby-transformer-sharp
from^5.13.1
to^5.14.0
- Updated
lerna
from^8.1.8
to^8.1.9
- Updated
prettier
from^3.3.3
to^3.4.2
- Updated
prism-react-renderer
from^2.4.0
to^2.4.1
- Updated
rollup
from^4.24.2
to^4.34.4
- Updated
sass
from^1.80.4
to^1.84.0
- Updated
tslib
from^2.8.0
to^2.8.1
- Updated
typescript
from^5.6.3
to^5.7.3
Stay up to date with CoreUI for React to leverage the latest features and improvements. 🚀
For a comprehensive overview of all enhancements, fixes, and updates introduced in this version, please refer to the full changelog on GitHub.