* Allow alert state actions to be mapped
Co-authored-by: Skyler Smith <skylers@cricut.com>
* wip
* wip
* reorganize deprecations
* fix
Co-authored-by: Skyler Smith <skylers@cricut.com>
* 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
* 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