@reown/appkit-scaffold-ui 1.2.1 → 1.3.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.
- package/dist/esm/src/modal/w3m-account-button/index.js +23 -15
- package/dist/esm/src/modal/w3m-account-button/index.js.map +1 -1
- package/dist/esm/src/modal/w3m-button/index.js +25 -17
- package/dist/esm/src/modal/w3m-button/index.js.map +1 -1
- package/dist/esm/src/modal/w3m-connect-button/index.js +16 -8
- package/dist/esm/src/modal/w3m-connect-button/index.js.map +1 -1
- package/dist/esm/src/modal/w3m-network-button/index.js +19 -12
- package/dist/esm/src/modal/w3m-network-button/index.js.map +1 -1
- package/dist/esm/src/partials/w3m-email-login-widget/index.js +7 -2
- package/dist/esm/src/partials/w3m-email-login-widget/index.js.map +1 -1
- package/dist/esm/src/partials/w3m-email-login-widget/styles.js +4 -0
- package/dist/esm/src/partials/w3m-email-login-widget/styles.js.map +1 -1
- package/dist/esm/src/views/w3m-connecting-wc-view/index.js +4 -1
- package/dist/esm/src/views/w3m-connecting-wc-view/index.js.map +1 -1
- package/dist/esm/src/views/w3m-profile-view/index.js +11 -6
- package/dist/esm/src/views/w3m-profile-view/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/modal/w3m-account-button/index.d.ts +7 -1
- package/dist/types/src/modal/w3m-button/index.d.ts +7 -1
- package/dist/types/src/modal/w3m-connect-button/index.d.ts +7 -1
- package/dist/types/src/modal/w3m-network-button/index.d.ts +7 -1
- package/dist/types/src/partials/w3m-email-login-widget/index.d.ts +1 -0
- package/dist/types/src/views/w3m-profile-view/index.d.ts +1 -0
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WuiAccountButton } from '@reown/appkit-ui';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
|
|
3
|
+
declare class W3mAccountButtonBase extends LitElement {
|
|
4
4
|
private unsubscribe;
|
|
5
5
|
disabled?: WuiAccountButton['disabled'];
|
|
6
6
|
balance?: 'show' | 'hide';
|
|
@@ -19,8 +19,14 @@ export declare class W3mAccountButton extends LitElement {
|
|
|
19
19
|
render(): import("lit").TemplateResult<1> | null;
|
|
20
20
|
private onClick;
|
|
21
21
|
}
|
|
22
|
+
export declare class W3mAccountButton extends W3mAccountButtonBase {
|
|
23
|
+
}
|
|
24
|
+
export declare class AppKitAccountButton extends W3mAccountButtonBase {
|
|
25
|
+
}
|
|
22
26
|
declare global {
|
|
23
27
|
interface HTMLElementTagNameMap {
|
|
24
28
|
'w3m-account-button': W3mAccountButton;
|
|
29
|
+
'appkit-account-button': AppKitAccountButton;
|
|
25
30
|
}
|
|
26
31
|
}
|
|
32
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
import type { W3mAccountButton } from '../w3m-account-button/index.js';
|
|
3
3
|
import type { W3mConnectButton } from '../w3m-connect-button/index.js';
|
|
4
|
-
|
|
4
|
+
declare class W3mButtonBase extends LitElement {
|
|
5
5
|
static styles: import("lit").CSSResult;
|
|
6
6
|
private unsubscribe;
|
|
7
7
|
disabled?: W3mAccountButton['disabled'];
|
|
@@ -17,8 +17,14 @@ export declare class W3mButton extends LitElement {
|
|
|
17
17
|
disconnectedCallback(): void;
|
|
18
18
|
render(): import("lit").TemplateResult<1>;
|
|
19
19
|
}
|
|
20
|
+
export declare class W3mButton extends W3mButtonBase {
|
|
21
|
+
}
|
|
22
|
+
export declare class AppKitButton extends W3mButtonBase {
|
|
23
|
+
}
|
|
20
24
|
declare global {
|
|
21
25
|
interface HTMLElementTagNameMap {
|
|
22
26
|
'w3m-button': W3mButton;
|
|
27
|
+
'appkit-button': AppKitButton;
|
|
23
28
|
}
|
|
24
29
|
}
|
|
30
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WuiConnectButton } from '@reown/appkit-ui';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
|
|
3
|
+
declare class W3mConnectButtonBase extends LitElement {
|
|
4
4
|
private unsubscribe;
|
|
5
5
|
size?: WuiConnectButton['size'];
|
|
6
6
|
label?: string | undefined;
|
|
@@ -12,8 +12,14 @@ export declare class W3mConnectButton extends LitElement {
|
|
|
12
12
|
render(): import("lit").TemplateResult<1>;
|
|
13
13
|
private onClick;
|
|
14
14
|
}
|
|
15
|
+
export declare class W3mConnectButton extends W3mConnectButtonBase {
|
|
16
|
+
}
|
|
17
|
+
export declare class AppKitConnectButton extends W3mConnectButtonBase {
|
|
18
|
+
}
|
|
15
19
|
declare global {
|
|
16
20
|
interface HTMLElementTagNameMap {
|
|
17
21
|
'w3m-connect-button': W3mConnectButton;
|
|
22
|
+
'appkit-connect-button': AppKitConnectButton;
|
|
18
23
|
}
|
|
19
24
|
}
|
|
25
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WuiNetworkButton } from '@reown/appkit-ui';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
|
-
|
|
3
|
+
declare class W3mNetworkButtonBase extends LitElement {
|
|
4
4
|
static styles: import("lit").CSSResult;
|
|
5
5
|
private unsubscribe;
|
|
6
6
|
disabled?: WuiNetworkButton['disabled'];
|
|
@@ -16,8 +16,14 @@ export declare class W3mNetworkButton extends LitElement {
|
|
|
16
16
|
private getLabel;
|
|
17
17
|
private onClick;
|
|
18
18
|
}
|
|
19
|
+
export declare class W3mNetworkButton extends W3mNetworkButtonBase {
|
|
20
|
+
}
|
|
21
|
+
export declare class AppKitNetworkButton extends W3mNetworkButtonBase {
|
|
22
|
+
}
|
|
19
23
|
declare global {
|
|
20
24
|
interface HTMLElementTagNameMap {
|
|
21
25
|
'w3m-network-button': W3mNetworkButton;
|
|
26
|
+
'appkit-network-button': AppKitNetworkButton;
|
|
22
27
|
}
|
|
23
28
|
}
|
|
29
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-scaffold-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/esm/exports/index.js",
|
|
6
6
|
"types": "./dist/types/exports/index.d.ts",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"lit": "3.1.0",
|
|
25
|
-
"@reown/appkit-common": "1.
|
|
26
|
-
"@reown/appkit-core": "1.
|
|
27
|
-
"@reown/appkit-siwe": "1.
|
|
28
|
-
"@reown/appkit-ui": "1.
|
|
29
|
-
"@reown/appkit-utils": "1.
|
|
30
|
-
"@reown/appkit-wallet": "1.
|
|
25
|
+
"@reown/appkit-common": "1.3.0",
|
|
26
|
+
"@reown/appkit-core": "1.3.0",
|
|
27
|
+
"@reown/appkit-siwe": "1.3.0",
|
|
28
|
+
"@reown/appkit-ui": "1.3.0",
|
|
29
|
+
"@reown/appkit-utils": "1.3.0",
|
|
30
|
+
"@reown/appkit-wallet": "1.3.0"
|
|
31
31
|
},
|
|
32
32
|
"author": "Reown <support@reown.com> (https://reown.com)",
|
|
33
33
|
"license": "Apache-2.0",
|