@openui5/sap.tnt 1.96.8 → 1.96.11
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 +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 +12 -7
- 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/src/sap/tnt/themes/base/NavigationList.less +2 -1
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.
|
|
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.tnt",
|
|
3
|
-
"version": "1.96.
|
|
3
|
+
"version": "1.96.11",
|
|
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.96.
|
|
18
|
-
"@openui5/sap.ui.core": "1.96.
|
|
17
|
+
"@openui5/sap.m": "1.96.11",
|
|
18
|
+
"@openui5/sap.ui.core": "1.96.11"
|
|
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.96.
|
|
9
|
+
<version>1.96.11</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(["sap/ui/thirdparty/jquery", "./library", 'sap/ui/core/Core', "sap
|
|
|
32
32
|
* @extends sap.ui.core.Item
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.96.
|
|
35
|
+
* @version 1.96.11
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -938,21 +938,26 @@ sap.ui.define(["sap/ui/thirdparty/jquery", "./library", 'sap/ui/core/Core', "sap
|
|
|
938
938
|
this._updateAccessibilityText();
|
|
939
939
|
};
|
|
940
940
|
|
|
941
|
-
|
|
942
941
|
NavigationListItem.prototype._updateAccessibilityText = function() {
|
|
943
942
|
var invisibleText = NavigationListItem._getInvisibleText(),
|
|
944
943
|
navList = this.getNavigationList(),
|
|
945
944
|
bundle = this._resourceBundleMLib,
|
|
946
|
-
accType = navList.getExpanded() ? bundle.getText("ACC_CTR_TYPE_TREEITEM") : '',
|
|
947
945
|
$focusedItem = this._getAccessibilityItem(),
|
|
948
|
-
mPosition = this._getAccessibilityPosition(),
|
|
949
|
-
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
950
946
|
selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
|
|
951
|
-
|
|
947
|
+
text = selected;
|
|
948
|
+
|
|
949
|
+
// for role "treeitem" we have to manually describe the role and position
|
|
950
|
+
if (navList.getExpanded()) {
|
|
951
|
+
var accType = bundle.getText("ACC_CTR_TYPE_TREEITEM"),
|
|
952
|
+
mPosition = this._getAccessibilityPosition(),
|
|
953
|
+
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
954
|
+
itemText = this.getText();
|
|
955
|
+
|
|
956
|
+
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]);
|
|
952
957
|
text = accType + " " + selected + " " + itemText + " " + itemPosition;
|
|
958
|
+
}
|
|
953
959
|
|
|
954
960
|
invisibleText.setText(text);
|
|
955
|
-
|
|
956
961
|
$focusedItem.addAriaLabelledBy(invisibleText.getId());
|
|
957
962
|
};
|
|
958
963
|
|
package/src/sap/tnt/ToolPage.js
CHANGED
package/src/sap/tnt/library.js
CHANGED
|
@@ -17,7 +17,7 @@ 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.96.
|
|
20
|
+
* @version 1.96.11
|
|
21
21
|
* @since 1.36
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ sap.ui.define(["sap/ui/core/library", "sap/m/library"],
|
|
|
25
25
|
// delegate further initialization of this library to the Core
|
|
26
26
|
sap.ui.getCore().initLibrary({
|
|
27
27
|
name : "sap.tnt",
|
|
28
|
-
version: "1.96.
|
|
28
|
+
version: "1.96.11",
|
|
29
29
|
dependencies : ["sap.ui.core", "sap.m"],
|
|
30
30
|
designtime: "sap/tnt/designtime/library.designtime",
|
|
31
31
|
types: [
|
|
@@ -170,7 +170,8 @@
|
|
|
170
170
|
|
|
171
171
|
.sapTntNavLIItemSelected.sapTntNavLIItem,
|
|
172
172
|
.sapTntNavLIItemSelected .sapTntNavLIGroup,
|
|
173
|
-
.sapTntNavLIItemSelected.sapTntNavLIGroupItem
|
|
173
|
+
.sapTntNavLIItemSelected.sapTntNavLIGroupItem,
|
|
174
|
+
.sapTntNavLIItemSelected.sapTntNavLIGroupItem.sapTntNavLIItem {
|
|
174
175
|
background-color: @sapUiListSelectionBackgroundColor;
|
|
175
176
|
}
|
|
176
177
|
|