tldraw/packages
Mime Čuvalo fb852459db
menu: rework File menu / ensure Export menu is present (#2783)
<img width="428" alt="Screenshot 2024-02-16 at 16 46 28"
src="https://github.com/tldraw/tldraw/assets/469604/334cd0db-d9d5-4993-8012-c6985173edfb">


- re-orders to be the normative New / Open / Save order — we shouldn't
be messing with this conventional ordering
- removes the "Don't ask again" from New/Open dialogs because they're
non-undoable and not what _anybody_ should ever select. we shouldn't
offer users a loaded footgun! :P
- makes File menu be part of the default menu — it's presence is
glaringly missing for regular development
- along with that, make the pieces of that menu available as lego pieces
to use - it can't just be `DefaultMainMenuContent`, all or nothing,
forcing downstream users to import everything from scratch
- finally, adds the Export menu as initially intended by this PR!

@steveruizok let's discuss if you have some notes on this and we can
talk about the shape of things here.

### Change Type

- [x] `patch` — Bug fix

### Release Notes

- Composable UI: makes File items be more granularly accessible / usable
- Menu: show Export under the File menu.
2024-02-26 15:01:56 +00:00
..
assets bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
editor bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
state bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
store bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
tldraw menu: rework File menu / ensure Export menu is present (#2783) 2024-02-26 15:01:56 +00:00
tlschema bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
tlsync bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
utils bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
validate bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00