CoreUI PRO v5.4.0
Thursday, August 22, 2024
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:
- Open your project’s
package.json
. - Locate the
@coreui/coreui-pro
entry under dependencies and update the version number to5.4.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
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
from5.31.3
to5.31.6
.