Skip to content

Commit

Permalink
Merge pull request #7901 from IgniteUI/didimmova/dataviz-exclude-them…
Browse files Browse the repository at this point in the history
…es-7897

fix(charts): make chart themes excludable
  • Loading branch information
simeonoff authored Aug 3, 2020
2 parents 80245a3 + 65bab0b commit a858f05
Show file tree
Hide file tree
Showing 12 changed files with 154 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(category-chart) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(data-chart) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(doughnut-chart) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(financial-chart) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(funnel-chart) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(gauge) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(geo-map) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(graph) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(pie-chart) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(shape-chart) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
////
/// @group components
/// @access private
/// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
/// @requires {mixin} bem-block
/// @requires {mixin} bem-elem
/// @requires {mixin} bem-mod
////
@include b(sparkline) {
// Register the component in the component registry
$this: bem--selector-to-string(&);
@include register-component(str-slice($this, 2, -1));
}
11 changes: 11 additions & 0 deletions projects/igniteui-angular/src/lib/core/styles/themes/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@
@import '../components/chip/chip-component';
@import '../components/column-hiding/column-hiding-component';
@import '../components/combo/combo-component';
@import '../components/charts/category-chart-component';
@import '../components/charts/data-chart-component';
@import '../components/charts/doughnut-chart-component';
@import '../components/charts/financial-chart-component';
@import '../components/charts/funnel-chart-component';
@import '../components/charts/gauge-component';
@import '../components/charts/geo-map-component';
@import '../components/charts/graph-component';
@import '../components/charts/pie-chart-component';
@import '../components/charts/shape-chart-component';
@import '../components/charts/sparkline-component';
@import '../components/date-picker/date-picker-component';
@import '../components/date-range-picker/date-range-picker-component';
@import '../components/dialog/dialog-component';
Expand Down

0 comments on commit a858f05

Please sign in to comment.