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
This commit is contained in:
Daniel Freedman 2018-10-02 15:35:21 -07:00
parent 57d88a8ab6
commit b9d0be5e7f
4 changed files with 19 additions and 42 deletions

View File

@ -120,6 +120,13 @@ limitations under the License.
<span class="mdc-list-item__secondary-text">Interactive presentation of important information</span>
</span>
</a> -->
<a role="listitem" class="mdc-list-item" href="drawer.html">
<span class="demo-catalog-list-icon mdc-list-item__graphic"><img src="https://material-components-web.appspot.com/images/ic_component_24px.svg"></span>
<span class="mdc-list-item__text">
Drawer
<span class="mdc-list-item__secondary-text">Multi-selection controls</span>
</span>
</a>
<a role="listitem" class="mdc-list-item" href="formfield.html">
<span class="demo-catalog-list-icon mdc-list-item__graphic"><img src="https://material-components-web.appspot.com/images/ic_text_field_24px.svg"></span>
<span class="mdc-list-item__text">
@ -197,13 +204,13 @@ limitations under the License.
<span class="mdc-list-item__secondary-text">On off switches</span>
</span>
</a>
<!-- <a role="listitem" class="mdc-list-item" href="tabs.html">
<a role="listitem" class="mdc-list-item" href="tabs.html">
<span class="demo-catalog-list-icon mdc-list-item__graphic"><img src="https://material-components-web.appspot.com/images/ic_tabs_24px.svg"></span>
<span class="mdc-list-item__text">
Tabs
<span class="mdc-list-item__secondary-text">Tabs with support for icon and text labels</spandiv>
<span class="mdc-list-item__secondary-text">Tabs with support for icon and text labels</span>
</span>
</a> -->
</a>
<a role="listitem" class="mdc-list-item" href="textfield.html">
<span class="demo-catalog-list-icon mdc-list-item__graphic"><img src="https://material-components-web.appspot.com/images/ic_text_field_24px.svg"></span>
<span class="mdc-list-item__text">
@ -211,6 +218,13 @@ limitations under the License.
<span class="mdc-list-item__secondary-text">Single and multiline text fields</span>
</span>
</a>
<a role="listitem" class="mdc-list-item" href="top-app-bar.html">
<span class="demo-catalog-list-icon mdc-list-item__graphic"><img src="https://material-components-web.appspot.com/images/ic_component_24px.svg"></span>
<span class="mdc-list-item__text">
Top App Bar
<span class="mdc-list-item__secondary-text">Single and multiline text fields</span>
</span>
</a>
</div>
</div>
`;

View File

@ -18,7 +18,7 @@
"build-styling": "./scripts/build-styling.sh",
"build-typescript": "tsc -b --verbose packages/**/tsconfig.json",
"update-gh-pages": "npm run bootstrap && ./scripts/publish-demos.sh",
"watch": "npm run build && node scripts/watcher.js"
"watch": "npm run bootstrap && node scripts/watcher.js"
},
"devDependencies": {
"@webcomponents/webcomponentsjs": "^2.0.1",

View File

@ -1,37 +0,0 @@
/**
* Copyright 2018 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export {Button} from '@material/mwc-button/mwc-button.js';
export {Fab} from '@material/mwc-fab/mwc-fab.js';
export {Checkbox} from '@material/mwc-checkbox/mwc-checkbox.js';
export {Chip} from '@material/mwc-chips/mwc-chip.js';
export {ChipSet} from '@material/mwc-chips/mwc-chip-set.js';
export {Dialog} from '@material/mwc-dialog/mwc-dialog.js';
export {Formfield} from '@material/mwc-formfield/mwc-formfield.js';
export {Icon} from '@material/mwc-icon/mwc-icon.js';
export {IconToggle} from '@material/mwc-icon-toggle/mwc-icon-toggle.js';
export {LinearProgress} from '@material/mwc-linear-progress/mwc-linear-progress.js';
export {ListItem} from '@material/mwc-list/mwc-list-item.js';
export {Menu} from '@material/mwc-menu/mwc-menu.js';
export {Radio} from '@material/mwc-radio/mwc-radio.js';
export {Ripple} from '@material/mwc-ripple/mwc-ripple.js';
export {Select} from '@material/mwc-select/mwc-select.js';
export {Slider} from '@material/mwc-slider/mwc-slider.js';
export {Snackbar} from '@material/mwc-snackbar/mwc-snackbar.js';
export {Switch} from '@material/mwc-switch/mwc-switch.js';
export {Tab} from '@material/mwc-tab/mwc-tab.js';
export {TabBar} from '@material/mwc-tab-bar/mwc-tab-bar.js';
export {Textfield} from '@material/mwc-textfield/mwc-textfield.js';

View File

@ -14,6 +14,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
import {html} from '@polymer/lit-element/lit-element.js';
import {html} from '@polymer/lit-element';
export const style = html`<style><% content %></style>`;