@mkbabb/keyframes.js 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/engine/index.d.ts +6 -0
- package/dist/engine/index.js +659 -614
- package/dist/keyframes.d.ts +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -312,7 +312,7 @@ anim.setTargets(element);
|
|
|
312
312
|
anim.play();
|
|
313
313
|
```
|
|
314
314
|
|
|
315
|
-
**Fade**: `fadeIn`, `fadeOut` · **Attention**: `pulse`, `heartbeat`, `glow`, `shake`, `bounce` · **Entrance/Exit**: `flip`, `rotateIn`, `slideIn`, `slideInLeft/Right`, `slideOutLeft/Right`, `blurIn/Out/InOut`, `jumpUp/Down`, `warpLeft/Right` · **Effects**: `hover`, `typewriter`, `typingCursor`, `rainbowText`, `progressBar`, `skeletonLoading`, `spinner`, `parallaxScroll`, `gradientBackground`, `rotateScale`, `accordionExpand`, `notificationBounce`, `textFocusBlur`
|
|
315
|
+
**Fade**: `fadeIn`, `fadeOut` · **Attention**: `pulse`, `heartbeat`, `glow`, `shake`, `bounce` · **Entrance/Exit**: `flip`, `rotateIn`, `slideIn`, `slideInLeft/Right`, `slideOutLeft/Right`, `blurIn/Out/InOut`, `jumpUp/Down`, `warpLeft/Right` · **Effects**: `hover`, `garlandSway`, `unfurl`, `typewriter`, `typingCursor`, `rainbowText`, `progressBar`, `skeletonLoading`, `spinner`, `parallaxScroll`, `gradientBackground`, `rotateScale`, `accordionExpand`, `notificationBounce`, `textFocusBlur`
|
|
316
316
|
|
|
317
317
|
## The round-trip — ingest, drive, compile
|
|
318
318
|
|
package/dist/engine/index.d.ts
CHANGED
|
@@ -1045,6 +1045,8 @@ export declare function fromMotionPath<V extends Vars = Vars>(target: HTMLElemen
|
|
|
1045
1045
|
*/
|
|
1046
1046
|
export declare const fromStyleSheets: <V extends Vars = Vars>(source?: Document | ShadowRoot | CSSStyleSheet[] | CSSStyleSheet, options?: IngestOptions) => IngestResult<V>;
|
|
1047
1047
|
|
|
1048
|
+
declare const garlandSway: PresetFactory;
|
|
1049
|
+
|
|
1048
1050
|
/**
|
|
1049
1051
|
* Resolve a stable name for an animation reference: the explicit `name` when
|
|
1050
1052
|
* set, else the numeric `id` stringified. A bare string passes through (the ONE
|
|
@@ -1656,6 +1658,8 @@ export declare namespace presets {
|
|
|
1656
1658
|
slideInRight,
|
|
1657
1659
|
slideOutRight,
|
|
1658
1660
|
hover,
|
|
1661
|
+
garlandSway,
|
|
1662
|
+
unfurl,
|
|
1659
1663
|
jumpUp,
|
|
1660
1664
|
jumpDown,
|
|
1661
1665
|
springScaleIn,
|
|
@@ -2899,6 +2903,8 @@ declare const typewriter: PresetFactory;
|
|
|
2899
2903
|
|
|
2900
2904
|
declare const typingCursor: PresetFactory;
|
|
2901
2905
|
|
|
2906
|
+
declare const unfurl: PresetFactory;
|
|
2907
|
+
|
|
2902
2908
|
/**
|
|
2903
2909
|
* `validate(css, opts?)` — the READ-ONLY projection over the three typed channels
|
|
2904
2910
|
* onto one {@link ValidateResult} envelope. Async because `compileToCSS` retains
|