Co-authored-by: MVP Bot <bot@movingparts.io>
Co-authored-by: Kasper Lahti <kasper@movingparts.io>
This commit is contained in:
Robb Böhnke 2022-09-13 13:57:40 +02:00 committed by GitHub
parent 04d247d210
commit 5e09c815b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 2 deletions

View file

@ -15,8 +15,8 @@ let package = Package(
targets: [ targets: [
.binaryTarget( .binaryTarget(
name: "Pow", name: "Pow",
url: "https://packages.movingparts.io/binaries/pow/0.0.12/Pow.xcframework.zip", url: "https://packages.movingparts.io/binaries/pow/0.0.13/Pow.xcframework.zip",
checksum: "51f1479bb77bcdb775e0cfdfb14be5231185012e3fe8c2dcf994d381295a797c" checksum: "4fd8a2e00b886d5e5a41159a68f7991ba45217ad1e8690cb7f158cfa96fc831b"
), ),
] ]
) )

View file

@ -124,6 +124,17 @@ before settling.
static func flicker(count: Int) -> AnyTransition 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 ## Flip
[Preview](https://movingparts.io/pow/#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 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 ## Skid
[Preview](https://movingparts.io/pow/#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. The transition is only performed on removal.
> **Note:**
> This transition will use an ease-out animation with a duration of 900ms by default.
```swift ```swift
static var vanish: AnyTransition 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. 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. - Parameter `style`: The style to use for the particles.
```swift ```swift