igniteui-theming 1.1.2 → 1.1.4

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 (56) hide show
  1. package/json/colors/presets/palettes.json +1 -1
  2. package/package.json +14 -5
  3. package/sass/bem/_index.scss +4 -1
  4. package/sass/color/_charts.scss +22 -0
  5. package/sass/color/_functions.scss +2 -1
  6. package/sass/color/_types.scss +5 -0
  7. package/sass/color/presets/dark/_bootstrap.scss +13 -0
  8. package/sass/color/presets/dark/_extra.scss +27 -0
  9. package/sass/color/presets/dark/_fluent.scss +42 -1
  10. package/sass/color/presets/dark/_indigo.scss +13 -0
  11. package/sass/color/presets/dark/_material.scss +13 -0
  12. package/sass/color/presets/light/_bootstrap.scss +13 -0
  13. package/sass/color/presets/light/_extra.scss +27 -0
  14. package/sass/color/presets/light/_fluent.scss +42 -1
  15. package/sass/color/presets/light/_indigo.scss +13 -0
  16. package/sass/color/presets/light/_material.scss +13 -0
  17. package/sass/elevations/_functions.scss +2 -2
  18. package/sass/elevations/presets/_index.scss +3 -0
  19. package/sass/elevations/presets/_material.scss +10 -1
  20. package/sass/themes/_functions.scss +5 -1
  21. package/sass/themes/_mixins.scss +5 -0
  22. package/sass/themes/charts/_category-chart-theme.scss +1 -1
  23. package/sass/themes/charts/_data-chart-theme.scss +1 -1
  24. package/sass/themes/charts/_doughnut-chart-theme.scss +1 -1
  25. package/sass/themes/charts/_financial-chart-theme.scss +1 -1
  26. package/sass/themes/charts/_funnel-chart-theme.scss +1 -1
  27. package/sass/themes/charts/_gauge-theme.scss +5 -5
  28. package/sass/themes/charts/_geo-map-theme.scss +3 -3
  29. package/sass/themes/charts/_graph-theme.scss +3 -3
  30. package/sass/themes/charts/_pie-chart-theme.scss +1 -1
  31. package/sass/themes/charts/_shape-chart-theme.scss +1 -1
  32. package/sass/themes/charts/_sparkline-theme.scss +3 -3
  33. package/sass/themes/schemas/charts/dark/_category-chart.scss +0 -5
  34. package/sass/themes/schemas/charts/dark/_doughnut-chart.scss +0 -1
  35. package/sass/themes/schemas/charts/dark/_financial-chart.scss +0 -1
  36. package/sass/themes/schemas/charts/dark/_funnel-chart.scss +1 -2
  37. package/sass/themes/schemas/charts/dark/_index.scss +17 -0
  38. package/sass/themes/schemas/charts/dark/_shape-chart.scss +0 -1
  39. package/sass/themes/schemas/charts/dark/_sparkline.scss +0 -1
  40. package/sass/themes/schemas/charts/light/_category-chart.scss +0 -1
  41. package/sass/themes/schemas/charts/light/_data-chart.scss +0 -1
  42. package/sass/themes/schemas/charts/light/_doughnut-chart.scss +0 -1
  43. package/sass/themes/schemas/charts/light/_financial-chart.scss +0 -1
  44. package/sass/themes/schemas/charts/light/_funnel-chart.scss +0 -1
  45. package/sass/themes/schemas/charts/light/_gauge.scss +0 -1
  46. package/sass/themes/schemas/charts/light/_geo-map.scss +0 -1
  47. package/sass/themes/schemas/charts/light/_graph.scss +0 -1
  48. package/sass/themes/schemas/charts/light/_index.scss +17 -0
  49. package/sass/themes/schemas/charts/light/_shape-chart.scss +0 -1
  50. package/sass/themes/schemas/charts/light/_sparkline.scss +0 -1
  51. package/sass/typography/_types.scss +3 -0
  52. package/sass/typography/charts/_index.scss +5 -0
  53. package/sass/utils/_css.scss +1 -0
  54. package/sass/utils/_map.scss +2 -0
  55. package/sass/utils/_math.scss +1 -0
  56. package/sass/utils/_string.scss +6 -0
