@0xsquid/ui 0.3.0 → 0.4.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.
- package/dist/cjs/index.js +284 -129
- package/dist/cjs/types/components/buttons/AssetsButton.d.ts +10 -0
- package/dist/cjs/types/components/buttons/BoostButton.d.ts +1 -1
- package/dist/cjs/types/components/buttons/SettingsButton.d.ts +4 -0
- package/dist/cjs/types/components/buttons/index.d.ts +2 -1
- package/dist/cjs/types/components/controls/SettingsSlider.d.ts +5 -0
- package/dist/cjs/types/components/controls/Switch.d.ts +2 -2
- package/dist/cjs/types/components/controls/Tooltip.d.ts +4 -2
- package/dist/cjs/types/components/controls/index.d.ts +1 -0
- package/dist/cjs/types/components/icons/Arrow.d.ts +20 -0
- package/dist/cjs/types/components/icons/Clock.d.ts +8 -0
- package/dist/cjs/types/components/icons/Coins.d.ts +4 -0
- package/dist/cjs/types/components/icons/CompassRound.d.ts +8 -0
- package/dist/cjs/types/components/icons/DashboardFast.d.ts +4 -0
- package/dist/cjs/types/components/icons/DotGrid.d.ts +4 -1
- package/dist/cjs/types/components/icons/Help.d.ts +16 -0
- package/dist/cjs/types/components/icons/Infinity.d.ts +4 -0
- package/dist/cjs/types/components/icons/Lightning.d.ts +4 -0
- package/dist/cjs/types/components/icons/SquidLogo.d.ts +1 -0
- package/dist/cjs/types/components/icons/SwapStepSeparator.d.ts +1 -0
- package/dist/cjs/types/components/icons/TradingViewSteps.d.ts +4 -0
- package/dist/cjs/types/components/layout/Boost.d.ts +9 -1
- package/dist/cjs/types/components/layout/DropdownMenu.d.ts +9 -0
- package/dist/cjs/types/components/layout/Menu.d.ts +6 -2
- package/dist/cjs/types/components/layout/NavigationBar.d.ts +3 -1
- package/dist/cjs/types/components/layout/SwapProgressViewHeader.d.ts +6 -0
- package/dist/cjs/types/components/layout/SwapStepsCollapsed.d.ts +5 -0
- package/dist/cjs/types/components/layout/TokenPair.d.ts +12 -0
- package/dist/cjs/types/components/layout/index.d.ts +3 -0
- package/dist/cjs/types/components/lists/DropdownMenuItem.d.ts +3 -3
- package/dist/cjs/types/components/lists/SettingsItem.d.ts +9 -0
- package/dist/cjs/types/components/lists/SwapDetailListItem.d.ts +8 -0
- package/dist/cjs/types/components/lists/SwapStepItem.d.ts +9 -0
- package/dist/cjs/types/components/lists/index.d.ts +3 -0
- package/dist/cjs/types/components/views/ProfileView.d.ts +1 -0
- package/dist/cjs/types/components/views/SwapDetailsView.d.ts +1 -0
- package/dist/cjs/types/core/themes.d.ts +2 -0
- package/dist/cjs/types/hooks/index.d.ts +1 -0
- package/dist/cjs/types/hooks/useModal.d.ts +10 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/providers/SquidConfigProvider.d.ts +4 -2
- package/dist/cjs/types/stories/buttons/{Dropdown.stories.d.ts → AssetsButton.stories.d.ts} +3 -2
- package/dist/cjs/types/stories/buttons/SettingsButton.stories.d.ts +6 -0
- package/dist/cjs/types/stories/controls/SettingsSlider.stories.d.ts +7 -0
- package/dist/cjs/types/stories/layout/Boost.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/DropdownMenu.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/Menu.stories.d.ts +2 -0
- package/dist/cjs/types/stories/layout/NavigationBar.stories.d.ts +1 -0
- package/dist/cjs/types/stories/layout/SwapProgressView.stories.d.ts +9 -0
- package/dist/cjs/types/stories/layout/SwapProgressViewHeader.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/TokenPair.stories.d.ts +6 -0
- package/dist/cjs/types/stories/lists/SettingsItem.stories.d.ts +9 -0
- package/dist/cjs/types/stories/lists/SwapDetailListItem.stories.d.ts +7 -0
- package/dist/cjs/types/stories/lists/SwapStepItem.stories.d.ts +10 -0
- package/dist/cjs/types/stories/views/ProfileView.stories.d.ts +6 -0
- package/dist/cjs/types/stories/views/SwapDetailsView.stories.d.ts +6 -0
- package/dist/cjs/types/types/components.d.ts +11 -0
- package/dist/esm/index.js +276 -130
- package/dist/esm/types/components/buttons/AssetsButton.d.ts +10 -0
- package/dist/esm/types/components/buttons/BoostButton.d.ts +1 -1
- package/dist/esm/types/components/buttons/SettingsButton.d.ts +4 -0
- package/dist/esm/types/components/buttons/index.d.ts +2 -1
- package/dist/esm/types/components/controls/SettingsSlider.d.ts +5 -0
- package/dist/esm/types/components/controls/Switch.d.ts +2 -2
- package/dist/esm/types/components/controls/Tooltip.d.ts +4 -2
- package/dist/esm/types/components/controls/index.d.ts +1 -0
- package/dist/esm/types/components/icons/Arrow.d.ts +20 -0
- package/dist/esm/types/components/icons/Clock.d.ts +8 -0
- package/dist/esm/types/components/icons/Coins.d.ts +4 -0
- package/dist/esm/types/components/icons/CompassRound.d.ts +8 -0
- package/dist/esm/types/components/icons/DashboardFast.d.ts +4 -0
- package/dist/esm/types/components/icons/DotGrid.d.ts +4 -1
- package/dist/esm/types/components/icons/Help.d.ts +16 -0
- package/dist/esm/types/components/icons/Infinity.d.ts +4 -0
- package/dist/esm/types/components/icons/Lightning.d.ts +4 -0
- package/dist/esm/types/components/icons/SquidLogo.d.ts +1 -0
- package/dist/esm/types/components/icons/SwapStepSeparator.d.ts +1 -0
- package/dist/esm/types/components/icons/TradingViewSteps.d.ts +4 -0
- package/dist/esm/types/components/layout/Boost.d.ts +9 -1
- package/dist/esm/types/components/layout/DropdownMenu.d.ts +9 -0
- package/dist/esm/types/components/layout/Menu.d.ts +6 -2
- package/dist/esm/types/components/layout/NavigationBar.d.ts +3 -1
- package/dist/esm/types/components/layout/SwapProgressViewHeader.d.ts +6 -0
- package/dist/esm/types/components/layout/SwapStepsCollapsed.d.ts +5 -0
- package/dist/esm/types/components/layout/TokenPair.d.ts +12 -0
- package/dist/esm/types/components/layout/index.d.ts +3 -0
- package/dist/esm/types/components/lists/DropdownMenuItem.d.ts +3 -3
- package/dist/esm/types/components/lists/SettingsItem.d.ts +9 -0
- package/dist/esm/types/components/lists/SwapDetailListItem.d.ts +8 -0
- package/dist/esm/types/components/lists/SwapStepItem.d.ts +9 -0
- package/dist/esm/types/components/lists/index.d.ts +3 -0
- package/dist/esm/types/components/views/ProfileView.d.ts +1 -0
- package/dist/esm/types/components/views/SwapDetailsView.d.ts +1 -0
- package/dist/esm/types/core/themes.d.ts +2 -0
- package/dist/esm/types/hooks/index.d.ts +1 -0
- package/dist/esm/types/hooks/useModal.d.ts +10 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/providers/SquidConfigProvider.d.ts +4 -2
- package/dist/esm/types/stories/buttons/{Dropdown.stories.d.ts → AssetsButton.stories.d.ts} +3 -2
- package/dist/esm/types/stories/buttons/SettingsButton.stories.d.ts +6 -0
- package/dist/esm/types/stories/controls/SettingsSlider.stories.d.ts +7 -0
- package/dist/esm/types/stories/layout/Boost.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/DropdownMenu.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/Menu.stories.d.ts +2 -0
- package/dist/esm/types/stories/layout/NavigationBar.stories.d.ts +1 -0
- package/dist/esm/types/stories/layout/SwapProgressView.stories.d.ts +9 -0
- package/dist/esm/types/stories/layout/SwapProgressViewHeader.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/TokenPair.stories.d.ts +6 -0
- package/dist/esm/types/stories/lists/SettingsItem.stories.d.ts +9 -0
- package/dist/esm/types/stories/lists/SwapDetailListItem.stories.d.ts +7 -0
- package/dist/esm/types/stories/lists/SwapStepItem.stories.d.ts +10 -0
- package/dist/esm/types/stories/views/ProfileView.stories.d.ts +6 -0
- package/dist/esm/types/stories/views/SwapDetailsView.stories.d.ts +6 -0
- package/dist/esm/types/types/components.d.ts +11 -0
- package/dist/index.css +337 -54
- package/dist/index.d.ts +116 -23
- package/package.json +1 -1
- package/dist/cjs/types/components/buttons/Dropdown.d.ts +0 -10
- package/dist/esm/types/components/buttons/Dropdown.d.ts +0 -10
package/dist/index.d.ts
CHANGED
|
@@ -31,21 +31,41 @@ interface ArrowButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
31
31
|
}
|
|
32
32
|
declare function ArrowButton({ label, disabled, ...props }: ArrowButtonProps): react_jsx_runtime.JSX.Element;
|
|
33
33
|
|
|
34
|
+
interface AssetsButtonProps {
|
|
35
|
+
tokenImageUrl?: string;
|
|
36
|
+
chainImageUrl?: string;
|
|
37
|
+
tokenSymbol?: string;
|
|
38
|
+
chainBgColor?: string;
|
|
39
|
+
tokenBgColor?: string;
|
|
40
|
+
tokenTextColor?: string;
|
|
41
|
+
}
|
|
42
|
+
declare function AssetsButton({ chainImageUrl, tokenImageUrl, tokenSymbol, chainBgColor, tokenBgColor, tokenTextColor, }: AssetsButtonProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
34
44
|
type TextSize = 'small' | 'medium' | 'large';
|
|
35
45
|
type SwitchSize = 'small' | 'large';
|
|
36
46
|
type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
|
|
37
47
|
type ButtonSize = 'md' | 'lg';
|
|
38
48
|
type SwapDirection = 'from' | 'to';
|
|
39
49
|
type BoostMode = 'normal' | 'boost';
|
|
50
|
+
type SwapStepDescriptionBlock = {
|
|
51
|
+
type: 'string' | 'image';
|
|
52
|
+
value: string;
|
|
53
|
+
};
|
|
54
|
+
type SwapStep = {
|
|
55
|
+
descriptionBlocks: SwapStepDescriptionBlock[];
|
|
56
|
+
chipContent: React.ReactNode;
|
|
57
|
+
routeStepOrder: number;
|
|
58
|
+
};
|
|
40
59
|
declare enum DetailsToolbarState {
|
|
41
60
|
FULL = 0,
|
|
42
61
|
LOADING = 1,
|
|
43
62
|
EMPTY = 2,
|
|
44
63
|
ERROR = 3
|
|
45
64
|
}
|
|
65
|
+
type ThemeType = 'light' | 'dark';
|
|
46
66
|
|
|
47
67
|
interface BoostButtonProps {
|
|
48
|
-
boostMode
|
|
68
|
+
boostMode: BoostMode;
|
|
49
69
|
onToggleBoostMode?: ({ boostMode }: {
|
|
50
70
|
boostMode: BoostMode;
|
|
51
71
|
}) => void;
|
|
@@ -67,18 +87,13 @@ interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
67
87
|
}
|
|
68
88
|
declare function Chip({ label, icon, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
69
89
|
|
|
70
|
-
interface DropdownProps {
|
|
71
|
-
tokenImageUrl?: string;
|
|
72
|
-
chainImageUrl?: string;
|
|
73
|
-
tokenSymbol?: string;
|
|
74
|
-
chainBgColor?: string;
|
|
75
|
-
tokenBgColor?: string;
|
|
76
|
-
tokenTextColor?: string;
|
|
77
|
-
}
|
|
78
|
-
declare function Dropdown({ chainImageUrl, tokenImageUrl, tokenSymbol, chainBgColor, tokenBgColor, tokenTextColor, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
79
|
-
|
|
80
90
|
declare function FeeButton(): react_jsx_runtime.JSX.Element;
|
|
81
91
|
|
|
92
|
+
interface SettingsButtonProps {
|
|
93
|
+
label: string;
|
|
94
|
+
}
|
|
95
|
+
declare function SettingsButton({ label }: SettingsButtonProps): react_jsx_runtime.JSX.Element;
|
|
96
|
+
|
|
82
97
|
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
83
98
|
placeholder?: string;
|
|
84
99
|
showIcon?: boolean;
|
|
@@ -87,9 +102,15 @@ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
|
87
102
|
}
|
|
88
103
|
declare function Input({ placeholder, showIcon, showPasteButton, className, icon, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
89
104
|
|
|
105
|
+
interface SettingsSliderProps {
|
|
106
|
+
value: number;
|
|
107
|
+
type: 'percentage' | 'amount';
|
|
108
|
+
}
|
|
109
|
+
declare function SettingsSlider({ value, type }: SettingsSliderProps): react_jsx_runtime.JSX.Element;
|
|
110
|
+
|
|
90
111
|
interface SwitchProps {
|
|
91
|
-
checked
|
|
92
|
-
onChange
|
|
112
|
+
checked?: boolean;
|
|
113
|
+
onChange?: (checked: boolean) => void;
|
|
93
114
|
size: SwitchSize;
|
|
94
115
|
}
|
|
95
116
|
declare function Switch({ checked, onChange, size }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
@@ -101,11 +122,19 @@ interface TooltipProps {
|
|
|
101
122
|
tooltipContent: React$1.ReactNode;
|
|
102
123
|
threshold?: TooltipThreshold;
|
|
103
124
|
tooltipWidth?: TooltipWidth;
|
|
104
|
-
|
|
125
|
+
containerClassName?: string;
|
|
126
|
+
childrenClassName?: string;
|
|
127
|
+
tooltipClassName?: string;
|
|
105
128
|
}
|
|
106
|
-
declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold,
|
|
129
|
+
declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold, containerClassName, childrenClassName, tooltipClassName, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
107
130
|
|
|
108
|
-
|
|
131
|
+
interface BoostProps {
|
|
132
|
+
boostMode: BoostMode;
|
|
133
|
+
onToggleBoostMode?: ({ boostMode }: {
|
|
134
|
+
boostMode: BoostMode;
|
|
135
|
+
}) => void;
|
|
136
|
+
}
|
|
137
|
+
declare function Boost({ boostMode, onToggleBoostMode }: BoostProps): react_jsx_runtime.JSX.Element;
|
|
109
138
|
|
|
110
139
|
interface DetailsToolbarProps {
|
|
111
140
|
state?: DetailsToolbarState;
|
|
@@ -113,11 +142,15 @@ interface DetailsToolbarProps {
|
|
|
113
142
|
}
|
|
114
143
|
declare function DetailsToolbar({ state, errorMessage, }: DetailsToolbarProps): react_jsx_runtime.JSX.Element;
|
|
115
144
|
|
|
145
|
+
type Rounded = 'sm' | 'lg';
|
|
116
146
|
interface MenuProps extends React$1.ComponentProps<'div'> {
|
|
117
|
-
|
|
147
|
+
containerClassName?: string;
|
|
118
148
|
contentClassName?: string;
|
|
149
|
+
title?: string;
|
|
150
|
+
displayControls?: boolean;
|
|
151
|
+
rounded?: Rounded;
|
|
119
152
|
}
|
|
120
|
-
declare function Menu({ children,
|
|
153
|
+
declare function Menu({ children, containerClassName, contentClassName, title, displayControls, rounded, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
121
154
|
|
|
122
155
|
interface ModalProps {
|
|
123
156
|
children: React.ReactNode;
|
|
@@ -128,8 +161,10 @@ interface NavigationBarProps {
|
|
|
128
161
|
title?: string;
|
|
129
162
|
displayBackButton?: boolean;
|
|
130
163
|
logoUrl?: string;
|
|
164
|
+
transparent?: boolean;
|
|
165
|
+
displayButtonShadows?: boolean;
|
|
131
166
|
}
|
|
132
|
-
declare function NavigationBar({ title, displayBackButton, logoUrl, }: NavigationBarProps): react_jsx_runtime.JSX.Element;
|
|
167
|
+
declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, }: NavigationBarProps): react_jsx_runtime.JSX.Element;
|
|
133
168
|
|
|
134
169
|
interface ProductCardProps {
|
|
135
170
|
children?: React.ReactNode;
|
|
@@ -156,6 +191,29 @@ interface SwapConfigurationProps {
|
|
|
156
191
|
}
|
|
157
192
|
declare function SwapConfiguration({ priceImpactPercentage, amount, swapAmountUsd, balance, isFetching, chain, token, direction, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
|
|
158
193
|
|
|
194
|
+
interface SwapProgressViewHeaderProps {
|
|
195
|
+
title: string;
|
|
196
|
+
description: string;
|
|
197
|
+
}
|
|
198
|
+
declare function SwapProgressViewHeader({ title, description, }: SwapProgressViewHeaderProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
200
|
+
declare function SwapStepsCollapsed({ steps, currentStepCount: _currentStepCount, }: {
|
|
201
|
+
steps: SwapStep[];
|
|
202
|
+
currentStepCount: number;
|
|
203
|
+
}): react_jsx_runtime.JSX.Element;
|
|
204
|
+
|
|
205
|
+
interface TokenPairProps {
|
|
206
|
+
firstToken: {
|
|
207
|
+
imageUrl: string;
|
|
208
|
+
bgColor: string;
|
|
209
|
+
};
|
|
210
|
+
secondToken: {
|
|
211
|
+
imageUrl: string;
|
|
212
|
+
bgColor: string;
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
declare function TokenPair({ firstToken, secondToken }: TokenPairProps): react_jsx_runtime.JSX.Element;
|
|
216
|
+
|
|
159
217
|
interface WalletAddressProps {
|
|
160
218
|
ens?: string;
|
|
161
219
|
address?: string;
|
|
@@ -164,10 +222,11 @@ declare function WalletAddress({ address, ens }: WalletAddressProps): react_jsx_
|
|
|
164
222
|
|
|
165
223
|
interface DropdownMenuItemProps {
|
|
166
224
|
label: string;
|
|
225
|
+
labelClassName?: string;
|
|
167
226
|
imageUrl?: string;
|
|
168
227
|
icon?: React.ReactNode;
|
|
169
228
|
}
|
|
170
|
-
declare function DropdownMenuItem({ label, imageUrl, icon, }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
229
|
+
declare function DropdownMenuItem({ label, imageUrl, icon, labelClassName, }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
171
230
|
|
|
172
231
|
interface HistoryItemProps {
|
|
173
232
|
firstImageUrl: string;
|
|
@@ -212,6 +271,29 @@ interface SectionTitleProps {
|
|
|
212
271
|
}
|
|
213
272
|
declare function SectionTitle({ title, icon, accessory, actionIcon, className, }: SectionTitleProps): react_jsx_runtime.JSX.Element;
|
|
214
273
|
|
|
274
|
+
interface SettingsItemProps {
|
|
275
|
+
icon: React.ReactNode;
|
|
276
|
+
label: string;
|
|
277
|
+
controls?: React.ReactNode;
|
|
278
|
+
transparentControls?: boolean;
|
|
279
|
+
showHelpIcon?: boolean;
|
|
280
|
+
}
|
|
281
|
+
declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
|
|
282
|
+
|
|
283
|
+
interface SwapDetailListItemProps {
|
|
284
|
+
label: string;
|
|
285
|
+
icon: React.ReactNode;
|
|
286
|
+
detail?: React.ReactNode;
|
|
287
|
+
}
|
|
288
|
+
declare function SwapDetailListItem({ label, detail, icon, }: SwapDetailListItemProps): react_jsx_runtime.JSX.Element;
|
|
289
|
+
|
|
290
|
+
interface SwapStepItemProps {
|
|
291
|
+
descriptionBlocks: SwapStepDescriptionBlock[];
|
|
292
|
+
chipContent: React.ReactNode;
|
|
293
|
+
showStepSeparator?: boolean;
|
|
294
|
+
}
|
|
295
|
+
declare function SwapStepItem({ descriptionBlocks, chipContent, showStepSeparator, }: SwapStepItemProps): react_jsx_runtime.JSX.Element;
|
|
296
|
+
|
|
215
297
|
interface BodyTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
216
298
|
children: string | undefined;
|
|
217
299
|
size: TextSize;
|
|
@@ -268,9 +350,20 @@ interface ConfigTheme {
|
|
|
268
350
|
'accent-gold': string;
|
|
269
351
|
}
|
|
270
352
|
|
|
271
|
-
declare function SquidConfigProvider({ theme, children, }: {
|
|
272
|
-
theme
|
|
353
|
+
declare function SquidConfigProvider({ theme, children, themeType, }: {
|
|
354
|
+
theme: ConfigTheme;
|
|
273
355
|
children?: React.ReactNode;
|
|
356
|
+
themeType?: ThemeType;
|
|
274
357
|
}): react_jsx_runtime.JSX.Element;
|
|
275
358
|
|
|
276
|
-
|
|
359
|
+
declare function useModal(props?: {
|
|
360
|
+
initialIsModalOpen?: boolean;
|
|
361
|
+
}): {
|
|
362
|
+
isModalOpen: boolean;
|
|
363
|
+
openModal: () => void;
|
|
364
|
+
closeModal: () => void;
|
|
365
|
+
modalRef: React.RefObject<HTMLDivElement>;
|
|
366
|
+
openModalButtonRef: React.RefObject<HTMLButtonElement>;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
export { AddressButton, ArrowButton, AssetsButton, BadgeImage, BodyText, Boost, BoostButton, Button, CaptionText, Chip, DetailsToolbar, DropdownMenuItem, type DropdownMenuItemProps, FeeButton, HeadingText, HistoryItem, Input, ListItem, Menu, MenuItem, Modal, NavigationBar, ProductCard, SectionTitle, SettingsButton, type SettingsButtonProps, SettingsItem, type SettingsItemProps, SettingsSlider, type SettingsSliderProps, SquidConfigProvider, SwapConfiguration, SwapDetailListItem, SwapProgressViewHeader, SwapStepItem, SwapStepsCollapsed, Switch, TokenPair, Tooltip, type TooltipThreshold, type TooltipWidth, UsdAmount, WalletAddress, useModal };
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface DropdownProps {
|
|
2
|
-
tokenImageUrl?: string;
|
|
3
|
-
chainImageUrl?: string;
|
|
4
|
-
tokenSymbol?: string;
|
|
5
|
-
chainBgColor?: string;
|
|
6
|
-
tokenBgColor?: string;
|
|
7
|
-
tokenTextColor?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function Dropdown({ chainImageUrl, tokenImageUrl, tokenSymbol, chainBgColor, tokenBgColor, tokenTextColor, }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface DropdownProps {
|
|
2
|
-
tokenImageUrl?: string;
|
|
3
|
-
chainImageUrl?: string;
|
|
4
|
-
tokenSymbol?: string;
|
|
5
|
-
chainBgColor?: string;
|
|
6
|
-
tokenBgColor?: string;
|
|
7
|
-
tokenTextColor?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function Dropdown({ chainImageUrl, tokenImageUrl, tokenSymbol, chainBgColor, tokenBgColor, tokenTextColor, }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|