CoreUI for React v5.4.1

CoreUI for React v5.4.1

We are excited to announce the release of CoreUI for React v5.4.1. 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.4.1, follow these steps:

  1. Open your project’s package.json.
  2. Locate the @coreui/react entry under dependencies and update the version number to 5.4.1.
  3. Find the @coreui/coreui entry under dependencies and update the version number to 5.2.0.
  4. Save your changes to the package.json file.
  5. 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.

What’s New

Fixes

  • fix(CListGroup): Ensure props are passed correctly to the component.
  • fix(CNavGroup): Set default height state to 0 to enable toggle animations on the first run.

Refactors

  • refactor(CPopover, CTooltip): Enhanced fade animation for smoother transitions.

Dependency Updates

This release includes updates to critical dependencies to ensure compatibility and stability:

  • Updated @coreui/coreui from ^5.1.2 to ^5.2.0
  • Updated @docsearch/css from ^3.6.1 to ^3.6.2
  • Updated @mdx-js/mdx from ^3.0.1 to ^3.1.0
  • Updated @mdx-js/react from ^3.0.1 to ^3.1.0
  • Updated @rollup/plugin-commonjs from ^26.0.1 to ^28.0.1
  • Updated @rollup/plugin-node-resolve from ^15.2.3 to ^15.3.0
  • Updated @rollup/plugin-typescript from ^11.1.6 to ^12.1.1
  • Updated @testing-library/jest-dom from ^6.5.0 to ^6.6.2
  • Updated @types/jest from ^29.5.13 to ^29.5.14
  • Updated @types/react from 18.3.8 to 18.3.12
  • Updated @types/react-dom from ^18.3.0 to ^18.3.1
  • Updated @typescript-eslint/eslint-plugin from ^8.6.0 to ^8.12.1
  • Updated @typescript-eslint/parser from ^8.6.0 to ^8.12.1
  • Updated eslint-plugin-react from ^7.36.1 to ^7.37.2
  • Updated eslint-plugin-react-hooks from ^4.6.2 to ^5.0.0
  • Updated eslint-plugin-unicorn from ^55.0.0 to ^56.0.0
  • Updated rollup from ^4.22.4 to ^4.24.2
  • Updated sass from ^1.79.3 to ^1.80.4
  • Updated tslib from ^2.7.0 to ^2.8.0
  • Updated typescript from ^5.6.2 to ^5.6.3

For a comprehensive overview of all enhancements, fixes, and updates introduced in this version, please refer to the full changelog on GitHub.

Subscribe to our newsletter
Get early information about new products, product updates and blog posts.
How to convert a string to boolean in JavaScript
How to convert a string to boolean in JavaScript

How to show or hide elements in React? A Step-by-Step Guide.
How to show or hide elements in React? A Step-by-Step Guide.

How to set focus on an input field after rendering in React
How to set focus on an input field after rendering in React

Passing props to child components in React function components
Passing props to child components in React function components

How to loop inside React JSX
How to loop inside React JSX

How to validate an email address in JavaScript
How to validate an email address in JavaScript