@0xsquid/ui 0.22.1 → 0.23.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.
@@ -11,5 +11,6 @@ export interface TooltipProps {
11
11
  tooltipClassName?: string;
12
12
  displayDelayMs?: number;
13
13
  containerRef?: React.RefObject<HTMLElement>;
14
+ showOnMobile?: boolean;
14
15
  }
15
- export declare function Tooltip({ children, tooltipContent, tooltipWidth, threshold, containerClassName, childrenClassName, tooltipClassName, displayDelayMs, containerRef: containerRefProp, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function Tooltip(props: TooltipProps): import("react/jsx-runtime").JSX.Element;
@@ -8,7 +8,7 @@ export type ActionButton = {
8
8
  tooltip?: Omit<TooltipProps, 'children'>;
9
9
  chip?: ChipProps;
10
10
  };
11
- interface NavigationBarProps {
11
+ interface NavigationBarProps extends React.ComponentProps<'nav'> {
12
12
  title?: string;
13
13
  displayBackButton?: boolean;
14
14
  logoUrl?: string;
@@ -18,5 +18,5 @@ interface NavigationBarProps {
18
18
  actions?: ActionButton[];
19
19
  isLoading?: boolean;
20
20
  }
21
- export declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, isLoading, }: NavigationBarProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, isLoading, ...props }: NavigationBarProps): import("react/jsx-runtime").JSX.Element;
22
22
  export {};
@@ -30,10 +30,10 @@ export declare const ANIMATION_TIMINGS: {
30
30
  SHOW_ROUTE: string;
31
31
  HIDE_ROUTE: string;
32
32
  };
33
- type MediaQuery = 'MOBILE_LG';
33
+ type MediaQuery = 'MOBILE_LG' | 'MOBILE_SM_HEIGHT' | 'MOBILE_XS' | 'MOBILE_XS_HEIGHT';
34
34
  export declare const MEDIA_QUERIES: Record<MediaQuery, {
35
35
  media: string;
36
36
  key: string;
37
- value: string;
37
+ value: number;
38
38
  }>;
39
39
  export {};