@@ -39,6 +39,7 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector');
39
39
 
40
40
  /// Add theme colors as CSS variables to a given scope.
41
41
  /// @access public
42
+ /// @group themes
42
43
  /// @param {map} $theme - The component theme to be used.
43
44
  /// @param {map} $scope [null] - The CSS variables scope to be used. (optional)
44
45
  /// @requires {mixin} css-vars-from-theme
@@ -74,6 +75,7 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector');
74
75
 
75
76
  /// Truncates text to a specific number of lines.
76
77
  /// @access public
78
+ /// @group utilities
77
79
  /// @param {number|string} $lines - The number of lines to show
78
80
  /// @param {Boolean} $inline - Sets whether an element displays inline-box or box
79
81
  /// @param {Boolean} $vertical - Sets whether an element lays out its contents horizontally or vertically
@@ -88,6 +90,7 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector');
88
90
 
89
91
  /// Applies text-overflow ellipsis to e text element.
90
92
  /// This won't work on display flex elements.
93
+ /// @group utilities
91
94
  /// @access public
92
95
  @mixin ellipsis() {
93
96
  white-space: nowrap;
@@ -96,6 +99,7 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector');
96
99
  }
97
100
 
98
101
  /// Hides the element from the DOM.
102
+ /// @group utilities
99
103
  /// @access public
100
104
  /// @example scss - Sample usage
101
105
  /// input[type="checkbox"] {
@@ -115,6 +119,7 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector');
115
119
  }
116
120
 
117
121
  /// Adds the required CSS properties so that the scope can react to size changes.
122
+ /// @group themes
118
123
  /// @access public
119
124
  @mixin sizable() {
120
125
  --is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);
@@ -68,7 +68,7 @@
68
68
  /// @param {Number} $y-axis-tick-length [null] - Sets the length of tickmarks along the Y-axis.
69
69
  /// @param {Color} $y-axis-tick-stroke [null] - Sets the color to apply to tickmarks along the Y-axis.
70
70
  /// @param {Number} $y-axis-tick-stroke-thickness [null] - Sets the thickness to apply to tickmarks along the Y-axis.
71
- /// @requires $light-schema
71
+ /// @requires $light-material-schema
72
72
  /// @requires extend
73
73
  ///
74
74
  /// @example scss
@@ -26,7 +26,7 @@
26
26
  /// @param {Color} $plot-area-background [null] - Sets the brush used as the background for the current Chart object's plot area.
27
27
  /// @param {String} $title-horizontal-alignment [null] - The horizontal alignment to use for the title. Valid options are 'left', 'center', and 'right';
28
28
  /// @param {String} $subtitle-horizontal-alignment [null] - The horizontal alignment to use for the subtitle. Valid options are 'left', 'center', and 'right';
29
- /// @requires $light-schema
29
+ /// @requires $light-material-schema
30
30
  /// @requires extend
31
31
  ///
32
32
  /// @example scss
@@ -21,7 +21,7 @@
21
21
  /// @param {Number} $selected-slice-opacity [null] - Sets the opacity of the selected slice.
22
22
  /// @param {Color} $selected-slice-stroke [null] - Sets the stroke color of the selected slice.
23
23
  /// @param {Number} $selected-slice-stroke-thickness [null] - Sets the stroke thickness of the selected slice.
24
- /// @requires $light-schema
24
+ /// @requires $light-material-schema
25
25
  /// @requires extend
26
26
  ///
27
27
  /// @example scss
@@ -72,7 +72,7 @@
72
72
  /// @param {Number} $y-axis-tick-stroke-thickness [null] - Sets the thickness to apply to tickmarks along the Y-axis.
73
73
  /// @param {String} $zoom-slider-x-axis-major-stroke [null] - Gets or sets stroke brush of major gridlines on x-axis of the zoom slider pane.
74
74
  /// @param {Number} $zoom-slider-x-axis-major-stroke-thickness [null] - Gets or sets thickness of major gridlines on x-axis of the zoom slider pane.
