@openui5/sap.uxap 1.136.7 → 1.136.9

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/REUSE.toml CHANGED
@@ -375,7 +375,7 @@ SPDX-FileComment = "these files belong to: handlebars"
375
375
  [[annotations]]
376
376
  path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
377
377
  precedence = "aggregate"
378
- SPDX-FileCopyrightText = "2010-2012, The Dojo Foundation"
378
+ SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
379
379
  SPDX-License-Identifier = "MIT"
380
380
  SPDX-FileComment = "these files belong to: requireJS"
381
381
 
package/THIRDPARTY.txt CHANGED
@@ -245,8 +245,8 @@ License: MIT
245
245
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
246
246
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
247
247
 
248
- Component: requireJS, version: 2.1.8
249
- Copyright: 2010-2012, The Dojo Foundation
248
+ Component: requireJS, version: 2.3.7
249
+ Copyright: 2010-2024, jQuery Foundation and other contributors
250
250
  License: MIT
251
251
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
252
252
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.136.7",
3
+ "version": "1.136.9",
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.136.7",
18
- "@openui5/sap.m": "1.136.7",
19
- "@openui5/sap.ui.core": "1.136.7",
20
- "@openui5/sap.ui.layout": "1.136.7"
17
+ "@openui5/sap.f": "1.136.9",
18
+ "@openui5/sap.m": "1.136.9",
19
+ "@openui5/sap.ui.core": "1.136.9",
20
+ "@openui5/sap.ui.layout": "1.136.9"
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.136.7</version>
6
+ <version>1.136.9</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2025 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.136.7
24
+ * @version 1.136.9
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.136.7
25
+ * @version 1.136.9
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.136.7
43
+ * @version 1.136.9
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.136.7
45
+ * @version 1.136.9
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -1851,7 +1851,7 @@ sap.ui.define([
1851
1851
  for (var i = 0; i < aSections.length; i++) {
1852
1852
  var oSection = aSections[i];
1853
1853
  if (oSection._getInternalVisible()) {
1854
- oSection._setAriaLabelledByAnchorButton(aAnchorBarItems[i], bInvalidate);
1854
+ oSection._setAriaLabelledByAnchorButton(aAnchorBarItems[i]);
1855
1855
  }
1856
1856
  }
1857
1857
 
@@ -3165,6 +3165,10 @@ sap.ui.define([
3165
3165
  return;
3166
3166
  }
3167
3167
 
3168
+ if (ResizeHandler.isSuspended(this._$titleArea.get(0), this._adjustTitlePositioning.bind(this))) {
3169
+ return;
3170
+ }
3171
+
3168
3172
  var oWrapperElement = this._$opWrapper.get(0),
3169
3173
  oTitleElement = this._$titleArea.get(0),
3170
3174
  iTitleHeight = oTitleElement.getBoundingClientRect().height,
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Element
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.136.7
41
+ * @version 1.136.9
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -375,6 +375,10 @@ sap.ui.define([
375
375
  return (this.getShowTitle() && this._getInternalTitleVisible()) || this._shouldDisplayButtonsInHeader();
376
376
  };
377
377
 
378
+ ObjectPageSection.prototype._getWrapTitle = function () {
379
+ return this.getWrapTitle();
380
+ };
381
+
378
382
  /**
379
383
  * Determines if the <code>ObjectPageSection</code> title is forced to be visible.
380
384
  * This is the case when the <code>ObjectPageSection</code> displays the expand/collapse button or the show/hide all button.
@@ -391,11 +395,12 @@ sap.ui.define([
391
395
  * @param {boolean} bInvalidate Whether to invalidate the control or not
392
396
  * @private
393
397
  */
394
- ObjectPageSection.prototype._setAriaLabelledByAnchorButton = function (oAnchorButton, bInvalidate) {
395
- this._sAriaLabelledByAnchorButton = oAnchorButton?.getId();
396
- if (bInvalidate) {
398
+ ObjectPageSection.prototype._setAriaLabelledByAnchorButton = function (oAnchorButton) {
399
+ if (this._sAriaLabelledByAnchorButton && this._sAriaLabelledByAnchorButton !== oAnchorButton?.getId()) {
397
400
  this.invalidate();
398
401
  }
402
+
403
+ this._sAriaLabelledByAnchorButton = oAnchorButton?.getId();
399
404
  };
400
405
 
401
406
  /**
@@ -608,6 +608,9 @@ sap.ui.define([
608
608
  };
609
609
 
610
610
  ObjectPageSectionBase.prototype.setTitle = function (sValue, bSuppressInvalidate) {
611
+ if (this.getTitle() === sValue) {
612
+ return this;
613
+ }
611
614
 
612
615
  this.setProperty("title", sValue, bSuppressInvalidate);
613
616
  this._notifyObjectPageLayout();
@@ -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.136.7
28
+ * @version 1.136.9
29
29
  * @since 1.75
30
30
  * @experimental Since 1.75
31
31
  */
@@ -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.136.7
26
+ * @version 1.136.9
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.136.7
24
+ * @version 1.136.9
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.136.7
22
+ * @version 1.136.9
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.136.7
33
+ * @version 1.136.9
34
34
  * @since 1.36
35
35
  * @public
36
36
  */
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  "sap.uxap.ObjectPageHeaderLayoutData",
75
75
  "sap.uxap.ObjectPageLazyLoader"
76
76
  ],
77
- version: "1.136.7",
77
+ version: "1.136.9",
78
78
  ...{
79
79
  interactionDocumentation: true
80
80
  },
@@ -154,8 +154,4 @@ html[data-sap-ui-browser^="ie"].sap-desktop {
154
154
  .sapUxAPObjectPageSectionHeader {
155
155
  height: auto;
156
156
  padding-bottom: 0;
157
- }
158
-
159
- .sapUxAPObjectPageSection.sapUxAPObjectPageSectionWrapTitle .sapUxAPObjectPageSubSectionHeaderToolbar {
160
- height: auto;
161
157
  }
@@ -18,6 +18,13 @@
18
18
  width: 100%;
19
19
  }
20
20
 
21
+ .sapUxAPObjectPageSubSection .sapUxAPObjectPageSubSectionHeader {
22
+ .sapMTB.sapUxAPObjectPageSubSectionHeaderToolbar {
23
+ height: auto;
24
+ min-height: 2.75rem;
25
+ }
26
+ }
27
+
21
28
  .sapUxAPObjectPageSubSectionHeader > .sapMBtn {
22
29
  margin-left: 0.5rem;
23
30
  }
@@ -79,16 +86,6 @@ html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeader {
79
86
  padding: 0 1rem;
80
87
  }
81
88
 
82
- .sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionHeaderTitle,
83
- html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeaderTitle {
84
- height: auto;
85
- overflow: auto;
86
- float: none;
87
- white-space: normal;
88
- word-wrap: break-word;
89
- word-break: break-all;
90
- }
91
-
92
89
  /* tablet display */
93
90
 
94
91
  .sapUxAPObjectPageLayout-Std-Tablet .sapUxAPObjectPageSubSectionHeader,
@@ -122,13 +119,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
122
119
  margin-left: 0;
123
120
  }
124
121
 
125
- .sapUxAPObjectPageSubSectionHeader.titleOnLeftLayout .sapUxAPObjectPageSubSectionHeaderTitle {
126
- height: auto;
127
- white-space: normal;
128
- word-wrap: break-word;
129
- line-height: normal;
130
- }
131
-
132
122
  .sapUxAPObjectPageSubSectionHeader.titleOnLeftLayout .sapUxAPObjectPageSubSectionHeaderActions {
133
123
  float: none;
134
124
  display: inline-block;
@@ -220,10 +210,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
220
210
 
221
211
  /* compact size */
222
212
  .sapUiSizeCompact {
223
- .sapUxAPObjectPageSubSectionHeaderTitle {
224
- height: 2rem;
225
- line-height: 2rem;
226
- }
227
213
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer .sapUiFormResGrid > div,
228
214
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer .sapUiFormCLContainer {
229
215
  padding: 1rem 0;
@@ -257,25 +243,7 @@ html[data-sap-ui-browser^="ie"].sap-desktop {
257
243
  }
258
244
 
259
245
  // Styles needed for wrapTitle property
260
- .sapUxAPObjectPageSubSection.sapUxAPObjectPageSubSectionWrapTitle
261
- .sapUxAPObjectPageSubSectionHeader
262
- .sapUxAPObjectPageSubSectionTitle {
263
- height: auto;
264
- word-break: break-word;
265
- white-space: break-spaces;
266
- overflow: auto;
267
- line-height: inherit;
268
- border-bottom: none;
269
- position: relative;
270
- top: 0rem;
271
- }
272
-
273
- .sapUxAPObjectPageSubSection.sapUxAPObjectPageSubSectionWrapTitle
274
- .sapUxAPObjectPageSubSectionHeader {
275
- height: auto;
276
- padding-bottom: 0;
277
- }
278
-
279
- .sapUxAPObjectPageSubSection.sapUxAPObjectPageSubSectionWrapTitle .sapUxAPObjectPageSubSectionHeaderToolbar {
246
+ .sapUxAPObjectPageSubSection .sapUxAPObjectPageSubSectionHeader .sapUxAPObjectPageSubSectionTitle {
280
247
  height: auto;
248
+ line-height: normal;
281
249
  }
@@ -3,17 +3,9 @@
3
3
  /* High Contrast Black theme */
4
4
  /* ============================================== */
5
5
 
6
- .sapUxAPObjectPageSubSectionFocusable:focus,
7
- .sapUxAPObjectPageSubSectionHeaderTitle:focus {
6
+ .sapUxAPObjectPageSubSectionFocusable:focus {
8
7
  outline: 0.125rem dotted @sapUiContentFocusColor;
9
8
  outline-offset: -0.125rem;
10
9
  border-color: transparent;
11
10
  border-radius: 0;
12
- }
13
-
14
- /* IE ignores outline-offset. Use an overlay: */
15
- html[data-sap-ui-browser^="ie"] .sapUxAPObjectPageSubSection, .sapUxAPObjectPageSubSectionHeaderTitle {
16
- &:focus:before {
17
- border-width: 0.125rem;
18
- }
19
11
  }
@@ -26,14 +26,6 @@
26
26
  justify-content: space-between;
27
27
  }
28
28
 
29
- .sapUxAPObjectPageSubSectionHeaderTitle {
30
- white-space: normal;
31
- line-height: 3rem;
32
- color: @sapUiGroupTitleTextColor;
33
- font-size: @sapMFontHeader4Size;
34
- font-weight: normal;
35
- }
36
-
37
29
  .sapUxAPSubSectionSeeMoreContainer {
38
30
  text-align: right;
39
31
  width: auto;
@@ -60,16 +52,6 @@ html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeader {
60
52
  padding: 0 1rem;
61
53
  }
62
54
 
63
- .sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionHeaderTitle,
64
- html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeaderTitle {
65
- height: auto;
66
- overflow: auto;
67
- float: none;
68
- white-space: normal;
69
- word-wrap: break-word;
70
- word-break: break-all;
71
- }
72
-
73
55
  /* tablet display */
74
56
 
75
57
  .sapUxAPObjectPageLayout-Std-Tablet .sapUxAPObjectPageSubSectionHeader,
@@ -103,13 +85,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
103
85
  margin-left: 0;
104
86
  }
105
87
 
106
- .sapUxAPObjectPageSubSectionHeader.titleOnLeftLayout .sapUxAPObjectPageSubSectionHeaderTitle {
107
- height: auto;
108
- white-space: normal;
109
- word-wrap: break-word;
110
- line-height: normal;
111
- }
112
-
113
88
  .sapUxAPObjectPageSubSectionHeader.titleOnLeftLayout .sapUxAPObjectPageSubSectionHeaderActions {
114
89
  float: none;
115
90
  display: inline-block;
@@ -201,10 +176,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
201
176
 
202
177
  /* compact size */
203
178
  .sapUiSizeCompact {
204
- .sapUxAPObjectPageSubSectionHeaderTitle {
205
- height: 2rem;
206
- line-height: 2rem;
207
- }
208
179
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer .sapUiFormResGrid > div,
209
180
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer .sapUiFormCLContainer {
210
181
  padding: 1rem 0;
@@ -237,3 +208,8 @@ html[data-sap-ui-browser^="ie"].sap-desktop {
237
208
  }
238
209
  }
239
210
 
211
+ // Styles needed for wrapping title
212
+ .sapUxAPObjectPageSubSection .sapUxAPObjectPageSubSectionHeader .sapUxAPObjectPageSubSectionTitle {
213
+ height: auto;
214
+ line-height: normal;
215
+ }