Skip to content

2.3.3

Compare
Choose a tag to compare
@Tweener Tweener released this 26 Sep 13:57
· 95 commits to main since this release

Full Changelog: 2.3.2...2.3.3


Breaking Changes

  • NavigationBars now have a mandatory icon parameter and an optional label (used to be the other way around).
  • Chip has now two distinct click callbacks: onClick (when the user taps on the whole chip) and onCloseClick (when the user taps on the close icon, if visibile).

New Features

  • Add a Color.parseColor(hex: String) extension function to convert a given hex color to a androidx.compose.ui.graphics.Color:
    val colorNoHashNoAlpha: Color = Color.parseColor("00FF00")
    val colorNoHashWithAlpha: Color = Color.parseColor("FF00FF00")
    val colorWithHashNoAlpha: Color = Color.parseColor("#00FF00")
    val colorWithHashWithAlpha: Color = Color.parseColor("#FF00FF00")
  • New composable TrailingIconText to easily display a text with a trailing icon.

Enhancements

  • LinearProgressBar now handles a progress animation when being drawn.
  • AuthenticationButtons border color now defaults to MaterialTheme.colorScheme.outline (instead of MaterialTheme.colorScheme.onBackgronund).
  • Card now has a onClick callback when the user taps anywhere on the card.

Bug Fixes

None

Performance Improvements

None

Other Changes

val light_myNewColor = Color(0xFF...)
val dark_myNewColor = Color(0xFF...)
val myNewColor = colorResource(colorLight = light_myNewColor, colorDark = dark_myNewColor)

Text(color = myNewColor, ...)