@openui5/sap.f 1.118.0 → 1.119.1

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 (97) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +4 -4
  3. package/src/sap/f/.library +1 -1
  4. package/src/sap/f/Avatar.js +1 -1
  5. package/src/sap/f/AvatarGroup.js +1 -1
  6. package/src/sap/f/AvatarGroupItem.js +1 -1
  7. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  8. package/src/sap/f/CalendarInCard.js +1 -1
  9. package/src/sap/f/Card.js +1 -1
  10. package/src/sap/f/CardBase.js +1 -1
  11. package/src/sap/f/DynamicPage.js +2 -1
  12. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  13. package/src/sap/f/DynamicPageHeader.js +1 -1
  14. package/src/sap/f/DynamicPageTitle.js +1 -1
  15. package/src/sap/f/DynamicPageTitleRenderer.js +1 -0
  16. package/src/sap/f/FlexibleColumnLayout.js +1 -1
  17. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  18. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +3 -3
  19. package/src/sap/f/GridContainer.js +1 -1
  20. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  21. package/src/sap/f/GridContainerSettings.js +2 -2
  22. package/src/sap/f/GridList.js +1 -1
  23. package/src/sap/f/GridListItem.js +1 -1
  24. package/src/sap/f/IllustratedMessage.js +1 -1
  25. package/src/sap/f/Illustration.js +1 -1
  26. package/src/sap/f/PlanningCalendarInCardLegend.js +2 -2
  27. package/src/sap/f/ProductSwitch.js +1 -1
  28. package/src/sap/f/ProductSwitchItem.js +1 -1
  29. package/src/sap/f/SearchManager.js +1 -1
  30. package/src/sap/f/ShellBar.js +1 -1
  31. package/src/sap/f/SidePanel.js +24 -20
  32. package/src/sap/f/SidePanelItem.js +1 -1
  33. package/src/sap/f/cards/BaseHeader.js +11 -1
  34. package/src/sap/f/cards/Header.js +28 -27
  35. package/src/sap/f/cards/HeaderRenderer.js +4 -0
  36. package/src/sap/f/cards/NumericHeader.js +42 -35
  37. package/src/sap/f/cards/NumericHeaderRenderer.js +8 -0
  38. package/src/sap/f/cards/NumericIndicators.js +1 -1
  39. package/src/sap/f/cards/NumericSideIndicator.js +1 -1
  40. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  41. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  42. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  43. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  46. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  47. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  48. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  49. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  50. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  51. package/src/sap/f/dnd/GridDragOver.js +1 -1
  52. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  53. package/src/sap/f/library.js +2 -2
  54. package/src/sap/f/messagebundle_bg.properties +15 -15
  55. package/src/sap/f/messagebundle_cs.properties +9 -9
  56. package/src/sap/f/messagebundle_da.properties +1 -1
  57. package/src/sap/f/messagebundle_fi.properties +1 -1
  58. package/src/sap/f/messagebundle_fr.properties +5 -5
  59. package/src/sap/f/messagebundle_hi.properties +1 -1
  60. package/src/sap/f/messagebundle_hr.properties +4 -4
  61. package/src/sap/f/messagebundle_hu.properties +1 -1
  62. package/src/sap/f/messagebundle_sl.properties +1 -1
  63. package/src/sap/f/messagebundle_zh_TW.properties +1 -1
  64. package/src/sap/f/rules/DynamicPage.support.js +26 -15
  65. package/src/sap/f/semantic/AddAction.js +1 -1
  66. package/src/sap/f/semantic/CloseAction.js +1 -1
  67. package/src/sap/f/semantic/CopyAction.js +1 -1
  68. package/src/sap/f/semantic/DeleteAction.js +1 -1
  69. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  70. package/src/sap/f/semantic/EditAction.js +1 -1
  71. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  72. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  73. package/src/sap/f/semantic/FlagAction.js +1 -1
  74. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  75. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  76. package/src/sap/f/semantic/MainAction.js +1 -1
  77. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  78. package/src/sap/f/semantic/NegativeAction.js +1 -1
  79. package/src/sap/f/semantic/PositiveAction.js +1 -1
  80. package/src/sap/f/semantic/PrintAction.js +1 -1
  81. package/src/sap/f/semantic/SemanticButton.js +1 -1
  82. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  83. package/src/sap/f/semantic/SemanticControl.js +1 -1
  84. package/src/sap/f/semantic/SemanticPage.js +1 -1
  85. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  86. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  87. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  88. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  89. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  90. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  91. package/src/sap/f/shellBar/CoPilot.js +1 -1
  92. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  93. package/src/sap/f/shellBar/Search.js +1 -1
  94. package/src/sap/f/themes/base/Card.less +1 -1
  95. package/src/sap/f/themes/base/DynamicPage.less +3 -2
  96. package/src/sap/f/themes/base/DynamicPageTitle.less +5 -0
  97. package/src/sap/f/themes/base/SidePanel.less +19 -12
