Releases: Dean151/ButtonKit
Releases · Dean151/ButtonKit
0.2.3
Fixes
- Improved shake animation a bit
- Fixed pulse async style that would continue to pulse even after the task has ended
Full Changelog: 0.2.2...0.2.3
0.3.0-beta.2
New features
- Determinate Progress for AsyncButton #4 (after a concept and idea from @zshannon)
- New "auto" style for both ThrowableButtonStyle and AsyncButtonStyle, that are the new default (with the same behavior)
Changes since beta 1
- Added estimated undetermined progress, where you provide an estimated duration to fake some deterministic progress
- ⚠︎ Progress is now an ObservableObject, and the callback parameter is now the reference of the object instead of a binding
Changelog since last beta: 0.3.0-beta.1...0.3.0-beta.2
Full Changelog: 0.2.3...0.3.0-beta.2
0.3.0-beta.1
New features
- Determinate Progress for AsyncButton #4 (after a concept and idea from @zshannon)
- New "auto" style for both ThrowableButtonStyle and AsyncButtonStyle, that are the new default (with the same behavior)
Full Changelog: 0.2.3...0.3.0-beta.1
0.2.2
Features:
- Supporting back to Swift 5.7
- Fixed Swift Strict Concurrency warnings
Fixed:
- Fixed
asyncButtonTaskChanged
andasyncButtonTaskEnded
being called when button is initialized (Thanks @shainmack for pointing out!)
Full Changelog: 0.2.1...0.2.2
0.2.1
0.2.0
New features
- Added asyncButtonTaskStarted, asyncButtonTaskEnded and asyncButtonTaskChanged modifier to access the underlying AsyncButton task when required
Breaking changes
- Deprecated AsyncStyle initializer with a disabledWhenLoading parameter have been removed. Use disabledWhenLoading modifier instead.
Full Changelog: 0.1.2...0.2.0
0.1.2
Fixed
- ButtonConfiguration and LabelConfiguration are now public, allowing actual usage for customization
Full Changelog: 0.1.1...0.1.2
0.1.1
New features
- Added
disabledWhenLoading
modifier - Added
allowsHitTestingWhenLoading
modifier
Deprecations
- Deprecated AsyncStyle initializer with a disabledWhenLoading parameter. Use disabledWhenLoading instead
Breaking changes
- Async button where not hit testable when loading. Now they are. But no new event will trigger when pressing them during a loading
- Some async button style where disabled when loading by default. Now they aren't anymore. But no new event will trigger when pressing them during a loading
Full Changelog: 0.1.0...0.1.1
Initial release
Brings:
- ThrowableButton & AsyncButton views
- ThrowableButtonStyle & AsyncButtonStyle protocol for customization