@semcore/d3-chart 3.27.3 → 3.27.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.
- package/CHANGELOG.md +24 -1
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +14 -14
- package/lib/cjs/Bar.js +10 -10
- package/lib/cjs/Bubble.js +12 -12
- package/lib/cjs/Donut.js +9 -9
- package/lib/cjs/Dots.js +8 -8
- package/lib/cjs/HorizontalBar.js +10 -10
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +3 -3
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +11 -11
- package/lib/cjs/ReferenceLine.js +18 -15
- package/lib/cjs/ReferenceLine.js.map +1 -1
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +9 -9
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/lib/cjs/a11y/PlotA11yView.js +6 -4
- package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/types/Area.d.js.map +1 -1
- package/lib/cjs/types/Bar.d.js.map +1 -1
- package/lib/cjs/types/Bubble.d.js.map +1 -1
- package/lib/cjs/types/Donut.d.js.map +1 -1
- package/lib/cjs/types/GroupBar.d.js.map +1 -1
- package/lib/cjs/types/HorizontalBar.d.js.map +1 -1
- package/lib/cjs/types/Line.d.js.map +1 -1
- package/lib/cjs/types/Plot.d.js.map +1 -1
- package/lib/cjs/types/Radar.d.js.map +1 -1
- package/lib/cjs/types/ReferenceLine.d.js.map +1 -1
- package/lib/cjs/types/ScatterPlot.d.js.map +1 -1
- package/lib/cjs/types/StackBar.d.js.map +1 -1
- package/lib/cjs/types/StackedArea.d.js.map +1 -1
- package/lib/cjs/types/Venn.d.js.map +1 -1
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +14 -14
- package/lib/es6/Bar.js +10 -10
- package/lib/es6/Bubble.js +12 -12
- package/lib/es6/Donut.js +9 -9
- package/lib/es6/Dots.js +8 -8
- package/lib/es6/HorizontalBar.js +10 -10
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +3 -3
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +11 -11
- package/lib/es6/ReferenceLine.js +18 -15
- package/lib/es6/ReferenceLine.js.map +1 -1
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +9 -9
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/lib/es6/a11y/PlotA11yView.js +6 -4
- package/lib/es6/a11y/PlotA11yView.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/types/Area.d.js.map +1 -1
- package/lib/es6/types/Bar.d.js.map +1 -1
- package/lib/es6/types/Bubble.d.js.map +1 -1
- package/lib/es6/types/Donut.d.js.map +1 -1
- package/lib/es6/types/GroupBar.d.js.map +1 -1
- package/lib/es6/types/HorizontalBar.d.js.map +1 -1
- package/lib/es6/types/Line.d.js.map +1 -1
- package/lib/es6/types/Plot.d.js.map +1 -1
- package/lib/es6/types/Radar.d.js.map +1 -1
- package/lib/es6/types/ReferenceLine.d.js.map +1 -1
- package/lib/es6/types/ScatterPlot.d.js.map +1 -1
- package/lib/es6/types/StackBar.d.js.map +1 -1
- package/lib/es6/types/StackedArea.d.js.map +1 -1
- package/lib/es6/types/Venn.d.js.map +1 -1
- package/lib/types/Area.d.ts +3 -0
- package/lib/types/Bar.d.ts +3 -0
- package/lib/types/Bubble.d.ts +3 -0
- package/lib/types/Donut.d.ts +3 -0
- package/lib/types/GroupBar.d.ts +1 -1
- package/lib/types/HorizontalBar.d.ts +3 -0
- package/lib/types/Line.d.ts +3 -0
- package/lib/types/Plot.d.ts +1 -1
- package/lib/types/Radar.d.ts +3 -0
- package/lib/types/ReferenceLine.d.ts +2 -3
- package/lib/types/ScatterPlot.d.ts +3 -0
- package/lib/types/StackBar.d.ts +4 -0
- package/lib/types/StackedArea.d.ts +4 -0
- package/lib/types/Venn.d.ts +3 -0
- package/package.json +2 -2
package/lib/types/Radar.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { CurveFactory } from 'd3-shape';
|
|
|
4
4
|
import { TooltipType } from './Tooltip';
|
|
5
5
|
import { IntergalacticD3Component } from './Plot';
|
|
6
6
|
import { BoxProps } from '@semcore/flex-box';
|
|
7
|
+
import { PatternsConfig } from './Pattern';
|
|
7
8
|
|
|
8
9
|
/** @deprecated */
|
|
9
10
|
export interface IRadarProps extends RadarProps, UnknownProperties {}
|
|
@@ -35,6 +36,8 @@ export type RadarProps = Context & {
|
|
|
35
36
|
* @example Math.PI/3
|
|
36
37
|
* */
|
|
37
38
|
angleOffset?: number;
|
|
39
|
+
/** Enables charts patterns that enhances charts accessability */
|
|
40
|
+
patterns?: PatternsConfig;
|
|
38
41
|
};
|
|
39
42
|
|
|
40
43
|
/** @deprecated */
|
|
@@ -9,7 +9,6 @@ export type ReferenceLineProps = Context & {
|
|
|
9
9
|
* @default 'left' */
|
|
10
10
|
position?: 'top' | 'right' | 'bottom' | 'left';
|
|
11
11
|
/** Value element of data */
|
|
12
|
-
/** @deprecated */
|
|
13
12
|
value?: any;
|
|
14
13
|
|
|
15
14
|
title?: string;
|
|
@@ -21,7 +20,6 @@ export type ReferenceLineTitleProps = Context & {
|
|
|
21
20
|
/** The position of the axis relative reference line */
|
|
22
21
|
position?: 'top' | 'right' | 'bottom' | 'left';
|
|
23
22
|
/** Value element of data */
|
|
24
|
-
/** @deprecated */
|
|
25
23
|
value: any;
|
|
26
24
|
};
|
|
27
25
|
|
|
@@ -33,8 +31,9 @@ export type ReferenceLineBackgroundProps = Context & {
|
|
|
33
31
|
/** The position of the axis relative reference line */
|
|
34
32
|
position?: 'top' | 'right' | 'bottom' | 'left';
|
|
35
33
|
/** Value element of data */
|
|
36
|
-
/** @deprecated */
|
|
37
34
|
value?: any;
|
|
35
|
+
/** Value of the background end */
|
|
36
|
+
endValue?: number | string;
|
|
38
37
|
};
|
|
39
38
|
|
|
40
39
|
declare const ReferenceLine: IntergalacticD3Component<'line', ReferenceLineProps, Context> & {
|
|
@@ -2,6 +2,7 @@ import { UnknownProperties } from '@semcore/core';
|
|
|
2
2
|
import { Context } from './context';
|
|
3
3
|
import { TooltipType } from './Tooltip';
|
|
4
4
|
import { IntergalacticD3Component } from './Plot';
|
|
5
|
+
import { PatternsConfig } from './Pattern';
|
|
5
6
|
|
|
6
7
|
/** @deprecated */
|
|
7
8
|
export interface IScatterPlotProps extends ScatterPlotProps, UnknownProperties {}
|
|
@@ -26,6 +27,8 @@ export type ScatterPlotProps = Context & {
|
|
|
26
27
|
r?: number;
|
|
27
28
|
/** Enables element transparency */
|
|
28
29
|
transparent?: boolean;
|
|
30
|
+
/** Enables charts patterns that enhances charts accessability */
|
|
31
|
+
patterns?: PatternsConfig;
|
|
29
32
|
};
|
|
30
33
|
|
|
31
34
|
declare const ScatterPlot: IntergalacticD3Component<'g', ScatterPlotProps, Context> & {
|
package/lib/types/StackBar.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Context } from './context';
|
|
|
3
3
|
import { BarContext, BarProps } from './Bar';
|
|
4
4
|
import { HorizontalBarProps } from './HorizontalBar';
|
|
5
5
|
import { IntergalacticD3Component } from './Plot';
|
|
6
|
+
import { PatternsConfig } from './Pattern';
|
|
6
7
|
|
|
7
8
|
/** @deprecated */
|
|
8
9
|
export interface IStackBarProps extends StackBarProps, UnknownProperties {}
|
|
@@ -19,6 +20,9 @@ export type StackBarProps = Context & {
|
|
|
19
20
|
* The maximum width of each Bar
|
|
20
21
|
*/
|
|
21
22
|
maxBarSize?: number;
|
|
23
|
+
|
|
24
|
+
/** Enables charts patterns that enhances charts accessability */
|
|
25
|
+
patterns?: PatternsConfig;
|
|
22
26
|
};
|
|
23
27
|
|
|
24
28
|
/** @deprecated */
|
|
@@ -2,6 +2,7 @@ import { UnknownProperties } from '@semcore/core';
|
|
|
2
2
|
import { Context } from './context';
|
|
3
3
|
import Area from './Area';
|
|
4
4
|
import { IntergalacticD3Component } from './Plot';
|
|
5
|
+
import { PatternsConfig } from './Pattern';
|
|
5
6
|
|
|
6
7
|
/** @deprecated */
|
|
7
8
|
export interface IStackedAreaProps extends StackedAreaProps, UnknownProperties {}
|
|
@@ -14,6 +15,9 @@ export type StackedAreaProps = Context & {
|
|
|
14
15
|
* @default d3.stack() */
|
|
15
16
|
/** @deprecated */
|
|
16
17
|
stack?: any;
|
|
18
|
+
|
|
19
|
+
/** Enables charts patterns that enhances charts accessability */
|
|
20
|
+
patterns?: PatternsConfig;
|
|
17
21
|
};
|
|
18
22
|
|
|
19
23
|
/** @deprecated */
|
package/lib/types/Venn.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Context } from './context';
|
|
|
3
3
|
import { FadeInOutProps } from '@semcore/animation';
|
|
4
4
|
import { TooltipType } from './Tooltip';
|
|
5
5
|
import { IntergalacticD3Component } from './Plot';
|
|
6
|
+
import { PatternsConfig } from './Pattern';
|
|
6
7
|
|
|
7
8
|
/** @deprecated */
|
|
8
9
|
export interface IVennProps extends VennProps, UnknownProperties {}
|
|
@@ -18,6 +19,8 @@ export type VennProps = Context &
|
|
|
18
19
|
* @default (circle1, circle2) => circle2.radius - circle1.radius
|
|
19
20
|
*/
|
|
20
21
|
orientationOrder?: (c1: number, c2: number) => number;
|
|
22
|
+
/** Enables charts patterns that enhances charts accessability */
|
|
23
|
+
patterns?: PatternsConfig;
|
|
21
24
|
};
|
|
22
25
|
|
|
23
26
|
/** @deprecated */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/d3-chart",
|
|
3
3
|
"description": "Semrush D3 Chart Component",
|
|
4
|
-
"version": "3.27.
|
|
4
|
+
"version": "3.27.4",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@semcore/animation": "2.18.2",
|
|
19
19
|
"@semcore/divider": "4.18.2",
|
|
20
20
|
"@semcore/flex-box": "5.19.1",
|
|
21
|
-
"@semcore/popper": "5.20.
|
|
21
|
+
"@semcore/popper": "5.20.1",
|
|
22
22
|
"@semcore/utils": "4.20.2",
|
|
23
23
|
"@types/d3-shape": "^3.1.0",
|
|
24
24
|
"@upsetjs/venn.js": "1.4.2",
|