package/THIRDPARTY.txt CHANGED
@@ -401,7 +401,7 @@ License: MIT
401
401
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
402
402
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
403
403
 
404
- Component: Markdown-it, version: 12.2.0
404
+ Component: Markdown-it, version: 12.3.2
405
405
  Copyright: 2014 Vitaly Puzrin, Alex Kocharin
406
406
  License: MIT
407
407
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -466,7 +466,7 @@ License: Apache-2.0
466
466
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
467
467
  Contained in: lib/jsdoc/ui5/plugin.js
468
468
 
469
- Component: SAP Theming Base Content, version: 11.4.2
469
+ Component: SAP Theming Base Content, version: 11.6.8
470
470
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
471
471
  License: Apache-2.0
472
472
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.f",
3
- "version": "1.118.0",
3
+ "version": "1.119.1",
4
4
  "description": "OpenUI5 UI Library sap.f",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.118.0",
18
- "@openui5/sap.ui.core": "1.118.0",
19
- "@openui5/sap.ui.layout": "1.118.0"
17
+ "@openui5/sap.m": "1.119.1",
18
+ "@openui5/sap.ui.core": "1.119.1",
19
+ "@openui5/sap.ui.layout": "1.119.1"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.118.0</version>
9
+ <version>1.119.1</version>
10
10
 
11
11
  <documentation>SAPUI5 library with Fiori controls.</documentation>
