@oliasoft-open-source/charts-library 3.7.2-beta-1 → 3.8.0-beta-1

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.
@@ -4,9 +4,9 @@ export declare const BORDER_WIDTH: {
4
4
  };
5
5
  export declare const BORDER_COLOR = "rgba(0,0,0,0.1)";
6
6
  export declare const ANNOTATION_DASH: number[];
7
- export declare const DEFAULT_FONT_SIZE = 13;
8
- export declare const DEFAULT_FONT_FAMILY = "\"Lato\", sans-serif";
9
- export declare const DEFAULT_COLOR = "rgba(0,0,0,.87)";
7
+ export declare const DEFAULT_FONT_SIZE = 12;
8
+ export declare const DEFAULT_FONT_FAMILY = "\"Roobert\", sans-serif";
9
+ export declare const DEFAULT_COLOR = "hsl(60, 10.34482759%, 12.5%)";
10
10
  export declare const LEGEND_LABEL_BOX_SIZE = 12;
11
11
  export declare const TOOLTIP_PADDING = 8;
12
12
  export declare const TOOLTIP_BOX_PADDING = 4;
@@ -1,14 +1,13 @@
1
1
  import { Dispatch, RefObject } from 'react';
2
2
  import { Chart } from 'chart.js';
3
3
  import { IState } from '../state/state.interfaces';
4
- import { ILineChartDataset, ILineChartOptions } from '../line-chart.interface';
4
+ import { ILineChartOptions } from '../line-chart.interface';
5
5
  interface IUseChartState {
6
6
  chartRef: RefObject<Chart>;
7
7
  options: ILineChartOptions;
8
8
  state: IState;
9
9
  dispatch: Dispatch<any>;
10
10
  persistenceId?: string;
11
- generatedDatasets: ILineChartDataset[];
12
11
  }
13
12
  /**
14
13
  * Hook for managing the state of the chart.
@@ -16,9 +15,9 @@ interface IUseChartState {
16
15
  * @param chartRef - The reference to the chart.
17
16
  * @param options - The chart options.
18
17
  * @param state - The chart state.
18
+ * @param {Array} generatedDatasets - An array of generated datasets for the chart.
19
19
  * @param dispatch - The dispatch function for state management.
20
20
  * @param persistenceId - The chart persistenceId.
21
- * @param {ILineChartDataset[]} generatedDatasets - An array of generated datasets for the chart.
22
21
  */
23
- export declare const useChartState: ({ chartRef, options, state, dispatch, persistenceId, generatedDatasets, }: IUseChartState) => void;
22
+ export declare const useChartState: ({ chartRef, options, state, dispatch, persistenceId, }: IUseChartState) => void;
24
23
  export {};
@@ -1075,7 +1075,6 @@ export namespace CombiningTypes {
1075
1075
  export { args_39 as args };
1076
1076
  }
1077
1077
  export function ExternalSelect(): import("react/jsx-runtime").JSX.Element;
1078
- export function SetDSDynamically(): import("react/jsx-runtime").JSX.Element;
1079
1078
  import { LineChart } from './line-chart';
1080
1079
  declare namespace basicChart { }
1081
1080
  declare const customLegendContainerID: "custom-legend-container";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/charts-library",
3
- "version": "3.7.2-beta-1",
3
+ "version": "3.8.0-beta-1",
4
4
  "description": "React Chart Library (based on Chart.js and react-chart-js-2)",
5
5
  "homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
6
6
  "resolutions": {
@@ -56,7 +56,7 @@
56
56
  "react-use": "^17.4.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@oliasoft-open-source/react-ui-library": "^3.13.9",
59
+ "@oliasoft-open-source/react-ui-library": "4.0.0-beta-56",
60
60
  "@oliasoft-open-source/units": "^3.4.2",
61
61
  "@storybook/addon-actions": "^7.0.18",
62
62
  "@storybook/addon-docs": "^7.0.18",