Skip to content

Releases: Dean151/ButtonKit

0.2.3

23 Mar 23:58
Compare
Choose a tag to compare

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

22 Mar 22:32
Compare
Choose a tag to compare
0.3.0-beta.2 Pre-release
Pre-release

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

20 Mar 22:07
58186aa
Compare
Choose a tag to compare
0.3.0-beta.1 Pre-release
Pre-release

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

20 Mar 20:10
Compare
Choose a tag to compare

Features:

  • Supporting back to Swift 5.7
  • Fixed Swift Strict Concurrency warnings

Fixed:

  • Fixed asyncButtonTaskChanged and asyncButtonTaskEnded being called when button is initialized (Thanks @shainmack for pointing out!)

Full Changelog: 0.2.1...0.2.2

0.2.1

02 Mar 23:28
Compare
Choose a tag to compare

Fixed

  • Updated Readme examples (thanks @zshannon)
  • Fixed macOS default style by reducing the size of the progress view (thanks @zshannon)

Full Changelog: 0.2.0...0.2.1

0.2.0

20 Jan 11:57
Compare
Choose a tag to compare

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

14 Jan 16:54
Compare
Choose a tag to compare

Fixed

  • ButtonConfiguration and LabelConfiguration are now public, allowing actual usage for customization

Full Changelog: 0.1.1...0.1.2

0.1.1

14 Jan 09:33
Compare
Choose a tag to compare

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

13 Jan 15:59
Compare
Choose a tag to compare

Brings:

  • ThrowableButton & AsyncButton views
  • ThrowableButtonStyle & AsyncButtonStyle protocol for customization