@llui/transitions 0.0.30 → 0.0.32
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 +3 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ pnpm add @llui/transitions
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
|
+
// @doc-skip — illustrative; uses bare `view({...})` shorthand and `text((s) => …)` placeholder values
|
|
12
13
|
import { fade, slide, mergeTransitions } from '@llui/transitions'
|
|
13
14
|
import { div } from '@llui/dom'
|
|
14
15
|
|
|
@@ -72,6 +73,7 @@ show({
|
|
|
72
73
|
Convenience wrapper for animating page transitions in a `branch()`:
|
|
73
74
|
|
|
74
75
|
```ts
|
|
76
|
+
// @doc-skip — uses `[...]` render-result placeholders
|
|
75
77
|
import { routeTransition, fade } from '@llui/transitions'
|
|
76
78
|
|
|
77
79
|
// Default: fade + slight upward slide (250ms)
|
|
@@ -100,6 +102,7 @@ branch({ on, cases, ...routeTransition(fade({ duration: 200 })) })
|
|
|
100
102
|
Wraps any transition preset so batch-entered items animate with incremental delays:
|
|
101
103
|
|
|
102
104
|
```ts
|
|
105
|
+
// @doc-skip — uses `[...]` render-result placeholder
|
|
103
106
|
import { stagger, fade, slide } from '@llui/transitions'
|
|
104
107
|
|
|
105
108
|
each({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llui/transitions",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@llui/dom": "^0.0.
|
|
14
|
+
"@llui/dom": "^0.0.32"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"typescript": "^6.0.0",
|
|
18
18
|
"vitest": "^4.1.2",
|
|
19
|
-
"@llui/dom": "0.0.
|
|
19
|
+
"@llui/dom": "0.0.32"
|
|
20
20
|
},
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"description": "LLui animation helpers — transition(), fade, slide, scale, collapse for branch/show/each",
|