@oliasoft-open-source/charts-library 4.5.0-beta-1 → 4.5.1-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.
@@ -112,44 +112,51 @@ export namespace LegendOnRight {
112
112
  }
113
113
  export { args_15 as args };
114
114
  }
115
+ export function Border(args: any): import("react/jsx-runtime").JSX.Element;
116
+ export namespace Border {
117
+ export namespace args_16 {
118
+ export { borderedChart as chart };
119
+ }
120
+ export { args_16 as args };
121
+ }
115
122
  export function AnnotationYAxis(args: any): import("react/jsx-runtime").JSX.Element;
116
123
  export namespace AnnotationYAxis {
117
- export namespace args_16 {
124
+ export namespace args_17 {
118
125
  export { horizontalAnnotationChart as chart };
119
126
  }
120
- export { args_16 as args };
127
+ export { args_17 as args };
121
128
  }
122
129
  export function AnnotationXAxis(args: any): import("react/jsx-runtime").JSX.Element;
123
130
  export namespace AnnotationXAxis {
124
- export namespace args_17 {
131
+ export namespace args_18 {
125
132
  export { verticalAnnotationChart as chart };
126
133
  }
127
- export { args_17 as args };
134
+ export { args_18 as args };
128
135
  }
129
136
  export function AnnotationDiagonal(args: any): import("react/jsx-runtime").JSX.Element;
130
137
  export namespace AnnotationDiagonal {
131
- export namespace args_18 {
138
+ export namespace args_19 {
132
139
  export { diagonalAnnotationChart as chart };
133
140
  }
134
- export { args_18 as args };
141
+ export { args_19 as args };
135
142
  }
136
143
  export function AnnotationsInLegend(args: any): import("react/jsx-runtime").JSX.Element;
137
144
  export namespace AnnotationsInLegend {
138
- export namespace args_19 {
145
+ export namespace args_20 {
139
146
  export { controlAnnotationChart as chart };
140
147
  }
141
- export { args_19 as args };
148
+ export { args_20 as args };
142
149
  }
143
150
  export function Animated(args: any): import("react/jsx-runtime").JSX.Element;
144
151
  export namespace Animated {
145
- export namespace args_20 {
152
+ export namespace args_21 {
146
153
  export { animatedChart as chart };
147
154
  }
148
- export { args_20 as args };
155
+ export { args_21 as args };
149
156
  }
150
157
  export function CustomLegend(args: any): import("react/jsx-runtime").JSX.Element;
151
158
  export namespace CustomLegend {
152
- export namespace args_21 {
159
+ export namespace args_22 {
153
160
  namespace chart {
154
161
  namespace options {
155
162
  const title_1: string;
@@ -172,35 +179,35 @@ export namespace CustomLegend {
172
179
  }
173
180
  }
174
181
  }
175
- export { args_21 as args };
182
+ export { args_22 as args };
176
183
  }
177
184
  export function DragDataChart(args: any): import("react/jsx-runtime").JSX.Element;
178
185
  export namespace DragDataChart {
179
- export namespace args_22 {
186
+ export namespace args_23 {
180
187
  export { dragDataChart as chart };
181
188
  }
182
- export { args_22 as args };
189
+ export { args_23 as args };
183
190
  }
184
191
  export function PrettyLabelsTooltips(args: any): import("react/jsx-runtime").JSX.Element;
185
192
  export namespace PrettyLabelsTooltips {
186
- export namespace args_23 {
193
+ export namespace args_24 {
187
194
  export { hugeNumbersData as chart };
188
195
  }
189
- export { args_23 as args };
196
+ export { args_24 as args };
190
197
  }
191
198
  export function StackedSelectedAxis(args: any): import("react/jsx-runtime").JSX.Element;
192
199
  export namespace StackedSelectedAxis {
193
- export namespace args_24 {
200
+ export namespace args_25 {
194
201
  export { stackedData as chart };
195
202
  }
196
- export { args_24 as args };
203
+ export { args_25 as args };
197
204
  }
198
205
  export function WaterfallChart(args: any): import("react/jsx-runtime").JSX.Element;
199
206
  export namespace WaterfallChart {
200
- export namespace args_25 {
207
+ export namespace args_26 {
201
208
  export { waterfallChart as chart };
202
209
  }
203
- export { args_25 as args };
210
+ export { args_26 as args };
204
211
  }
205
212
  export function ControlsPortal(): import("react/jsx-runtime").JSX.Element;
206
213
  import { BarChart } from './bar-chart';
@@ -518,16 +525,30 @@ declare namespace legendRight {
518
525
  }
519
526
  export { options_14 as options };
520
527
  }
521
- declare namespace horizontalAnnotationChart {
528
+ declare namespace borderedChart {
522
529
  export namespace data_16 {
523
530
  export { labels1 as labels };
524
531
  const datasets_16: {
532
+ backgroundColor: string;
533
+ borderColor: string;
534
+ borderWidth: number;
525
535
  label: string;
526
536
  data: number[];
527
537
  }[];
528
538
  export { datasets_16 as datasets };
529
539
  }
530
540
  export { data_16 as data };
541
+ }
542
+ declare namespace horizontalAnnotationChart {
543
+ export namespace data_17 {
544
+ export { labels1 as labels };
545
+ const datasets_17: {
546
+ label: string;
547
+ data: number[];
548
+ }[];
549
+ export { datasets_17 as datasets };
550
+ }
551
+ export { data_17 as data };
531
552
  export namespace options_15 {
532
553
  const title_16: string;
533
554
  export { title_16 as title };
@@ -544,15 +565,15 @@ declare namespace horizontalAnnotationChart {
544
565
  export { options_15 as options };
545
566
  }
546
567
  declare namespace verticalAnnotationChart {
547
- export namespace data_17 {
568
+ export namespace data_18 {
548
569
  export { labels1 as labels };
549
- const datasets_17: {
570
+ const datasets_18: {
550
571
  label: string;
551
572
  data: number[];
552
573
  }[];
553
- export { datasets_17 as datasets };
574
+ export { datasets_18 as datasets };
554
575
  }
555
- export { data_17 as data };
576
+ export { data_18 as data };
556
577
  export namespace options_16 {
557
578
  const title_17: string;
558
579
  export { title_17 as title };
@@ -572,15 +593,15 @@ declare namespace verticalAnnotationChart {
572
593
  export { options_16 as options };
573
594
  }
574
595
  declare namespace diagonalAnnotationChart {
575
- export namespace data_18 {
596
+ export namespace data_19 {
576
597
  export { labels1 as labels };
577
- const datasets_18: {
598
+ const datasets_19: {
578
599
  label: string;
579
600
  data: number[];
580
601
  }[];
581
- export { datasets_18 as datasets };
602
+ export { datasets_19 as datasets };
582
603
  }
583
- export { data_18 as data };
604
+ export { data_19 as data };
584
605
  export namespace options_17 {
585
606
  const title_18: string;
586
607
  export { title_18 as title };
@@ -601,15 +622,15 @@ declare namespace diagonalAnnotationChart {
601
622
  export { options_17 as options };
602
623
  }
603
624
  declare namespace controlAnnotationChart {
604
- export namespace data_19 {
625
+ export namespace data_20 {
605
626
  export { labels1 as labels };
606
- const datasets_19: {
627
+ const datasets_20: {
607
628
  label: string;
608
629
  data: number[];
609
630
  }[];
610
- export { datasets_19 as datasets };
631
+ export { datasets_20 as datasets };
611
632
  }
612
- export { data_19 as data };
633
+ export { data_20 as data };
613
634
  export namespace options_18 {
614
635
  const title_19: string;
615
636
  export { title_19 as title };
@@ -637,15 +658,15 @@ declare namespace controlAnnotationChart {
637
658
  export { options_18 as options };
638
659
  }
639
660
  declare namespace animatedChart {
640
- export namespace data_20 {
661
+ export namespace data_21 {
641
662
  export { labels1 as labels };
642
- const datasets_20: {
663
+ const datasets_21: {
643
664
  label: string;
644
665
  data: number[];
645
666
  }[];
646
- export { datasets_20 as datasets };
667
+ export { datasets_21 as datasets };
647
668
  }
648
- export { data_20 as data };
669
+ export { data_21 as data };
649
670
  export namespace options_19 {
650
671
  namespace chartStyling {
651
672
  const performanceMode: boolean;
@@ -656,15 +677,15 @@ declare namespace animatedChart {
656
677
  declare const customLegendContainerID: "custom-legend-container";
657
678
  declare const labels1: string[];
658
679
  declare namespace dragDataChart {
659
- export namespace data_21 {
680
+ export namespace data_22 {
660
681
  export { labels1 as labels };
661
- const datasets_21: {
682
+ const datasets_22: {
662
683
  label: string;
663
684
  data: number[];
664
685
  }[];
665
- export { datasets_21 as datasets };
686
+ export { datasets_22 as datasets };
666
687
  }
667
- export { data_21 as data };
688
+ export { data_22 as data };
668
689
  export namespace options_20 {
669
690
  namespace dragData {
670
691
  const enableDragData: boolean;
@@ -678,21 +699,21 @@ declare namespace dragDataChart {
678
699
  export { options_20 as options };
679
700
  }
680
701
  declare namespace hugeNumbersData {
681
- export namespace data_22 {
702
+ export namespace data_23 {
682
703
  export { labels1 as labels };
683
- const datasets_22: {
704
+ const datasets_23: {
684
705
  label: string;
685
706
  data: number[];
686
707
  stack: number;
687
708
  }[];
688
- export { datasets_22 as datasets };
709
+ export { datasets_23 as datasets };
689
710
  }
690
- export { data_22 as data };
711
+ export { data_23 as data };
691
712
  }
692
713
  declare namespace stackedData {
693
- export namespace data_23 {
714
+ export namespace data_24 {
694
715
  export const labels: string[];
695
- const datasets_23: ({
716
+ const datasets_24: ({
696
717
  label: string;
697
718
  data: number[];
698
719
  backgroundColor: string;
@@ -709,9 +730,9 @@ declare namespace stackedData {
709
730
  yAxisID: string;
710
731
  barThickness?: undefined;
711
732
  })[];
712
- export { datasets_23 as datasets };
733
+ export { datasets_24 as datasets };
713
734
  }
714
- export { data_23 as data };
735
+ export { data_24 as data };
715
736
  export namespace options_21 {
716
737
  const title_20: string;
717
738
  export { title_20 as title };
@@ -724,17 +745,17 @@ declare namespace stackedData {
724
745
  export { options_21 as options };
725
746
  }
726
747
  declare namespace waterfallChart {
727
- export namespace data_24 {
748
+ export namespace data_25 {
728
749
  const labels_1: string[];
729
750
  export { labels_1 as labels };
730
- const datasets_24: {
751
+ const datasets_25: {
731
752
  label: string;
732
753
  data: (number | number[])[];
733
754
  backgroundColor: string[];
734
755
  }[];
735
- export { datasets_24 as datasets };
756
+ export { datasets_25 as datasets };
736
757
  }
737
- export { data_24 as data };
758
+ export { data_25 as data };
738
759
  export namespace options_22 {
739
760
  const title_21: string;
740
761
  export { title_21 as title };
@@ -1,6 +1,7 @@
1
1
  import { ChartEvent, ChartTypeRegistry, LinearScaleOptions, Plugin } from 'chart.js';
2
2
  import { LabelOptions } from 'chartjs-plugin-annotation';
3
3
  import { GradientDirection } from '../common/plugins/gradient-background-plugin/enums';
4
+ import { DragAxis } from '../common/plugins/annotation-dragger-plugin/enums';
4
5
  import { AlignOptions, Position } from './helpers/enums';
5
6
  export type TAxisPosition = 'top' | 'bottom' | 'left' | 'right';
6
7
  export interface ICommonDataValue {
@@ -50,11 +51,8 @@ export interface ICommonAnnotationsData {
50
51
  id?: string;
51
52
  adjustScaleRange: boolean;
52
53
  annotationAxis: 'x' | 'y';
53
- rotation: number;
54
54
  color: string;
55
55
  endValue: number;
56
- borderWidth?: number;
57
- backgroundColor?: string;
58
56
  label: string;
59
57
  labelConfig?: Record<string, any>;
60
58
  type: string;
@@ -70,6 +68,7 @@ export interface ICommonAnnotationsData {
70
68
  onDragStart?: (coordinates: ICoordinates, annotation: ICommonAnnotationsData) => void;
71
69
  onDrag?: (coordinates: ICoordinates, annotation: ICommonAnnotationsData) => void;
72
70
  onDragEnd?: (coordinates: ICoordinates, annotation: ICommonAnnotationsData) => void;
71
+ dragAxis?: DragAxis;
73
72
  }
74
73
  export interface ICommonGradientColor {
75
74
  offset: number;
@@ -96,6 +95,7 @@ export interface ICommonLegend {
96
95
  export interface ICommonTooltip {
97
96
  tooltips: boolean;
98
97
  showLabelsInTooltips: boolean;
98
+ scientificNotation: boolean;
99
99
  }
100
100
  export interface ICommonAdditionalAxesOptions {
101
101
  chartScaleType?: 'linear' | 'logarithmic';
@@ -1 +1 @@
1
- export declare const customFormatNumber: (labelNumber: number) => string;
1
+ export declare const customFormatNumber: (labelNumber: number, scientificNotation: boolean) => string;
@@ -13,7 +13,6 @@ declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotat
13
13
  display: boolean | undefined;
14
14
  annotationIndex: number;
15
15
  id: string;
16
- rotation: number;
17
16
  scaleID: "x" | "y";
18
17
  label: {
19
18
  content: string;
@@ -77,5 +76,6 @@ declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotat
77
76
  yValue?: number | undefined;
78
77
  radius?: number | undefined;
79
78
  enableDrag?: boolean | undefined;
79
+ dragAxis?: import('../../common/plugins/annotation-dragger-plugin/enums').DragAxis | undefined;
80
80
  }[];
81
81
  export default getAnnotation;
@@ -31,6 +31,7 @@ export interface ILegendItem {
31
31
  dataset: TLegendDataset;
32
32
  handleClick: MouseEventHandler<HTMLDivElement>;
33
33
  chartType: ChartType;
34
+ index: number;
34
35
  }
35
36
  export interface ILegendConfig {
36
37
  options: TChartsOption;
@@ -1,3 +1,3 @@
1
1
  import { ILegendItem } from '../legend-interface';
2
- declare const LegendItem: ({ hidden, dataset, handleClick, chartType, }: ILegendItem) => import("react/jsx-runtime").JSX.Element;
2
+ declare const LegendItem: ({ hidden, dataset, handleClick, chartType, index, }: ILegendItem) => import("react/jsx-runtime").JSX.Element;
3
3
  export default LegendItem;
@@ -13,3 +13,8 @@ export declare enum AnnotationType {
13
13
  LINE = "line",
14
14
  ELLIPSE = "ellipse"
15
15
  }
16
+ export declare enum DragAxis {
17
+ X = "x",
18
+ Y = "y",
19
+ Both = "both"
20
+ }
@@ -1260,6 +1260,7 @@ export namespace DragAnnotations {
1260
1260
  yValue?: undefined;
1261
1261
  radius?: undefined;
1262
1262
  labelConfig?: undefined;
1263
+ dragAxis?: undefined;
1263
1264
  } | {
1264
1265
  enableDrag: boolean;
1265
1266
  type: string;
@@ -1278,6 +1279,7 @@ export namespace DragAnnotations {
1278
1279
  yValue?: undefined;
1279
1280
  radius?: undefined;
1280
1281
  labelConfig?: undefined;
1282
+ dragAxis?: undefined;
1281
1283
  } | {
1282
1284
  enableDrag: boolean;
1283
1285
  type: string;
@@ -1296,6 +1298,7 @@ export namespace DragAnnotations {
1296
1298
  yValue?: undefined;
1297
1299
  radius?: undefined;
1298
1300
  labelConfig?: undefined;
1301
+ dragAxis?: undefined;
1299
1302
  } | {
1300
1303
  type: string;
1301
1304
  enableDrag: boolean;
@@ -1317,81 +1320,55 @@ export namespace DragAnnotations {
1317
1320
  xMax?: undefined;
1318
1321
  yMin?: undefined;
1319
1322
  yMax?: undefined;
1320
- })[];
1321
- export { annotationsData_5 as annotationsData };
1322
- }
1323
- export { annotations_5 as annotations };
1324
- }
1325
- export { options_36 as options };
1326
- }
1327
- export { chart_43 as chart };
1328
- }
1329
- export { args_45 as args };
1330
- }
1331
- export function EllipsisAnnotations(args: any): import("react/jsx-runtime").JSX.Element;
1332
- export namespace EllipsisAnnotations {
1333
- export namespace args_46 {
1334
- export namespace chart_44 {
1335
- export namespace data_24 {
1336
- const datasets_24: {
1337
- label: string;
1338
- data: {
1339
- x: number;
1340
- y: number;
1341
- }[];
1342
- }[];
1343
- export { datasets_24 as datasets };
1344
- }
1345
- export { data_24 as data };
1346
- export namespace options_37 {
1347
- export namespace additionalAxesOptions_6 {
1348
- export namespace range_3 {
1349
- export namespace x_8 {
1350
- const min_5: number;
1351
- export { min_5 as min };
1352
- const max_5: number;
1353
- export { max_5 as max };
1354
- }
1355
- export { x_8 as x };
1356
- export namespace y_7 {
1357
- const min_6: number;
1358
- export { min_6 as min };
1359
- const max_6: number;
1360
- export { max_6 as max };
1361
- }
1362
- export { y_7 as y };
1363
- }
1364
- export { range_3 as range };
1365
- }
1366
- export { additionalAxesOptions_6 as additionalAxesOptions };
1367
- export namespace legend_6 {
1368
- const display_3: boolean;
1369
- export { display_3 as display };
1370
- }
1371
- export { legend_6 as legend };
1372
- export namespace annotations_6 {
1373
- const showAnnotations_6: boolean;
1374
- export { showAnnotations_6 as showAnnotations };
1375
- const annotationsData_6: {
1323
+ dragAxis?: undefined;
1324
+ } | {
1325
+ enableDrag: boolean;
1326
+ dragAxis: string;
1376
1327
  type: string;
1377
1328
  xMin: number;
1378
1329
  xMax: number;
1379
1330
  yMin: number;
1380
1331
  yMax: number;
1381
- backgroundColor: string;
1382
- rotation: number;
1383
- borderWidth: number;
1384
1332
  color: string;
1385
- }[];
1386
- export { annotationsData_6 as annotationsData };
1333
+ label: string;
1334
+ annotationAxis?: undefined;
1335
+ value?: undefined;
1336
+ onDragStart?: undefined;
1337
+ onDrag?: undefined;
1338
+ onDragEnd?: undefined;
1339
+ xValue?: undefined;
1340
+ yValue?: undefined;
1341
+ radius?: undefined;
1342
+ labelConfig?: undefined;
1343
+ } | {
1344
+ type: string;
1345
+ enableDrag: boolean;
1346
+ dragAxis: string;
1347
+ xValue: number;
1348
+ yValue: number;
1349
+ radius: number;
1350
+ color: string;
1351
+ label: string;
1352
+ annotationAxis?: undefined;
1353
+ value?: undefined;
1354
+ xMin?: undefined;
1355
+ xMax?: undefined;
1356
+ yMin?: undefined;
1357
+ yMax?: undefined;
1358
+ onDragStart?: undefined;
1359
+ onDrag?: undefined;
1360
+ onDragEnd?: undefined;
1361
+ labelConfig?: undefined;
1362
+ })[];
1363
+ export { annotationsData_5 as annotationsData };
1387
1364
  }
1388
- export { annotations_6 as annotations };
1365
+ export { annotations_5 as annotations };
1389
1366
  }
1390
- export { options_37 as options };
1367
+ export { options_36 as options };
1391
1368
  }
1392
- export { chart_44 as chart };
1369
+ export { chart_43 as chart };
1393
1370
  }
1394
- export { args_46 as args };
1371
+ export { args_45 as args };
1395
1372
  }
1396
1373
  import { LineChart } from './line-chart';
1397
1374
  declare namespace basicChart { }
@@ -1,4 +1,5 @@
1
1
  import { ChartEvent } from 'chart.js';
2
+ import { ICommonTooltip } from '../common/common.interface';
2
3
  import { IPieChartDataset, IPieOptions } from './pie-chart.interface';
3
4
  import { AlignOptions, Position } from '../common/helpers/enums';
4
5
  export interface IDefaultChartStyling {
@@ -8,10 +9,6 @@ export interface IDefaultChartStyling {
8
9
  staticChartHeight: boolean;
9
10
  performanceMode: boolean;
10
11
  }
11
- interface IDefaultTooltip {
12
- tooltips: boolean;
13
- showLabelsInTooltips: boolean;
14
- }
15
12
  interface IDefaultPieGraph {
16
13
  showDataLabels: boolean;
17
14
  stacked: boolean;
@@ -39,7 +36,7 @@ interface IDefaultChartData {
39
36
  interface IDefaultPieOptions extends IPieOptions {
40
37
  title: string | string[];
41
38
  chartStyling: IDefaultChartStyling;
42
- tooltip: IDefaultTooltip;
39
+ tooltip: ICommonTooltip;
43
40
  graph: IDefaultPieGraph;
44
41
  legend: IDefaultPieLegend;
45
42
  chartOptions: IDefaultChartOptions;
@@ -94,7 +94,7 @@ export declare const useScatterChartConfig: (chart: IScatterChartDefaultProps, c
94
94
  enabled: boolean;
95
95
  callbacks: {
96
96
  title: (tooltipItems: import("chart.js").TooltipItem<"scatter">[]) => string | undefined;
97
- label: (tooltipItem: import('../../scatter-chart/utils/get-tooltip-config').IScatterTooltipItem) => string;
97
+ label: (tooltipItems: import('../../scatter-chart/utils/get-tooltip-config').IScatterTooltipItem) => string;
98
98
  };
99
99
  backgroundColor: string;
100
100
  displayColors: boolean;
@@ -15,6 +15,7 @@ interface IDefaultTooltip {
15
15
  showLabelsInTooltips: boolean;
16
16
  backgroundColor: string;
17
17
  displayColors: boolean;
18
+ scientificNotation: boolean;
18
19
  }
19
20
  interface IDefaultScatterGraph {
20
21
  showMinorGridlines: boolean;
@@ -13,6 +13,7 @@ export interface IScatterTooltip {
13
13
  showLabelsInTooltips: boolean;
14
14
  backgroundColor?: string;
15
15
  displayColors?: boolean;
16
+ scientificNotation?: boolean;
16
17
  }
17
18
  export interface IScatterAxes {
18
19
  x: ICommonAxis<'top' | 'bottom'>[];
@@ -69,6 +69,13 @@ export namespace WithDatapointsHavingLabel {
69
69
  }
70
70
  export { args_9 as args };
71
71
  }
72
+ export function CustomPointColor(args: any): import("react/jsx-runtime").JSX.Element;
73
+ export namespace CustomPointColor {
74
+ export namespace args_10 {
75
+ export { scatterWithCustomColors as chart };
76
+ }
77
+ export { args_10 as args };
78
+ }
72
79
  import { ScatterChart } from './scatter-chart';
73
80
  declare namespace singleScatterChart {
74
81
  namespace data {
@@ -252,4 +259,20 @@ declare namespace scatterWithDatapointsHavingLabel {
252
259
  }
253
260
  export { options_6 as options };
254
261
  }
262
+ declare namespace scatterWithCustomColors {
263
+ export namespace data_8 {
264
+ export { labels1 as labels };
265
+ const datasets_8: {
266
+ backgroundColor: string;
267
+ borderColor: string;
268
+ label: string;
269
+ data: {
270
+ x: number;
271
+ y: number;
272
+ }[];
273
+ }[];
274
+ export { datasets_8 as datasets };
275
+ }
276
+ export { data_8 as data };
277
+ }
255
278
  declare const labels1: string[];
@@ -12,7 +12,7 @@ export declare const getTooltipsConfig: (options: IDefaultScatterOptions) => {
12
12
  enabled: boolean;
13
13
  callbacks: {
14
14
  title: (tooltipItems: TooltipItem<'scatter'>[]) => string | undefined;
15
- label: (tooltipItem: IScatterTooltipItem) => string;
15
+ label: (tooltipItems: IScatterTooltipItem) => string;
16
16
  };
17
17
  backgroundColor: string;
18
18
  displayColors: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/charts-library",
3
- "version": "4.5.0-beta-1",
3
+ "version": "4.5.1-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": {
@@ -59,8 +59,8 @@
59
59
  "react-use": "^17.4.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@oliasoft-open-source/react-ui-library": "^4.6.16",
63
- "@oliasoft-open-source/units": "^3.4.2",
62
+ "@oliasoft-open-source/react-ui-library": "^4.10.4",
63
+ "@oliasoft-open-source/units": "^3.14.0",
64
64
  "@storybook/addon-actions": "^7.0.18",
65
65
  "@storybook/addon-docs": "^7.0.18",
66
66
  "@storybook/addon-mdx-gfm": "^7.0.23",
@@ -89,7 +89,7 @@
89
89
  "eslint-plugin-vitest-globals": "^1.3.1",
90
90
  "http-server": "^14.1.1",
91
91
  "husky": "^8.0.1",
92
- "immer": "^9",
92
+ "immer": "^10",
93
93
  "jsdom": "^22.1.0",
94
94
  "less": "^4.1.3",
95
95
  "lint-staged": "^14.0.1",
@@ -109,13 +109,13 @@
109
109
  "vitest": "^0.34.6"
110
110
  },
111
111
  "peerDependencies": {
112
- "@oliasoft-open-source/react-ui-library": "^4.0.0",
113
- "@oliasoft-open-source/units": "^3.4.2",
112
+ "@oliasoft-open-source/react-ui-library": "^4.10.4",
113
+ "@oliasoft-open-source/units": "^3.14.0",
114
114
  "ajv": "^8.12.0",
115
115
  "ajv-errors": "^3.0.0",
116
116
  "ajv-keywords": "^5.1.0",
117
117
  "classnames": "^2.3.2",
118
- "immer": "^9",
118
+ "immer": "^9||^10",
119
119
  "lodash": "^4.17.21",
120
120
  "prop-types": "^15",
121
121
  "react": "^17",
@@ -1,5 +0,0 @@
1
- import { Chart } from 'chart.js';
2
- export declare const ellipsisAnnotationPlugin: {
3
- id: string;
4
- afterDraw: (chart: Chart<any>) => void;
5
- };