mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update polymer
This commit is contained in:
parent
22a5e48860
commit
61d616c330
44 changed files with 447 additions and 156 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "paper-dialog",
|
||||
"description": "A Material Design dialog",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"authors": "The Polymer Authors",
|
||||
"keywords": [
|
||||
"web-components",
|
||||
|
@ -27,16 +27,19 @@
|
|||
"devDependencies": {
|
||||
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
|
||||
"paper-button": "PolymerElements/paper-button#^1.0.0",
|
||||
"paper-dropdown-menu": "PolymerElements/paper-dropdown-menu#^1.0.0",
|
||||
"paper-menu": "PolymerElements/paper-menu#^1.0.0",
|
||||
"paper-item": "PolymerElements/paper-item#^1.0.0",
|
||||
"paper-dialog-scrollable": "PolymerElements/paper-dialog-scrollable#^1.0.0",
|
||||
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
|
||||
"web-component-tester": "*",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"_release": "1.0.1",
|
||||
"_release": "1.0.2",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.1",
|
||||
"commit": "1339718c67ef50add5221dd63d35e03a54fb619f"
|
||||
"tag": "v1.0.2",
|
||||
"commit": "f24bdc41e7374793c5bd966aa8cadc012e15cb09"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-dialog.git",
|
||||
"_target": "~1.0.0",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "paper-dialog",
|
||||
"description": "A Material Design dialog",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"authors": "The Polymer Authors",
|
||||
"keywords": [
|
||||
"web-components",
|
||||
|
@ -27,6 +27,9 @@
|
|||
"devDependencies": {
|
||||
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
|
||||
"paper-button": "PolymerElements/paper-button#^1.0.0",
|
||||
"paper-dropdown-menu": "PolymerElements/paper-dropdown-menu#^1.0.0",
|
||||
"paper-menu": "PolymerElements/paper-menu#^1.0.0",
|
||||
"paper-item": "PolymerElements/paper-item#^1.0.0",
|
||||
"paper-dialog-scrollable": "PolymerElements/paper-dialog-scrollable#^1.0.0",
|
||||
"test-fixture": "PolymerElements/test-fixture#^1.0.0",
|
||||
"web-component-tester": "*",
|
||||
|
|
|
@ -25,6 +25,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<link rel="import" href="../../paper-styles/paper-styles.html">
|
||||
<link rel="import" href="../../paper-styles/demo-pages.html">
|
||||
<link rel="import" href="../../neon-animation/neon-animations.html">
|
||||
<link rel="import" href="../../paper-dropdown-menu/paper-dropdown-menu.html">
|
||||
<link rel="import" href="../../paper-menu/paper-menu.html">
|
||||
<link rel="import" href="../../paper-item/paper-item.html">
|
||||
|
||||
<link rel="stylesheet" href="../../paper-styles/demo.css">
|
||||
|
||||
|
@ -50,11 +53,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
position: fixed;
|
||||
top: 16px;
|
||||
right: 16px;
|
||||
}
|
||||
|
||||
paper-dialog.size-position {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -68,6 +69,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<paper-button data-dialog="scrolling">scrolling dialog</paper-button>
|
||||
<paper-button data-dialog="actions">dialog with actions</paper-button>
|
||||
<paper-button data-dialog="modal">modal dialog</paper-button>
|
||||
<paper-button data-dialog="dropdown">dialog with dropdown</paper-button>
|
||||
<paper-button data-dialog="nested">dialog with nested dialog</paper-button>
|
||||
|
||||
<paper-dialog id="dialog">
|
||||
<h2>Dialog Title</h2>
|
||||
|
@ -109,6 +112,37 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
</div>
|
||||
</paper-dialog>
|
||||
|
||||
<paper-dialog id="dropdown">
|
||||
<h2>Dialog Title</h2>
|
||||
<paper-dropdown-menu label="Value">
|
||||
<paper-menu class="dropdown-content">
|
||||
<paper-item>1</paper-item>
|
||||
<paper-item>2</paper-item>
|
||||
<paper-item>3</paper-item>
|
||||
<paper-item>4</paper-item>
|
||||
<paper-item>5</paper-item>
|
||||
<paper-item>6</paper-item>
|
||||
<paper-item>7</paper-item>
|
||||
<paper-item>8</paper-item>
|
||||
<paper-item>9</paper-item>
|
||||
<paper-item>10</paper-item>
|
||||
</paper-menu>
|
||||
</paper-dropdown-menu>
|
||||
</paper-dialog>
|
||||
|
||||
<paper-dialog id="nested">
|
||||
<h2>Dialog Title</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
<div class="buttons">
|
||||
<paper-button data-dialog="innerDialog">Open nested dialog</paper-button>
|
||||
</div>
|
||||
</paper-dialog>
|
||||
|
||||
<paper-dialog id="innerDialog">
|
||||
<h2>Dialog Title</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
||||
</paper-dialog>
|
||||
|
||||
</section>
|
||||
|
||||
<section onclick="clickHandler(event)">
|
||||
|
@ -116,11 +150,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<paper-button data-dialog="colors">colors</paper-button>
|
||||
<paper-button data-dialog="position">size & position</paper-button>
|
||||
|
||||
<paper-dialog id="colors" heading="Custom Colors" class="colored">
|
||||
<paper-dialog id="colors" class="colored">
|
||||
<h2>Custom Colors</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
</paper-dialog>
|
||||
|
||||
<paper-dialog id="position" heading="Custom Size & Position" class="size-position">
|
||||
<paper-dialog id="position" class="size-position">
|
||||
<h2>Custom Size & Position</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||
</paper-dialog>
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue