@ckb-ccc/connector 0.0.14-alpha.2 → 0.0.14-alpha.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ckb-ccc/connector
2
2
 
3
+ ## 0.0.14-alpha.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#54](https://github.com/ckb-ecofund/ccc/pull/54) [`3f49876`](https://github.com/ckb-ecofund/ccc/commit/3f49876826f5a9eeff8d14c7d8d7b9cf2cea0f32) Thanks [@Hanssen0](https://github.com/Hanssen0)! - fix(connector): useless back button
8
+
3
9
  ## 0.0.14-alpha.2
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
2
  export declare class Dialog extends LitElement {
3
- canBack: any | undefined;
3
+ canBack: any | null | undefined;
4
4
  header?: string;
5
5
  render(): import("lit").TemplateResult<1>;
6
6
  static styles: import("lit").CSSResult;
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../src/components/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAK5C,qBACa,MAAO,SAAQ,UAAU;IAE7B,OAAO,EAAE,GAAG,GAAG,SAAS,CAAC;IAEzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEvB,MAAM;IA+BN,MAAM,CAAC,MAAM,0BA0DX;CACH"}
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../src/components/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAK5C,qBACa,MAAO,SAAQ,UAAU;IAE7B,OAAO,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;IAEhC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEvB,MAAM;IA+BN,MAAM,CAAC,MAAM,0BA0DX;CACH"}
@@ -15,7 +15,7 @@ let Dialog = class Dialog extends LitElement {
15
15
  class="header text-bold fs-lg ${this.header ? "header-divider" : ""}"
16
16
  >
17
17
  <div
18
- class="back ${this.canBack !== undefined ? "active" : ""}"
18
+ class="back ${this.canBack != null ? "active" : ""}"
19
19
  @click=${() => {
20
20
  this.dispatchEvent(new Event("back"));
21
21
  }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckb-ccc/connector",
3
- "version": "0.0.14-alpha.2",
3
+ "version": "0.0.14-alpha.3",
4
4
  "description": "CCC - CKBer's Codebase. Common Chains Connector UI",
5
5
  "author": "Hanssen0 <hanssen0@hanssen0.com>",
6
6
  "license": "MIT",
@@ -6,7 +6,7 @@ import { LEFT_SVG } from "../assets/left.svg.js";
6
6
  @customElement("ccc-dialog")
7
7
  export class Dialog extends LitElement {
8
8
  @property()
9
- public canBack: any | undefined;
9
+ public canBack: any | null | undefined;
10
10
  @property()
11
11
  public header?: string;
12
12
 
@@ -16,7 +16,7 @@ export class Dialog extends LitElement {
16
16
  class="header text-bold fs-lg ${this.header ? "header-divider" : ""}"
17
17
  >
18
18
  <div
19
- class="back ${this.canBack !== undefined ? "active" : ""}"
19
+ class="back ${this.canBack != null ? "active" : ""}"
20
20
  @click=${() => {
21
21
  this.dispatchEvent(new Event("back"));
22
22
  }}