Tldraw/packages/editor/src/lib/hooks
David Sheldrick b5dfd81540
WebGL Minimap (#3510)
This PR replaces our current minimap implementation with one that uses
WebGL

### Change Type

<!--  Please select a 'Scope' label ️ -->

- [x] `sdk` — Changes the tldraw SDK
- [ ] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [ ] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [ ] `bugfix` — Bug fix
- [ ] `feature` — New feature
- [x] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Add a brief release note for your PR here.

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-04-19 13:56:55 +00:00
..
useCanvasEvents.ts Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
useCoarsePointer.ts [fix] remove CSS radius calculations (#1823) 2023-08-25 16:22:52 +00:00
useContainer.tsx transfer-out: transfer out 2023-04-25 12:01:25 +01:00
useCursor.ts [Fix] Overlapping non-adjacent handles (#2663) 2024-01-27 15:01:18 +00:00
useDarkMode.ts [fix] dark mode (#1754) 2023-07-20 11:38:55 +00:00
useDocumentEvents.ts [Fix] Camera coordinate issues (#2719) 2024-02-04 12:03:49 +00:00
useEditor.ts Add component for viewing an image of a snapshot (#2804) 2024-02-16 13:54:48 +00:00
useEditorComponents.tsx Faster selection / erasing (#3454) 2024-04-13 13:30:30 +00:00
useEvent.tsx transfer-out: transfer out 2023-04-25 12:01:25 +01:00
useFixSafariDoubleTapZoomPencilEvents.ts Fix the cleanup of event handlers (#2298) 2023-12-06 16:19:31 +00:00
useFocusEvents.ts Replace Atom.value with Atom.get() (#2189) 2023-11-13 11:51:22 +00:00
useForceUpdate.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
useGestureEvents.ts Add image annotator example (#3147) 2024-03-19 11:41:25 +00:00
useHandleEvents.ts Rename shapes apis (#1787) 2023-08-02 18:12:25 +00:00
useIdentity.tsx fix vite HMR issue (#2279) 2023-12-01 16:48:30 +00:00
useIsCropping.ts No impure getters pt8 (#2221) 2023-11-14 16:32:27 +00:00
useIsDarkMode.ts React-powered SVG exports (#3117) 2024-03-25 14:16:55 +00:00
useIsEditing.ts No impure getters pt4 (#2206) 2023-11-13 16:02:50 +00:00
useLocalStore.ts Add snapshot prop, examples (#1856) 2023-09-08 14:48:55 +00:00
usePeerIds.ts WebGL Minimap (#3510) 2024-04-19 13:56:55 +00:00
usePresence.ts WebGL Minimap (#3510) 2024-04-19 13:56:55 +00:00
useSafariFocusOutFix.ts rename app to editor (#1503) 2023-06-02 15:21:45 +00:00
useSafeId.ts Component-based toolbar customisation API (#3067) 2024-03-12 16:14:28 +00:00
useScreenBounds.ts Improve performance of culling (#3272) 2024-03-28 09:42:48 +00:00
useSelectionEvents.ts [fix] Focus events (actually) (#2015) 2023-10-04 09:01:48 +00:00
useTLStore.ts fix vite HMR issue (#2279) 2023-12-01 16:48:30 +00:00
useTransform.ts [tech debt] Primitives renaming party / cleanup (#2396) 2024-01-03 12:13:15 +00:00
useZoomCss.ts no impure getters pt 11 (#2236) 2023-11-16 15:34:56 +00:00