├── .gitignore ├── .prettierignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── docs ├── GestureHandlingImplementationNotes.md ├── Guide.md ├── _config.yml ├── api │ ├── API.md │ ├── classes │ │ ├── nopanarea.md │ │ ├── pressable.md │ │ ├── pressinterpreter.md │ │ ├── space.md │ │ ├── viewport.md │ │ └── viewportcamera.md │ └── interfaces │ │ ├── nopanareaprops.md │ │ ├── pressableprops.md │ │ ├── presseventcoordinates.md │ │ ├── presseventcoordinateswithdeltas.md │ │ ├── presshandlingoptions.md │ │ ├── spacecontexttype.md │ │ ├── spaceprops.md │ │ ├── viewportbounds.md │ │ ├── viewportcameraanimationoptions.md │ │ ├── viewportoptions.md │ │ └── virtualspacerect.md └── example │ ├── asset-manifest.json │ ├── favicon.ico │ ├── index.html │ └── static │ ├── css │ ├── main.6ca9bed7.css │ └── main.6ca9bed7.css.map │ ├── js │ ├── main.2ad44563.js │ ├── main.2ad44563.js.LICENSE.txt │ └── main.2ad44563.js.map │ └── media │ └── mountain.9752b0ca4f48449ab75f.jpg ├── example ├── .vscode │ └── settings.json ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ └── index.html ├── src │ ├── BoundsDemo.tsx │ ├── CameraControlDemo.tsx │ ├── LargeAreaDemo.tsx │ ├── LongPageDemo.tsx │ ├── OverviewDemo.tsx │ ├── SpaceEventsDemo.tsx │ ├── ZoomableImagesDemo.tsx │ ├── index.css │ ├── index.tsx │ ├── mountain.jpg │ └── react-app-env.d.ts └── tsconfig.json ├── jest.config.js ├── package.json ├── src ├── ElementSizeChangePoller.ts ├── Interactable.ts ├── NoPanArea.tsx ├── PressInterpreter.ts ├── Pressable.tsx ├── Space.tsx ├── SpaceContext.ts ├── ViewPort.ts ├── ViewPortCamera.ts ├── ViewPortMath.ts ├── index.ts ├── suppressBrowserZooming.ts └── utils.ts ├── tests └── index.test.ts ├── tsconfig.json ├── tsconfig.tslint.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | docs/example/ -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/README.md -------------------------------------------------------------------------------- /docs/GestureHandlingImplementationNotes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/GestureHandlingImplementationNotes.md -------------------------------------------------------------------------------- /docs/Guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/Guide.md -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/api/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/API.md -------------------------------------------------------------------------------- /docs/api/classes/nopanarea.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/classes/nopanarea.md -------------------------------------------------------------------------------- /docs/api/classes/pressable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/classes/pressable.md -------------------------------------------------------------------------------- /docs/api/classes/pressinterpreter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/classes/pressinterpreter.md -------------------------------------------------------------------------------- /docs/api/classes/space.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/classes/space.md -------------------------------------------------------------------------------- /docs/api/classes/viewport.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/classes/viewport.md -------------------------------------------------------------------------------- /docs/api/classes/viewportcamera.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/classes/viewportcamera.md -------------------------------------------------------------------------------- /docs/api/interfaces/nopanareaprops.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/nopanareaprops.md -------------------------------------------------------------------------------- /docs/api/interfaces/pressableprops.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/pressableprops.md -------------------------------------------------------------------------------- /docs/api/interfaces/presseventcoordinates.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/presseventcoordinates.md -------------------------------------------------------------------------------- /docs/api/interfaces/presseventcoordinateswithdeltas.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/presseventcoordinateswithdeltas.md -------------------------------------------------------------------------------- /docs/api/interfaces/presshandlingoptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/presshandlingoptions.md -------------------------------------------------------------------------------- /docs/api/interfaces/spacecontexttype.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/spacecontexttype.md -------------------------------------------------------------------------------- /docs/api/interfaces/spaceprops.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/spaceprops.md -------------------------------------------------------------------------------- /docs/api/interfaces/viewportbounds.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/viewportbounds.md -------------------------------------------------------------------------------- /docs/api/interfaces/viewportcameraanimationoptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/viewportcameraanimationoptions.md -------------------------------------------------------------------------------- /docs/api/interfaces/viewportoptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/viewportoptions.md -------------------------------------------------------------------------------- /docs/api/interfaces/virtualspacerect.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/api/interfaces/virtualspacerect.md -------------------------------------------------------------------------------- /docs/example/asset-manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/asset-manifest.json -------------------------------------------------------------------------------- /docs/example/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/favicon.ico -------------------------------------------------------------------------------- /docs/example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/index.html -------------------------------------------------------------------------------- /docs/example/static/css/main.6ca9bed7.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/static/css/main.6ca9bed7.css -------------------------------------------------------------------------------- /docs/example/static/css/main.6ca9bed7.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/static/css/main.6ca9bed7.css.map -------------------------------------------------------------------------------- /docs/example/static/js/main.2ad44563.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/static/js/main.2ad44563.js -------------------------------------------------------------------------------- /docs/example/static/js/main.2ad44563.js.LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/static/js/main.2ad44563.js.LICENSE.txt -------------------------------------------------------------------------------- /docs/example/static/js/main.2ad44563.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/static/js/main.2ad44563.js.map -------------------------------------------------------------------------------- /docs/example/static/media/mountain.9752b0ca4f48449ab75f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/docs/example/static/media/mountain.9752b0ca4f48449ab75f.jpg -------------------------------------------------------------------------------- /example/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/.vscode/settings.json -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/README.md -------------------------------------------------------------------------------- /example/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/package-lock.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/package.json -------------------------------------------------------------------------------- /example/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/public/favicon.ico -------------------------------------------------------------------------------- /example/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/public/index.html -------------------------------------------------------------------------------- /example/src/BoundsDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/BoundsDemo.tsx -------------------------------------------------------------------------------- /example/src/CameraControlDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/CameraControlDemo.tsx -------------------------------------------------------------------------------- /example/src/LargeAreaDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/LargeAreaDemo.tsx -------------------------------------------------------------------------------- /example/src/LongPageDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/LongPageDemo.tsx -------------------------------------------------------------------------------- /example/src/OverviewDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/OverviewDemo.tsx -------------------------------------------------------------------------------- /example/src/SpaceEventsDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/SpaceEventsDemo.tsx -------------------------------------------------------------------------------- /example/src/ZoomableImagesDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/ZoomableImagesDemo.tsx -------------------------------------------------------------------------------- /example/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/index.css -------------------------------------------------------------------------------- /example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/index.tsx -------------------------------------------------------------------------------- /example/src/mountain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/src/mountain.jpg -------------------------------------------------------------------------------- /example/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/package.json -------------------------------------------------------------------------------- /src/ElementSizeChangePoller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/ElementSizeChangePoller.ts -------------------------------------------------------------------------------- /src/Interactable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/Interactable.ts -------------------------------------------------------------------------------- /src/NoPanArea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/NoPanArea.tsx -------------------------------------------------------------------------------- /src/PressInterpreter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/PressInterpreter.ts -------------------------------------------------------------------------------- /src/Pressable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/Pressable.tsx -------------------------------------------------------------------------------- /src/Space.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/Space.tsx -------------------------------------------------------------------------------- /src/SpaceContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/SpaceContext.ts -------------------------------------------------------------------------------- /src/ViewPort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/ViewPort.ts -------------------------------------------------------------------------------- /src/ViewPortCamera.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/ViewPortCamera.ts -------------------------------------------------------------------------------- /src/ViewPortMath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/ViewPortMath.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/suppressBrowserZooming.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/suppressBrowserZooming.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tests/index.test.ts: -------------------------------------------------------------------------------- 1 | test('index', () => { 2 | // TODO write a test... 3 | }); 4 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/tsconfig.tslint.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aarondail/react-zoomable-ui/HEAD/tslint.json --------------------------------------------------------------------------------