@reown/appkit-ui 1.5.3 → 1.5.4-rc.2.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.
@@ -51,6 +51,7 @@ export * from './src/composites/wui-tag/index.js';
51
51
  export * from './src/composites/wui-transaction-visual/index.js';
52
52
  export * from './src/composites/wui-visual-thumbnail/index.js';
53
53
  export * from './src/composites/wui-wallet-image/index.js';
54
+ export * from './src/composites/wui-wallet-button/index.js';
54
55
  export * from './src/composites/wui-notice-card/index.js';
55
56
  export * from './src/composites/wui-list-accordion/index.js';
56
57
  export * from './src/composites/wui-list-content/index.js';
@@ -9,6 +9,7 @@ export declare class WuiQrCode extends LitElement {
9
9
  theme: ThemeType;
10
10
  imageSrc?: string;
11
11
  alt?: string;
12
+ color?: string;
12
13
  arenaClear?: boolean;
13
14
  farcaster?: boolean;
14
15
  render(): import("lit").TemplateResult<1>;
@@ -0,0 +1,25 @@
1
+ import { LitElement } from 'lit';
2
+ import '../../components/wui-image/index.js';
3
+ import '../../components/wui-text/index.js';
4
+ import '../../components/wui-loading-spinner/index.js';
5
+ import '../../composites/wui-icon-box/index.js';
6
+ import type { IconType } from '../../utils/TypeUtil.js';
7
+ export declare class WuiWalletButton extends LitElement {
8
+ static styles: import("lit").CSSResult[];
9
+ imageSrc?: string | undefined;
10
+ name?: string | undefined;
11
+ walletConnect: boolean;
12
+ icon?: IconType;
13
+ loading: boolean;
14
+ error: boolean;
15
+ disabled: boolean;
16
+ shake: boolean;
17
+ render(): import("lit").TemplateResult<1>;
18
+ private leftViewTemplate;
19
+ private rightViewTemplate;
20
+ }
21
+ declare global {
22
+ interface HTMLElementTagNameMap {
23
+ 'wui-wallet-button': WuiWalletButton;
24
+ }
25
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult;
2
+ export default _default;
@@ -74,6 +74,7 @@ import type { WuiSeparator } from '../layout/wui-separator/index.js';
74
74
  import type { WuiCheckBox } from '../composites/wui-checkbox/index.js';
75
75
  import type { WuiSwitch } from '../composites/wui-switch/index.js';
76
76
  import type { WuiCertifiedSwitch } from '../composites/wui-certified-switch/index.js';
77
+ import type { WuiWalletButton } from '../composites/wui-wallet-button/index.js';
77
78
  type CustomElement<E> = Partial<E & {
78
79
  children?: any;
79
80
  onClick: any;
@@ -149,6 +150,7 @@ declare global {
149
150
  'wui-transaction-visual': CustomElement<WuiTransactionVisual>;
150
151
  'wui-visual-thumbnail': CustomElement<WuiVisualThumbnail>;
151
152
  'wui-wallet-image': CustomElement<WuiWalletImage>;
153
+ 'wui-wallet-button': CustomElement<WuiWalletButton>;
152
154
  'wui-banner': CustomElement<WuiBanner>;
153
155
  'wui-list-account': CustomElement<WuiListAccount>;
154
156
  'wui-checkbox': CustomElement<WuiCheckBox>;
@@ -1,4 +1,9 @@
1
1
  import type { TemplateResult } from 'lit';
2
2
  export declare const QrCodeUtil: {
3
- generate(uri: string, size: number, logoSize: number): TemplateResult[];
3
+ generate({ uri, size, logoSize, dotColor }: {
4
+ uri: string;
5
+ size: number;
6
+ logoSize: number;
7
+ dotColor?: string | undefined;
8
+ }): TemplateResult[];
4
9
  };
@@ -63,6 +63,7 @@ export interface ThemeVariables {
63
63
  '--w3m-font-size-master'?: string;
64
64
  '--w3m-border-radius-master'?: string;
65
65
  '--w3m-z-index'?: number;
66
+ '--w3m-qr-color'?: string;
66
67
  }
67
68
  export type IconBoxBorderType = 'wui-color-bg-125' | 'wui-accent-glass-010';
68
69
  export type TruncateType = 'start' | 'middle' | 'end';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-ui",
3
- "version": "1.5.3",
3
+ "version": "1.5.4-rc.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "eslint-plugin-wc": "2.0.4",
19
19
  "vitest": "2.1.3",
20
20
  "@vitest/coverage-v8": "2.1.3",
21
- "@reown/appkit-common": "1.5.3",
22
- "@reown/appkit-wallet": "1.5.3",
23
- "@reown/appkit-core": "1.5.3"
21
+ "@reown/appkit-wallet": "1.5.4-rc.2.0",
22
+ "@reown/appkit-common": "1.5.4-rc.2.0",
23
+ "@reown/appkit-core": "1.5.4-rc.2.0"
24
24
  },
25
25
  "author": "Reown <support@reown.com> (https://reown.com)",
26
26
  "license": "Apache-2.0",