diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 24dfc6c309..b52509987f 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -15,12 +15,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.4.34", - "_release": "1.4.34", + "version": "1.4.35", + "_release": "1.4.35", "_resolution": { "type": "version", - "tag": "1.4.34", - "commit": "412b8b2523dd3d55952f1caeb0c2cb97b51d3781" + "tag": "1.4.35", + "commit": "bcbcfaeee154165b27ee748bf3816ea713d3caec" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js index c6d58936f2..37a791bf49 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js +++ b/dashboard-ui/bower_components/emby-webcomponents/guide/guide.js @@ -5,23 +5,6 @@ var self = this; var items = {}; - self.refresh = function () { - - reloadPage(options.element); - }; - - self.destroy = function () { - - events.off(serverNotifications, 'TimerCreated', onTimerCreated); - events.off(serverNotifications, 'SeriesTimerCreated', onSeriesTimerCreated); - events.off(serverNotifications, 'TimerCancelled', onTimerCancelled); - events.off(serverNotifications, 'SeriesTimerCancelled', onSeriesTimerCancelled); - - clearCurrentTimeUpdateInterval(); - itemShortcuts.off(options.element); - items = {}; - }; - self.options = options; // 30 mins @@ -40,6 +23,24 @@ var channelsPromise; + self.refresh = function () { + + currentDate = null; + reloadPage(options.element); + }; + + self.destroy = function () { + + events.off(serverNotifications, 'TimerCreated', onTimerCreated); + events.off(serverNotifications, 'SeriesTimerCreated', onSeriesTimerCreated); + events.off(serverNotifications, 'TimerCancelled', onTimerCancelled); + events.off(serverNotifications, 'SeriesTimerCancelled', onSeriesTimerCancelled); + + clearCurrentTimeUpdateInterval(); + itemShortcuts.off(options.element); + items = {}; + }; + function normalizeDateToTimeslot(date) { var minutesOffset = date.getMinutes() - cellCurationMinutes; @@ -128,7 +129,7 @@ var limit = 5; context.querySelector('.guideRequiresUnlock').classList.remove('hide'); - context.querySelector('.unlockText').innerHTML = globalize.translate('LiveTvGuideRequiresUnlock', limit); + context.querySelector('.unlockText').innerHTML = globalize.translate('sharedcomponents#LiveTvGuideRequiresUnlock', limit); return limit; }); @@ -797,7 +798,7 @@ require(['text!./tvguide.template.html'], function (template) { var context = options.element; - context.innerHTML = globalize.translateDocument(template, 'core'); + context.innerHTML = globalize.translateDocument(template, 'sharedcomponents'); var programGrid = context.querySelector('.programGrid'); var timeslotHeaders = context.querySelector('.timeslotHeaders'); diff --git a/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css b/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css index 6915d34fb2..ffef61edcd 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css +++ b/dashboard-ui/bower_components/emby-webcomponents/listview/listview.css @@ -27,7 +27,7 @@ button.listItem { .listItemBody { flex-grow: 1; - padding: .35em 1.25em; + padding: .85em 1.25em; overflow: hidden; text-overflow: ellipsis; } @@ -78,6 +78,10 @@ button.listItem { right: 0; } +.listItem .secondary { + color: #737373; +} + .listItem:focus .secondary { color: inherit !important; } diff --git a/dashboard-ui/bower_components/prism-element/.bower.json b/dashboard-ui/bower_components/prism-element/.bower.json index 724213d306..344b16e25b 100644 --- a/dashboard-ui/bower_components/prism-element/.bower.json +++ b/dashboard-ui/bower_components/prism-element/.bower.json @@ -1,7 +1,7 @@ { "name": "prism-element", "description": "Prism.js import and syntax highlighting", - "version": "1.0.4", + "version": "1.1.0", "authors": [ "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)" ], @@ -25,7 +25,7 @@ ], "dependencies": { "prism": "*", - "polymer": "Polymer/polymer#^1.0.0" + "polymer": "Polymer/polymer#^1.5.0" }, "devDependencies": { "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", @@ -33,11 +33,11 @@ "paper-styles": "PolymerElements/paper-styles#^1.0.0", "web-component-tester": "^4.0.0" }, - "_release": "1.0.4", + "_release": "1.1.0", "_resolution": { "type": "version", - "tag": "1.0.4", - "commit": "f5786216574e6ab9ef52434e588d37e9f3785b9e" + "tag": "v1.1.0", + "commit": "4c9366c79db87cb5eee3263452875b951b9741ed" }, "_source": "git://github.com/PolymerElements/prism-element.git", "_target": "^1.0.0", diff --git a/dashboard-ui/bower_components/prism-element/bower.json b/dashboard-ui/bower_components/prism-element/bower.json index d357addb90..7d122355d4 100644 --- a/dashboard-ui/bower_components/prism-element/bower.json +++ b/dashboard-ui/bower_components/prism-element/bower.json @@ -1,7 +1,7 @@ { "name": "prism-element", "description": "Prism.js import and syntax highlighting", - "version": "1.0.4", + "version": "1.1.0", "authors": [ "The Polymer Project Authors (https://polymer.github.io/AUTHORS.txt)" ], @@ -25,7 +25,7 @@ ], "dependencies": { "prism": "*", - "polymer": "Polymer/polymer#^1.0.0" + "polymer": "Polymer/polymer#^1.5.0" }, "devDependencies": { "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", diff --git a/dashboard-ui/bower_components/prism-element/prism-highlighter.html b/dashboard-ui/bower_components/prism-element/prism-highlighter.html index f18e306b59..0bae3b1ccf 100644 --- a/dashboard-ui/bower_components/prism-element/prism-highlighter.html +++ b/dashboard-ui/bower_components/prism-element/prism-highlighter.html @@ -24,6 +24,9 @@ containing the source to highlight. The event detail can optionally contain a `lang` property, containing a string like `"html"`, `"js"`, etc. This flow is supported by [``](https://github.com/PolymerElements/marked-element). + +@element prism-highlighter +@demo demo/index.html -->