h2o-library 1.6.2 → 1.6.4

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.
@@ -16,5 +16,7 @@ export interface BarChartProps {
16
16
  showGrid?: boolean;
17
17
  showLegend?: boolean;
18
18
  height?: number;
19
+ rotateLabels?: boolean;
20
+ wrapLabels?: boolean;
19
21
  }
20
- export declare const BarChart: ({ data, bars, layout, orientation, showGrid, showLegend, height, }: BarChartProps) => React.JSX.Element;
22
+ export declare const BarChart: ({ data, bars, layout, orientation, showGrid, showLegend, height, rotateLabels, wrapLabels, }: BarChartProps) => React.JSX.Element;
@@ -25,6 +25,8 @@ interface BaseChartProps {
25
25
  type BarChartSpecificProps = {
26
26
  layout?: 'single' | 'grouped' | 'stacked';
27
27
  orientation?: 'vertical' | 'horizontal';
28
+ rotateLabels?: boolean;
29
+ wrapLabels?: boolean;
28
30
  };
29
31
  type ChartTypeSpecificProps<T extends ChartType> = T extends 'bar' ? BarChartSpecificProps : {};
30
32
  type ChartProps<T extends ChartType> = BaseChartProps & {
@@ -16,5 +16,7 @@ export interface BarChartProps {
16
16
  showGrid?: boolean;
17
17
  showLegend?: boolean;
18
18
  height?: number;
19
+ rotateLabels?: boolean;
20
+ wrapLabels?: boolean;
19
21
  }
20
- export declare const BarChart: ({ data, bars, layout, orientation, showGrid, showLegend, height, }: BarChartProps) => React.JSX.Element;
22
+ export declare const BarChart: ({ data, bars, layout, orientation, showGrid, showLegend, height, rotateLabels, wrapLabels, }: BarChartProps) => React.JSX.Element;
@@ -25,6 +25,8 @@ interface BaseChartProps {
25
25
  type BarChartSpecificProps = {
26
26
  layout?: 'single' | 'grouped' | 'stacked';
27
27
  orientation?: 'vertical' | 'horizontal';
28
+ rotateLabels?: boolean;
29
+ wrapLabels?: boolean;
28
30
  };
29
31
  type ChartTypeSpecificProps<T extends ChartType> = T extends 'bar' ? BarChartSpecificProps : {};
30
32
  type ChartProps<T extends ChartType> = BaseChartProps & {
@@ -1 +1,2 @@
1
1
  export * from "./src/use-click-outside";
2
+ export * from "./src/use-media-query";
@@ -0,0 +1 @@
1
+ export declare const useMediaQuery: (query: string) => boolean;