@0xsquid/ui 2.6.3 → 2.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/cjs/index.js +333 -148
  2. package/dist/cjs/types/components/buttons/Button.d.ts +4 -1
  3. package/dist/cjs/types/components/buttons/Chip.d.ts +1 -1
  4. package/dist/cjs/types/components/controls/LargeNumericInput.d.ts +6 -0
  5. package/dist/cjs/types/components/controls/NumericInput.d.ts +2 -1
  6. package/dist/cjs/types/components/controls/Switch.d.ts +1 -1
  7. package/dist/cjs/types/components/controls/index.d.ts +2 -1
  8. package/dist/cjs/types/components/icons/Generic.d.ts +8 -0
  9. package/dist/cjs/types/components/layout/AnimationWrapper.d.ts +3 -0
  10. package/dist/cjs/types/components/layout/ModalTitle.d.ts +5 -0
  11. package/dist/cjs/types/components/layout/SwapConfiguration.d.ts +3 -1
  12. package/dist/cjs/types/components/layout/index.d.ts +1 -0
  13. package/dist/cjs/types/components/lists/ListItem.d.ts +4 -1
  14. package/dist/cjs/types/core/utils.d.ts +7 -0
  15. package/dist/cjs/types/hooks/useColorFromSeed.d.ts +1 -0
  16. package/dist/cjs/types/stories/buttons/AssetsButton.stories.d.ts +1 -0
  17. package/dist/cjs/types/stories/buttons/Button.stories.d.ts +30 -15
  18. package/dist/cjs/types/stories/buttons/Chip.stories.d.ts +2 -1
  19. package/dist/cjs/types/stories/controls/Switch.stories.d.ts +5 -3
  20. package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +3 -0
  21. package/dist/cjs/types/types/components.d.ts +1 -1
  22. package/dist/cjs/types/types/config.d.ts +3 -3
  23. package/dist/cjs/types/types/index.d.ts +1 -1
  24. package/dist/esm/index.js +329 -150
  25. package/dist/esm/types/components/buttons/Button.d.ts +4 -1
  26. package/dist/esm/types/components/buttons/Chip.d.ts +1 -1
  27. package/dist/esm/types/components/controls/LargeNumericInput.d.ts +6 -0
  28. package/dist/esm/types/components/controls/NumericInput.d.ts +2 -1
  29. package/dist/esm/types/components/controls/Switch.d.ts +1 -1
  30. package/dist/esm/types/components/controls/index.d.ts +2 -1
  31. package/dist/esm/types/components/icons/Generic.d.ts +8 -0
  32. package/dist/esm/types/components/layout/AnimationWrapper.d.ts +3 -0
  33. package/dist/esm/types/components/layout/ModalTitle.d.ts +5 -0
  34. package/dist/esm/types/components/layout/SwapConfiguration.d.ts +3 -1
  35. package/dist/esm/types/components/layout/index.d.ts +1 -0
  36. package/dist/esm/types/components/lists/ListItem.d.ts +4 -1
  37. package/dist/esm/types/core/utils.d.ts +7 -0
  38. package/dist/esm/types/hooks/useColorFromSeed.d.ts +1 -0
  39. package/dist/esm/types/stories/buttons/AssetsButton.stories.d.ts +1 -0
  40. package/dist/esm/types/stories/buttons/Button.stories.d.ts +30 -15
  41. package/dist/esm/types/stories/buttons/Chip.stories.d.ts +2 -1
  42. package/dist/esm/types/stories/controls/Switch.stories.d.ts +5 -3
  43. package/dist/esm/types/stories/lists/ListItem.stories.d.ts +3 -0
  44. package/dist/esm/types/types/components.d.ts +1 -1
  45. package/dist/esm/types/types/config.d.ts +3 -3
  46. package/dist/esm/types/types/index.d.ts +1 -1
  47. package/dist/index.css +1 -1
  48. package/dist/index.d.ts +51 -20
  49. package/package.json +1 -1
@@ -10,10 +10,13 @@ interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
10
10
  link?: string;
11
11
  isLoading?: boolean;
12
12
  showLoader?: boolean;
13
+ loaderSize?: LoaderSize;
13
14
  chip?: ChipProps;
14
15
  containerClassName?: string;
15
16
  buttonRef?: React.Ref<HTMLButtonElement>;
16
17
  anchorRef?: React.Ref<HTMLAnchorElement>;
17
18
  }
