Skip to content

feat: v1.1.0 — Animation modifiers for glass surfaces#1

Merged
saadkhalidkhan merged 4 commits into
masterfrom
feature/v1.1.0-animations
May 26, 2026
Merged

feat: v1.1.0 — Animation modifiers for glass surfaces#1
saadkhalidkhan merged 4 commits into
masterfrom
feature/v1.1.0-animations

Conversation

@saadkhalidkhan
Copy link
Copy Markdown
Owner

Summary

  • Modifier.animatedGlassEffect() — entrance animation that transitions blur, alpha, and border from zero to target values (glass ''forming'' into view)
  • Modifier.glassShimmer() — infinite diagonal light-streak overlay that sweeps across the glass surface
  • Modifier.glassBorderGlow() — pulsing border opacity animation for ambient breathing edge glow
  • GlassButton press feedback — animated scale-down + alpha reduction on press (configurable via pressScale/pressAlpha)
  • Sample app restructured with dedicated Animations tab showcasing all new effects
  • Version bumped to 1.1.0 with updated CHANGELOG and API docs

Motivation

v1.0.0 established the static glass foundation. This release adds motion — the single biggest improvement for perceived quality of glassmorphism UIs. All animations are opt-in and composable with existing modifiers.

Test plan

  • Build passes (:glasskit:assembleRelease, :sample:assembleDebug)
  • Run sample app and verify Animate tab shows all 4 effects
  • Verify GlassButton press animation on Home tab
  • Verify combined effects card renders without frame drops
  • Confirm existing Home tab functionality unchanged
  • Run unit tests (./gradlew test)

…assBorderGlow

Introduce three new modifier extensions for animated glass effects:

- animatedGlassEffect: entrance animation that animates blur, alpha, and
  border from zero to target values, creating a glass "forming" effect
- glassShimmer: infinite diagonal light-streak overlay that sweeps across
  the glass surface for ambient motion
- glassBorderGlow: pulsing border opacity animation for breathing edge glow

All modifiers are opt-in, theme-aware, and composable with the existing
static glassEffect modifier.

Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
GlassButton now provides tactile visual feedback on press with animated
scale-down and alpha reduction. The effect is configurable via pressScale
and pressAlpha parameters, and disabled state is handled via graphicsLayer
instead of the previous static alpha modifier.

Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
Restructure sample app into three tabs (Home, Animate, Config) and add
dedicated animations showcase demonstrating all new v1.1.0 modifiers:

- animatedGlassEffect entrance card
- glassShimmer highlight card
- glassBorderGlow pulsing card
- GlassButton press feedback demo
- Combined effects demonstration

Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
- Update VERSION_NAME and LIBRARY_VERSION in gradle.properties
- Add v1.1.0 section to CHANGELOG with all new animations
- Document animatedGlassEffect, glassShimmer, and glassBorderGlow in API.md
- Document GlassButton pressScale/pressAlpha parameters

Co-authored-by: Saad Khan <ranasaad0799@gmail.com>
@saadkhalidkhan saadkhalidkhan merged commit 489dd6f into master May 26, 2026
1 check failed
@saadkhalidkhan saadkhalidkhan deleted the feature/v1.1.0-animations branch May 26, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant