@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.
Files changed (71) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +3 -3
  3. package/dist/demo/index.mjs +227 -244
  4. package/dist/demo/index.mjs.map +1 -1
  5. package/dist/demo/styles.css +4499 -692
  6. package/dist/demo/styles.css.map +1 -1
  7. package/dist/demo/utils/package-versions.d.ts +0 -2
  8. package/dist/styles.css +4249 -781
  9. package/dist/styles.css.map +1 -1
  10. package/dist/styles.min.css +1 -1
  11. package/dist/styles.min.css.map +1 -1
  12. package/package.json +21 -21
  13. package/scss/_chart-holder.scss +18 -17
  14. package/scss/_chart-wrapper.scss +6 -0
  15. package/scss/_color-palette.scss +2 -2
  16. package/scss/_colors.scss +26 -25
  17. package/scss/_globals.scss +8 -0
  18. package/scss/_tokens.scss +50 -50
  19. package/scss/_transition.scss +4 -0
  20. package/scss/_type.scss +14 -14
  21. package/scss/components/_axis.scss +12 -11
  22. package/scss/components/_callouts.scss +4 -3
  23. package/scss/components/_color-legend.scss +4 -4
  24. package/scss/components/_grid-brush.scss +7 -5
  25. package/scss/components/_grid.scss +9 -8
  26. package/scss/components/_highlights.scss +6 -3
  27. package/scss/components/_layout.scss +5 -3
  28. package/scss/components/_legend.scss +14 -11
  29. package/scss/components/_meter-title.scss +11 -9
  30. package/scss/components/_modal.scss +14 -11
  31. package/scss/components/_ruler.scss +6 -3
  32. package/scss/components/_skeleton-lines.scss +9 -6
  33. package/scss/components/_skeleton.scss +9 -6
  34. package/scss/components/_threshold.scss +12 -11
  35. package/scss/components/_title.scss +5 -5
  36. package/scss/components/_toolbar.scss +6 -6
  37. package/scss/components/_tooltip.scss +12 -11
  38. package/scss/components/_zero-line.scss +4 -3
  39. package/scss/components/_zoom-bar.scss +16 -14
  40. package/scss/components/diagrams/_card-node.scss +74 -74
  41. package/scss/components/diagrams/_edge.scss +46 -49
  42. package/scss/components/diagrams/_marker.scss +4 -5
  43. package/scss/components/diagrams/_shape-node.scss +72 -73
  44. package/scss/components/diagrams/index.scss +4 -4
  45. package/scss/components/index.scss +20 -20
  46. package/scss/demos.scss +1 -0
  47. package/scss/graphs/_alluvial.scss +7 -6
  48. package/scss/graphs/_area.scss +4 -2
  49. package/scss/graphs/_bubble.scss +6 -5
  50. package/scss/graphs/_bullet.scss +11 -13
  51. package/scss/graphs/_choropleth.scss +7 -7
  52. package/scss/graphs/_circle-pack.scss +7 -6
  53. package/scss/graphs/_donut.scss +3 -1
  54. package/scss/graphs/_gauge.scss +7 -6
  55. package/scss/graphs/_heatmap.scss +6 -6
  56. package/scss/graphs/_line.scss +6 -4
  57. package/scss/graphs/_lollipop.scss +3 -1
  58. package/scss/graphs/_meter.scss +11 -10
  59. package/scss/graphs/_pie.scss +3 -1
  60. package/scss/graphs/_radar.scss +6 -5
  61. package/scss/graphs/_scatter-stacked.scss +4 -3
  62. package/scss/graphs/_scatter.scss +6 -5
  63. package/scss/graphs/_tree.scss +11 -9
  64. package/scss/graphs/_treemap.scss +3 -1
  65. package/scss/graphs/_wordcloud.scss +3 -1
  66. package/scss/graphs/index.scss +19 -19
  67. package/scss/index.scss +10 -31
  68. package/styles.css +4249 -781
  69. package/styles.min.css +1 -1
  70. package/scss/components/_edge.scss +0 -65
  71. package/scss/components/_marker.scss +0 -7
@@ -1,7 +1,10 @@
1
- .#{$prefix}--#{$charts-prefix}--ruler,
2
- .#{$prefix}--#{$charts-prefix}--ruler-binned {
1
+ @use '../globals';
2
+ @use '../tokens';
3
+
4
+ .#{globals.$prefix}--#{globals.$charts-prefix}--ruler,
5
+ .#{globals.$prefix}--#{globals.$charts-prefix}--ruler-binned {
3
6
  line.ruler-line {
4
- stroke: $layer-inverse-absolute;
7
+ stroke: tokens.$layer-inverse-absolute;
5
8
  stroke-width: 1px;
6
9
  stroke-dasharray: 2;
7
10
  pointer-events: none;
@@ -1,14 +1,17 @@
1
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/theme';
2
+ @use '@carbon/colors';
3
+ @use '../globals';
4
+ @use '../tokens';
2
5
 
3
- $lines-bg-color: $layer-accent-01;
4
- $lines-shimmer-color: $white-0;
6
+ $lines-bg-color: theme.$layer-accent-01;
7
+ $lines-shimmer-color: colors.$white-0;
5
8
  $areas-bg-color: rgba(127, 127, 127, 0.1);
6
- $areas-shimmer-color: rgba($white-0, 0.15);
9
+ $areas-shimmer-color: rgba(colors.$white-0, 0.15);
7
10
 
8
- .#{$prefix}--#{$charts-prefix}--skeleton-lines {
11
+ .#{globals.$prefix}--#{globals.$charts-prefix}--skeleton-lines {
9
12
  // lines
10
13
  rect.chart-skeleton-backdrop {
11
- fill: $grid-bg;
14
+ fill: tokens.$grid-bg;
12
15
  }
13
16
 
14
17
  .shimmer-effect-lines {
@@ -1,14 +1,17 @@
1
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/theme';
2
+ @use '@carbon/colors';
3
+ @use '../globals';
4
+ @use '../tokens';
2
5
 
3
- $lines-bg-color: $layer-accent-01;
4
- $lines-shimmer-color: $white-0;
6
+ $lines-bg-color: theme.$layer-accent-01;
7
+ $lines-shimmer-color: colors.$white-0;
5
8
  $areas-bg-color: rgba(127, 127, 127, 0.1);
6
- $areas-shimmer-color: rgba($white-0, 0.15);
9
+ $areas-shimmer-color: rgba(colors.$white-0, 0.15);
7
10
 
8
- .#{$prefix}--#{$charts-prefix}--skeleton {
11
+ .#{globals.$prefix}--#{globals.$charts-prefix}--skeleton {
9
12
  // lines
10
13
  rect.chart-skeleton-backdrop {
11
- fill: $grid-bg;
14
+ fill: tokens.$grid-bg;
12
15
  }
13
16
 
14
17
  .shimmer-effect-lines {
@@ -1,10 +1,11 @@
1
- @use '@carbon/styles/scss/type' as *;
2
- @use '@carbon/styles/scss/motion' as *;
3
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/motion';
2
+ @use '@carbon/styles/scss/theme';
3
+ @use '@carbon/colors';
4
+ @use '../globals';
4
5
 
5
- .#{$prefix}--#{$charts-prefix}--threshold {
6
+ .#{globals.$prefix}--#{globals.$charts-prefix}--threshold {
6
7
  line.threshold-line {
7
- stroke: $red-50;
8
+ stroke: colors.$red-50;
8
9
  stroke-width: 1;
9
10
  stroke-dasharray: 4;
10
11
  cursor: pointer;
@@ -27,19 +28,19 @@
27
28
  }
28
29
  }
29
30
 
30
- .#{$prefix}--#{$charts-prefix}--threshold--label {
31
- background-color: $red-50;
31
+ .#{globals.$prefix}--#{globals.$charts-prefix}--threshold--label {
32
+ background-color: colors.$red-50;
32
33
  pointer-events: none;
33
34
  transition: opacity 0.1s;
34
- @include motion(standard, expressive);
35
+ @include motion.motion(standard, expressive);
35
36
  display: inline;
36
37
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2);
37
38
  position: absolute;
38
39
  word-wrap: break-word;
39
40
  z-index: 1059;
40
- font-family: var(--#{$prefix}-charts-font-family-condensed);
41
+ font-family: var(--#{globals.$prefix}-charts-font-family-condensed);
41
42
 
42
- color: $text-primary;
43
+ color: theme.$text-primary;
43
44
  line-height: 16px;
44
45
  font-size: 12px;
45
46
  padding: 4px;
@@ -48,6 +49,6 @@
48
49
  &.hidden {
49
50
  opacity: 0;
50
51
  transition: opacity 0.1s;
51
- @include motion(standard, expressive);
52
+ @include motion.motion(standard, expressive);
52
53
  }
53
54
  }
@@ -1,11 +1,11 @@
1
- @use '@carbon/styles/scss/type' as *;
2
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/theme';
2
+ @use '../globals';
3
3
 
4
- .#{$prefix}--#{$charts-prefix}--title {
4
+ .#{globals.$prefix}--#{globals.$charts-prefix}--title {
5
5
  p.title {
6
- color: $text-primary;
6
+ color: theme.$text-primary;
7
7
  font-size: 16px;
8
- font-family: var(--#{$prefix}-charts-font-family);
8
+ font-family: var(--#{globals.$prefix}-charts-font-family);
9
9
  // TODO-V11
10
10
  // font-weight: font-weight('semibold');
11
11
  font-weight: 600;
@@ -1,15 +1,15 @@
1
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/theme';
2
+ @use '@carbon/styles/scss/components/overflow-menu';
3
+ @use '../globals';
2
4
 
3
- $css--reset: false;
4
-
5
- .#{$prefix}--chart-holder {
5
+ .#{globals.$prefix}--chart-holder {
6
6
  .cds--overflow-menu,
7
7
  .cds--overflow-menu__trigger {
8
8
  width: 2rem;
9
9
  height: 2rem;
10
10
  }
11
11
 
12
- .#{$prefix}--#{$charts-prefix}--toolbar {
12
+ .#{globals.$prefix}--#{globals.$charts-prefix}--toolbar {
13
13
  display: flex;
14
14
 
15
15
  div.toolbar-control {
@@ -29,7 +29,7 @@ $css--reset: false;
29
29
  }
30
30
 
31
31
  svg {
32
- fill: $icon-on-color-disabled;
32
+ fill: theme.$icon-on-color-disabled;
33
33
  }
34
34
  }
35
35
  }
@@ -1,29 +1,30 @@
1
- @use '@carbon/styles/scss/type' as *;
2
- @use '@carbon/styles/scss/motion' as *;
3
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/motion';
2
+ @use '@carbon/styles/scss/theme';
3
+ @use '../globals';
4
+ @use '../tokens';
4
5
 
5
- .#{$prefix}--#{$charts-prefix}--tooltip {
6
- background-color: $layer-02;
6
+ .#{globals.$prefix}--#{globals.$charts-prefix}--tooltip {
7
+ background-color: theme.$layer-02;
7
8
  pointer-events: none;
8
- @include motion(standard, expressive);
9
+ @include motion.motion(standard, expressive);
9
10
  display: inline;
10
11
  visibility: visible;
11
12
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2);
12
13
  position: absolute;
13
14
  word-wrap: break-word;
14
15
  z-index: 1059;
15
- font-family: var(--#{$prefix}-charts-font-family-condensed);
16
+ font-family: var(--#{globals.$prefix}-charts-font-family-condensed);
16
17
  transition: visibility 0s linear 0.1s, opacity 0.1s;
17
18
 
18
19
  &.hidden {
19
20
  opacity: 0;
20
21
  visibility: hidden;
21
22
  transition: visibility 0s linear 0s, opacity 0.1s;
22
- @include motion(standard, expressive);
23
+ @include motion.motion(standard, expressive);
23
24
  }
24
25
 
25
26
  .content-box {
26
- color: $text-primary;
27
+ color: theme.$text-primary;
27
28
 
28
29
  .title-tooltip {
29
30
  width: auto;
@@ -62,7 +63,7 @@
62
63
  vertical-align: top;
63
64
  padding-left: 4px;
64
65
  width: auto;
65
- fill: $layer-inverse-absolute;
66
+ fill: tokens.$layer-inverse-absolute;
66
67
  }
67
68
  }
68
69
 
@@ -102,7 +103,7 @@
102
103
  position: relative;
103
104
 
104
105
  &:not(:last-child) {
105
- border-bottom: 1px solid $tooltip-line-border;
106
+ border-bottom: 1px solid tokens.$tooltip-line-border;
106
107
  }
107
108
  }
108
109
  }
@@ -1,5 +1,6 @@
1
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/theme';
2
+ @use '../globals';
2
3
 
3
- .#{$prefix}--#{$charts-prefix}--zero-line line.domain {
4
- stroke: $border-strong-01;
4
+ .#{globals.$prefix}--#{globals.$charts-prefix}--zero-line line.domain {
5
+ stroke: theme.$border-strong-01;
5
6
  }
@@ -1,42 +1,44 @@
1
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/theme';
2
+ @use '@carbon/colors';
3
+ @use '../globals';
2
4
 
3
- .#{$prefix}--#{$charts-prefix}--zoom-bar {
5
+ .#{globals.$prefix}--#{globals.$charts-prefix}--zoom-bar {
4
6
  rect.zoom-bg {
5
- fill: $background;
6
- stroke: $layer-01;
7
+ fill: theme.$background;
8
+ stroke: theme.$layer-01;
7
9
  }
8
10
 
9
11
  rect.zoom-slider-bg {
10
- fill: $layer-01;
12
+ fill: theme.$layer-01;
11
13
  }
12
14
 
13
15
  rect.zoom-slider-selected-area {
14
- fill: $icon-secondary;
16
+ fill: theme.$icon-secondary;
15
17
  }
16
18
 
17
19
  path.zoom-bg-baseline {
18
- stroke: $border-strong-01;
20
+ stroke: theme.$border-strong-01;
19
21
  stroke-width: 2;
20
22
  }
21
23
 
22
24
  path.zoom-graph-area {
23
- fill: $layer-accent-01;
24
- stroke: $border-strong-01;
25
+ fill: theme.$layer-accent-01;
26
+ stroke: theme.$border-strong-01;
25
27
  stroke-width: 1;
26
28
  }
27
29
 
28
30
  path.zoom-graph-area-unselected {
29
- fill: $layer-01;
31
+ fill: theme.$layer-01;
30
32
  stroke: none;
31
33
  }
32
34
 
33
35
  g.zoom-bar-brush {
34
36
  rect.handle {
35
- fill: $icon-secondary;
37
+ fill: theme.$icon-secondary;
36
38
  }
37
39
 
38
40
  rect.handle-bar {
39
- fill: $layer-02;
41
+ fill: theme.$layer-02;
40
42
  }
41
43
 
42
44
  // clear d3.brush selection style
@@ -47,7 +49,7 @@
47
49
  }
48
50
 
49
51
  rect[class^='highlight-'] {
50
- fill: $magenta-50;
51
- stroke: $magenta-50;
52
+ fill: colors.$magenta-50;
53
+ stroke: colors.$magenta-50;
52
54
  }
53
55
  }
