@reown/appkit-ui 1.0.5 → 1.0.6
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/assets/svg/walletconnect.js +13 -0
- package/dist/esm/src/assets/svg/walletconnect.js.map +1 -1
- package/dist/esm/src/components/wui-icon/index.js +2 -1
- package/dist/esm/src/components/wui-icon/index.js.map +1 -1
- package/dist/esm/src/composites/wui-chip/index.js +16 -0
- package/dist/esm/src/composites/wui-chip/index.js.map +1 -1
- package/dist/esm/src/composites/wui-chip/styles.js +7 -7
- package/dist/esm/src/utils/ThemeUtil.js +15 -0
- package/dist/esm/src/utils/ThemeUtil.js.map +1 -1
- package/dist/esm/src/utils/TypeUtil.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/assets/svg/walletconnect.d.ts +1 -0
- package/dist/types/src/composites/wui-chip/index.d.ts +3 -1
- package/dist/types/src/utils/TypeUtil.d.ts +2 -1
- package/package.json +4 -4
|
@@ -2,11 +2,13 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
import '../../components/wui-icon/index.js';
|
|
3
3
|
import '../../components/wui-image/index.js';
|
|
4
4
|
import '../../components/wui-text/index.js';
|
|
5
|
-
import type { ChipType, IconType } from '../../utils/TypeUtil.js';
|
|
5
|
+
import type { ChipType, IconType, SizeType } from '../../utils/TypeUtil.js';
|
|
6
6
|
export declare class WuiChip extends LitElement {
|
|
7
7
|
static styles: import("lit").CSSResult[];
|
|
8
8
|
variant: ChipType;
|
|
9
9
|
imageSrc?: string;
|
|
10
|
+
imageIcon?: IconType;
|
|
11
|
+
imageIconSize: SizeType;
|
|
10
12
|
disabled: boolean;
|
|
11
13
|
icon: IconType;
|
|
12
14
|
href: string;
|
|
@@ -18,7 +18,7 @@ export interface IWalletImage {
|
|
|
18
18
|
}
|
|
19
19
|
export type GridContentType = 'center' | 'end' | 'space-around' | 'space-between' | 'space-evenly' | 'start' | 'stretch';
|
|
20
20
|
export type GridItemsType = 'center' | 'end' | 'start' | 'stretch';
|
|
21
|
-
export type IconType = 'add' | 'allWallets' | 'arrowBottomCircle' | 'appStore' | 'chromeStore' | 'apple' | 'arrowBottom' | 'arrowLeft' | 'arrowRight' | 'arrowTop' | 'bank' | 'browser' | 'card' | 'checkmark' | 'checkmarkBold' | 'chevronBottom' | 'chevronLeft' | 'chevronRight' | 'chevronTop' | 'clock' | 'close' | 'coinPlaceholder' | 'compass' | 'copy' | 'cursor' | 'cursorTransparent' | 'desktop' | 'disconnect' | 'discord' | 'etherscan' | 'extension' | 'externalLink' | 'facebook' | 'farcaster' | 'filters' | 'github' | 'google' | 'helpCircle' | 'image' | 'id' | 'infoCircle' | 'lightbulb' | 'mail' | 'mobile' | 'more' | 'networkPlaceholder' | 'nftPlaceholder' | 'off' | 'playStore' | 'plus' | 'qrCode' | 'recycleHorizontal' | 'refresh' | 'search' | 'send' | 'swapHorizontal' | 'swapHorizontalBold' | 'swapHorizontalMedium' | 'swapHorizontalRoundedBold' | 'swapVertical' | 'telegram' | 'threeDots' | 'twitch' | 'twitter' | 'twitterIcon' | 'verify' | 'verifyFilled' | 'wallet' | 'walletConnect' | 'walletPlaceholder' | 'warningCircle' | 'x' | 'info' | 'exclamationTriangle';
|
|
21
|
+
export type IconType = 'add' | 'allWallets' | 'arrowBottomCircle' | 'appStore' | 'chromeStore' | 'apple' | 'arrowBottom' | 'arrowLeft' | 'arrowRight' | 'arrowTop' | 'bank' | 'browser' | 'card' | 'checkmark' | 'checkmarkBold' | 'chevronBottom' | 'chevronLeft' | 'chevronRight' | 'chevronTop' | 'clock' | 'close' | 'coinPlaceholder' | 'compass' | 'copy' | 'cursor' | 'cursorTransparent' | 'desktop' | 'disconnect' | 'discord' | 'etherscan' | 'extension' | 'externalLink' | 'facebook' | 'farcaster' | 'filters' | 'github' | 'google' | 'helpCircle' | 'image' | 'id' | 'infoCircle' | 'lightbulb' | 'mail' | 'mobile' | 'more' | 'networkPlaceholder' | 'nftPlaceholder' | 'off' | 'playStore' | 'plus' | 'qrCode' | 'recycleHorizontal' | 'refresh' | 'search' | 'send' | 'swapHorizontal' | 'swapHorizontalBold' | 'swapHorizontalMedium' | 'swapHorizontalRoundedBold' | 'swapVertical' | 'telegram' | 'threeDots' | 'twitch' | 'twitter' | 'twitterIcon' | 'verify' | 'verifyFilled' | 'wallet' | 'walletConnect' | 'walletConnectLightBrown' | 'walletPlaceholder' | 'warningCircle' | 'x' | 'info' | 'exclamationTriangle';
|
|
22
22
|
export type VisualType = 'browser' | 'meld' | 'coinbase' | 'dao' | 'defi' | 'defiAlt' | 'eth' | 'google' | 'layers' | 'lightbulb' | 'lock' | 'login' | 'network' | 'nft' | 'noun' | 'onrampCard' | 'profile' | 'system' | 'moonpay' | 'stripe' | 'paypal' | 'pencil' | 'solana';
|
|
23
23
|
export type VisualSize = 'sm' | 'md' | 'lg';
|
|
24
24
|
export type LogoType = 'apple' | 'discord' | 'facebook' | 'github' | 'google' | 'more' | 'telegram' | 'twitch' | 'x' | 'farcaster';
|
|
@@ -66,6 +66,7 @@ export interface ThemeVariables {
|
|
|
66
66
|
}
|
|
67
67
|
export type IconBoxBorderType = 'wui-color-bg-125' | 'wui-accent-glass-010';
|
|
68
68
|
export type TruncateType = 'start' | 'middle' | 'end';
|
|
69
|
+
export type WalletGuideType = 'get-started' | 'explore';
|
|
69
70
|
export type TruncateOptions = {
|
|
70
71
|
string: string;
|
|
71
72
|
charsStart: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
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.0.5",
|
|
20
20
|
"@vitest/coverage-v8": "2.0.5",
|
|
21
|
-
"@reown/appkit-common": "1.0.
|
|
22
|
-
"@reown/appkit-wallet": "1.0.
|
|
23
|
-
"@reown/appkit-core": "1.0.
|
|
21
|
+
"@reown/appkit-common": "1.0.6",
|
|
22
|
+
"@reown/appkit-wallet": "1.0.6",
|
|
23
|
+
"@reown/appkit-core": "1.0.6"
|
|
24
24
|
},
|
|
25
25
|
"author": "Reown <support@reown.com> (https://reown.com)",
|
|
26
26
|
"license": "Apache-2.0",
|