@0xsquid/ui 0.18.0 → 0.18.1-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.
@@ -10,5 +10,6 @@ export interface TooltipProps {
10
10
  childrenClassName?: string;
11
11
  tooltipClassName?: string;
12
12
  displayDelayMs?: number;
13
+ containerRef?: React.RefObject<HTMLDivElement>;
13
14
  }
14
- export declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold, containerClassName, childrenClassName, tooltipClassName, displayDelayMs, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold, containerClassName, childrenClassName, tooltipClassName, displayDelayMs, containerRef: _containerRef, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ interface MenuProps extends React.ComponentProps<'div'> {
5
5
  contentClassName?: string;
6
6
  rounded?: Rounded;
7
7
  menuRef?: React.RefObject<HTMLDivElement>;
8
+ contentWrapperClassName?: string;
8
9
  }
9
- export declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, ...props }: MenuProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, contentWrapperClassName, ...props }: MenuProps): import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -1,3 +1,4 @@
1
- export declare function SwapDetailsView({ isLoading }: {
1
+ export declare function SwapDetailsView({ isLoading, canToggleBoostMode, }: {
2
2
  isLoading?: boolean;
3
+ canToggleBoostMode?: boolean;
3
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { MEDIA_QUERIES } from './constants';
@@ -2,3 +2,4 @@ export * from './components';
2
2
  export * from './providers';
3
3
  export * from './hooks';
4
4
  export * from './types';
5
+ export * from './core';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface ContainerStore {
3
+ containerRef: React.RefObject<HTMLDivElement> | undefined;
4
+ }
5
+ export declare const useContainerStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ContainerStore>>;
6
+ export {};
@@ -5,3 +5,4 @@ export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const Default: Story;
7
7
  export declare const Loading: Story;
8
+ export declare const BoostDisabled: Story;