@@ -1,7 +1,9 @@
1
- @use '@carbon/styles/scss/utilities/focus-outline' as *;
2
- @use '@carbon/styles/scss/spacing' as *;
3
- @use '@carbon/styles/scss/type' as *;
4
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/utilities/focus-outline' as focus;
2
+ @use '@carbon/styles/scss/spacing';
3
+ @use '@carbon/styles/scss/type';
4
+ @use '@carbon/styles/scss/theme';
5
+ @use '../../globals';
6
+ @use '../../tokens';
5
7
 
6
8
  @mixin stacked-card-node {
7
9
  content: '';
@@ -9,89 +11,87 @@
9
11
  width: 100%;
10
12
  position: absolute;
11
13
  z-index: 0;
12
- border-top: 0.125rem solid $layer-accent-01;
13
- border-right: 0.125rem solid $layer-accent-01;
14
+ border-top: 0.125rem solid theme.$layer-accent-01;
15
+ border-right: 0.125rem solid theme.$layer-accent-01;
14
16
  pointer-events: none;
15
17
  }
16
18
 
17
- @include exports('cc-card-node') {
18
- .#{$prefix}--#{$charts-prefix}--card-node {
19
- display: flex;
20
- position: relative;
21
- background-color: $layer-01;
22
- z-index: 1;
23
- box-sizing: border-box;
24
- font-family: var(--#{$prefix}-charts-font-family);
25
- width: 100%;
26
- height: 100%;
27
- padding: $spacing-05 $spacing-03;
28
- border-left: 0.25rem solid $border-inverse;
29
- }
30
-
31
- .#{$prefix}--#{$charts-prefix}--card-node--a,
32
- .#{$prefix}--#{$charts-prefix}--card-node--button {
33
- border-top: none;
34
- border-right: none;
35
- border-bottom: none;
36
- color: inherit;
37
- text-decoration: none;
38
- cursor: pointer;
39
- }
19
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node {
20
+ display: flex;
21
+ position: relative;
22
+ background-color: theme.$layer-01;
23
+ z-index: 1;
24
+ box-sizing: border-box;
25
+ font-family: var(--#{globals.$prefix}-charts-font-family);
26
+ width: 100%;
27
+ height: 100%;
28
+ padding: spacing.$spacing-05 spacing.$spacing-03;
29
+ border-left: 0.25rem solid theme.$border-inverse;
30
+ }
40
31
 
41
- .#{$prefix}--#{$charts-prefix}--card-node--button {
42
- font-family: var(--#{$prefix}-charts-font-family);
43
- text-align: left;
44
- width: 100%;
45
- }
32
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--a,
33
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--button {
34
+ border-top: none;
35
+ border-right: none;
36
+ border-bottom: none;
37
+ color: inherit;
38
+ text-decoration: none;
39
+ cursor: pointer;
40
+ }
46
41
 
47
- .#{$prefix}--#{$charts-prefix}--card-node--a:focus,
48
- .#{$prefix}--#{$charts-prefix}--card-node--a:hover,
49
- .#{$prefix}--#{$charts-prefix}--card-node--button:focus,
50
- .#{$prefix}--#{$charts-prefix}--card-node--button:hover {
51
- background-color: $network-diagrams-background-hover;
52
- }
42
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--button {
43
+ font-family: var(--#{globals.$prefix}-charts-font-family);
44
+ text-align: left;
45
+ width: 100%;
46
+ }
53
47
 
54
- .#{$prefix}--#{$charts-prefix}--card-node--a:focus,
55
- .#{$prefix}--#{$charts-prefix}--card-node--button:focus {
56
- @include focus-outline($type: outline);
57
- }
48
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--a:focus,
49
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--a:hover,
50
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--button:focus,
51
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--button:hover {
52
+ background-color: tokens.$network-diagrams-background-hover;
53
+ }
58
54
 
