diff --git a/demos/button.html b/demos/button.html index d65dd730ace..9eceecdfe58 100644 --- a/demos/button.html +++ b/demos/button.html @@ -23,7 +23,7 @@ - + - +
@@ -87,24 +83,23 @@
  • -
    -
    -
    - -
    - - - -
    -
    +
    +
    + +
    + + + +
    -
    + +
    @@ -746,9 +741,6 @@

    Grid List: use div's background instead of img tag (useful when image ratio // This is not needed when using pre-built css and js setTimeout(function() { initGridList(); - setTimeout (function() { - document.querySelector('.mdc-grid-list-demo').style.visibility = 'visible'; - }, 250); }, 100); diff --git a/demos/icon-toggle.html b/demos/icon-toggle.html index 6fe3c98c452..8923446e1d3 100644 --- a/demos/icon-toggle.html +++ b/demos/icon-toggle.html @@ -20,7 +20,7 @@ Icon Toggle - Material Components Demo - + diff --git a/demos/index.html b/demos/index.html index 6c1cd54e08d..c7b1ce4e7f1 100644 --- a/demos/index.html +++ b/demos/index.html @@ -20,7 +20,7 @@ Material Components Catalog - + diff --git a/demos/layout-grid.html b/demos/layout-grid.html index ebb4c5c6e96..b07729a9ca2 100644 --- a/demos/layout-grid.html +++ b/demos/layout-grid.html @@ -20,7 +20,7 @@ Layout Grid - Material Components - + diff --git a/demos/linear-progress.html b/demos/linear-progress.html index 12785153555..4cf34331798 100644 --- a/demos/linear-progress.html +++ b/demos/linear-progress.html @@ -20,7 +20,7 @@ Linear Progress - Material Components Catalog - + diff --git a/demos/list.html b/demos/list.html index 73d6c76bf5e..a5fcab4ea60 100644 --- a/demos/list.html +++ b/demos/list.html @@ -20,7 +20,7 @@ List Item - Material Components Catalog - + diff --git a/demos/radio.html b/demos/radio.html index 067dab8a5b4..693973cbb5f 100644 --- a/demos/radio.html +++ b/demos/radio.html @@ -20,7 +20,7 @@ Radio Button - Material Components Demo - + diff --git a/demos/ripple.html b/demos/ripple.html index 46f9d08392e..5c104a9bfd4 100644 --- a/demos/ripple.html +++ b/demos/ripple.html @@ -20,7 +20,7 @@ Ripple - Material Components Catalog - + diff --git a/demos/select.html b/demos/select.html index c2ed4119728..709397c1e96 100644 --- a/demos/select.html +++ b/demos/select.html @@ -20,7 +20,7 @@ Select Menu - Material Components Catalog - + diff --git a/demos/simple-menu.html b/demos/simple-menu.html index 6bbea52b85b..6e535c2965e 100644 --- a/demos/simple-menu.html +++ b/demos/simple-menu.html @@ -20,7 +20,7 @@ Simple Menu - Material Components Catalog - + diff --git a/demos/slider.html b/demos/slider.html index 7ddc927676a..645ee414e26 100644 --- a/demos/slider.html +++ b/demos/slider.html @@ -20,7 +20,7 @@ Slider - Material Components Catalog - + diff --git a/demos/snackbar.html b/demos/snackbar.html index 681fbf50665..b3afbe6878b 100644 --- a/demos/snackbar.html +++ b/demos/snackbar.html @@ -20,7 +20,7 @@ Snackbar - Material Components Catalog - + diff --git a/demos/switch.html b/demos/switch.html index f8f0d697209..713ed17be2e 100644 --- a/demos/switch.html +++ b/demos/switch.html @@ -20,7 +20,7 @@ Switch - Material Components Catalog - + diff --git a/demos/tabs.html b/demos/tabs.html index 4879472eb96..ffe87338032 100644 --- a/demos/tabs.html +++ b/demos/tabs.html @@ -20,7 +20,7 @@ Tabs - Material Components Catalog - + diff --git a/demos/text-field.html b/demos/text-field.html index 8dd1636de41..64c509d7803 100644 --- a/demos/text-field.html +++ b/demos/text-field.html @@ -20,7 +20,7 @@ Text Field - Material Components Catalog - + diff --git a/demos/theme/index.html b/demos/theme/index.html index c0d3551e150..ced52febb8c 100644 --- a/demos/theme/index.html +++ b/demos/theme/index.html @@ -23,7 +23,7 @@ - +
    diff --git a/demos/toolbar/custom-toolbar.html b/demos/toolbar/custom-toolbar.html index 7591f86ff51..c7f25dbc856 100644 --- a/demos/toolbar/custom-toolbar.html +++ b/demos/toolbar/custom-toolbar.html @@ -20,7 +20,7 @@ Custom Toolbar - Material Components Catalog - + diff --git a/demos/toolbar/default-flexible-toolbar.html b/demos/toolbar/default-flexible-toolbar.html index 6f8a0ae7186..5ac729d9ddf 100644 --- a/demos/toolbar/default-flexible-toolbar.html +++ b/demos/toolbar/default-flexible-toolbar.html @@ -20,7 +20,7 @@ MDC Toolbar Demo - + diff --git a/demos/toolbar/default-toolbar.html b/demos/toolbar/default-toolbar.html index 1d98e424e8d..a4a4df240e6 100644 --- a/demos/toolbar/default-toolbar.html +++ b/demos/toolbar/default-toolbar.html @@ -20,7 +20,7 @@ MDC Toolbar Demo - + diff --git a/demos/toolbar/fixed-toolbar.html b/demos/toolbar/fixed-toolbar.html index 49d96b42717..8804ca5b20a 100644 --- a/demos/toolbar/fixed-toolbar.html +++ b/demos/toolbar/fixed-toolbar.html @@ -20,7 +20,7 @@ MDC Toolbar Demo - + diff --git a/demos/toolbar/index.html b/demos/toolbar/index.html index 19c041e8325..9017fa91754 100644 --- a/demos/toolbar/index.html +++ b/demos/toolbar/index.html @@ -20,7 +20,7 @@ Toolbar - Material Components Catalog - + diff --git a/demos/toolbar/menu-toolbar.html b/demos/toolbar/menu-toolbar.html index 51db9fcfc64..c1889af721c 100644 --- a/demos/toolbar/menu-toolbar.html +++ b/demos/toolbar/menu-toolbar.html @@ -19,7 +19,7 @@ MDC Toolbar Demo - + diff --git a/demos/toolbar/waterfall-flexible-toolbar-custom-style.html b/demos/toolbar/waterfall-flexible-toolbar-custom-style.html index 132da4b646a..b23c05c5f4d 100644 --- a/demos/toolbar/waterfall-flexible-toolbar-custom-style.html +++ b/demos/toolbar/waterfall-flexible-toolbar-custom-style.html @@ -20,7 +20,7 @@ MDC Toolbar Demo - + diff --git a/demos/toolbar/waterfall-flexible-toolbar.html b/demos/toolbar/waterfall-flexible-toolbar.html index e162cebea1e..9c0e75cc231 100644 --- a/demos/toolbar/waterfall-flexible-toolbar.html +++ b/demos/toolbar/waterfall-flexible-toolbar.html @@ -20,7 +20,7 @@ MDC Toolbar Demo - + diff --git a/demos/toolbar/waterfall-toolbar-fix-last-row.html b/demos/toolbar/waterfall-toolbar-fix-last-row.html index 98690b64e66..b1bed34a9b9 100644 --- a/demos/toolbar/waterfall-toolbar-fix-last-row.html +++ b/demos/toolbar/waterfall-toolbar-fix-last-row.html @@ -20,7 +20,7 @@ MDC Toolbar Demo - + diff --git a/demos/toolbar/waterfall-toolbar.html b/demos/toolbar/waterfall-toolbar.html index 5964866b62e..105fcdcb5e0 100644 --- a/demos/toolbar/waterfall-toolbar.html +++ b/demos/toolbar/waterfall-toolbar.html @@ -20,7 +20,7 @@ MDC Toolbar Demo - + diff --git a/demos/typography.html b/demos/typography.html index b88f25ad296..b553ff84f57 100644 --- a/demos/typography.html +++ b/demos/typography.html @@ -20,7 +20,7 @@ Typography - Material Components Catalog - + diff --git a/webpack.config.js b/webpack.config.js index e4d245b4297..f59972ca1fd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -30,7 +30,7 @@ const DEMO_ASSET_DIR_REL = '/assets/'; // Used by webpack-dev-server and MDC_BUI const IS_DEV = process.env.MDC_ENV === 'development'; const IS_PROD = process.env.MDC_ENV === 'production'; -const WRAP_CSS_IN_JS = process.env.MDC_WRAP_CSS_IN_JS !== 'false' && IS_DEV; +const WRAP_CSS_IN_JS = process.env.MDC_WRAP_CSS_IN_JS === 'true' && IS_DEV; // Source maps break extract-text-webpack-plugin, so they need to be disabled when WRAP_CSS_IN_JS is set to false. const GENERATE_SOURCE_MAPS = process.env.MDC_GENERATE_SOURCE_MAPS === 'true' ||