Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Dean151/ButtonKit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.7.1
Choose a base ref
...
head repository: Dean151/ButtonKit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.8.0
Choose a head ref
  • 15 commits
  • 20 files changed
  • 4 contributors

Commits on Apr 4, 2026

  1. Configuration menu
    Copy the full SHA
    1a293de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    546c383 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dfcb624 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f3c9f97 View commit details
    Browse the repository at this point in the history
  5. chore: updated readme

    Dean151 committed Apr 4, 2026
    Configuration menu
    Copy the full SHA
    f3e5fa8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    36a1f25 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    efbb7f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2026

  1. Configuration menu
    Copy the full SHA
    6517851 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2026

  1. Configuration menu
    Copy the full SHA
    02e0ec9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e4b38a View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2026

  1. Configuration menu
    Copy the full SHA
    2d47b68 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2026

  1. refactor(style): resolve styles through generic views instead of hand…

    …-rolled type erasure
    
    Replaces AnyAsyncButtonStyle and AnyThrowableButtonStyle closure-based
    erasure with existentials stored directly in the environment, resolved
    through generic ResolvedXStyleLabel/Button views. Style bodies now
    execute inside a real View body, paving the way for DynamicProperty
    support in styles.
    Dean151 committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    7ad4643 View commit details
    Browse the repository at this point in the history
  2. feat(style): support SwiftUI dynamic properties in button styles

    AsyncButtonStyle and ThrowableButtonStyle now refine DynamicProperty,
    so styles can use @Environment, @State and other SwiftUI property
    wrappers directly. Works because styles are now stored as properties
    of the resolved style views, letting SwiftUI install them.
    
    ShakeThrowableButtonStyle now reads accessibilityReduceMotion directly
    instead of going through a private wrapper view.
    Dean151 committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    2e96773 View commit details
    Browse the repository at this point in the history
  3. refactor(style)!: hide AnyView behind opaque configuration Label and …

    …Button views
    
    Replaces the public 'typealias Label = AnyView' and 'typealias Button =
    AnyView' in the four style configurations with nested wrapper views,
    mirroring SwiftUI's ButtonStyleConfiguration.Label. The erasure becomes
    an implementation detail that can change without breaking API.
    
    BREAKING CHANGE: code that relied on configuration.label or
    configuration.button being AnyView must treat them as opaque views.
    Dean151 committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    d349e68 View commit details
    Browse the repository at this point in the history
  4. fix(trigger): use a shared default TriggerButton instance for the env…

    …ironment entry
    
    The @entry default expression was re-evaluated on each access,
    allocating a new TriggerButton every time. Besides invalidating
    environment dependents unnecessarily, registration and triggering
    could end up on different default instances when no explicit value
    was set. A single shared instance fixes both and silences the
    _SwiftUIEntryTypeCheck warning.
    Dean151 committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    0f6974c View commit details
    Browse the repository at this point in the history
Loading