59
- .#{$prefix}--#{$charts-prefix}--card-node--stacked {
60
- &::before {
61
- @include stacked-card-node();
62
- left: 0.3125rem;
63
- bottom: 0.3125rem;
64
- }
55
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--a:focus,
56
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--button:focus {
57
+ @include focus.focus-outline($type: outline);
58
+ }
65
59
 
66
- &::after {
67
- @include stacked-card-node();
68
- left: 0.6875rem;
69
- bottom: 0.6875rem;
70
- }
60
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node--stacked {
61
+ &::before {
62
+ @include stacked-card-node();
63
+ left: 0.3125rem;
64
+ bottom: 0.3125rem;
71
65
  }
72
66
 
73
- .#{$prefix}--#{$charts-prefix}--card-node__column {
74
- padding: 0 $spacing-03;
67
+ &::after {
68
+ @include stacked-card-node();
69
+ left: 0.6875rem;
70
+ bottom: 0.6875rem;
75
71
  }
72
+ }
76
73
 
77
- .#{$prefix}--#{$charts-prefix}--card-node__column--farside {
78
- margin-left: auto;
79
- }
74
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node__column {
75
+ padding: 0 spacing.$spacing-03;
76
+ }
80
77
 
81
- .#{$prefix}--#{$charts-prefix}--card-node__title {
82
- @include type-style($name: productive-heading-01);
83
- margin: 0;
84
- }
78
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node__column--farside {
79
+ margin-left: auto;
80
+ }
85
81
 
