CoreUI PRO for React v5.8.0

CoreUI PRO for React v5.8.0

We are excited to announce the release of CoreUI PRO for React v5.8.0. This update introduces new features, important refactors, and dependency updates to enhance the functionality and performance of the CoreUI PRO library.

How to Update

To update your project to CoreUI PRO for React v5.8.0, follow these steps:

  1. Open your project’s package.json.
  2. Locate the @coreui/react-pro entry under dependencies and update the version number to 5.8.0.
  3. Find the @coreui/coreui-pro entry under dependencies and update the version number to 5.6.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

Documentation

  • docs: Updated content for better clarity and completeness.

Features

  • feat(CMultiSelect): Added ability to append the dropdown to a specific element.
  • feat(CMultiSelect): Introduced a global search option, improved keyboard support, and enhanced accessibility.
  • feat(useDropdownWithPopper): Added a new hook for better dropdown positioning.

Fixes

  • fix(CMultiSelect): Improved handling of selected options when the multiple attribute is set to false.

Refactors

  • refactor(CCalendar): Enhanced handling of time zones, especially when the selection type is set to month or year.
  • refactor(CMultiSelect): Implemented minor improvements for better performance and maintainability.

Dependency Updates

This release includes updates to various dependencies, ensuring compatibility, security, and performance improvements:

  • Updated @coreui/coreui-pro from ^5.5.0 to ^5.6.0
  • 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 detailed 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