@openui5/sap.tnt 1.84.23 → 1.84.26
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/LICENSE.txt +1 -1
- package/package.json +3 -3
- package/src/sap/tnt/.library +1 -1
- package/src/sap/tnt/InfoLabel.js +1 -1
- package/src/sap/tnt/NavigationList.js +1 -1
- package/src/sap/tnt/NavigationListItem.js +13 -8
- package/src/sap/tnt/SideNavigation.js +1 -1
- package/src/sap/tnt/ToolHeader.js +1 -1
- package/src/sap/tnt/ToolHeaderUtilitySeparator.js +1 -1
- package/src/sap/tnt/ToolPage.js +1 -1
- package/src/sap/tnt/library.js +2 -2
package/LICENSE.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.tnt",
|
|
3
|
-
"version": "1.84.
|
|
3
|
+
"version": "1.84.26",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.tnt",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.84.
|
|
18
|
-
"@openui5/sap.ui.core": "1.84.
|
|
17
|
+
"@openui5/sap.m": "1.84.26",
|
|
18
|
+
"@openui5/sap.ui.core": "1.84.26"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/src/sap/tnt/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.84.
|
|
9
|
+
<version>1.84.26</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with responsive controls.</documentation>
|
|
12
12
|
|
package/src/sap/tnt/InfoLabel.js
CHANGED
|
@@ -32,7 +32,7 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
|
|
|
32
32
|
* @extends sap.ui.core.Item
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.84.
|
|
35
|
+
* @version 1.84.26
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -935,21 +935,26 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
|
|
|
935
935
|
this._updateAccessibilityText();
|
|
936
936
|
};
|
|
937
937
|
|
|
938
|
-
|
|
939
938
|
NavigationListItem.prototype._updateAccessibilityText = function() {
|
|
940
939
|
var invisibleText = NavigationListItem._getInvisibleText(),
|
|
941
940
|
navList = this.getNavigationList(),
|
|
942
941
|
bundle = this._resourceBundleMLib,
|
|
943
|
-
accType = navList.getExpanded() ? bundle.getText("ACC_CTR_TYPE_TREEITEM") : '',
|
|
944
942
|
$focusedItem = this._getAccessibilityItem(),
|
|
945
|
-
mPosition = this._getAccessibilityPosition(),
|
|
946
|
-
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
947
943
|
selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
|
|
948
|
-
|
|
949
|
-
text = accType + " " + itemPosition + " " + selected + " " + itemText;
|
|
944
|
+
text = selected;
|
|
950
945
|
|
|
951
|
-
|
|
946
|
+
// for role "treeitem" we have to manually describe the role and position
|
|
947
|
+
if (navList.getExpanded()) {
|
|
948
|
+
var accType = bundle.getText("ACC_CTR_TYPE_TREEITEM"),
|
|
949
|
+
mPosition = this._getAccessibilityPosition(),
|
|
950
|
+
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
951
|
+
itemText = this.getText();
|
|
952
952
|
|
|
953
|
+
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]);
|
|
954
|
+
text = accType + " " + selected + " " + itemText + " " + itemPosition;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
invisibleText.setText(text);
|
|
953
958
|
$focusedItem.addAriaLabelledBy(invisibleText.getId());
|
|
954
959
|
};
|
|
955
960
|
|
package/src/sap/tnt/ToolPage.js
CHANGED
package/src/sap/tnt/library.js
CHANGED
|
@@ -17,14 +17,14 @@ sap.ui.define(["sap/ui/core/library", "sap/m/library"],
|
|
|
17
17
|
* @namespace
|
|
18
18
|
* @name sap.tnt
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.84.
|
|
20
|
+
* @version 1.84.26
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
// delegate further initialization of this library to the Core
|
|
25
25
|
sap.ui.getCore().initLibrary({
|
|
26
26
|
name : "sap.tnt",
|
|
27
|
-
version: "1.84.
|
|
27
|
+
version: "1.84.26",
|
|
28
28
|
dependencies : ["sap.ui.core", "sap.m"],
|
|
29
29
|
designtime: "sap/tnt/designtime/library.designtime",
|
|
30
30
|
types: [
|