18
- export declare function Button({ label, disabled, size, variant, icon, link, isLoading, showLoader, chip, containerClassName, anchorRef, buttonRef, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
19
+ type LoaderSize = "sm" | "md" | "lg";
20
+ export declare const buttonRoundedClassMap: Record<ButtonSize, Record<ButtonVariant, string>>;
21
+ export declare function Button({ label, disabled, size, variant, icon, link, isLoading, showLoader, loaderSize, chip, containerClassName, anchorRef, buttonRef, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
19
22
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
2
+ export interface ChipProps extends React.HTMLAttributes<HTMLDivElement | HTMLButtonElement> {
3
3
  label?: string;
4
4
  icon?: React.ReactNode;
5
5
  }
@@ -0,0 +1,6 @@
1
+ interface LargeNumericInputProps {
2
+ value?: string;
3
+ onChange: (value: string) => void;
4
+ }
5
+ export declare function LargeNumericInput({ onChange, value }: LargeNumericInputProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -34,6 +34,7 @@ interface NumericInputProps extends React.InputHTMLAttributes<HTMLInputElement>
34
34
  tooltip?: Omit<TooltipProps, "children">;
35
35
  hideMaxChip?: boolean;
36
36
  };
37
+ debounceInput?: boolean;
37
38
  }
38
- export declare function NumericInput({ priceImpactPercentage, balance, error, criticalPriceImpactPercentage, token, onAmountChange, forcedAmount, maxUsdDecimals, formatIfVerySmall, showDetails, isLoading, direction, inputModeButton, isInteractive, balanceButton, ...props }: NumericInputProps): import("react/jsx-runtime").JSX.Element;
39
+ export declare function NumericInput({ priceImpactPercentage, balance, error, criticalPriceImpactPercentage, token, onAmountChange, forcedAmount, maxUsdDecimals, formatIfVerySmall, showDetails, isLoading, direction, inputModeButton, isInteractive, balanceButton, debounceInput, ...props }: NumericInputProps): import("react/jsx-runtime").JSX.Element;
39
40
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SwitchSize } from "../../types/components";
2
+ import { type SwitchSize } from "../../types/components";
3
3
  export interface SwitchProps {
4
4
  checked?: boolean;
5
5
  onChange?: (checked: boolean) => void;
@@ -1,6 +1,7 @@
1
1
  export * from "./Input";
2
+ export * from "./LargeNumericInput";
2
3
  export * from "./NumericInput";
4
+ export * from "./RangeInput";
3
5
  export * from "./SettingsSlider";
4
6
  export * from "./Switch";
5
7
  export * from "./Tooltip";
6
- export * from "./RangeInput";
@@ -114,3 +114,11 @@ export declare function MoneyBagIcon({ className, size, }: {
114
114
  className?: string;
115
115
  size?: string;
116
116
  }): import("react/jsx-runtime").JSX.Element;
117
+ export declare function PluginIcon({ size, className, }: {
118
+ size?: string;
119
+ className?: string;
120
+ }): import("react/jsx-runtime").JSX.Element;
121
+ export declare function CircleCheckIcon({ className, size, }: {
122
+ className?: string;
123
+ size?: string;
124
+ }): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,7 @@ import { Player } from "@lottiefiles/react-lottie-player";
3
3
  interface Props extends React.ComponentProps<typeof Player> {
4
4
  }
5
5
  export declare const AnimationWrapper: (playerProps: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export declare function AnimationCard({ children }: {
7
+ children?: React.ReactNode;
8
+ }): import("react/jsx-runtime").JSX.Element;
6
9
  export {};
@@ -0,0 +1,5 @@
1
+ interface ModalTitleProps {
2
+ title: string;
3
+ }
4
+ export declare function ModalTitle({ title }: ModalTitleProps): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -48,6 +48,8 @@ interface SwapConfigurationProps {
48
48
  disabled?: boolean;
49
49
  };
50
50
  showNumericInputDetails?: boolean;
51
+ fullHeight?: boolean;
52
+ debounceInput?: boolean;
51
53
  }
52
- export declare function SwapConfiguration({ amount, tokenPrice, isFetching: isFetchingProp, chain, token, direction, onAmountChange, balance, criticalPriceImpactPercentage, error, priceImpactPercentage, maxUsdDecimals, isInputInteractive, isLoading, inputModeButton, balanceButton, assetsButton, walletButton, showNumericInputDetails, }: SwapConfigurationProps): import("react/jsx-runtime").JSX.Element;
54
+ export 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, }: SwapConfigurationProps): import("react/jsx-runtime").JSX.Element;
53
55
  export {};
@@ -16,6 +16,7 @@ export * from "./Join";
16
16
  export * from "./Menu";
17
17
  export * from "./Modal";
18
18
  export * from "./ModalContent";
19
+ export * from "./ModalTitle";
19
20
  export * from "./NavigationBar";
20
21
  export * from "./PipeSeparator";
21
22
  export * from "./ProductCard";
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type ImageRoundedSize } from "../../types/components";
3
+ type HTMLInteractiveItem = HTMLButtonElement | HTMLDivElement | HTMLLabelElement;
3
4
  interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