12
12
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.m.Avatar
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.118.0
43
+ * @version 1.119.1
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -98,7 +98,7 @@ sap.ui.define([
98
98
  * @extends sap.ui.core.Control
99
99
  *
100
100
  * @author SAP SE
101
- * @version 1.118.0
101
+ * @version 1.119.1
102
102
  *
103
103
  * @constructor
104
104
  * @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.118.0
35
+ * @version 1.119.1
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * This calendar appointment is used in card content of type Calendar.
22
22
  *
23
23
  * @extends sap.ui.unified.CalendarAppointment
24
- * @version 1.118.0
24
+ * @version 1.119.1
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * <code>sap.m.Toolbar</code> with <code>sap.m.Buttons</code>.
44
44
  *
45
45
  * @extends sap.ui.unified.Calendar
46
- * @version 1.118.0
46
+ * @version 1.119.1
47
47
  *
48
48
  * @constructor
49
49
  * @private
package/src/sap/f/Card.js CHANGED
@@ -71,7 +71,7 @@ sap.ui.define([
71
71
  * @extends sap.f.CardBase
72
72
  *
73
73
  * @author SAP SE
74
- * @version 1.118.0
74
+ * @version 1.119.1
75
75
  *
76
76
  * @constructor
77
77
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.118.0
40
+ * @version 1.119.1
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -112,7 +112,7 @@ sap.ui.define([
112
112
  * @extends sap.ui.core.Control
113
113
  *
114
114
  * @author SAP SE
115
- * @version 1.118.0
115
+ * @version 1.119.1
116
116
  *
117
117
  * @constructor
118
118
  * @public
@@ -1351,6 +1351,7 @@ sap.ui.define([
1351
1351
  // (1) add top padding for the area underneath the title element
1352
1352
  // so that the title does not overlap the content of the scroll container
1353
1353
  oWrapperElement.style.paddingTop = iTitleHeight + "px";
1354
+ oWrapperElement.style.scrollPaddingTop = iTitleHeight + "px";
1354
1355
  this._oScrollHelper.setScrollPaddingTop(iTitleHeight);
1355
1356
 
1356
1357
  // (2) also make the area underneath the title invisible (using clip-path)
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.118.0
26
+ * @version 1.119.1
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.118.0
65
+ * @version 1.119.1
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
  * @extends sap.ui.core.Control
94
94
  *
95
95
  * @author SAP SE
96
- * @version 1.118.0
96
+ * @version 1.119.1
97
97
  *
98
98
  * @constructor
99
99
  * @public
@@ -236,6 +236,7 @@ sap.ui.define([
236
236
 
237
237
  DynamicPageTitleRenderer._renderExpandContent = function (oRm, oDynamicPageTitleState) {
238
238
  oRm.openStart("div", oDynamicPageTitleState.id + "-expand-wrapper");
239
+ oRm.class("sapFDynamicPageTitleExpanded");
239
240
  oRm.openEnd();
240
241
  oDynamicPageTitleState.expandedContent.forEach(oRm.renderControl, oRm);
241
242
  oRm.close("div");
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  *
98
98
  * @extends sap.ui.core.Control
99
99
  * @author SAP SE
100
- * @version 1.118.0
100
+ * @version 1.119.1
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.118.0
25
+ * @version 1.119.1
26
26
  * @since 1.95
27
27
  *
28
28
  * @constructor
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  *
50
50
  * For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
51
51
  *
52
- * @version 1.118.0
52
+ * @version 1.119.1
53
53
  * @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
54
54
  * The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
55
55
  *
@@ -85,7 +85,7 @@ sap.ui.define([
85
85
  *
86
86
  * <li>Value of <code>2</code> - A 2-column layout will be suggested for logical level 0.</li></ul>
87
87
  *
88
- * @param {string} oSettings.mode
88
+ * @param {string} [oSettings.mode]
89
89
  * <b>Deprecated as of version 1.50</b>, use <code>maxColumnsCount</code> param
90
90
  * instead.
91
91
  *
@@ -271,7 +271,7 @@ sap.ui.define([
271
271
  *
272
272
  * @typedef {object} sap.f.FlexibleColumnLayoutSemanticHelper.UIState
273
273
  *
274
- * @property {string} [layout]
274
+ * @property {sap.f.LayoutType} [layout]
275
275
  * The value of the {@link sap.f.FlexibleColumnLayout#getLayout layout} property.
276
276
  * @property {number} [maxColumnsCount]
277
277
  * The maximum number of columns that can be displayed at once based on the control width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
@@ -171,7 +171,7 @@ sap.ui.define([
171
171
  * @see {@link sap.f.dnd.GridDropInfo}
172
172
  *
173
173
  * @author SAP SE
174
- * @version 1.118.0
174
+ * @version 1.119.1
175
175
  *
176
176
  * @extends sap.ui.core.Control
177
177
  *
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/LayoutData'],
21
21
  * @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.118.0
24
+ * @version 1.119.1
25
25
  *
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
@@ -58,14 +58,14 @@ sap.ui.define([
58
58
  * Can be used to define the sizes of columns and rows for different screen sizes, by using the <code>layout</code> aggregations of <code>sap.f.GridContainer</code>.
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.118.0
61
+ * @version 1.119.1
62
62
  *
63
63
  * @extends sap.ui.base.ManagedObject
64
64
  *
65
65
  * @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.118.0
68
+ * @version 1.119.1
69
69
  *
70
70
  * @experimental Since 1.65 This class is experimental. The API may change.
71
71
  * @since 1.65
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
  * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
94
94
  *
95
95
  * @author SAP SE
96
- * @version 1.118.0
96
+ * @version 1.119.1
97
97
  *
98
98
  * @extends sap.m.ListBase
99
99
  * @implements sap.ui.layout.cssgrid.IGridConfigurable
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.ListItemBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.118.0
27
+ * @version 1.119.1
28
28
  *
29
29
  * @since 1.70
30
30
  * @constructor
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.m.IllustratedMessage
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.118.0
59
+ * @version 1.119.1
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.Illustration
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.118.0
33
+ * @version 1.119.1
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/PlanningCalendarLegend', 'sap/ui/unified/CalendarLegendIte
22
22
  * @extends sap.m.PlanningCalendarLegend
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.118.0
25
+ * @version 1.119.1
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -33,7 +33,7 @@ sap.ui.define(['sap/m/PlanningCalendarLegend', 'sap/ui/unified/CalendarLegendIte
33
33
  var PlanningCalendarInCardLegend = PlanningCalendarLegend.extend("sap.f.PlanningCalendarInCardLegend", /** @lends sap.f.PlanningCalendarInCardLegend.prototype */ {
34
34
  metadata : {
35
35
 
36
- library : "sap.m",
36
+ library : "sap.f",
37
37
  properties: {
38
38
  /**
39
39
  * Defines the number of visible calendar and appointment items.
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.118.0
37
+ * @version 1.119.1
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.118.0
43
+ * @version 1.119.1
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/base/ManagedObjectObserver', './sh
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.118.0
26
+ * @version 1.119.1
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -56,7 +56,7 @@ function(
56
56
  * @implements sap.f.IShellBar, sap.m.IBar, sap.tnt.IToolHeader
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.118.0
59
+ * @version 1.119.1
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -149,7 +149,7 @@ sap.ui.define([
149
149
  * @extends sap.ui.core.Control
150
150
  *
151
151
  * @author SAP SE
152
- * @version 1.118.0
152
+ * @version 1.119.1
153
153
  *
154
154
  * @constructor
155
155
  * @public
@@ -452,6 +452,7 @@ sap.ui.define([
452
452
  this._attachResizableHandlers();
453
453
 
454
454
  if (!Device.system.phone) {
455
+ this._determineVisibleItems();
455
456
  if (!this._isSingleItem() && this._iVisibleItems > 0) {
456
457
  this._initItemNavigation();
457
458
  }
@@ -845,15 +846,15 @@ sap.ui.define([
845
846
  }
846
847
  };
847
848
 
848
- SidePanel.prototype._onResize = function(oEvent) {
849
- if (!this.getItems().length) {
850
- return;
851
- }
849
+ SidePanel.prototype._determineVisibleItems = function() {
850
+ var oDomRef = this.getDomRef(),
851
+ oActionBarList = oDomRef && oDomRef.querySelector(".sapFSPActionBarList");
852
+
853
+ if (!oActionBarList) {
854
+ return;
855
+ }
852
856
 
853
- var iCurrentWidth = oEvent.size.width,
854
- bSingleItem = this._isSingleItem(),
855
- oDomRef = this.getDomRef(),
856
- oStyle = window.getComputedStyle(oDomRef.querySelector(".sapFSPActionBarList")),
857
+ var oStyle = window.getComputedStyle(oActionBarList),
857
858
  iItemsGap = parseInt(oStyle.gap),
858
859
  iMarginBottom = parseInt(oStyle.marginBottom),
859
860
  iMarginTop = parseInt(oStyle.marginTop),
@@ -861,17 +862,22 @@ sap.ui.define([
861
862
  iItemsHeight = oFirstItem && oFirstItem.clientHeight,
862
863
  iActionBarHeight;
863
864
 
864
- this._iPreviousWidth = iCurrentWidth;
865
+ if (!this._isSingleItem()) {
866
+ iActionBarHeight = oDomRef.querySelector(".sapFSPSideInner").clientHeight - iMarginBottom - iMarginTop;
867
+ this._iVisibleItems = parseInt((iActionBarHeight + iItemsGap) / (iItemsHeight + iItemsGap));
868
+ }
869
+ };
865
870
 
866
- if (Device.system.phone) {
871
+ SidePanel.prototype._onResize = function(oEvent) {
872
+ if (!this.getItems().length || Device.system.phone) {
867
873
  return;
868
874
  }
869
875
 
870
- if (!bSingleItem) {
871
- iActionBarHeight = oDomRef.querySelector(".sapFSPSideInner").clientHeight - iMarginBottom - iMarginTop;
872
- this._iVisibleItems = parseInt((iActionBarHeight + iItemsGap) / (iItemsHeight + iItemsGap));
876
+ this._determineVisibleItems();
877
+ if (!this._isSingleItem() && this._iVisibleItems > 0) {
873
878
  this._initItemNavigation();
874
879
  }
880
+
875
881
  if (this._getSideContentExpanded()) {
876
882
  this._fixSidePanelWidth();
877
883
  }
@@ -1290,20 +1296,18 @@ sap.ui.define([
1290
1296
  SidePanel.prototype._onTouchStart = function(oEvent) {
1291
1297
  oEvent.preventDefault();
1292
1298
  if (oEvent.button === 0 || oEvent.type === "touchstart") {
1293
- this.getDomRef().querySelector(".sapFSPSplitterBar").classList.add("sapFSPSplitterActive");
1299
+ if ((Device.system.desktop || Device.system.combi) &&
1300
+ !(Device.system.tablet || Device.system.phone)){
1301
+ this.getDomRef().querySelector(".sapFSPSplitterBar").focus();
1302
+ }
1294
1303
  this._bResizeStarted = true;
1295
1304
  this._iStartPositionX = oEvent.touches ? oEvent.touches[0].pageX : oEvent.pageX;
1296
1305
  }
1297
1306
  };
1298
1307
 
1299
1308
  SidePanel.prototype._onTouchEnd = function(oEvent) {
1300
- var oDomRef = this.getDomRef(),
1301
- oSplitter = oDomRef && oDomRef.querySelector(".sapFSPSplitterBar");
1302
-
1303
1309
  this._bResizeStarted && oEvent.preventDefault();
1304
1310
  this._bResizeStarted = false;
1305
-
1306
- oSplitter && oSplitter.classList.remove("sapFSPSplitterActive");
1307
1311
  };
1308
1312
 
1309
1313
  SidePanel.prototype._onTouchMove = function(oEvent) {
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Item
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.118.0
30
+ * @version 1.119.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @abstract
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.118.0
45
+ * @version 1.119.1
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -352,6 +352,16 @@ sap.ui.define([
352
352
  return this.hasListeners("press") ? this._oRb.getText("ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER") : this._oRb.getText("ARIA_ROLEDESCRIPTION_CARD_HEADER");
353
353
  };
354
354
 
355
+ /**
356
+ * Gets the ids of the banner lines to be used in aria-labelledby
357
+ * @returns {string} The ids of the banner lines.
358
+ */
359
+ BaseHeader.prototype._getBannerLinesIds = function () {
360
+ return this.getBannerLines().map((oBannerLine) => {
361
+ return oBannerLine.getId();
362
+ }).join(" ");
363
+ };
364
+
355
365
  /**
356
366
  * Returns if the control is inside a sap.f.GridContainer
357
367
  *
@@ -22,9 +22,10 @@ sap.ui.define([
22
22
  ) {
23
23
  "use strict";
24
24
 
25
- var AvatarShape = mLibrary.AvatarShape;
26
- var AvatarColor = mLibrary.AvatarColor;
27
- var AvatarImageFitType = mLibrary.AvatarImageFitType;
25
+ const AvatarShape = mLibrary.AvatarShape;
26
+ const AvatarColor = mLibrary.AvatarColor;
27
+ const AvatarImageFitType = mLibrary.AvatarImageFitType;
28
+ const AvatarSize = mLibrary.AvatarSize;
28
29
 
29
30
  /**
30
31
  * Constructor for a new <code>Header</code>.
@@ -47,7 +48,7 @@ sap.ui.define([
47
48
  * @implements sap.f.cards.IHeader
48
49
  *
49
50
  * @author SAP SE
50
- * @version 1.118.0
51
+ * @version 1.119.1
51
52
  *
52
53
  * @constructor
53
54
  * @public
@@ -121,7 +122,14 @@ sap.ui.define([
121
122
  *
122
123
  * @experimental Since 1.83 this feature is experimental and the API may change.
123
124
  */
124
- iconVisible: { type: "boolean", defaultValue: true }
125
+ iconVisible: { type: "boolean", defaultValue: true },
126
+
127
+ /**
128
+ * Defines the size of the icon.
129
+ *
130
+ * @experimental Since 1.119 this feature is experimental and the API may change.
131
+ */
132
+ iconSize: { type: "sap.m.AvatarSize", defaultValue: AvatarSize.S }
125
133
  },
126
134
  aggregations: {
127
135
 
@@ -230,13 +238,13 @@ sap.ui.define([
230
238
  .setText(this.getSubtitle())
231
239
  .setMaxLines(this.getSubtitleMaxLines());
232
240
 
233
- var oAvatar = this._getAvatar();
234
-
235
- oAvatar.setDisplayShape(this.getIconDisplayShape());
236
- oAvatar.setSrc(this.getIconSrc());
237
- oAvatar.setInitials(this.getIconInitials());
238
- oAvatar.setTooltip(this.getIconAlt());
239
- oAvatar.setBackgroundColor(this.getIconBackgroundColor());
241
+ this._getAvatar()
242
+ .setDisplayShape(this.getIconDisplayShape())
243
+ .setSrc(this.getIconSrc())
244
+ .setInitials(this.getIconInitials())
245
+ .setTooltip(this.getIconAlt())
246
+ .setBackgroundColor(this.getIconBackgroundColor())
247
+ .setDisplaySize(this.getIconSize());
240
248
  };
241
249
 
242
250
  /**
@@ -271,38 +279,31 @@ sap.ui.define([
271
279
  * @returns {string} IDs of controls
272
280
  */
273
281
  Header.prototype._getAriaLabelledBy = function () {
274
- var sCardTypeId = "",
275
- sTitleId = "",
276
- sSubtitleId = "",
277
- sStatusTextId = "",
278
- sAvatarId = "",
279
- sIds;
282
+ const aIds = [];
280
283
 
281
284
  if (this.getParent() && this.getParent()._ariaText) {
282
- sCardTypeId = this.getParent()._ariaText.getId();
285
+ aIds.push(this.getParent()._ariaText.getId());
283
286
  }
284
287
 
285
288
  if (this.getTitle()) {
286
- sTitleId = this._getTitle().getId();
289
+ aIds.push(this._getTitle().getId());
287
290
  }
288
291
 
289
292
  if (this.getSubtitle()) {
290
- sSubtitleId = this._getSubtitle().getId();
293
+ aIds.push(this._getSubtitle().getId());
291
294
  }
292
295
 
293
296
  if (this.getStatusText()) {
294
- sStatusTextId = this.getId() + "-status";
297
+ aIds.push(this.getId() + "-status");
295
298
  }
296
299
 
297
300
  if (this.getIconSrc() || this.getIconInitials()) {
298
- sAvatarId = this.getId() + "-ariaAvatarText";
301
+ aIds.push(this.getId() + "-ariaAvatarText");
299
302
  }
300
303
 
301
- sIds = sCardTypeId + " " + sTitleId + " " + sSubtitleId + " " + sStatusTextId + " " + sAvatarId;
304
+ aIds.push(this._getBannerLinesIds());
302
305
 
303
- // remove whitespace from both sides
304
- // and merge consecutive spaces into one
305
- return sIds.replace(/ {2,}/g, ' ').trim();
306
+ return aIds.filter((sElement) => { return !!sElement; }).join(" ");
306
307
  };
307
308
 
308
309
  Header.prototype.isLoading = function () {
@@ -44,6 +44,10 @@ sap.ui.define([
44
44
  oRm.class("sapFCardSectionClickable");
45
45
  }
46
46
 
47
+ if (oHeader.getIconSrc() && oHeader.getIconVisible()) {
48
+ oRm.class("sapFCardHeaderHasIcon");
49
+ }
50
+
47
51
  oRm.openEnd();
48
52
 
49
53
  oRm.openStart("div")