Tldraw/packages/tldraw/src/lib
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
..
canvas Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
shapes textfields: wait a tick before selecting all to fix iOS (#3501) 2024-04-16 16:15:13 +00:00
tools textfields: on mobile edit->edit, allow going to empty geo (#3469) 2024-04-17 09:34:23 +00:00
ui "Soft preload" icons (#3507) 2024-04-17 10:57:08 +00:00
utils New migrations again (#3220) 2024-04-15 12:53:42 +00:00
Tldraw.test.tsx Fix jpg export and tests (#3198) 2024-03-18 15:08:09 +00:00
Tldraw.tsx "Soft preload" icons (#3507) 2024-04-17 10:57:08 +00:00
TldrawImage.tsx React-powered SVG exports (#3117) 2024-03-25 14:16:55 +00:00
defaultExternalContentHandlers.ts Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
defaultShapeTools.ts tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
defaultShapeUtils.ts tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
defaultSideEffects.ts Use canvas bounds for viewport bounds (#2798) 2024-02-12 15:03:25 +00:00
defaultTools.ts tldraw zero - package shuffle (#1710) 2023-07-17 21:22:34 +00:00
styles.tsx UI components round two (#2847) 2024-02-16 09:13:04 +00:00
ui.css styling: make dotcom and examples site have consistent font styling (#3271) 2024-03-27 09:44:22 +00:00