Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
Update demo to use 2.0 elements! 🎉🦋
Browse files Browse the repository at this point in the history
  • Loading branch information
dunnkers committed Oct 22, 2017
1 parent 6687d2d commit 6ad8a80
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 26 deletions.
35 changes: 18 additions & 17 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@
"polymer": "^2.1.0",
"webcomponentsjs": "^1.0.13",
"paper-styles": "PolymerElements/paper-styles#^2.0.0",
"vaadin-date-picker": "^2.0.6"
},
"resolutions": {
"webcomponentsjs": "^1.0.13",
"polymer": "^2.1.0",
"paper-drawer-panel": "^2.0.0",
"paper-listbox": "^2.0.0",
"paper-styles": "^2.0.0",
"paper-header-panel": "^2.0.0",
"paper-icon-button": "^2.0.1",
"paper-toolbar": "^2.0.0",
"iron-a11y-announcer": "^2.0.0",
"iron-dropdown": "^2.0.0",
"vaadin-date-picker": "^2.0.6",
"iron-overlay-behavior": "^2.0.0",
"iron-media-query": "^2.0.0",
"iron-a11y-keys-behavior": "^2.0.0",
"iron-resizable-behavior": "^2.0.0"
"paper-drawer-panel": "PolymerElements/paper-drawer-panel#^2.0.0",
"paper-header-panel": "PolymerElements/paper-header-panel#^2.0.0",
"paper-toolbar": "PolymerElements/paper-toolbar#^2.0.0",
"paper-icon-button": "PolymerElements/paper-icon-button#^2.0.1",
"paper-badge": "PolymerElements/paper-badge#^2.0.0",
"paper-checkbox": "PolymerElements/paper-checkbox#^2.0.1",
"paper-input": "PolymerElements/paper-input#^2.0.2",
"paper-tabs": "PolymerElements/paper-tabs#^2.0.0",
"paper-dropdown-menu": "PolymerElements/paper-dropdown-menu#^2.0.0",
"paper-progress": "PolymerElements/paper-progress#^2.0.1",
"paper-spinner": "PolymerElements/paper-spinner#^2.0.0",
"paper-slider": "PolymerElements/paper-slider#^2.0.2",
"paper-listbox": "PolymerElements/paper-listbox#^2.0.0",
"paper-radio-group": "PolymerElements/paper-radio-group#^2.0.0",
"paper-fab": "PolymerElements/paper-fab#^2.0.0",
"iron-icons": "PolymerElements/iron-icons#^2.0.1",
"vaadin-material-theme": "^0.3.0",
"paper-item": "PolymerElements/paper-item#^2.0.0"
}
}
1 change: 1 addition & 0 deletions tests/dummy/app/elements.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="import" href="../../../bower_components/vaadin-material-theme/vaadin-date-picker.html">
13 changes: 6 additions & 7 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<paper-drawer-panel>
<paper-header-panel drawer>
<paper-toolbar>
<div>Drawer</div>
<paper-header-panel slot="drawer">
<paper-toolbar slot="header">
<div slot="top">Drawer</div>
</paper-toolbar>
<paper-listbox selected="0">
<paper-item>Item 1</paper-item>
<paper-item>Item 2</paper-item>
</paper-listbox>
</paper-header-panel>
<paper-header-panel main>
<paper-toolbar>
<paper-icon-button icon="menu" paper-drawer-toggle></paper-icon-button>
<div>Example ember-polymer elements</div>
<paper-header-panel slot="main">
<paper-toolbar slot="header">
<div slot="top">Example ember-polymer elements</div>
</paper-toolbar>
<div class="outlet">
{{outlet}}
Expand Down
6 changes: 4 additions & 2 deletions tests/dummy/app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<p>Or any other custom element from <a href="https://www.webcomponents.org/">webcomponents.org</a>:</p>

<small>vaadin-date-picker</small>
<vaadin-date-picker></vaadin-date-picker>
<section>
<vaadin-date-picker></vaadin-date-picker>
</section>

<section>
<paper-icon-button id="number" icon="mail" alt="inbox">
Expand All @@ -31,7 +33,7 @@
</section>
<section>
<paper-dropdown-menu label="Dinosaurs">
<paper-listbox class="dropdown-content">
<paper-listbox slot="dropdown-content">
<paper-item>allosaurus</paper-item>
<paper-item>brontosaurus</paper-item>
<paper-item>carcharodontosaurus</paper-item>
Expand Down

0 comments on commit 6ad8a80

Please sign in to comment.