75
- /// @requires $light-schema
75
+ /// @requires $light-material-schema
76
76
  /// @requires extend
77
77
  ///
78
78
  /// @example scss
@@ -23,7 +23,7 @@
23
23
  /// @param {Number} $outline-thickness [null] - Sets the thickness of outline around slices.
24
24
  /// @param {Color} $text-color - [null] Sets the Color used for the inner labels.
25
25
  ///
26
- /// @requires $light-schema
26
+ /// @requires $light-material-schema
27
27
  /// @requires extend
28
28
  ///
29
29
  /// @example scss
@@ -35,7 +35,7 @@
35
35
  /// @param {Number} $scale-stroke-thickness [null] - Sets the stroke thickness of the scale outline.
36
36
  /// @param {Color} $tick-brush [null] - Sets the color to use for the major tickmarks.
37
37
  /// @param {Number} $tick-stroke-thickness [null] - Sets the stroke thickness to use when rendering ticks.
38
- /// @requires $light-schema
38
+ /// @requires $light-material-schema
39
39
  /// @requires extend
40
40
  ///
41
41
  /// @example scss
@@ -43,7 +43,7 @@
43
43
  /// // Pass the theme to the css-vars mixin
44
44
  /// @include css-vars($custom-gauge-theme);
45
45
  @function linear-gauge-theme(
46
- $schema: $light-schema,
46
+ $schema: $light-material-schema,
47
47
  $target: 'angular',
48
48
  $rest...
49
49
  ) {
@@ -76,7 +76,7 @@
76
76
  );
77
77
  }
78
78
 
79
- /// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
79
+ /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
80
80
  /// @param {Map} $target ['angular'] - The target platform to be used when scoping the theme variables.
81
81
  /// @param {Map} $width [null] - The width of the gauge in pixels, string (px) or percentage (%).
82
82
  /// @param {Map} $height [null] - The height of the gauge in pixels, string (px) or percentage (%).
@@ -95,7 +95,7 @@
95
95
  /// @param {Number} $tick-stroke-thickness [null] - Sets the stroke thickness to use when rendering ticks.
96
96
  /// @param {Color} $needle-pivot-brush [null] - Sets the color of the needle pivot point.
97
97
  /// @param {Color} $needle-pivot-outline [null] - Sets the outline color of the needle pivot point.
98
- /// @requires $light-schema
98
+ /// @requires $light-material-schema
99
99
  /// @requires extend
100
100
  ///
101
101
  /// @example scss
@@ -103,7 +103,7 @@
103
103
  /// // Pass the theme to the css-vars mixin
104
104
  /// @include css-vars($custom-gauge-theme);
