@reown/appkit-ui 1.8.15 → 1.8.16

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.
Files changed (43) hide show
  1. package/dist/esm/exports/wui-pulse.js +2 -0
  2. package/dist/esm/exports/wui-pulse.js.map +1 -0
  3. package/dist/esm/src/assets/svg/coins.js +6 -0
  4. package/dist/esm/src/assets/svg/coins.js.map +1 -0
  5. package/dist/esm/src/assets/svg/info.js +6 -0
  6. package/dist/esm/src/assets/svg/info.js.map +1 -0
  7. package/dist/esm/src/assets/svg/paper-plane-titl.js +6 -0
  8. package/dist/esm/src/assets/svg/paper-plane-titl.js.map +1 -0
  9. package/dist/esm/src/components/wui-icon/index.js +12 -2
  10. package/dist/esm/src/components/wui-icon/index.js.map +1 -1
  11. package/dist/esm/src/components/wui-shimmer/styles.js +1 -1
  12. package/dist/esm/src/components/wui-text/index.js +1 -0
  13. package/dist/esm/src/components/wui-text/index.js.map +1 -1
  14. package/dist/esm/src/composites/wui-list-item/index.js +22 -2
  15. package/dist/esm/src/composites/wui-list-item/index.js.map +1 -1
  16. package/dist/esm/src/composites/wui-list-item/styles.js +13 -2
  17. package/dist/esm/src/composites/wui-list-item/styles.js.map +1 -1
  18. package/dist/esm/src/composites/wui-pulse/index.js +73 -0
  19. package/dist/esm/src/composites/wui-pulse/index.js.map +1 -0
  20. package/dist/esm/src/composites/wui-pulse/styles.js +55 -0
  21. package/dist/esm/src/composites/wui-pulse/styles.js.map +1 -0
  22. package/dist/esm/src/composites/wui-wallet-switch/index.js +5 -1
  23. package/dist/esm/src/composites/wui-wallet-switch/index.js.map +1 -1
  24. package/dist/esm/src/layout/wui-separator/index.js +5 -0
  25. package/dist/esm/src/layout/wui-separator/index.js.map +1 -1
  26. package/dist/esm/src/layout/wui-separator/styles.js +8 -1
  27. package/dist/esm/src/layout/wui-separator/styles.js.map +1 -1
  28. package/dist/esm/src/utils/TypeUtil.js.map +1 -1
  29. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  30. package/dist/types/exports/wui-pulse.d.ts +1 -0
  31. package/dist/types/src/assets/svg/coins.d.ts +1 -0
  32. package/dist/types/src/assets/svg/info.d.ts +1 -0
  33. package/dist/types/src/assets/svg/paper-plane-titl.d.ts +1 -0
  34. package/dist/types/src/components/wui-icon/index.d.ts +1 -0
  35. package/dist/types/src/components/wui-text/index.d.ts +1 -0
  36. package/dist/types/src/composites/wui-list-item/index.d.ts +5 -1
  37. package/dist/types/src/composites/wui-pulse/index.d.ts +17 -0
  38. package/dist/types/src/composites/wui-pulse/styles.d.ts +2 -0
  39. package/dist/types/src/composites/wui-wallet-switch/index.d.ts +1 -0
  40. package/dist/types/src/layout/wui-separator/index.d.ts +1 -0
  41. package/dist/types/src/utils/JSXTypeUtil.d.ts +2 -0
  42. package/dist/types/src/utils/TypeUtil.d.ts +3 -2
  43. package/package.json +9 -4
