diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 5359f26dd8..b22e704622 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -14,12 +14,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.4.229", - "_release": "1.4.229", + "version": "1.4.230", + "_release": "1.4.230", "_resolution": { "type": "version", - "tag": "1.4.229", - "commit": "aaee0b2e654b9007116e9b4eb5b5b86dd39d323b" + "tag": "1.4.230", + "commit": "d7cf0c71da21ae2be3cdda68017c0e4c654275a5" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css b/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css index 09320d8bbb..5406e3d585 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css +++ b/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.css @@ -32,6 +32,16 @@ max-height: 84%; } +@media all and (min-width: 800px) and (min-height: 600px) { + + .dialog-mini { + top: 20% !important; + bottom: 20% !important; + left: 25% !important; + right: 25% !important; + } +} + @media all and (min-width: 1280px) and (min-height: 720px) { .dialog-medium { @@ -54,9 +64,13 @@ left: 20% !important; right: 20% !important; } -} -@media all and (min-width: 1280px) and (min-height: 720px) { + .dialog-mini { + top: 20% !important; + bottom: 20% !important; + left: 30% !important; + right: 30% !important; + } .dialog-fullscreen-border { top: 5% !important; diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css b/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css index 5436f8d51e..0cfebfb395 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-collapse/emby-collapse.css @@ -22,6 +22,7 @@ border: 0; text-transform: none; border-bottom: 1px solid #333; + padding-left: .1em; } .emby-collapse-expandIcon { @@ -36,4 +37,4 @@ .emby-collapsible-title { margin: 0; padding: 0; -} \ No newline at end of file +} diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js index 94baee656c..3990769a3e 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.js @@ -31,43 +31,27 @@ if (!this.id) { this.id = 'embyinput' + inputId; inputId++; - } - }; - - EmbyInputPrototype.attachedCallback = function () { - - if (this.classList.contains('emby-input')) { + } if (this.classList.contains('emby-input')) { return; } this.classList.add('emby-input'); var parentNode = this.parentNode; - var label = this.ownerDocument.createElement('label'); + var document = this.ownerDocument; + var label = document.createElement('label'); label.innerHTML = this.getAttribute('label') || ''; label.classList.add('inputLabel'); label.classList.add('inputLabelUnfocused'); - var instanceSupportsFloat = supportsFloatingLabel && this.type != 'date' && this.type != 'time'; - label.htmlFor = this.id; parentNode.insertBefore(label, this); + this.labelElement = label; var div = document.createElement('div'); div.classList.add('emby-input-selectionbar'); parentNode.insertBefore(div, this.nextSibling); - function onChange() { - if (this.value) { - label.classList.remove('inputLabel-float'); - } else { - - if (instanceSupportsFloat) { - label.classList.add('inputLabel-float'); - } - } - } - dom.addEventListener(this, 'focus', function () { onChange.call(this); label.classList.add('inputLabelFocused'); @@ -93,12 +77,32 @@ dom.addEventListener(this, 'valueset', onChange, { passive: true }); + }; + + function onChange() { + + var label = this.labelElement; + if (this.value) { + label.classList.remove('inputLabel-float'); + } else { + + var instanceSupportsFloat = supportsFloatingLabel && this.type != 'date' && this.type != 'time'; + + if (instanceSupportsFloat) { + label.classList.add('inputLabel-float'); + } + } + } + + EmbyInputPrototype.attachedCallback = function () { + + this.labelElement.htmlFor = this.id; onChange.call(this); + }; - this.label = function (text) { - label.innerHTML = text; - }; + EmbyInputPrototype.label = function (text) { + this.labelElement.innerHTML = text; }; document.registerElement('emby-input', { diff --git a/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.js b/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.js index 2e57db8488..8cf8535c4f 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.js +++ b/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.js @@ -17,7 +17,12 @@ for (var i = 0, length = chkIndicators.length; i < length; i++) { var type = chkIndicators[i].getAttribute('data-type'); - chkIndicators[i].checked = userSettings.get('guide-indicator-' + type) == 'true'; + + if (chkIndicators[i].getAttribute('data-default') == 'true') { + chkIndicators[i].checked = userSettings.get('guide-indicator-' + type) != 'false'; + } else { + chkIndicators[i].checked = userSettings.get('guide-indicator-' + type) == 'true'; + } } } diff --git a/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html b/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html index 6f526743ff..00c88d81eb 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html +++ b/dashboard-ui/bower_components/emby-webcomponents/guide/guide-settings.template.html @@ -14,7 +14,7 @@ ${HDPrograms}