Tldraw/packages/tldraw/src/lib/ui/hooks
alex cce794e04b
Expose `usePreloadAssets` (#3545)
Expose `usePreloadAssets` and make sure the exploded/sublibraries
examples uses it. Before this change, fonts weren't loaded correctly for
the exploded example.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `docs` — Changes to the documentation, examples, or templates.
- [x] `bugfix` — Bug fix
2024-04-22 10:32:22 +00:00
..
clipboard Fix undo/redo for Opacity Slider + Style dropdowns. (#2933) 2024-02-23 14:25:36 +00:00
useTranslation Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
menu-hooks.ts Don't show edit link for locked shapes. (#3457) 2024-04-13 19:46:50 +00:00
useClipboardEvents.ts Prevent default on native clipboard events (#3536) 2024-04-21 11:45:55 +00:00
useCopyAs.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
useEditorEvents.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
useExportAs.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
useInsertMedia.ts
useKeyboardShortcuts.ts Component-based toolbar customisation API (#3067) 2024-03-12 16:14:28 +00:00
useLocalStorageState.ts Wrap local/session storage calls in try/catch (take 2) (#3066) 2024-03-04 16:15:20 +00:00
useMenuIsOpen.ts
usePreloadAssets.ts Expose `usePreloadAssets` (#3545) 2024-04-22 10:32:22 +00:00
usePrint.ts React-powered SVG exports (#3117) 2024-03-25 14:16:55 +00:00
useReadonly.ts
useRelevantStyles.ts
useTools.tsx Component-based toolbar customisation API (#3067) 2024-03-12 16:14:28 +00:00