@sapui5/sap.suite.ui.microchart 1.150.0 → 1.152.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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/microchart/.library +1 -1
  3. package/src/sap/suite/ui/microchart/AreaMicroChart.js +1 -1
  4. package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +1 -1
  5. package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +1 -1
  6. package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +1 -1
  7. package/src/sap/suite/ui/microchart/BulletMicroChart.js +1 -1
  8. package/src/sap/suite/ui/microchart/BulletMicroChartData.js +1 -1
  9. package/src/sap/suite/ui/microchart/ColumnMicroChart.js +1 -1
  10. package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +1 -1
  11. package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +1 -1
  12. package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +7 -1
  13. package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +1 -1
  14. package/src/sap/suite/ui/microchart/DeltaMicroChart.js +1 -1
  15. package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +1 -1
  16. package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +1 -1
  17. package/src/sap/suite/ui/microchart/InteractiveBarChart.js +1 -1
  18. package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +1 -1
  19. package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +1 -1
  20. package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +1 -1
  21. package/src/sap/suite/ui/microchart/InteractiveLineChart.js +1 -1
  22. package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +1 -1
  23. package/src/sap/suite/ui/microchart/InteractiveLineChartRenderer.js +8 -2
  24. package/src/sap/suite/ui/microchart/LineMicroChart.js +1 -1
  25. package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +1 -1
  26. package/src/sap/suite/ui/microchart/LineMicroChartLine.js +1 -1
  27. package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +1 -1
  28. package/src/sap/suite/ui/microchart/LineMicroChartRenderer.js +1 -0
  29. package/src/sap/suite/ui/microchart/RadialMicroChart.js +1 -1
  30. package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +1 -1
  31. package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +1 -1
  32. package/src/sap/suite/ui/microchart/library.js +2 -2
  33. package/src/sap/suite/ui/microchart/themes/base/InteractiveBarChart.less +2 -0
  34. package/src/sap/suite/ui/microchart/themes/base/InteractiveLineChart.less +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.microchart",
3
- "version": "1.150.0",
3
+ "version": "1.152.0",
4
4
  "description": "SAPUI5 Library sap.suite.ui.microchart",
5
5
  "homepage": "https://ui5.github.io/cli/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2026 SAP SE. All rights reserved.</copyright>
8
- <version>1.150.0</version>
8
+ <version>1.152.0</version>
9
9
 
10
10
  <documentation>UI5 library: sap.suite.ui.microchart</documentation>
11
11
 
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.150.0
40
+ * @version 1.152.0
41
41
  * @since 1.34
42
42
  *
43
43
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.150.0
25
+ * @version 1.152.0
26
26
  * @since 1.34
27
27
  *
28
28
  * @public
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
17
17
  * Displays or hides the labels for start and end dates, start and end values, and minimum and maximum values.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.150.0
20
+ * @version 1.152.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.150.0
21
+ * @version 1.152.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
- * @version 1.150.0
49
+ * @version 1.152.0
50
50
  * @since 1.34
51
51
  *
52
52
  * @public
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
17
17
  * Contains the thresholds data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.150.0
20
+ * @version 1.152.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @constructor
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.150.0
41
+ * @version 1.152.0
42
42
  * @since 1.34
43
43
  *
44
44
  * @public
@@ -17,7 +17,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
17
17
  * Defines the column chart data.
18
18
  * @extends sap.ui.core.Element
19
19
  *
20
- * @version 1.150.0
20
+ * @version 1.152.0
21
21
  * @since 1.34
22
22
  *
23
23
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', "sap/suite/ui/microchart/Micr
18
18
  * Displays or hides the labels of a column micro chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.150.0
21
+ * @version 1.152.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
- * @version 1.150.0
43
+ * @version 1.152.0
44
44
  * @since 1.34
45
45
  *
46
46
  * @public
