update components
This commit is contained in:
parent
ad97f736bf
commit
a560460346
7 changed files with 41 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iron-demo-helpers",
|
"name": "iron-demo-helpers",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "Utility classes to make building demo pages easier",
|
"description": "Utility classes to make building demo pages easier",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
@ -41,11 +41,11 @@
|
||||||
"paper-styles": "PolymerElements/paper-styles#^1.1.0",
|
"paper-styles": "PolymerElements/paper-styles#^1.1.0",
|
||||||
"paper-checkbox": "PolymerElements/paper-checkbox#^1.0.0"
|
"paper-checkbox": "PolymerElements/paper-checkbox#^1.0.0"
|
||||||
},
|
},
|
||||||
"_release": "1.2.1",
|
"_release": "1.2.2",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.2.1",
|
"tag": "v1.2.2",
|
||||||
"commit": "bd29f0da165e6eb5d9010b6e2f62912e39e75236"
|
"commit": "2fc1d6901a555f76e1c12b17dedaa555d8d4d9a5"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-demo-helpers.git",
|
"_source": "git://github.com/polymerelements/iron-demo-helpers.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "iron-demo-helpers",
|
"name": "iron-demo-helpers",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"description": "Utility classes to make building demo pages easier",
|
"description": "Utility classes to make building demo pages easier",
|
||||||
"authors": [
|
"authors": [
|
||||||
"The Polymer Authors"
|
"The Polymer Authors"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<link rel="import" href="../polymer/polymer.html">
|
<link rel="import" href="../polymer/polymer.html">
|
||||||
<link rel="import" href="../iron-location/iron-location.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="../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
|
`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.
|
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
|
@element url-bar
|
||||||
@demo demo/url-bar.html
|
@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;
|
margin: 0px;
|
||||||
padding: 15px 35px;
|
padding: 15px 35px;
|
||||||
border-bottom: 2px solid gray;
|
border-bottom: 2px solid gray;
|
||||||
height: 1em;
|
height: 1.5em;
|
||||||
overflow: hidden;
|
|
||||||
display: none;
|
display: none;
|
||||||
|
overflow-x: auto;
|
||||||
|
overflow-y: hidden;
|
||||||
|
background-color: white;
|
||||||
|
@apply(--url-bar);
|
||||||
}
|
}
|
||||||
:host[in-iframe] {
|
:host[in-iframe] {
|
||||||
/* This element only wants to be displayed if it's in an iframe. */
|
/* This element only wants to be displayed if it's in an iframe. */
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
|
@apply(--paper-font-common-base);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-right: 25px;
|
padding-right: 25px;
|
||||||
}
|
}
|
||||||
span {
|
span {
|
||||||
font-family: monospace;
|
@apply(--paper-font-common-code);
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -54,6 +67,15 @@ If the page is not in an iframe, the url-bar element is not displayed.
|
||||||
return window.top !== window;
|
return window.top !== window;
|
||||||
},
|
},
|
||||||
reflectToAttribute: true
|
reflectToAttribute: true
|
||||||
|
},
|
||||||
|
path: {
|
||||||
|
type: String
|
||||||
|
},
|
||||||
|
query: {
|
||||||
|
type: String
|
||||||
|
},
|
||||||
|
hash: {
|
||||||
|
type: String
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
__computeUrl: function(path, query, hash) {
|
__computeUrl: function(path, query, hash) {
|
||||||
|
|
|
@ -32,14 +32,14 @@
|
||||||
"web-component-tester": "^4.0.0",
|
"web-component-tester": "^4.0.0",
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.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",
|
"_release": "1.0.8",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.8",
|
"tag": "v1.0.8",
|
||||||
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymerelements/iron-icon.git",
|
"_source": "git://github.com/PolymerElements/iron-icon.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymerelements/iron-icon"
|
"_originalSource": "PolymerElements/iron-icon"
|
||||||
}
|
}
|
|
@ -36,7 +36,7 @@
|
||||||
"tag": "v1.3.0",
|
"tag": "v1.3.0",
|
||||||
"commit": "1662093611cda3fd29125cdab94a61d3d88093da"
|
"commit": "1662093611cda3fd29125cdab94a61d3d88093da"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/iron-selector.git",
|
"_source": "git://github.com/polymerelements/iron-selector.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/iron-selector"
|
"_originalSource": "polymerelements/iron-selector"
|
||||||
}
|
}
|
|
@ -34,14 +34,14 @@
|
||||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||||
},
|
},
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"homepage": "https://github.com/PolymerElements/paper-icon-button",
|
"homepage": "https://github.com/polymerelements/paper-icon-button",
|
||||||
"_release": "1.0.7",
|
"_release": "1.0.7",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.0.7",
|
"tag": "v1.0.7",
|
||||||
"commit": "7623d73efeb6e2e88e2abdb5e4d00641d39e400f"
|
"commit": "7623d73efeb6e2e88e2abdb5e4d00641d39e400f"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-icon-button.git",
|
"_source": "git://github.com/polymerelements/paper-icon-button.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/paper-icon-button"
|
"_originalSource": "polymerelements/paper-icon-button"
|
||||||
}
|
}
|
|
@ -26,14 +26,14 @@
|
||||||
"web-component-tester": "*"
|
"web-component-tester": "*"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "https://github.com/polymer/polymer",
|
"homepage": "https://github.com/Polymer/polymer",
|
||||||
"_release": "1.4.0",
|
"_release": "1.4.0",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.4.0",
|
"tag": "v1.4.0",
|
||||||
"commit": "11c987b2eb3c73b388a79fc8aaea8ca01624f514"
|
"commit": "11c987b2eb3c73b388a79fc8aaea8ca01624f514"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/polymer/polymer.git",
|
"_source": "git://github.com/Polymer/polymer.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "polymer/polymer"
|
"_originalSource": "Polymer/polymer"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue