mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
merge from dev
This commit is contained in:
parent
d96250df7f
commit
bcfee41a57
318 changed files with 54424 additions and 6419 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-input",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "Material design text fields",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
@ -16,6 +16,7 @@
|
|||
"paper-input-behavior.html",
|
||||
"paper-input-container.html",
|
||||
"paper-input-error.html",
|
||||
"paper-input-addon-behavior.html",
|
||||
"paper-input-char-counter.html"
|
||||
],
|
||||
"private": true,
|
||||
|
@ -27,7 +28,7 @@
|
|||
"homepage": "https://github.com/PolymerElements/paper-input",
|
||||
"ignore": [],
|
||||
"dependencies": {
|
||||
"polymer": "Polymer/polymer#^1.1.0",
|
||||
"polymer": "Polymer/polymer#^1.2.0",
|
||||
"iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0",
|
||||
"iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0",
|
||||
"iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^1.0.0",
|
||||
|
@ -46,11 +47,11 @@
|
|||
"web-component-tester": "Polymer/web-component-tester#^3.4.0",
|
||||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"_release": "1.1.3",
|
||||
"_release": "1.1.4",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.1.3",
|
||||
"commit": "f070288446f9e78fbe16b032ddb429a8e8015ee7"
|
||||
"tag": "v1.1.4",
|
||||
"commit": "8ca01ac3cafc61abd980d262875ffca0c79640fa"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/paper-input.git",
|
||||
"_target": "^1.0.9",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-input",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "Material design text fields",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
@ -16,6 +16,7 @@
|
|||
"paper-input-behavior.html",
|
||||
"paper-input-container.html",
|
||||
"paper-input-error.html",
|
||||
"paper-input-addon-behavior.html",
|
||||
"paper-input-char-counter.html"
|
||||
],
|
||||
"private": true,
|
||||
|
@ -27,7 +28,7 @@
|
|||
"homepage": "https://github.com/PolymerElements/paper-input",
|
||||
"ignore": [],
|
||||
"dependencies": {
|
||||
"polymer": "Polymer/polymer#^1.1.0",
|
||||
"polymer": "Polymer/polymer#^1.2.0",
|
||||
"iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0",
|
||||
"iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0",
|
||||
"iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^1.0.0",
|
||||
|
|
|
@ -117,10 +117,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<h3>Inputs can have prefixes and suffixes</h3>
|
||||
<demo-snippet class="horizontal">
|
||||
<template>
|
||||
<paper-input class="short" label="total" type="number">
|
||||
<paper-input label="total" type="number">
|
||||
<div prefix>$</div>
|
||||
</paper-input>
|
||||
<paper-input class="short" label="username" id="inputWithButton">
|
||||
<paper-input label="username" id="inputWithButton">
|
||||
<iron-icon icon="mail" prefix></iron-icon>
|
||||
<div suffix>@email.com</div>
|
||||
<paper-icon-button suffix onclick="clearInput()"
|
||||
|
|
|
@ -60,6 +60,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
/**
|
||||
* Returns true if the value is invalid. Bind this to both the `<paper-input-container>`'s
|
||||
* and the input's `invalid` property.
|
||||
*
|
||||
* If `autoValidate` is true, the `invalid` attribute is managed automatically,
|
||||
* which can clobber attempts to manage it manually.
|
||||
*/
|
||||
invalid: {
|
||||
type: Boolean,
|
||||
|
|
|
@ -172,8 +172,10 @@ This element is `display:block` by default, but you can set the `inline` attribu
|
|||
}
|
||||
|
||||
.label-and-input-container {
|
||||
@apply(--layout-flex);
|
||||
@apply(--layout-flex-auto);
|
||||
@apply(--layout-relative);
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.input-content {
|
||||
|
@ -189,6 +191,7 @@ This element is `display:block` by default, but you can set the `inline` attribu
|
|||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
font: inherit;
|
||||
color: var(--paper-input-container-color, --secondary-text-color);
|
||||
|
||||
|
@ -201,8 +204,8 @@ This element is `display:block` by default, but you can set the `inline` attribu
|
|||
.input-content.label-is-floating ::content .paper-input-label {
|
||||
-webkit-transform: translateY(-75%) scale(0.75);
|
||||
transform: translateY(-75%) scale(0.75);
|
||||
-webkit-transition: -webkit-transform 0.25s;
|
||||
transition: transform 0.25s;
|
||||
-webkit-transition: -webkit-transform 0.25s, width 0.25s;
|
||||
transition: transform 0.25s, width 0.25s;
|
||||
-webkit-transform-origin: left top;
|
||||
transform-origin: left top;
|
||||
|
||||
|
@ -250,6 +253,7 @@ This element is `display:block` by default, but you can set the `inline` attribu
|
|||
box-shadow: none;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--paper-input-container-input-color, --primary-text-color);
|
||||
|
@ -263,11 +267,13 @@ This element is `display:block` by default, but you can set the `inline` attribu
|
|||
::content [prefix] {
|
||||
@apply(--paper-font-subhead);
|
||||
@apply(--paper-input-prefix);
|
||||
@apply(--layout-flex-none);
|
||||
}
|
||||
|
||||
::content [suffix] {
|
||||
@apply(--paper-font-subhead);
|
||||
@apply(--paper-input-suffix);
|
||||
@apply(--layout-flex-none);
|
||||
}
|
||||
|
||||
/* Firefox sets a min-width on the input, which can cause layout issues */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue