@carbon/charts 1.11.21 → 1.12.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 +13 -0
- package/README.md +3 -3
- package/dist/demo/index.mjs +227 -244
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +4499 -692
- package/dist/demo/styles.css.map +1 -1
- package/dist/demo/utils/package-versions.d.ts +0 -2
- package/dist/styles.css +4249 -781
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/package.json +21 -21
- package/scss/_chart-holder.scss +18 -17
- package/scss/_chart-wrapper.scss +6 -0
- package/scss/_color-palette.scss +2 -2
- package/scss/_colors.scss +26 -25
- package/scss/_globals.scss +8 -0
- package/scss/_tokens.scss +50 -50
- package/scss/_transition.scss +4 -0
- package/scss/_type.scss +14 -14
- package/scss/components/_axis.scss +12 -11
- package/scss/components/_callouts.scss +4 -3
- package/scss/components/_color-legend.scss +4 -4
- package/scss/components/_grid-brush.scss +7 -5
- package/scss/components/_grid.scss +9 -8
- package/scss/components/_highlights.scss +6 -3
- package/scss/components/_layout.scss +5 -3
- package/scss/components/_legend.scss +14 -11
- package/scss/components/_meter-title.scss +11 -9
- package/scss/components/_modal.scss +14 -11
- package/scss/components/_ruler.scss +6 -3
- package/scss/components/_skeleton-lines.scss +9 -6
- package/scss/components/_skeleton.scss +9 -6
- package/scss/components/_threshold.scss +12 -11
- package/scss/components/_title.scss +5 -5
- package/scss/components/_toolbar.scss +6 -6
- package/scss/components/_tooltip.scss +12 -11
- package/scss/components/_zero-line.scss +4 -3
- package/scss/components/_zoom-bar.scss +16 -14
- package/scss/components/diagrams/_card-node.scss +74 -74
- package/scss/components/diagrams/_edge.scss +46 -49
- package/scss/components/diagrams/_marker.scss +4 -5
- package/scss/components/diagrams/_shape-node.scss +72 -73
- package/scss/components/diagrams/index.scss +4 -4
- package/scss/components/index.scss +20 -20
- package/scss/demos.scss +1 -0
- package/scss/graphs/_alluvial.scss +7 -6
- package/scss/graphs/_area.scss +4 -2
- package/scss/graphs/_bubble.scss +6 -5
- package/scss/graphs/_bullet.scss +11 -13
- package/scss/graphs/_choropleth.scss +7 -7
- package/scss/graphs/_circle-pack.scss +7 -6
- package/scss/graphs/_donut.scss +3 -1
- package/scss/graphs/_gauge.scss +7 -6
- package/scss/graphs/_heatmap.scss +6 -6
- package/scss/graphs/_line.scss +6 -4
- package/scss/graphs/_lollipop.scss +3 -1
- package/scss/graphs/_meter.scss +11 -10
- package/scss/graphs/_pie.scss +3 -1
- package/scss/graphs/_radar.scss +6 -5
- package/scss/graphs/_scatter-stacked.scss +4 -3
- package/scss/graphs/_scatter.scss +6 -5
- package/scss/graphs/_tree.scss +11 -9
- package/scss/graphs/_treemap.scss +3 -1
- package/scss/graphs/_wordcloud.scss +3 -1
- package/scss/graphs/index.scss +19 -19
- package/scss/index.scss +10 -31
- package/styles.css +4249 -781
- package/styles.min.css +1 -1
- package/scss/components/_edge.scss +0 -65
- package/scss/components/_marker.scss +0 -7
|
@@ -1,89 +1,88 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/
|
|
2
|
-
@use '@carbon/styles/scss/
|
|
3
|
-
@use '@carbon/styles/scss/
|
|
4
|
-
@use '
|
|
1
|
+
@use '@carbon/styles/scss/spacing';
|
|
2
|
+
@use '@carbon/styles/scss/type';
|
|
3
|
+
@use '@carbon/styles/scss/theme';
|
|
4
|
+
@use '../../globals';
|
|
5
|
+
@use '../../tokens';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
7
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
background-color: theme.$layer-01;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
font-family: var(--#{globals.$prefix}-charts-font-family);
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--circle {
|
|
20
|
+
border-radius: 100%;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--square {
|
|
24
|
+
border-radius: 0;
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--rounded-square {
|
|
28
|
+
border-radius: 0.5rem;
|
|
29
|
+
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--a,
|
|
32
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--button {
|
|
33
|
+
border: none;
|
|
34
|
+
color: inherit;
|
|
35
|
+
text-decoration: none;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--button {
|
|
40
|
+
font-family: var(--#{globals.$prefix}-charts-font-family);
|
|
41
|
+
text-align: left;
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--a:focus,
|
|
46
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--a:hover,
|
|
47
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--button:focus,
|
|
48
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--button:hover {
|
|
49
|
+
background-color: tokens.$network-diagrams-background-hover;
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
51
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node__title,
|
|
52
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node__subtitle {
|
|
53
|
+
// TODO-V11
|
|
54
|
+
// font-weight: font-weight('semibold');
|
|
55
|
+
font-weight: 600;
|
|
57
56
|
}
|
|
57
|
+
}
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
59
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--a:focus,
|
|
60
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node--button:focus {
|
|
61
|
+
&:focus {
|
|
62
|
+
outline: none;
|
|
63
|
+
box-shadow: 0 0 0 2px theme.$focus;
|
|
65
64
|
}
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node__body {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: calc(100% + #{spacing.$spacing-01});
|
|
70
|
+
text-align: center;
|
|
71
|
+
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node__subtitle {
|
|
74
|
+
padding-bottom: spacing.$spacing-01;
|
|
75
|
+
@include type.type-style($name: body-short-01);
|
|
76
|
+
color: theme.$text-primary;
|
|
77
|
+
}
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node__icon {
|
|
80
|
+
display: flex;
|
|
81
|
+
}
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
83
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--shape-node__title {
|
|
84
|
+
@include type.type-style($name: body-short-01);
|
|
85
|
+
color: theme.$text-primary;
|
|
86
|
+
padding-top: spacing.$spacing-01;
|
|
87
|
+
margin-bottom: 1px;
|
|
89
88
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
1
|
+
@use 'card-node';
|
|
2
|
+
@use 'shape-node';
|
|
3
|
+
@use 'edge';
|
|
4
|
+
@use 'marker';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
20
|
-
@
|
|
1
|
+
@use 'axis';
|
|
2
|
+
@use 'callouts';
|
|
3
|
+
@use 'color-legend';
|
|
4
|
+
@use 'diagrams';
|
|
5
|
+
@use 'grid';
|
|
6
|
+
@use 'grid-brush';
|
|
7
|
+
@use 'highlights';
|
|
8
|
+
@use 'layout';
|
|
9
|
+
@use 'legend';
|
|
10
|
+
@use 'meter-title';
|
|
11
|
+
@use 'modal';
|
|
12
|
+
@use 'ruler';
|
|
13
|
+
@use 'skeleton';
|
|
14
|
+
@use 'skeleton-lines';
|
|
15
|
+
@use 'threshold';
|
|
16
|
+
@use 'title';
|
|
17
|
+
@use 'toolbar';
|
|
18
|
+
@use 'tooltip';
|
|
19
|
+
@use 'zero-line';
|
|
20
|
+
@use 'zoom-bar';
|
package/scss/demos.scss
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/
|
|
2
|
-
@use '
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
3
|
+
@use '../tokens';
|
|
3
4
|
|
|
4
|
-
.#{
|
|
5
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--alluvial {
|
|
5
6
|
rect.node,
|
|
6
7
|
rect.node-text-bg {
|
|
7
|
-
fill:
|
|
8
|
+
fill: tokens.$layer-inverse-absolute;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
text.node-text {
|
|
11
|
-
fill:
|
|
12
|
+
fill: tokens.$layer-01-absolute;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
polygon.arrow-down {
|
|
15
|
-
fill:
|
|
16
|
+
fill: theme.$layer-01;
|
|
16
17
|
}
|
|
17
18
|
}
|
package/scss/graphs/_area.scss
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@use '../globals';
|
|
2
|
+
|
|
3
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--area path.area,
|
|
4
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--area-stacked path.area {
|
|
3
5
|
pointer-events: none;
|
|
4
6
|
}
|
package/scss/graphs/_bubble.scss
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/motion'
|
|
2
|
-
@use '@carbon/styles/scss/theme'
|
|
1
|
+
@use '@carbon/styles/scss/motion';
|
|
2
|
+
@use '@carbon/styles/scss/theme';
|
|
3
|
+
@use '../globals';
|
|
3
4
|
|
|
4
|
-
.#{
|
|
5
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--bubble {
|
|
5
6
|
circle.dot.hovered {
|
|
6
7
|
fill-opacity: 1;
|
|
7
8
|
transition: all 0.1s;
|
|
8
|
-
@include motion(standard, expressive);
|
|
9
|
+
@include motion.motion(standard, expressive);
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
circle.dot.unfilled {
|
|
12
|
-
fill:
|
|
13
|
+
fill: theme.$layer-01;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
g.lines path.line {
|
package/scss/graphs/_bullet.scss
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
1
|
+
@use '../globals';
|
|
2
|
+
@use '../tokens';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.#{$prefix}--#{$charts-prefix}--bullet {
|
|
4
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--bullet {
|
|
7
5
|
path.range-box {
|
|
8
6
|
pointer-events: none;
|
|
9
7
|
|
|
10
8
|
&.order-1 {
|
|
11
|
-
fill:
|
|
12
|
-
stroke:
|
|
9
|
+
fill: tokens.$zone-fill-01;
|
|
10
|
+
stroke: tokens.$zone-stroke-01;
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
&.order-2 {
|
|
16
|
-
fill:
|
|
17
|
-
stroke:
|
|
14
|
+
fill: tokens.$zone-fill-02;
|
|
15
|
+
stroke: tokens.$zone-stroke-02;
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
&.order-3 {
|
|
21
|
-
fill:
|
|
22
|
-
stroke:
|
|
19
|
+
fill: tokens.$zone-fill-03;
|
|
20
|
+
stroke: tokens.$zone-stroke-03;
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
23
|
|
|
@@ -27,10 +25,10 @@
|
|
|
27
25
|
path.quartile {
|
|
28
26
|
pointer-events: none;
|
|
29
27
|
stroke-width: 1.5px;
|
|
30
|
-
stroke:
|
|
28
|
+
stroke: tokens.$layer-inverse-absolute;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
path.quartile.over-bar {
|
|
34
|
-
stroke:
|
|
32
|
+
stroke: tokens.$layer-01-absolute;
|
|
35
33
|
}
|
|
36
34
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@use "@carbon/styles/scss/
|
|
2
|
-
@use
|
|
1
|
+
@use "@carbon/styles/scss/theme";
|
|
2
|
+
@use '../globals';
|
|
3
3
|
|
|
4
|
-
.#{
|
|
4
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--choropleth {
|
|
5
5
|
path.border {
|
|
6
|
-
stroke:
|
|
6
|
+
stroke: theme.$border-subtle-selected-01;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
g.missing-data path {
|
|
10
|
-
stroke:
|
|
11
|
-
fill:
|
|
10
|
+
stroke: theme.$border-subtle-selected-01;
|
|
11
|
+
fill: theme.$background;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
pattern path.pattern-fill {
|
|
15
|
-
stroke:
|
|
15
|
+
stroke: theme.$border-strong-01;
|
|
16
16
|
stroke-width: 0.5px;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/theme'
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
2
3
|
|
|
3
|
-
.#{
|
|
4
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--circle-pack {
|
|
4
5
|
circle.node {
|
|
5
6
|
stroke-width: 1.5px;
|
|
6
7
|
|
|
@@ -9,9 +10,9 @@
|
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
&.non-focal {
|
|
12
|
-
fill:
|
|
13
|
+
fill: theme.$icon-disabled;
|
|
13
14
|
fill-opacity: 30%;
|
|
14
|
-
stroke:
|
|
15
|
+
stroke: theme.$icon-disabled;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
&.clickable {
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
.#{
|
|
24
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--chart-wrapper.zoomed-in {
|
|
24
25
|
cursor: zoom-out;
|
|
25
|
-
.#{
|
|
26
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--circle-pack {
|
|
26
27
|
circle.node {
|
|
27
28
|
&.hovered-child {
|
|
28
29
|
stroke: 1.5px solid initial;
|
package/scss/graphs/_donut.scss
CHANGED
package/scss/graphs/_gauge.scss
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/theme'
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
2
3
|
|
|
3
|
-
.#{
|
|
4
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--gauge {
|
|
4
5
|
overflow: visible;
|
|
5
6
|
|
|
6
7
|
path.arc-background {
|
|
7
|
-
fill:
|
|
8
|
+
fill: theme.$layer-01;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
.gauge-delta-arrow {
|
|
11
12
|
&.status--danger {
|
|
12
|
-
fill:
|
|
13
|
+
fill: theme.$support-error;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
&.status--warning {
|
|
16
|
-
fill:
|
|
17
|
+
fill: theme.$support-warning;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
&.status--success {
|
|
20
|
-
fill:
|
|
21
|
+
fill: theme.$support-success;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/
|
|
2
|
-
@use '
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
3
3
|
|
|
4
|
-
.#{
|
|
4
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--heatmap {
|
|
5
5
|
g.highlighter-hidden {
|
|
6
6
|
visibility: hidden;
|
|
7
7
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
rect.pattern-fill {
|
|
31
|
-
fill:
|
|
31
|
+
fill: theme.$border-strong-01;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
g.shadows {
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
|
|
52
52
|
rect.heat {
|
|
53
53
|
stroke-width: 0px;
|
|
54
|
-
stroke:
|
|
54
|
+
stroke: theme.$background;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
rect.null-state {
|
|
58
|
-
fill:
|
|
58
|
+
fill: theme.$icon-inverse;
|
|
59
59
|
}
|
|
60
60
|
}
|
package/scss/graphs/_line.scss
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/theme'
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '@carbon/colors';
|
|
3
|
+
@use '../globals';
|
|
2
4
|
|
|
3
|
-
$lines-bg-color:
|
|
4
|
-
$lines-shimmer-color:
|
|
5
|
+
$lines-bg-color: theme.$layer-accent-01;
|
|
6
|
+
$lines-shimmer-color: colors.$white-0;
|
|
5
7
|
|
|
6
|
-
.#{
|
|
8
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--line {
|
|
7
9
|
path.line {
|
|
8
10
|
pointer-events: none;
|
|
9
11
|
fill: none;
|
package/scss/graphs/_meter.scss
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/
|
|
2
|
-
@use '
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
3
|
+
@use '../tokens';
|
|
3
4
|
|
|
4
|
-
.#{
|
|
5
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--meter {
|
|
5
6
|
rect.container {
|
|
6
|
-
fill:
|
|
7
|
+
fill: theme.$layer-01;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
line.rangeIndicator {
|
|
10
|
-
stroke:
|
|
11
|
+
stroke: tokens.$meter-range-indicator;
|
|
11
12
|
stroke-width: 1px;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
rect.value {
|
|
15
16
|
&.status--danger {
|
|
16
|
-
fill:
|
|
17
|
+
fill: theme.$support-error;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
&.status--warning {
|
|
20
|
-
fill:
|
|
21
|
+
fill: theme.$support-warning;
|
|
21
22
|
stroke-width: 1px;
|
|
22
|
-
stroke:
|
|
23
|
+
stroke: tokens.$alert-stroke;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
&.status--success {
|
|
26
|
-
fill:
|
|
27
|
+
fill: theme.$support-success;
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
line.peak {
|
|
31
|
-
stroke:
|
|
32
|
+
stroke: theme.$border-inverse;
|
|
32
33
|
stroke-width: 2px;
|
|
33
34
|
}
|
|
34
35
|
}
|
package/scss/graphs/_pie.scss
CHANGED
package/scss/graphs/_radar.scss
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/
|
|
2
|
-
@use '
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
3
|
+
@use '../tokens';
|
|
3
4
|
|
|
4
|
-
.#{
|
|
5
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--radar {
|
|
5
6
|
.blobs path {
|
|
6
7
|
stroke-width: 1.5px;
|
|
7
8
|
}
|
|
@@ -9,10 +10,10 @@
|
|
|
9
10
|
.y-axes path,
|
|
10
11
|
.x-axes line {
|
|
11
12
|
stroke-width: 1px;
|
|
12
|
-
stroke:
|
|
13
|
+
stroke: theme.$layer-accent-01;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.x-axes line.hovered {
|
|
16
|
-
stroke:
|
|
17
|
+
stroke: tokens.$layer-inverse-absolute;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/theme'
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
2
3
|
|
|
3
|
-
.#{
|
|
4
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--scatter-stacked {
|
|
4
5
|
circle.dot.unfilled {
|
|
5
|
-
fill:
|
|
6
|
+
fill: theme.$layer-01;
|
|
6
7
|
stroke-width: 1.5;
|
|
7
8
|
}
|
|
8
9
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/motion' as
|
|
2
|
-
@use '@carbon/styles/scss/theme'
|
|
1
|
+
@use '@carbon/styles/scss/motion' as motion;
|
|
2
|
+
@use '@carbon/styles/scss/theme';
|
|
3
|
+
@use '../globals';
|
|
3
4
|
|
|
4
|
-
.#{
|
|
5
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--scatter {
|
|
5
6
|
circle.dot.hovered {
|
|
6
7
|
fill-opacity: 1;
|
|
7
8
|
transition: all 0.1s;
|
|
8
|
-
@include motion(standard, expressive);
|
|
9
|
+
@include motion.motion(standard, expressive);
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
circle.dot.unfilled {
|
|
12
|
-
fill:
|
|
13
|
+
fill: theme.$layer-01;
|
|
13
14
|
stroke-width: 1.5;
|
|
14
15
|
}
|
|
15
16
|
|
package/scss/graphs/_tree.scss
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
@use '@carbon/styles/scss/theme'
|
|
1
|
+
@use '@carbon/styles/scss/theme';
|
|
2
|
+
@use '../globals';
|
|
3
|
+
@use '../transition';
|
|
2
4
|
|
|
3
|
-
.#{
|
|
5
|
+
.#{globals.$prefix}--#{globals.$charts-prefix}--chart-wrapper .#{globals.$prefix}--#{globals.$charts-prefix}--tree {
|
|
4
6
|
g.links {
|
|
5
7
|
fill: none;
|
|
6
|
-
stroke:
|
|
8
|
+
stroke: theme.$border-strong-01;
|
|
7
9
|
stroke-opacity: 0.4;
|
|
8
10
|
stroke-width: 1.5;
|
|
9
11
|
}
|
|
@@ -19,27 +21,27 @@
|
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
circle {
|
|
22
|
-
fill:
|
|
23
|
-
@include default_transition;
|
|
24
|
+
fill: theme.$text-primary;
|
|
25
|
+
@include transition.default_transition;
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
circle {
|
|
29
31
|
&.parent {
|
|
30
|
-
fill:
|
|
32
|
+
fill: theme.$text-secondary;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
&.child {
|
|
34
|
-
fill:
|
|
36
|
+
fill: theme.$border-strong-01;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
text {
|
|
39
|
-
fill:
|
|
41
|
+
fill: theme.$text-primary;
|
|
40
42
|
|
|
41
43
|
&.text-stroke {
|
|
42
|
-
stroke:
|
|
44
|
+
stroke: theme.$text-inverse;
|
|
43
45
|
stroke-width: 2px;
|
|
44
46
|
}
|
|
45
47
|
}
|