@openui5/sap.uxap 1.116.0 → 1.117.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.116.0",
3
+ "version": "1.117.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.116.0",
18
- "@openui5/sap.m": "1.116.0",
19
- "@openui5/sap.ui.core": "1.116.0",
20
- "@openui5/sap.ui.layout": "1.116.0"
17
+ "@openui5/sap.f": "1.117.0",
18
+ "@openui5/sap.m": "1.117.0",
19
+ "@openui5/sap.ui.core": "1.117.0",
20
+ "@openui5/sap.ui.layout": "1.117.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.116.0</version>
6
+ <version>1.117.0</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.116.0
24
+ * @version 1.117.0
25
25
  * @since 1.26
26
26
  * @alias sap.uxap.BlockBaseMetadata
27
27
  * @extends sap.ui.core.ElementMetadata
@@ -8,7 +8,7 @@
8
8
  sap.ui.define([
9
9
  "sap/m/Select",
10
10
  "sap/ui/Device",
11
- "sap/ui/thirdparty/jquery",
11
+ "sap/ui/thirdparty/jqueryui/jquery-ui-position",
12
12
  "./HierarchicalSelectRenderer"
13
13
  ], function(Select, Device, jQuery, HierarchicalSelectRenderer) {
14
14
  "use strict";
@@ -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.116.0
25
+ * @version 1.117.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.116.0
43
+ * @version 1.117.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.116.0
45
+ * @version 1.117.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -1239,7 +1239,7 @@ sap.ui.define([
1239
1239
  }
1240
1240
  // enable scrolling in non-fullscreen-mode only
1241
1241
  // (to avoid any scrollbar appearing even for an instance while we snap/unsnap header)
1242
- this._toggleScrolling(!this._bAllContentFitsContainer || !this._getFirstVisibleSubSection()._hasRestrictedHeight());
1242
+ this._toggleScrolling(this._shouldAllowScrolling());
1243
1243
 
1244
1244
  this._registerOnContentResize();
1245
1245
 
@@ -1288,6 +1288,10 @@ sap.ui.define([
1288
1288
  }
1289
1289
  };
1290
1290
 
1291
+ ObjectPageLayout.prototype._shouldAllowScrolling = function () {
1292
+ return !this._bAllContentFitsContainer || !this._getFirstVisibleSubSection()?._hasRestrictedHeight();
1293
+ };
1294
+
1291
1295
  /**
1292
1296
  * Shift footer horizontally with regards to the scroll bar width.
1293
1297
  * @private
@@ -2686,7 +2690,7 @@ sap.ui.define([
2686
2690
  // => wrong section may have been selected in <code>_updateSelectionOnScroll</code>
2687
2691
  // => update the selection using the newly updated DOM positions and the current scrollTop
2688
2692
  this._updateSelectionOnScroll(this._$opWrapper.scrollTop());
2689
- this._toggleScrolling(!this._bAllContentFitsContainer || !this._getFirstVisibleSubSection()._hasRestrictedHeight());
2693
+ this._toggleScrolling(this._shouldAllowScrolling());
2690
2694
 
2691
2695
  return true; // return success flag
2692
2696
  };
@@ -3679,7 +3683,7 @@ sap.ui.define([
3679
3683
  };
3680
3684
 
3681
3685
  /**
3682
- * Returns the <code>sap.ui.core.ScrollEnablement</code> delegate which is used with this control.
3686
+ * Returns the <code>sap.ui.core.delegate.ScrollEnablement</code> delegate which is used with this control.
3683
3687
  *
3684
3688
  * @public
3685
3689
  * @returns {sap.ui.core.delegate.ScrollEnablement} The scroll delegate instance
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Element
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.116.0
41
+ * @version 1.117.0
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -748,7 +748,7 @@ sap.ui.define([
748
748
  this._switchSubSectionMode(sMode);
749
749
 
750
750
  if (this._bRenderedFirstTime) {
751
- this.rerender();
751
+ this.invalidate();
752
752
  }
753
753
  }
754
754
  return this;
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @constructor
24
24
  * @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
25
25
  * @author SAP SE
26
- * @version 1.116.0
26
+ * @version 1.117.0
27
27
  * @since 1.75
28
28
  * @experimental Since 1.75
29
29
  */
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @constructor
24
24
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
25
25
  * @author SAP SE
26
- * @version 1.116.0
26
+ * @version 1.117.0
27
27
  * @experimental Since 1.54
28
28
  */
29
29
 
@@ -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.116.0
24
+ * @version 1.117.0
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @constructor
20
20
  * @alias sap.uxap.changeHandler.UnstashObjectPageSection
21
21
  * @author SAP SE
22
- * @version 1.116.0
22
+ * @version 1.117.0
23
23
  * @experimental Since 1.115
24
24
  */
25
25
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @namespace
31
31
  * @alias sap.uxap
32
32
  * @author SAP SE
33
- * @version 1.116.0
33
+ * @version 1.117.0
34
34
  * @since 1.36
35
35
  * @public
36
36
  */
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  "sap.uxap.ObjectPageHeaderLayoutData",
74
74
  "sap.uxap.ObjectPageLazyLoader"
75
75
  ],
76
- version: "1.116.0",
76
+ version: "1.117.0",
77
77
  extensions: {
78
78
  flChangeHandlers: {
79
79
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -20,14 +20,12 @@
20
20
 
21
21
  .sapUxAPObjectPageSubSectionHeader {
22
22
  height: auto;
23
- overflow: auto;
24
23
  word-wrap: break-word;
25
24
  padding: 0 2.25rem 0 3rem
26
25
  }
27
26
 
28
27
  .sapUxAPObjectPageSubSectionHeaderTitle {
29
28
  white-space: normal;
30
- float: left;
31
29
  line-height: 3rem;
32
30
  color: @sapUiGroupTitleTextColor;
33
31
  font-size: @sapMFontHeader4Size;
@@ -177,6 +175,11 @@ Doing so will result in less generated CSS, as well as less future maintanance i
177
175
  }
178
176
  }
179
177
 
178
+ .sapUxAPObjectPageSubSectionFitContainer {
179
+ display: flex;
180
+ flex-direction: column;
181
+ }
182
+
180
183
  .sapUxAPObjectPageSubSectionFitContainer .sapUxAPBlockContainer .sapUxAPBlockBase {
181
184
  overflow-y: hidden;
182
185
  }
package/ui5.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- specVersion: "2.0"
2
+ specVersion: "3.0"
3
3
  type: library
4
4
  metadata:
5
5
  name: sap.uxap