CoreUI PRO v5.4.0

CoreUI PRO v5.4.0

We are pleased to announce the release of CoreUI PRO v5.4.0. This update addresses several key fixes and includes updates to critical dependencies, enhancing the stability and performance of the CoreUI library.

How to Update

To ensure a smooth transition to CoreUI PRO v5.4.0, follow these steps:

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

Build

  • Updated ESLint configuration.
  • Updated Hugo server options.

Documentation

  • Optimized scripts and styles.
  • Added Accordion component in the JS components section.
  • Updated WCAG links and references.
  • Fixed default values and description content in the options table.
  • Mentioned text transform classes.
  • Switched to using hugo.IsProduction.
  • Fixed the position of the search modal to avoid interface blocking at small breakpoints.
  • Removed unnecessary crossorigin="anonymous" attributes.
  • Added Calendar component documentation.

Fixes

  • Fixed unnecessary use of .length as the end argument.
  • Fixed the .btn-group-vertical border radius with a dropdown as the first element in Button Group.
  • Fixed max-width and background-color issues in Floating Labels.
  • Corrected the this reference for JavaScript functions.
  • Resolved time zone issues in Calendar component.

Refactors

  • Optimized SVG files.
  • Merged accordion selectors for the border-radius rule.
  • Improved responsive behavior in the Calendar component.
  • Improved the structure of the Calendar component.

Features

  • Enhanced accessibility handling in Calendar, DatePicker, and DateRangePicker.

Dependency Updates

This release also includes updates to several dependencies to ensure compatibility with the latest features and security patches:

  • Updated @babel/preset-env from ^7.25.3 to ^7.25.4.
  • Updated autoprefixer from ^10.4.19 to ^10.4.20.
  • Updated hugo-bin from ^0.127.0 to ^0.129.2.
  • Updated postcss from ^8.4.40 to ^8.4.41.
  • Updated rollup from ^4.19.2 to ^4.21.0.
  • Updated stylelint from ^16.8.1 to ^16.8.2.
  • Updated terser from 5.31.3 to 5.31.6.

Subscribe to our newsletter
Get early information about new products, product updates and blog posts.
How to conditionally add attributes to React components
How to conditionally add attributes to React components

How to force a React component to re-render
How to force a React component to re-render

What are the three dots `...` in JavaScript do?
What are the three dots `...` in JavaScript do?

How to replace all occurrences of a string in JavaScript?
How to replace all occurrences of a string in JavaScript?

How to remove a property from an object in Javascript
How to remove a property from an object in Javascript

The Wacky World of JavaScript: Unraveling the Oddities
The Wacky World of JavaScript: Unraveling the Oddities