@canton-network/core-wallet-ui-components 1.1.0 → 1.1.1
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/components/app-header.d.ts +2 -2
- package/dist/components/app-layout.d.ts +2 -2
- package/dist/components/back-link.d.ts +2 -2
- package/dist/components/copy-button.d.ts +2 -2
- package/dist/components/custom-toast.d.ts +2 -2
- package/dist/components/error-page.d.ts +2 -2
- package/dist/components/form-input.d.ts +2 -2
- package/dist/components/idp-card.d.ts +2 -2
- package/dist/components/idp-form.d.ts +2 -2
- package/dist/components/idps.d.ts +2 -2
- package/dist/components/loading-state.d.ts +2 -2
- package/dist/components/login-form.d.ts +2 -3
- package/dist/components/network-card.d.ts +2 -2
- package/dist/components/network-form.d.ts +3 -3
- package/dist/components/network-table.d.ts +2 -2
- package/dist/components/networks.d.ts +2 -2
- package/dist/components/not-found.d.ts +2 -3
- package/dist/components/pagination.d.ts +2 -2
- package/dist/components/sessions.d.ts +2 -2
- package/dist/components/transaction-card.d.ts +2 -2
- package/dist/components/transaction-detail.d.ts +3 -4
- package/dist/components/wallet-card.d.ts +2 -2
- package/dist/components/wallet-create-form.d.ts +2 -2
- package/dist/components/wallets-sync.d.ts +3 -3
- package/dist/icons/index.d.ts +14 -14
- package/dist/internal/activity-utils.d.ts +1 -1
- package/dist/internal/base-element.d.ts +0 -2
- package/dist/styles/card.d.ts +1 -1
- package/dist/styles/modal.d.ts +1 -1
- package/dist/windows/wallet-picker.d.ts +1 -1
- package/package.json +7 -7
- package/dist/components/app-header.stories.d.ts +0 -6
- package/dist/components/app-header.stories.d.ts.map +0 -1
- package/dist/components/copy-button.stories.d.ts +0 -6
- package/dist/components/copy-button.stories.d.ts.map +0 -1
- package/dist/components/custom-toast.stories.d.ts +0 -7
- package/dist/components/custom-toast.stories.d.ts.map +0 -1
- package/dist/components/error-page.stories.d.ts +0 -6
- package/dist/components/error-page.stories.d.ts.map +0 -1
- package/dist/components/loading-state.stories.d.ts +0 -6
- package/dist/components/loading-state.stories.d.ts.map +0 -1
- package/dist/components/network-form.stories.d.ts +0 -7
- package/dist/components/network-form.stories.d.ts.map +0 -1
- package/dist/components/network-table.stories.d.ts +0 -6
- package/dist/components/network-table.stories.d.ts.map +0 -1
- package/dist/components/not-found.stories.d.ts +0 -6
- package/dist/components/not-found.stories.d.ts.map +0 -1
- package/dist/components/pagination.stories.d.ts +0 -7
- package/dist/components/pagination.stories.d.ts.map +0 -1
- package/dist/components/sessions.stories.d.ts +0 -6
- package/dist/components/sessions.stories.d.ts.map +0 -1
- package/dist/components/wallets-sync.stories.d.ts +0 -9
- package/dist/components/wallets-sync.stories.d.ts.map +0 -1
- package/dist/windows/wallet-picker.stories.d.ts +0 -9
- package/dist/windows/wallet-picker.stories.d.ts.map +0 -1
|
@@ -8,7 +8,7 @@ export declare class AppHeader extends BaseElement {
|
|
|
8
8
|
networkConnected: boolean;
|
|
9
9
|
private menuOpen;
|
|
10
10
|
private darkMode;
|
|
11
|
-
static styles: import(
|
|
11
|
+
static styles: import('lit').CSSResultGroup[];
|
|
12
12
|
connectedCallback(): void;
|
|
13
13
|
disconnectedCallback(): void;
|
|
14
14
|
private handleOutsideClick;
|
|
@@ -16,6 +16,6 @@ export declare class AppHeader extends BaseElement {
|
|
|
16
16
|
private toggleMenu;
|
|
17
17
|
private navigateTo;
|
|
18
18
|
private logout;
|
|
19
|
-
render(): import(
|
|
19
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=app-header.d.ts.map
|
|
@@ -5,10 +5,10 @@ export declare class AppLayout extends BaseElement {
|
|
|
5
5
|
networkName: string;
|
|
6
6
|
networkConnected: boolean;
|
|
7
7
|
currentPage: string;
|
|
8
|
-
static styles: import(
|
|
8
|
+
static styles: import('lit').CSSResultGroup[];
|
|
9
9
|
private customThemeCss;
|
|
10
10
|
updated(changedProps: Map<string, unknown>): Promise<void>;
|
|
11
11
|
private get effectiveThemeCss();
|
|
12
|
-
render(): import(
|
|
12
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=app-layout.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { BaseElement } from '../internal/base-element.js';
|
|
|
2
2
|
export declare class WgBackLink extends BaseElement {
|
|
3
3
|
href: string;
|
|
4
4
|
label: string;
|
|
5
|
-
static styles: import(
|
|
6
|
-
render(): import(
|
|
5
|
+
static styles: import('lit').CSSResultGroup[];
|
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=back-link.d.ts.map
|
|
@@ -7,9 +7,9 @@ export declare class WgCopyButton extends BaseElement {
|
|
|
7
7
|
value: string;
|
|
8
8
|
label: string;
|
|
9
9
|
private copied;
|
|
10
|
-
static styles: import(
|
|
10
|
+
static styles: import('lit').CSSResultGroup[];
|
|
11
11
|
private copyToClipboard;
|
|
12
12
|
private fallbackCopy;
|
|
13
|
-
render(): import(
|
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=copy-button.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseElement } from '../internal/base-element';
|
|
2
2
|
export type ToastMessageType = 'info' | 'success' | 'error';
|
|
3
3
|
export declare class Toast extends BaseElement {
|
|
4
|
-
static styles: import(
|
|
4
|
+
static styles: import('lit').CSSResultGroup[];
|
|
5
5
|
title: string;
|
|
6
6
|
message: string;
|
|
7
7
|
buttonText: string;
|
|
@@ -12,6 +12,6 @@ export declare class Toast extends BaseElement {
|
|
|
12
12
|
private closeToast;
|
|
13
13
|
connectedCallback(): void;
|
|
14
14
|
disconnectedCallback(): void;
|
|
15
|
-
render(): import(
|
|
15
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=custom-toast.d.ts.map
|
|
@@ -12,9 +12,9 @@ export declare class WgErrorPage extends BaseElement {
|
|
|
12
12
|
message: string;
|
|
13
13
|
backHref: string;
|
|
14
14
|
performDefaultAction: boolean;
|
|
15
|
-
static styles: import(
|
|
15
|
+
static styles: import('lit').CSSResultGroup[];
|
|
16
16
|
private onBack;
|
|
17
17
|
private onRefresh;
|
|
18
|
-
render(): import(
|
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=error-page.d.ts.map
|
|
@@ -17,8 +17,8 @@ export declare class FormInput extends BaseElement {
|
|
|
17
17
|
hideable: boolean;
|
|
18
18
|
/** Only takes effect if hideable is true */
|
|
19
19
|
hidden: boolean;
|
|
20
|
-
static styles: import(
|
|
21
|
-
render(): import(
|
|
20
|
+
static styles: import('lit').CSSResultGroup[];
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
22
|
}
|
|
23
23
|
export declare class WgFormInput extends FormInput {
|
|
24
24
|
}
|
|
@@ -17,8 +17,8 @@ export declare class IdpCardUpdateEvent extends Event {
|
|
|
17
17
|
export declare class IdpCard extends BaseElement {
|
|
18
18
|
idp: Idp | null;
|
|
19
19
|
readonly: boolean;
|
|
20
|
-
static styles: import(
|
|
20
|
+
static styles: import('lit').CSSResultGroup[];
|
|
21
21
|
private _onClick;
|
|
22
|
-
render(): import(
|
|
22
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
23
23
|
}
|
|
24
24
|
//# sourceMappingURL=idp-card.d.ts.map
|
|
@@ -28,8 +28,8 @@ export declare class IdpFormComponent extends BaseElement {
|
|
|
28
28
|
accessor idpTypeSelect: HTMLSelectElement | null;
|
|
29
29
|
accessor idpIssuerInput: HTMLInputElement | null;
|
|
30
30
|
accessor idpConfigUrlInput: HTMLInputElement | null;
|
|
31
|
-
static styles: import(
|
|
31
|
+
static styles: import('lit').CSSResultGroup[];
|
|
32
32
|
private handleSubmit;
|
|
33
|
-
render(): import(
|
|
33
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=idp-form.d.ts.map
|
|
@@ -6,7 +6,7 @@ export declare class IdpAddEvent extends Event {
|
|
|
6
6
|
constructor(idp: Idp);
|
|
7
7
|
}
|
|
8
8
|
export declare class WgIdps extends BaseElement {
|
|
9
|
-
static styles: import(
|
|
9
|
+
static styles: import('lit').CSSResultGroup[];
|
|
10
10
|
accessor idps: Idp[];
|
|
11
11
|
accessor readonly: boolean;
|
|
12
12
|
accessor isModalOpen: boolean;
|
|
@@ -14,6 +14,6 @@ export declare class WgIdps extends BaseElement {
|
|
|
14
14
|
connectedCallback(): void;
|
|
15
15
|
private openAddModal;
|
|
16
16
|
private closeModal;
|
|
17
|
-
protected render(): import(
|
|
17
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=idps.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseElement } from '../internal/base-element';
|
|
2
2
|
export declare class WgLoadingState extends BaseElement {
|
|
3
3
|
text: string;
|
|
4
|
-
static styles: import(
|
|
5
|
-
render(): import(
|
|
4
|
+
static styles: import('lit').CSSResultGroup[];
|
|
5
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=loading-state.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropertyValues } from 'lit';
|
|
2
|
-
import './back-link.js';
|
|
3
2
|
import { BaseElement } from '../internal/base-element.js';
|
|
4
3
|
import { Network, Idp } from '@canton-network/core-wallet-user-rpc-client';
|
|
5
4
|
/** Emitted when the user clicks the Connect button */
|
|
@@ -24,7 +23,7 @@ export declare class WgLoginForm extends BaseElement {
|
|
|
24
23
|
accessor selectedIdp: Idp | null;
|
|
25
24
|
accessor message: string | null;
|
|
26
25
|
accessor messageType: 'error' | 'info' | null;
|
|
27
|
-
static styles: import(
|
|
26
|
+
static styles: import('lit').CSSResultGroup[];
|
|
28
27
|
protected updated(changedProperties: PropertyValues<this>): void;
|
|
29
28
|
private get selectedNetworkIndex();
|
|
30
29
|
private handleChange;
|
|
@@ -34,6 +33,6 @@ export declare class WgLoginForm extends BaseElement {
|
|
|
34
33
|
setMessage(message: string, type: 'error' | 'info'): void;
|
|
35
34
|
/** Clear the status message */
|
|
36
35
|
clearMessage(): void;
|
|
37
|
-
protected render(): import(
|
|
36
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
38
37
|
}
|
|
39
38
|
//# sourceMappingURL=login-form.d.ts.map
|
|
@@ -19,8 +19,8 @@ export declare class NetworkCard extends BaseElement {
|
|
|
19
19
|
activeSession: boolean;
|
|
20
20
|
accessToken: string;
|
|
21
21
|
readonly: boolean;
|
|
22
|
-
static styles: import(
|
|
22
|
+
static styles: import('lit').CSSResultGroup[];
|
|
23
23
|
private _onClick;
|
|
24
|
-
render(): import(
|
|
24
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
25
25
|
}
|
|
26
26
|
//# sourceMappingURL=network-card.d.ts.map
|
|
@@ -30,9 +30,9 @@ export declare class NetworkForm extends BaseElement {
|
|
|
30
30
|
accessor mode: 'add' | 'review';
|
|
31
31
|
accessor network: Network;
|
|
32
32
|
private _error;
|
|
33
|
-
static styles: import(
|
|
33
|
+
static styles: import('lit').CSSResultGroup[];
|
|
34
34
|
handleSubmit(e: Event): void;
|
|
35
|
-
renderAuthForm(authObj: Network['auth']): import(
|
|
36
|
-
render(): import(
|
|
35
|
+
renderAuthForm(authObj: Network['auth']): import('lit-html').TemplateResult<1>;
|
|
36
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=network-form.d.ts.map
|
|
@@ -5,7 +5,7 @@ export declare class NetworkTable extends BaseElement {
|
|
|
5
5
|
networks: Network[];
|
|
6
6
|
activeSessions: Session[];
|
|
7
7
|
readonly: boolean;
|
|
8
|
-
static styles: import(
|
|
9
|
-
render(): import(
|
|
8
|
+
static styles: import('lit').CSSResultGroup[];
|
|
9
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=network-table.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Network, Session } from '@canton-network/core-wallet-user-rpc-client';
|
|
2
2
|
import { BaseElement } from '../internal/base-element';
|
|
3
3
|
export declare class WgNetworks extends BaseElement {
|
|
4
|
-
static styles: import(
|
|
4
|
+
static styles: import('lit').CSSResultGroup[];
|
|
5
5
|
accessor networks: Network[];
|
|
6
6
|
accessor activeSessions: Session[];
|
|
7
7
|
accessor readonly: boolean;
|
|
@@ -11,6 +11,6 @@ export declare class WgNetworks extends BaseElement {
|
|
|
11
11
|
connectedCallback(): void;
|
|
12
12
|
private openAddModal;
|
|
13
13
|
private closeModal;
|
|
14
|
-
protected render(): import(
|
|
14
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=networks.d.ts.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { BaseElement } from '../internal/base-element';
|
|
2
|
-
import './error-page';
|
|
3
2
|
export declare class NotFound extends BaseElement {
|
|
4
|
-
static styles: import(
|
|
3
|
+
static styles: import('lit').CSSResultGroup[];
|
|
5
4
|
href: string;
|
|
6
|
-
render(): import(
|
|
5
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
7
6
|
}
|
|
8
7
|
//# sourceMappingURL=not-found.d.ts.map
|
|
@@ -9,11 +9,11 @@ export declare class WgPagination extends BaseElement {
|
|
|
9
9
|
total: number;
|
|
10
10
|
pageSize: number;
|
|
11
11
|
page: number;
|
|
12
|
-
static styles: import(
|
|
12
|
+
static styles: import('lit').CSSResultGroup[];
|
|
13
13
|
private get maxPage();
|
|
14
14
|
private get range();
|
|
15
15
|
private updatePage;
|
|
16
16
|
protected willUpdate(): void;
|
|
17
|
-
render(): import(
|
|
17
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseElement } from '../internal/base-element';
|
|
2
2
|
import { Session } from '@canton-network/core-wallet-user-rpc-client';
|
|
3
3
|
export declare class WgSessions extends BaseElement {
|
|
4
|
-
static styles: import(
|
|
4
|
+
static styles: import('lit').CSSResultGroup[];
|
|
5
5
|
sessions: Session[];
|
|
6
|
-
protected render(): import(
|
|
6
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=sessions.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
2
|
import { BaseElement } from '../internal/base-element.js';
|
|
3
3
|
import { ParsedTransactionInfo } from '@canton-network/core-tx-visualizer';
|
|
4
4
|
/** Emitted when the user clicks an activity card */
|
|
@@ -17,7 +17,7 @@ export declare class WgTransactionCard extends BaseElement {
|
|
|
17
17
|
signedAt: string | null;
|
|
18
18
|
origin: string | null;
|
|
19
19
|
loading: boolean;
|
|
20
|
-
static styles: import(
|
|
20
|
+
static styles: import('lit').CSSResultGroup[];
|
|
21
21
|
private renderFieldRow;
|
|
22
22
|
private handleReview;
|
|
23
23
|
protected render(): TemplateResult<1>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import './back-link.js';
|
|
2
1
|
import { BaseElement } from '../internal/base-element.js';
|
|
3
|
-
import
|
|
2
|
+
import { ParsedTransactionInfo } from '@canton-network/core-tx-visualizer';
|
|
4
3
|
/** Emitted when the user clicks the "Approve" button */
|
|
5
4
|
export declare class TransactionApproveEvent extends Event {
|
|
6
5
|
commandId: string;
|
|
@@ -26,7 +25,7 @@ export declare class WgTransactionDetail extends BaseElement {
|
|
|
26
25
|
isDeleting: boolean;
|
|
27
26
|
disabled: boolean;
|
|
28
27
|
private decodedExpanded;
|
|
29
|
-
static styles: import(
|
|
28
|
+
static styles: import('lit').CSSResultGroup[];
|
|
30
29
|
private get isApproveDisabled();
|
|
31
30
|
private get isDeleteDisabled();
|
|
32
31
|
private toggleDecoded;
|
|
@@ -34,7 +33,7 @@ export declare class WgTransactionDetail extends BaseElement {
|
|
|
34
33
|
private renderInlineField;
|
|
35
34
|
private renderSignatories;
|
|
36
35
|
private renderDecodedBox;
|
|
37
|
-
protected render(): import(
|
|
36
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
38
37
|
private renderActionButtons;
|
|
39
38
|
}
|
|
40
39
|
//# sourceMappingURL=transaction-detail.d.ts.map
|
|
@@ -12,7 +12,7 @@ export declare class WgWalletCard extends BaseElement {
|
|
|
12
12
|
wallet: Wallet | null;
|
|
13
13
|
verified: boolean;
|
|
14
14
|
loading: boolean;
|
|
15
|
-
static styles: import(
|
|
15
|
+
static styles: import('lit').CSSResultGroup[];
|
|
16
16
|
private renderRightsBadges;
|
|
17
17
|
private renderStatusBadge;
|
|
18
18
|
private renderMeta;
|
|
@@ -20,6 +20,6 @@ export declare class WgWalletCard extends BaseElement {
|
|
|
20
20
|
connectedCallback(): void;
|
|
21
21
|
updated(): void;
|
|
22
22
|
private syncPartyIdAttribute;
|
|
23
|
-
protected render(): import(
|
|
23
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=wallet-card.d.ts.map
|
|
@@ -13,9 +13,9 @@ export declare class WgWalletCreateForm extends BaseElement {
|
|
|
13
13
|
accessor partyHintInput: HTMLInputElement | null;
|
|
14
14
|
accessor signingProviderSelect: HTMLSelectElement | null;
|
|
15
15
|
accessor primaryCheckbox: HTMLInputElement | null;
|
|
16
|
-
static styles: import(
|
|
16
|
+
static styles: import('lit').CSSResultGroup[];
|
|
17
17
|
private onSubmit;
|
|
18
18
|
reset(): void;
|
|
19
|
-
protected render(): import(
|
|
19
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=wallet-create-form.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BaseElement } from '../internal/base-element';
|
|
2
|
-
import UserApiClient from '@canton-network/core-wallet-user-rpc-client';
|
|
2
|
+
import { default as UserApiClient } from '@canton-network/core-wallet-user-rpc-client';
|
|
3
3
|
export declare class WgWalletsSync extends BaseElement {
|
|
4
|
-
static styles: import(
|
|
4
|
+
static styles: import('lit').CSSResultGroup[];
|
|
5
5
|
client: UserApiClient | null;
|
|
6
6
|
accessor isSyncNeeded: boolean;
|
|
7
7
|
accessor isSyncing: boolean;
|
|
8
8
|
connectedCallback(): void;
|
|
9
9
|
private checkWalletSyncNeeded;
|
|
10
10
|
syncWallets: () => Promise<void>;
|
|
11
|
-
protected render(): import(
|
|
11
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=wallets-sync.d.ts.map
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare const eyeFillIcon: import(
|
|
2
|
-
export declare const eyeSlashIcon: import(
|
|
3
|
-
export declare const infoCircleFillIcon: import(
|
|
4
|
-
export declare const clipboardIcon: import(
|
|
5
|
-
export declare const refreshIcon: import(
|
|
6
|
-
export declare const chevronDownIcon: import(
|
|
7
|
-
export declare const chevronRightIcon: import(
|
|
8
|
-
export declare const chevronLeftIcon: import(
|
|
9
|
-
export declare const warningTriangleIcon: import(
|
|
10
|
-
export declare const searchIcon: import(
|
|
11
|
-
export declare const plusIcon: import(
|
|
12
|
-
export declare const arrowLeftIcon: import(
|
|
13
|
-
export declare const arrowRightIcon: import(
|
|
14
|
-
export declare const menuIcon: import(
|
|
1
|
+
export declare const eyeFillIcon: import('lit-html').TemplateResult<1>;
|
|
2
|
+
export declare const eyeSlashIcon: import('lit-html').TemplateResult<1>;
|
|
3
|
+
export declare const infoCircleFillIcon: import('lit-html').TemplateResult<1>;
|
|
4
|
+
export declare const clipboardIcon: import('lit-html').TemplateResult<1>;
|
|
5
|
+
export declare const refreshIcon: import('lit-html').TemplateResult<1>;
|
|
6
|
+
export declare const chevronDownIcon: import('lit-html').TemplateResult<1>;
|
|
7
|
+
export declare const chevronRightIcon: import('lit-html').TemplateResult<1>;
|
|
8
|
+
export declare const chevronLeftIcon: import('lit-html').TemplateResult<1>;
|
|
9
|
+
export declare const warningTriangleIcon: import('lit-html').TemplateResult<1>;
|
|
10
|
+
export declare const searchIcon: import('lit-html').TemplateResult<1>;
|
|
11
|
+
export declare const plusIcon: import('lit-html').TemplateResult<1>;
|
|
12
|
+
export declare const arrowLeftIcon: import('lit-html').TemplateResult<1>;
|
|
13
|
+
export declare const arrowRightIcon: import('lit-html').TemplateResult<1>;
|
|
14
|
+
export declare const menuIcon: import('lit-html').TemplateResult<1>;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ParsedTransactionInfo } from '@canton-network/core-tx-visualizer';
|
|
2
2
|
export declare function getActivityStatusTone(status: string): 'success' | 'warning' | 'danger' | 'default';
|
|
3
3
|
export declare function getActivityStatusLabel(status: string): string;
|
|
4
4
|
export declare function getActivityStatusBadgeClass(status: string): string;
|
package/dist/styles/card.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const cardStyles: import(
|
|
1
|
+
export declare const cardStyles: import('lit').CSSResult;
|
|
2
2
|
//# sourceMappingURL=card.d.ts.map
|
package/dist/styles/modal.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const modalStyles: import(
|
|
1
|
+
export declare const modalStyles: import('lit').CSSResult;
|
|
2
2
|
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { WalletPickerEntry, WalletPickerResult } from '../components/wallet-picker.js';
|
|
2
2
|
export declare const notifyWalletPickerConnected: (reuseGlobalWalletPopup?: boolean) => void;
|
|
3
3
|
export declare const notifyWalletPickerError: (message: string) => void;
|
|
4
4
|
export declare const waitForWalletPickerRetrySelection: () => Promise<WalletPickerResult>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canton-network/core-wallet-ui-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Reusable UI components for the Splice wallet",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"./themes": "./themes"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "vite build
|
|
22
|
+
"build": "vite build",
|
|
23
23
|
"build:watch": "vite build --watch & tsc --emitDeclarationOnly --watch",
|
|
24
24
|
"typecheck": "tsc --noEmit",
|
|
25
25
|
"flatpack": "yarn pack --out \"$FLATPACK_OUTDIR\"",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
},
|
|
46
46
|
"packageManager": "yarn@4.9.4",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@canton-network/core-tx-visualizer": "^1.1.
|
|
49
|
-
"@canton-network/core-types": "^1.1.
|
|
50
|
-
"@canton-network/core-wallet-auth": "^1.1.
|
|
51
|
-
"@canton-network/core-wallet-store": "^1.1.
|
|
52
|
-
"@canton-network/core-wallet-user-rpc-client": "^1.1.
|
|
48
|
+
"@canton-network/core-tx-visualizer": "^1.1.1",
|
|
49
|
+
"@canton-network/core-types": "^1.1.1",
|
|
50
|
+
"@canton-network/core-wallet-auth": "^1.1.1",
|
|
51
|
+
"@canton-network/core-wallet-store": "^1.1.1",
|
|
52
|
+
"@canton-network/core-wallet-user-rpc-client": "^1.1.1",
|
|
53
53
|
"@popperjs/core": "^2.11.8",
|
|
54
54
|
"bootstrap": "^5.3.8",
|
|
55
55
|
"lit": "^3.3.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-header.stories.d.ts","sourceRoot":"","sources":["../../src/components/app-header.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAIpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAOrB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,QAO1B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"copy-button.stories.d.ts","sourceRoot":"","sources":["../../src/components/copy-button.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAIpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAMnB,eAAO,MAAM,OAAO,EAAE,QAMrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,QAWvB,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
export declare const Error: StoryObj;
|
|
5
|
-
export declare const WalletSyncComplete: StoryObj;
|
|
6
|
-
export declare const Info: StoryObj;
|
|
7
|
-
//# sourceMappingURL=custom-toast.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-toast.stories.d.ts","sourceRoot":"","sources":["../../src/components/custom-toast.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAGpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,KAAK,EAAE,QAUnB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,QAUhC,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,QAUlB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"error-page.stories.d.ts","sourceRoot":"","sources":["../../src/components/error-page.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAGpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,QAAQ,EAAE,QAUtB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,QAUzB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loading-state.stories.d.ts","sourceRoot":"","sources":["../../src/components/loading-state.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAGpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAErB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAGxB,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
export declare const Default: StoryObj;
|
|
5
|
-
export declare const PopulatedAuthorizationCode: StoryObj;
|
|
6
|
-
export declare const PopulatedSelfSigned: StoryObj;
|
|
7
|
-
//# sourceMappingURL=network-form.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"network-form.stories.d.ts","sourceRoot":"","sources":["../../src/components/network-form.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAMpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAOnB,eAAO,MAAM,OAAO,EAAE,QAKrB,CAAA;AA6BD,eAAO,MAAM,0BAA0B,EAAE,QAQxC,CAAA;AA+BD,eAAO,MAAM,mBAAmB,EAAE,QAQjC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"network-table.stories.d.ts","sourceRoot":"","sources":["../../src/components/network-table.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAMpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AA+BnB,eAAO,MAAM,OAAO,EAAE,QAOrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAWtB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"not-found.stories.d.ts","sourceRoot":"","sources":["../../src/components/not-found.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAGpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAErB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,QAE5B,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
export declare const Default: StoryObj;
|
|
5
|
-
export declare const MiddlePage: StoryObj;
|
|
6
|
-
export declare const Interactive: StoryObj;
|
|
7
|
-
//# sourceMappingURL=pagination.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.stories.d.ts","sourceRoot":"","sources":["../../src/components/pagination.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAGpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAGrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAOxB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,QAazB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.stories.d.ts","sourceRoot":"","sources":["../../src/components/sessions.stories.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAGpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAErB,CAAA;AAuCD,eAAO,MAAM,SAAS,EAAE,QAEvB,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
export declare const Default: StoryObj;
|
|
5
|
-
export declare const SyncNeeded: StoryObj;
|
|
6
|
-
export declare const Loading: StoryObj;
|
|
7
|
-
export declare const SyncWithDisabledWallets: StoryObj;
|
|
8
|
-
export declare const SyncError: StoryObj;
|
|
9
|
-
//# sourceMappingURL=wallets-sync.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wallets-sync.stories.d.ts","sourceRoot":"","sources":["../../src/components/wallets-sync.stories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAGpE,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,eAAO,MAAM,OAAO,EAAE,QAiBrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAiBxB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAqBrB,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,QA8BrC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,QASvB,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/web-components-vite';
|
|
2
|
-
import '../components/wallet-picker';
|
|
3
|
-
declare const meta: Meta;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const Default: StoryObj;
|
|
6
|
-
export declare const WithManualProviders: StoryObj;
|
|
7
|
-
export declare const Popup: StoryObj;
|
|
8
|
-
export declare const Empty: StoryObj;
|
|
9
|
-
//# sourceMappingURL=wallet-picker.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|