Skip to content

Conversation

@mikhailChelbaev
Copy link
Collaborator

@mikhailChelbaev mikhailChelbaev commented Feb 9, 2026

Improvements:

  • Added UniversalImage — a lightweight, platform-agnostic image type that works with both UIKit and SwiftUI
  • Updated Avatar and AvatarGroup to use UniversalImage for more flexible local image handling
  • Added new image parameter to ButtonVM for simpler and clearer image configuration
  • Loading: size is now optional — when nil, the loader expands to the available layout space
  • Circular Progress: size is now optional — automatically expands to available space
  • Loading: added lineCap parameter for better stroke customization

Fixes:

  • Completion closures are now properly passed to methods that present UKCenterModal and UKBottomModal
  • Fixed an issue where UKLoading snapped during size changes
  • Fixed an issue where UKLoading stopped animating when the app moved to the background

Changes & Deprecations:

  • UKLoading: removed style parameter
  • ButtonVM.imageSrc → use image
  • ButtonVM.imageRenderingMode → use image.withRenderingMode(_:)
  • AvatarVM.ImageSource.local(name:bundle:) → use local(UniversalImage)
  • AvatarVM.Placeholder.sfSymbol → use image
  • AvatarVM.Placeholder.icon → use image

@mikhailChelbaev mikhailChelbaev self-assigned this Feb 9, 2026
@mikhailChelbaev mikhailChelbaev merged commit 2e803c7 into main Feb 9, 2026
1 check passed
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