Skip to content

v0.7.0

Compare
Choose a tag to compare
@mahozad mahozad released this 20 Jan 16:03
· 100 commits to main since this release
7c7c344

Changelog

  • Add ability to change wave movement speed or stop it altogether (using the new wavePeriod parameter)
    • Note that the speed of the wave movement will depend on the waveLength
    • Setting to 0.seconds or to a duration outside the range Int.MIN_VALUE..Int.MAX_VALUE.milliseconds stops the animation
  • Rename AnimationDirection to WaveMovement
  • Rename WaveMovement.UNSPECIFIED entry to WaveMovement.AUTO
  • Make waveMovement change smoothly
  • Provide default values for parameters of the default track used for the Material 3 variant
  • Clean and expose default values (you need to import the extension properties)
    • Provide default values for Material 2 variant as extension properties on the existing Material 2 SliderDefaults
    • Provide default values for Material 3 variant as extension properties on the existing Material 3 SliderDefaults
    • Remove WavySliderDefaults used for the Material 3 variant
  • Make trackThickness parameter non-null
    • To provide the default value for it either use SliderDefaults.TrackThickness or do not pass the argument at all
    • To hide the track, use 0.dp or a negative dp
  • Reorder parameters of the Composables

For your convenience, an archive of the library artifacts is also available below.