@sapui5/sap.suite.ui.commons 1.145.1 → 1.145.2

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 (49) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/commons/.library +1 -1
  3. package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
  4. package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
  5. package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
  6. package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
  7. package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
  8. package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
  9. package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
  10. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
  11. package/src/sap/suite/ui/commons/CloudFilePicker.js +1 -1
  12. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  13. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  14. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  15. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  16. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  17. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  18. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  19. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  20. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  21. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  27. package/src/sap/suite/ui/commons/library.js +1 -1
  28. package/src/sap/suite/ui/commons/networkgraph/Graph.js +36 -3
  29. package/src/sap/suite/ui/commons/networkgraph/Node.js +5 -5
  30. package/src/sap/suite/ui/commons/networkgraph/Utils.js +2 -0
  31. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  32. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  33. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  34. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  35. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  36. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  37. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  38. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  39. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  40. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  41. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  42. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  43. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  44. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  45. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  46. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  47. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
  48. package/src/sap/suite/ui/commons/themes/base/NetworkNode.less +3 -0
  49. package/src/sap/suite/ui/commons/themes/base/SemanticColorMixins.less +55 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.commons",
3
- "version": "1.145.1",
3
+ "version": "1.145.2",
4
4
  "description": "SAPUI5 Library sap.suite.ui.commons",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -7,7 +7,7 @@
7
7
  SAP UI development toolkit for HTML5 (SAPUI5)
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.145.1</version>
10
+ <version>1.145.2</version>
11
11
 
12
12
  <documentation>SAP UI library: sap.suite.ui.commons</documentation>
13
13
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.145.1
22
+ * @version 1.145.2
23
23
  * @since 1.65.0
24
24
  *
25
25
  * @constructor
@@ -134,7 +134,7 @@ sap.ui.define([
134
134
  * @extends sap.ui.core.Control
135
135
  *
136
136
  * @author SAP SE
137
- * @version 1.145.1
137
+ * @version 1.145.2
138
138
  * @since 1.56.0
139
139
  *
140
140
  * @constructor
@@ -148,7 +148,7 @@ sap.ui.define([
148
148
  * @extends sap.ui.core.Control
149
149
  *
150
150
  * @author SAP SE
151
- * @version 1.145.1
151
+ * @version 1.145.2
152
152
  * @since 1.56.0
153
153
  *
154
154
  * @constructor
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.145.1
29
+ * @version 1.145.2
30
30
  * @since 1.56.0
31
31
  *
32
32
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.145.1
25
+ * @version 1.145.2
26
26
  * @since 1.60.0
27
27
  *
28
28
  * @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.145.1
43
+ * @version 1.145.2
44
44
  * @since 1.56.0
45
45
  *
46
46
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.base.ManagedObject
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.145.1
24
+ * @version 1.145.2
25
25
  * @since 1.56.0
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.145.1
26
+ * @version 1.145.2
27
27
  * @since 1.56.0
28
28
  *
29
29
  * @constructor
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @class
119
119
  * @public
120
120
  * @internal
121
- * @version 1.145.1
121
+ * @version 1.145.2
122
122
  */
123
123
  var CloudFilePicker = Dialog.extend("sap.suite.ui.commons.CloudFilePicker", {
124
124
  metadata: {
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.145.1
53
+ * @version 1.145.2
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.145.1
41
+ * @version 1.145.2
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @constructor
24
24
  * @alias sap.suite.ui.commons.flexibility.changeHandler.PropertyChangeMapper
25
- * @version 1.145.1
25
+ * @version 1.145.2
26
26
  * @since 1.50
27
27
  * @private
28
28
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.145.1
31
+ * @version 1.145.2
32
32
  * @since 1.67.0
33
33
  *
34
34
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.145.1
33
+ * @version 1.145.2
34
34
  * @since 1.66.0
35
35
  *
36
36
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.145.1
31
+ * @version 1.145.2
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.145.1
25
+ * @version 1.145.2
26
26
  * @since 1.66.0
27
27
  *
28
28
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.145.1
31
+ * @version 1.145.2
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.145.1
28
+ * @version 1.145.2
29
29
  * @since 1.66.0
30
30
  *
31
31
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.base.Object
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.145.1
21
+ * @version 1.145.2
22
22
  * @since 1.66.0
23
23
  *
24
24
  * @abstract
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.145.1
53
+ * @version 1.145.2
54
54
  * @since 1.66.0
55
55
  *
56
56
  * @constructor
@@ -162,7 +162,7 @@ sap.ui.define([
162
162
  * @extends sap.ui.core.Control
163
163
  *
164
164
  * @author SAP SE
165
- * @version 1.145.1
165
+ * @version 1.145.2
166
166
  * @since 1.66.0
167
167
  *
168
168
  * @constructor
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.suite.ui.commons.imageeditor.ImageEditorContainer
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.145.1
37
+ * @version 1.145.2
38
38
  * @since 1.68.0
39
39
  *
40
40
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.145.1
31
+ * @version 1.145.2
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.145.1
26
+ * @version 1.145.2
27
27
  * @since 1.66.0
28
28
  *
29
29
  * @constructor
@@ -198,7 +198,7 @@ sap.ui.define([
198
198
  "sap.suite.ui.commons.TargetFilterMeasureColumn",
199
199
  "sap.suite.ui.commons.AriaProperties"
200
200
  ],
201
- version: "1.145.1",
201
+ version: "1.145.2",
202
202
  extensions: {
203
203
  flChangeHandlers: {
204
204
  "sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
@@ -584,6 +584,12 @@ sap.ui.define([
584
584
  // indicates RTL
585
585
  this._bIsRtl = Localization.getRTL();
586
586
 
587
+ // Check if the currently focused item has been destroyed and clear it
588
+ if (this._oFocus && this._oFocus.item && (this._oFocus.item.bIsDestroyed || this._oFocus.item.isDestroyed?.())) {
589
+ Log.info("NetworkGraph: Focused item was destroyed before rendering, clearing focus");
590
+ this._oFocus = null;
591
+ }
592
+
587
593
  this.setBusy(false);
588
594
  this.setBusyIndicatorDelay(0);
589
595
 
@@ -1084,7 +1090,14 @@ sap.ui.define([
1084
1090
  oTooltip.attachEvent("afterClose", function () {
1085
1091
  var oFocus = this.getFocus();
1086
1092
 
1087
- if (oFocus) {
1093
+ if (oFocus && oFocus.item) {
1094
+ // Check if the focused item is destroyed before trying to restore focus
1095
+ if (oFocus.item.bIsDestroyed || oFocus.item.isDestroyed?.()) {
1096
+ Log.info("NetworkGraph: Cannot restore focus on destroyed control after tooltip close");
1097
+ this._oFocus = null;
1098
+ return;
1099
+ }
1100
+
1088
1101
  this.setFocus(oFocus);
1089
1102
 
1090
1103
  if (oFocus.button == "menu") {
@@ -1190,6 +1203,13 @@ sap.ui.define([
1190
1203
  * @private
1191
1204
  */
1192
1205
  Graph.prototype.setFocus = function (oFocus, bIsClickOrEnter) {
1206
+ // Check if the focused item has been destroyed and clear it
1207
+ if (oFocus && oFocus.item && (oFocus.item.bIsDestroyed || oFocus.item.isDestroyed?.())) {
1208
+ Log.info("NetworkGraph: Cannot set focus on destroyed control, clearing focus");
1209
+ this._oFocus = null;
1210
+ return;
1211
+ }
1212
+
1193
1213
  // Identity redundant
1194
1214
  if (!oFocus && !this._oFocus ||
1195
1215
  oFocus && this._oFocus && oFocus.item === this._oFocus.item && oFocus.button === this._oFocus.button && oFocus.groupInFocused === this._oFocus.groupInFocused) {
@@ -1404,12 +1424,25 @@ sap.ui.define([
1404
1424
 
1405
1425
  // While Expand/Collapse, focus will still remain to the button
1406
1426
  if (this._oFocus && this._oFocus.button === Group.BUTTONS.COLLAPSE) {
1407
- this._oFocus.item._setCollapseButtonFocus(true);
1427
+ // Check if the focused item still exists and is not destroyed
1428
+ if (this._oFocus.item && !this._oFocus.item.bIsDestroyed && !this._oFocus.item.isDestroyed?.()) {
1429
+ this._oFocus.item._setCollapseButtonFocus(true);
1430
+ } else {
1431
+ Log.info("NetworkGraph: Focused item was destroyed, clearing focus");
1432
+ this._oFocus = null;
1433
+ }
1408
1434
  }
1409
1435
  this._bIsLayedOut = true;
1410
1436
  this._setupEvents();
1411
1437
  this._setupKeyboardNavigation();
1412
- this.setFocus(this.getFocus());
1438
+ // Only restore focus if the focused item still exists and is not destroyed
1439
+ var oCurrentFocus = this.getFocus();
1440
+ if (oCurrentFocus && oCurrentFocus.item && (oCurrentFocus.item.bIsDestroyed || oCurrentFocus.item.isDestroyed?.())) {
1441
+ Log.info("NetworkGraph: Cannot restore focus on destroyed control, clearing focus");
1442
+ this._oFocus = null;
1443
+ } else {
1444
+ this.setFocus(oCurrentFocus);
1445
+ }
1413
1446
 
1414
1447
  // when there is background image, busy is set false after image is loaded (own event)
1415
1448
  // in case image was already loaded continue as usual
@@ -1001,10 +1001,10 @@ sap.ui.define([
1001
1001
  }, false);
1002
1002
 
1003
1003
  let { style: sBorderColor, class: sBorderClass } = this._getStatusStyle({
1004
- "border-color": ElementBase.ColorType.Border,
1004
+ "outline-color": ElementBase.ColorType.Border,
1005
1005
  "background-color": this.getSelected() ? ElementBase.ColorType.SelectedBackground : "",
1006
- "border-width": ElementBase.ColorType.BorderWidth,
1007
- "border-style": ElementBase.ColorType.BorderStyle
1006
+ "outline-width": ElementBase.ColorType.BorderWidth,
1007
+ "outline-style": ElementBase.ColorType.BorderStyle
1008
1008
  }, false);
1009
1009
 
1010
1010
  mOptions.renderManager.openStart("div", sId + "-wrapperwithbuttons");
@@ -2818,10 +2818,10 @@ sap.ui.define([
2818
2818
  $titleText = this.$().find(".sapSuiteUiCommonsNetworkGraphDivNodeTitleText");
2819
2819
 
2820
2820
  if(SemanticColorType.hasOwnProperty(sBackgroundColor)){
2821
- $wrapper.addClass(Utils.SEMANTIC_CLASS_NAME.BORDER + sBackgroundColor);
2821
+ $wrapper.addClass(Utils.SEMANTIC_CLASS_NAME.OUTLINE + sBackgroundColor);
2822
2822
  } else {
2823
2823
  /** @deprecated As of 1.120 */
2824
- $wrapper.css("border-color", sBorderColor);
2824
+ $wrapper.css("outline-color", sBorderColor);
2825
2825
  }
2826
2826
 
2827
2827
  let sFocusColor = this._getColor(ElementBase.ColorType[sType + "Focus"])
@@ -24,6 +24,8 @@ sap.ui.define([], function () {
24
24
  'BACKGROUND-COLOR': 'backgroundSemanticColor',
25
25
  BORDER: 'borderSemanticColor',
26
26
  'BORDER-COLOR': 'borderSemanticColor',
27
+ OUTLINE: 'outlineSemanticColor',
28
+ 'OUTLINE-COLOR': 'outlineSemanticColor',
27
29
  TEXT: 'textSemanticColor',
28
30
  FILL: 'fillSemanticColor',
29
31
  STROKE: 'strokeSemanticColor',
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.145.1
33
+ * @version 1.145.2
34
34
  * @since 1.50
35
35
  *
36
36
  * @constructor
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.suite.ui.commons.statusindicator.Shape
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.145.1
39
+ * @version 1.145.2
40
40
  * @since 1.50
41
41
  *
42
42
  * @constructor
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.ui.core.Control
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.145.1
24
+ * @version 1.145.2
25
25
  * @since 1.50
26
26
  *
27
27
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.145.1
26
+ * @version 1.145.2
27
27
  * @since 1.50
28
28
  *
29
29
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.statusindicator.CustomShape
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.145.1
26
+ * @version 1.145.2
27
27
  * @since 1.60.0
28
28
  *
29
29
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.145.1
32
+ * @version 1.145.2
33
33
  * @since 1.50
34
34
  *
35
35
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.145.1
31
+ * @version 1.145.2
32
32
  * @since 1.50
33
33
  *
34
34
  * @constructor
@@ -29,7 +29,7 @@ sap.ui.define(
29
29
  * @extends sap.suite.ui.commons.statusindicator.SimpleShape
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.145.1
32
+ * @version 1.145.2
33
33
  * @since 1.50
34
34
  *
35
35
  * @constructor
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @extends sap.ui.core.Control
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.145.1
45
+ * @version 1.145.2
46
46
  * @since 1.50
47
47
  *
48
48
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.145.1
33
+ * @version 1.145.2
34
34
  * @since 1.50
35
35
  *
36
36
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.suite.ui.commons.statusindicator.Shape
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.145.1
33
+ * @version 1.145.2
34
34
  * @since 1.50
35
35
  *
36
36
  * @constructor
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.core.Control
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.145.1
52
+ * @version 1.145.2
53
53
  * @since 1.50
54
54
  *
55
55
  * @constructor
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.ui.core.Control
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.145.1
59
+ * @version 1.145.2
60
60
  * @since 1.58.0
61
61
  *
62
62
  * @constructor
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.145.1
44
+ * @version 1.145.2
45
45
  * @since 1.58.0
46
46
  *
47
47
  * @constructor
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.145.1
44
+ * @version 1.145.2
45
45
  * @since 1.58.0
46
46
  *
47
47
  * @constructor
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.145.1
27
+ * @version 1.145.2
28
28
  * @since 1.58.0
29
29
  *
30
30
  * @constructor
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.m.Panel
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.145.1
68
+ * @version 1.145.2
69
69
  * @since 1.58.0
70
70
  *
71
71
  * @constructor
@@ -895,6 +895,9 @@
895
895
  // auto-create border-color class with all different semantic colors
896
896
  .sapSuiteBorderSemanticColor(borderSemanticColor);
897
897
 
898
+ // auto-create outline-color class with all different semantic colors
899
+ .sapSuiteOutlineSemanticColor(outlineSemanticColor);
900
+
898
901
  // auto-create border-color class with all different semantic colors
899
902
  .sapSuiteStrokeSemanticColor(strokeSemanticColor);
900
903
 
@@ -308,6 +308,61 @@
308
308
  }
309
309
  }
310
310
 
311
+ // Mixin to apply outline-color based on semantic color
312
+ .sapSuiteOutlineSemanticColor(@classPrefix) {
313
+ &.@{classPrefix}None {
314
+ outline-color: @sapSuiteSemanticColorNoneBorder !important;
315
+ }
316
+ &.@{classPrefix}Neutral {
317
+ outline-color: @sapSuiteSemanticColorNeutralBorder !important;
318
+ }
319
+ &.@{classPrefix}Good {
320
+ outline-color: @sapSuiteSemanticColorGoodBorder !important;
321
+ }
322
+ &.@{classPrefix}Critical {
323
+ outline-color: @sapSuiteSemanticColorCriticalBorder !important;
324
+ }
325
+ &.@{classPrefix}Error {
326
+ outline-color: @sapSuiteSemanticColorErrorBorder !important;
327
+ }
328
+ &.@{classPrefix}Sequence1 {
329
+ outline-color: @sapSuiteSemanticColorSequence1Border !important;
330
+ }
331
+ &.@{classPrefix}Sequence2 {
332
+ outline-color: @sapSuiteSemanticColorSequence2Border !important;
333
+ }
334
+ &.@{classPrefix}Sequence3 {
335
+ outline-color: @sapSuiteSemanticColorSequence3Border !important;
336
+ }
337
+ &.@{classPrefix}Sequence4 {
338
+ outline-color: @sapSuiteSemanticColorSequence4Border !important;
339
+ }
340
+ &.@{classPrefix}Sequence5 {
341
+ outline-color: @sapSuiteSemanticColorSequence5Border !important;
342
+ }
343
+ &.@{classPrefix}Sequence6 {
344
+ outline-color: @sapSuiteSemanticColorSequence6Border !important;
345
+ }
346
+ &.@{classPrefix}Sequence7 {
347
+ outline-color: @sapSuiteSemanticColorSequence7Border !important;
348
+ }
349
+ &.@{classPrefix}Sequence8 {
350
+ outline-color: @sapSuiteSemanticColorSequence8Border !important;
351
+ }
352
+ &.@{classPrefix}Sequence9 {
353
+ outline-color: @sapSuiteSemanticColorSequence9Border !important;
354
+ }
355
+ &.@{classPrefix}Sequence10 {
356
+ outline-color: @sapSuiteSemanticColorSequence10Border !important;
357
+ }
358
+ &.@{classPrefix}Sequence11 {
359
+ outline-color: @sapSuiteSemanticColorSequence11Border !important;
360
+ }
361
+ &.@{classPrefix}Sequence12 {
362
+ outline-color: @sapSuiteSemanticColorSequence12Border !important;
363
+ }
364
+ }
365
+
311
366
  // Mixin to apply stroke colors based on semantic color
312
367
  .sapSuiteStrokeSemanticColor(@classPrefix) {
313
368
  &.@{classPrefix}None {