github JakeWharton/mosaic 0.11.0

latest releases: 0.16.0, 0.15.0, 0.14.0...
12 months ago

New:

  • Support Kotlin 1.9.22 via JetBrains Compose compiler 1.5.10.
  • Filler composable is like a Spacer but fills its area with a character instead of a space.
  • Box without content provides the ability to render using drawing modifiers without needing an empty chidlren lambda.
  • Modifier.aspectRatio attempts to constrain a composable to an aspect ratio in either the vertical or horizontal direction.
  • Modifier.offset offsets the composable in its parent by the given coordinates.
  • Modifier.fillMaxWidth, Modifier.fillMaxHeight, Modifier.fillMaxSize, Modifier.wrapContentWidth, Modifier.wrapContentHeight, Modifier.wrapContentSize, and Modifier.defaultMinSize help size composable measurement in relation to their parent.
  • Modifier.weight allows sizing a composable proportionally to others within the same parent.
  • Row and Column each feature an arrangement parameter which controls the placement of children on the main axis of the container.

Changed:

  • Modifier parameter is now universally called modifier in the API.
  • Disable decoy generation for JS target to make compatible with JetBrains Compose 1.6. This is an ABI-breaking change, so all Compose-based libraries targeting JS will also need to have been recompiled.

Fix:

  • Ensure ANSI control sequences are written properly to Windows terminals.
  • Robot sample now correctly moves on Windows.

This version works with Kotlin 1.9.22 by default.

Don't miss a new mosaic release

NewReleases is sending notifications on new releases.