MDB Pro React v8.0.0

Released: Apr 15, 2024

v8.0.0 での更新項目

機能

  • Autocomplete - Changed onSelect to return option data instead of string value only.
  • Improved dev repository to facilitate plugins development and testing.
  • DateTimepicker
    • Removed props: defaultTime, defaultDate, dateFormat, and timeFormat. These options can be passed through timepickerOptions and datepickerOptions.
    • Removed inputRef. Input reference can be reached with forwardRef.
  • Select
    • Props will now be spread on the input instead of the div wrapper.
  • Stepper
    • Added support for validating all form controls in stepper linear.
  • Modal
    • Removed setOpen. Modal will only accept the open prop to manage the open state. Use onClose event to control it.
  • Popconfirm - Added focus trap and improved keyboard accessibility.
  • Calendar - Migrated from SelectDeprecated to Select.
  • Dummy - Migrated from SelectDeprecated to Select.
  • TableEditor - Migrated from SelectDeprecated to Select.
  • Toast - Updated background colors.
  • Lightbox - Removed fontAwesome option.

不具合の修正

  • Timepicker
    • Fixed disabling scroll on mobiles in modal mode.
    • Fixed bug causing hour not to be selected after click on the clock.
    • Fixed issue causing z-index to be not applied correctly.
  • Select
    • Fixed triggering 'onChange' when keyboard is used on the closed select.
  • Transfer - Fixed bug causing endless loop when the data was undefined.
  • Stepper
    • Fixed height calculating in horizontal mode.
  • Collapse - Fixed height calculating when collapse is not initially visible.
  • Modal
    • Fixed bug causing 'undefined is not iterable' error for leaveHiddenModal=false.
    • Fixed a bug causing the backdrop not to be displayed when the modal was quickly closed and reopened.
    • Fixed triggering onOpen and onClose events.
  • Treeview - Fixed collapse animation.