@reown/appkit-ui 1.0.4 → 1.0.5

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.
@@ -41,6 +41,7 @@ export * from './src/composites/wui-otp/index.js';
41
41
  export * from './src/composites/wui-qr-code/index.js';
42
42
  export * from './src/composites/wui-search-bar/index.js';
43
43
  export * from './src/composites/wui-snackbar/index.js';
44
+ export * from './src/composites/wui-alertbar/index.js';
44
45
  export * from './src/composites/wui-tabs/index.js';
45
46
  export * from './src/composites/wui-token-button/index.js';
46
47
  export * from './src/composites/wui-tag/index.js';
@@ -0,0 +1 @@
1
+ export declare const exclamationTriangleSvg: import("lit").TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare const infoSvg: import("lit").TemplateResult<2>;
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+ import type { ColorType, IconType } from '../../utils/TypeUtil.js';
3
+ export declare class WuiAlertBar extends LitElement {
4
+ static styles: import("lit").CSSResult[];
5
+ message: string;
6
+ backgroundColor: ColorType;
7
+ iconColor: ColorType;
8
+ icon: IconType;
9
+ render(): import("lit").TemplateResult<1>;
10
+ private onClose;
11
+ }
12
+ declare global {
13
+ interface HTMLElementTagNameMap {
14
+ 'wui-alertbar': WuiAlertBar;
15
+ }
16
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult;
2
+ export default _default;
@@ -70,6 +70,7 @@ import type { WuiPreviewItem } from '../composites/wui-preview-item/index.js';
70
70
  import type { WuiFlex } from '../layout/wui-flex/index.js';
71
71
  import type { WuiGrid } from '../layout/wui-grid/index.js';
72
72
  import type { WuiSeparator } from '../layout/wui-separator/index.js';
73
+ import type { WuiAlertBar } from '../composites/wui-alertbar/index.js';
73
74
  type CustomElement<E> = Partial<E & {
74
75
  children?: any;
75
76
  onClick: any;
@@ -133,6 +134,7 @@ declare global {
133
134
  'wui-search-bar': CustomElement<WuiSearchBar>;
134
135
  'wui-select': CustomElement<WuiSelect>;
135
136
  'wui-snackbar': CustomElement<WuiSnackbar>;
137
+ 'wui-alertbar': CustomElement<WuiAlertBar>;
136
138
  'wui-tabs': CustomElement<WuiTabs>;
137
139
  'wui-tag': CustomElement<WuiTag>;
138
140
  'wui-token-button': CustomElement<WuiTokenButton>;
@@ -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';
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';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
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.4",
22
- "@reown/appkit-wallet": "1.0.4",
23
- "@reown/appkit-core": "1.0.4"
21
+ "@reown/appkit-common": "1.0.5",
22
+ "@reown/appkit-wallet": "1.0.5",
23
+ "@reown/appkit-core": "1.0.5"
24
24
  },
25
25
  "author": "Reown <support@reown.com> (https://reown.com)",
26
26
  "license": "Apache-2.0",