kwant-ui 3.26.6 → 3.26.8

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.
@@ -15,13 +15,19 @@ export declare const data: ({
15
15
  workerConsistency: number;
16
16
  date: string;
17
17
  })[];
18
- export declare const areas: {
18
+ export declare const areas: ({
19
19
  dataKey: string;
20
- color: string;
21
20
  stroke: string;
22
21
  fillOpacity: number;
23
22
  name: string;
24
- }[];
23
+ fill?: undefined;
24
+ } | {
25
+ dataKey: string;
26
+ fill: string;
27
+ fillOpacity: number;
28
+ name: string;
29
+ stroke?: undefined;
30
+ })[];
25
31
  export declare const areasYAxisRight: {
26
32
  dataKey: string;
27
33
  color: string;
@@ -28,12 +28,18 @@ export declare namespace IAreaChart {
28
28
  averageLineValue?: number;
29
29
  averageLineColor?: string;
30
30
  xAxisLabel?: string;
31
+ fillColor?: string;
32
+ gradientColor?: string;
33
+ isGradient?: boolean;
34
+ isFilled?: boolean;
35
+ gradientStart?: number;
36
+ gradientStop?: number;
31
37
  yAxisLeftLabel?: string;
32
38
  yAxisRightLabel?: string;
33
39
  showRightYAxis?: boolean;
34
40
  showLegends?: boolean;
35
41
  customTooltip?: ContentType<ValueType, NameType>;
36
- gradient?: React.ReactNode;
42
+ gradient?: string;
37
43
  tooltipProps?: TooltipProps<ValueType, NameType>;
38
44
  cartesianGridProps?: Omit<CartesianGridProps, 'ref'>;
39
45
  legendProps?: Omit<LegendProps, 'ref'>;
@@ -9,6 +9,7 @@ export type TrendPercentageProps = {
9
9
  unit?: string;
10
10
  color?: string;
11
11
  customData?: string | React.ReactNode;
12
+ noChangeMessage?: string;
12
13
  };
13
14
  declare const TrendPercentage: (props: TrendPercentageProps) => import("react/jsx-runtime").JSX.Element;
14
15
  export { TrendPercentage };