Update tilemap/image/animation editor to use react common components #10317
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes microsoft/pxt-arcade#5924
this replaces all of the custom buttons and dropdowns that we have in the tilemap/image/animation editors with the buttons from react-common, which are better for accessibility.
also re-implements the tilemap palette page selector so that it now has a maximum of 5 pages
also adds a "FocusTrapRegion" subcomponent that lets you turn tab navigation on/off for regions within a focus trap. you can also use it to control the order of tab navigation when it differs from what's actually in the dom