Skip to content

Commit

Permalink
feat(react-motions): add atoms defined with WAAPI (microsoft#29825)
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored Nov 13, 2023
1 parent c76375b commit c6d20e8
Show file tree
Hide file tree
Showing 8 changed files with 1,363 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,372 @@
```ts

declare namespace atoms {
export {
fade,
scale,
slide
}
}
export { atoms }

declare namespace fade {
export {
fadeEnterUltraFast,
fadeEnterFaster,
fadeEnterFast,
fadeEnterNormal,
fadeEnterSlow,
fadeEnterSlower,
fadeEnterUltraSlow,
fadeExitUltraFast,
fadeExitFaster,
fadeExitFast,
fadeExitNormal,
fadeExitSlow,
fadeExitSlower,
fadeExitUltraSlow
}
}

// @public (undocumented)
const fadeEnterFast: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeEnterFaster: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeEnterNormal: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeEnterSlow: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeEnterSlower: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeEnterUltraFast: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeEnterUltraSlow: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeExitFast: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeExitFaster: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeExitNormal: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeExitSlow: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeExitSlower: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeExitUltraFast: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
const fadeExitUltraSlow: ({ fromValue }: FadeParams) => MotionAtom;

// @public (undocumented)
export type MotionAtom = {
keyframes: Keyframe[];
options: KeyframeEffectOptions;
};

declare namespace scale {
export {
scaleEnterUltraFast,
scaleEnterFaster,
scaleEnterFast,
scaleEnterNormal,
scaleEnterSlow,
scaleEnterSlower,
scaleEnterUltraSlow,
scaleExitUltraFast,
scaleExitFaster,
scaleExitFast,
scaleExitNormal,
scaleExitSlow,
scaleExitSlower,
scaleExitUltraSlow
}
}

// @public (undocumented)
const scaleEnterFast: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleEnterFaster: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleEnterNormal: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleEnterSlow: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleEnterSlower: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleEnterUltraFast: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleEnterUltraSlow: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleExitFast: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleExitFaster: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleExitNormal: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleExitSlow: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleExitSlower: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleExitUltraFast: ({ fromValue }: ScaleParams) => MotionAtom;

// @public (undocumented)
const scaleExitUltraSlow: ({ fromValue }: ScaleParams) => MotionAtom;

declare namespace slide {
export {
slideDownEnterUltraFast,
slideDownEnterFaster,
slideDownEnterFast,
slideDownEnterNormal,
slideDownEnterSlow,
slideDownEnterSlower,
slideDownEnterUltraSlow,
slideUpEnterUltraFast,
slideUpEnterFaster,
slideUpEnterFast,
slideUpEnterNormal,
slideUpEnterSlow,
slideUpEnterSlower,
slideUpEnterUltraSlow,
slideLeftEnterUltraFast,
slideLeftEnterFaster,
slideLeftEnterFast,
slideLeftEnterNormal,
slideLeftEnterSlow,
slideLeftEnterSlower,
slideLeftEnterUltraSlow,
slideRightEnterUltraFast,
slideRightEnterFaster,
slideRightEnterFast,
slideRightEnterNormal,
slideRightEnterSlow,
slideRightEnterSlower,
slideRightEnterUltraSlow,
slideDownExitUltraFast,
slideDownExitFaster,
slideDownExitFast,
slideDownExitNormal,
slideDownExitSlow,
slideDownExitSlower,
slideDownExitUltraSlow,
slideUpExitUltraFast,
slideUpExitFaster,
slideUpExitFast,
slideUpExitNormal,
slideUpExitSlow,
slideUpExitSlower,
slideUpExitUltraSlow,
slideRightExitUltraFast,
slideRightExitFaster,
slideRightExitFast,
slideRightExitNormal,
slideRightExitSlow,
slideRightExitSlower,
slideRightExitUltraSlow,
slideLeftExitUltraFast,
slideLeftExitFaster,
slideLeftExitFast,
slideLeftExitNormal,
slideLeftExitSlow,
slideLeftExitSlower,
slideLeftExitUltraSlow
}
}

// @public (undocumented)
const slideDownEnterFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownEnterFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownEnterNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownEnterSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownEnterSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownEnterUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownEnterUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownExitFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownExitFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownExitNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownExitSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownExitSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownExitUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideDownExitUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftEnterFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftEnterFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftEnterNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftEnterSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftEnterSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftEnterUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftEnterUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftExitFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftExitFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftExitNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftExitSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftExitSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftExitUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideLeftExitUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightEnterFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightEnterFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightEnterNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightEnterSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightEnterSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightEnterUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightEnterUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightExitFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightExitFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightExitNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightExitSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightExitSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightExitUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideRightExitUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpEnterFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpEnterFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpEnterNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpEnterSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpEnterSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpEnterUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpEnterUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpExitFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpExitFaster: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpExitNormal: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpExitSlow: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpExitSlower: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpExitUltraFast: ({ fromValue }: SlideParams) => MotionAtom;

// @public (undocumented)
const slideUpExitUltraSlow: ({ fromValue }: SlideParams) => MotionAtom;

// (No @packageDocumentation comment for this package)

```
Loading

0 comments on commit c6d20e8

Please sign in to comment.