diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 5ad60a444..b0954db32 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.206", - "_release": "1.4.206", + "version": "1.4.207", + "_release": "1.4.207", "_resolution": { "type": "version", - "tag": "1.4.206", - "commit": "3f48458370184be23fcd9dd588f86109d0a5f5ba" + "tag": "1.4.207", + "commit": "823ec6a2a31d712f1de9fb82f10e221c857c6650" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css b/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css index e0126e412..c244851f5 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css @@ -17,7 +17,7 @@ } .checkboxContainer { - margin-bottom: 2em; + margin-bottom: 1.8em; display: flex; } diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.css b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.css index 5de2c6637..b2c653806 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-input/emby-input.css @@ -24,7 +24,7 @@ } .inputContainer { - margin-bottom: 2em; + margin-bottom: 1.8em; } .inputLabel { diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.css b/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.css index 2ce005392..266fc90bb 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-select/emby-select.css @@ -30,7 +30,7 @@ } .selectContainer { - margin-bottom: 2em; + margin-bottom: 1.8em; position: relative; } diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-textarea/emby-textarea.css b/dashboard-ui/bower_components/emby-webcomponents/emby-textarea/emby-textarea.css index 1fca1f59c..e6785a870 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-textarea/emby-textarea.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-textarea/emby-textarea.css @@ -25,7 +25,7 @@ } .inputContainer { - margin-bottom: 2em; + margin-bottom: 1.8em; } .textareaLabel { diff --git a/dashboard-ui/bower_components/emby-webcomponents/formdialog.css b/dashboard-ui/bower_components/emby-webcomponents/formdialog.css index bc437f595..5945e385d 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/formdialog.css +++ b/dashboard-ui/bower_components/emby-webcomponents/formdialog.css @@ -31,3 +31,11 @@ .dialogContentTitle { margin-top: 1em; } + +@media all and (min-width: 1280px) { + + .dialogContentInner { + padding-left: 2em; + padding-right: 2em; + } +} diff --git a/dashboard-ui/bower_components/emby-webcomponents/imageeditor/imageeditor.js b/dashboard-ui/bower_components/emby-webcomponents/imageeditor/imageeditor.js index 79d7030cb..155804d68 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/imageeditor/imageeditor.js +++ b/dashboard-ui/bower_components/emby-webcomponents/imageeditor/imageeditor.js @@ -1,4 +1,4 @@ -define(['dialogHelper', 'connectionManager', 'loading', 'dom', 'layoutManager', 'globalize', 'scrollHelper', 'imageLoader', 'require', 'cardStyle', 'formDialogStyle', 'emby-button', 'paper-icon-button-light'], function (dialogHelper, connectionManager, loading, dom, layoutManager, globalize, scrollHelper, imageLoader, require) { +define(['dialogHelper', 'connectionManager', 'loading', 'dom', 'layoutManager', 'focusManager', 'globalize', 'scrollHelper', 'imageLoader', 'require', 'cardStyle', 'formDialogStyle', 'emby-button', 'paper-icon-button-light'], function (dialogHelper, connectionManager, loading, dom, layoutManager, focusManager, globalize, scrollHelper, imageLoader, require) { var currentItem; var hasChanges = false; @@ -12,7 +12,7 @@ return options; } - function reload(page, item) { + function reload(page, item, focusContext) { loading.show(); @@ -20,13 +20,13 @@ if (item) { apiClient = connectionManager.getApiClient(item.ServerId); - reloadItem(page, item, apiClient); + reloadItem(page, item, apiClient, focusContext); } else { apiClient = connectionManager.getApiClient(currentItem.ServerId); apiClient.getItem(apiClient.getCurrentUserId(), currentItem.Id).then(function (item) { - reloadItem(page, item, apiClient); + reloadItem(page, item, apiClient, focusContext); }); } } @@ -41,7 +41,7 @@ }); } - function reloadItem(page, item, apiClient) { + function reloadItem(page, item, apiClient, focusContext) { currentItem = item; @@ -64,6 +64,10 @@ renderBackdrops(page, apiClient, item, imageInfos, providers); renderScreenshots(page, apiClient, item, imageInfos, providers); loading.hide(); + + if (layoutManager.tv) { + focusManager.autoFocus((focusContext || page)); + } }); }); } @@ -88,11 +92,11 @@ return apiClient.getScaledImageUrl(item.Id || item.ItemId, options); } - function getCardHtml(image, index, apiClient, imageProviders, imageSize, tagName, enableFooterButtons) { + function getCardHtml(image, index, numImages, apiClient, imageProviders, imageSize, tagName, enableFooterButtons) { var html = ''; - var cssClass = "card scalableCard"; + var cssClass = "card scalableCard imageEditorCard"; var cardBoxCssClass = 'cardBox visualCardBox'; cssClass += " backdropCard backdropCard-scalable"; @@ -106,7 +110,7 @@ html += '