Skip to content

Commit

Permalink
1.7.0.2: Updated to Polymerfire 0.10.2
Browse files Browse the repository at this point in the history
Needed to force this version because some parts of Polymer still refer to Polymerfire 0.9
  • Loading branch information
Download committed Oct 30, 2016
1 parent 944491a commit d8d1a52
Show file tree
Hide file tree
Showing 115 changed files with 8,077 additions and 2,304 deletions.
109 changes: 55 additions & 54 deletions README.md

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polymer-cdn",
"version": "1.7.0",
"version": "1.7.0.2",
"main": "polymer.js",
"homepage": "https://github.com/Download/polymer-cdn",
"authors": [
Expand Down Expand Up @@ -29,6 +29,11 @@
"platinum-elements": "polymerelements/platinum-elements#latest",
"app-elements": "polymerelements/app-elements#latest",
"google-web-components": "GoogleWebComponents/google-web-components#latest",
"molecules": "polymerelements/molecules#latest"
"molecules": "polymerelements/molecules#latest",
"polymerfire": "firebase/polymerfire#0.10.2"
},
"resolutions": {
"polymerfire": "0.10.2",
"firebase": ">= 3.5.1 < 4.0"
}
}
8 changes: 4 additions & 4 deletions lib/app-layout/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-layout",
"version": "0.10.4",
"version": "0.10.5",
"description": "A set of layout elements for your app",
"authors": [
"The Polymer Authors"
Expand Down Expand Up @@ -42,11 +42,11 @@
},
"ignore": [],
"private": true,
"_release": "0.10.4",
"_release": "0.10.5",
"_resolution": {
"type": "version",
"tag": "v0.10.4",
"commit": "1e5a379af167b566c8333297bc729927d1466ca7"
"tag": "v0.10.5",
"commit": "df716eeaca72fb44608dc7032ec3c601af6e405b"
},
"_source": "git://github.com/PolymerElements/app-layout.git",
"_target": "^0.10.0",
Expand Down
68 changes: 66 additions & 2 deletions lib/app-layout/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,72 @@
# App Layout [![Build Status](https://travis-ci.org/PolymerElements/app-layout.svg?branch=master)](https://travis-ci.org/PolymerElements/app-layout)

# App Layout [![Build Status](https://travis-ci.org/PolymerElements/app-layout.svg?branch=master)](https://travis-ci.org/PolymerElements/app-layout) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://beta.webcomponents.org/element/PolymerElements/app-layout)

