@canton-network/core-wallet-ui-components 0.31.0 → 0.32.0

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.
@@ -17,6 +17,7 @@ declare class PopupInstance {
17
17
  open(component: StyledElement, options?: PopupOptions): WindowProxy;
18
18
  close(): void;
19
19
  private getComponentUrl;
20
+ private escapeStylesForTemplate;
20
21
  }
21
22
  export declare const popup: PopupInstance;
22
23
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../src/windows/popup.ts"],"names":[],"mappings":"AAGA,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,aAAa;IACnB,QAAQ,WAAW,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAID,cAAM,aAAa;IACf,MAAM,CAAC,WAAW;;IA4BlB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,WAAW;IACpC,IAAI,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,WAAW;IAsBnE,KAAK;IAKL,OAAO,CAAC,eAAe;CAqD1B;AAED,eAAO,MAAM,KAAK,eAAsB,CAAA"}
1
+ {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../src/windows/popup.ts"],"names":[],"mappings":"AAGA,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,aAAa;IACnB,QAAQ,WAAW,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAID,cAAM,aAAa;IACf,MAAM,CAAC,WAAW;;IA4BlB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,WAAW;IACpC,IAAI,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,WAAW;IAsBnE,KAAK;IAKL,OAAO,CAAC,eAAe;IAyDvB,OAAO,CAAC,uBAAuB;CAQlC;AAED,eAAO,MAAM,KAAK,eAAsB,CAAA"}
@@ -3,6 +3,7 @@ import '../components/wallet-picker';
3
3
  declare const meta: Meta;
4
4
  export default meta;
5
5
  export declare const Default: StoryObj;
6
+ export declare const WithManualProviders: StoryObj;
6
7
  export declare const Popup: StoryObj;
7
8
  export declare const Empty: StoryObj;
8
9
  //# sourceMappingURL=wallet-picker.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet-picker.stories.d.ts","sourceRoot":"","sources":["../../src/windows/wallet-picker.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAIpE,OAAO,6BAA6B,CAAA;AAEpC,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AA6CnB,eAAO,MAAM,OAAO,EAAE,QASrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,QAQnB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,QASnB,CAAA"}
1
+ {"version":3,"file":"wallet-picker.stories.d.ts","sourceRoot":"","sources":["../../src/windows/wallet-picker.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAIpE,OAAO,6BAA6B,CAAA;AAEpC,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAiDnB,eAAO,MAAM,OAAO,EAAE,QAUrB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,QAejC,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,QAQnB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,QAUnB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canton-network/core-wallet-ui-components",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "type": "module",
5
5
  "description": "Reusable UI components for the Splice wallet",
6
6
  "license": "Apache-2.0",
@@ -24,26 +24,32 @@
24
24
  "typecheck": "tsc --noEmit",
25
25
  "flatpack": "yarn pack --out \"$FLATPACK_OUTDIR\"",
26
26
  "clean": "tsc -b --clean; rm -rf dist",
27
- "dev": "storybook dev -p 6006"
27
+ "dev": "storybook dev -p 6006",
28
+ "test": "vitest run --project browser --passWithNoTests",
29
+ "test:coverage": "vitest run --project browser --coverage --passWithNoTests"
28
30
  },
29
31
  "devDependencies": {
30
32
  "@storybook/web-components-vite": "^10.2.14",
31
33
  "@types/bootstrap": "^5.2.10",
32
34
  "@types/fs-extra": "^11.0.4",
35
+ "@vitest/browser-playwright": "^4.1.2",
36
+ "@vitest/coverage-v8": "^4.1.2",
33
37
  "fs-extra": "^11.3.3",
38
+ "playwright": "^1.58.2",
34
39
  "storybook": "^10.2.16",
35
40
  "tsx": "^4.21.0",
36
41
  "typescript": "^5.9.3",
37
- "vite": "^7.3.1",
38
- "vite-plugin-dts": "^4.5.4"
42
+ "vite": "^7.3.2",
43
+ "vite-plugin-dts": "^4.5.4",
44
+ "vitest": "^4.1.2"
39
45
  },
40
46
  "packageManager": "yarn@4.9.4",
41
47
  "dependencies": {
42
- "@canton-network/core-tx-visualizer": "^0.25.0",
43
- "@canton-network/core-types": "^0.25.0",
44
- "@canton-network/core-wallet-auth": "^0.26.0",
45
- "@canton-network/core-wallet-store": "^0.30.0",
46
- "@canton-network/core-wallet-user-rpc-client": "^0.31.0",
48
+ "@canton-network/core-tx-visualizer": "^0.25.1",
49
+ "@canton-network/core-types": "^0.25.1",
50
+ "@canton-network/core-wallet-auth": "^0.26.1",
51
+ "@canton-network/core-wallet-store": "^0.30.1",
52
+ "@canton-network/core-wallet-user-rpc-client": "^0.31.1",
47
53
  "@popperjs/core": "^2.11.8",
48
54
  "bootstrap": "^5.3.8",
49
55
  "lit": "^3.3.2"