533 Commits

Author SHA1 Message Date
Polymer GitHub Actions Robot
9396c8949d Auto bump MDC Web deps to 14.0.0-canary.86b50ef74.0 2021-09-28 18:04:01 +00:00
Peter Burns
6278ee5df9 chore: just import 'lit', it's cleaner
Fixes #2742

PiperOrigin-RevId: 399238961
2021-09-27 11:28:08 -07:00
Polymer GitHub Actions Robot
9b724cb0b6 Auto bump MDC Web deps to 13.0.0-canary.c79aa0cdd.0 2021-09-24 15:03:58 +00:00
Elliott Marquez
b1a934642f v0.25.1 2021-09-20 20:00:44 -07:00
Elliott Marquez
a474e65744 v0.25.0 2021-09-20 19:08:51 -07:00
Elliott Marquez
af35344a47 v0.24.0 2021-09-20 19:08:23 -07:00
Elliott Marquez
5a434a50ea build: bump to lit 2 stable
PiperOrigin-RevId: 397892962
2021-09-20 18:57:44 -07:00
Polymer GitHub Actions Robot
97ad1caf05 Auto-format 2021-09-20 19:32:33 +00:00
Alexander Marks
f2ea80c413 Return ClassInfo instead of a DirectiveResult from mwc-button's getRenderClasses() method.
1. It allows subclasses to augment the classes.
2. It avoids an issue relating to relying on the implied type of Directive results, due to a bug in tsc (see https://github.com/material-components/material-web/issues/2715 and https://github.com/microsoft/TypeScript/issues/45946)

PiperOrigin-RevId: 397790019
2021-09-20 10:52:19 -07:00
Copybara-Service
32c830ee05 Merge pull request #2714 from material-components:auto-bump-mdc-deps-13.0.0-canary.65125b3a6.0
PiperOrigin-RevId: 397418212
2021-09-17 16:05:42 -07:00
Alexander Marks
2793afd799 Quote invalid-syntax calc expressions for compatibility with Sass 1.4 2021-09-17 11:45:59 -07:00
Polymer GitHub Actions Robot
1cfc41c243 Auto bump MDC Web deps to 13.0.0-canary.65125b3a6.0 2021-09-17 00:06:22 +00:00
Polymer GitHub Actions Robot
ac5389d5db Auto bump MDC Web deps to 13.0.0-canary.d4e16a6c4.0 2021-09-16 00:06:28 +00:00
Polymer GitHub Actions Robot
2bfe08bce4 Auto bump MDC Web deps to 13.0.0-canary.818f4ee93.0 2021-09-15 18:04:10 +00:00
Copybara-Service
0e1bd56f88 Merge pull request #2694 from material-components:auto-bump-mdc-deps-13.0.0-canary.08398f880.0
PiperOrigin-RevId: 396627670
2021-09-14 10:29:20 -07:00
Elliott Marquez
583613a97a fix(lit 2): add file extensions to imports reaching in lit
lit 2 uses package exports which it defines what you can import. Lit team includes all file extensions

PiperOrigin-RevId: 396618274
2021-09-14 09:51:42 -07:00
Polymer GitHub Actions Robot
3a014e98cb Auto bump MDC Web deps to 13.0.0-canary.08398f880.0 2021-09-14 00:06:05 +00:00
Elliott Marquez
20e2081c5c build: bump to lit 2
- **BREAKING:BUILD** underlying Lit 1 libraries updated to Lit 2
- This may break certain builds that are transitively relying on Lit 1
- If your Lit 1 components break due to this, make sure your `package.json`
   explicitly includes the latest Lit 1 versions of lit-html and lit-element
   or deduplicate your versions of Lit 1 with your bundler

PiperOrigin-RevId: 396468826
2021-09-13 16:29:20 -07:00
Elliott Marquez
4002aa7de9 v0.23.0 2021-09-13 14:12:26 -07:00
Polymer GitHub Actions Robot
77ca2baa21 Auto bump MDC Web deps to 13.0.0-canary.864798678.0 2021-09-09 21:04:00 +00:00
Daniel Freedman
17d51f7678 (chore) Fix Typescript 4.4 compilation issues with aria properties
Typescript 4.4 defines aria properties on Element prototype to be non-nullable. This matches the spec language in https://www.w3.org/TR/wai-aria-1.2/#AriaAttributes, but Chrome and Safari as of when these properties were added to MWC allowed the property to be set with `null` to clear the attribute.

There should be some ongoing work to align the spec and browsers in behavior, but that is out of scope for this project, unblocking Typescript 4.4 is of higher priority.

Related microsoft/TypeScript-DOM-lib-generator#1119
Fixes #2676

PiperOrigin-RevId: 395581595
2021-09-08 16:23:09 -07:00
Polymer GitHub Actions Robot
e31fbc2e51 Auto bump MDC Web deps to 13.0.0-canary.72464476c.0 2021-09-07 18:03:58 +00:00
tedium
ddaa5d8eb6 Auto bump MDC Web deps to 13.0.0-canary.15981e9d9.0
This PR was auto generated by the bump-mdc-deps GitHub action.

PiperOrigin-RevId: 392711737
2021-08-24 11:45:59 -07:00
Polymer GitHub Actions Robot
0e00114aa6 Auto bump MDC Web deps to 13.0.0-canary.7da413ed8.0 2021-08-20 18:03:52 +00:00
Material Web Team
02213ebe61 Add the override keyword to class members in TypeScript files
TypeScript’s override keyword (added in 4.3) works similarly to @Override in Java. It makes the intention clear and ensures there is actually a member in the base class with the same name. This helps with things like:
- Typos in the overriding member name
- Remember to rename members in sub classes when renaming an overridden member in a base class

class Parent {
  foo() {}
}

class Child extends Parent {
  override bar() {}
  //       ~~~ This member cannot have an 'override' modifier because it is not declared in the base class 'Parent'.
}

This change will not cause a runtime change: the override keyword is not present in the resulting JavaScript.

PiperOrigin-RevId: 392018020
2021-08-20 10:23:20 -07:00
Daniel Freedman
6b89b1c482 Update MDC dependency manually 2021-08-19 16:12:21 -07:00
Copybara-Service
849fd50cc9 Merge pull request #2625 from Richienb:patch-1
PiperOrigin-RevId: 391832327
2021-08-19 15:58:34 -07:00
Polymer GitHub Actions Robot
360350624a Auto bump MDC Web deps to 13.0.0-canary.43d2eed2a.0 2021-08-18 18:08:21 +00:00
Richie Bendall
e0d8255e24
Meta tweak 2021-08-19 01:08:12 +12:00
Polymer GitHub Actions Robot
98ecd4ecfb Auto bump MDC Web deps to 13.0.0-canary.457d89aad.0 2021-08-17 18:09:15 +00:00
Polymer GitHub Actions Robot
b442b1fcfa Auto bump MDC Web deps to 13.0.0-canary.2fb068fb0.0 2021-08-13 21:03:33 +00:00
Daniel Freedman
3a9b3149fb (chore) Update demo links in README for new repo name
PiperOrigin-RevId: 390476459
2021-08-12 15:39:36 -07:00
Polymer GitHub Actions Robot
f4da08ed74 Auto bump MDC Web deps to 13.0.0-canary.077dcfcfe.0 2021-08-12 18:09:26 +00:00
Polymer GitHub Actions Robot
b472f38b1a Auto bump MDC Web deps to 13.0.0-canary.0ad12ed3c.0 2021-08-12 00:06:04 +00:00
Polymer GitHub Actions Robot
82000e9a85 Auto bump MDC Web deps to 13.0.0-canary.f4241a42a.0 2021-08-11 18:08:06 +00:00
Polymer GitHub Actions Robot
26a6c26166 Auto bump MDC Web deps to 13.0.0-canary.7249a3060.0 2021-08-09 21:08:07 +00:00
Polymer GitHub Actions Robot
7e5d192cec Auto bump MDC Web deps to 13.0.0-canary.b47dd37a6.0 2021-08-05 21:04:11 +00:00
Polymer GitHub Actions Robot
8b7a3b7fb1 Auto bump MDC Web deps to 13.0.0-canary.3dd611091.0 2021-08-05 06:04:30 +00:00
Polymer GitHub Actions Robot
bb26b0b671 Auto bump MDC Web deps to 13.0.0-canary.7c96e6b98.0 2021-08-04 00:07:39 +00:00
Polymer GitHub Actions Robot
f33b8e74cf Auto bump MDC Web deps to 13.0.0-canary.cc5377458.0 2021-07-31 00:05:44 +00:00
Polymer GitHub Actions Robot
e65e836538 Auto bump MDC Web deps to 13.0.0-canary.ae85f7eba.0 2021-07-27 21:05:28 +00:00
Polymer GitHub Actions Robot
e5c9ffe82e Auto bump MDC Web deps to 12.0.0-canary.3f36ac75c.0 2021-07-23 21:03:38 +00:00
Polymer GitHub Actions Robot
3e9907b872 Auto bump MDC Web deps to 12.0.0-canary.90e08fc6b.0 2021-07-23 00:05:51 +00:00
Polymer GitHub Actions Robot
bf35e84c78 Auto bump MDC Web deps to 12.0.0-canary.5f00e454a.0 2021-07-22 18:03:39 +00:00
Polymer GitHub Actions Robot
b55726dae9 Auto bump MDC Web deps to 12.0.0-canary.6b0442278.0 2021-07-21 21:03:46 +00:00
Polymer GitHub Actions Robot
75c7e61614 Auto bump MDC Web deps to 12.0.0-canary.38d1846cc.0 2021-07-19 21:03:54 +00:00
Matt McDonald
90ff805712 feat(button): add support for setting aria-haspopup
This change introduces support for setting an `aria-haspopup` attribute on button components to provide appropriate accessibility indicators that the button may be used to implement a popup menu, or open a dialog.

PiperOrigin-RevId: 385545197
2021-07-19 07:04:12 -07:00
Polymer GitHub Actions Robot
e63cf1d785 Auto bump MDC Web deps to 12.0.0-canary.4d95812f9.0 2021-07-16 21:03:31 +00:00
Polymer GitHub Actions Robot
3bd6ee13c1 Auto bump MDC Web deps to 12.0.0-canary.9f68a932e.0 2021-07-16 00:05:48 +00:00
Liz Mitchell
9e41cb2e16 chore: add internal tslint comments
PiperOrigin-RevId: 385029244
2021-07-15 16:05:41 -07:00