Commit Graph

6 Commits

Author SHA1 Message Date
Alexander Marks
01c58e7baf Import symbols from lit-element and lit-html directly. (#472)
Previously, mwc-base re-exported lit-element and lit-html. While that
approach does make it a little easier to manage dependencies, it's
better to include the dependency directly. Lerna can easily be used
install/upgrade a dependency across all or a subset of packages.

- Users are likely to copy this style. We would prefer that if they use
  lit, they directly depend on it, instead of depending on our base class
  even when they may not need it.

- It locks us into using lit in our implementation without a breaking
  change. No plans to change that, but it's just one less thing in our
  API surface.

- It works better for internal Google tooling because the lit dependency
  can be analyzed statically.
2019-09-12 17:12:49 -07:00
Daniel Freedman
bd16176cce Minimize direct imports of lit-html and lit-element
mwc-base exports everything needed by the majority of elements.

This will reduce maintenance on updating lit versions.
2019-01-30 13:06:06 -08:00
Giorgio Garasto
f3f782c840 Update SASS template to use the new lit-element css tag 2019-01-15 08:41:31 +01:00
Daniel Freedman
dd66b812f7 Update lit-html and lit-element dependencies
- lit-html 1.0.0-rc.2
- lit-element 2.0.0-rc.2
2019-01-11 14:05:26 -08:00
Daniel Freedman
b9d0be5e7f Some cleanup
- Add drawer, top-app-bar, and tabs into demo index
- Remove old packages/all.js
- Remove explicit path for `lit-element` dependency in sass template
2018-10-02 15:35:21 -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