v0.7.0
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 rangeInt.MIN_VALUE..Int.MAX_VALUE
.milliseconds stops the animation
- Note that the speed of the wave movement will depend on the
- Rename
AnimationDirection
toWaveMovement
- Rename
WaveMovement.UNSPECIFIED
entry toWaveMovement.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
- Provide default values for Material 2 variant as extension properties on the existing Material 2
- 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
- To provide the default value for it either use
- Reorder parameters of the Composables
For your convenience, an archive of the library artifacts is also available below.