86
- .#{$prefix}--#{$charts-prefix}--card-node__subtitle {
87
- @include type-style($name: body-short-01);
88
- margin: 0;
89
- }
82
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node__title {
83
+ @include type.type-style($name: productive-heading-01);
84
+ margin: 0;
85
+ }
90
86
 
91
- .#{$prefix}--#{$charts-prefix}--card-node__label {
92
- display: block;
93
- @include type-style($name: label-01);
94
- color: $text-secondary;
95
- padding-top: $spacing-06;
96
- }
87
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node__subtitle {
88
+ @include type.type-style($name: body-short-01);
89
+ margin: 0;
90
+ }
91
+
92
+ .#{globals.$prefix}--#{globals.$charts-prefix}--card-node__label {
93
+ display: block;
94
+ @include type.type-style($name: label-01);
95
+ color: theme.$text-secondary;
96
+ padding-top: spacing.$spacing-06;
97
97
  }
@@ -1,66 +1,63 @@
1
- @use '@carbon/styles/scss/utilities/focus-outline' as *;
2
- @use '@carbon/styles/scss/spacing' as *;
3
- @use '@carbon/styles/scss/type' as *;
4
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/spacing';
2
+ @use '@carbon/styles/scss/theme';
3
+ @use '../../globals';
5
4
 
