@tuwaio/nova-connect 0.2.7 → 0.2.9
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/README.md +3 -3
- package/dist/chunk-MGBN4EIT.cjs +1 -0
- package/dist/chunk-NQ5AECZQ.js +1 -0
- package/dist/chunk-U2HKJB6D.cjs +2 -0
- package/dist/{chunk-YDPI5PAY.cjs → chunk-V3D3HT6N.cjs} +1 -1
- package/dist/{chunk-YO3PXLI4.js → chunk-XA3DA6RA.js} +1 -1
- package/dist/chunk-YXB45D7C.js +2 -0
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +7 -205
- package/dist/components/index.d.ts +7 -205
- package/dist/components/index.js +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.d.cts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.js +1 -1
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.d.cts +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/{ToastError-BF4F8oo-.d.cts → index-B9pJ-IAo.d.cts} +1273 -318
- package/dist/{ToastError-Bw3Amqzv.d.ts → index-BkbAcDWt.d.ts} +1273 -318
- package/dist/index.cjs +1 -1
- package/dist/index.css +135 -37
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +1 -1
- package/dist/{types-eao2UQcC.d.cts → types-DxUn8qmU.d.cts} +4 -0
- package/dist/{types-eao2UQcC.d.ts → types-DxUn8qmU.d.ts} +4 -0
- package/dist/{useWalletNativeBalance-B4hY45fG.d.ts → useWalletNativeBalance-DR8XONYI.d.ts} +10 -2
- package/dist/{useWalletNativeBalance-BvBbDXMS.d.cts → useWalletNativeBalance-rZ2GQ88f.d.cts} +10 -2
- package/package.json +23 -18
- package/dist/chunk-D2JEJG2A.cjs +0 -5
- package/dist/chunk-LXZIVQLW.js +0 -5
- package/dist/chunk-T6H7HGCM.js +0 -1
- package/dist/chunk-WTDBHPAK.cjs +0 -1
|
@@ -1,210 +1,12 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import React__default, { ComponentType } from 'react';
|
|
3
|
-
import '@tuwaio/nova-core';
|
|
1
|
+
export { a1 as AboutWallets, $ as AboutWalletsCustomization, a0 as AboutWalletsProps, aC as AnimationConfig, aH as BadgeAnimationConfig, aI as BadgeGradientConfig, B as BalanceData, f as BalanceDisplay, d as BalanceDisplayCustomization, b as BalanceDisplayLabels, e as BalanceDisplayProps, c as BalanceValueProps, i as ChainListRenderer, g as ChainListRendererCustomization, h as ChainListRendererProps, m as ChainSelector, k as ChainSelectorCustomization, l as ChainSelectorProps, j as ChainTriggerButtonCustomization, s as ConnectButton, q as ConnectButtonCustomization, p as ConnectButtonData, r as ConnectButtonProps, a5 as ConnectCard, a4 as ConnectCardCustomization, a2 as ConnectCardData, v as ConnectedContent, t as ConnectedContentCustomization, u as ConnectedContentProps, F as ConnectedModal, a as ConnectedModalCustomization, I as ConnectedModalFooter, G as ConnectedModalFooterCustomization, H as ConnectedModalFooterProps, M as ConnectedModalMainContent, J as ConnectedModalMainContentCustomization, K as ConnectedModalMainContentProps, P as ConnectedModalNameAndBalance, N as ConnectedModalNameAndBalanceCustomization, O as ConnectedModalNameAndBalanceProps, D as ConnectedModalProps, X as ConnectedModalTxHistory, U as ConnectedModalTxHistoryCustomization, V as ConnectedModalTxHistoryProps, aa as Connecting, a8 as ConnectingCustomization, a9 as ConnectingProps, a7 as ConnectingStatusData, a6 as ConnectionState, ac as ConnectorItemData, ae as ConnectorsBlock, ad as ConnectorsBlockCustomization, ab as ConnectorsBlockData, aj as ConnectorsSelections, ah as ConnectorsSelectionsCustomization, af as ConnectorsSelectionsData, ai as ConnectorsSelectionsProps, am as Disclaimer, ak as DisclaimerCustomization, al as DisclaimerProps, E as EmptyStateProps, aq as GetWallet, ao as GetWalletCustomization, ap as GetWalletProps, _ as IconButton, Y as IconButtonCustomization, Z as IconButtonProps, au as ImpersonateForm, as as ImpersonateFormCustomization, at as ImpersonateFormProps, ag as ImpersonateSectionData, ay as LegalDisclaimer, aw as LegalDisclaimerCustomization, av as LegalDisclaimerData, ax as LegalDisclaimerProps, L as LoadingStateProps, Q as LocalTransactionsHistoryCustomization, a3 as NetworkIconsCustomization, aB as NetworkSelections, aA as NetworkSelectionsCustomization, az as NetworkSelectionsData, aD as NetworkTabData, aG as NetworkTabs, aE as NetworkTabsCustomization, aF as NetworkTabsProps, aL as RecentBadge, aJ as RecentBadgeCustomization, aK as RecentBadgeProps, R as RefreshButtonProps, o as ScrollableChainList, S as ScrollableChainListCustomization, n as ScrollableChainListProps, aN as SelectContentAnimated, aM as SelectContentAnimatedProps, y as StatusIcon, w as StatusIconCustomization, x as StatusIconProps, aS as ToBottomButton, aQ as ToBottomButtonCustomization, aR as ToBottomButtonProps, aV as ToTopButton, aT as ToTopButtonCustomization, aU as ToTopButtonProps, aP as ToastError, T as ToastErrorCustomization, aO as ToastErrorProps, ar as ValidationConfig, A as WaitForConnectionContent, W as WaitForConnectionContentCustomization, z as WaitForConnectionContentProps, aZ as WalletAvatar, aX as WalletAvatarCustomization, aY as WalletAvatarProps, aW as WalletAvatarSize, b0 as WalletIcon, an as WalletIconConfig, a_ as WalletIconCustomization, a$ as WalletIconProps } from '../index-B9pJ-IAo.cjs';
|
|
4
2
|
import 'framer-motion';
|
|
5
|
-
import '
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import '@radix-ui/react-select';
|
|
6
|
+
import '../useWalletNativeBalance-rZ2GQ88f.cjs';
|
|
6
7
|
import '@tuwaio/orbit-core';
|
|
7
8
|
import '@tuwaio/pulsar-core';
|
|
8
|
-
import '../types-
|
|
9
|
+
import '../types-DxUn8qmU.cjs';
|
|
9
10
|
import '@tuwaio/satellite-core';
|
|
10
|
-
import '
|
|
11
|
-
import '@radix-ui/react-select';
|
|
11
|
+
import '@tuwaio/nova-core';
|
|
12
12
|
import '@tuwaio/satellite-react';
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @file RecentBadge component with comprehensive customization options and animated gradient border.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Animation configuration for the gradient border effect
|
|
20
|
-
*/
|
|
21
|
-
interface BadgeAnimationConfig {
|
|
22
|
-
/** Animation duration in seconds */
|
|
23
|
-
duration: number;
|
|
24
|
-
/** Animation easing function - using valid framer-motion easing values */
|
|
25
|
-
ease: 'linear' | 'easeIn' | 'easeOut' | 'easeInOut' | 'circIn' | 'circOut' | 'circInOut' | 'backIn' | 'backOut' | 'backInOut' | 'anticipate';
|
|
26
|
-
/** Whether animation should repeat infinitely */
|
|
27
|
-
repeat: boolean;
|
|
28
|
-
/** Initial background position */
|
|
29
|
-
initialPosition: string;
|
|
30
|
-
/** Final background position */
|
|
31
|
-
finalPosition: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Gradient configuration for the border effect
|
|
35
|
-
*/
|
|
36
|
-
interface BadgeGradientConfig {
|
|
37
|
-
/** Direction of the gradient (e.g., '90deg', '45deg') */
|
|
38
|
-
direction: string;
|
|
39
|
-
/** Color stops for the gradient */
|
|
40
|
-
stops: Array<{
|
|
41
|
-
/** Position percentage (0-100) */
|
|
42
|
-
position: number;
|
|
43
|
-
/** Color value (CSS color, CSS variable, or rgba) */
|
|
44
|
-
color: string;
|
|
45
|
-
}>;
|
|
46
|
-
/** Background size for animation effect */
|
|
47
|
-
backgroundSize: string;
|
|
48
|
-
}
|
|
49
|
-
type ContainerProps = {
|
|
50
|
-
className?: string;
|
|
51
|
-
children: React__default.ReactNode;
|
|
52
|
-
role?: string;
|
|
53
|
-
'aria-label'?: string;
|
|
54
|
-
} & React__default.RefAttributes<HTMLSpanElement>;
|
|
55
|
-
type AnimatedGradientProps = {
|
|
56
|
-
className?: string;
|
|
57
|
-
animated: boolean;
|
|
58
|
-
animationConfig: BadgeAnimationConfig;
|
|
59
|
-
gradientConfig: BadgeGradientConfig;
|
|
60
|
-
};
|
|
61
|
-
type BackgroundOverlayProps = {
|
|
62
|
-
className?: string;
|
|
63
|
-
};
|
|
64
|
-
type ContentProps = {
|
|
65
|
-
className?: string;
|
|
66
|
-
children: React__default.ReactNode;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Customization options for RecentBadge component
|
|
70
|
-
*/
|
|
71
|
-
type RecentBadgeCustomization = {
|
|
72
|
-
/** Custom components */
|
|
73
|
-
components?: {
|
|
74
|
-
/** Custom container wrapper */
|
|
75
|
-
Container?: ComponentType<ContainerProps>;
|
|
76
|
-
/** Custom animated gradient component */
|
|
77
|
-
AnimatedGradient?: ComponentType<AnimatedGradientProps>;
|
|
78
|
-
/** Custom background overlay */
|
|
79
|
-
BackgroundOverlay?: ComponentType<BackgroundOverlayProps>;
|
|
80
|
-
/** Custom content wrapper */
|
|
81
|
-
Content?: ComponentType<ContentProps>;
|
|
82
|
-
};
|
|
83
|
-
/** Custom class name generators */
|
|
84
|
-
classNames?: {
|
|
85
|
-
/** Function to generate container classes */
|
|
86
|
-
container?: (params: {
|
|
87
|
-
isTouch: boolean;
|
|
88
|
-
animated: boolean;
|
|
89
|
-
}) => string;
|
|
90
|
-
/** Function to generate animated gradient classes */
|
|
91
|
-
animatedGradient?: () => string;
|
|
92
|
-
/** Function to generate background overlay classes */
|
|
93
|
-
backgroundOverlay?: () => string;
|
|
94
|
-
/** Function to generate content classes */
|
|
95
|
-
content?: () => string;
|
|
96
|
-
};
|
|
97
|
-
/** Custom event handlers */
|
|
98
|
-
handlers?: {
|
|
99
|
-
/** Custom handler for animation start */
|
|
100
|
-
onAnimationStart?: () => void;
|
|
101
|
-
/** Custom handler for animation complete */
|
|
102
|
-
onAnimationComplete?: () => void;
|
|
103
|
-
/** Custom handler for component mount */
|
|
104
|
-
onMount?: () => void;
|
|
105
|
-
/** Custom handler for component unmount */
|
|
106
|
-
onUnmount?: () => void;
|
|
107
|
-
};
|
|
108
|
-
/** Configuration options */
|
|
109
|
-
config?: {
|
|
110
|
-
/** Custom animation configuration */
|
|
111
|
-
animation?: Partial<BadgeAnimationConfig>;
|
|
112
|
-
/** Custom gradient configuration */
|
|
113
|
-
gradient?: Partial<BadgeGradientConfig>;
|
|
114
|
-
/** Custom ARIA labels */
|
|
115
|
-
ariaLabels?: {
|
|
116
|
-
container?: string;
|
|
117
|
-
};
|
|
118
|
-
/** Touch device detection override */
|
|
119
|
-
touchDevice?: boolean;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Props for the RecentBadge component
|
|
124
|
-
*/
|
|
125
|
-
interface RecentBadgeProps {
|
|
126
|
-
/** Custom CSS classes for styling the container */
|
|
127
|
-
className?: string;
|
|
128
|
-
/** Content to display inside the badge */
|
|
129
|
-
children?: React__default.ReactNode;
|
|
130
|
-
/** Whether the gradient animation should be enabled */
|
|
131
|
-
animated?: boolean;
|
|
132
|
-
/** Custom ARIA label for accessibility */
|
|
133
|
-
'aria-label'?: string;
|
|
134
|
-
/** Customization options */
|
|
135
|
-
customization?: RecentBadgeCustomization;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Badge component with animated gradient border effect and comprehensive customization
|
|
139
|
-
*
|
|
140
|
-
* This component provides a visually appealing badge with:
|
|
141
|
-
* - Animated gradient border effect with customizable timing and colors
|
|
142
|
-
* - Touch-device responsive sizing for optimal mobile experience
|
|
143
|
-
* - Full accessibility support with proper ARIA labeling
|
|
144
|
-
* - Performance optimizations with memoized calculations
|
|
145
|
-
* - Customizable animations and gradient configurations
|
|
146
|
-
* - Full customization of all child components
|
|
147
|
-
* - Proper semantic HTML structure
|
|
148
|
-
*
|
|
149
|
-
* Visual features:
|
|
150
|
-
* - Smooth animated gradient border effect
|
|
151
|
-
* - Touch-responsive sizing (smaller on touch devices)
|
|
152
|
-
* - Customizable gradient colors and direction
|
|
153
|
-
* - Configurable animation timing and easing
|
|
154
|
-
* - Proper z-index layering for visual effects
|
|
155
|
-
*
|
|
156
|
-
* Accessibility features:
|
|
157
|
-
* - Proper ARIA role and labels
|
|
158
|
-
* - Screen reader friendly content structure
|
|
159
|
-
* - Semantic HTML with appropriate roles
|
|
160
|
-
* - Motion reduction respect (can be controlled via customization)
|
|
161
|
-
*
|
|
162
|
-
* @example Basic usage
|
|
163
|
-
* ```tsx
|
|
164
|
-
* <RecentBadge>Recent</RecentBadge>
|
|
165
|
-
* ```
|
|
166
|
-
*
|
|
167
|
-
* @example With custom animation
|
|
168
|
-
* ```tsx
|
|
169
|
-
* <RecentBadge
|
|
170
|
-
* animated={false}
|
|
171
|
-
* customization={{
|
|
172
|
-
* config: {
|
|
173
|
-
* animation: {
|
|
174
|
-
* duration: 2,
|
|
175
|
-
* ease: 'easeInOut'
|
|
176
|
-
* }
|
|
177
|
-
* }
|
|
178
|
-
* }}
|
|
179
|
-
* >
|
|
180
|
-
* Custom
|
|
181
|
-
* </RecentBadge>
|
|
182
|
-
* ```
|
|
183
|
-
*
|
|
184
|
-
* @example With full customization
|
|
185
|
-
* ```tsx
|
|
186
|
-
* <RecentBadge
|
|
187
|
-
* customization={{
|
|
188
|
-
* components: {
|
|
189
|
-
* AnimatedGradient: CustomGradient,
|
|
190
|
-
* Content: CustomContent
|
|
191
|
-
* },
|
|
192
|
-
* config: {
|
|
193
|
-
* gradient: {
|
|
194
|
-
* direction: '45deg',
|
|
195
|
-
* stops: [
|
|
196
|
-
* { position: 0, color: 'transparent' },
|
|
197
|
-
* { position: 50, color: 'rgba(59, 130, 246, 0.8)' },
|
|
198
|
-
* { position: 100, color: 'transparent' }
|
|
199
|
-
* ]
|
|
200
|
-
* }
|
|
201
|
-
* }
|
|
202
|
-
* }}
|
|
203
|
-
* >
|
|
204
|
-
* Premium
|
|
205
|
-
* </RecentBadge>
|
|
206
|
-
* ```
|
|
207
|
-
*/
|
|
208
|
-
declare const RecentBadge: React__default.NamedExoticComponent<RecentBadgeProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
209
|
-
|
|
210
|
-
export { type BadgeAnimationConfig, type BadgeGradientConfig, RecentBadge, type RecentBadgeCustomization, type RecentBadgeProps };
|
|
@@ -1,210 +1,12 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import React__default, { ComponentType } from 'react';
|
|
3
|
-
import '@tuwaio/nova-core';
|
|
1
|
+
export { a1 as AboutWallets, $ as AboutWalletsCustomization, a0 as AboutWalletsProps, aC as AnimationConfig, aH as BadgeAnimationConfig, aI as BadgeGradientConfig, B as BalanceData, f as BalanceDisplay, d as BalanceDisplayCustomization, b as BalanceDisplayLabels, e as BalanceDisplayProps, c as BalanceValueProps, i as ChainListRenderer, g as ChainListRendererCustomization, h as ChainListRendererProps, m as ChainSelector, k as ChainSelectorCustomization, l as ChainSelectorProps, j as ChainTriggerButtonCustomization, s as ConnectButton, q as ConnectButtonCustomization, p as ConnectButtonData, r as ConnectButtonProps, a5 as ConnectCard, a4 as ConnectCardCustomization, a2 as ConnectCardData, v as ConnectedContent, t as ConnectedContentCustomization, u as ConnectedContentProps, F as ConnectedModal, a as ConnectedModalCustomization, I as ConnectedModalFooter, G as ConnectedModalFooterCustomization, H as ConnectedModalFooterProps, M as ConnectedModalMainContent, J as ConnectedModalMainContentCustomization, K as ConnectedModalMainContentProps, P as ConnectedModalNameAndBalance, N as ConnectedModalNameAndBalanceCustomization, O as ConnectedModalNameAndBalanceProps, D as ConnectedModalProps, X as ConnectedModalTxHistory, U as ConnectedModalTxHistoryCustomization, V as ConnectedModalTxHistoryProps, aa as Connecting, a8 as ConnectingCustomization, a9 as ConnectingProps, a7 as ConnectingStatusData, a6 as ConnectionState, ac as ConnectorItemData, ae as ConnectorsBlock, ad as ConnectorsBlockCustomization, ab as ConnectorsBlockData, aj as ConnectorsSelections, ah as ConnectorsSelectionsCustomization, af as ConnectorsSelectionsData, ai as ConnectorsSelectionsProps, am as Disclaimer, ak as DisclaimerCustomization, al as DisclaimerProps, E as EmptyStateProps, aq as GetWallet, ao as GetWalletCustomization, ap as GetWalletProps, _ as IconButton, Y as IconButtonCustomization, Z as IconButtonProps, au as ImpersonateForm, as as ImpersonateFormCustomization, at as ImpersonateFormProps, ag as ImpersonateSectionData, ay as LegalDisclaimer, aw as LegalDisclaimerCustomization, av as LegalDisclaimerData, ax as LegalDisclaimerProps, L as LoadingStateProps, Q as LocalTransactionsHistoryCustomization, a3 as NetworkIconsCustomization, aB as NetworkSelections, aA as NetworkSelectionsCustomization, az as NetworkSelectionsData, aD as NetworkTabData, aG as NetworkTabs, aE as NetworkTabsCustomization, aF as NetworkTabsProps, aL as RecentBadge, aJ as RecentBadgeCustomization, aK as RecentBadgeProps, R as RefreshButtonProps, o as ScrollableChainList, S as ScrollableChainListCustomization, n as ScrollableChainListProps, aN as SelectContentAnimated, aM as SelectContentAnimatedProps, y as StatusIcon, w as StatusIconCustomization, x as StatusIconProps, aS as ToBottomButton, aQ as ToBottomButtonCustomization, aR as ToBottomButtonProps, aV as ToTopButton, aT as ToTopButtonCustomization, aU as ToTopButtonProps, aP as ToastError, T as ToastErrorCustomization, aO as ToastErrorProps, ar as ValidationConfig, A as WaitForConnectionContent, W as WaitForConnectionContentCustomization, z as WaitForConnectionContentProps, aZ as WalletAvatar, aX as WalletAvatarCustomization, aY as WalletAvatarProps, aW as WalletAvatarSize, b0 as WalletIcon, an as WalletIconConfig, a_ as WalletIconCustomization, a$ as WalletIconProps } from '../index-BkbAcDWt.js';
|
|
4
2
|
import 'framer-motion';
|
|
5
|
-
import '
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import '@radix-ui/react-select';
|
|
6
|
+
import '../useWalletNativeBalance-DR8XONYI.js';
|
|
6
7
|
import '@tuwaio/orbit-core';
|
|
7
8
|
import '@tuwaio/pulsar-core';
|
|
8
|
-
import '../types-
|
|
9
|
+
import '../types-DxUn8qmU.js';
|
|
9
10
|
import '@tuwaio/satellite-core';
|
|
10
|
-
import '
|
|
11
|
-
import '@radix-ui/react-select';
|
|
11
|
+
import '@tuwaio/nova-core';
|
|
12
12
|
import '@tuwaio/satellite-react';
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @file RecentBadge component with comprehensive customization options and animated gradient border.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Animation configuration for the gradient border effect
|
|
20
|
-
*/
|
|
21
|
-
interface BadgeAnimationConfig {
|
|
22
|
-
/** Animation duration in seconds */
|
|
23
|
-
duration: number;
|
|
24
|
-
/** Animation easing function - using valid framer-motion easing values */
|
|
25
|
-
ease: 'linear' | 'easeIn' | 'easeOut' | 'easeInOut' | 'circIn' | 'circOut' | 'circInOut' | 'backIn' | 'backOut' | 'backInOut' | 'anticipate';
|
|
26
|
-
/** Whether animation should repeat infinitely */
|
|
27
|
-
repeat: boolean;
|
|
28
|
-
/** Initial background position */
|
|
29
|
-
initialPosition: string;
|
|
30
|
-
/** Final background position */
|
|
31
|
-
finalPosition: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Gradient configuration for the border effect
|
|
35
|
-
*/
|
|
36
|
-
interface BadgeGradientConfig {
|
|
37
|
-
/** Direction of the gradient (e.g., '90deg', '45deg') */
|
|
38
|
-
direction: string;
|
|
39
|
-
/** Color stops for the gradient */
|
|
40
|
-
stops: Array<{
|
|
41
|
-
/** Position percentage (0-100) */
|
|
42
|
-
position: number;
|
|
43
|
-
/** Color value (CSS color, CSS variable, or rgba) */
|
|
44
|
-
color: string;
|
|
45
|
-
}>;
|
|
46
|
-
/** Background size for animation effect */
|
|
47
|
-
backgroundSize: string;
|
|
48
|
-
}
|
|
49
|
-
type ContainerProps = {
|
|
50
|
-
className?: string;
|
|
51
|
-
children: React__default.ReactNode;
|
|
52
|
-
role?: string;
|
|
53
|
-
'aria-label'?: string;
|
|
54
|
-
} & React__default.RefAttributes<HTMLSpanElement>;
|
|
55
|
-
type AnimatedGradientProps = {
|
|
56
|
-
className?: string;
|
|
57
|
-
animated: boolean;
|
|
58
|
-
animationConfig: BadgeAnimationConfig;
|
|
59
|
-
gradientConfig: BadgeGradientConfig;
|
|
60
|
-
};
|
|
61
|
-
type BackgroundOverlayProps = {
|
|
62
|
-
className?: string;
|
|
63
|
-
};
|
|
64
|
-
type ContentProps = {
|
|
65
|
-
className?: string;
|
|
66
|
-
children: React__default.ReactNode;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Customization options for RecentBadge component
|
|
70
|
-
*/
|
|
71
|
-
type RecentBadgeCustomization = {
|
|
72
|
-
/** Custom components */
|
|
73
|
-
components?: {
|
|
74
|
-
/** Custom container wrapper */
|
|
75
|
-
Container?: ComponentType<ContainerProps>;
|
|
76
|
-
/** Custom animated gradient component */
|
|
77
|
-
AnimatedGradient?: ComponentType<AnimatedGradientProps>;
|
|
78
|
-
/** Custom background overlay */
|
|
79
|
-
BackgroundOverlay?: ComponentType<BackgroundOverlayProps>;
|
|
80
|
-
/** Custom content wrapper */
|
|
81
|
-
Content?: ComponentType<ContentProps>;
|
|
82
|
-
};
|
|
83
|
-
/** Custom class name generators */
|
|
84
|
-
classNames?: {
|
|
85
|
-
/** Function to generate container classes */
|
|
86
|
-
container?: (params: {
|
|
87
|
-
isTouch: boolean;
|
|
88
|
-
animated: boolean;
|
|
89
|
-
}) => string;
|
|
90
|
-
/** Function to generate animated gradient classes */
|
|
91
|
-
animatedGradient?: () => string;
|
|
92
|
-
/** Function to generate background overlay classes */
|
|
93
|
-
backgroundOverlay?: () => string;
|
|
94
|
-
/** Function to generate content classes */
|
|
95
|
-
content?: () => string;
|
|
96
|
-
};
|
|
97
|
-
/** Custom event handlers */
|
|
98
|
-
handlers?: {
|
|
99
|
-
/** Custom handler for animation start */
|
|
100
|
-
onAnimationStart?: () => void;
|
|
101
|
-
/** Custom handler for animation complete */
|
|
102
|
-
onAnimationComplete?: () => void;
|
|
103
|
-
/** Custom handler for component mount */
|
|
104
|
-
onMount?: () => void;
|
|
105
|
-
/** Custom handler for component unmount */
|
|
106
|
-
onUnmount?: () => void;
|
|
107
|
-
};
|
|
108
|
-
/** Configuration options */
|
|
109
|
-
config?: {
|
|
110
|
-
/** Custom animation configuration */
|
|
111
|
-
animation?: Partial<BadgeAnimationConfig>;
|
|
112
|
-
/** Custom gradient configuration */
|
|
113
|
-
gradient?: Partial<BadgeGradientConfig>;
|
|
114
|
-
/** Custom ARIA labels */
|
|
115
|
-
ariaLabels?: {
|
|
116
|
-
container?: string;
|
|
117
|
-
};
|
|
118
|
-
/** Touch device detection override */
|
|
119
|
-
touchDevice?: boolean;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Props for the RecentBadge component
|
|
124
|
-
*/
|
|
125
|
-
interface RecentBadgeProps {
|
|
126
|
-
/** Custom CSS classes for styling the container */
|
|
127
|
-
className?: string;
|
|
128
|
-
/** Content to display inside the badge */
|
|
129
|
-
children?: React__default.ReactNode;
|
|
130
|
-
/** Whether the gradient animation should be enabled */
|
|
131
|
-
animated?: boolean;
|
|
132
|
-
/** Custom ARIA label for accessibility */
|
|
133
|
-
'aria-label'?: string;
|
|
134
|
-
/** Customization options */
|
|
135
|
-
customization?: RecentBadgeCustomization;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Badge component with animated gradient border effect and comprehensive customization
|
|
139
|
-
*
|
|
140
|
-
* This component provides a visually appealing badge with:
|
|
141
|
-
* - Animated gradient border effect with customizable timing and colors
|
|
142
|
-
* - Touch-device responsive sizing for optimal mobile experience
|
|
143
|
-
* - Full accessibility support with proper ARIA labeling
|
|
144
|
-
* - Performance optimizations with memoized calculations
|
|
145
|
-
* - Customizable animations and gradient configurations
|
|
146
|
-
* - Full customization of all child components
|
|
147
|
-
* - Proper semantic HTML structure
|
|
148
|
-
*
|
|
149
|
-
* Visual features:
|
|
150
|
-
* - Smooth animated gradient border effect
|
|
151
|
-
* - Touch-responsive sizing (smaller on touch devices)
|
|
152
|
-
* - Customizable gradient colors and direction
|
|
153
|
-
* - Configurable animation timing and easing
|
|
154
|
-
* - Proper z-index layering for visual effects
|
|
155
|
-
*
|
|
156
|
-
* Accessibility features:
|
|
157
|
-
* - Proper ARIA role and labels
|
|
158
|
-
* - Screen reader friendly content structure
|
|
159
|
-
* - Semantic HTML with appropriate roles
|
|
160
|
-
* - Motion reduction respect (can be controlled via customization)
|
|
161
|
-
*
|
|
162
|
-
* @example Basic usage
|
|
163
|
-
* ```tsx
|
|
164
|
-
* <RecentBadge>Recent</RecentBadge>
|
|
165
|
-
* ```
|
|
166
|
-
*
|
|
167
|
-
* @example With custom animation
|
|
168
|
-
* ```tsx
|
|
169
|
-
* <RecentBadge
|
|
170
|
-
* animated={false}
|
|
171
|
-
* customization={{
|
|
172
|
-
* config: {
|
|
173
|
-
* animation: {
|
|
174
|
-
* duration: 2,
|
|
175
|
-
* ease: 'easeInOut'
|
|
176
|
-
* }
|
|
177
|
-
* }
|
|
178
|
-
* }}
|
|
179
|
-
* >
|
|
180
|
-
* Custom
|
|
181
|
-
* </RecentBadge>
|
|
182
|
-
* ```
|
|
183
|
-
*
|
|
184
|
-
* @example With full customization
|
|
185
|
-
* ```tsx
|
|
186
|
-
* <RecentBadge
|
|
187
|
-
* customization={{
|
|
188
|
-
* components: {
|
|
189
|
-
* AnimatedGradient: CustomGradient,
|
|
190
|
-
* Content: CustomContent
|
|
191
|
-
* },
|
|
192
|
-
* config: {
|
|
193
|
-
* gradient: {
|
|
194
|
-
* direction: '45deg',
|
|
195
|
-
* stops: [
|
|
196
|
-
* { position: 0, color: 'transparent' },
|
|
197
|
-
* { position: 50, color: 'rgba(59, 130, 246, 0.8)' },
|
|
198
|
-
* { position: 100, color: 'transparent' }
|
|
199
|
-
* ]
|
|
200
|
-
* }
|
|
201
|
-
* }
|
|
202
|
-
* }}
|
|
203
|
-
* >
|
|
204
|
-
* Premium
|
|
205
|
-
* </RecentBadge>
|
|
206
|
-
* ```
|
|
207
|
-
*/
|
|
208
|
-
declare const RecentBadge: React__default.NamedExoticComponent<RecentBadgeProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
209
|
-
|
|
210
|
-
export { type BadgeAnimationConfig, type BadgeGradientConfig, RecentBadge, type RecentBadgeCustomization, type RecentBadgeProps };
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{t as AboutWallets,a as BalanceDisplay,b as ChainListRenderer,g as ChainSelector,l as ConnectButton,v as ConnectCard,j as ConnectedContent,s as ConnectedModal,m as ConnectedModalFooter,q as ConnectedModalMainContent,n as ConnectedModalNameAndBalance,r as ConnectedModalTxHistory,w as Connecting,x as ConnectorsBlock,z as ConnectorsSelections,y as Disclaimer,A as GetWallet,p as IconButton,B as ImpersonateForm,C as LegalDisclaimer,D as NetworkSelections,E as NetworkTabs,u as RecentBadge,f as ScrollableChainList,e as SelectContentAnimated,i as StatusIcon,c as ToBottomButton,d as ToTopButton,F as ToastError,k as WaitForConnectionContent,h as WalletAvatar,o as WalletIcon}from'../chunk-YXB45D7C.js';import'../chunk-XA3DA6RA.js';import'../chunk-S3IRVZMG.js';import'../chunk-NQ5AECZQ.js';import'../chunk-S3RQJGCL.js';
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkV3D3HT6N_cjs=require('../chunk-V3D3HT6N.cjs');require('../chunk-K44IHM6B.cjs'),require('../chunk-MGBN4EIT.cjs'),require('../chunk-2SFIZVDC.cjs');Object.defineProperty(exports,"NovaConnectLabelsContext",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.g}});Object.defineProperty(exports,"NovaConnectProviderContext",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.c}});Object.defineProperty(exports,"NovaConnectProviderError",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.b}});Object.defineProperty(exports,"createLabelsSubset",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.o}});Object.defineProperty(exports,"getLabelWithFallback",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.n}});Object.defineProperty(exports,"hasLabel",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.k}});Object.defineProperty(exports,"isDefaultLabels",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.m}});Object.defineProperty(exports,"useGetWalletNameAndAvatar",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.a}});Object.defineProperty(exports,"useHasNovaConnectContext",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.e}});Object.defineProperty(exports,"useLabelsByCategory",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.l}});Object.defineProperty(exports,"useNovaConnect",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.d}});Object.defineProperty(exports,"useNovaConnectLabel",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.i}});Object.defineProperty(exports,"useNovaConnectLabels",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.h}});Object.defineProperty(exports,"useNovaConnectLabelsSubset",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.j}});Object.defineProperty(exports,"useNovaConnectOptional",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.f}});Object.defineProperty(exports,"useWalletChainsList",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.x}});Object.defineProperty(exports,"useWalletNativeBalance",{enumerable:true,get:function(){return chunkV3D3HT6N_cjs.y}});
|
package/dist/hooks/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { I as InitialChains } from '../useWalletNativeBalance-
|
|
2
|
-
export { B as ButtonTxStatus, C as ConnectContentType, a as ConnectedContentType,
|
|
1
|
+
import { I as InitialChains } from '../useWalletNativeBalance-rZ2GQ88f.cjs';
|
|
2
|
+
export { B as ButtonTxStatus, C as ConnectContentType, a as ConnectedContentType, l as LabelCategory, L as LegalConfig, q as NativeBalanceResult, g as NovaConnectLabelsContext, d as NovaConnectProviderContext, c as NovaConnectProviderError, b as NovaConnectProviderProps, N as NovaConnectProviderType, W as WalletBalance, p as createLabelsSubset, o as getLabelWithFallback, k as hasLabel, n as isDefaultLabels, e as useHasNovaConnectContext, m as useLabelsByCategory, u as useNovaConnect, i as useNovaConnectLabel, h as useNovaConnectLabels, j as useNovaConnectLabelsSubset, f as useNovaConnectOptional, r as useWalletNativeBalance } from '../useWalletNativeBalance-rZ2GQ88f.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@tuwaio/orbit-core';
|
|
5
5
|
import '@tuwaio/pulsar-core';
|
|
6
|
-
import '../types-
|
|
6
|
+
import '../types-DxUn8qmU.cjs';
|
|
7
7
|
|
|
8
8
|
interface WalletNameAndAvatarData {
|
|
9
9
|
/** The resolved name from the Name Service (e.g., ENS, like "alice.eth"), or null if not found. */
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { I as InitialChains } from '../useWalletNativeBalance-
|
|
2
|
-
export { B as ButtonTxStatus, C as ConnectContentType, a as ConnectedContentType,
|
|
1
|
+
import { I as InitialChains } from '../useWalletNativeBalance-DR8XONYI.js';
|
|
2
|
+
export { B as ButtonTxStatus, C as ConnectContentType, a as ConnectedContentType, l as LabelCategory, L as LegalConfig, q as NativeBalanceResult, g as NovaConnectLabelsContext, d as NovaConnectProviderContext, c as NovaConnectProviderError, b as NovaConnectProviderProps, N as NovaConnectProviderType, W as WalletBalance, p as createLabelsSubset, o as getLabelWithFallback, k as hasLabel, n as isDefaultLabels, e as useHasNovaConnectContext, m as useLabelsByCategory, u as useNovaConnect, i as useNovaConnectLabel, h as useNovaConnectLabels, j as useNovaConnectLabelsSubset, f as useNovaConnectOptional, r as useWalletNativeBalance } from '../useWalletNativeBalance-DR8XONYI.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@tuwaio/orbit-core';
|
|
5
5
|
import '@tuwaio/pulsar-core';
|
|
6
|
-
import '../types-
|
|
6
|
+
import '../types-DxUn8qmU.js';
|
|
7
7
|
|
|
8
8
|
interface WalletNameAndAvatarData {
|
|
9
9
|
/** The resolved name from the Name Service (e.g., ENS, like "alice.eth"), or null if not found. */
|
package/dist/hooks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as NovaConnectLabelsContext,c as NovaConnectProviderContext,b as NovaConnectProviderError,o as createLabelsSubset,n as getLabelWithFallback,k as hasLabel,m as isDefaultLabels,a as useGetWalletNameAndAvatar,e as useHasNovaConnectContext,l as useLabelsByCategory,d as useNovaConnect,i as useNovaConnectLabel,h as useNovaConnectLabels,j as useNovaConnectLabelsSubset,f as useNovaConnectOptional,x as useWalletChainsList,y as useWalletNativeBalance}from'../chunk-
|
|
1
|
+
export{g as NovaConnectLabelsContext,c as NovaConnectProviderContext,b as NovaConnectProviderError,o as createLabelsSubset,n as getLabelWithFallback,k as hasLabel,m as isDefaultLabels,a as useGetWalletNameAndAvatar,e as useHasNovaConnectContext,l as useLabelsByCategory,d as useNovaConnect,i as useNovaConnectLabel,h as useNovaConnectLabels,j as useNovaConnectLabelsSubset,f as useNovaConnectOptional,x as useWalletChainsList,y as useWalletNativeBalance}from'../chunk-XA3DA6RA.js';import'../chunk-S3IRVZMG.js';import'../chunk-NQ5AECZQ.js';import'../chunk-S3RQJGCL.js';
|
package/dist/i18n/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkMGBN4EIT_cjs=require('../chunk-MGBN4EIT.cjs');Object.defineProperty(exports,"defaultLabels",{enumerable:true,get:function(){return chunkMGBN4EIT_cjs.a}});Object.defineProperty(exports,"ukrainianLabels",{enumerable:true,get:function(){return chunkMGBN4EIT_cjs.b}});
|
package/dist/i18n/index.d.cts
CHANGED
package/dist/i18n/index.d.ts
CHANGED
package/dist/i18n/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as defaultLabels,b as ukrainianLabels}from'../chunk-
|
|
1
|
+
export{a as defaultLabels,b as ukrainianLabels}from'../chunk-NQ5AECZQ.js';
|