@cssints/reveal 0.6.0 → 0.7.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/dist/index.d.mts +1 -3
- package/dist/index.mjs +1 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/index.d.ts
|
|
2
1
|
/** The scope of `reveal()`, for a scope that embeds it (its kernel `core`). */
|
|
3
2
|
export declare const revealScope: import("cssints/plugin").Scope<"reveal", {
|
|
4
3
|
readonly "#core": {
|
|
@@ -54,5 +53,4 @@ export declare const reveal: () => import("cssints/plugin").Chain<"reveal", {
|
|
|
54
53
|
readonly args: "<easing-function>";
|
|
55
54
|
readonly emit: (v: string) => [string, string][];
|
|
56
55
|
};
|
|
57
|
-
}, {}>;
|
|
58
|
-
//#endregion
|
|
56
|
+
}, {}>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { motionKeyframes, motionVars, presets } from "@cssints/motion";
|
|
2
2
|
import { scope } from "cssints/plugin";
|
|
3
|
-
|
|
3
|
+
// src/index.ts
|
|
4
4
|
const names = "fade-in | slide-in-up | slide-in-down | slide-in-left | slide-in-right | scale-in | blur-in";
|
|
5
5
|
const fields = Object.keys(motionVars);
|
|
6
6
|
const emitPreset = (name) => {
|
|
@@ -64,5 +64,4 @@ const revealScope = scope("reveal", {
|
|
|
64
64
|
* opacity moves. It sets the animation, so an `animation*` property in the same `cn()` is a build error.
|
|
65
65
|
*/
|
|
66
66
|
const { reveal } = revealScope.export();
|
|
67
|
-
//#endregion
|
|
68
67
|
export { reveal, revealScope };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cssints/reveal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Scroll-driven reveal animations for cssints: motion's presets on animation-timeline: view(), with a tiny IntersectionObserver fallback",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@cssints/motion": "^0.
|
|
31
|
+
"@cssints/motion": "^0.7.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"cssints": "^0.
|
|
34
|
+
"cssints": "^0.7.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=22"
|