From f526de88a711f5a0c03a9bc6551fb140ae709b5a Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Thu, 8 Sep 2016 14:40:47 +0200 Subject: [PATCH] Fixed invisible dropdown boxes in Chrome 52. Bumped version --- rpg-docs/client/style/shadowDom.css | 4 + rpg-docs/config.vulcanize | 2 +- rpg-docs/private/changeLogs/changeLogs.js | 7 + .../paper-dropdown/.bower.json | 29 ++ .../paper-dropdown/README.md | 6 + .../paper-dropdown/bower.json | 19 + .../paper-dropdown/demo.html | 456 ++++++++++++++++++ .../paper-dropdown/index.html | 22 + .../paper-dropdown-transition.css | 15 + .../paper-dropdown-transition.html | 180 +++++++ .../paper-dropdown/paper-dropdown.html | 110 +++++ 11 files changed, 849 insertions(+), 1 deletion(-) create mode 100644 rpg-docs/public/custom_components/paper-dropdown/.bower.json create mode 100644 rpg-docs/public/custom_components/paper-dropdown/README.md create mode 100644 rpg-docs/public/custom_components/paper-dropdown/bower.json create mode 100644 rpg-docs/public/custom_components/paper-dropdown/demo.html create mode 100644 rpg-docs/public/custom_components/paper-dropdown/index.html create mode 100644 rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.css create mode 100644 rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.html create mode 100644 rpg-docs/public/custom_components/paper-dropdown/paper-dropdown.html diff --git a/rpg-docs/client/style/shadowDom.css b/rpg-docs/client/style/shadowDom.css index 0b308e20..3cc59356 100644 --- a/rpg-docs/client/style/shadowDom.css +++ b/rpg-docs/client/style/shadowDom.css @@ -18,3 +18,7 @@ body /deep/ core-menu { overflow-x: hidden !important; } + +html /deep/ paper-dropdown { + box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37); +} diff --git a/rpg-docs/config.vulcanize b/rpg-docs/config.vulcanize index cb1b57e7..71045711 100644 --- a/rpg-docs/config.vulcanize +++ b/rpg-docs/config.vulcanize @@ -20,7 +20,6 @@ "/components/paper-dialog/paper-action-dialog.html", "/components/paper-dialog/paper-dialog.html", "/components/paper-dialog/paper-dialog-transition.html", - "/components/paper-dropdown/paper-dropdown.html", "/components/paper-fab/paper-fab.html", "/components/paper-fab-menu/paper-fab-menu.html", "/components/paper-icon-button/paper-icon-button.html", @@ -38,6 +37,7 @@ "/components/paper-toast/paper-toast.html", "/components/paper-toggle-button/paper-toggle-button.html", + "/custom_components/paper-dropdown/paper-dropdown.html", "/custom_components/paper-dropdown-menu/paper-dropdown-menu.html", "/custom_components/paper-diff-slider/paper-diff-slider.html", "/custom_components/swipe-detect/swipe-detect.html" diff --git a/rpg-docs/private/changeLogs/changeLogs.js b/rpg-docs/private/changeLogs/changeLogs.js index 27c87ffa..e02d4deb 100644 --- a/rpg-docs/private/changeLogs/changeLogs.js +++ b/rpg-docs/private/changeLogs/changeLogs.js @@ -312,3 +312,10 @@ ChangeLogs.insert({ "Updated dependencies to keep up with Chrome's breaking changes", ], }); + +ChangeLogs.insert({ + version: "0.10.0", + changes: [ + "Fixed invisible dropdown boxes in Chrome 52", + ], +}); diff --git a/rpg-docs/public/custom_components/paper-dropdown/.bower.json b/rpg-docs/public/custom_components/paper-dropdown/.bower.json new file mode 100644 index 00000000..89e60c42 --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/.bower.json @@ -0,0 +1,29 @@ +{ + "name": "paper-dropdown", + "private": false, + "dependencies": { + "polymer": "Polymer/polymer#^0.5", + "core-animation": "Polymer/core-animation#^0.5", + "core-collapse": "Polymer/core-collapse#^0.5", + "core-dropdown": "Polymer/core-dropdown#^0.5", + "core-transition": "Polymer/core-transition#^0.5", + "core-icons": "Polymer/core-icons#^0.5", + "paper-icon-button": "Polymer/paper-icon-button#^0.5", + "paper-item": "Polymer/paper-item#^0.5", + "paper-shadow": "Polymer/paper-shadow#^0.5" + }, + "devDependencies": { + "web-component-tester": "web-component-tester#master" + }, + "version": "0.5.6", + "homepage": "https://github.com/Polymer/paper-dropdown", + "_release": "0.5.6", + "_resolution": { + "type": "version", + "tag": "0.5.6", + "commit": "30db0c00276fd8740bc7488f58703ad9f2449e9d" + }, + "_source": "git://github.com/Polymer/paper-dropdown.git", + "_target": "^0.5", + "_originalSource": "Polymer/paper-dropdown" +} \ No newline at end of file diff --git a/rpg-docs/public/custom_components/paper-dropdown/README.md b/rpg-docs/public/custom_components/paper-dropdown/README.md new file mode 100644 index 00000000..234847f2 --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/README.md @@ -0,0 +1,6 @@ +paper-dropdown +============== + +owner: @morethanreal + +See the [component page](https://www.polymer-project.org/0.5/docs/elements/paper-dropdown.html) for more information. diff --git a/rpg-docs/public/custom_components/paper-dropdown/bower.json b/rpg-docs/public/custom_components/paper-dropdown/bower.json new file mode 100644 index 00000000..f0ff0cd7 --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/bower.json @@ -0,0 +1,19 @@ +{ + "name": "paper-dropdown", + "private": false, + "dependencies": { + "polymer": "Polymer/polymer#^0.5", + "core-animation": "Polymer/core-animation#^0.5", + "core-collapse": "Polymer/core-collapse#^0.5", + "core-dropdown": "Polymer/core-dropdown#^0.5", + "core-transition": "Polymer/core-transition#^0.5", + "core-icons": "Polymer/core-icons#^0.5", + "paper-icon-button": "Polymer/paper-icon-button#^0.5", + "paper-item": "Polymer/paper-item#^0.5", + "paper-shadow": "Polymer/paper-shadow#^0.5" + }, + "devDependencies": { + "web-component-tester": "web-component-tester#master" + }, + "version": "0.5.6" +} \ No newline at end of file diff --git a/rpg-docs/public/custom_components/paper-dropdown/demo.html b/rpg-docs/public/custom_components/paper-dropdown/demo.html new file mode 100644 index 00000000..d23962db --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/demo.html @@ -0,0 +1,456 @@ + + + + + + + + + + + paper-dropdown + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rpg-docs/public/custom_components/paper-dropdown/index.html b/rpg-docs/public/custom_components/paper-dropdown/index.html new file mode 100644 index 00000000..8c8da47a --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/index.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + diff --git a/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.css b/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.css new file mode 100644 index 00000000..d544eade --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.css @@ -0,0 +1,15 @@ +/* Copyright (c) 2014 The Polymer Project Authors. All rights reserved. +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt +Code distributed by Google as part of the polymer project is also +subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ + +:host(.core-transition) #ripple, +:host(.core-transition) #background { + opacity: 0; +} + +:host(.core-transition) #scroller { + opacity: 0; +} \ No newline at end of file diff --git a/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.html b/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.html new file mode 100644 index 00000000..22641f2f --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown-transition.html @@ -0,0 +1,180 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown.html b/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown.html new file mode 100644 index 00000000..8db1100f --- /dev/null +++ b/rpg-docs/public/custom_components/paper-dropdown/paper-dropdown.html @@ -0,0 +1,110 @@ + + + + + + + + + + + + + +