6
- @include exports('cc-edge') {
7
- .#{$prefix}--#{$charts-prefix}--edge {
8
- fill: transparent;
9
- }
5
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge {
6
+ fill: transparent;
7
+ }
10
8
 
11
- .#{$prefix}--#{$charts-prefix}--edge__container {
12
- stroke-width: $spacing-06;
13
- stroke: transparent;
14
- stroke-dasharray: none;
15
- }
9
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge__container {
10
+ stroke-width: spacing.$spacing-06;
11
+ stroke: transparent;
12
+ stroke-dasharray: none;
13
+ }
16
14
 
17
- .#{$prefix}--#{$charts-prefix}--edge__inner {
18
- stroke-width: 0.0625rem;
19
- stroke: $border-strong-01;
20
- }
15
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge__inner {
16
+ stroke-width: 0.0625rem;
17
+ stroke: theme.$border-strong-01;
18
+ }
19
+
20
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge__outer {
21
+ stroke-width: 0.15625rem;
22
+ stroke: transparent;
23
+ }
21
24
 
22
- .#{$prefix}--#{$charts-prefix}--edge__outer {
25
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge:hover {
26
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge__inner {
23
27
  stroke-width: 0.15625rem;
24
- stroke: transparent;
25
28
  }
29
+ }
26
30
 
27
- .#{$prefix}--#{$charts-prefix}--edge:hover {
28
- .#{$prefix}--#{$charts-prefix}--edge__inner {
29
- stroke-width: 0.15625rem;
30
- }
31
- }
31
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge--dash-sm {
32
+ stroke-dasharray: 2 4;
33
+ }
32
34
 
33
- .#{$prefix}--#{$charts-prefix}--edge--dash-sm {
34
- stroke-dasharray: 2 4;
35
- }
35
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge--dash-md {
36
+ stroke-dasharray: 4 4;
37
+ }
36
38
 
37
- .#{$prefix}--#{$charts-prefix}--edge--dash-md {
38
- stroke-dasharray: 4 4;
39
- }
39
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge--dash-lg {
40
+ stroke-dasharray: 8 4;
41
+ }
40
42
 
41
- .#{$prefix}--#{$charts-prefix}--edge--dash-lg {
42
- stroke-dasharray: 8 4;
43
- }
43
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge--dash-xl {
44
+ stroke-dasharray: 16 4;
45
+ }
44
46
 
45
- .#{$prefix}--#{$charts-prefix}--edge--dash-xl {
46
- stroke-dasharray: 16 4;
47
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge--tunnel {
48
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge__outer {
49
+ stroke: theme.$layer-accent-01;
50
+ stroke-width: 0.375rem;
47
51
  }
52
+ }
48
53
 
49
- .#{$prefix}--#{$charts-prefix}--edge--tunnel {
50
- .#{$prefix}--#{$charts-prefix}--edge__outer {
51
- stroke: $layer-accent-01;
52
- stroke-width: 0.375rem;
53
- }
54
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge--double {
55
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge__inner {
56
+ stroke: theme.$background;
54
57
  }
55
58
 
56
- .#{$prefix}--#{$charts-prefix}--edge--double {
57
- .#{$prefix}--#{$charts-prefix}--edge__inner {
58
- stroke: $background;
59
- }
60
-
61
- .#{$prefix}--#{$charts-prefix}--edge__outer {
62
- stroke: $border-inverse;
63
- stroke-width: 0.28125rem;
64
- }
59
+ .#{globals.$prefix}--#{globals.$charts-prefix}--edge__outer {
60
+ stroke: theme.$border-inverse;
61
+ stroke-width: 0.28125rem;
65
62
  }
66
63
  }
@@ -1,7 +1,6 @@
1
- @use '@carbon/styles/scss/theme' as *;
1
+ @use '@carbon/styles/scss/theme';
2
+ @use '../../globals';
2
3
 
3
- @include exports('cc-marker') {
4
- .#{$prefix}--#{$charts-prefix}--marker {
5
- fill: $border-inverse;
6
- }
4
+ .#{globals.$prefix}--#{globals.$charts-prefix}--marker {
5
+ fill: theme.$border-inverse;
7
6
  }