Skip to content

Validat named effects separated - #351

Merged
ydaniv merged 4 commits into
masterfrom
validat-named-effects-separated
Oct 22, 2026
Merged

ydaniv merged 4 commits into
masterfrom
validat-named-effects-separated

Conversation

@ameerf-wix

Copy link
Copy Markdown
Contributor

Description

Related Issue

Checklist

  • I have read the Contributing Guide
  • I have added/updated tests for my changes (if applicable)
  • I have updated documentation/rules/skills (if applicable)

Screenshots / Demos

Additional Notes

ameerf-wix and others added 4 commits October 22, 2026 13:11
- interact-validate: validate namedEffect params against the schema of the effect registered under their type
  (options.effects, or the effects registered on Interact)
- motion: export getRegisteredEffect (with an optional warning), exposed as Interact.getRegisteredEffect

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…nteract registry

- checkNamedEffectParams is a per-effect check in collectSemanticWarnings, like the other rules,
  reporting each definition's own params
- schemas come from the effects registered on Interact only (the effects option is removed)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ms validation

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Generated llms.txt preview

llms.txt
# @wix/interact

> Declarative, configuration-driven interaction library — web-native, AI-ready, and framework-agnostic.

- Install: `npm install @wix/interact @wix/motion-presets`
- Three entry points: vanilla JS (`@wix/interact`), React (`@wix/interact/react`), Web Components (`@wix/interact/web`)
- Five trigger types: hover, click, viewEnter, viewProgress, pointerMove
- Effects via named presets (`@wix/motion-presets`), keyframes, CSS transitions, or custom JS callbacks
- Configs are JSON-serializable -- designed for LLM generation

## Docs

- [Full Reference](https://wix.github.io/interact/rules/full-lean.md): Declarative configuration-driven interaction library. Binds animations to triggers via JSON config. (789 lines)
- [Integration Guide](https://wix.github.io/interact/rules/integration.md): Rules for integrating `@wix/interact` into a webpage — binding animations and effects to user-driven triggers via declarative configuration. (364 lines)
- [Validation Guide](https://wix.github.io/interact/rules/validate.md): Rules for using `@wix/interact-validate` — validate an `InteractConfig` before it reaches the runtime. (315 lines)

## Optional

- [Click Trigger Rules for @wix/interact](https://wix.github.io/interact/rules/click.md): This document contains rules for generating click-triggered interactions in `@wix/interact`. (197 lines)
- [Hover Trigger Rules for @wix/interact](https://wix.github.io/interact/rules/hover.md): This document contains rules for generating hover-triggered interactions in `@wix/interact`. (199 lines)
- [PointerMove Trigger Rules for @wix/interact](https://wix.github.io/interact/rules/pointermove.md): These rules help generate pointer-driven interactions using `@wix/interact`. (271 lines)
- [ViewEnter Trigger Rules for @wix/interact](https://wix.github.io/interact/rules/viewenter.md): This document contains rules for generating interactions that respond to elements entering the viewport using the `@wix/interact`. (232 lines)
- [ViewProgress Trigger Rules for @wix/interact](https://wix.github.io/interact/rules/viewprogress.md): These rules help generate scroll-driven interactions using `@wix/interact`. (233 lines)
- [@wix/interact Plugin Rules](https://wix.github.io/interact/rules/plugins.md): Rules for extending `@wix/interact` with external plugins via `Interact.use()` and `$`-prefixed config fields. (122 lines)
- [All rules in one file](https://wix.github.io/interact/llms-full.txt): Complete concatenation (2722 lines)
llms-full.txt header
# @wix/interact v2.5.20 -- AI Rules Reference
# https://wix.github.io/interact/llms.txt
# 9 files, 2722 lines

Download full files from workflow artifacts, or run node scripts/generate-llms.mjs locally.

@ydaniv
ydaniv merged commit 388ff97 into master Oct 22, 2026
2 checks passed
@ydaniv
ydaniv deleted the validat-named-effects-separated branch October 22, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants