Skip to content

v6.1.0

Compare
Choose a tag to compare
@jbetancur jbetancur released this 03 Jan 01:09
· 355 commits to master since this release
642467f

Features

This release is mainly around the context menu when using selectableRows allowing for better customization/localization.

Selectable Rows Context Menu #406

  • A new prop contextMessage now allows you to override the default message parts. For example, for localization in Spanish contextMessage={{ singular: 'artículo', plural: 'artículos', message: 'seleccionada' }} results in 1 artículo seleccionada or 2 artículos seleccionada
    • RTL is supported if you have the dir=rtl attribute defined on the html or body element.
  • A new prop noContextMenu can now be used to hide the context menu permanently
  • A new prop contextComponent can now be used if you want to pass in your own custom component to the context menu. Should you need access to the number of items selected the custom component will have access to selectedCount via its props. Note thatcontextMessage and contextActions will be ignored when using contextComponent

Fixes

  • #344 Pagination buttons will now be in the correct orientation when using RTL layouts