Casey Baggz
Cerberus Admin
This release provides new features to the Data Grid and introduces the Slider component.
Here is a brief overview of what's new:
This release introduces a new Slider component.
A Slider component that allows you to select a value from a range of values. This is commonly used for selecting a value from a range of values, such as a volume or brightness setting.
There are a ton of features available on the Slider component so here we will just show off the sizes.
Learn more about the Slider component in the Slider docs.
We upgraded the server-side pagination experience in this release which includes both deprecations and enhancements.
To use server-side pagination, you simply add the pagination prop to the Data Grid with a count property.
This will trigger the rendering switch which will opt-out of row virtualization and instead render all the rows based on the page size.
Note
A reminder that when using server-side pagination, you are opting out of automatic pagination control. This means you must manually handle pagination state and update the grid as needed.
View the Data Grid Pagination docs
Migrating from the previous server-side pagination API is very simple:
pagination prop to the Data Grid with a count property.initState.count prop to the pagination.count prop.initState prop from the Data Grid.onPageChange prop to instead be defined at pagination.onPageChange prop.Basically, both initState and onPageChange just move to the pagination prop.
These deprecations will be removed in version 1.9
Along with the Slider and pagination improvements, this release also includes a number of other bugfixes and performance improvements.
select.content shadow only displays as FOUC when you click and item in the listlabel,dragginggradient utility to support none for compatible way to switch between gradient to bgColorThis is another great release introducing some beneficial tools and overall improvements.
A special thanks to everyone who has helped validate the APIs, docs, and submitted features or bugfixes for this release.
There is no "I" in Cerber-"US"
To upgrade to this release, you can install the latest version of Cerberus React:
npm run up:cerberuspnpm run up:cerberusdeno run npm:up:cerberusbun run up:cerberus