@@ -903,6 +903,12 @@ sap.ui.define([
903
903
  * @private
904
904
  */
905
905
  ComparisonMicroChart.prototype._openMenu = function() {
906
+ var bAnyPressListener = this.hasListeners("press") || this.getData().some(function(oItem) {
907
+ return oItem.hasListeners("press");
908
+ });
909
+ if (!bAnyPressListener) {
910
+ return;
911
+ }
906
912
  if (this._isDataChanged()) {
907
913
  this._oMenu.removeAllItems();
908
914
  this._oMenu.addItem(new MenuItem({
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Control','sap/m/
18
18
  * Contains the values of the comparison chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.150.0
21
+ * @version 1.152.0
22
22
  * @since 1.34
23
23
  *
24
24
  * @constructor
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.150.0
43
+ * @version 1.152.0
44
44
  * @since 1.34
45
45
  *
46
46
  * @public
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.150.0
38
+ * @version 1.152.0
39
39
  * @since 1.34
40
40
  *
41
41
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.150.0
24
+ * @version 1.152.0
25
25
  * @since 1.34
26
26
  *
27
27
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.150.0
35
+ * @version 1.152.0
36
36
  *
37
37
  * @public
38
38
  * @since 1.42.0
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.150.0
19
+ * @version 1.152.0
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.150.0
36
+ * @version 1.152.0
37
37
  *
38
38
  * @public
39
39
  * @since 1.42.0
@@ -15,7 +15,7 @@ sap.ui.define(["./library", "sap/ui/core/Element", "sap/ui/core/Lib"], function(
15
15
  * @extends sap.ui.core.Element
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.150.0
18
+ * @version 1.152.0
19
19
  *
20
20
  * @public
21
21
  * @since 1.42.0
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * The InteractiveLineChart control belongs to a chart control group in the MicroChart library having a number of interactive features.
43
43
  * @extends sap.ui.core.Control
44
44
  * @author SAP SE
45
- * @version 1.150.0
45
+ * @version 1.152.0
46
46
  *
47
47
  * @public
48
48
  * @since 1.42.0
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', 'sap/ui/core/Lib'],
16
16
  * @extends sap.ui.core.Element
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.150.0
19
+ * @version 1.152.0
20
20
  *
21
21
  * @public
22
22
  * @since 1.42.0
@@ -62,7 +62,6 @@ sap.ui.define([
62
62
 
63
63
  oRm.openStart("div");
64
64
  oRm.class("sapSuiteILCWrapperChild");
65
- oRm.attr("aria-hidden", "true");
66
65
  oRm.openEnd();
67
66
  oRm.openStart("div");
68
67
  oRm.class("sapSuiteILCInner");
@@ -77,6 +76,7 @@ sap.ui.define([
77
76
  if (oControl._fNormalizedZero) {
78
77
  oRm.class("sapSuiteILCBottomLabelAreaNoDivider");
79
78
  }
79
+ oRm.attr("aria-hidden", "true");
80
80
  oRm.openEnd();
81
81
  oRm.close("div");
82
82
 
@@ -121,7 +121,7 @@ sap.ui.define([
121
121
  InteractiveLineChartRenderer._renderSecondaryLabel = function (oRm, oControl, index, percentageWidth, sLabel) {
122
122
  oRm.openStart("div");
123
123
  oRm.class("sapSuiteILCSecondaryLabel");
124
-
124
+ oRm.attr("aria-hidden", "true");
125
125
  oRm.style("width", percentageWidth + "%");
126
126
  oRm.style("left", (index * percentageWidth) + "%");
127
127
  oRm.openEnd();
@@ -168,11 +168,13 @@ sap.ui.define([
168
168
  oRm.class("sapSuiteILCPoint");
169
169
  oRm.style("bottom", oControl._aNormalizedValues[index] + "%");
170
170
  }
171
+ oRm.attr("aria-hidden", "true");
171
172
  oRm.openEnd();
172
173
  oRm.close("div");
173
174
 
174
175
  oRm.openStart("div");
175
176
  oRm.class("sapSuiteILCBackgroundArea");
177
+ oRm.attr("aria-hidden", "true");
176
178
  oRm.openEnd();
177
179
  oRm.close("div");
178
180
 
@@ -231,6 +233,7 @@ sap.ui.define([
231
233
  oRm.openStart("div");
232
234
  oRm.class("sapSuiteILCChartCanvas");
233
235
  oRm.class("sapSuiteILCCanvasLayout");
236
+ oRm.attr("aria-hidden", "true");
234
237
  oRm.openEnd();
235
238
 
236
239
  oRm.openStart("svg");
@@ -300,6 +303,7 @@ sap.ui.define([
300
303
  oRm.class("sapSuiteILCTextElement");
301
304
  oRm.class("sapSuiteILCBottomText");
302
305
  oRm.class("sapMPointer");
306
+ oRm.attr("aria-hidden", "true");
303
307
  oRm.openEnd();
304
308
  oRm.text(sBottomLabelText);
305
309
  oRm.close("div");
@@ -339,6 +343,7 @@ sap.ui.define([
339
343
  oRm.class("sapSuiteILCShiftBelow");
340
344
  oRm.class("sapSuiteILCNaLabel");
341
345
  }
346
+ oRm.attr("aria-hidden", "true");
342
347
  oRm.openEnd();
343
348
  oRm.text(sTopLabelText);
344
349
  oRm.close("div");
@@ -358,6 +363,7 @@ sap.ui.define([
358
363
  InteractiveLineChartRenderer._renderDisabledOverlay = function (oRm, oControl) {
359
364
  oRm.openStart("div");
360
365
  oRm.class("sapSuiteILCDisabledOverlay");
366
+ oRm.attr("aria-hidden", "true");
361
367
  oRm.openEnd();
362
368
  oRm.close("div");
363
369
  };
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string.
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
- * @version 1.150.0
34
+ * @version 1.152.0
35
35
  * @since 1.48.0
36
36
  *
37
37
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(["sap/suite/ui/microchart/MicroChartUtils", "./library", "sap/suit
18
18
  * Contains the emphasized point of the line micro chart.
19
19
  * @extends sap.suite.ui.microchart.LineMicroChartPoint
20
20
  *
21
- * @version 1.150.0
21
+ * @version 1.152.0
22
22
  * @since 1.48.0
23
23
  *
24
24
  * @constructor
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.150.0
29
+ * @version 1.152.0
30
30
  * @since 1.60
31
31
  *
32
32
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/core/Element'],
18
18
  * Contains the point of the line micro chart.
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
- * @version 1.150.0
21
+ * @version 1.152.0
22
22
  * @since 1.48.0
23
23
  *
24
24
  * @constructor
@@ -125,6 +125,7 @@ sap.ui.define([
125
125
  if (oControl._bScalingValid) {
126
126
  oRm.openStart("svg", oControl.getId() + "-sapSuiteLMCSvgElement");
127
127
  oRm.attr("focusable", "false");
128
+ oRm.attr("aria-hidden", "true");
128
129
  oRm.class("sapSuiteLMCSvgElement");
129
130
  oRm.openEnd();
130
131
 
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.150.0
35
+ * @version 1.152.0
36
36
  * @since 1.36.0
37
37
  *
38
38
  * @constructor
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * <br>Note: You can assign a custom tooltip for this microchart. The custom tooltip can be set using expression binding. When no custom tooltip is defined, the tooltip is generated automatically based on the logic described in {@link sap.ui.core.Element#getTooltip_AsString}. For a combination of a generated and a custom tooltip, use <code>((AltText))</code> inside of the tooltip string. The aggregated data of the microchart can also be customized.
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
- * @version 1.150.0
37
+ * @version 1.152.0
38
38
  * @since 1.44.0
39
39
  *
40
40
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery", './library', 'sap/ui/core/Element', "
20
20
  * Contains the values of the stacked bar chart.
21
21
  * @extends sap.ui.core.Element
22
22
  *
23
- * @version 1.150.0
23
+ * @version 1.152.0
24
24
  * @since 1.44.0
25
25
  *
26
26
  * @constructor
@@ -21,13 +21,13 @@ sap.ui.define([
21
21
  * @namespace
22
22
  * @alias sap.suite.ui.microchart
23
23
  * @author SAP SE
24
- * @version 1.150.0
24
+ * @version 1.152.0
25
25
  * @public
26
26
  */
27
27
  var thisLib = CoreLib.init({
28
28
  name: "sap.suite.ui.microchart",
29
29
  apiVersion: 2,
30
- version: "1.150.0",
30
+ version: "1.152.0",
31
31
  // library dependencies
32
32
  dependencies: ["sap.ui.core", "sap.m"],
33
33
  types: [
@@ -6,6 +6,7 @@
6
6
  @_sap_suite_ui_microchart_InteractiveBarChart_BarBackground: var(--sapHighlightColor);
7
7
  @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBackground: fade(@sapUiHighlight, 20);
8
8
  @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedBackground: fade(@sapUiHighlight, 20);
9
+ @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedBorder: var(--sapHighlightColor);
9
10
  @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedHoverBackground: fade(@sapUiHighlight, 40);
10
11
  @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBorder: fade(@sapUiHighlight, 60);
11
12
 
@@ -270,6 +271,7 @@ html.sap-desktop .sapSuiteIBC:not(.sapSuiteIBCNonInteractive) .sapSuiteIBCBarInt
270
271
 
271
272
  .sapSuiteIBCBarSelected {
272
273
  background-color: @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedBackground;
274
+ border: 0.0625rem solid @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedBorder;
273
275
  }
274
276
 
275
277
  html.sap-desktop .sapSuiteIBC:not(.sapSuiteIBCNonInteractive) .sapSuiteIBCBarSelected:hover {
@@ -7,6 +7,7 @@
7
7
  @_sap_suite_ui_microchart_InteractiveLineChart_SectionHoverBackground: fade(@sapUiHighlight, 20);
8
8
  @_sap_suite_ui_microchart_InteractiveLineChart_SectionHoverBorder: fade(@sapUiHighlight, 60);
9
9
  @_sap_suite_ui_microchart_InteractiveLineChart_SectionSelectedBackground: fade(@sapUiBrand, 20);
10
+ @_sap_suite_ui_microchart_InteractiveLineChart_SectionSelectedBorder: var(--sapHighlightColor);
10
11
  @_sap_suite_ui_microchart_InteractiveLineChart_SectionSelectedHoverBackground: fade(@sapUiBrand, 40);
11
12
  @_sap_suite_ui_microchart_InteractiveLineChart_BottomLabelBorderColor: @sapUiChartDataLineColor;
12
13
  @_sap_suite_ui_microchart_InteractiveLineChart_DividerColor: @sapUiChartDataLineColor;
@@ -306,6 +307,10 @@ html.sap-desktop .sapSuiteILC:not(.sapSuiteILCNonInteractive) .sapSuiteILCSectio
306
307
  background-color: @_sap_suite_ui_microchart_InteractiveLineChart_SectionSelectedBackground;
307
308
  }
308
309
 
310
+ .sapSuiteILCSelected .sapSuiteILCInteractionArea {
311
+ border: 0.0625rem solid @_sap_suite_ui_microchart_InteractiveLineChart_SectionSelectedBorder;
312
+ }
313
+
309
314
  html.sap-desktop .sapSuiteILC:not(.sapSuiteILCNonInteractive) .sapSuiteILCSection.sapSuiteILCSelected:hover .sapSuiteILCBackgroundArea {
310
315
  background-color: @_sap_suite_ui_microchart_InteractiveLineChart_SectionSelectedHoverBackground;
311
316
  }