@raydiant/playlist-window-manager 0.14.14 → 0.14.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -553,6 +553,10 @@ var PresentationWindow = /** @class */ (function () {
553
553
  nextTheme.bodyFont =
554
554
  nextTheme.bodyFontNew.fileUpload.url || nextTheme.bodyFont;
555
555
  }
556
+ if (nextTheme.backgroundImageFileUpload) {
557
+ nextTheme.backgroundImage =
558
+ nextTheme.backgroundImageFileUpload.url || nextTheme.backgroundImage;
559
+ }
556
560
  return nextTheme;
557
561
  };
558
562
  PresentationWindow.prototype.sendRenderMessage = function () {
package/build/types.d.ts CHANGED
@@ -52,6 +52,10 @@ export interface Theme {
52
52
  headingFontNew: Font | null;
53
53
  heading2FontNew: Font | null;
54
54
  bodyFontNew: Font | null;
55
+ backgroundImageFileUpload: {
56
+ url: string;
57
+ } | null;
58
+ backgroundScale: 'fit' | 'fill' | null;
55
59
  }
56
60
  export interface Device {
57
61
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raydiant/playlist-window-manager",
3
- "version": "0.14.14",
3
+ "version": "0.14.16",
4
4
  "description": "Window manager for playlist playback.",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "fast-deep-equal": "^3.1.3",
15
- "@raydiant/playlist-rule-engine": "3.1.11",
15
+ "@raydiant/playlist-rule-engine": "3.1.12",
16
16
  "raydiant-kit": "^4.6.1",
17
17
  "uuid": "^8.3.0",
18
18
  "eventemitter3": "^4.0.7"
@@ -499,6 +499,12 @@ export default class PresentationWindow {
499
499
  nextTheme.bodyFont =
500
500
  nextTheme.bodyFontNew.fileUpload.url || nextTheme.bodyFont;
501
501
  }
502
+
503
+ if (nextTheme.backgroundImageFileUpload) {
504
+ nextTheme.backgroundImage =
505
+ nextTheme.backgroundImageFileUpload.url || nextTheme.backgroundImage;
506
+ }
507
+
502
508
  return nextTheme;
503
509
  }
504
510
 
package/src/types.ts CHANGED
@@ -51,6 +51,10 @@ export interface Theme {
51
51
  headingFontNew: Font | null;
52
52
  heading2FontNew: Font | null;
53
53
  bodyFontNew: Font | null;
54
+ backgroundImageFileUpload: {
55
+ url: string;
56
+ } | null;
57
+ backgroundScale: 'fit' | 'fill' | null;
54
58
  }
55
59
 
56
60
  export interface Device {