@semcore/d3-chart 1.7.1 → 2.0.0
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 +18 -0
- package/lib/cjs/Area.js +9 -9
- package/lib/cjs/Axis.js +33 -21
- package/lib/cjs/Axis.js.map +1 -1
- package/lib/cjs/Bar.js +11 -11
- package/lib/cjs/Bar.js.map +1 -1
- package/lib/cjs/Bubble.js +13 -34
- package/lib/cjs/Bubble.js.map +1 -1
- package/lib/cjs/ClipPath.js +2 -1
- package/lib/cjs/ClipPath.js.map +1 -1
- package/lib/cjs/Donut.js +8 -8
- package/lib/cjs/Donut.js.map +1 -1
- package/lib/cjs/Dots.js +9 -9
- package/lib/cjs/Dots.js.map +1 -1
- package/lib/cjs/GroupBar.js +8 -8
- package/lib/cjs/GroupBar.js.map +1 -1
- package/lib/cjs/HorizontalBar.js +11 -11
- package/lib/cjs/HorizontalBar.js.map +1 -1
- package/lib/cjs/Hover.js +4 -4
- package/lib/cjs/Line.js +8 -8
- package/lib/cjs/Plot.js +15 -1
- package/lib/cjs/Plot.js.map +1 -1
- package/lib/cjs/RadialTree.js +694 -0
- package/lib/cjs/RadialTree.js.map +1 -0
- package/lib/cjs/ResponsiveContainer.js +1 -1
- package/lib/cjs/ResponsiveContainer.js.map +1 -1
- package/lib/cjs/ScatterPlot.js +7 -7
- package/lib/cjs/StackBar.js +8 -8
- package/lib/cjs/StackBar.js.map +1 -1
- package/lib/cjs/StackedArea.js +8 -8
- package/lib/cjs/StackedArea.js.map +1 -1
- package/lib/cjs/Tooltip.js +11 -15
- package/lib/cjs/Tooltip.js.map +1 -1
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/Venn.js.map +1 -1
- package/lib/cjs/color.js +122 -30
- package/lib/cjs/color.js.map +1 -1
- package/lib/cjs/createElement.js +3 -2
- package/lib/cjs/createElement.js.map +1 -1
- package/lib/cjs/index.js +8 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/style/area.shadow.css +4 -4
- package/lib/cjs/style/axis.shadow.css +6 -8
- package/lib/cjs/style/bar.shadow.css +2 -2
- package/lib/cjs/style/bubble.shadow.css +3 -3
- package/lib/cjs/style/donut.shadow.css +2 -2
- package/lib/cjs/style/dot.shadow.css +1 -1
- package/lib/cjs/style/hover.shadow.css +2 -2
- package/lib/cjs/style/line.shadow.css +2 -2
- package/lib/cjs/style/plot.shadow.css +6 -0
- package/lib/cjs/style/radial-tree.shadow.css +34 -0
- package/lib/cjs/style/scatterplot.shadow.css +2 -2
- package/lib/cjs/style/tooltip.shadow.css +5 -5
- package/lib/cjs/style/var.css +123 -30
- package/lib/cjs/style/venn.shadow.css +1 -1
- package/lib/cjs/types/Area.d.ts +47 -0
- package/lib/cjs/types/Axis.d.ts +64 -0
- package/lib/cjs/types/Bar.d.ts +48 -0
- package/lib/cjs/types/Bubble.d.ts +27 -0
- package/lib/cjs/types/ClipPath.d.ts +26 -0
- package/lib/cjs/types/Donut.d.ts +42 -0
- package/lib/cjs/types/GroupBar.d.ts +20 -0
- package/lib/cjs/types/HorizontalBar.d.ts +29 -0
- package/lib/cjs/types/Hover.d.ts +15 -0
- package/lib/cjs/types/Line.d.ts +50 -0
- package/lib/cjs/types/Plot.d.ts +16 -0
- package/lib/cjs/types/ResponsiveContainer.d.ts +20 -0
- package/lib/cjs/types/ScatterPlot.d.ts +27 -0
- package/lib/cjs/types/StackBar.d.ts +26 -0
- package/lib/cjs/types/StackedArea.d.ts +26 -0
- package/lib/cjs/types/Tooltip.d.ts +31 -0
- package/lib/cjs/types/Venn.d.ts +45 -0
- package/lib/cjs/types/context.d.ts +6 -0
- package/lib/cjs/types/index.d.ts +53 -0
- package/lib/cjs/utils.js +120 -55
- package/lib/cjs/utils.js.map +1 -1
- package/lib/es6/Area.js +9 -9
- package/lib/es6/Axis.js +33 -21
- package/lib/es6/Axis.js.map +1 -1
- package/lib/es6/Bar.js +11 -11
- package/lib/es6/Bar.js.map +1 -1
- package/lib/es6/Bubble.js +13 -34
- package/lib/es6/Bubble.js.map +1 -1
- package/lib/es6/ClipPath.js +2 -1
- package/lib/es6/ClipPath.js.map +1 -1
- package/lib/es6/Donut.js +8 -8
- package/lib/es6/Donut.js.map +1 -1
- package/lib/es6/Dots.js +9 -9
- package/lib/es6/Dots.js.map +1 -1
- package/lib/es6/GroupBar.js +8 -8
- package/lib/es6/GroupBar.js.map +1 -1
- package/lib/es6/HorizontalBar.js +11 -11
- package/lib/es6/HorizontalBar.js.map +1 -1
- package/lib/es6/Hover.js +4 -4
- package/lib/es6/Line.js +8 -8
- package/lib/es6/Plot.js +17 -1
- package/lib/es6/Plot.js.map +1 -1
- package/lib/es6/RadialTree.js +682 -0
- package/lib/es6/RadialTree.js.map +1 -0
- package/lib/es6/ResponsiveContainer.js +1 -1
- package/lib/es6/ResponsiveContainer.js.map +1 -1
- package/lib/es6/ScatterPlot.js +7 -7
- package/lib/es6/StackBar.js +8 -8
- package/lib/es6/StackBar.js.map +1 -1
- package/lib/es6/StackedArea.js +8 -8
- package/lib/es6/StackedArea.js.map +1 -1
- package/lib/es6/Tooltip.js +11 -15
- package/lib/es6/Tooltip.js.map +1 -1
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/Venn.js.map +1 -1
- package/lib/es6/color.js +122 -30
- package/lib/es6/color.js.map +1 -1
- package/lib/es6/createElement.js +3 -2
- package/lib/es6/createElement.js.map +1 -1
- package/lib/es6/index.js +1 -0
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/style/area.shadow.css +4 -4
- package/lib/es6/style/axis.shadow.css +6 -8
- package/lib/es6/style/bar.shadow.css +2 -2
- package/lib/es6/style/bubble.shadow.css +3 -3
- package/lib/es6/style/donut.shadow.css +2 -2
- package/lib/es6/style/dot.shadow.css +1 -1
- package/lib/es6/style/hover.shadow.css +2 -2
- package/lib/es6/style/line.shadow.css +2 -2
- package/lib/es6/style/plot.shadow.css +6 -0
- package/lib/es6/style/radial-tree.shadow.css +34 -0
- package/lib/es6/style/scatterplot.shadow.css +2 -2
- package/lib/es6/style/tooltip.shadow.css +5 -5
- package/lib/es6/style/var.css +123 -30
- package/lib/es6/style/venn.shadow.css +1 -1
- package/lib/es6/types/Area.d.ts +47 -0
- package/lib/es6/types/Axis.d.ts +64 -0
- package/lib/es6/types/Bar.d.ts +48 -0
- package/lib/es6/types/Bubble.d.ts +27 -0
- package/lib/es6/types/ClipPath.d.ts +26 -0
- package/lib/es6/types/Donut.d.ts +42 -0
- package/lib/es6/types/GroupBar.d.ts +20 -0
- package/lib/es6/types/HorizontalBar.d.ts +29 -0
- package/lib/es6/types/Hover.d.ts +15 -0
- package/lib/es6/types/Line.d.ts +50 -0
- package/lib/es6/types/Plot.d.ts +16 -0
- package/lib/es6/types/ResponsiveContainer.d.ts +20 -0
- package/lib/es6/types/ScatterPlot.d.ts +27 -0
- package/lib/es6/types/StackBar.d.ts +26 -0
- package/lib/es6/types/StackedArea.d.ts +26 -0
- package/lib/es6/types/Tooltip.d.ts +31 -0
- package/lib/es6/types/Venn.d.ts +45 -0
- package/lib/es6/types/context.d.ts +6 -0
- package/lib/es6/types/index.d.ts +53 -0
- package/lib/es6/utils.js +95 -44
- package/lib/es6/utils.js.map +1 -1
- package/lib/types/RadialTree.d.ts +202 -0
- package/lib/types/index.d.ts +6 -0
- package/lib/types/utils.d.ts +27 -0
- package/package.json +22 -10
- package/src/Axis.jsx +11 -1
- package/src/Bubble.jsx +1 -21
- package/src/ClipPath.jsx +1 -0
- package/src/Donut.jsx +7 -9
- package/src/Plot.jsx +2 -0
- package/src/RadialTree.tsx +767 -0
- package/src/createElement.jsx +3 -1
- package/src/index.js +1 -0
- package/src/style/area.shadow.css +4 -4
- package/src/style/axis.shadow.css +6 -8
- package/src/style/bar.shadow.css +2 -2
- package/src/style/bubble.shadow.css +3 -3
- package/src/style/donut.shadow.css +2 -2
- package/src/style/dot.shadow.css +1 -1
- package/src/style/hover.shadow.css +2 -2
- package/src/style/line.shadow.css +2 -2
- package/src/style/plot.shadow.css +6 -0
- package/src/style/radial-tree.shadow.css +34 -0
- package/src/style/scatterplot.shadow.css +2 -2
- package/src/style/tooltip.shadow.css +5 -5
- package/src/style/var.css +123 -30
- package/src/style/venn.shadow.css +1 -1
- package/src/types/index.d.ts +6 -0
- package/src/utils.ts +227 -0
- package/src/utils.js +0 -147
package/src/createElement.jsx
CHANGED
|
@@ -9,11 +9,13 @@ import hoistNonReactStatics from 'hoist-non-react-statics';
|
|
|
9
9
|
|
|
10
10
|
function createElementRender() {
|
|
11
11
|
const Element = React.forwardRef(function (
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
12
13
|
{ render, tag, childrenPosition = 'below', x: xS, y: yS, ...source },
|
|
13
14
|
ref,
|
|
14
15
|
) {
|
|
15
16
|
const {
|
|
16
17
|
forwardRef = null,
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
17
19
|
children: _children,
|
|
18
20
|
Children,
|
|
19
21
|
x = xS,
|
|
@@ -50,7 +52,7 @@ function createElementRender() {
|
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
if (!Tag) {
|
|
53
|
-
throw new Error('
|
|
55
|
+
throw new Error('Element expected render prop to be passed');
|
|
54
56
|
}
|
|
55
57
|
return [
|
|
56
58
|
<React.Fragment key="child-above">
|
package/src/index.js
CHANGED
|
@@ -12,6 +12,7 @@ export { default as Area } from './Area';
|
|
|
12
12
|
export { default as StackedArea } from './StackedArea';
|
|
13
13
|
export { default as ScatterPlot } from './ScatterPlot';
|
|
14
14
|
export { default as Bubble } from './Bubble';
|
|
15
|
+
export { default as RadialTree } from './RadialTree';
|
|
15
16
|
export { default as Donut } from './Donut';
|
|
16
17
|
export { default as Venn } from './Venn';
|
|
17
18
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import '@semcore/d3-chart/src/style/var.css';
|
|
2
2
|
|
|
3
3
|
SArea {
|
|
4
|
-
fill: var(--blue-
|
|
5
|
-
fill-opacity: 0.
|
|
4
|
+
fill: var(--blue-03);
|
|
5
|
+
fill-opacity: 0.2;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
SArea[color] {
|
|
@@ -10,7 +10,7 @@ SArea[color] {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
SAreaLine {
|
|
13
|
-
stroke: var(--blue-
|
|
13
|
+
stroke: var(--blue-03);
|
|
14
14
|
stroke-width: 3;
|
|
15
15
|
fill: transparent;
|
|
16
16
|
}
|
|
@@ -28,7 +28,7 @@ SAreaLine {
|
|
|
28
28
|
|
|
29
29
|
SNull {
|
|
30
30
|
fill: transparent;
|
|
31
|
-
stroke:
|
|
31
|
+
stroke: var(--gray-400);
|
|
32
32
|
stroke-dasharray: 4;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import '@semcore/utils/style/var.css';
|
|
2
2
|
|
|
3
3
|
SAxis {
|
|
4
|
-
stroke: var(--
|
|
4
|
+
stroke: var(--gray-200);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
SAxis[hide] {
|
|
@@ -10,7 +10,7 @@ SAxis[hide] {
|
|
|
10
10
|
|
|
11
11
|
STick {
|
|
12
12
|
font-size: 12px;
|
|
13
|
-
fill: var(--
|
|
13
|
+
fill: var(--gray-500);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
STick[hide] {
|
|
@@ -19,13 +19,13 @@ STick[hide] {
|
|
|
19
19
|
|
|
20
20
|
SGrid {
|
|
21
21
|
fill: transparent;
|
|
22
|
-
stroke: var(--
|
|
22
|
+
stroke: var(--gray-100);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
STitle {
|
|
26
26
|
font-size: 12px;
|
|
27
|
-
fill: var(--
|
|
28
|
-
transform-origin:
|
|
27
|
+
fill: var(--gray-500);
|
|
28
|
+
transform-origin: var(--transform-origin);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
STitle[position='top'] {
|
|
@@ -41,14 +41,12 @@ STitle[position='bottom'] {
|
|
|
41
41
|
|
|
42
42
|
STitle[position='right'] {
|
|
43
43
|
transform: rotate(-90deg);
|
|
44
|
-
transform-box: fill-box;
|
|
45
44
|
alignment-baseline: middle;
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
STitle[position='left'] {
|
|
49
48
|
transform: rotate(-90deg);
|
|
50
|
-
text-anchor:
|
|
51
|
-
transform-box: fill-box;
|
|
49
|
+
text-anchor: middle;
|
|
52
50
|
alignment-baseline: middle;
|
|
53
51
|
}
|
|
54
52
|
|
package/src/style/bar.shadow.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import '@semcore/d3-chart/src/style/var.css';
|
|
3
3
|
|
|
4
4
|
SBar {
|
|
5
|
-
fill: var(--blue-
|
|
5
|
+
fill: var(--blue-03);
|
|
6
6
|
transition-property: height, width, y;
|
|
7
7
|
transition-duration: var(--duration);
|
|
8
8
|
transition-timing-function: ease-in-out;
|
|
@@ -17,5 +17,5 @@ SBar[hide] {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
SBackground {
|
|
20
|
-
fill: var(--
|
|
20
|
+
fill: var(--gray-200);
|
|
21
21
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import '@semcore/d3-chart/src/style/var.css';
|
|
3
3
|
|
|
4
4
|
SBubble {
|
|
5
|
-
fill:
|
|
5
|
+
fill: var(--blue-03);
|
|
6
6
|
stroke: #fff;
|
|
7
7
|
stroke-width: 2px;
|
|
8
8
|
transition-property: cx, cy;
|
|
@@ -21,7 +21,7 @@ SBubble[color] {
|
|
|
21
21
|
SCenter {
|
|
22
22
|
text-anchor: middle;
|
|
23
23
|
font-size: 11px;
|
|
24
|
-
stroke:
|
|
24
|
+
stroke: var(--blue-03);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
SCenter[color] {
|
|
@@ -29,7 +29,7 @@ SCenter[color] {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
SLabel {
|
|
32
|
-
fill:
|
|
32
|
+
fill: var(--blue-03);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
SLabel[position='right'] {
|
package/src/style/dot.shadow.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
SLine {
|
|
5
5
|
fill: transparent;
|
|
6
6
|
stroke-width: 3;
|
|
7
|
-
stroke: var(--blue-
|
|
7
|
+
stroke: var(--blue-03);
|
|
8
8
|
transition-property: d;
|
|
9
9
|
transition-duration: var(--duration);
|
|
10
10
|
transition-timing-function: ease-in-out;
|
|
@@ -20,7 +20,7 @@ SLine[hide] {
|
|
|
20
20
|
|
|
21
21
|
SNull {
|
|
22
22
|
fill: transparent;
|
|
23
|
-
stroke: var(--
|
|
23
|
+
stroke: var(--gray-200);
|
|
24
24
|
stroke-dasharray: 4;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import '@semcore/utils/style/var.css';
|
|
2
|
+
@import '@semcore/d3-chart/src/style/var.css';
|
|
3
|
+
|
|
4
|
+
SRadian {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
fill: var(--blue-04);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
SLine {
|
|
10
|
+
stroke: var(--blue-04);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
SLine[color] {
|
|
14
|
+
stroke: var(--color);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
SCap {
|
|
18
|
+
transition: r 0.1s;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
SLabel {
|
|
22
|
+
fill: var(--color);
|
|
23
|
+
cursor: var(--text-cursor);
|
|
24
|
+
transform-origin: var(--transform-origin);
|
|
25
|
+
}
|
|
26
|
+
SRadian:hover SLabel {
|
|
27
|
+
fill: var(--color-hovered);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media (prefers-reduced-motion) {
|
|
31
|
+
SLineCap {
|
|
32
|
+
transition: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import '@semcore/d3-chart/src/style/var.css';
|
|
3
3
|
|
|
4
4
|
SScatterPlot {
|
|
5
|
-
fill:
|
|
5
|
+
fill: var(--blue-03);
|
|
6
6
|
transition-property: cx, cy;
|
|
7
7
|
transition-duration: var(--duration);
|
|
8
8
|
transition-timing-function: ease-in-out;
|
|
@@ -19,7 +19,7 @@ SScatterPlot[color] {
|
|
|
19
19
|
SValue {
|
|
20
20
|
text-anchor: middle;
|
|
21
21
|
font-size: 10px;
|
|
22
|
-
stroke:
|
|
22
|
+
stroke: var(--blue-04);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
SValue[color] {
|
|
@@ -6,15 +6,15 @@ STooltip {
|
|
|
6
6
|
line-height: var(--lh-100);
|
|
7
7
|
position: relative;
|
|
8
8
|
background-color: #fff;
|
|
9
|
-
border-radius:
|
|
10
|
-
border: 1px solid var(--
|
|
9
|
+
border-radius: 6px;
|
|
10
|
+
border: 1px solid var(--gray-100);
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
box-shadow:
|
|
12
|
+
box-shadow: var(--box-shadow-popper);
|
|
13
13
|
padding: 12px;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
STitle {
|
|
17
|
-
color: var(--
|
|
17
|
+
color: var(--gray-500);
|
|
18
18
|
margin-bottom: 8px;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -28,7 +28,7 @@ SDot {
|
|
|
28
28
|
height: 8px;
|
|
29
29
|
border-radius: 50%;
|
|
30
30
|
margin-right: 8px;
|
|
31
|
-
background: var(--blue-
|
|
31
|
+
background: var(--blue-03);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
SDot[color] {
|
package/src/style/var.css
CHANGED
|
@@ -1,32 +1,125 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--blue-01: #
|
|
3
|
-
--blue-02: #
|
|
4
|
-
--blue-03: #
|
|
5
|
-
--blue-04: #
|
|
6
|
-
--blue-05: #
|
|
7
|
-
--green-01: #
|
|
8
|
-
--green-02: #
|
|
9
|
-
--green-03: #
|
|
10
|
-
--green-04: #
|
|
11
|
-
--green-05: #
|
|
12
|
-
--orange-01: #
|
|
13
|
-
--orange-02: #
|
|
14
|
-
--orange-03: #
|
|
15
|
-
--orange-04: #
|
|
16
|
-
--orange-05: #
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
2
|
+
--blue-01: #c4e5fe;
|
|
3
|
+
--blue-02: #8ecdff;
|
|
4
|
+
--blue-03: #2bb3ff;
|
|
5
|
+
--blue-04: #008ff8;
|
|
6
|
+
--blue-05: #006dca;
|
|
7
|
+
--green-01: #9ef2c9;
|
|
8
|
+
--green-02: #59ddaa;
|
|
9
|
+
--green-03: #00c192;
|
|
10
|
+
--green-04: #009f81;
|
|
11
|
+
--green-05: #007c65;
|
|
12
|
+
--orange-01: #ffdca2;
|
|
13
|
+
--orange-02: #ffb26e;
|
|
14
|
+
--orange-03: #ff8c43;
|
|
15
|
+
--orange-04: #ff622d;
|
|
16
|
+
--orange-05: #c33909;
|
|
17
|
+
--pink-01: #ffd3ff;
|
|
18
|
+
--pink-02: #ffa9fa;
|
|
19
|
+
--pink-03: #f67cf2;
|
|
20
|
+
--pink-04: #e14adf;
|
|
21
|
+
--pink-05: #b229b9;
|
|
22
|
+
--violet-01: #edd9ff;
|
|
23
|
+
--violet-02: #dcb8ff;
|
|
24
|
+
--violet-03: #c695ff;
|
|
25
|
+
--violet-04: #ab6cfe;
|
|
26
|
+
--violet-05: #8649e1;
|
|
27
|
+
--red-01: #ffd7df;
|
|
28
|
+
--red-02: #ffaeb5;
|
|
29
|
+
--red-03: #ff8786;
|
|
30
|
+
--red-04: #ff4953;
|
|
31
|
+
--red-05: #d1002f;
|
|
32
|
+
--yellow-01: #fce081;
|
|
33
|
+
--yellow-02: #fdc23c;
|
|
34
|
+
--yellow-03: #ef9800;
|
|
35
|
+
--yellow-04: #d87900;
|
|
36
|
+
--yellow-05: #a75800;
|
|
37
|
+
--salad-01: #c7ee96;
|
|
38
|
+
--salad-02: #9bd85d;
|
|
39
|
+
--salad-03: #66c030;
|
|
40
|
+
--salad-04: #35a21e;
|
|
41
|
+
--salad-05: #0a7e22;
|
|
42
|
+
--gray-01: #c4c7cf;
|
|
43
|
+
|
|
44
|
+
--gray-50: #f4f5f9;
|
|
45
|
+
--gray-100: #e0e1e9;
|
|
46
|
+
--gray-200: #c4c7cf;
|
|
47
|
+
--gray-300: #a9abb6;
|
|
48
|
+
--gray-400: #8a8e9b;
|
|
49
|
+
--gray-500: #6c6e79;
|
|
50
|
+
--gray-600: #484a54;
|
|
51
|
+
--gray-700: #2b2e38;
|
|
52
|
+
--gray-800: #191b23;
|
|
53
|
+
--blue-50: #e9f7ff;
|
|
54
|
+
--blue-100: #c4e5fe;
|
|
55
|
+
--blue-200: #8ecdff;
|
|
56
|
+
--blue-300: #2bb3ff;
|
|
57
|
+
--blue-400: #008ff8;
|
|
58
|
+
--blue-500: #006dca;
|
|
59
|
+
--blue-600: #044792;
|
|
60
|
+
--blue-700: #002b5f;
|
|
61
|
+
--blue-800: #001b3d;
|
|
62
|
+
--green-100: #9ef2c9;
|
|
63
|
+
--green-200: #59ddaa;
|
|
64
|
+
--green-300: #00c192;
|
|
65
|
+
--green-400: #009f81;
|
|
66
|
+
--green-50: #dbfee8;
|
|
67
|
+
--green-500: #007c65;
|
|
68
|
+
--green-600: #055345;
|
|
69
|
+
--green-700: #00342d;
|
|
70
|
+
--green-800: #00201e;
|
|
71
|
+
--salad-100: #c7ee96;
|
|
72
|
+
--salad-200: #9bd85d;
|
|
73
|
+
--salad-300: #66c030;
|
|
74
|
+
--salad-400: #35a21e;
|
|
75
|
+
--salad-50: #ecfbcd;
|
|
76
|
+
--salad-500: #0a7e22;
|
|
77
|
+
--salad-600: #005613;
|
|
78
|
+
--salad-700: #003509;
|
|
79
|
+
--salad-800: #002203;
|
|
80
|
+
--orange-50: #fff3d9;
|
|
81
|
+
--orange-100: #ffdca2;
|
|
82
|
+
--orange-200: #ffb26e;
|
|
83
|
+
--orange-300: #ff8c43;
|
|
84
|
+
--orange-400: #ff622d;
|
|
85
|
+
--orange-500: #c33909;
|
|
86
|
+
--orange-600: #8b1500;
|
|
87
|
+
--orange-700: #551200;
|
|
88
|
+
--orange-800: #351000;
|
|
89
|
+
--yellow-100: #fce081;
|
|
90
|
+
--yellow-200: #fdc23c;
|
|
91
|
+
--yellow-300: #ef9800;
|
|
92
|
+
--yellow-400: #d87900;
|
|
93
|
+
--yellow-50: #fdf7c8;
|
|
94
|
+
--yellow-500: #a75800;
|
|
95
|
+
--yellow-600: #743a00;
|
|
96
|
+
--yellow-700: #462500;
|
|
97
|
+
--yellow-800: #2c1600;
|
|
98
|
+
--red-100: #ffd7df;
|
|
99
|
+
--red-200: #ffaeb5;
|
|
100
|
+
--red-300: #ff8786;
|
|
101
|
+
--red-400: #ff4953;
|
|
102
|
+
--red-50: #fff0f7;
|
|
103
|
+
--red-500: #d1002f;
|
|
104
|
+
--red-600: #8e0016;
|
|
105
|
+
--red-700: #58000a;
|
|
106
|
+
--red-800: #410101;
|
|
107
|
+
--pink-100: #ffd3ff;
|
|
108
|
+
--pink-200: #ffa9fa;
|
|
109
|
+
--pink-300: #f67cf2;
|
|
110
|
+
--pink-400: #e14adf;
|
|
111
|
+
--pink-50: #fff0ff;
|
|
112
|
+
--pink-500: #b229b9;
|
|
113
|
+
--pink-600: #7d0480;
|
|
114
|
+
--pink-700: #4d0050;
|
|
115
|
+
--pink-800: #340439;
|
|
116
|
+
--violet-100: #edd9ff;
|
|
117
|
+
--violet-200: #dcb8ff;
|
|
118
|
+
--violet-300: #c695ff;
|
|
119
|
+
--violet-400: #ab6cfe;
|
|
120
|
+
--violet-50: #f9f2ff;
|
|
121
|
+
--violet-500: #8649e1;
|
|
122
|
+
--violet-600: #5925ab;
|
|
123
|
+
--violet-700: #421984;
|
|
124
|
+
--violet-800: #220358;
|
|
32
125
|
}
|
package/src/types/index.d.ts
CHANGED
|
@@ -34,6 +34,12 @@ export * from './Area';
|
|
|
34
34
|
export { default as StackedArea } from './StackedArea';
|
|
35
35
|
export * from './StackedArea';
|
|
36
36
|
|
|
37
|
+
/** It becomes resolvable after building and moving file to lib dir */
|
|
38
|
+
// eslint-disable-next-line import/no-unresolved
|
|
39
|
+
export { default as RadialTree } from './RadialTree';
|
|
40
|
+
// eslint-disable-next-line import/no-unresolved
|
|
41
|
+
export * from './RadialTree';
|
|
42
|
+
|
|
37
43
|
export { default as Donut } from './Donut';
|
|
38
44
|
export * from './Donut';
|
|
39
45
|
|