├── .eslintrc.js ├── .github ├── FUNDING.yml └── workflows │ └── main.yml ├── .gitignore ├── .nova ├── Configuration.json └── Tasks │ └── Build.json ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── example ├── .npmignore ├── index.html ├── index.tsx ├── package.json ├── tsconfig.json └── yarn.lock ├── jest.config.js ├── package.json ├── src ├── Windup.test.ts ├── Windup.ts ├── index.ts └── react │ ├── CharWrapper.tsx │ ├── Effect.tsx │ ├── Linebreaker.tsx │ ├── OnChar.tsx │ ├── Pace.tsx │ ├── Pause.tsx │ ├── WindupChildren.tsx │ ├── index.ts │ ├── renderWindup.tsx │ ├── textFromChildren.ts │ ├── useWindup.ts │ └── useWindupString.ts ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: sgwilym 4 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | pkg 3 | yarn-error.log 4 | dist 5 | .cache 6 | .vscode 7 | -------------------------------------------------------------------------------- /.nova/Configuration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/.nova/Configuration.json -------------------------------------------------------------------------------- /.nova/Tasks/Build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/.nova/Tasks/Build.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/README.md -------------------------------------------------------------------------------- /example/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .cache 3 | dist -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/example/index.html -------------------------------------------------------------------------------- /example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/example/index.tsx -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/example/package.json -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'ts-jest', 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/package.json -------------------------------------------------------------------------------- /src/Windup.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/Windup.test.ts -------------------------------------------------------------------------------- /src/Windup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/Windup.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/react/CharWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/CharWrapper.tsx -------------------------------------------------------------------------------- /src/react/Effect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/Effect.tsx -------------------------------------------------------------------------------- /src/react/Linebreaker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/Linebreaker.tsx -------------------------------------------------------------------------------- /src/react/OnChar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/OnChar.tsx -------------------------------------------------------------------------------- /src/react/Pace.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/Pace.tsx -------------------------------------------------------------------------------- /src/react/Pause.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/Pause.tsx -------------------------------------------------------------------------------- /src/react/WindupChildren.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/WindupChildren.tsx -------------------------------------------------------------------------------- /src/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/index.ts -------------------------------------------------------------------------------- /src/react/renderWindup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/renderWindup.tsx -------------------------------------------------------------------------------- /src/react/textFromChildren.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/textFromChildren.ts -------------------------------------------------------------------------------- /src/react/useWindup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/useWindup.ts -------------------------------------------------------------------------------- /src/react/useWindupString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/src/react/useWindupString.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgwilym/windups/HEAD/yarn.lock --------------------------------------------------------------------------------