@blockscout/ui-toolkit 2.4.0-alpha.1 → 2.4.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.
package/README.md CHANGED
@@ -34,8 +34,10 @@ Ensure you have the following peer dependencies installed:
34
34
  "@blockscout/ui-toolkit": "latest",
35
35
  "@chakra-ui/react": ">=3.15.0",
36
36
  "@emotion/react": ">=11.14.0",
37
+ "@uidotdev/usehooks": ">=2.4.1",
37
38
  "d3": ">=7.6.1",
38
39
  "dayjs": ">=1.11.5",
40
+ "dom-to-image": ">=2.6.0",
39
41
  "es-toolkit": ">=1.39.10",
40
42
  "next": ">=15.2.3",
41
43
  "next-themes": ">=0.4.4",
@@ -14,5 +14,6 @@ export interface ChartWidgetProps extends FlexProps {
14
14
  chartUrl?: string;
15
15
  axesConfig?: AxesConfigFn;
16
16
  menuItemIds?: Array<ChartMenuItemId>;
17
+ noWatermark?: boolean;
17
18
  }
18
- export declare const ChartWidget: React.MemoExoticComponent<({ charts, title, description, isLoading, isError, emptyText, noAnimation, href, chartUrl, axesConfig, menuItemIds, ...rest }: ChartWidgetProps) => React.JSX.Element>;
19
+ export declare const ChartWidget: React.MemoExoticComponent<({ charts, title, description, isLoading, isError, emptyText, noAnimation, href, chartUrl, axesConfig, menuItemIds, noWatermark, ...rest }: ChartWidgetProps) => React.JSX.Element>;
@@ -13,5 +13,6 @@ export interface ChartWidgetContentProps {
13
13
  noAnimation?: boolean;
14
14
  resolution?: Resolution;
15
15
  axesConfig?: AxesConfigFn;
16
+ noWatermark?: boolean;
16
17
  }
17
- export declare const ChartWidgetContent: React.MemoExoticComponent<({ charts, title, isLoading, isError, empty, emptyText, zoomRange, handleZoom, isEnlarged, noAnimation, resolution, axesConfig, }: ChartWidgetContentProps) => React.JSX.Element>;
18
+ export declare const ChartWidgetContent: React.MemoExoticComponent<({ charts, title, isLoading, isError, empty, emptyText, zoomRange, handleZoom, isEnlarged, noAnimation, resolution, axesConfig, noWatermark, }: ChartWidgetContentProps) => React.JSX.Element>;
@@ -6,6 +6,7 @@ export * from './parts/ChartAxis';
6
6
  export * from './parts/ChartGridLine';
7
7
  export * from './parts/ChartLegend';
8
8
  export * from './parts/ChartLine';
9
+ export * from './parts/ChartMenu';
9
10
  export * from './parts/ChartOverlay';
10
11
  export * from './parts/ChartSelectionX';
11
12
  export * from './parts/ChartTooltip';