@@ -0,0 +1 @@
1
+ export * from '../src/composites/wui-pulse/index.js';
@@ -0,0 +1 @@
1
+ export declare const coinsSvg: import("lit").TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare const infoSealSvg: import("lit").TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare const paperPlaneTitleSvg: import("lit").TemplateResult<2>;
@@ -4,6 +4,7 @@ import type { IconColorType, IconSizeType, IconType, IconWeightType } from '../.
4
4
  export declare const ICON_COLOR: {
5
5
  'accent-primary': string;
6
6
  'accent-certified': string;
7
+ 'foreground-secondary': string;
7
8
  default: string;
8
9
  success: string;
9
10
  error: string;
@@ -6,6 +6,7 @@ export declare const TEXT_VARS_BY_COLOR: {
6
6
  tertiary: string;
7
7
  invert: string;
8
8
  error: string;
9
+ success: string;
9
10
  warning: string;
10
11
  'accent-primary': string;
11
12
  };
@@ -1,16 +1,20 @@
1
1
  import { LitElement } from 'lit';
2
2
  import '../../components/wui-loading-spinner/index.js';
3
3
  import '../../components/wui-text/index.js';
4
- import type { IconColorType, IconType } from '../../utils/TypeUtil.js';
4
+ import type { BackgroundColorType, IconColorType, IconType, SizeType } from '../../utils/TypeUtil.js';
5
5
  export declare class WuiListItem extends LitElement {
6
6
  static styles: import("lit").CSSResult[];
7
+ type?: 'primary' | 'secondary';
7
8
  imageSrc: string;
9
+ imageSize?: SizeType;
8
10
  icon?: IconType;
9
11
  iconColor?: IconColorType;
10
12
  loading: boolean;
11
13
  tabIdx?: boolean;
14
+ boxColor?: BackgroundColorType;
12
15
  disabled: boolean;
13
16
  rightIcon: boolean;
17
+ boxed: boolean;
14
18
  rounded: boolean;
15
19
  fullSize: boolean;
16
20
  render(): import("lit").TemplateResult<1>;
@@ -0,0 +1,17 @@
1
+ import { LitElement } from 'lit';
2
+ import type { PulseVariant } from '../../utils/TypeUtil.js';
3
+ export declare class WuiPulse extends LitElement {
4
+ static styles: import("lit").CSSResult[];
5
+ rings: number;
6
+ duration: number;
7
+ opacity: number;
8
+ size: string;
9
+ variant: PulseVariant;
10
+ render(): import("lit").TemplateResult<1>;
11
+ private renderRing;
12
+ }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'wui-pulse': WuiPulse;
16
+ }
17
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult;
2
+ export default _default;
@@ -12,6 +12,7 @@ export declare class WuiWalletSwitch extends LitElement {
12
12
  imageSrc: string;
13
13
  icon?: IconType;
14
14
  iconSize?: IconSizeType;
15
+ enableGreenCircle?: boolean;
15
16
  loading: boolean;
16
17
  charsStart: number;
17
18
  charsEnd: number;
@@ -3,6 +3,7 @@ import '../../components/wui-text/index.js';
3
3
  export declare class WuiSeparator extends LitElement {
4
4
  static styles: import("lit").CSSResult[];
5
5
  text?: string | undefined;
6
+ bgColor: 'primary' | 'secondary';
6
7
  render(): import("lit").TemplateResult<1>;
7
8
  private template;
8
9
  }
@@ -54,6 +54,7 @@ import type { WuiOtp } from '../composites/wui-otp/index.js';
54
54
  import type { WuiPreviewItem } from '../composites/wui-preview-item/index.js';
55
55
  import type { WuiProfileButton } from '../composites/wui-profile-button/index.js';
56
56
  import type { WuiPromo } from '../composites/wui-promo/index.js';
57
+ import type { WuiPulse } from '../composites/wui-pulse/index.js';
57
58
  import type { WuiQrCode } from '../composites/wui-qr-code/index.js';
58
59
  import type { WuiSearchBar } from '../composites/wui-search-bar/index.js';
59
60
  import type { WuiSelect } from '../composites/wui-select/index.js';
@@ -155,6 +156,7 @@ interface AppKitElements {
155
156
  'wui-active-profile-wallet-item': CustomElement<WuiActiveProfileWalletItem>;
156
157
  'wui-inactive-profile-wallet-item': CustomElement<WuiInactiveProfileWalletItem>;
157
158
  'wui-wallet-switch': CustomElement<WuiWalletSwitch>;
159
+ 'wui-pulse': CustomElement<WuiPulse>;
158
160
  'wui-flex': CustomElement<WuiFlex>;
159
161
  'wui-grid': CustomElement<WuiGrid>;
160
162
  'wui-separator': CustomElement<WuiSeparator>;
@@ -1,6 +1,6 @@
1
1
  import type { vars } from './ThemeHelperUtil.js';
2
2
  export type ColorType = string;
3
- export type BackgroundColorType = 'foregroundSecondary' | 'foregroundAccent010';
3
+ export type BackgroundColorType = 'foregroundSecondary' | 'foregroundAccent010' | 'foregroundPrimary';
4
4
  export type AlertType = 'success' | 'error' | 'warning' | 'info';
5
5
  export type IconColorType = 'inherit' | 'accent-primary' | 'accent-certified' | 'success' | 'error' | 'warning' | 'default' | 'inverse';
6
6
  export type TextColorType = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'invert' | 'error' | 'warning' | 'accent-primary';
@@ -28,7 +28,7 @@ export type TabSize = 'sm' | 'md';
28
28
  export type ToastMessageVariant = 'info' | 'success' | 'warning' | 'error';
29
29
  export type GridContentType = 'center' | 'end' | 'space-around' | 'space-between' | 'space-evenly' | 'start' | 'stretch';
30
30
  export type GridItemsType = 'center' | 'end' | 'start' | 'stretch';
31
- export type IconType = 'user' | 'add' | 'allWallets' | 'arrowBottomCircle' | 'appStore' | 'chromeStore' | 'apple' | 'arrowBottom' | 'arrowLeft' | 'arrowRight' | 'arrowTop' | 'arrowTopRight' | 'arrowClockWise' | 'bin' | 'bank' | 'browser' | 'card' | 'checkmark' | 'checkmarkBold' | 'download' | 'sealCheck' | 'chevronBottom' | 'chevronLeft' | 'chevronRight' | 'chevronTop' | 'clock' | 'close' | 'coinPlaceholder' | 'compass' | 'copy' | 'cursor' | 'desktop' | 'signOut' | 'discord' | 'dollar' | 'etherscan' | 'extension' | 'externalLink' | 'exclamationCircle' | 'facebook' | 'farcaster' | 'filters' | 'github' | 'google' | 'helpCircle' | 'image' | 'id' | 'lightbulb' | 'mail' | 'mobile' | 'more' | 'networkPlaceholder' | 'nftPlaceholder' | 'playStore' | 'plus' | 'power' | 'qrCode' | 'questionMark' | 'recycleHorizontal' | 'refresh' | 'reown' | 'search' | 'send' | 'spinner' | 'swapHorizontal' | 'swapVertical' | 'telegram' | 'threeDots' | 'ton' | 'twitch' | 'twitter' | 'twitterIcon' | 'verify' | 'verifyFilled' | 'wallet' | 'walletConnect' | 'walletConnectInvert' | 'walletConnectLightBrown' | 'walletConnectBrown' | 'warning' | 'warningCircle' | 'x' | 'info' | 'ethereum' | 'solana' | 'bitcoin';
31
+ export type IconType = 'user' | 'add' | 'allWallets' | 'arrowBottomCircle' | 'appStore' | 'chromeStore' | 'apple' | 'arrowBottom' | 'arrowLeft' | 'arrowRight' | 'arrowTop' | 'arrowTopRight' | 'arrowClockWise' | 'bin' | 'bank' | 'browser' | 'card' | 'checkmark' | 'checkmarkBold' | 'download' | 'sealCheck' | 'chevronBottom' | 'chevronLeft' | 'chevronRight' | 'chevronTop' | 'clock' | 'close' | 'coinPlaceholder' | 'compass' | 'copy' | 'cursor' | 'desktop' | 'signOut' | 'discord' | 'dollar' | 'etherscan' | 'extension' | 'externalLink' | 'exclamationCircle' | 'facebook' | 'farcaster' | 'filters' | 'github' | 'google' | 'helpCircle' | 'image' | 'id' | 'lightbulb' | 'mail' | 'mobile' | 'more' | 'networkPlaceholder' | 'nftPlaceholder' | 'playStore' | 'plus' | 'power' | 'qrCode' | 'questionMark' | 'recycleHorizontal' | 'refresh' | 'reown' | 'search' | 'send' | 'spinner' | 'swapHorizontal' | 'swapVertical' | 'telegram' | 'threeDots' | 'ton' | 'twitch' | 'twitter' | 'twitterIcon' | 'verify' | 'verifyFilled' | 'wallet' | 'walletConnect' | 'walletConnectInvert' | 'walletConnectLightBrown' | 'walletConnectBrown' | 'warning' | 'warningCircle' | 'x' | 'info' | 'ethereum' | 'solana' | 'bitcoin' | 'infoSeal' | 'coins' | 'paperPlaneTitle';
32
32
  export type IconWeightType = 'regular' | 'bold' | 'fill';
33
33
  export type VisualType = 'browser' | 'meld' | 'dao' | 'defi' | 'defiAlt' | 'eth' | 'google' | 'layers' | 'lightbulb' | 'lock' | 'login' | 'network' | 'nft' | 'noun' | 'onrampCard' | 'profile' | 'system' | 'pencil' | 'solana' | 'bitcoin' | 'ton';
34
34
  export type VisualSize = 'sm' | 'md' | 'lg';
@@ -124,3 +124,4 @@ export type MaskInputOptions = {
124
124
  decimals?: number;
125
125
  integers?: number;
126
126
  };
127
+ export type PulseVariant = 'accent-primary';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-ui",
3
- "version": "1.8.15",
3
+ "version": "1.8.16",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -300,6 +300,11 @@
300
300
  "import": "./dist/esm/exports/wui-promo.js",
301
301
  "default": "./dist/esm/exports/wui-promo.js"
302
302
  },
303
+ "./wui-pulse": {
304
+ "types": "./dist/types/exports/wui-pulse.d.ts",
305
+ "import": "./dist/esm/exports/wui-pulse.js",
306
+ "default": "./dist/esm/exports/wui-pulse.js"
307
+ },
303
308
  "./wui-balance": {
304
309
  "types": "./dist/types/exports/wui-balance.d.ts",
305
310
  "import": "./dist/esm/exports/wui-balance.js",
@@ -450,9 +455,9 @@
450
455
  "@phosphor-icons/webcomponents": "2.1.5",
451
456
  "lit": "3.3.0",
452
457
  "qrcode": "1.5.3",
453
- "@reown/appkit-common": "1.8.15",
454
- "@reown/appkit-controllers": "1.8.15",
455
- "@reown/appkit-wallet": "1.8.15"
458
+ "@reown/appkit-common": "1.8.16",
459
+ "@reown/appkit-wallet": "1.8.16",
460
+ "@reown/appkit-controllers": "1.8.16"
456
461
  },
457
462
  "devDependencies": {
458
463
  "@types/qrcode": "1.5.5",