@0xsquid/ui 2.6.2 → 2.6.4

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 (51) hide show
  1. package/dist/cjs/index.js +221 -72
  2. package/dist/cjs/types/components/buttons/Button.d.ts +4 -1
  3. package/dist/cjs/types/components/controls/Switch.d.ts +1 -1
  4. package/dist/cjs/types/components/icons/Arrow.d.ts +2 -1
  5. package/dist/cjs/types/components/icons/Generic.d.ts +11 -2
  6. package/dist/cjs/types/components/icons/Social.d.ts +9 -1
  7. package/dist/cjs/types/components/icons/index.d.ts +0 -1
  8. package/dist/cjs/types/components/layout/DropdownMenu.d.ts +2 -1
  9. package/dist/cjs/types/components/lists/ListItem.d.ts +4 -1
  10. package/dist/cjs/types/components/views/SwapProgressView.d.ts +3 -2
  11. package/dist/cjs/types/core/utils.d.ts +7 -0
  12. package/dist/cjs/types/hooks/useColorFromSeed.d.ts +1 -0
  13. package/dist/cjs/types/hooks/useDropdownMenu.d.ts +5 -5
  14. package/dist/cjs/types/stories/buttons/AssetsButton.stories.d.ts +1 -0
  15. package/dist/cjs/types/stories/buttons/Button.stories.d.ts +30 -15
  16. package/dist/cjs/types/stories/controls/Switch.stories.d.ts +5 -3
  17. package/dist/cjs/types/stories/layout/AppContainer.stories.d.ts +1 -1
  18. package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +3 -0
  19. package/dist/cjs/types/stories/views/MainView.stories.d.ts +1 -1
  20. package/dist/cjs/types/stories/views/SwapDetailsView.stories.d.ts +1 -1
  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 +215 -70
  25. package/dist/esm/types/components/buttons/Button.d.ts +4 -1
  26. package/dist/esm/types/components/controls/Switch.d.ts +1 -1
  27. package/dist/esm/types/components/icons/Arrow.d.ts +2 -1
  28. package/dist/esm/types/components/icons/Generic.d.ts +11 -2
  29. package/dist/esm/types/components/icons/Social.d.ts +9 -1
  30. package/dist/esm/types/components/icons/index.d.ts +0 -1
  31. package/dist/esm/types/components/layout/DropdownMenu.d.ts +2 -1
  32. package/dist/esm/types/components/lists/ListItem.d.ts +4 -1
  33. package/dist/esm/types/components/views/SwapProgressView.d.ts +3 -2
  34. package/dist/esm/types/core/utils.d.ts +7 -0
  35. package/dist/esm/types/hooks/useColorFromSeed.d.ts +1 -0
  36. package/dist/esm/types/hooks/useDropdownMenu.d.ts +5 -5
  37. package/dist/esm/types/stories/buttons/AssetsButton.stories.d.ts +1 -0
  38. package/dist/esm/types/stories/buttons/Button.stories.d.ts +30 -15
  39. package/dist/esm/types/stories/controls/Switch.stories.d.ts +5 -3
  40. package/dist/esm/types/stories/layout/AppContainer.stories.d.ts +1 -1
  41. package/dist/esm/types/stories/lists/ListItem.stories.d.ts +3 -0
  42. package/dist/esm/types/stories/views/MainView.stories.d.ts +1 -1
  43. package/dist/esm/types/stories/views/SwapDetailsView.stories.d.ts +1 -1
  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 +43 -23
  49. package/package.json +1 -1
  50. package/dist/cjs/types/components/icons/Copy.d.ts +0 -5
  51. package/dist/esm/types/components/icons/Copy.d.ts +0 -5
@@ -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
- 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;
@@ -75,8 +75,9 @@ export declare function ArrowCornerDownRightIcon({ size, className, }: {
75
75
  size?: string;
76
76
  className?: string;
77
77
  }): import("react/jsx-runtime").JSX.Element;
