@openui5/sap.uxap 1.107.0 → 1.108.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.
package/THIRDPARTY.txt CHANGED
@@ -382,7 +382,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
382
382
 
383
383
  Library: sap.ui.integration:
384
384
 
385
- Component: UI5 Web Components, version: 1.0.1
385
+ Component: UI5 Web Components, version: 1.7.0
386
386
  Copyright: SAP
387
387
  License: Apache-2.0
388
388
  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.uxap",
3
- "version": "1.107.0",
3
+ "version": "1.108.0",
4
4
  "description": "OpenUI5 UI Library sap.uxap",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,9 +14,9 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.f": "1.107.0",
18
- "@openui5/sap.m": "1.107.0",
19
- "@openui5/sap.ui.core": "1.107.0",
20
- "@openui5/sap.ui.layout": "1.107.0"
17
+ "@openui5/sap.f": "1.108.0",
18
+ "@openui5/sap.m": "1.108.0",
19
+ "@openui5/sap.ui.core": "1.108.0",
20
+ "@openui5/sap.ui.layout": "1.108.0"
21
21
  }
22
22
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  <name>sap.uxap</name>
5
5
  <vendor>SAP SE</vendor>
6
- <version>1.107.0</version>
6
+ <version>1.108.0</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
@@ -121,7 +121,7 @@ sap.ui.define([
121
121
  .removeAttr('aria-haspopup');
122
122
  }
123
123
  // set ARIA attributes of main buttons
124
- oButton.$().attr("aria-controls", this.data("sectionId")).attr("aria-checked", bSelected);
124
+ oButton.$().attr("aria-controls", this.data("sectionId")).attr("aria-selected", bSelected);
125
125
  }
126
126
  };
127
127
 
