@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 +1 -1
- package/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/AnchorBar.js +3 -3
- package/src/sap/uxap/BlockBaseMetadata.js +1 -1
- package/src/sap/uxap/ObjectPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderContent.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderTitle.js +1 -1
- package/src/sap/uxap/ObjectPageLayout.js +9 -6
- package/src/sap/uxap/ObjectPageLayoutRenderer.js +5 -1
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/changeHandler/AddIFrameObjectPageLayout.js +1 -1
- package/src/sap/uxap/changeHandler/MoveObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/RenameObjectPageSection.js +1 -1
- package/src/sap/uxap/library.js +2 -2
- package/src/sap/uxap/themes/base/ObjectPageLayout.less +14 -3
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
|
|
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.
|
|
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.
|
|
18
|
-
"@openui5/sap.m": "1.
|
|
19
|
-
"@openui5/sap.ui.core": "1.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.
|
|
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
|
}
|
package/src/sap/uxap/.library
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<name>sap.uxap</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
|
-
<version>1.
|
|
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-
|
|
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-
|
|
332
|
+
oButton._getButtonControl().$().attr("aria-selected", bAdd);
|
|
333
333
|
} else {
|
|
334
|
-
oButton.$().attr("aria-
|
|
334
|
+
oButton.$().attr("aria-selected", bAdd);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
};
|
|
@@ -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
|
}
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @namespace
|
|
26
26
|
* @alias sap.uxap
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
191
|
+
height: @_sap_uxap_ObjectPageLayout_FooterHeight_Compact;
|
|
181
192
|
|
|
182
193
|
&.sapMBar-CTX {
|
|
183
194
|
// BCP: 1870106645
|