78
- export declare function ChevronDownSmallIcon({ size, className, }: {
78
+ export declare function ChevronDownSmallIcon({ size, strokeWidth, className, }: {
79
79
  size?: string;
80
+ strokeWidth?: string;
80
81
  className?: string;
81
82
  }): import("react/jsx-runtime").JSX.Element;
82
83
  export declare function ArrowDownIcon({ size, className, }: {
@@ -62,11 +62,12 @@ export declare function LaptopIcon({ size, className, }: {
62
62
  size?: string;
63
63
  className?: string;
64
64
  }): import("react/jsx-runtime").JSX.Element;
65
- export declare function CopyOutlinedIcon({ size, className, }: {
65
+ export declare function CopyOutlinedIcon({ size, strokeWidth, className, }: {
66
66
  size?: string;
67
67
  className?: string;
68
+ strokeWidth?: string;
68
69
  }): import("react/jsx-runtime").JSX.Element;
69
- export declare function CopyIcon({ size, className, }: {
70
+ export declare function Copy2Icon({ size, className, }: {
70
71
  size?: string;
71
72
  className?: string;
72
73
  }): import("react/jsx-runtime").JSX.Element;
@@ -113,3 +114,11 @@ export declare function MoneyBagIcon({ className, size, }: {
113
114
  className?: string;
114
115
  size?: string;
115
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;
@@ -1,4 +1,4 @@
1
- export declare function XSocial({ className, size, }: {
1
+ export declare function XSocialIcon({ className, size, }: {
2
2
  size?: string;
3
3
  className?: string;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -14,3 +14,11 @@ export declare function MirrorIcon({ size, className, }: {
14
14
  size?: string;
15
15
  className?: string;
16
16
  }): import("react/jsx-runtime").JSX.Element;
17
+ export declare function FarcasterIcon({ size, className, }: {
18
+ size?: string;
19
+ className?: string;
20
+ }): import("react/jsx-runtime").JSX.Element;
21
+ export declare function TelegramIcon({ className, size, }: {
22
+ className?: string;
23
+ size?: string;
24
+ }): import("react/jsx-runtime").JSX.Element;
@@ -12,7 +12,6 @@ export * from "./Clock";
12
12
  export * from "./Coins";
13
13
  export * from "./Collection";
14
14
  export * from "./CompassRound";
15
- export * from "./Copy";
16
15
  export * from "./CrossAnimatedIcon";
17
16
  export * from "./DashboardFast";
18
17
  export * from "./DockIcons";
@@ -10,6 +10,7 @@ interface DropdownMenuProps {
10
10
  children?: React.ReactNode;
11
11
  contentWrapperProps?: React.ComponentProps<"div">;
12
12
  menuContentClassName?: string;
13
+ trigger?: React.ReactNode;
13
14
  }
14
- export declare function DropdownMenu({ dropdownRef, className, menuRef, isHidden, listClassName, containerClassName, children, contentWrapperProps, menuContentClassName, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function DropdownMenu({ dropdownRef, className, menuRef, isHidden, listClassName, containerClassName, children, contentWrapperProps, menuContentClassName, trigger, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
15
16
  export {};
@@ -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>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SwapState, type SwapStep } from "../../types/components";
2
3
  import { type SwapStepsCollapsedFooterButton } from "../layout/SwapStepsCollapsed";
3
4
  interface ChainData {
@@ -9,12 +10,12 @@ interface Token {
9
10
  logoUrl: string;
10
11
  bgColor: string;
11
12
  }
12
- export declare function SwapProgressView({ steps, isOpen, handleClose, handleComplete, socialLink, supportLink, fromAmount, fromChain, fromToken, toAmount, toChain, toToken, fromAddressFormatted, toAddressFormatted, swapState, estimatedTimeToComplete, footerButton, refundTokenSymbol, addGasLink, }: {
13
+ export declare function SwapProgressView({ steps, isOpen, handleClose, handleComplete, supportLink, fromAmount, fromChain, fromToken, toAmount, toChain, toToken, fromAddressFormatted, toAddressFormatted, swapState, estimatedTimeToComplete, footerButton, refundTokenSymbol, addGasLink, shareSwapDropdownContent, }: {
13
14
  steps: SwapStep[];
14
15
  handleClose?: (swapState: SwapState) => void;
15
16
  handleComplete?: () => void;
16
17
  isOpen?: boolean;
17
- socialLink?: string;
18
+ shareSwapDropdownContent?: React.ReactNode;
18
19
  supportLink?: string;
19
20
  fromToken: Token;
20
21
  toToken: Token;
@@ -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;
@@ -1,11 +1,11 @@
1
- import React from "react";
2
- export type DropdownPosition = "top" | "bottom" | "center";
3
- export type DropdownStyles = {
1
+ import type React from "react";
2
+ import { type DropdownPosition } from "../types/components";
3
+ export interface DropdownStyles {
4
4
  position: DropdownPosition;
5
5
  maxHeight: number | null;
6
- };
6
+ }
7
7
  interface UseDropdownMenuParams {
8
- initialIsModalOpen?: boolean;
8
+ initialIsDropdownOpen?: boolean;
9
9
  itemsContainerRef?: React.RefObject<HTMLElement>;
10
10
  }
11
11
  export declare function useDropdownMenu(props?: UseDropdownMenuParams): {
@@ -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,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;
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from "@storybook/react/*";
1
+ import { type Meta, type StoryObj } from "@storybook/react/*";
2
2
  declare const meta: Meta<typeof SwitchingAppContainer>;
3
3
  export default meta;
4
4
  type Story = StoryObj<typeof meta>;
@@ -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,4 +1,4 @@
1
- import { Meta, StoryObj } from "@storybook/react";
1
+ import { type Meta, type StoryObj } from "@storybook/react";
2
2
  import { MainView } from "../../components/views/MainView";
3
3
  declare const meta: Meta<typeof MainView>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from "@storybook/react";
1
+ import { type Meta, type StoryObj } from "@storybook/react";
2
2
  import { SwapDetailsView } from "../../components/views/SwapDetailsView";
3
3
  declare const meta: Meta<typeof SwapDetailsView>;
4
4
  export default meta;
@@ -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";