0.11.0
New:
- Support Kotlin 1.9.22 via JetBrains Compose compiler 1.5.10.
Filler
composable is like aSpacer
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
, andModifier.defaultMinSize
help size composable measurement in relation to their parent.Modifier.weight
allows sizing a composable proportionally to others within the same parent.Row
andColumn
each feature an arrangement parameter which controls the placement of children on the main axis of the container.
Changed:
Modifier
parameter is now universally calledmodifier
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.