gclass-anims 1.0.0-beta.2 → 1.0.0-beta.4
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/index.d.ts +3 -0
- package/package.json +1 -2
package/index.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ export interface AnimationConfig {
|
|
|
64
64
|
typewriter?: boolean
|
|
65
65
|
/** Marks a per-part (SplitText) typewriter entry. */
|
|
66
66
|
typewriterSplit?: boolean
|
|
67
|
+
/** Marks a numeric counter entry (counts from `.spawn-num-N` to the element's number). */
|
|
68
|
+
count?: boolean
|
|
67
69
|
/** Set false to skip generating a `.spawn-text-<name>` variant. Default true. */
|
|
68
70
|
text?: boolean
|
|
69
71
|
/** Set false to keep `build` but skip the always-on repeat. Default true. */
|
|
@@ -79,6 +81,7 @@ export interface SpawnConfig {
|
|
|
79
81
|
play: (el: HTMLElement, delay: number, dur: number, ease: string) => any
|
|
80
82
|
typewriter?: boolean
|
|
81
83
|
typewriterSplit?: boolean
|
|
84
|
+
count?: boolean
|
|
82
85
|
text: boolean
|
|
83
86
|
}
|
|
84
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gclass-anims",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.4",
|
|
4
4
|
"description": "A Tailwind-style utility layer on top of GSAP. Framework-agnostic — works in vanilla JS, React, Vue, Svelte, or any bundler.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://saturn-sepehr.github.io/GClass/demo/index.html",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"gclass-anims": "^1.0.0-beta.1",
|
|
45
44
|
"gsap": "^3.15.0"
|
|
46
45
|
},
|
|
47
46
|
"peerDependenciesMeta": {},
|