From 5e09c815b3bd1bfdf67e5f887a425cf830801192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robb=20B=C3=B6hnke?= <212465+robb@users.noreply.github.com> Date: Tue, 13 Sep 2022 13:57:40 +0200 Subject: [PATCH] 0.0.13 Co-authored-by: MVP Bot Co-authored-by: Kasper Lahti --- Package.swift | 4 ++-- README.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 5f96190..af4ef2d 100644 --- a/Package.swift +++ b/Package.swift @@ -15,8 +15,8 @@ let package = Package( targets: [ .binaryTarget( name: "Pow", - url: "https://packages.movingparts.io/binaries/pow/0.0.12/Pow.xcframework.zip", - checksum: "51f1479bb77bcdb775e0cfdfb14be5231185012e3fe8c2dcf994d381295a797c" + url: "https://packages.movingparts.io/binaries/pow/0.0.13/Pow.xcframework.zip", + checksum: "4fd8a2e00b886d5e5a41159a68f7991ba45217ad1e8690cb7f158cfa96fc831b" ), ] ) diff --git a/README.md b/README.md index a1c54d8..3ec8288 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,17 @@ before settling. static func flicker(count: Int) -> AnyTransition ``` +## Film Exposure + +[Preview](https://movingparts.io/pow/#film-exposure) + +A transition from completely dark to fully visible on insertion, and +from fully visible to completely dark on removal. + +```swift +static var filmExposure: AnyTransition +``` + ## Flip [Preview](https://movingparts.io/pow/#flip) @@ -323,6 +334,17 @@ Text("Hello") static func rotate3D(_ angle: Angle, axis: (x: CGFloat, y: CGFloat, z: CGFloat), anchor: UnitPoint = .center, anchorZ: CGFloat = 0, perspective: CGFloat = 1) -> AnyTransition ``` +## Snapshot + +[Preview](https://movingparts.io/pow/#snapshot) + +A transition from completely bright to fully visible on insertion, and +from fully visible to completely bright on removal. + +```swift +static var snapshot: AnyTransition +``` + ## Skid [Preview](https://movingparts.io/pow/#skid) @@ -363,6 +385,9 @@ A transition that dissolves the view into many small particles. The transition is only performed on removal. +> **Note:** +> This transition will use an ease-out animation with a duration of 900ms by default. + ```swift static var vanish: AnyTransition ``` @@ -371,6 +396,9 @@ A transition that dissolves the view into many small particles. The transition is only performed on removal. +> **Note:** +> This transition will use an ease-out animation with a duration of 900ms by default. + - Parameter `style`: The style to use for the particles. ```swift