- Organized items into Added/Changed/Fixed sections.
- Added **BREAKING** labels.
- Removed items that are only relevant for internal development. I think we should only include things directly relevant to users.
- Mentioned the new READMEs.
- Re-phrased some items for clarity.
- Added PR numbers so users can get more info.
* Remove short Top App Bar variant
Design guidance from Material is that the short top app bar is not an
officially supported component.
In the case that this is reconsidered, the removal can be reverted.
* remove demos as well
* remove short from other top app bar readmes
This adds a lit directive implementation of @material/mdc-snackbar/util.ts#announce, which does some tricks to ensure that snackbar labels will be handled correctly by screen readers.
The existing MDC announce util function is difficult to use directly here, because Lit can crash when DOM that it is managing changes outside of its purvue. In this case, we would render our labelText as the text content of the label div, but the MDC announce function then clears that
text content, and resets it after a timeout. We do the same thing here, but in a way that fits into Lit's lifecycle.
Previously, we didn't trigger the SelectionController (the class that
synchronizes radio button groups separated by a shadow root) when the
checked property was set, so the previously checked radio in a group was
not unchecked when a new one was checked.
This was more complicated than just triggering it from the existing
property @observer, because that gives us batched async changes (via the
UpdatingElement updated callback), so we can't reconstruct the order of
checked sets correctly. Replaces the observer with a setter that can
handle this synchronously.
- This makes the non-togging case more lightweight
- `<mwc-icon-button>` for non-toggling use cases remains the same
- For toggling, use `<mwc-icon-button-toggle>`
- `icon` is now `onIcon`
Related to #348
Adds rules which apply the correct default color and icon size to
<mwc-button> and <mwc-icon-button> in the "action" and "dismiss" slots.
Adds --mdc-snackbar-action-color to override the default color of the
action button text.
- Remove draft versions of components that were not written in
typescript
- Remove draft base classes from mwc-base
- Fix typing in adapter event listeners for typescript update
These are WIP. Some known issues:
* select, chips, and textfield ripple not working
* many tests to be added
* some elements tbd, including e.g. top-app-bar and drawer