[<img src="https://app-layout-assets.appspot.com/assets/docs/app-layout.png" width="300" height="210">](https://polymerelements.github.io/app-layout/)

<!---
```
<custom-element-demo>
<template>
<script src="../webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="app-drawer/app-drawer.html">
<link rel="import" href="app-header/app-header.html">
<link rel="import" href="app-toolbar/app-toolbar.html">
<link rel="import" href="demo/sample-content.html">
<link rel="import" href="../iron-icons/iron-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<style is="custom-style">
body {
margin: 0;
font-family: 'Roboto', 'Noto', sans-serif;
-webkit-font-smoothing: antialiased;
}
app-toolbar {
background-color: #4285f4;
color: #fff;
}
paper-icon-button + [main-title] {
margin-left: 24px;
}
paper-progress {
display: block;
width: 100%;
--paper-progress-active-color: rgba(255, 255, 255, 0.5);
--paper-progress-container-color: transparent;
}
app-header {
@apply(--layout-fixed-top);
color: #fff;
--app-header-background-rear-layer: {
background-color: #ef6c00;
};
}
app-drawer {
--app-drawer-scrim-background: rgba(0, 0, 100, 0.8);
--app-drawer-content-container: {
background-color: #B0BEC5;
}
}
</style>
<next-code-block></next-code-block>
</template>
</custom-element-demo>
```
-->
```html
<app-header reveals>
<app-toolbar>
<paper-icon-button icon="menu" onclick="drawer.toggle()"></paper-icon-button>
<div main-title>My app</div>
<paper-icon-button icon="delete"></paper-icon-button>
<paper-icon-button icon="search"></paper-icon-button>
<paper-icon-button icon="close"></paper-icon-button>
<paper-progress value="10" indeterminate bottom-item></paper-progress>
</app-toolbar>
</app-header>
<app-drawer id="drawer" swipe-open></app-drawer>
<sample-content size="10"></sample-content>
```

https://polymerelements.github.io/app-layout/

For additional documentation, please check out [Responsive app layout](https://www.polymer-project.org/1.0/toolbox/app-layout).
Expand Down
9 changes: 5 additions & 4 deletions lib/app-layout/app-header/app-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ <h1 main-title>App name</h1>
@demo app-header/demo/music.html Reveals Demo
@demo app-header/demo/no-effects.html Condenses and Reveals Demo
@demo app-header/demo/notes.html Fixed with Dynamic Shadow Demo
@demo app-header/demo/custom-sticky-element.html Custom Sticky Element Demo
@demo app-header/demo/custom-sticky-element-1.html Custom Sticky Element Demo 1
@demo app-header/demo/custom-sticky-element-2.html Custom Sticky Element Demo 2
-->

<dom-module id="app-header">
Expand Down Expand Up @@ -645,9 +646,9 @@ <h1 main-title>App name</h1>
*/
_transformHeader: function(y) {
this.translate3d(0, (-y) + 'px', 0);
if (this._stickyEl && this.condenses && y >= this._stickyElTop) {
this.translate3d(0, (Math.min(y, this._dHeight) - this._stickyElTop) + 'px', 0,
this._stickyEl);
if (this._stickyEl) {
this.translate3d(0, this.condenses && y >= this._stickyElTop ?
(Math.min(y, this._dHeight) - this._stickyElTop) + 'px' : 0, 0, this._stickyEl);
}
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
if ((effectDef = Polymer.AppLayout._scrollEffects[effectName])) {
this._effects.push(this._boundEffect(effectDef, effectsConfig[effectName]));
} else {
this._warn(this._logf('_effectsChanged', this._getUndefinedMsg(effectName)));
console.warn(this._getUndefinedMsg(effectName));
}
}
}, this);
Expand Down Expand Up @@ -379,7 +379,7 @@
* @param {string} id The id for the node.
*/
_getDOMRef: function(id) {
this._warn(this._logf('_getDOMRef', '`'+ id +'` is undefined'));
console.warn('_getDOMRef', '`'+ id +'` is undefined');
},

_getUndefinedMsg: function(effectName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
var fx = {};

if (!condensedTitle) {
this._warn(this._logf('effects[resize-snapped-title]', 'undefined `condensed-title`'));
console.warn('Scroll effect `resize-snapped-title`: undefined `condensed-title`');
return false;
}
if (!title) {
this._warn(this._logf('effects[resize-snapped-title]', 'undefined `main-title`'));
console.warn('Scroll effect `resize-snapped-title`: undefined `main-title`');
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions lib/app-layout/app-scroll-effects/effects/resize-title.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
var condensedTitle = this._getDOMRef('condensedTitle');

if (!condensedTitle) {
this._warn(this._logf('effects[resize-title]', 'undefined `condensed-title`'));
console.warn('Scroll effect `resize-title`: undefined `condensed-title`');
return false;
}
if (!title) {
this._warn(this._logf('effects[resize-title]', 'undefined `main-title`'));
console.warn('Scroll effect `resize-title`: undefined `main-title`');
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/app-layout/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-layout",
"version": "0.10.4",
"version": "0.10.5",
"description": "A set of layout elements for your app",
"authors": [
"The Polymer Authors"
Expand Down
10 changes: 5 additions & 5 deletions lib/firebase/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firebase",
"version": "3.4.1",
"version": "3.5.2",
"homepage": "https://firebase.google.com",
"authors": [
"Firebase <[email protected]>"
Expand All @@ -23,13 +23,13 @@
"test",
"tests"
],
"_release": "3.4.1",
"_release": "3.5.2",
"_resolution": {
"type": "version",
"tag": "v3.4.1",
"commit": "82b24fbe04b115ac21348302ed323fbb19644056"
"tag": "v3.5.2",
"commit": "cf5d9321b7a56e20314414f4967737f569c8ec63"
},
"_source": "https://github.com/firebase/firebase-bower.git",
"_target": "^3.0",
"_target": ">= 3.5.1 < 4.0",
"_originalSource": "firebase"
}
2 changes: 1 addition & 1 deletion lib/firebase/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firebase",
"version": "3.4.1",
"version": "3.5.2",
"homepage": "https://firebase.google.com",
"authors": [
"Firebase <[email protected]>"
Expand Down
Loading

0 comments on commit d8d1a52

Please sign in to comment.