@netless/forge-slide 0.1.1-alpha.5 → 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.
@@ -0,0 +1,23 @@
1
+ import EventEmitter from "eventemitter3";
2
+ interface FooterViewEvents {
3
+ prevPage: () => void;
4
+ nextPage: () => void;
5
+ prevStep: () => void;
6
+ nextStep: () => void;
7
+ sideBarToggle: () => void;
8
+ }
9
+ export declare class FooterView extends EventEmitter<FooterViewEvents> {
10
+ readonly root: HTMLDivElement;
11
+ private prevStep;
12
+ private nextStep;
13
+ private prevPage;
14
+ private nextPage;
15
+ private sideBarToggle;
16
+ constructor();
17
+ prevPageState(enable: boolean): void;
18
+ nextPageState(enable: boolean): void;
19
+ private createSpacer;
20
+ private createIcon;
21
+ }
22
+ export {};
23
+ //# sourceMappingURL=FooterView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterView.d.ts","sourceRoot":"","sources":["../src/FooterView.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAGzC,UAAU,gBAAgB;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC7B;AAID,qBAAa,UAAW,SAAQ,YAAY,CAAC,gBAAgB,CAAC;IAE1D,SAAgB,IAAI,EAAE,cAAc,CAAC;IAErC,OAAO,CAAC,QAAQ,CAAiB;IACjC,OAAO,CAAC,QAAQ,CAAiB;IAEjC,OAAO,CAAC,QAAQ,CAAiB;IACjC,OAAO,CAAC,QAAQ,CAAiB;IAEjC,OAAO,CAAC,aAAa,CAAiB;;IA0C/B,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAUpC,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAU3C,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,UAAU;CAkBrB"}
package/dist/index.esm.js CHANGED
@@ -66750,7 +66750,7 @@ var ForgeSlidePermissions = class extends EventEmitter15 {
66750
66750
  }
66751
66751
  };
66752
66752
 
66753
- // src/FoorerView.ts
66753
+ // src/FooterView.ts
66754
66754
  import EventEmitter16 from "eventemitter3";
66755
66755
 
66756
66756
  // src/icons.ts
@@ -66780,7 +66780,7 @@ var Icons = {
66780
66780
  sideBar
66781
66781
  };
66782
66782
 
66783
- // src/FoorerView.ts
66783
+ // src/FooterView.ts
66784
66784
  var EM_COLOR = "#8C8C8C";
66785
66785
  var FooterView = class extends EventEmitter16 {
66786
66786
  root;
@@ -66792,6 +66792,7 @@ var FooterView = class extends EventEmitter16 {
66792
66792
  constructor() {
66793
66793
  super();
66794
66794
  this.root = document.createElement("div");
66795
+ this.root.classList.add("forge-slide-footer");
66795
66796
  this.root.style.height = "24px";
66796
66797
  this.root.style.zIndex = "6";
66797
66798
  this.root.style.display = "flex";
@@ -66872,7 +66873,7 @@ var SideBarView = class extends EventEmitter17 {
66872
66873
  constructor() {
66873
66874
  super();
66874
66875
  this.root.style.backgroundColor = "#eee";
66875
- this.root.className = "slide-sidebar";
66876
+ this.root.className = "forge-slide-sidebar";
66876
66877
  this.root.style.width = "240px";
66877
66878
  this.root.style.height = "100%";
66878
66879
  this.root.style.position = "absolute";