@blockscout/ui-toolkit 2.5.2 → 2.6.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.
@@ -0,0 +1,11 @@
1
+ import { EmptyState as ChakraEmptyState } from '@chakra-ui/react';
2
+ import * as React from 'react';
3
+ export type EmptyStateType = 'query' | 'stats' | 'coming_soon';
4
+ export interface EmptyStateProps extends ChakraEmptyState.RootProps {
5
+ title?: string;
6
+ description?: React.ReactNode;
7
+ term?: string;
8
+ type?: EmptyStateType;
9
+ icon?: React.ReactNode;
10
+ }
11
+ export declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
@@ -10,5 +10,6 @@ export interface TagProps extends ChakraTag.RootProps {
10
10
  truncated?: boolean;
11
11
  loading?: boolean;
12
12
  selected?: boolean;
13
+ disabled?: boolean;
13
14
  }
14
15
  export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,11 @@
1
+ import { Placement } from '@floating-ui/dom';
2
+ import { default as React } from 'react';
3
+ import { SkeletonTextProps } from '../../chakra/skeleton';
4
+ export interface TruncatedTextProps extends Omit<SkeletonTextProps, 'loading'> {
5
+ text: string;
6
+ loading?: boolean;
7
+ tooltipContent?: string;
8
+ tooltipPlacement?: Placement;
9
+ tooltipInteractive?: boolean;
10
+ }
11
+ export declare const TruncatedText: ({ text, tooltipPlacement, tooltipInteractive, tooltipContent, loading, ...rest }: TruncatedTextProps) => React.JSX.Element;