4
5
  itemTitle: string | React.ReactNode;
5
6
  mainImageUrl?: string;
@@ -27,9 +28,11 @@ interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
27
28
  itemsContainerRef?: React.RefObject<HTMLElement>;
28
29
  imageGroup?: string[];
29
30
  multilineSubtitle?: boolean;
31
+ control?: React.ReactNode;
32
+ onClick?: (event: React.MouseEvent<HTMLInteractiveItem>) => void;
30
33
  }
31
34
  type ListItemSize = "small" | "large";
32
- export 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): import("react/jsx-runtime").JSX.Element;
35
+ export 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): import("react/jsx-runtime").JSX.Element;
33
36
  export declare const ListItemActionsButton: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
34
37
  isActive?: boolean | undefined;
35
38
  }, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -65,4 +65,11 @@ export declare function replaceKeys(obj: Record<string, any>, options: ReplaceKe
65
65
  * mapToCssVariables({ "accent-gold": { cssVariable: "--accent-gold" } }) -> { "accent-gold": "var(--accent-gold)" }
66
66
  */
67
67
  export declare function mapToCssVariables<T extends Record<string, any>>(obj: T): Record<keyof T & string, string>;
68
+ /**
69
+ * Simple hash function to create a deterministic index from a given string.
70
+ * @param {string} str - The input string to hash.
71
+ * @param {number} max - The maximum value for the hash.
72
+ * @returns {number} - The index within the array.
73
+ */
74
+ export declare function hashStringToIndex(str: string, max: number): number;
68
75
  export {};
@@ -0,0 +1 @@
1
+ export declare function useColorFromSeed(seed: string): string | undefined;
@@ -13,3 +13,4 @@ export declare const ChainAndTokenLightText: Story;
13
13
  export declare const ChainAndTokenDarkText: Story;
14
14
  export declare const LongTokenSymbol: Story;
15
15
  export declare const Tooltip: Story;
16
+ export declare const BrokenTokenImage: Story;
@@ -3,32 +3,47 @@ import { Button } from "../../components/buttons/Button";
3
3
  declare const meta: Meta<typeof Button>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
+ export declare const SmallPrimary: Story;
6
7
  export declare const MediumPrimary: Story;
8
+ export declare const LargePrimary: Story;
9
+ export declare const SmallSecondary: Story;
7
10
  export declare const MediumSecondary: Story;
11
+ export declare const LargeSecondary: Story;
12
+ export declare const SmallTertiary: Story;
8
13
  export declare const MediumTertiary: Story;
14
+ export declare const LargeTertiary: Story;
15
+ export declare const SmallDisabled: Story;
9
16
  export declare const MediumDisabled: Story;
10
- export declare const MediumAndLink: Story;
11
- export declare const MediumAndLinkDisabled: Story;
12
- export declare const MediumPrimaryIconOnly: Story;
13
- export declare const MediumSecondaryIconOnly: Story;
14
- export declare const MediumTertiaryIconOnly: Story;
17
+ export declare const LargeDisabled: Story;
18
+ export declare const SmallWithLink: Story;
19
+ export declare const MediumWithLink: Story;
20
+ export declare const LargeWithLink: Story;
21
+ export declare const SmallDisabledWithLink: Story;
22
+ export declare const MediumDisabledWithLink: Story;
23
+ export declare const LargeDisabledWithLink: Story;
24
+ export declare const SmallIconOnly: Story;
25
+ export declare const MediumIconOnly: Story;
26
+ export declare const LargeIconOnly: Story;
27
+ export declare const SmallDisabledIconOnly: Story;
15
28
  export declare const MediumDisabledIconOnly: Story;
16
- export declare const MediumPrimaryIconAndLabel: Story;
17
- export declare const MediumSecondaryIconAndLabel: Story;
18
- export declare const MediumTertiaryIconAndLabel: Story;
29
+ export declare const LargeDisabledIconOnly: Story;
30
+ export declare const SmallIconAndLabel: Story;
31
+ export declare const MediumIconAndLabel: Story;
32
+ export declare const LargeIconAndLabel: Story;
19
33
  export declare const MediumDisabledIconAndLabel: Story;
20
- export declare const LargePrimary: Story;
21
- export declare const LargeSecondary: Story;
22
- export declare const LargeTertiary: Story;
23
- export declare const LargeDisabled: Story;
24
- export declare const LargeAndLink: Story;
25
- export declare const LargeAndLinkDisabled: Story;
34
+ export declare const SmallWithLoader: Story;
35
+ export declare const MediumWithLoader: Story;
26
36
  export declare const LargeWithLoader: Story;
27
37
  export declare const LargeDisabledWithLoader: Story;
38
+ export declare const SmallWithIconLoading: Story;
28
39
  export declare const MediumWithIconLoading: Story;
40
+ export declare const LargeWithIconLoading: Story;
41
+ export declare const SmallWithLabelLoading: Story;
29
42
  export declare const MediumWithLabelLoading: Story;
30
- export declare const MediumWithLongLabelLoading: Story;
31
43
  export declare const LargeWithLabelLoading: Story;
44
+ export declare const SmallWithLongLabelLoading: Story;
45
+ export declare const MediumWithLongLabelLoading: Story;
32
46
  export declare const LargeWithLongLabelLoading: Story;
47
+ export declare const SmallWithChip: Story;
33
48
  export declare const MediumWithChip: Story;
34
49
  export declare const LargeWithChip: Story;
@@ -1,7 +1,8 @@
1
- import { Meta, StoryObj } from "@storybook/react";
1
+ import { type Meta, type StoryObj } from "@storybook/react";
2
2
  import { Chip } from "../../components/buttons/Chip";
3
3
  declare const meta: Meta<typeof Chip>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const Text: Story;
7
7
  export declare const Icon: Story;
8
+ export declare const Interactive: Story;
@@ -1,11 +1,13 @@
1
- import { Meta, StoryObj } from "@storybook/react";
1
+ import { type Meta, type StoryObj } from "@storybook/react";
2
2
  import { Switch } from "../../components/controls/Switch";
3
3
  declare const meta: Meta<typeof Switch>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const LargeChecked: Story;
7
7
  export declare const LargeUnchecked: Story;
8
- export declare const LargeDisabled: Story;
8
+ export declare const LargeCheckedDisabled: Story;
9
+ export declare const LargeUncheckedDisabled: Story;
9
10
  export declare const SmallChecked: Story;
10
11
  export declare const SmallUnchecked: Story;
11
- export declare const SmallDisabled: Story;
12
+ export declare const SmallCheckedDisabled: Story;
13
+ export declare const SmallUncheckedDisabled: Story;
@@ -33,3 +33,6 @@ export declare const SmallWithoutExtraPadding: Story;
33
33
  export declare const LargeWithoutExtraPadding: Story;
34
34
  export declare const LargeWithDropdownMenu: Story;
35
35
  export declare const LargeWithMultilineSubtitle: Story;
36
+ export declare const SmallWithSwitchControl: Story;
37
+ export declare const LargeWithSwitchControl: Story;
38
+ export declare const LargeWithSwitchControlDisabled: Story;
@@ -1,7 +1,7 @@
1
1
  export type TextSize = "small" | "medium" | "large";
2
2
  export type SwitchSize = "small" | "large";
3
3
  export type ButtonVariant = "primary" | "secondary" | "tertiary";
4
- export type ButtonSize = "md" | "lg";
4
+ export type ButtonSize = "sm" | "md" | "lg";
5
5
  export type SwapDirection = "from" | "to";
6
6
  export type BoostMode = "normal" | "boost";
7
7
  export type HistoryItemStatus = "completed" | "pending" | "failed" | "warning";
@@ -1,6 +1,6 @@
1
1
  import { type DeepPartial } from "./utils";
2
- 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"];
3
- 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"];
2
+ 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"];
3
+ 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"];
4
4
  declare const THEME_FONT_SIZE_KEYS: readonly ["caption", "body-large", "body-medium", "body-small", "heading-small", "heading-medium", "heading-large"];
5
5
  declare const THEME_FONT_WEIGHT_KEYS: readonly ["caption", "body-small", "body-medium", "body-large", "heading-small", "heading-medium", "heading-large"];
6
6
  declare const THEME_FONT_FAMILY_KEYS: readonly ["squid-main"];
@@ -26,7 +26,7 @@ export interface InternalTheme {
26
26
  * These colors are optional
27
27
  * and will be generated internally using the base colors if not provided
28
28
  */
29
- 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";
29
+ 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";
30
30
  /**
31
31
  * These colors are generated internally using the base colors
32
32
  */
@@ -1,4 +1,4 @@
1
1
  export type { Theme, PublicTheme, Settings } from "./config";
2
2
  export * from "./utils";
3
- export type { SwapState, ThemeType, SwapStep, HistoryItemStatus, ActionStatus, AssetsButtonVariant, ButtonVariant, ButtonSize, DescriptionBlock, } from "./components";
3
+ export type { SwapState, ThemeType, SwapStep, HistoryItemStatus, ActionStatus, AssetsButtonVariant, ButtonVariant, ButtonSize, DescriptionBlock, DropdownPosition, } from "./components";
4
4
  export { themeKeysToCssVariables } from "./config";