@@ -329,9 +329,9 @@ sap.ui.define([
329
329
  if (oButton && oButton.toggleStyleClass) {
330
330
  oButton.toggleStyleClass("sapUxAPAnchorBarButtonSelected", bAdd);
331
331
  if (oButton instanceof MenuButton) {
332
- oButton._getButtonControl().$().attr("aria-checked", bAdd);
332
+ oButton._getButtonControl().$().attr("aria-selected", bAdd);
333
333
  } else {
334
- oButton.$().attr("aria-checked", bAdd);
334
+ oButton.$().attr("aria-selected", bAdd);
335
335
  }
336
336
  }
337
337
  };
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.107.0
24
+ * @version 1.108.0
25
25
  * @since 1.26
26
26
  * @alias sap.uxap.BlockBaseMetadata
27
27
  * @extends sap.ui.core.ElementMetadata
@@ -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.107.0
25
+ * @version 1.108.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @implements sap.uxap.IHeaderContent
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.107.0
43
+ * @version 1.108.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.107.0
45
+ * @version 1.108.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -2101,12 +2101,6 @@ sap.ui.define([
2101
2101
  }
2102
2102
 
2103
2103
  oTargetSubSection = oSection instanceof ObjectPageSubSection ? oSection : this._getFirstVisibleSubSection(oSection);
2104
- if (bIsTabClicked) {
2105
- this.fireNavigate({
2106
- section: ObjectPageSection._getClosestSection(oSection),
2107
- subSection: oTargetSubSection
2108
- });
2109
- }
2110
2104
 
2111
2105
  if (this._bHeaderInTitleArea && !this._shouldPreserveHeaderInTitleArea() && !this._bAllContentFitsContainer) {
2112
2106
  this._moveHeaderToContentArea();
@@ -2162,6 +2156,13 @@ sap.ui.define([
2162
2156
  // explicitly suppress lazy-loading to avoid loading of intermediate sections during scroll on slow machines
2163
2157
  bSuppressLazyLoadingDuringScroll = bAnimationsEnabled && iDuration && this.getEnableLazyLoading();
2164
2158
  this._scrollTo(iScrollTo, iDuration, bSuppressLazyLoadingDuringScroll);
2159
+
2160
+ if (bIsTabClicked) {
2161
+ this.fireNavigate({
2162
+ section: ObjectPageSection._getClosestSection(oSection),
2163
+ subSection: oTargetSubSection
2164
+ });
2165
+ }
2165
2166
  }
2166
2167
  };
2167
2168
 
@@ -4279,6 +4280,8 @@ sap.ui.define([
4279
4280
  ObjectPageLayout.prototype.setShowFooter = function (bShowFooter) {
4280
4281
  var vResult = this.setProperty("showFooter", bShowFooter, true);
4281
4282
  this._toggleFooter(bShowFooter);
4283
+ this.$().toggleClass("sapUxAPObjectPageLayoutFooterVisible", bShowFooter);
4284
+
4282
4285
  return vResult;
4283
4286
  };
4284
4287
 
@@ -42,7 +42,8 @@ sap.ui.define([],
42
42
  bHeaderLabelSet = oLandmarkInfo && oLandmarkInfo.getHeaderLabel(),
43
43
  bRootRoleSet = oLandmarkInfo && oLandmarkInfo.getRootRole(),
44
44
  bRootLabelSet = oLandmarkInfo && oLandmarkInfo.getRootLabel(),
45
- bNavigationRoleSet = oLandmarkInfo && oLandmarkInfo.getNavigationRole();
45
+ bNavigationRoleSet = oLandmarkInfo && oLandmarkInfo.getNavigationRole(),
46
+ bShowFooter = oControl.getShowFooter();
46
47
 
47
48
  if (oControl.getShowAnchorBar() && oControl._getInternalAnchorBarVisible()) {
48
49
  oAnchorBar = oControl.getAggregation("_anchorBar");
@@ -57,6 +58,9 @@ sap.ui.define([],
57
58
  oRm.attr("aria-label", sRootAriaLabelText);
58
59
  }
59
60
  oRm.class("sapUxAPObjectPageLayout");
61
+ if (bShowFooter) {
62
+ oRm.class("sapUxAPObjectPageLayoutFooterVisible");
63
+ }
60
64
  if (bTitleClickable) {
61
65
  oRm.class("sapUxAPObjectPageLayoutTitleClickEnabled");
62
66
  }
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Element
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.107.0
40
+ * @version 1.108.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @constructor
26
26
  * @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
27
27
  * @author SAP SE
28
- * @version 1.107.0
28
+ * @version 1.108.0
29
29
  * @since 1.75
30
30
  * @experimental Since 1.75
31
31
  */
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/fl/changeHandler/MoveControls", "sap/ui/core/Core", "sap/
13
13
  * @constructor
14
14
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
15
15
  * @author SAP SE
16
- * @version 1.107.0
16
+ * @version 1.108.0
17
17
  * @experimental Since 1.54
18
18
  */
19
19
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @constructor
22
22
  * @alias sap.uxap.changeHandler.RenameObjectPageSection
23
23
  * @author SAP SE
24
- * @version 1.107.0
24
+ * @version 1.108.0
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @namespace
26
26
  * @alias sap.uxap
27
27
  * @author SAP SE
28
- * @version 1.107.0
28
+ * @version 1.108.0
29
29
  * @since 1.36
30
30
  * @public
31
31
  */
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  "sap.uxap.ObjectPageHeaderLayoutData",
69
69
  "sap.uxap.ObjectPageLazyLoader"
70
70
  ],
71
- version: "1.107.0",
71
+ version: "1.108.0",
72
72
  extensions: {
73
73
  flChangeHandlers: {
74
74
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -2,6 +2,9 @@
2
2
  /* CSS for control sap.uxap/ObjectPageLayout */
3
3
  /* Base theme */
4
4
  /* ========================================== */
5
+ @_sap_uxap_ObjectPageLayout_FooterHeight: 3rem;
6
+ @_sap_uxap_ObjectPageLayout_FooterHeight_Compact: 2.5rem;
7
+ @_sap_uxap_ObjectPageLayout_FooterMarginBottom: 0.5rem;
5
8
 
6
9
  .sapUxAPObjectPageLayout {
7
10
  width: 100%;
@@ -28,6 +31,14 @@
28
31
  }
29
32
  }
30
33
 
34
+ .sapUxAPObjectPageLayoutFooterVisible .sapUxAPObjectPageWrapper {
35
+ scroll-padding-bottom: ~"calc(@{_sap_uxap_ObjectPageLayout_FooterHeight} + @{_sap_uxap_ObjectPageLayout_FooterMarginBottom} + 2px)";
36
+ }
37
+
38
+ .sapUiSizeCompact .sapUxAPObjectPageLayoutFooterVisible .sapUxAPObjectPageWrapper {
39
+ scroll-padding-bottom: ~"calc(@{_sap_uxap_ObjectPageLayout_FooterHeight_Compact} + @{_sap_uxap_ObjectPageLayout_FooterMarginBottom} + 2px)";
40
+ }
41
+
31
42
  .sapUxAPObjectPageLayout:not(.sapUxAPObjectPageLayout-Std-Phone) .sapUxAPObjectPageSubSectionPromoted:not(.sapUxAPObjectPageSectionMultilineContent) .sapUxAPObjectPageSubSectionHeaderActions {
32
43
  position: absolute;
33
44
  top: 0;
@@ -159,13 +170,13 @@ html[data-sap-ui-browser^="ie"] .sapUxAPObjectPageWrapperTransform {
159
170
  .sapUxAPObjectPageLayout {
160
171
  .sapUxAPObjectPageFooter {
161
172
  position: absolute;
162
- height: 3rem;
173
+ height: @_sap_uxap_ObjectPageLayout_FooterHeight;
163
174
  bottom: 0;
164
175
  right: 0;
165
176
  left: 0;
166
177
  margin-left: 0.5rem;
167
178
  margin-right: 0.5rem;
168
- margin-bottom: 0.5rem;
179
+ margin-bottom: @_sap_uxap_ObjectPageLayout_FooterMarginBottom;
169
180
  z-index:1001;
170
181
 
171
182
  .sapUxAPObjectPageFloatingFooter {
@@ -177,7 +188,7 @@ html[data-sap-ui-browser^="ie"] .sapUxAPObjectPageWrapperTransform {
177
188
 
178
189
  .sapUiSizeCompact .sapUxAPObjectPageLayout .sapUxAPObjectPageFooter {
179
190
  .sapUxAPObjectPageFloatingFooter {
180
- height: 2.5rem;
191
+ height: @_sap_uxap_ObjectPageLayout_FooterHeight_Compact;
181
192
 
182
193
  &.sapMBar-CTX {
183
194
  // BCP: 1870106645