@blockscout/ui-toolkit 2.4.1-alpha.1 → 2.5.0-alpha

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.
@@ -14,6 +14,7 @@ interface CollapsibleListProps<T> extends FlexProps {
14
14
  renderItem: (item: T, index: number) => React.ReactNode;
15
15
  triggerProps?: LinkProps;
16
16
  cutLength?: number;
17
+ text?: [string, string];
17
18
  }
18
19
  export declare const CollapsibleList: <T>(props: CollapsibleListProps<T>) => React.JSX.Element;
19
20
  export {};
@@ -1,6 +1,8 @@
1
- import { ImageProps as ChakraImageProps } from '@chakra-ui/react';
1
+ import { BoxProps, ImageProps as ChakraImageProps } from '@chakra-ui/react';
2
2
  import { default as React } from 'react';
3
3
  export interface ImageProps extends ChakraImageProps {
4
4
  fallback?: React.ReactNode;
5
+ skeletonWidth?: BoxProps['width'];
6
+ skeletonHeight?: BoxProps['height'];
5
7
  }
6
8
  export declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLImageElement>>;
@@ -2,7 +2,6 @@ import { default as React } from 'react';
2
2
  import { AxesConfigFn, ChartMargin, TimeChartData, Resolution } from './types';
3
3
  export interface ChartProps {
4
4
  charts: TimeChartData;
5
- title: string;
6
5
  zoomRange?: [Date, Date];
7
6
  onZoom: (range: [Date, Date]) => void;
8
7
  margin?: ChartMargin;
@@ -2,7 +2,6 @@ import { default as React } from 'react';
2
2
  import { AxesConfigFn, Resolution, TimeChartData } from './types';
3
3
  export interface ChartWidgetContentProps {
4
4
  charts: TimeChartData;
5
- title: string;
6
5
  isLoading?: boolean;
7
6
  isError?: boolean;
8
7
  empty?: boolean;
@@ -15,4 +14,4 @@ export interface ChartWidgetContentProps {
15
14
  axesConfig?: AxesConfigFn;
16
15
  noWatermark?: boolean;
17
16
  }
18
- export declare const ChartWidgetContent: React.MemoExoticComponent<({ charts, title, isLoading, isError, empty, emptyText, zoomRange, handleZoom, isEnlarged, noAnimation, resolution, axesConfig, noWatermark, }: ChartWidgetContentProps) => React.JSX.Element>;
17
+ export declare const ChartWidgetContent: React.MemoExoticComponent<({ charts, isLoading, isError, empty, emptyText, zoomRange, handleZoom, isEnlarged, noAnimation, resolution, axesConfig, noWatermark, }: ChartWidgetContentProps) => React.JSX.Element>;