CoreUI v5.1.2

CoreUI v5.1.2

We are pleased to announce the release of CoreUI v5.1.2. 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 v5.1.2, follow these steps:

  1. Open your project’s package.json.
  2. Locate the @coreui/coreui entry under dependencies and update the version number to 5.1.2.
  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.
  • Fixed default values and description content in the options table.
  • Updated WCAG links and references.
  • Mentioned text transform classes.
  • Switched to using hugo.IsProduction.
  • Fixed the position of the search modal to avoid interface blocking at small breakpoints.
  • Removed useless crossorigin="anonymous" attributes.

Fixes

  • 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.

Refactors

  • Optimized SVG files.
  • Merged accordion selectors for the border-radius rule.

Chore

  • Updated dependencies and devDependencies.
  • Ignored ESLint temporarily.

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.

For a detailed overview of all the 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.
What is the Difference Between typeof and instanceof in JavaScript
What is the Difference Between typeof and instanceof in JavaScript

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