├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── package.json ├── pnpm-lock.yaml ├── readme.md ├── src ├── animation.ts ├── constants.ts ├── eventAnimation.ts ├── index.ts ├── internal │ ├── context.ts │ ├── currentComponent.ts │ ├── hook.ts │ ├── motion.ts │ ├── types.ts │ └── vnode.ts ├── leaveAnimation.ts ├── presence.tsx ├── props.ts ├── types.ts └── vnodeCaches.ts ├── test ├── index.test.tsx └── tsconfig.json ├── tsconfig.json ├── tsup.config.ts └── vitest.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/LICENSE -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/readme.md -------------------------------------------------------------------------------- /src/animation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/animation.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/eventAnimation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/eventAnimation.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/internal/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/internal/context.ts -------------------------------------------------------------------------------- /src/internal/currentComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/internal/currentComponent.ts -------------------------------------------------------------------------------- /src/internal/hook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/internal/hook.ts -------------------------------------------------------------------------------- /src/internal/motion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/internal/motion.ts -------------------------------------------------------------------------------- /src/internal/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/internal/types.ts -------------------------------------------------------------------------------- /src/internal/vnode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/internal/vnode.ts -------------------------------------------------------------------------------- /src/leaveAnimation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/leaveAnimation.ts -------------------------------------------------------------------------------- /src/presence.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/presence.tsx -------------------------------------------------------------------------------- /src/props.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/props.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/vnodeCaches.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/src/vnodeCaches.ts -------------------------------------------------------------------------------- /test/index.test.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/preact-in-motion/HEAD/vitest.config.ts --------------------------------------------------------------------------------