Tldraw/packages/tldraw/src/lib/ui
Steve Ruiz 1450454873
"Soft preload" icons (#3507)
This PR includes a "soft preload" feature for icons, where icons will be
loaded when the canvas first mounts. The component will not wait for
icons to finish loading before showing the editor, but this should help
with "pop in" on menu icons.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `improvement` — Improving existing features

### Test Plan

1. Load the component
2. After load, open a menu for the first time
3. The icons should immediately be visible

### Release Notes

- Improve icon preloading
2024-04-17 10:57:08 +00:00
..
components Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
context "Soft preload" icons (#3507) 2024-04-17 10:57:08 +00:00
hooks "Soft preload" icons (#3507) 2024-04-17 10:57:08 +00:00
TldrawUi.tsx Allow hiding debug panel. (#3261) 2024-03-26 10:03:20 +00:00
assetUrls.ts Custom Tools DX + screenshot example (#2198) 2023-11-15 18:06:02 +00:00
constants.ts ui: refactor breakpoints to fit in an enum (#2843) 2024-02-15 17:39:17 +00:00
icon-types.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
kbd-utils.ts UI components round two (#2847) 2024-02-16 09:13:04 +00:00
overrides.ts Component-based toolbar customisation API (#3067) 2024-03-12 16:14:28 +00:00
version.ts Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00