Improve themes toolbar, add text flow toolbar #1592
Merged
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.

Overview
While working on #1576, I realized I didn't have a great method for actually testing that logical properties were applying well across different
directionandwriting-modesettings. The Storybook add-ons related to this seem pretty far out of date, but then I saw that this was one of the use cases for the global toolbar settings we're already using for themes. I found managing separate toolbars fordirectionandwriting-modea bit unwieldy, so instead I consolidated these into a "text flow" item.Along the way, I noticed that our Theme toolbar did not include all of our themes. So I modified it to support
t-alternate.I set
showNametotruefor both of our toolbar items to make them more obvious.Once I made these changes, I noticed that the logical properties demo for our spacing utilities wasn't quite as useful as seeing how the different settings directly impacted stories. So I removed it.
Screenshots