update sorting menus
This commit is contained in:
parent
9622aceeca
commit
705a817b12
29 changed files with 361 additions and 222 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-drawer-panel",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "A responsive drawer panel",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
@ -29,16 +29,16 @@
|
|||
"paper-button": "PolymerElements/paper-button#^1.0.0",
|
||||
"paper-styles": "PolymerElements/paper-styles#^1.0.0",
|
||||
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
|
||||
"web-component-tester": "*",
|
||||
"web-component-tester": "polymer/web-component-tester#^3.4.0",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"main": "paper-drawer-panel.html",
|
||||
"ignore": [],
|
||||
"_release": "1.0.5",
|
||||
"_release": "1.0.6",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.5",
|
||||
"commit": "5f13426a7176610025afc401718f304e4dcee5e4"
|
||||
"tag": "v1.0.6",
|
||||
"commit": "9dd19ef9153ed303a5f8b6d573179cde31b2f5e6"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-drawer-panel.git",
|
||||
"_target": "~1.0.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-drawer-panel",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "A responsive drawer panel",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
@ -29,7 +29,7 @@
|
|||
"paper-button": "PolymerElements/paper-button#^1.0.0",
|
||||
"paper-styles": "PolymerElements/paper-styles#^1.0.0",
|
||||
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
|
||||
"web-component-tester": "*",
|
||||
"web-component-tester": "polymer/web-component-tester#^3.4.0",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"main": "paper-drawer-panel.html",
|
||||
|
|
|
@ -19,7 +19,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<script>
|
||||
WCT.loadSuites([
|
||||
'positioning.html',
|
||||
'small-devices.html'
|
||||
'small-devices.html',
|
||||
'positioning.html?dom=shadow',
|
||||
'small-devices.html?dom=shadow'
|
||||
]);
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -16,9 +16,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
|
||||
<script src="../../web-component-tester/browser.js"></script>
|
||||
<script src="../../test-fixture/test-fixture-mocha.js"></script>
|
||||
|
||||
<link rel="import" href="../../test-fixture/test-fixture.html">
|
||||
<link rel="import" href="../paper-drawer-panel.html">
|
||||
</head>
|
||||
<style>
|
||||
|
@ -53,8 +50,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
test('drawer is positioned correctly', function(done) {
|
||||
var f, drawer, main;
|
||||
f = fixture('left-drawer');
|
||||
drawer = f.querySelector('#drawer');
|
||||
main = f.querySelector('#main');
|
||||
drawer = f.$$('#drawer');
|
||||
main = f.$$('#main');
|
||||
|
||||
Polymer.Base.async(function() {
|
||||
var drawerStyle = window.getComputedStyle(drawer);
|
||||
|
@ -72,13 +69,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
test('right-drawer is positioned correctly', function(done) {
|
||||
var f, drawer, main;
|
||||
f = fixture('right-drawer');
|
||||
drawer = f.querySelector('#drawer');
|
||||
main = f.querySelector('#main');
|
||||
drawer = f.$$('#drawer');
|
||||
main = f.$$('#main');
|
||||
|
||||
Polymer.Base.async(function() {
|
||||
var drawerStyle = window.getComputedStyle(drawer);
|
||||
expect(drawerStyle.right).to.be.equal('0px');
|
||||
|
||||
|
||||
try {
|
||||
expect(drawerStyle.left).to.be.equal('auto');
|
||||
} catch(e) {
|
||||
|
|
|
@ -16,9 +16,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
|
||||
<script src="../../web-component-tester/browser.js"></script>
|
||||
<script src="../../test-fixture/test-fixture-mocha.js"></script>
|
||||
|
||||
<link rel="import" href="../../test-fixture/test-fixture.html">
|
||||
<link rel="import" href="../paper-drawer-panel.html">
|
||||
</head>
|
||||
<style>
|
||||
|
@ -61,8 +58,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
test('drawer is hidden by default', function(done) {
|
||||
var f, panel, drawer, main;
|
||||
f = fixture('left-drawer');
|
||||
drawer = f.querySelector('#drawer');
|
||||
main = f.querySelector('#main');
|
||||
drawer = f.$$('#drawer');
|
||||
main = f.$$('#main');
|
||||
|
||||
f.set('forceNarrow', true);
|
||||
f._forceNarrowChanged();
|
||||
|
@ -80,8 +77,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
test('right-drawer is hidden by default', function(done) {
|
||||
var f, panel, drawer, main;
|
||||
f = fixture('right-drawer');
|
||||
drawer = f.querySelector('#drawer');
|
||||
main = f.querySelector('#main');
|
||||
drawer = f.$$('#drawer');
|
||||
main = f.$$('#main');
|
||||
|
||||
f.set('forceNarrow', true);
|
||||
f._forceNarrowChanged();
|
||||
|
@ -95,11 +92,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
});
|
||||
});
|
||||
|
||||
test('drawer is can be opened', function(done) {
|
||||
test('drawer can be opened', function(done) {
|
||||
var f, panel, drawer, main;
|
||||
f = fixture('left-drawer');
|
||||
drawer = f.querySelector('#drawer');
|
||||
main = f.querySelector('#main');
|
||||
drawer = f.$$('#drawer');
|
||||
main = f.$$('#main');
|
||||
|
||||
f.set('forceNarrow', true);
|
||||
f._forceNarrowChanged();
|
||||
|
@ -119,8 +116,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
test('right-drawer can be closed', function(done) {
|
||||
var f, panel, drawer, main;
|
||||
f = fixture('right-drawer');
|
||||
drawer = f.querySelector('#drawer');
|
||||
main = f.querySelector('#main');
|
||||
drawer = f.$$('#drawer');
|
||||
main = f.$$('#main');
|
||||
|
||||
f.set('forceNarrow', true);
|
||||
f._forceNarrowChanged();
|
||||
|
@ -134,7 +131,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
done();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue