Skip to content

Prismal AGSL v1.0.2

Latest

Choose a tag to compare

@styropyr0 styropyr0 released this 29 Aug 19:06

Changelog

All notable changes to Prismal are documented here. This project follows Semantic Versioning.

Added

  • PrismalGlassButton now exposes the full glass stack for tuning without wrapping it in a custom component: shape, refractionHeight, refractionAmount, brightness, saturation, chromaticAberration, depthEffect, useVibrancy, an effects override that replaces the built-in stack, specular / depthShadow / depthInset providers (pass null to disable a layer), nestedGlassSource, pressLift, contentPadding, horizontalArrangement, verticalAlignment, and an onDrawSurface hook applied after the tint and surfaceColor.
  • dropletShadow parameter on PrismalHorizontalSelector (both overloads) and PrismalRulerSelector to toggle the droplet's depth shadow.
  • README sections for the glass button parameters and the new selector toggle.

Changed

  • The droplet depth shadow in PrismalHorizontalSelector and PrismalRulerSelector is now off by default. Both components clip their contents, which turned the shadow into a visible centre-weighted box behind the ticks and labels. Set dropletShadow = true to restore the previous look.
  • PrismalRulerSelector invokes onValueChange whenever the value changes instead of comparing the last and current value.

All existing call sites keep compiling; the only behavioral change is the droplet shadow default.

Full Changelog: v1.0.1...v1.0.2