update components

This commit is contained in:
Luke Pulverenti 2016-03-28 23:07:48 -04:00
parent ad97f736bf
commit a560460346
7 changed files with 41 additions and 19 deletions

View file

@ -1,6 +1,6 @@
{
"name": "iron-demo-helpers",
"version": "1.2.1",
"version": "1.2.2",
"description": "Utility classes to make building demo pages easier",
"authors": [
"The Polymer Authors"
@ -41,11 +41,11 @@
"paper-styles": "PolymerElements/paper-styles#^1.1.0",
"paper-checkbox": "PolymerElements/paper-checkbox#^1.0.0"
},
"_release": "1.2.1",
"_release": "1.2.2",
"_resolution": {
"type": "version",
"tag": "v1.2.1",
"commit": "bd29f0da165e6eb5d9010b6e2f62912e39e75236"
"tag": "v1.2.2",
"commit": "2fc1d6901a555f76e1c12b17dedaa555d8d4d9a5"
},
"_source": "git://github.com/polymerelements/iron-demo-helpers.git",
"_target": "^1.0.0",

View file

@ -1,6 +1,6 @@
{
"name": "iron-demo-helpers",
"version": "1.2.1",
"version": "1.2.2",
"description": "Utility classes to make building demo pages easier",
"authors": [
"The Polymer Authors"

View file

@ -1,6 +1,7 @@
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../iron-location/iron-location.html">
<link rel="import" href="../iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="../paper-styles/typography.html">
<!--
`url-bar` is a helper element that displays a simple read-only URL bar if
@ -9,6 +10,14 @@ deal with the URL in our iframe-based demo environments.
If the page is not in an iframe, the url-bar element is not displayed.
### Styling
The following custom properties and mixins are available for styling:
Custom property | Description | Default
----------------|-------------|----------
`--url-bar` | Mixin applied to the entire element | `{}`
@element url-bar
@demo demo/url-bar.html
-->
@ -19,20 +28,24 @@ If the page is not in an iframe, the url-bar element is not displayed.
margin: 0px;
padding: 15px 35px;
border-bottom: 2px solid gray;
height: 1em;
overflow: hidden;
height: 1.5em;
display: none;
overflow-x: auto;
overflow-y: hidden;
background-color: white;
@apply(--url-bar);
}
:host[in-iframe] {
/* This element only wants to be displayed if it's in an iframe. */
display: block;
}
label {
@apply(--paper-font-common-base);
display: inline-block;
padding-right: 25px;
}
span {
font-family: monospace;
@apply(--paper-font-common-code);
white-space: pre;
}
</style>
@ -54,6 +67,15 @@ If the page is not in an iframe, the url-bar element is not displayed.
return window.top !== window;
},
reflectToAttribute: true
},
path: {
type: String
},
query: {
type: String
},
hash: {
type: String
}
},
__computeUrl: function(path, query, hash) {

View file

@ -32,14 +32,14 @@
"web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"homepage": "https://github.com/polymerelements/iron-icon",
"homepage": "https://github.com/PolymerElements/iron-icon",
"_release": "1.0.8",
"_resolution": {
"type": "version",
"tag": "v1.0.8",
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
},
"_source": "git://github.com/polymerelements/iron-icon.git",
"_source": "git://github.com/PolymerElements/iron-icon.git",
"_target": "^1.0.0",
"_originalSource": "polymerelements/iron-icon"
"_originalSource": "PolymerElements/iron-icon"
}

View file

@ -36,7 +36,7 @@
"tag": "v1.3.0",
"commit": "1662093611cda3fd29125cdab94a61d3d88093da"
},
"_source": "git://github.com/PolymerElements/iron-selector.git",
"_source": "git://github.com/polymerelements/iron-selector.git",
"_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-selector"
"_originalSource": "polymerelements/iron-selector"
}

View file

@ -34,14 +34,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"ignore": [],
"homepage": "https://github.com/PolymerElements/paper-icon-button",
"homepage": "https://github.com/polymerelements/paper-icon-button",
"_release": "1.0.7",
"_resolution": {
"type": "version",
"tag": "v1.0.7",
"commit": "7623d73efeb6e2e88e2abdb5e4d00641d39e400f"
},
"_source": "git://github.com/PolymerElements/paper-icon-button.git",
"_source": "git://github.com/polymerelements/paper-icon-button.git",
"_target": "^1.0.0",
"_originalSource": "PolymerElements/paper-icon-button"
"_originalSource": "polymerelements/paper-icon-button"
}

View file

@ -26,14 +26,14 @@
"web-component-tester": "*"
},
"private": true,
"homepage": "https://github.com/polymer/polymer",
"homepage": "https://github.com/Polymer/polymer",
"_release": "1.4.0",
"_resolution": {
"type": "version",
"tag": "v1.4.0",
"commit": "11c987b2eb3c73b388a79fc8aaea8ca01624f514"
},
"_source": "git://github.com/polymer/polymer.git",
"_source": "git://github.com/Polymer/polymer.git",
"_target": "^1.0.0",
"_originalSource": "polymer/polymer"
"_originalSource": "Polymer/polymer"
}