@netless/forge-slide 0.1.1-alpha.4 → 0.1.1-alpha.6

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.
package/dist/index.js CHANGED
@@ -66759,7 +66759,7 @@ var ForgeSlidePermissions = class extends import_eventemitter315.default {
66759
66759
  }
66760
66760
  };
66761
66761
 
66762
- // src/FoorerView.ts
66762
+ // src/FooterView.ts
66763
66763
  var import_eventemitter316 = __toESM(require("eventemitter3"));
66764
66764
 
66765
66765
  // src/icons.ts
@@ -66789,7 +66789,7 @@ var Icons = {
66789
66789
  sideBar
66790
66790
  };
66791
66791
 
66792
- // src/FoorerView.ts
66792
+ // src/FooterView.ts
66793
66793
  var EM_COLOR = "#8C8C8C";
66794
66794
  var FooterView = class extends import_eventemitter316.default {
66795
66795
  root;
@@ -66801,6 +66801,7 @@ var FooterView = class extends import_eventemitter316.default {
66801
66801
  constructor() {
66802
66802
  super();
66803
66803
  this.root = document.createElement("div");
66804
+ this.root.classList.add("forge-slide-footer");
66804
66805
  this.root.style.height = "24px";
66805
66806
  this.root.style.zIndex = "6";
66806
66807
  this.root.style.display = "flex";
@@ -66881,7 +66882,7 @@ var SideBarView = class extends import_eventemitter317.default {
66881
66882
  constructor() {
66882
66883
  super();
66883
66884
  this.root.style.backgroundColor = "#eee";
66884
- this.root.className = "slide-sidebar";
66885
+ this.root.className = "forge-slide-sidebar";
66885
66886
  this.root.style.width = "240px";
66886
66887
  this.root.style.height = "100%";
66887
66888
  this.root.style.position = "absolute";
@@ -67282,11 +67283,13 @@ var SlideApplication = class extends import_forge_room4.AbstractApplication {
67282
67283
  this.whiteboard.view.style.top = "0";
67283
67284
  this.whiteboard.view.style.left = "0";
67284
67285
  this.whiteboard.view.style.zIndex = "4";
67286
+ this.whiteboard.view.classList.add("slide-whiteboard");
67285
67287
  this.whiteboard.permissions.addPermission(WhiteboardPermissionFlag.all);
67286
67288
  this.whiteboard.setCanvasBackgroundColor("#f0f0f000");
67287
67289
  this.whiteboardContainer.style.position = "relative";
67288
67290
  this.whiteboardContainer.style.flex = "0 0 auto";
67289
67291
  this.whiteboardContainer.style.height = "calc(100% - 24px)";
67292
+ this.whiteboardContainer.classList.add("forge-slide-whiteboard-container");
67290
67293
  this.whiteboardContainer.appendChild(this.whiteboard.view);
67291
67294
  this.whiteboardContainer.appendChild(this.slideContainer);
67292
67295
  this.contentContainer.appendChild(this.whiteboardContainer);