Commit Graph

6 Commits

Author SHA1 Message Date
Stephen Celis 34af246f52
Support synchronous `ButtonState` action closures (#70)
* Support synchronous action closures

When we added async support for alert/dialog action closures, we broke
implicit animations, because it's impossible to run an async closure
inside `SwiftUI.withAnimation`. Let's bring back this functionality, and
runtime warn loudly whenever an animated action is emitted to an async
action handler.

* wip
2023-01-23 16:52:59 -08:00
Stephen Celis 2500304089
Alert/ConfirmationDialog updates (#68)
* Always open up closures with global actors

Going point-free style when `async` is involved can be problematic, and
lose things like the current actor.

* Support async confirmation dialog actions
2023-01-19 13:26:24 -08:00
Brandon Williams 9e41fd55f9
New case study app showing off swift-dependencies (#61)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* lots of helpers

* added a ui test

* clean up

* wip

* wip

* clean up

* wip

* wip

* wip

* wip

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* xcode 13 fix

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2023-01-09 09:08:54 -08:00
Stephen Celis 102ab45e10
Support navigationDestination, alerts, confirmation dialogs, and more! (#28)
* wip

* wip

* Update APIs

* wip

* wip

* docs

* wip

* readme tweaks

* TextState tests

* alert tests

* updates

* dont export swiftui

* wip

* wip

* update ci

* docc

* doc updates

* docs

* docs

* wip

* Update documentation.yml

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip;

* wip

* modernize inventory demo

* more modernization

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* bring back navigationDestination hack;

* wip

* wip

* wip

* wip

* wip;

* wip;

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Fix typos in README and CaseStudies (#30)

* Fix typos in README

* Fix mismatched navigation titles in CaseStudies

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* some <5.7 fixes

* another <5.7 fix

Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2022-11-21 13:35:24 -05:00
Stephen Celis 1276991597
NavigationLink updates; less escaping (#27) 2022-10-18 17:16:24 -07:00
Stephen Celis 2694c03284 SwiftUI Navigation
Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2021-11-16 10:34:23 -08:00