Skip to content

2.4.0

Choose a tag to compare

@cheonjaeung cheonjaeung released this 01 Aug 11:46
· 191 commits to main since this release

This release contains breaking changes for the experimental feature, BoxGrid. BoxGridScope's rowSpan and columnSpan modifier is replaced to span modifier. And also span modifier's parameter now receive BoxGridItemSpanScope instead of GridItemSpanScope. It contains more information for calculating box grid item span.

Changed

  • Add Modifier.position to BoxGridScope for setting row/column cell position at the same time.
  • Add Modifier.span to BoxGridScope for setting row/column span at the same time.
  • Add BoxGridItemSpanScope for span modifier of BoxGridScope.
  • Add BoxGridItemSpan. It is a container represents row/column span size.
  • Remove Modifier.rowSpan and Modifier.columnSpan from BoxGridScope.
  • Remove deprecated HorizontalGrid and VerticalGrid with alignment parameter.
    Replace it to composable with contentAlignment parameter.
  • Fix remaining cell size distribution of SimpleGridCell more properly.