Commit Graph

137 Commits

Author SHA1 Message Date
Elliott Marquez
4818641d09 added PR to changelog 2019-08-27 19:43:48 -07:00
Elliott Marquez
bda16062c4 update changelog for release 2019-08-27 19:43:48 -07:00
Alexander Marks
d6b4da7274 Update CHANGELOG for 0.7.0 2019-08-27 14:19:20 -07:00
Alexander Marks
45e107fbc3
Organize CHANGELOG for upcoming release. (#425)
- 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.
2019-08-26 21:02:01 -07:00
Daniel Freedman
e1ec538f1b
Fix top-app-bar title centering for multiple action icons (#424)
This should be the original behavior before removal
2019-08-26 18:02:53 -07:00
Daniel Freedman
30e4a35b0a
Remove short Top App Bar variant (#422)
* 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
2019-08-26 17:00:41 -07:00
Alexander Marks
aa060417c0
Fix bug where mwc-snackbar labelText could not be set (#412)
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.
2019-08-26 15:48:56 -07:00
Elliott Marquez
fa1db3ac5b update changelog 2019-08-23 17:23:16 -07:00
Elliott Marquez
216a098c75 more pdates to changelog! 2019-08-23 17:23:16 -07:00
Elliott Marquez
3fe99dc4bd make fixture await render if contents are attached 2019-08-23 17:23:16 -07:00
Daniel Freedman
985ed42f2e Re-implement centerTitle for MWC Top App Bar
- Updated CHANGELOG
- Added screenshots
- Fixed `<mwc-top-app-bar centerTitlie dense prominent>` styling
2019-08-23 15:11:45 -07:00
Elliott Marquez
1f205edf05 update changelog 2019-08-16 18:49:40 -07:00
Elliott Marquez
c5058a66fa update changelog 2019-08-16 18:49:40 -07:00
Alexander Marks
352079f11e
Bump inert polyfill to fix drawer IE bug (#378) 2019-08-16 16:10:22 -07:00
Alexander Marks
dbb4fcf334 Fix broken checked property in <mwc-radio>
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.
2019-08-15 13:46:24 -07:00
Daniel Freedman
c580ebe19a Split icon button toggling into its own component
- 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
2019-08-15 11:35:22 -07:00
Daniel Freedman
b6cf725d60 Remove as any usage with @customElement
Unnecessary as of lit-element v0.6.5

Fixes #114
2019-08-13 16:01:21 -07:00
Daniel Freedman
e75002b98b Remove CHANGELOGS from subpackages
Only need the master CHANGELOG in the repo

Add note to CHANGELOG

Add section about the changelog to CONTRIBUTING
2019-08-13 15:38:26 -07:00
Daniel Freedman
b38f3813d6 Break out build from bootstrap
Run format in CI
2019-08-12 16:12:50 -07:00
Daniel Freedman
45e11481c9 Add lit-analyzer to linting
- Set up linting in Travis as well
2019-08-12 15:56:11 -07:00
Daniel Freedman
452f17cc1d
Merge branch 'master' into icon-button-slots 2019-08-12 15:21:29 -07:00
Daniel Freedman
17f36a8168 Fix tests for SVG and Image support
- Add tests with SVG, fix test checks for refactoring
- Add svg and image examples in demo
2019-08-12 12:32:33 -07:00
Alexander Marks
89b3707d2c Allow <mwc-button> open method to be called before firstUpdated. 2019-08-09 09:48:13 -07:00
Alexander Marks
d1267504e7 Fix <mwc-snackbar> default action/dismiss button styles.
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.
2019-08-08 20:03:30 -07:00
Alexander Marks
dad4d1456f Fix IE11 icon rendering in <mwc-icon>
IE11 requires font-feature-settings: 'liga' to be turned on to render
ligatures.

I also synchronized this styling generally to exactly match the
recommendations at
https://google.github.io/material-design-icons/#icon-images-for-the-web
2019-08-07 17:32:21 -07:00
Alexander Marks
a07a39112f Fix <mwc-tab-bar> layout issue in Firefox. 2019-08-06 16:55:14 -07:00
Alexander Marks
446695725d CHANGELOG entry for removed auto icon font loading 2019-07-29 11:34:07 -07:00
Daniel Freedman
8c40e065ff update changelog 2019-06-05 15:19:28 -07:00
Daniel Freedman
8081e10d42 update changelog for drawer dependencies 2019-06-04 17:37:46 -07:00
Daniel Freedman
952097e948 Clean up project
- 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
2019-06-03 15:28:32 -07:00
Daniel Freedman
a1cc4bf4c5 Update dependencies
- Fix typescript building with 3.4
- Upgrade lerna to 3.x
2019-04-04 15:36:55 -07:00
Daniel Freedman
dafca12c59 [ci skip] update CHANGELOG.md 2019-03-26 15:38:15 -07:00
Daniel Freedman
b305546467 Merge branch 'master' into icon-button 2018-10-16 16:05:01 -07:00
Daniel Freedman
935f4dc1a0 Implement icon-button in typescript
- icon-toggle is now icon-button, matching MDC
- If `offLabel` is not defined, button is always "on" and does not
toggle

Fixes #95
2018-10-10 16:45:41 -07:00
Daniel Freedman
8fd896724f update CHANGELOG 2018-10-10 12:19:39 -07:00
Daniel Freedman
09dab52553 Prepare 0.3.1 2018-10-08 12:19:17 -07:00
Steven Orvell
286d4733ce [first commit] lots of wip elements
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
2018-04-25 19:20:55 -07:00