105
105
  @function radial-gauge-theme(
106
- $schema: $light-schema,
106
+ $schema: $light-material-schema,
107
107
  $target: 'angular',
108
108
  $rest...
109
109
  ) {
@@ -12,10 +12,10 @@
12
12
  /// @author <a href="https://github.com/didimmova" target="_blank">Dilyana Dimova</a>
13
13
  ////
14
14
 
15
- /// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
15
+ /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
16
16
  /// @param {Map} $target ['angular'] - The target platform to be used when scoping the theme variables.
17
17
  /// @param {String} $plot-area-background [null]- Gets or sets the brush used as the background for the current Map object's plot area.
18
- /// @requires $light-schema
18
+ /// @requires $light-material-schema
19
19
  /// @requires extend
20
20
  ///
21
21
  /// @example scss
@@ -23,7 +23,7 @@
23
23
  /// // Pass the theme to the css-vars mixin
24
24
  /// @include css-vars($my-map-theme);
25
25
  @function geo-map-theme(
26
- $schema: $light-schema,
26
+ $schema: $light-material-schema,
27
27
  $target: 'angular',
28
28
  $plot-area-background: null
29
29
  ) {
@@ -12,7 +12,7 @@
12
12
  /// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
13
13
  ////
14
14
 
15
- /// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
15
+ /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
16
16
  /// @param {Map} $target ['angular'] - The target platform to be used when scoping the theme variables.
17
17
  /// @param {Color} $backing-brush [null] - Sets the brush to use to fill the backing of the bullet graph.
18
18
  /// @param {Color} $backing-outline [null] - Sets the brush to use for the outline of the backing.
@@ -34,7 +34,7 @@
34
34
  /// @param {Color} $value-brush [null] - Sets the brush to use for the actual value element.
35
35
  /// @param {Color} $value-outline [null] - Sets the brush to use for the outline of actual value element.
36
36
  /// @param {Number} $value-stroke-thickness [null] - Sets the stroke thickness to use when rendering single actual value element.
37
- /// @requires $light-schema
37
+ /// @requires $light-material-schema
38
38
  /// @requires extend
39
39
  ///
40
40
  /// @example scss
@@ -42,7 +42,7 @@
42
42
  /// // Pass the theme to the css-vars mixin
43
43
  /// @include css-vars($my-chart-theme);
44
44
  @function bullet-graph-theme(
45
- $schema: $light-schema,
45
+ $schema: $light-material-schema,
46
46
  $target: 'angular',
47
47
 
48
48
  $backing-brush: null,
@@ -24,7 +24,7 @@
24
24
  /// @param {String} $leader-line-type [null] - Sets what type of leader lines will be used for the outside end labels. Valid values are: 'straight', 'spline', and 'arc'.
25
25
  /// @param {String} $leader-line-visibility [null] - Sets whether the leader lines are visible. Valid values are: 'visible' and 'collapsed'.
26
26
  /// @param {Number} $radius-factor [null] - Sets the scaling factor of the chart's radius. Value between 0 and 1.
27
- /// @requires $light-schema
27
+ /// @requires $light-material-schema
28
28
  /// @requires extend
29
29
  ///
30
30
  /// @example scss
@@ -54,7 +54,7 @@
54
54
  /// @param {String} $y-axis-title-alignment [null] - Sets Horizontal alignment of the Y-axis title.
55
55
  /// @param {Color} $y-axis-title-color [null] - Sets color of title on the Y-axis.
56
56
  /// @param {List} $y-axis-title-margin [null] - Sets the margin around the title on the Y-axis.
57
- /// @requires $light-schema
57
+ /// @requires $light-material-schema
58
58
  /// @requires extend
59
59
  ///
60
60
  /// @example scss
@@ -11,7 +11,7 @@
11
11
  /// @author <a href="https://github.com/simeonoff" target="_blank">Simeon Simeonoff</a>
12
12
  ////
13
13
 
14
- /// @param {Map} $schema [$light-schema] - The schema used as basis for styling the component.
14
+ /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
15
15
  /// @param {Map} $target ['angular'] - The target platform to be used when scoping the theme variables.
16
16
  ///
17
17
  /// @param {Color} $brush [null] - Sets the sparkline brush.
@@ -34,7 +34,7 @@
34
34
  /// @param {Color} $horizontal-axis-brush [null] - Sets the horizontal axis line brush of the sparkline.
35
35
  /// @param {Color} $vertical-axis-brush [null] - Sets the vertical axis line brush of the sparkline.
36
36
  /// @param {Color} $normal-range-fill [null] - Sets the normal range brush of the sparkline.
37
- /// @requires $light-schema
37
+ /// @requires $light-material-schema
38
38
  /// @requires extend
39
39
  ///
40
40
  /// @example scss
@@ -42,7 +42,7 @@
42
42
  /// // Pass the theme to the css-vars mixin
43
43
  /// @include css-vars($my-sparkline-theme);
44
44
  @function sparkline-theme(
45
- $schema: $light-schema,
45
+ $schema: $light-material-schema,
46
46
  $target: 'angular',
47
47
 
48
48
  $brush: null,
@@ -10,24 +10,19 @@
10
10
  /// Generates a dark category-chart schema based on a mix of $material-category-chart and $base-dark-category-chart
11
11
  /// @type {Map}
12
12
  /// @requires $material-category-chart
13
- /// @requires $base-dark-category-chart
14
- /// @see $default-palette
15
13
  $dark-material-category-chart: $material-category-chart;
16
14
 
17
15
  /// Generates a dark fluent category-chart schema based on a mix of $fluent-category-chart and $base-dark-category-chart
18
16
  /// @type {Map}
19
17
  /// @requires $fluent-category-chart
20
- /// @requires $base-dark-category-chart
21
18
  $dark-fluent-category-chart: $fluent-category-chart;
22
19
 
23
20
  /// Generates a bootstrap category-chart schema based on a mix of $bootstrap-category-chart and $base-dark-category-chart
24
21
  /// @type {Map}
25
22
  /// @requires $bootstrap-category-chart
26
- /// @requires $base-dark-category-chart
27
23
  $dark-bootstrap-category-chart: $bootstrap-category-chart;
28
24
 
29
25
  /// Generates an indigo category-chart schema based on a mix of $indigo-category-chart and $base-dark-category-chart
30
26
  /// @type {Map}
31
27
  /// @requires $indigo-category-chart
32
- /// @requires $base-dark-category-chart
33
28
  $dark-indigo-category-chart: $indigo-category-chart;
@@ -9,7 +9,6 @@
9
9
  /// Generates a dark doughnut chart schema.
10
10
  /// @type {Map}
11
11
  /// @requires {function} extend
12
- /// @see $default-palette
13
12
  $dark-material-doughnut-chart: $material-doughnut-chart;
14
13
 
15
14
  /// Generates a dark fluent doughnut-chart schema.
@@ -9,7 +9,6 @@
9
9
  /// Generates a dark financial chart schema.
10
10
  /// @type {Map}
11
11
  /// @requires $material-financial-chart
12
- /// @see $default-palette
13
12
  $dark-material-financial-chart: $material-financial-chart;
14
13
 
15
14
  /// Generates a dark fluent financial-chart schema.
@@ -9,7 +9,6 @@
9
9
  /// Generates a dark funnel chart schema.
10
10
  /// @type {Map}
11
11
  /// @requires $material-funnel-chart
12
- /// @see $default-palette
13
12
  $dark-material-funnel-chart: $material-funnel-chart;
14
13
 
15
14
  /// Generates a dark fluent funnel-chart schema.
@@ -24,5 +23,5 @@ $dark-bootstrap-funnel-chart: $bootstrap-funnel-chart;
24
23
 
25
24
  /// Generates a dark indigo funnel-chart schema.
26
25
  /// @type {Map}
27
- /// @requires $ndigo-funnel-chart
26
+ /// @requires $indigo-funnel-chart
28
27
  $dark-indigo-funnel-chart: $indigo-funnel-chart;
@@ -10,6 +10,14 @@
10
10
  @use './shape-chart' as *;
11
11
  @use './sparkline' as *;
12
12
 
13
+ ////
14
+ /// @group schemas
15
+ /// @access public
16
+ /// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
17
+ ////
18
+
19
+ /// Generates the global charts dark material schema.
20
+ /// @type {Map}
13
21
  $dark-material-schema: (
14
22
  category-chart: $dark-material-category-chart,
15
23
  data-chart: $dark-material-data-chart,
@@ -24,6 +32,9 @@ $dark-material-schema: (
24
32
  shape-chart: $dark-material-shape-chart,
25
33
  sparkline: $dark-material-sparkline,
26
34
  );
35
+
36
+ /// Generates the global charts dark bootstrap schema.
37
+ /// @type {Map}
27
38
  $dark-bootstrap-schema: (
28
39
  category-chart: $dark-bootstrap-category-chart,
29
40
  data-chart: $dark-bootstrap-data-chart,
@@ -38,6 +49,9 @@ $dark-bootstrap-schema: (
38
49
  shape-chart: $dark-bootstrap-shape-chart,
39
50
  sparkline: $dark-bootstrap-sparkline,
40
51
  );
52
+
53
+ /// Generates the global charts dark fluent schema.
54
+ /// @type {Map}
41
55
  $dark-fluent-schema: (
42
56
  category-chart: $dark-fluent-category-chart,
43
57
  data-chart: $dark-fluent-data-chart,
@@ -52,6 +66,9 @@ $dark-fluent-schema: (
52
66
  shape-chart: $dark-fluent-shape-chart,
53
67
  sparkline: $dark-fluent-sparkline,
54
68
  );
69
+
70
+ /// Generates the global charts dark indigo schema.
71
+ /// @type {Map}
55
72
  $dark-indigo-schema: (
56
73
  category-chart: $dark-indigo-category-chart,
57
74
  data-chart: $dark-indigo-data-chart,
@@ -9,7 +9,6 @@
9
9
  /// Generates a dark shape chart schema.
10
10
  /// @type {Map}
11
11
  /// @requires $material-shape-chart
12
- /// @see $default-palette
13
12
  $dark-material-shape-chart: $material-shape-chart;
14
13
 
15
14
  /// Generates a dark fluent shape-chart schema.
@@ -9,7 +9,6 @@
9
9
  /// Generates a dark sparkline schema.
10
10
  /// @type {Map}
11
11
  /// @requires $material-sparkline
12
- /// @see $default-palette
13
12
  $dark-material-sparkline: $material-sparkline;
14
13
 
15
14
  /// Generates a dark fluent sparkline schema.
@@ -61,7 +61,6 @@
61
61
  /// @property {Number} y-axis-tick-length [null] - Sets the length of tickmarks along the Y-axis.
62
62
  /// @property {Color} y-axis-tick-stroke [color: ('gray', 500)] - Sets the color to apply to tickmarks along the Y-axis.
63
63
  /// @property {Number} y-axis-tick-stroke-thickness [null] - Sets the thickness to apply to tickmarks along the Y-axis.
64
- /// @see $default-palette
65
64
  $material-category-chart: (
66
65
  'margin': (
67
66
  expand-shorthand: (null)
@@ -19,7 +19,6 @@
19
19
  /// @property {Color} plot-area-background [color: ('surface', 500)] - Sets the brush used as the background for the current Chart object's plot area.
20
20
  /// @property {String} title-horizontal-alignment [null] - The horizontal alignment to use for the title.
21
21
  /// @property {String} subtitle-horizontal-alignment [null] - The horizontal alignment to use for the subtitle.
22
- /// @see $default-palette
23
22
  $material-data-chart: (
24
23
  'margin': null,
25
24
  'title-text-color': (
@@ -17,7 +17,6 @@
17
17
  /// @property {Number} selected-slice-opacity [null] - Sets the opacity of the selected slice.
18
18
  /// @property {Color} selected-slice-stroke [null] - Sets the stroke color of the selected slice.
19
19
  /// @property {Number} selected-slice-stroke-thickness [null] - Sets the stroke thickness of the selected slice.
20
- /// @see $default-palette
21
20
  $material-doughnut-chart: (
22
21
  'brushes': series,
23
22
  'outlines': series,
@@ -65,7 +65,6 @@
65
65
  /// @prop {Number} y-axis-tick-stroke-thickness [null] - Sets the thickness to apply to tickmarks along the Y-axis.
66
66
  /// @prop {String} zoom-slider-x-axis-major-stroke [null] - Gets or sets stroke brush of major gridlines on x-axis of the zoom slider pane.
67
67
  /// @prop {Number} zoom-slider-x-axis-major-stroke-thickness [null] - Gets or sets thickness of major gridlines on x-axis of the zoom slider pane.
68
- /// @see $default-palette
69
68
  $material-financial-chart: (
70
69
  'margin': null,
71
70
  'title-alignment': null,
@@ -16,7 +16,6 @@
16
16
  /// @property {Number} outline-thickness [null] - Sets the thickness of outline around slices.
17
17
  /// @property {Color} text-color [null] - Sets the Color used for the inner labels.
18
18
  /// @property {String} text-style [null] - Sets the text style for inner labels.
19
- /// @see $default-palette
20
19
  $material-funnel-chart: (
21
20
  'brushes': series,
22
21
  'outlines': series,
@@ -23,7 +23,6 @@
23
23
  /// @property {Color} scale-brush [(color: 'surface', darken: 8%)] - Sets the color to use to fill the scale of the linear gauge.
24
24
  /// @property {Color} tick-brush [(color: 'surface', rgba: .62)] - Sets the color to use for the major tickmarks.
25
25
  /// @property {Number} tick-stroke-thickness [null] - Sets the stroke thickness to use when rendering ticks.
26
- /// @see $default-palette
27
26
  $material-gauge: (
28
27
  'backing-brush': (
29
28
  color: 'surface',
@@ -9,7 +9,6 @@
9
9
  /// Generates a material geo map schema.
10
10
  /// @type {Map}
11
11
  /// @prop {String} plot-area-background [null] - Gets or sets the brush used as the background for the current Map object's plot area.
12
- /// @see $default-palette
13
12
  $material-geo-map: (
14
13
  'plot-area-background': (
15
14
  color: 'surface'
@@ -28,7 +28,6 @@
28
28
  /// @prop {Color} value-brush [(color: ('gray', 800))] - Sets the brush to use for the actual value element.
29
29
  /// @prop {Color} value-outline [null] - Sets the brush to use for the outline of actual value element.
30
30
  /// @prop {Number} value-stroke-thickness [null] - Sets the stroke thickness to use when rendering single actual value element.
31
- /// @see $default-palette
32
31
  $material-graph: (
33
32
  'backing-brush': (
34
33
  color: 'surface',
@@ -10,6 +10,14 @@
10
10
  @use './shape-chart' as *;
11
11
  @use './sparkline' as *;
12
12
 
13
+ ////
14
+ /// @group schemas
15
+ /// @access public
16
+ /// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
17
+ ////
18
+
19
+ /// Generates the global charts light material schema.
20
+ /// @type {Map}
13
21
  $light-material-schema: (
14
22
  category-chart: $material-category-chart,
15
23
  data-chart: $material-data-chart,
@@ -24,6 +32,9 @@ $light-material-schema: (
24
32
  shape-chart: $material-shape-chart,
25
33
  sparkline: $material-sparkline,
26
34
  );
35
+
36
+ /// Generates the global charts light bootstrap schema.
37
+ /// @type {Map}
27
38
  $light-bootstrap-schema: (
28
39
  category-chart: $bootstrap-category-chart,
29
40
  data-chart: $bootstrap-data-chart,
@@ -38,6 +49,9 @@ $light-bootstrap-schema: (
38
49
  shape-chart: $bootstrap-shape-chart,
39
50
  sparkline: $bootstrap-sparkline,
40
51
  );
52
+
53
+ /// Generates the global charts light fluent schema.
54
+ /// @type {Map}
41
55
  $light-fluent-schema: (
42
56
  category-chart: $fluent-category-chart,
43
57
  data-chart: $fluent-data-chart,
@@ -52,6 +66,9 @@ $light-fluent-schema: (
52
66
  shape-chart: $fluent-shape-chart,
53
67
  sparkline: $fluent-sparkline,
54
68
  );
69
+
70
+ /// Generates the global charts light indigo schema.
71
+ /// @type {Map}
55
72
  $light-indigo-schema: (
56
73
  category-chart: $indigo-category-chart,
57
74
  data-chart: $indigo-data-chart,
@@ -48,7 +48,6 @@
48
48
  /// @property {String} y-axis-title-alignment [null] - Sets Horizontal alignment of the Y-axis title.
49
49
  /// @property {Color} y-axis-title-color [null] - Sets color of title on the Y-axis.
50
50
  /// @property {List} y-axis-title-margin [null] - Sets the margin around the title on the Y-axis.
51
- /// @see $default-palette
52
51
  $material-shape-chart: (
53
52
  'margin': null,
54
53
  'title-alignment': null,
@@ -26,7 +26,6 @@
26
26
  /// @prop {Color} horizontal-axis-brush [null] - Sets the horizontal axis line brush of the sparkline.
27
27
  /// @prop {Color} vertical-axis-brush [null] - Sets the vertical axis line brush of the sparkline.
28
28
  /// @prop {Color} normal-range-fill [null] - Sets the normal range brush of the sparkline.
29
- /// @see $default-palette
30
29
  $material-sparkline: (
31
30
  'brush': (
32
31
  color: ('primary', 500)
@@ -4,6 +4,7 @@
4
4
 
5
5
  /// A list consisting of 13 different category type styles
6
6
  /// @type List
7
+ /// @access private
7
8
  $ITypeScale: (
8
9
  h1,
9
10
  h2,
@@ -22,6 +23,7 @@ $ITypeScale: (
22
23
 
23
24
  /// A set of style rules for all categories
24
25
  /// @type Map
26
+ /// @access private
25
27
  $ITypeStyle: (
26
28
  font-family: var(--ig-font-family),
27
29
  font-size: null,
@@ -36,6 +38,7 @@ $ITypeStyle: (
36
38
 
37
39
  /// A list of all category type styles that can be maped to native elements
38
40
  /// @type Map
41
+ /// @access private
39
42
  $IElementCategories: (
40
43
  h1: 'h1',
41
44
  h2: 'h2',
@@ -7,6 +7,11 @@
7
7
  @use '../../themes/charts/pie-chart-theme' as *;
8
8
  @use '../../themes/charts/shape-chart-theme' as *;
9
9
 
10
+ /// Includes all chart related typography styles for a given type-scale and target.
11
+ /// @group typography
12
+ /// @param {Map} $type-scale - The type-scale to be used when including typography styles.
13
+ /// @param {String} $target ['angular'] - The target platform. Could be 'angular', 'webc', or 'blazor'.
14
+ /// @access public
10
15
  @mixin charts-typography($type-scale, $target: 'angular') {
11
16
  @include category-chart-typography($type-scale: $type-scale, $target: $target);
12
17
  @include data-chart-typography($type-scale: $type-scale, $target: $target);
@@ -3,6 +3,7 @@
3
3
 
4
4
  /// Expands the provided list of values in all four directions.
5
5
  /// Works similar to how to browser expands shorthands for margins.
6
+ /// @access private
6
7
  /// @param {List} $list - The of values to be expanded. Supports up to four values.
7
8
  /// @param {string} $prop [margin] - The name of the property.
8
9
  /// @returns {Map} - Returns an expanded list of values.
@@ -23,6 +23,7 @@
23
23
  }
24
24
 
25
25
  /// Extends a Map with the values of another Map, disregarding null values in the process.
26
+ /// @group utilities
26
27
  /// @access public
27
28
  /// @param {Map...} $maps - The maps to get extended.
28
29
  /// @requires {function} clean
@@ -38,6 +39,7 @@
38
39
  }
39
40
 
40
41
  /// Prefixes the keys in a map with the specified prefix and separator.
42
+ /// @access private
41
43
  /// @param {Map} $map - The target map.
42
44
  /// @param {String} $prefix - The string used to prefix all keys in the map.
43
45
  /// @param {String} $separator [-] - The string used as a separator between the prefix and the key.
@@ -2,6 +2,7 @@
2
2
  @use 'sass:string';
3
3
 
4
4
  /// Rounds a number to a certain precision
5
+ /// @group utilities
5
6
  /// @access public
6
7
  /// @param {Number} $number - The number to be rounded
7
8
  /// @param {Number} $precision [2] - Specifies the number of the digits after the decimal separator
@@ -4,6 +4,8 @@
4
4
  @use 'sass:meta';
5
5
 
6
6
  /// Splits a string into a list by a given separator.
7
+ /// @access public
8
+ /// @group utilities
7
9
  /// @param {String} $string - The string to split.
8
10
  /// @param {String} $separator - The string separator to split the string by.
9
11
  @function split($string, $separator) {
@@ -23,6 +25,8 @@
23
25
  }
24
26
 
25
27
  /// Returns a new string with one, some, or all matches of a string replaced by a replacement.
28
+ /// @access public
29
+ /// @group utilities
26
30
  /// @param {String} $string - The target string.
27
31
  /// @param {String} $search - The term to search form.
28
32
  /// @param {String} $replace - The string to replace the search term with.
@@ -41,6 +45,8 @@
41
45
  }
42
46
 
43
47
  /// Converts a string to a number.
48
+ /// @access private
49
+ /// @group utilities
44
50
  /// @param {String} $value - The target string.
45
51
  @function to-number($value) {
46
52
  @if meta.type-of($value) == 'number' {