Commit Graph

58 Commits

Author SHA1 Message Date
Alexander Marks
7635db5760 New README for mwc-fab.
Also updates all demos to load the correct Roboto font widths, and
updates the FAB demo to match the examples in the README.
2019-08-12 18:30:20 -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
Daniel Freedman
194d7dead9 Refactor icon-button to accept SVG or image icons
Fixes #156
2019-08-09 17:17:18 -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
8d2c13e0fa Add font import to demo.
We no longer auto-import fonts.
2019-08-07 14:30:00 -07:00
Alexander Marks
383feb124f
Merge pull request #144 from eskan/patch-2
Fix typo in chips demo
2019-07-20 13:02:47 -07:00
Daniel Freedman
043425816e Fix up demos
- Add wicg-inert and blocking-elements to drawer
- Uncomment snackbar and slider demos
- Remove demos for draft components
2019-06-04 17:35:45 -07:00
Daniel Freedman
1bdd416430 Expose icon-button demo 2019-04-08 18:06:44 -07:00
Frankie Fu
aa27f99b41 update to mdc 1.0.0 2019-03-13 10:23:56 -07:00
straversi
2d559cd002 Merge branch 'master' into top-app-bar--center-title 2019-03-11 14:48:05 -07:00
navigalia
4e2d62aef0 add trailing icon to button 2019-03-05 16:04:28 +01:00
straversi
db33fa4270 TopAppBar: remove extra row 2019-02-25 14:00:11 -08:00
straversi
a260cee62c TopAppBar: Add centered title option 2019-02-20 10:53:58 -08:00
straversi
8c8c15c90f Drawer: Fix host height 2019-02-04 11:06:33 -08:00
straversi
ac75ebad0d TabBar: RTL support 2019-02-01 14:34:06 -08:00
straversi
e1953b23a5 Drawer: Slot app content 2019-01-31 16:34:40 -08:00
Daniel Freedman
c419105eda Fix up button demo to import css function 2019-01-28 15:20:12 -08:00
Giorgio Garasto
8bc9f813a6 Merge branch 'master' into static-styles 2019-01-24 19:05:08 +01:00
straversi
ffa5ae1b91 TopAppBar: clean up demo 2019-01-18 16:28:29 -08:00
Daniel Freedman
dc4e2c648f
Merge pull request #181 from material-components/drawer-demo-feedback
[drawer] Address demo feedback
2019-01-17 17:26:18 -08:00
straversi
03bb202e92 use kebab-case for class name 2019-01-17 17:01:45 -08:00
straversi
6fc817ae92 remove unnecessary id 2019-01-17 16:57:24 -08:00
straversi
70b4da0552 use icon-buttons instead of icons 2019-01-17 16:52:42 -08:00
straversi
5a324adfd2 address @frankiefu's feedback 2019-01-17 16:02:07 -08:00
Giorgio Garasto
9df7da7c38 Use css tag for demos' specific styles 2019-01-15 13:17:12 +01:00
Giorgio Garasto
4f0cfb97b2 Update button demo to use static styles 2019-01-15 09:02:42 +01:00
Giorgio Garasto
92ee0aab12 Use static styles on demos 2019-01-15 09:00:30 +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
straversi
2663c5da7b [drawer] Address demo feedback
* Confine each drawer type in iframes, for scrim containment
* Add top app bar to demos, to show interaction with navigation button
* Remove redundant css imports
2019-01-09 10:12:53 -08: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
Cyrille Colin
e1d6998115
Fix typo in chips demo
replace leadingIcon with trailingIcon in trailing icon demo
2018-10-10 11:08:50 +02:00
Daniel Freedman
31e22cc808 Use listener functions on the class
Add `@eventOptions({passive: true})` for interation handlers in
tab-scroller

Fixes #136
2018-10-09 16:44:21 -07:00
Daniel Freedman
41e470a979 Make demo publishing more consistant 2018-10-05 15:44:31 -07:00
Daniel Freedman
ac7e40d6fd remove implemented, but unpublished element demos 2018-10-04 16:08:00 -07:00
Daniel Freedman
dcb9656ebb remove demos for unpublished elements 2018-10-04 12:11:32 -07:00
Daniel Freedman
1159e10a90 Rewrite formfield as typescript
- Implement `ripple` getter on formable components for activation of
ripple directive
- Improve watcher output
2018-10-04 12:01:21 -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
Steven Orvell
a33268cf26 Tabs: more demos 2018-09-26 15:30:46 -07:00
Steven Orvell
63c2ed45ab Tabs
Demo now mostly working but still WIP
2018-09-26 14:10:13 -07:00
Steven Orvell
e63a3a8ec9 Tabs: demo slightly works (wip) 2018-09-25 18:23:11 -07:00
Steven Orvell
4be6f4f4d7 Update demo
some fixes to make demo work (wip)
2018-09-25 11:59:10 -07:00
Steven Orvell
d4c9df1476 Add full page demo. 2018-09-24 18:07:12 -07:00
Steven Orvell
675788bf75 Top App Bar 2018-09-24 17:36:21 -07:00
Steven Orvell
a10e0e033e Changed to type property for modal and dismissible
Change made based on user feedback.
2018-09-24 11:23:50 -07:00
Steven Orvell
2b6c84c51d Drawer
demo now working
2018-09-24 11:03:35 -07:00
Steven Orvell
8ea9160ac2 Drawer
WIP
2018-09-21 17:13:19 -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
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
Frankie Fu
1fb01a0628 update to lit-element#dev (currently 0.6.0-dev.5); make tests passing and demos/index.html working 2018-08-30 15:07:18 -07:00