Commit Graph

53 Commits

Author SHA1 Message Date
Elliott Marquez
29015e2db7
update textfield value on input instead of change (#490)
* update textfield value on input instead of change

* update changelog

* deleted testing code
2019-09-20 15:33:37 -07:00
Elliott Marquez
2f490554f6 make sure to build tests before testing 2019-08-28 02:09:41 -07:00
Elliott Marquez
b33f4e4f57 remove excess deps 2019-08-23 17:23:17 -07:00
Elliott Marquez
3999ec0f9c test:debug script runs on npm run test 2019-08-23 17:22:59 -07:00
Elliott Marquez
754c3b1615 add debug script 2019-08-23 17:22:59 -07:00
Elliott Marquez
14e5d6ae94 add koa-esm-transform and koa-static packages 2019-08-23 17:22:59 -07:00
Elliott Marquez
90cf8d3860 use karma proxy 2019-08-23 17:22:59 -07:00
Elliott Marquez
4868466827 move build to lib 2019-08-23 17:22:58 -07:00
Elliott Marquez
28e048f388 ts-ify tests 2019-08-23 17:22:58 -07:00
태재영
2fba04d57f fix(infrastructure): use postinstall instead of custom script (#374) 2019-08-16 20:01:55 -07:00
Daniel Freedman
93638d6189 Better readme for button
Related #348
2019-08-14 11:24:51 -07:00
Alexander Marks
6f78c3d652 Add a prepack script that rewrites README images to be permanent URLs.
This way we don't need to publish images in our NPM tarballs (they're
already in our .npmignore files), but the READMEs will still render with
images on npmjs.com, webcomponents.org, etc.

It resolves master to a SHA, and uses that in a
raw.githubusercontent.com URL, so that if we change or move images files
around, any given version of the README published to NPM won't be
affected.
2019-08-13 15:35:58 -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
a91de22571 Print CSS Custom Properties of a Sass file
Prints selector, property, and fallback value for the CSS Custom
Properties in a Sass file

Example usage:
```
./scripts/print-css-custom-properties.js packages/snackbar/src/mwc-snackbar.scss
```

Example output:
```css
slot[name=action]::slotted(mwc-button) { --mdc-theme-primary: var(--mdc-snackbar-action-color, #bb86fc) }
```
2019-08-09 14:46:14 -07:00
Alexander Marks
0cdab7ef66
Merge pull request #338 from 43081j/lint-base
update eslint plugin
2019-07-31 15:07:00 -07:00
43081j
4682f2aa14 update eslint plugins 2019-07-31 22:34:45 +01:00
Alexander Marks
58abb6bdc6 Run clang-format 2019-07-31 13:09:45 -07:00
43081j
dfed25a6fa introduce clang-format 2019-07-31 20:15:16 +01:00
43081j
79c7fd3902 update dependencies 2019-07-31 12:12:40 -07:00
43081j
ebb021808a add linting to build script 2019-07-31 12:12:40 -07:00
43081j
e4af5ad063 introduce web component lint rules 2019-07-31 12:12:40 -07:00
43081j
15e4edca01 introduce eslint deps 2019-07-31 12:12:40 -07:00
Elliott Marquez
81800e62d1 fix watch:tests script 2019-07-24 17:08:53 -07:00
Elliott Marquez
eb34ec15cc create a benchmark cli 2019-07-24 17:08:53 -07:00
Frankie Fu
a80761a485 update webcomponentsjs to v2.2.8 2019-04-10 12:06:55 -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
straversi
792c4bf37d Forward change events out of form elements 2019-04-01 10:24:23 -07:00
Daniel Freedman
5cc6d19c11 Add more tests
- Use mocha reporter with "minimal" option, because the output is nice
- Add sourcemap loader back
- Add more components
- Fix mwc-switch tests for `_input` -> `formElement` property name
change
2019-02-01 16:25:28 -08:00
Daniel Freedman
17f46249e6 Fix typescript building
- Add back-references to dependencies for `tsc --build` to work
- Normalize on `build:typescript` syntax
- make `clean` work
2019-02-01 15:39:47 -08:00
Daniel Freedman
0bb1502e18 Update and change out dependencies
- Replace webpack with rollup for karma
- Remove most of the unused npm scripts
- Fix karma node resolver usage
- Remove webpack test/unit/index.js file
- Sauce runner configs from Polymer
2019-01-30 17:53:53 -08:00
Peter Blazejewicz
e93efc27d1 Update npm-run-all version to fix flatmap-stream dependency
The flatmap-stream has been removed from NPM.
With this change the project installs locally.

Thanks!
2018-12-16 23:02:44 +01:00
Daniel Freedman
fbae6bedd5 fix class-map rename in latest lit-html 2018-12-12 13:00:00 -08:00
Daniel Freedman
16ddf987a8 Remove uglify plugin from demo build
It was doing _weird_ things with Ripple directive
Also lock in version of lit-html, lit-element, and webcomponents
2018-10-08 11:15:38 -07:00
Daniel Freedman
b8b6069538 Update dependencies
- Typescript 3.1
  - Fix radio, drawer, icon-font, and ripple for new DOM typings
- node-sass -> sass
2018-10-02 17:44:04 -07: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
Daniel Freedman
79390b55f8 Improve watch output on error
Make `build-typescript` not need explicit packages
2018-09-26 12:25:19 -07:00
Daniel Freedman
2b9ee8a141 Only build sass files if they change
Makes typescript builds _way_ faster
2018-09-26 11:37:50 -07:00
Daniel Freedman
69811855e8 Make sure node-watch dependency is installed
Run `build` first before watching
2018-09-26 10:52:39 -07:00
Daniel Freedman
80bda90d66 Implement watcher
Uses `node-watch` to watch for changes and run `npm run build`
It does too much, but I'm not sure how to do any incremental builds

Fixes #115
2018-09-25 17:44:38 -07:00
Daniel Freedman
392c165d3b Merge branch 'typescript' into buttons-typescript 2018-09-24 11:05:50 -07:00
Daniel Freedman
c97ddebffc Convert mwc-checkbox to typescript 2018-09-21 17:44:10 -07:00
Steven Orvell
d9bb6ea480 Icon in TypeScript 2018-09-21 11:09:23 -07:00
Steven Orvell
3a4ef18349 FAB in TypeScript 2018-09-21 10:05:35 -07:00
Steven Orvell
6166f8863c Button in typescript 2018-09-20 18:18:25 -07:00
Steven Orvell
05754a4d3e Ripple in TypeScript
Updated to render using a Ripple directive.
2018-09-20 17:53:32 -07:00
Daniel Freedman
a19388c391 Fix style building 2018-09-20 12:48:07 -07:00
Daniel Freedman
80f901b4d7 First crazy attempt at typescript conversion
Look at switch and base packages

Move sass building into scripts
2018-09-19 17:35:42 -07:00
Russell Bicknell
13a2a76263 Update @webcomponents/webcomponentsjs to v2.0.1 (...)
- The elements in these packages depend on @polymer/lit-element@^0.5.2, which
  depend on lit-html@^0.10.0:

  https://github.com/Polymer/lit-element/blob/v0.5.2/package.json#L39
  (7f01cbb07645248b035fd824e5db62dd96bafaf8)

  lit-html@0.10.1 includes changes which make it incompatible with shadycss
  <1.3.0:

  4dea332e7b

  webcomponentsjs@2.0.1 is the first to build with shadycss >=1.3.0:

  https://github.com/webcomponents/webcomponentsjs/blob/v2.0.0/package-lock.json#L1293
  (df225f93b54f1944318931b770bc5c6b2d5de98d)

  https://github.com/webcomponents/webcomponentsjs/blob/v2.0.1/package-lock.json#L1287
  (c6a97da5621b2f40fe8046c8dd66febb5b0c8120)
2018-06-25 15:00:05 -07:00
Daniel Freedman
e7fea4add9 Update packages to use lit-element 0.5.x 2018-05-29 16:12:16 -07:00