Movatterモバイル変換


[0]ホーム

URL:


CoreUI PRO for React v5.21.0

calendarWednesday, September 17, 2025
CoreUI PRO for React v5.21.0

We are pleased to announceCoreUI PRO for React v5.21.0 — a comprehensive release that introduces enhanced date picker functionality with input delay options, improved accessibility features, performance optimizations, and dependency updates for better stability and security.


Speed up your responsive apps and websites with fully-featured, ready-to-use open-source admin panel templates—free to use and built for efficiency.


How to Upgrade

To update your project toCoreUI PRO for React v5.21.0, follow these steps:

  1. Open yourpackage.json.
  2. Update the following dependencies:
    • @coreui/react-pro to5.21.0
    • @coreui/coreui-pro to5.20.0
  3. Save the file.
  4. Run your package manager:
    • npm:npm install
    • yarn:yarn install

🚀 What’s New

✨ New Features

CDatePicker & CDateRangePicker & CTimePicker

  • Input Change Delay: AddedinputOnChangeDelay prop with 750ms default for better user experience
    • Reduces excessive API calls during manual input
    • Configurable delay timing for different use cases
    • Improved performance for real-time validation scenarios
    • Better handling of user typing patterns
// Customize input delay for different scenarios<CDatePickerinputOnChangeDelay={1000}/>// Faster response for simple validation<CDateRangePickerinputOnChangeDelay={500}/>// Use default 750ms delay<CTimePicker/>

Enhanced Focus Management

  • Focus Trap Implementation: Added comprehensive focus trap functionality for better accessibility
    • Improved keyboard navigation in date picker modals
    • Better screen reader support
    • WCAG 2.1 compliance enhancements
    • Seamless focus management between calendar and input elements

🛠 Component Improvements

Date and Time Components

  • Robust Date Parsing: Enhanced locale-aware date parsing for manual input
  • Input Validation: Improved validation for user-typed dates with better error handling
  • Calendar Optimization: Optimized calendar cell attribute calculations for better performance
  • UI Refinements: Enhanced styling for calendar navigation buttons and input groups

General Components

  • Performance Optimizations: Reduced rendering overhead across all components
  • Cross-browser Compatibility: Enhanced compatibility with latest browser versions
  • TypeScript Support: Improved type definitions for new props and features

🛠 Code Quality Improvements

  • Component Architecture: Enhanced internal structure for better maintainability
  • Documentation Updates: Comprehensive updates to component documentation and examples
  • Code Cleanup: General maintenance and optimization across all components
  • Testing Coverage: Expanded test coverage for new features and edge cases

📦 Dependency Updates

This release includes important dependency updates for enhanced performance, security, and compatibility:

Core Dependencies

  • Updated@coreui/coreui-pro from^5.19.0 to^5.20.0

Development Tools

  • Updated@typescript-eslint/parser from^8.39.0 to^8.40.0
  • Updatedeslint from^9.33.0 to^9.35.0
  • Updatedeslint-plugin-prettier from^5.5.4 to^5.6.0
  • Updatedgatsby from^5.14.6 to^5.15.0
  • Updatedtypescript-eslint from^8.39.0 to^8.40.0
  • Updatedsass from^1.90.0 to^1.78.0
  • Updatedrollup from^4.20.0 to^4.21.0

🎯 Enhanced User Experience

Input Change Delay Feature

The newinputOnChangeDelay provides:

  • Debounced Input Handling: Reduces unnecessary onChange events while users are typing
  • API Call Optimization: Prevents excessive API requests during manual date entry
  • Configurable Timing: Developers can adjust delay based on their specific requirements
  • Performance Benefits: Improved responsiveness in data-heavy applications

Accessibility Enhancements

Enhanced accessibility features include:

  • Focus Trap Implementation: Proper focus management in modal contexts
  • Keyboard Navigation: Improved arrow key and tab navigation
  • Screen Reader Support: Better ARIA labels and announcements
  • WCAG 2.1 Compliance: Enhanced color contrast and interaction patterns

💡 Migration Notes

New Props

The following new prop is available for date and time picker components:

// Date Picker with custom input delay<CDatePickerinputOnChangeDelay={1000}//Custom1-seconddelay//...otherprops/>// Time Picker with default delay<CTimePickerinputOnChangeDelay={750}//Default750msdelay//...otherprops/>// Date Range Picker with faster response<CDateRangePickerinputOnChangeDelay={250}//Quick250msdelay//...otherprops/>

No Breaking Changes

All changes are backward compatible. Existing date picker implementations will continue to work without modifications while benefiting from the new input delay functionality with sensible defaults.

📖 Technical Details

TheinputOnChangeDelay feature is implemented with:

  • Optimized debouncing mechanism for smooth user interactions
  • Proper cleanup of pending timeouts during component lifecycle
  • Integration with existing validation and formatting logic
  • Support for all date and time picker variants
  • Memory-efficient implementation with minimal overhead

Focus Trap Implementation

The enhanced focus management provides:

  • Automatic focus trapping within date picker modals
  • Proper focus restoration when closing components
  • Support for escape key handling
  • Integration with existing keyboard navigation

Upgrade to CoreUI PRO for React v5.21.0 today to provide your users with enhanced date and time selection experiences. This release demonstrates our commitment to continuously improving user interface components with thoughtful, performance-focused features.

📚 Learn More

For detailed documentation and implementation examples, visit:

Subscribe to our newsletter
Get early information about new products, product updates and blog posts.
How to Conditionally Add a Property to an Object in JavaScript
How to Conditionally Add a Property to an Object in JavaScript
calendarMonday, January 13, 2025

What is JavaScript Array.pop() Method?
What is JavaScript Array.pop() Method?
calendarMonday, March 18, 2024

How to Remove Underline from Link in CSS
How to Remove Underline from Link in CSS
calendarThursday, June 13, 2024

How to Add a Bootstrap Modal in React Without Breaking React – The CoreUI Way
How to Add a Bootstrap Modal in React Without Breaking React – The CoreUI Way
calendarTuesday, June 17, 2025

Answers by CoreUI Core Team

How to use ngIf in Angular
How to handle form input in Vue
How to use CSS modules in Vue
How to add days to date in JavaScript
How to pass props in React
How to remove a specific item from an array in JavaScript

[8]ページ先頭

©2009-2025 Movatter.jp