Skip to content

Commit 7a0b960

Browse files
committed
revert full-lean
1 parent 508efea commit 7a0b960

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/interact/rules/full-lean.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,11 +504,9 @@ Exactly one MUST be provided per time-based or scroll/pointer-driven effect:
504504
| Entrance | `FadeIn`, `GlideIn`, `SlideIn`, `FloatIn`, `RevealIn`, `ExpandIn`, `BlurIn`, `FlipIn`, `ArcIn`, `ShuttersIn`, `CurveIn`, `DropIn`, `FoldIn`, `ShapeIn`, `TiltIn`, `WinkIn`, `SpinIn`, `TurnIn`, `BounceIn` |
505505
| Ongoing | `Pulse`, `Spin`, `Breathe`, `Bounce`, `Wiggle`, `Flash`, `Flip`, `Fold`, `Jello`, `Poke`, `Rubber`, `Swing`, `Cross` |
506506
| Scroll | `FadeScroll`, `RevealScroll`, `ParallaxScroll`, `MoveScroll`, `SlideScroll`, `GrowScroll`, `ShrinkScroll`, `TiltScroll`, `PanScroll`, `BlurScroll`, `FlipScroll`, `SpinScroll`, `ArcScroll`, `ShapeScroll`, `ShuttersScroll`, `SkewPanScroll`, `Spin3dScroll`, `StretchScroll`, `TurnScroll` |
507-
| Mouse | `TrackMouse`, `Tilt3DMouse`, `Track3DMouse`, `SwivelMouse`, `AiryMouse`, `ScaleMouse`, `BlurMouse`, `SkewMouse`, `BlobMouse`, `BounceMouse`, `SpinMouse` |
507+
| Mouse | `TrackMouse`, `Tilt3DMouse`, `Track3DMouse`, `SwivelMouse`, `AiryMouse`, `ScaleMouse`, `BlurMouse`, `SkewMouse`, `BlobMouse` |
508508
- **CRITICAL** — Scroll presets (`*Scroll`) used with `viewProgress` MUST include `range` in options: `'in'` (ends at idle state), `'out'` (starts from idle state), or `'continuous'` (passes through idle). Prefer `'continuous'`.
509509
- Mouse presets are preferred over `keyframeEffect` for `pointerMove` 2D effects.
510-
- The mouse category also exports `CustomMouse`, which is a factory taking a `customEffect` callback rather than a ready-made preset. It cannot be used as a `namedEffect` (a `namedEffect` and a `customEffect` are mutually exclusive payloads) — reach for `customEffect` directly instead.
511-
- `@wix/motion-presets` additionally exports experimental `Bg*` background-scroll presets marked NOT PRODUCTION READY in source. `import * as presets` pulls them in; do not use them in generated configs.
512510
513511
2. **`keyframeEffect`** — custom keyframe animations.
514512

0 commit comments

Comments
 (0)