@0xsquid/ui 2.6.3 → 2.6.5-animate-number-beta.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 +18403 -18349
- package/dist/cjs/types/components/badges/PriceChange.d.ts +3 -1
- package/dist/cjs/types/components/badges/index.d.ts +1 -1
- package/dist/cjs/types/components/buttons/Button.d.ts +5 -1
- package/dist/cjs/types/components/buttons/Chip.d.ts +1 -1
- package/dist/cjs/types/components/controls/LargeNumericInput.d.ts +2 -0
- package/dist/cjs/types/components/controls/NumericInput.d.ts +22 -13
- package/dist/cjs/types/components/controls/Switch.d.ts +1 -1
- package/dist/cjs/types/components/controls/index.d.ts +2 -1
- package/dist/cjs/types/components/feedback/AnimateNumber.d.ts +8 -0
- package/dist/cjs/types/components/feedback/LoadingText.d.ts +7 -0
- package/dist/cjs/types/components/icons/Generic.d.ts +8 -0
- package/dist/cjs/types/components/icons/Loader.d.ts +1 -1
- package/dist/cjs/types/components/icons/PaymentIcons.d.ts +12 -0
- package/dist/cjs/types/components/icons/SwapInputs.d.ts +4 -1
- package/dist/cjs/types/components/icons/index.d.ts +1 -0
- package/dist/cjs/types/components/layout/AnimationWrapper.d.ts +3 -0
- package/dist/cjs/types/components/layout/ModalTitle.d.ts +5 -0
- package/dist/cjs/types/components/layout/SwapConfiguration.d.ts +17 -1
- package/dist/cjs/types/components/layout/index.d.ts +1 -0
- package/dist/cjs/types/components/lists/HistoryItem.d.ts +2 -1
- package/dist/cjs/types/components/lists/ListItem.d.ts +4 -1
- package/dist/cjs/types/components/navigation/Tabs.d.ts +5 -2
- package/dist/cjs/types/components/views/SwapProgressView.d.ts +2 -1
- package/dist/cjs/types/core/design-system.d.ts +1 -0
- package/dist/cjs/types/core/index.d.ts +1 -1
- package/dist/cjs/types/core/utils.d.ts +23 -0
- package/dist/cjs/types/hooks/index.d.ts +3 -2
- package/dist/cjs/types/hooks/useColorFromSeed.d.ts +1 -0
- package/dist/cjs/types/hooks/useMeasure.d.ts +36 -0
- package/dist/cjs/types/hooks/useNumericInput.d.ts +35 -0
- package/dist/cjs/types/services/internal/colorService.d.ts +0 -2
- package/dist/cjs/types/stories/buttons/AssetsButton.stories.d.ts +1 -0
- package/dist/cjs/types/stories/buttons/Button.stories.d.ts +33 -15
- package/dist/cjs/types/stories/buttons/Chip.stories.d.ts +2 -1
- package/dist/cjs/types/stories/controls/Input.stories.d.ts +1 -1
- package/dist/cjs/types/stories/controls/LargeNumericInput.stories.d.ts +6 -0
- package/dist/cjs/types/stories/controls/NumericInput.stories.d.ts +17 -0
- package/dist/cjs/types/stories/controls/Switch.stories.d.ts +5 -3
- package/dist/cjs/types/stories/feedback/AnimateNumber.stories.d.ts +6 -0
- package/dist/{esm/types/stories/badges → cjs/types/stories/feedback}/Loader.stories.d.ts +1 -1
- package/dist/cjs/types/stories/{badges → feedback}/LoadingSkeleton.stories.d.ts +2 -2
- package/dist/cjs/types/stories/feedback/LoadingText.stories.d.ts +6 -0
- package/dist/cjs/types/stories/layout/SwapConfiguration.stories.d.ts +2 -0
- package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +3 -0
- package/dist/cjs/types/stories/navigation/Tabs.stories.d.ts +1 -0
- package/dist/cjs/types/stories/views/SwapProgressView.stories.d.ts +1 -0
- package/dist/cjs/types/types/components.d.ts +1 -1
- package/dist/cjs/types/types/config.d.ts +3 -3
- package/dist/cjs/types/types/index.d.ts +1 -1
- package/dist/esm/index.js +18387 -18344
- package/dist/esm/types/components/badges/PriceChange.d.ts +3 -1
- package/dist/esm/types/components/badges/index.d.ts +1 -1
- package/dist/esm/types/components/buttons/Button.d.ts +5 -1
- package/dist/esm/types/components/buttons/Chip.d.ts +1 -1
- package/dist/esm/types/components/controls/LargeNumericInput.d.ts +2 -0
- package/dist/esm/types/components/controls/NumericInput.d.ts +22 -13
- package/dist/esm/types/components/controls/Switch.d.ts +1 -1
- package/dist/esm/types/components/controls/index.d.ts +2 -1
- package/dist/esm/types/components/feedback/AnimateNumber.d.ts +8 -0
- package/dist/esm/types/components/feedback/LoadingText.d.ts +7 -0
- package/dist/esm/types/components/icons/Generic.d.ts +8 -0
- package/dist/esm/types/components/icons/Loader.d.ts +1 -1
- package/dist/esm/types/components/icons/PaymentIcons.d.ts +12 -0
- package/dist/esm/types/components/icons/SwapInputs.d.ts +4 -1
- package/dist/esm/types/components/icons/index.d.ts +1 -0
- package/dist/esm/types/components/layout/AnimationWrapper.d.ts +3 -0
- package/dist/esm/types/components/layout/ModalTitle.d.ts +5 -0
- package/dist/esm/types/components/layout/SwapConfiguration.d.ts +17 -1
- package/dist/esm/types/components/layout/index.d.ts +1 -0
- package/dist/esm/types/components/lists/HistoryItem.d.ts +2 -1
- package/dist/esm/types/components/lists/ListItem.d.ts +4 -1
- package/dist/esm/types/components/navigation/Tabs.d.ts +5 -2
- package/dist/esm/types/components/views/SwapProgressView.d.ts +2 -1
- package/dist/esm/types/core/design-system.d.ts +1 -0
- package/dist/esm/types/core/index.d.ts +1 -1
- package/dist/esm/types/core/utils.d.ts +23 -0
- package/dist/esm/types/hooks/index.d.ts +3 -2
- package/dist/esm/types/hooks/useColorFromSeed.d.ts +1 -0
- package/dist/esm/types/hooks/useMeasure.d.ts +36 -0
- package/dist/esm/types/hooks/useNumericInput.d.ts +35 -0
- package/dist/esm/types/services/internal/colorService.d.ts +0 -2
- package/dist/esm/types/stories/buttons/AssetsButton.stories.d.ts +1 -0
- package/dist/esm/types/stories/buttons/Button.stories.d.ts +33 -15
- package/dist/esm/types/stories/buttons/Chip.stories.d.ts +2 -1
- package/dist/esm/types/stories/controls/Input.stories.d.ts +1 -1
- package/dist/esm/types/stories/controls/LargeNumericInput.stories.d.ts +6 -0
- package/dist/esm/types/stories/controls/NumericInput.stories.d.ts +17 -0
- package/dist/esm/types/stories/controls/Switch.stories.d.ts +5 -3
- package/dist/esm/types/stories/feedback/AnimateNumber.stories.d.ts +6 -0
- package/dist/{cjs/types/stories/badges → esm/types/stories/feedback}/Loader.stories.d.ts +1 -1
- package/dist/esm/types/stories/{badges → feedback}/LoadingSkeleton.stories.d.ts +2 -2
- package/dist/esm/types/stories/feedback/LoadingText.stories.d.ts +6 -0
- package/dist/esm/types/stories/layout/SwapConfiguration.stories.d.ts +2 -0
- package/dist/esm/types/stories/lists/ListItem.stories.d.ts +3 -0
- package/dist/esm/types/stories/navigation/Tabs.stories.d.ts +1 -0
- package/dist/esm/types/stories/views/SwapProgressView.stories.d.ts +1 -0
- package/dist/esm/types/types/components.d.ts +1 -1
- package/dist/esm/types/types/config.d.ts +3 -3
- package/dist/esm/types/types/index.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +154 -47
- package/package.json +1 -1
- /package/dist/cjs/types/components/{badges → feedback}/LoadingSkeleton.d.ts +0 -0
- /package/dist/esm/types/components/{badges → feedback}/LoadingSkeleton.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import react__default, { ReactNode, ComponentProps } from 'react';
|
|
4
|
+
import react__default, { ReactNode, ComponentProps, ChangeEvent } from 'react';
|
|
5
5
|
import { Player } from '@lottiefiles/react-lottie-player';
|
|
6
6
|
import * as framer_motion from 'framer-motion';
|
|
7
7
|
import { motion } from 'framer-motion';
|
|
@@ -11,7 +11,7 @@ import { ClassValue } from 'clsx';
|
|
|
11
11
|
type TextSize = "small" | "medium" | "large";
|
|
12
12
|
type SwitchSize = "small" | "large";
|
|
13
13
|
type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
14
|
-
type ButtonSize = "md" | "lg";
|
|
14
|
+
type ButtonSize = "sm" | "md" | "lg";
|
|
15
15
|
type SwapDirection = "from" | "to";
|
|
16
16
|
type BoostMode = "normal" | "boost";
|
|
17
17
|
type HistoryItemStatus = "completed" | "pending" | "failed" | "warning";
|
|
@@ -115,8 +115,10 @@ declare function BlockSkeleton({ isLoading, className, children, ...props }: Loa
|
|
|
115
115
|
interface PriceChangeProps {
|
|
116
116
|
variant?: "small" | "large";
|
|
117
117
|
value: string | number;
|
|
118
|
+
highlightText?: boolean;
|
|
119
|
+
triangle?: "none" | "prefix" | "suffix";
|
|
118
120
|
}
|
|
119
|
-
declare function PriceChange({ value: rawValue, variant, }: PriceChangeProps): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function PriceChange({ value: rawValue, variant, highlightText, triangle, }: PriceChangeProps): react_jsx_runtime.JSX.Element;
|
|
120
122
|
|
|
121
123
|
declare const statusTextClassMap: Record<ActionStatus, string>;
|
|
122
124
|
interface TransactionStateProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -174,6 +176,39 @@ interface InputActionButtonProps {
|
|
|
174
176
|
label?: string;
|
|
175
177
|
}
|
|
176
178
|
|
|
179
|
+
declare enum UserInputType {
|
|
180
|
+
TOKEN = 0,
|
|
181
|
+
USD = 1
|
|
182
|
+
}
|
|
183
|
+
interface UseNumericInputOptions {
|
|
184
|
+
token: Pick<Token$3, "decimals" | "price">;
|
|
185
|
+
onAmountChange: (tokenAmount: string) => void;
|
|
186
|
+
forcedAmount?: string;
|
|
187
|
+
formatIfVerySmall: {
|
|
188
|
+
token: string;
|
|
189
|
+
usd: string;
|
|
190
|
+
};
|
|
191
|
+
balance: string;
|
|
192
|
+
inputModeButton?: {
|
|
193
|
+
amountUsd?: string;
|
|
194
|
+
};
|
|
195
|
+
maxUsdDecimals?: number;
|
|
196
|
+
debounceInput?: boolean;
|
|
197
|
+
direction?: "from" | "to";
|
|
198
|
+
initialInputMode?: UserInputType;
|
|
199
|
+
}
|
|
200
|
+
declare function useNumericInput({ onAmountChange, token, balance, debounceInput, forcedAmount, formatIfVerySmall, inputModeButton, maxUsdDecimals, direction, initialInputMode, }: UseNumericInputOptions): {
|
|
201
|
+
userInputType: UserInputType;
|
|
202
|
+
inputValue: string;
|
|
203
|
+
handleInputChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
204
|
+
handleSwitchInputMode: () => void;
|
|
205
|
+
isTokenAmountVerySmall: boolean;
|
|
206
|
+
isUsdAmountVerySmall: boolean;
|
|
207
|
+
amountFormatted: string;
|
|
208
|
+
onBalanceButtonClick: () => void;
|
|
209
|
+
balanceFormatted: string;
|
|
210
|
+
};
|
|
211
|
+
|
|
177
212
|
type TooltipWidth = "max" | "container";
|
|
178
213
|
type TooltipThreshold = "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
179
214
|
interface TooltipProps {
|
|
@@ -195,7 +230,7 @@ interface Token$3 {
|
|
|
195
230
|
symbol: string;
|
|
196
231
|
decimals: number;
|
|
197
232
|
}
|
|
198
|
-
interface NumericInputProps
|
|
233
|
+
interface NumericInputProps {
|
|
199
234
|
token: Token$3;
|
|
200
235
|
onAmountChange: (tokenAmount: string) => void;
|
|
201
236
|
forcedAmount?: string;
|
|
@@ -203,28 +238,49 @@ interface NumericInputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
203
238
|
token: string;
|
|
204
239
|
usd: string;
|
|
205
240
|
};
|
|
206
|
-
showDetails?: boolean;
|
|
207
|
-
isLoading?: boolean;
|
|
208
|
-
error?: {
|
|
209
|
-
message: string;
|
|
210
|
-
};
|
|
211
241
|
balance?: string;
|
|
212
|
-
priceImpactPercentage?: string;
|
|
213
|
-
criticalPriceImpactPercentage?: number;
|
|
214
|
-
direction?: SwapDirection;
|
|
215
242
|
inputModeButton?: {
|
|
216
243
|
usdModeTooltip?: Omit<TooltipProps, "children">;
|
|
217
244
|
tokenModeTooltip?: Omit<TooltipProps, "children">;
|
|
218
245
|
amountUsd?: string;
|
|
219
246
|
};
|
|
220
247
|
maxUsdDecimals?: number;
|
|
221
|
-
isInteractive?: boolean;
|
|
222
248
|
balanceButton?: {
|
|
223
249
|
tooltip?: Omit<TooltipProps, "children">;
|
|
224
250
|
hideMaxChip?: boolean;
|
|
225
251
|
};
|
|
252
|
+
debounceInput?: boolean;
|
|
253
|
+
initialInputMode?: UserInputType;
|
|
254
|
+
customSymbol?: string;
|
|
255
|
+
hideControls?: boolean;
|
|
256
|
+
hideBalance?: boolean;
|
|
257
|
+
containerClassName?: string;
|
|
258
|
+
inputClassName?: string;
|
|
226
259
|
}
|
|
227
|
-
|
|
260
|
+
interface Props$1 extends NumericInputProps, React.InputHTMLAttributes<HTMLInputElement> {
|
|
261
|
+
direction?: SwapDirection;
|
|
262
|
+
showDetails?: boolean;
|
|
263
|
+
isLoading?: boolean;
|
|
264
|
+
isInteractive?: boolean;
|
|
265
|
+
priceImpactPercentage?: string;
|
|
266
|
+
criticalPriceImpactPercentage?: number;
|
|
267
|
+
error?: {
|
|
268
|
+
message: string;
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
declare function NumericInput({ priceImpactPercentage, balance, error, criticalPriceImpactPercentage, token, onAmountChange, forcedAmount, maxUsdDecimals, formatIfVerySmall, showDetails, isLoading, direction, inputModeButton, isInteractive, balanceButton, debounceInput, initialInputMode, customSymbol, hideControls, hideBalance, containerClassName, inputClassName, ...props }: Props$1): react_jsx_runtime.JSX.Element;
|
|
272
|
+
|
|
273
|
+
declare function LargeNumericInput({ balance, token, onAmountChange, forcedAmount, maxUsdDecimals, formatIfVerySmall, inputModeButton, balanceButton, debounceInput, }: NumericInputProps): react_jsx_runtime.JSX.Element;
|
|
274
|
+
|
|
275
|
+
interface RangeInputProps {
|
|
276
|
+
label: string;
|
|
277
|
+
initialValue?: string;
|
|
278
|
+
onChange?: (value: string) => void;
|
|
279
|
+
min?: number;
|
|
280
|
+
max?: number;
|
|
281
|
+
isWarning?: boolean;
|
|
282
|
+
}
|
|
283
|
+
declare function RangeInput({ label, initialValue, onChange, min, max, isWarning, }: RangeInputProps): react_jsx_runtime.JSX.Element;
|
|
228
284
|
|
|
229
285
|
interface SettingsSliderProps {
|
|
230
286
|
value: number | undefined;
|
|
@@ -246,16 +302,6 @@ interface SwitchProps {
|
|
|
246
302
|
}
|
|
247
303
|
declare function Switch({ checked, onChange, size, disabled, inputProps, }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
248
304
|
|
|
249
|
-
interface RangeInputProps {
|
|
250
|
-
label: string;
|
|
251
|
-
initialValue?: string;
|
|
252
|
-
onChange?: (value: string) => void;
|
|
253
|
-
min?: number;
|
|
254
|
-
max?: number;
|
|
255
|
-
isWarning?: boolean;
|
|
256
|
-
}
|
|
257
|
-
declare function RangeInput({ label, initialValue, onChange, min, max, isWarning, }: RangeInputProps): react_jsx_runtime.JSX.Element;
|
|
258
|
-
|
|
259
305
|
interface AssetsButtonProps {
|
|
260
306
|
token?: {
|
|
261
307
|
iconUrl: string;
|
|
@@ -282,7 +328,7 @@ interface BoostButtonProps {
|
|
|
282
328
|
}
|
|
283
329
|
declare function BoostButton({ boostMode, canToggleBoostMode, boostIndicatorRef, }: BoostButtonProps): react_jsx_runtime.JSX.Element;
|
|
284
330
|
|
|
285
|
-
interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
331
|
+
interface ChipProps extends React.HTMLAttributes<HTMLDivElement | HTMLButtonElement> {
|
|
286
332
|
label?: string;
|
|
287
333
|
icon?: React.ReactNode;
|
|
288
334
|
}
|
|
@@ -296,13 +342,17 @@ interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
296
342
|
disabled?: boolean;
|
|
297
343
|
link?: string;
|
|
298
344
|
isLoading?: boolean;
|
|
345
|
+
isShimmering?: boolean;
|
|
299
346
|
showLoader?: boolean;
|
|
347
|
+
loaderSize?: LoaderSize;
|
|
300
348
|
chip?: ChipProps;
|
|
301
349
|
containerClassName?: string;
|
|
302
350
|
buttonRef?: React.Ref<HTMLButtonElement>;
|
|
303
351
|
anchorRef?: React.Ref<HTMLAnchorElement>;
|
|
304
352
|
}
|
|
305
|
-
|
|
353
|
+
type LoaderSize = "sm" | "md" | "lg";
|
|
354
|
+
declare const buttonRoundedClassMap: Record<ButtonSize, Record<ButtonVariant, string>>;
|
|
355
|
+
declare function Button({ label, disabled, size, variant, icon, link, isLoading, isShimmering, showLoader, loaderSize, chip, containerClassName, anchorRef, buttonRef, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
306
356
|
|
|
307
357
|
interface FeeButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
308
358
|
feeInUsd?: string;
|
|
@@ -692,6 +742,14 @@ declare function MoneyBagIcon({ className, size, }: {
|
|
|
692
742
|
className?: string;
|
|
693
743
|
size?: string;
|
|
694
744
|
}): react_jsx_runtime.JSX.Element;
|
|
745
|
+
declare function PluginIcon({ size, className, }: {
|
|
746
|
+
size?: string;
|
|
747
|
+
className?: string;
|
|
748
|
+
}): react_jsx_runtime.JSX.Element;
|
|
749
|
+
declare function CircleCheckIcon({ className, size, }: {
|
|
750
|
+
className?: string;
|
|
751
|
+
size?: string;
|
|
752
|
+
}): react_jsx_runtime.JSX.Element;
|
|
695
753
|
|
|
696
754
|
declare function EmptyHeartIcon({ className }: {
|
|
697
755
|
className?: string;
|
|
@@ -775,6 +833,19 @@ declare function MaxIcon(): react_jsx_runtime.JSX.Element;
|
|
|
775
833
|
|
|
776
834
|
declare function NotAllowedIcon(): react_jsx_runtime.JSX.Element;
|
|
777
835
|
|
|
836
|
+
declare function GooglePayIcon({ className, size, }: {
|
|
837
|
+
className?: string;
|
|
838
|
+
size?: string;
|
|
839
|
+
}): react_jsx_runtime.JSX.Element;
|
|
840
|
+
declare function ApplePayIcon({ className, size, }: {
|
|
841
|
+
className?: string;
|
|
842
|
+
size?: string;
|
|
843
|
+
}): react_jsx_runtime.JSX.Element;
|
|
844
|
+
declare function CreditCardIcon({ className, size, }: {
|
|
845
|
+
className?: string;
|
|
846
|
+
size?: string;
|
|
847
|
+
}): react_jsx_runtime.JSX.Element;
|
|
848
|
+
|
|
778
849
|
declare function PercentIcon({ size, className, }: {
|
|
779
850
|
size?: string;
|
|
780
851
|
className?: string;
|
|
@@ -842,7 +913,10 @@ declare function SquidVector({ size, className, }: {
|
|
|
842
913
|
className?: string;
|
|
843
914
|
}): react_jsx_runtime.JSX.Element;
|
|
844
915
|
|
|
845
|
-
declare function SwapInputsIcon(
|
|
916
|
+
declare function SwapInputsIcon({ size, className, }: {
|
|
917
|
+
size?: string;
|
|
918
|
+
className?: string;
|
|
919
|
+
}): react_jsx_runtime.JSX.Element;
|
|
846
920
|
declare function SwapIcon({ size, className, }: {
|
|
847
921
|
size?: string;
|
|
848
922
|
className?: string;
|
|
@@ -916,6 +990,9 @@ declare function CrossedOutSunSolidIcon({ size, className, }: {
|
|
|
916
990
|
interface Props extends React.ComponentProps<typeof Player> {
|
|
917
991
|
}
|
|
918
992
|
declare const AnimationWrapper: (playerProps: Props) => react_jsx_runtime.JSX.Element;
|
|
993
|
+
declare function AnimationCard({ children }: {
|
|
994
|
+
children?: React.ReactNode;
|
|
995
|
+
}): react_jsx_runtime.JSX.Element;
|
|
919
996
|
|
|
920
997
|
interface AnnouncementProps {
|
|
921
998
|
message: string;
|
|
@@ -1632,6 +1709,11 @@ interface ModalContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1632
1709
|
declare function ModalContent({ children, addGap, paddingY, borderType, className, ...props }: ModalContentProps): react_jsx_runtime.JSX.Element;
|
|
1633
1710
|
declare function ModalContentDivider(): react_jsx_runtime.JSX.Element;
|
|
1634
1711
|
|
|
1712
|
+
interface ModalTitleProps {
|
|
1713
|
+
title: string;
|
|
1714
|
+
}
|
|
1715
|
+
declare function ModalTitle({ title }: ModalTitleProps): react_jsx_runtime.JSX.Element;
|
|
1716
|
+
|
|
1635
1717
|
interface ActionButton {
|
|
1636
1718
|
labelOrIcon: string | React.ReactNode;
|
|
1637
1719
|
onClick?: () => void;
|
|
@@ -1663,6 +1745,18 @@ declare function BorderedContainer({ children, className, }: {
|
|
|
1663
1745
|
|
|
1664
1746
|
declare function ProfileHeaderBackground(): react_jsx_runtime.JSX.Element;
|
|
1665
1747
|
|
|
1748
|
+
interface AddressHeaderProps {
|
|
1749
|
+
direction: SwapDirection;
|
|
1750
|
+
onClick?: () => void;
|
|
1751
|
+
isDisabled?: boolean;
|
|
1752
|
+
tooltip?: TooltipProps["tooltipContent"];
|
|
1753
|
+
label: string;
|
|
1754
|
+
walletIconUrl?: string | null;
|
|
1755
|
+
isLoading?: boolean;
|
|
1756
|
+
displayLabel?: boolean;
|
|
1757
|
+
highlightLabel?: boolean;
|
|
1758
|
+
}
|
|
1759
|
+
declare const AddressHeader: ({ direction, onClick, isDisabled, tooltip, label, walletIconUrl, isLoading, displayLabel, highlightLabel, }: AddressHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
1666
1760
|
interface SwapConfigurationProps {
|
|
1667
1761
|
direction: SwapDirection;
|
|
1668
1762
|
priceImpactPercentage?: string;
|
|
@@ -1709,10 +1803,14 @@ interface SwapConfigurationProps {
|
|
|
1709
1803
|
address?: string;
|
|
1710
1804
|
emptyAddressLabel?: string;
|
|
1711
1805
|
disabled?: boolean;
|
|
1806
|
+
walletIconUrl?: string | null;
|
|
1712
1807
|
};
|
|
1713
1808
|
showNumericInputDetails?: boolean;
|
|
1809
|
+
fullHeight?: boolean;
|
|
1810
|
+
debounceInput?: boolean;
|
|
1811
|
+
showWalletButtonHeader?: boolean;
|
|
1714
1812
|
}
|
|
1715
|
-
declare function SwapConfiguration({ amount, tokenPrice, isFetching: isFetchingProp, chain, token, direction, onAmountChange, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, maxUsdDecimals, isInputInteractive, isLoading, inputModeButton, balanceButton, assetsButton, walletButton, showNumericInputDetails, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
|
|
1813
|
+
declare function SwapConfiguration({ amount, tokenPrice, isFetching: isFetchingProp, chain, token, direction, onAmountChange, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, maxUsdDecimals, isInputInteractive, isLoading, inputModeButton, balanceButton, assetsButton, walletButton, showNumericInputDetails, fullHeight, debounceInput, showWalletButtonHeader, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
|
|
1716
1814
|
|
|
1717
1815
|
interface SwapStepsCollapsedFooterButton {
|
|
1718
1816
|
label: string;
|
|
@@ -2071,8 +2169,8 @@ type DeepPartial<T> = {
|
|
|
2071
2169
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
2072
2170
|
};
|
|
2073
2171
|
|
|
2074
|
-
declare const THEME_COLOR_KEYS: readonly ["grey-100", "grey-200", "grey-300", "grey-400", "grey-500", "grey-600", "grey-700", "grey-800", "grey-900", "royal-300", "royal-400", "royal-500", "royal-600", "royal-700", "highlight-700", "status-positive", "status-negative", "status-partial", "button-lg-primary-bg", "button-lg-primary-text", "button-lg-secondary-bg", "button-lg-secondary-text", "button-lg-tertiary-bg", "button-lg-tertiary-text", "button-md-primary-bg", "button-md-primary-text", "button-md-secondary-bg", "button-md-secondary-text", "button-md-tertiary-bg", "button-md-tertiary-text", "input-placeholder", "input-text", "input-selection", "input-bg", "animation-bg", "animation-text", "modal-backdrop", "menu-bg", "menu-text", "menu-backdrop", "material-light-thin", "material-light-average", "material-light-thick", "material-dark-thin", "material-dark-average", "material-dark-thick", "grey-100-005", "material-light-blend-grey-900", "material-light-blend-grey-800"];
|
|
2075
|
-
declare const THEME_BORDER_RADIUS_KEYS: readonly ["button-lg-primary", "button-lg-secondary", "button-lg-tertiary", "button-md-primary", "button-md-secondary", "button-md-tertiary", "container", "input", "menu-sm", "menu-lg", "modal"];
|
|
2172
|
+
declare const THEME_COLOR_KEYS: readonly ["grey-100", "grey-200", "grey-300", "grey-400", "grey-500", "grey-600", "grey-700", "grey-800", "grey-900", "royal-300", "royal-400", "royal-500", "royal-600", "royal-700", "highlight-700", "status-positive", "status-negative", "status-partial", "button-lg-primary-bg", "button-lg-primary-text", "button-lg-secondary-bg", "button-lg-secondary-text", "button-lg-tertiary-bg", "button-lg-tertiary-text", "button-md-primary-bg", "button-md-primary-text", "button-md-secondary-bg", "button-md-secondary-text", "button-md-tertiary-bg", "button-md-tertiary-text", "button-sm-primary-bg", "button-sm-primary-text", "button-sm-secondary-bg", "button-sm-secondary-text", "button-sm-tertiary-bg", "button-sm-tertiary-text", "input-placeholder", "input-text", "input-selection", "input-bg", "animation-bg", "animation-text", "modal-backdrop", "menu-bg", "menu-text", "menu-backdrop", "material-light-thin", "material-light-average", "material-light-thick", "material-dark-thin", "material-dark-average", "material-dark-thick", "grey-100-005", "material-light-blend-grey-900", "material-light-blend-grey-800"];
|
|
2173
|
+
declare const THEME_BORDER_RADIUS_KEYS: readonly ["button-lg-primary", "button-lg-secondary", "button-lg-tertiary", "button-md-primary", "button-md-secondary", "button-md-tertiary", "button-sm-primary", "button-sm-secondary", "button-sm-tertiary", "container", "input", "menu-sm", "menu-lg", "modal"];
|
|
2076
2174
|
declare const THEME_FONT_SIZE_KEYS: readonly ["caption", "body-large", "body-medium", "body-small", "heading-small", "heading-medium", "heading-large"];
|
|
2077
2175
|
declare const THEME_FONT_WEIGHT_KEYS: readonly ["caption", "body-small", "body-medium", "body-large", "heading-small", "heading-medium", "heading-large"];
|
|
2078
2176
|
declare const THEME_FONT_FAMILY_KEYS: readonly ["squid-main"];
|
|
@@ -2098,7 +2196,7 @@ interface InternalTheme {
|
|
|
2098
2196
|
* These colors are optional
|
|
2099
2197
|
* and will be generated internally using the base colors if not provided
|
|
2100
2198
|
*/
|
|
2101
|
-
type OptionalColorsKeys = "button-lg-primary-bg" | "button-lg-primary-text" | "button-lg-secondary-bg" | "button-lg-secondary-text" | "button-lg-tertiary-bg" | "button-lg-tertiary-text" | "button-md-primary-bg" | "button-md-primary-text" | "button-md-secondary-bg" | "button-md-secondary-text" | "button-md-tertiary-bg" | "button-md-tertiary-text" | "input-placeholder" | "input-text" | "input-selection" | "input-bg" | "animation-bg" | "animation-text" | "modal-backdrop" | "menu-bg" | "menu-text" | "menu-backdrop";
|
|
2199
|
+
type OptionalColorsKeys = "button-lg-primary-bg" | "button-lg-primary-text" | "button-lg-secondary-bg" | "button-lg-secondary-text" | "button-lg-tertiary-bg" | "button-lg-tertiary-text" | "button-md-primary-bg" | "button-md-primary-text" | "button-md-secondary-bg" | "button-md-secondary-text" | "button-md-tertiary-bg" | "button-md-tertiary-text" | "button-sm-primary-bg" | "button-sm-primary-text" | "button-sm-secondary-bg" | "button-sm-secondary-text" | "button-sm-tertiary-bg" | "button-sm-tertiary-text" | "input-placeholder" | "input-text" | "input-selection" | "input-bg" | "animation-bg" | "animation-text" | "modal-backdrop" | "menu-bg" | "menu-text" | "menu-backdrop";
|
|
2102
2200
|
/**
|
|
2103
2201
|
* These colors are generated internally using the base colors
|
|
2104
2202
|
*/
|
|
@@ -2166,9 +2264,11 @@ interface HistoryItemProps {
|
|
|
2166
2264
|
onClick?: () => void;
|
|
2167
2265
|
warningLabel?: string;
|
|
2168
2266
|
dropdownMenuContent?: React.ReactNode;
|
|
2267
|
+
txType: "swap" | "send";
|
|
2169
2268
|
}
|
|
2170
|
-
declare function HistoryItem({ firstImageUrl, secondImageUrl, dateCompleted, fromAmount, fromLabel, toAmount, toLabel, dropdownMenuContent, itemsContainerRef, status, warningLabel, onClick, }: HistoryItemProps): react_jsx_runtime.JSX.Element;
|
|
2269
|
+
declare function HistoryItem({ firstImageUrl, secondImageUrl, dateCompleted, fromAmount, fromLabel, toAmount, toLabel, dropdownMenuContent, itemsContainerRef, status, warningLabel, txType, onClick, }: HistoryItemProps): react_jsx_runtime.JSX.Element;
|
|
2171
2270
|
|
|
2271
|
+
type HTMLInteractiveItem = HTMLButtonElement | HTMLDivElement | HTMLLabelElement;
|
|
2172
2272
|
interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
2173
2273
|
itemTitle: string | React.ReactNode;
|
|
2174
2274
|
mainImageUrl?: string;
|
|
@@ -2196,9 +2296,11 @@ interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
2196
2296
|
itemsContainerRef?: React.RefObject<HTMLElement>;
|
|
2197
2297
|
imageGroup?: string[];
|
|
2198
2298
|
multilineSubtitle?: boolean;
|
|
2299
|
+
control?: React.ReactNode;
|
|
2300
|
+
onClick?: (event: React.MouseEvent<HTMLInteractiveItem>) => void;
|
|
2199
2301
|
}
|
|
2200
2302
|
type ListItemSize = "small" | "large";
|
|
2201
|
-
declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, placeholderImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, extraPadding, itemsContainerRef, dropdownMenuContent, imageGroup, multilineSubtitle, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
2303
|
+
declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, placeholderImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, extraPadding, itemsContainerRef, dropdownMenuContent, imageGroup, multilineSubtitle, control, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
2202
2304
|
declare const ListItemActionsButton: react.ForwardRefExoticComponent<Omit<react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
2203
2305
|
isActive?: boolean | undefined;
|
|
2204
2306
|
}, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -2637,18 +2739,21 @@ type TabSize = "small" | "large";
|
|
|
2637
2739
|
interface TabsProps {
|
|
2638
2740
|
tabs: Array<{
|
|
2639
2741
|
label: string;
|
|
2742
|
+
isDisabled?: boolean;
|
|
2640
2743
|
}>;
|
|
2641
2744
|
size?: TabSize;
|
|
2642
2745
|
activeTab?: number;
|
|
2643
2746
|
onTabChange?: (tabIndex: number) => void;
|
|
2747
|
+
isDisabled?: boolean;
|
|
2644
2748
|
}
|
|
2645
|
-
declare function Tabs({ tabs, size, onTabChange, activeTab, }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
2749
|
+
declare function Tabs({ tabs, size, onTabChange, activeTab, isDisabled, }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
2646
2750
|
interface TabProps extends react__default.ComponentProps<"button"> {
|
|
2647
2751
|
label: string;
|
|
2648
2752
|
size: TabSize;
|
|
2649
2753
|
isActive?: boolean;
|
|
2754
|
+
isDisabled?: boolean;
|
|
2650
2755
|
}
|
|
2651
|
-
declare function Tab({ label, isActive, size, ...props }: TabProps): react_jsx_runtime.JSX.Element;
|
|
2756
|
+
declare function Tab({ label, isActive, size, isDisabled, ...props }: TabProps): react_jsx_runtime.JSX.Element;
|
|
2652
2757
|
|
|
2653
2758
|
interface BodyTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
2654
2759
|
children: ReactNode;
|
|
@@ -2720,7 +2825,7 @@ interface Token {
|
|
|
2720
2825
|
logoUrl: string;
|
|
2721
2826
|
bgColor: string;
|
|
2722
2827
|
}
|
|
2723
|
-
declare function SwapProgressView({ steps, isOpen, handleClose, handleComplete, supportLink, fromAmount, fromChain, fromToken, toAmount, toChain, toToken, fromAddressFormatted, toAddressFormatted, swapState, estimatedTimeToComplete, footerButton, refundTokenSymbol, addGasLink, shareSwapDropdownContent, }: {
|
|
2828
|
+
declare function SwapProgressView({ steps, isOpen, handleClose, handleComplete, supportLink, fromAmount, fromChain, fromToken, toAmount, toChain, toToken, fromAddressFormatted, toAddressFormatted, swapState, estimatedTimeToComplete, footerButton, refundTokenSymbol, addGasLink, shareSwapDropdownContent, isSendTransaction, }: {
|
|
2724
2829
|
steps: SwapStep[];
|
|
2725
2830
|
handleClose?: (swapState: SwapState) => void;
|
|
2726
2831
|
handleComplete?: () => void;
|
|
@@ -2740,6 +2845,7 @@ declare function SwapProgressView({ steps, isOpen, handleClose, handleComplete,
|
|
|
2740
2845
|
footerButton?: SwapStepsCollapsedFooterButton;
|
|
2741
2846
|
refundTokenSymbol?: string;
|
|
2742
2847
|
addGasLink?: string;
|
|
2848
|
+
isSendTransaction?: boolean;
|
|
2743
2849
|
}): react_jsx_runtime.JSX.Element;
|
|
2744
2850
|
|
|
2745
2851
|
interface BaseTransactionViewProps {
|
|
@@ -2879,6 +2985,12 @@ interface ThemeProviderProps extends React.ComponentProps<"div"> {
|
|
|
2879
2985
|
}
|
|
2880
2986
|
declare function ThemeProvider({ theme, children, themeType, settings, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
2881
2987
|
|
|
2988
|
+
declare function useCollapsibleMenu(): {
|
|
2989
|
+
isMenuOpen: boolean;
|
|
2990
|
+
toggleMenu: () => void;
|
|
2991
|
+
menuRef: react.RefObject<HTMLDivElement>;
|
|
2992
|
+
};
|
|
2993
|
+
|
|
2882
2994
|
interface DropdownStyles {
|
|
2883
2995
|
position: DropdownPosition;
|
|
2884
2996
|
maxHeight: number | null;
|
|
@@ -2924,17 +3036,9 @@ type UseMediaQueryOptions = {
|
|
|
2924
3036
|
*/
|
|
2925
3037
|
declare function useMediaQuery(query: string, { defaultValue, initializeWithValue, }?: UseMediaQueryOptions): boolean;
|
|
2926
3038
|
|
|
2927
|
-
declare function useCollapsibleMenu(): {
|
|
2928
|
-
isMenuOpen: boolean;
|
|
2929
|
-
toggleMenu: () => void;
|
|
2930
|
-
menuRef: react.RefObject<HTMLDivElement>;
|
|
2931
|
-
};
|
|
2932
|
-
|
|
2933
3039
|
declare function useOnResize(ref: React.RefObject<HTMLElement>, callback: (rect: DOMRectReadOnly) => void): void;
|
|
2934
3040
|
declare function useRect(ref: React.RefObject<HTMLElement>): DOMRectReadOnly;
|
|
2935
3041
|
|
|
2936
|
-
declare function useVersion<T>(value: T, equal?: (a: T, b: T) => boolean): number;
|
|
2937
|
-
|
|
2938
3042
|
declare const useTimer: ({ immediateStart, }: {
|
|
2939
3043
|
immediateStart?: boolean;
|
|
2940
3044
|
}) => {
|
|
@@ -2956,6 +3060,8 @@ declare function useUserTheme(): {
|
|
|
2956
3060
|
isDarkMode: boolean;
|
|
2957
3061
|
};
|
|
2958
3062
|
|
|
3063
|
+
declare function useVersion<T>(value: T, equal?: (a: T, b: T) => boolean): number;
|
|
3064
|
+
|
|
2959
3065
|
declare const CSS_VARS: {
|
|
2960
3066
|
MOVE_WITH_SPRING_BOUNCE_DURATION: string;
|
|
2961
3067
|
DISPLAY_DELAYED_DURATION: string;
|
|
@@ -3003,6 +3109,7 @@ declare const spacing: {
|
|
|
3003
3109
|
"squid-m": string;
|
|
3004
3110
|
"squid-l": string;
|
|
3005
3111
|
"squid-xl": string;
|
|
3112
|
+
"squid-xl2": string;
|
|
3006
3113
|
"squid-xxl": string;
|
|
3007
3114
|
};
|
|
3008
3115
|
declare const baseTailwindConfig: Config;
|
|
@@ -3016,6 +3123,8 @@ declare const baseTailwindConfig: Config;
|
|
|
3016
3123
|
* @returns The combined class names as a string.
|
|
3017
3124
|
*/
|
|
3018
3125
|
declare const cn: (...inputs: ClassValue[]) => string;
|
|
3126
|
+
declare const remToPx: (rem: string | number, baseFontSize?: number) => number;
|
|
3127
|
+
declare const pxToRem: (px: string | number, baseFontSize?: number) => number;
|
|
3019
3128
|
|
|
3020
3129
|
interface RGB {
|
|
3021
3130
|
r: number;
|
|
@@ -3029,8 +3138,6 @@ interface RGB {
|
|
|
3029
3138
|
* @param style
|
|
3030
3139
|
*/
|
|
3031
3140
|
declare const parseSquidTheme: (userTheme: Theme, themeType: ThemeType) => Record<string, string | undefined> | undefined;
|
|
3032
|
-
declare const remToPx: (rem: string | number, baseFontSize?: number) => number;
|
|
3033
|
-
declare const pxToRem: (px: string | number, baseFontSize?: number) => number;
|
|
3034
3141
|
declare function getContrastColor({ r, g, b, }: {
|
|
3035
3142
|
r: number;
|
|
3036
3143
|
g: number;
|
|
@@ -17031,4 +17138,4 @@ declare const transactionRejectedAnimation: {
|
|
|
17031
17138
|
markers: never[];
|
|
17032
17139
|
};
|
|
17033
17140
|
|
|
17034
|
-
export { ANIMATION_DURATIONS, AccountListItem, AccountsButton, type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, type AllOrNone, AnimationWrapper, Announcement, type AnnouncementProps, AppContainer, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowExpandIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BrokenHeartIcon, BubblesIcon, Button, type ButtonSize, type ButtonVariant, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, CatSquareIcon, CelebrateIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy2Icon, CopyOutlinedIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, DepositAddressView, type DescriptionBlock, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, DollarOutlinedIcon, DollarSolidIcon, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuTitle, type DropdownStyles, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, EyeOpenIcon, FarcasterIcon, FavouriteFilterIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HighestPriceRangeIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, type IconButtonProps, IconLabel, Image, ImageGroup, ImageIcon, type ImageProps, ImageSparkle, ImageStack, ImageState, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LaptopIcon, LightningIcon, LimitIcon, LinkIcon, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MarketCapIcon, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, MoneyBagIcon, MoonIcon, NavigationBar, NewsIcon, NewspaperIcon, NotAllowedIcon, NumericInput, PathSquareIcon, PauseIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PlusIcon, PoopIcon, PowerIcon, PriceChange, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type PublicTheme, PunkIcon, QrCodeIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, type Settings, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileFilledIcon, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, SquidVector, StakeAction, StarLinesIcon, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, SwapAction, SwapConfiguration, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, type SwitchProps, Tab, Tabs, TagIcon, TagIconFilled, TelegramIcon, TextSkeleton, type Theme, ThemePreference, ThemeProvider, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, type Timeframe, Timeline, Timestamp, Toast, TokenDetailsView, TokenGroup, type TokenGroupProps, type TokenGroupVariant, TokenGroups, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, TranslateIcon, TriangleExclamation, TxProgressViewHeader, UnsupportedPairNotice, UsdAmount, WalletFilledIcon, WalletIcon, WalletLink, WrapAction, XSocialIcon, adjustColorForContrast, baseTailwindConfig, blendColors, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, getWalletCardBackground, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseColor, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, themeKeysToCssVariables, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useOnResize, useRect, useTimer, useUserTheme, useVersion };
|
|
17141
|
+
export { ANIMATION_DURATIONS, AccountListItem, AccountsButton, type ActionButton, ActionLayout, ActionLineOutRow, ActionProperties, ActionRow, type ActionStatus, ActionStatusRow, ActionWrapper, AddressButton, AddressHeader, type AllOrNone, AnimationCard, AnimationWrapper, Announcement, type AnnouncementProps, AppContainer, ApplePayIcon, Approve, ApproveAction, ArrowBottomTopIcon, ArrowButton, ArrowCornerDownRightIcon, ArrowDownIcon, ArrowExpandIcon, ArrowLeftIcon, ArrowOutOfBoxIcon, ArrowRightDownCircleIcon, ArrowRightDownIcon, ArrowRightIcon, ArrowRightUpCircleIcon, ArrowRightUpIcon, ArrowRotate, ArrowSplit, ArrowTriangle, ArrowUpIcon, ArrowWallDownIcon, ArrowsSwapIcon, AssetsButton, type AssetsButtonVariant, AtomIcon, BackpackIcon, BadgeImage, BankIcon, type BaseActionProps, type BaseTransactionViewProps, BellAlarmIcon, BlockSkeleton, BodyText, Boost, BoostBadge, BoostButton, BorderedContainer, Breadcrumb, BridgeAction, BridgeHeader, BridgeProperties, BrokenHeartIcon, BubblesIcon, Button, type ButtonSize, type ButtonVariant, BuyNFTHeader, BuyNFTProperties, BuyNFTTransactionView, CSS_VARS, Calendar, CaptionText, CatSquareIcon, CelebrateIcon, ChainLink, Checkmark1Icon, Checkmark2Icon, ChevronArrowIcon, ChevronDownSmallIcon, ChevronGrabberVerticalIcon, ChevronLargeDownIcon, ChevronLargeRightIcon, ChevronRightSmallIcon, ChevronTopIcon, ChevronTopSmallIcon, Chip, type ChipProps, CircleCheckIcon, CircleMinusIcon, CirclePlusIcon, CircleX, CircleXFilledIcon, ClockOutlineIcon, ClockSolidIcon, CodeBracketsIcon, CodeSolidSquareIcon, CoinsAddIcon, CoinsIcon, CoinsOutlinedIcon, Collapse, CollapsibleMenu, CollectionIcon, ColorPaletteIcon, CommandIcon, CompassRoundOutlinedIcon, CompassRoundSolidIcon, ConsoleIcon, Copy2Icon, CopyOutlinedIcon, CreditCardIcon, CrossAnimatedIcon, CrossedOutSunSolidIcon, DashboardFast, type DeepPartial, DepositAddressView, type DescriptionBlock, DescriptionBlocks, DetailsToolbar, DiscordIcon, DockIconAnalytics, DockIconCheckout, DockIconHelp, DockIconProfile, DockIconScan, DockIconSwap, DockSwapIcon, DollarOutlinedIcon, DollarSolidIcon, DotGrid1x3HorizontalIcon, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuTitle, type DropdownPosition, type DropdownStyles, EmojiMeh, EmojiSadIcon, EmptyHeartIcon, ErrorMessage, EthereumIcon, ExplosionIcon, EyeOpenIcon, FarcasterIcon, FavouriteFilterIcon, FeeButton, FeesAction, type FeesActionProps, FeesLines, FeesTotal, FileDownloadIcon, FilledHeartIcon, FilterAscendingIcon, FilterButton, FilterIcon, FilterTimelineIcon, GasIcon, GhostIcon, GithubIcon, GooglePayIcon, HashLink, HeadingText, HeartSmallIcon, HelpIcon, HighestPriceRangeIcon, HistoryItem, type HistoryItemStatus, HomeIcon, IconButton, type IconButtonProps, IconLabel, Image, ImageGroup, ImageIcon, type ImageProps, ImageSparkle, ImageStack, ImageState, IncompleteAction, InfinityIcon, InfoBox, Inline, Input, InteractionHeader, InteractionProperties, InteractionTransactionView, Join, LaptopIcon, LargeNumericInput, LightningIcon, LimitIcon, LinkIcon, ListItem, ListItemActionsButton, Loader, LoadingProvider, LoadingSkeleton, MEDIA_QUERIES, MarketCapIcon, MaxIcon, Menu, MenuItem, MenuSwapIcon, MirrorIcon, Modal, ModalContent, ModalContentDivider, ModalTitle, MoneyBagIcon, MoonIcon, NavigationBar, NewsIcon, NewspaperIcon, NotAllowedIcon, NumericInput, type NumericInputProps, PathSquareIcon, PauseIcon, PercentIcon, PhoneIcon, PieChartIcon, PipeSeparator, PluginIcon, PlusIcon, PoopIcon, PowerIcon, PriceChange, ProductCard, ProfileHeader, ProfileHeaderBackground, PropertiesLayout, PropertyListItem, type PropertyListItemProps, type Props$1 as Props, type PublicTheme, PunkIcon, QrCodeIcon, RangeInput, ReceiptBillIcon, ReceiveNFTAction, ReceiveTokensAction, RefreshIcon, ReorderIcon, RouteStep, STEP_ITEM_HEIGHT, SearchIcon, SectionTitle, SendTokensAction, type Settings, SettingsButton, type SettingsButtonProps, type SettingsControl, SettingsGearIcon, SettingsItem, type SettingsItemProps, SettingsSlider, SettingsSliderIcon, type SettingsSliderProps, ShoppingBagIcon, SizeTransition, SmileFilledIcon, SmileIcon, SnapIcon, SortIcon, SparkleIcon, SparklesIcon, SquareArrowCenter, SquareArrowTopLeftIcon, SquareArrowTopRight2Icon, SquidLogo, SquidVector, StakeAction, StarLinesIcon, StartAction, StocksIcon, SuccessAction, SunIcon, SunOutlinedIcon, SunriseIcon, SunriseSmallIcon, SwapAction, SwapConfiguration, SwapErrorIcon, SwapHeader, type SwapHeaderProps, SwapIcon, SwapInputsIcon, SwapProgressView, SwapProperties, type SwapPropertiesProps, SwapState, type SwapStep, SwapStepItem, SwapStepSeparator, SwapStepsCollapsed, type SwapStepsCollapsedFooterButton, SwapSuccessIcon, SwapTransactionView, SwapWarningIcon, Switch, type SwitchProps, Tab, Tabs, TagIcon, TagIconFilled, TelegramIcon, TextSkeleton, type Theme, ThemePreference, ThemeProvider, type ThemeType, ThumbsUp, Tick, TimeFliesIcon, type Timeframe, Timeline, Timestamp, Toast, type Token$3 as Token, TokenDetailsView, TokenGroup, type TokenGroupProps, type TokenGroupVariant, TokenGroups, TokenPair, Tooltip, type TooltipProps, type TooltipThreshold, type TooltipWidth, TradingViewStepsIcon, TransactionAction, type TransactionActionProps, type TransactionActionType, TransactionFilters, TransactionHeader, TransactionHeaderLayout, type TransactionHeaderProps, type TransactionHeaderType, TransactionItem, TransactionProperties, type TransactionPropertiesProps, type TransactionPropertiesType, TransactionSearch, TransactionState, TransactionView, TransactionViewLayout, type TransactionViewProps, type TransactionViewType, Transfer, TranslateIcon, TriangleExclamation, TxProgressViewHeader, UnsupportedPairNotice, UsdAmount, UserInputType, WalletFilledIcon, WalletIcon, WalletLink, WrapAction, XSocialIcon, adjustColorForContrast, baseTailwindConfig, blendColors, buttonRoundedClassMap, cn, darkTheme, getColorBrightness, getContrastColor, getHexColorFromOpacityPercentage, getWalletCardBackground, hexToRgb, isValidHexColor, lightTheme, linkActionTimelineProps, parseColor, parseSquidTheme, pxToRem, remToPx, rgbToHex, spacing, statusTextClassMap, themeKeysToCssVariables, transactionErrorPauseAnimation, transactionFailureAnimation, transactionHalfSuccessAnimation, transactionPendingAnimation, transactionProcessingAnimation, transactionRejectedAnimation, transactionSuccessAnimation, useCollapsibleMenu, useDropdownMenu, useMediaQuery, useNumericInput, useOnResize, useRect, useTimer, useUserTheme, useVersion };
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|