Nacara.Plugins
Modules
| Assembly | ||
|---|---|---|
Motion | Hovers drawn in Figma, configured and compiled from F# | Partas.Nacara.Plugins.Motion |
MotionCss | Hovers compiled to CSS transitions | Partas.Nacara.Plugins.Motion |
MotionScript | Hovers compiled to a script that plays them with anime.js | Partas.Nacara.Plugins.Motion |
Spring | Springs, solved the way anime.js 4.5.0 solves them, so that a spring written to CSS as linear() and the same spring run by the bundled anime.js settle alike | Partas.Nacara.Plugins.Motion |
Records
| Assembly | ||
|---|---|---|
Change | One property of one element changing during a hover | Partas.Nacara.Plugins.Motion |
CompiledMotion | The hovers of a document, split by the engine that plays them | Partas.Nacara.Plugins.Motion |
Hover | A hover: where it applies, how long it plays and what it changes | Partas.Nacara.Plugins.Motion |
HoverSettings | What one hover is told to do beside the document | Partas.Nacara.Plugins.Motion |
MotionDocument | The motion document the Figma plugin exports | Partas.Nacara.Plugins.Motion |
MotionOptions | Options of the motion plugin | Partas.Nacara.Plugins.Motion |
NotTranslated | A difference between the two states that the document does not translate | Partas.Nacara.Plugins.Motion |
Skipped | A variant the exporter skipped | Partas.Nacara.Plugins.Motion |
SpringParameters | The physical parameters of a spring | Partas.Nacara.Plugins.Motion |
Unions
| Assembly | ||
|---|---|---|
AnimeSource | Where the anime.js library comes from | Partas.Nacara.Plugins.Motion |
Easing | The easing of a hover | Partas.Nacara.Plugins.Motion |
MotionEngine | The engine that plays a hover | Partas.Nacara.Plugins.Motion |
MotionValue | A value a hover animates between: a design token or a literal CSS value | Partas.Nacara.Plugins.Motion |
ReducedMotion | What the generated stylesheet does for visitors who ask for reduced motion | Partas.Nacara.Plugins.Motion |