Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sparkle] - fix:
DataTable
responsiveness (#6680)
* [sparkle] - feature: add responsive column hiding to DataTable component - Introduce `responsiveHiddenColumns` prop to allow specific columns to be hidden on smaller screens - Enhance `DataTable` cells with conditional classNames to handle visibility based on `responsiveHiddenColumns` configuration - Update `DataTable` stories to demonstrate the new responsive column hiding feature with the `lastUpdated` column * [sparkle] - feature: bump package version to 0.2.202 - Update the @dust-tt/sparkle package to new patch version 0.2.202 for next release cycle * [sparkle] - refactor: rename hidden columns property for clarity - Changed the property name from `responsiveHiddenColumns` to `mobileHiddenColumns` to better reflect its purpose - Updated all instances of `responsiveHiddenColumns` to the new name, ensuring consistency in the component and story files * [sparkle] - feature: implement dynamic column breakpoints in DataTable - Replaced `mobileHiddenColumns` with `columnsBreakpoints` to allow dynamic breakpoint handling for responsive design - Columns can now individually specify their visibility at different screen sizes using the new `ColumnBreakpoint` interface - Updated DataTable stories to reflect the new `columnsBreakpoints` property usage --------- Co-authored-by: Jules <jules@MacBook-Pro.local>
- Loading branch information