Skip to content

Commit 23c4c9a

Browse files
committed
fix(charts): make chart themes excludable
Closes 7897
1 parent 2476d2e commit 23c4c9a

12 files changed

+154
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(category-chart) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(data-chart) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(doughnut-chart) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(financial-chart) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(funnel-chart) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(gauge) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(geo-map) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(graph) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(pie-chart) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
////
2+
/// @group components
3+
/// @access private
4+
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
5+
/// @requires {mixin} bem-block
6+
/// @requires {mixin} bem-elem
7+
/// @requires {mixin} bem-mod
8+
////
9+
@include b(shape-chart) {
10+
// Register the component in the component registry
11+
$this: bem--selector-to-string(&);
12+
@include register-component(str-slice($this, 2, -1));
13+
}

0 commit comments

Comments
 (0)