├── .eslintrc.json ├── .github └── workflows │ ├── main.yml │ └── size.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .prettierrc.yaml ├── LICENSE ├── README.md ├── example ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── desktop.html │ ├── index.html │ └── mobile.html ├── src │ ├── components │ │ ├── AppOdyssey │ │ │ └── index.tsx │ │ ├── AppVanilla │ │ │ └── index.tsx │ │ ├── ErrorBox │ │ │ ├── index.tsx │ │ │ └── styles.scss │ │ ├── Graphic │ │ │ ├── index.tsx │ │ │ └── styles.scss │ │ └── Worm │ │ │ ├── index.tsx │ │ │ ├── styles.scss │ │ │ └── worm.svg │ ├── global.d.ts │ ├── index-odyssey.tsx │ ├── index-vanilla.tsx │ └── index.ts └── tsconfig.json ├── jest.config.js ├── package.json ├── src ├── Panel │ ├── index.module.scss │ ├── index.test.tsx │ └── index.tsx ├── Scrollyteller │ ├── functions.ts │ ├── index.module.scss │ ├── index.test.tsx │ └── index.tsx ├── global.d.ts ├── index.ts └── util.ts ├── tsconfig.json └── tsdx.config.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/size.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/.github/workflows/size.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .DS_Store 3 | node_modules 4 | .cache 5 | dist 6 | -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierrc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/.prettierrc.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/README.md -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/README.md -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/package.json -------------------------------------------------------------------------------- /example/public/desktop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/public/desktop.html -------------------------------------------------------------------------------- /example/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/public/index.html -------------------------------------------------------------------------------- /example/public/mobile.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/public/mobile.html -------------------------------------------------------------------------------- /example/src/components/AppOdyssey/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/AppOdyssey/index.tsx -------------------------------------------------------------------------------- /example/src/components/AppVanilla/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/AppVanilla/index.tsx -------------------------------------------------------------------------------- /example/src/components/ErrorBox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/ErrorBox/index.tsx -------------------------------------------------------------------------------- /example/src/components/ErrorBox/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/ErrorBox/styles.scss -------------------------------------------------------------------------------- /example/src/components/Graphic/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/Graphic/index.tsx -------------------------------------------------------------------------------- /example/src/components/Graphic/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/Graphic/styles.scss -------------------------------------------------------------------------------- /example/src/components/Worm/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/Worm/index.tsx -------------------------------------------------------------------------------- /example/src/components/Worm/styles.scss: -------------------------------------------------------------------------------- 1 | .root { 2 | width: 240px; 3 | height: auto; 4 | } 5 | -------------------------------------------------------------------------------- /example/src/components/Worm/worm.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/components/Worm/worm.svg -------------------------------------------------------------------------------- /example/src/global.d.ts: -------------------------------------------------------------------------------- 1 | interface Window { 2 | __ODYSSEY__?: any; 3 | } 4 | -------------------------------------------------------------------------------- /example/src/index-odyssey.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/index-odyssey.tsx -------------------------------------------------------------------------------- /example/src/index-vanilla.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/index-vanilla.tsx -------------------------------------------------------------------------------- /example/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/src/index.ts -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/package.json -------------------------------------------------------------------------------- /src/Panel/index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/Panel/index.module.scss -------------------------------------------------------------------------------- /src/Panel/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/Panel/index.test.tsx -------------------------------------------------------------------------------- /src/Panel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/Panel/index.tsx -------------------------------------------------------------------------------- /src/Scrollyteller/functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/Scrollyteller/functions.ts -------------------------------------------------------------------------------- /src/Scrollyteller/index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/Scrollyteller/index.module.scss -------------------------------------------------------------------------------- /src/Scrollyteller/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/Scrollyteller/index.test.tsx -------------------------------------------------------------------------------- /src/Scrollyteller/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/Scrollyteller/index.tsx -------------------------------------------------------------------------------- /src/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/global.d.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/src/util.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsdx.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcnews/scrollyteller/HEAD/tsdx.config.js --------------------------------------------------------------------------------