Skip to content

1.0.0-alpha15

Choose a tag to compare

@Kyant0 Kyant0 released this 28 Sep 13:36

API changes

  • Rename layer with layerBlock for Modifier.drawBackdrop
  • Update highlight API
    • style is no longer a lambda
    • Move color and blendMode to HighlightStyle
    • Rename Dynamic -> Default, Solid -> Plain for HighlightStyle

New APIs

  • New InnerShadow API
    • Add innerShadow for Modifier.drawBackdrop (It is used in the tabs and the slider thumbs)
  • Add HighlightStyle.Ambient to create an ambient highlight (It is used in the slider thumbs)
  • Add lerp utility functions for Highlight, HighlightStyle and Shadow

Fixes

  • Use GPU compositing again for highlights and shadows to fix the performance regression
  • Use the previous highlight appearance, and make highlights thinner
  • Fix contentEffects doesn't work
  • Fix potential crash due to density
  • Fix low quality of dispersion effect

Catalog app

  • Add magnifier demo
  • More delicate slider and bottom tabs
  • The liquid glass effects are almost complete now