@openui5/sap.uxap 1.102.2 → 1.102.5

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
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.10
200
+ Component: URI.js, version: 1.19.11
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.102.2",
3
+ "version": "1.102.5",
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.102.2",
18
- "@openui5/sap.m": "1.102.2",
19
- "@openui5/sap.ui.core": "1.102.2",
20
- "@openui5/sap.ui.layout": "1.102.2"
17
+ "@openui5/sap.f": "1.102.5",
18
+ "@openui5/sap.m": "1.102.5",
19
+ "@openui5/sap.ui.core": "1.102.5",
20
+ "@openui5/sap.ui.layout": "1.102.5"
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.102.2</version>
6
+ <version>1.102.5</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>
@@ -120,7 +120,7 @@ sap.ui.define([
120
120
  .removeAttr('aria-haspopup');
121
121
  }
122
122
  // set ARIA attributes of main buttons
123
- oButton.$().attr("aria-controls", this.data("sectionId")).attr("aria-selected", bSelected);
123
+ oButton.$().attr("aria-controls", this.data("sectionId")).attr("aria-checked", bSelected);
124
124
  }
125
125
  };
126
126
 
@@ -328,9 +328,9 @@ sap.ui.define([
328
328
  if (oButton && oButton.toggleStyleClass) {
329
329
  oButton.toggleStyleClass("sapUxAPAnchorBarButtonSelected", bAdd);
330
330
  if (oButton instanceof MenuButton) {
331
- oButton._getButtonControl().$().attr("aria-selected", bAdd);
331
+ oButton._getButtonControl().$().attr("aria-checked", bAdd);
332
332
  } else {
333
- oButton.$().attr("aria-selected", bAdd);
333
+ oButton.$().attr("aria-checked", bAdd);
334
334
  }
335
335
  }
336
336
  };
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.102.2
24
+ * @version 1.102.5
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.102.2
25
+ * @version 1.102.5
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @implements sap.uxap.IHeaderContent
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.102.2
44
+ * @version 1.102.5
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.102.2
45
+ * @version 1.102.5
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Element
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.102.2
40
+ * @version 1.102.5
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -172,15 +172,12 @@ sap.ui.define([
172
172
  */
173
173
  ObjectPageSectionBase.prototype.setInvisibleTextLabelValue = function (sValue) {
174
174
  var oAriaLabelledBy = this.getAggregation("ariaLabelledBy"),
175
- sSectionText = this.getSectionText(),
176
175
  sLabel = "";
177
176
 
178
- if (sValue) {
179
- sLabel = sValue + " ";
180
- }
177
+ sLabel = sValue || this.getSectionText();
181
178
 
182
179
  if (oAriaLabelledBy) {
183
- sap.ui.getCore().byId(oAriaLabelledBy.getId()).setText(sLabel + sSectionText);
180
+ sap.ui.getCore().byId(oAriaLabelledBy.getId()).setText(sLabel);
184
181
  }
185
182
 
186
183
  return this;
@@ -193,17 +190,12 @@ sap.ui.define([
193
190
  */
194
191
  ObjectPageSectionBase.prototype._getAriaLabelledBy = function () {
195
192
  // Each section should be labelled as:
196
- // 'titleName Section' - if the section has a title
193
+ // 'titleName' - if the section has a title
197
194
  // 'Section' - if it does not have a title
198
195
 
199
- var sLabel = "",
200
- sTitle = this._getTitle();
201
-
202
- if (sTitle) {
203
- sLabel += sTitle + " ";
204
- }
196
+ var sLabel = "";
205
197
 
206
- sLabel += this.getSectionText();
198
+ sLabel = this._getTitle() || this.getSectionText();
207
199
 
208
200
  return new InvisibleText({
209
201
  text: sLabel
@@ -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.102.2
28
+ * @version 1.102.5
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.102.2
16
+ * @version 1.102.5
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.102.2
24
+ * @version 1.102.5
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.102.2
28
+ * @version 1.102.5
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.102.2",
71
+ version: "1.102.5",
72
72
  extensions: {
73
73
  flChangeHandlers: {
74
74
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",