@openui5/sap.tnt 1.95.0 → 1.96.3

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/dep5 CHANGED
@@ -400,6 +400,11 @@ Copyright: 2014 Vitaly Puzrin, Alex Kocharin
400
400
  License: MIT
401
401
  Comment: these files belong to: Markdown-it
402
402
 
403
+ Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
404
+ Copyright: 2015-2017 Evgeny Poberezkin
405
+ License: MIT
406
+ Comment: these files belong to: ajv
407
+
403
408
 
404
409
  # Library: sap.ui.mdc:
405
410
 
@@ -447,11 +452,6 @@ Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
447
452
  License: Apache-2.0
448
453
  Comment: these files belong to: LESS
449
454
 
450
- Files: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
451
- Copyright: 2015-2017 Evgeny Poberezkin
452
- License: MIT
453
- Comment: these files belong to: ajv
454
-
455
455
  Files: lib/jsdoc/ui5/plugin.js
456
456
  Copyright:
457
457
  2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
@@ -459,3 +459,8 @@ Copyright:
459
459
  License: Apache-2.0
460
460
  Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
461
461
 
462
+ Files: src/sap.ui.core/src/sap/ui/core/themes/base/base.less src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
463
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
464
+ License: Apache-2.0
465
+ Comment: these files belong to: SAP Theming Base Content
466
+
package/THIRDPARTY.txt CHANGED
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
6
6
 
7
7
  Library: sap.ui.codeeditor:
8
8
 
9
- Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.12
9
+ Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
10
10
  Copyright: 2010, Ajax.org B.V.
11
11
  License: BSD-3-Clause
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -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.6
200
+ Component: URI.js, version: 1.19.7
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -389,6 +389,12 @@ License: MIT
389
389
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
390
390
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
391
391
 
392
+ Component: ajv, version: 6.12.3
393
+ Copyright: 2015-2017 Evgeny Poberezkin
394
+ License: MIT
395
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
396
+ Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
397
+
392
398
 
393
399
  Library: sap.ui.mdc:
394
400
 
@@ -444,18 +450,21 @@ License: Apache-2.0
444
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
445
451
  Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
446
452
 
447
- Component: ajv, version: 6.12.3
448
- Copyright: 2015-2017 Evgeny Poberezkin
449
- License: MIT
450
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
451
- Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
452
-
453
453
  Component: JSDoc 3, version: 3.6.7
454
454
  Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
457
457
  Contained in: lib/jsdoc/ui5/plugin.js
458
458
 
459
+ Component: SAP Theming Base Content, version: 11.1.34
460
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
461
+ License: Apache-2.0
462
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
463
+ Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
464
+ src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
465
+ src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
466
+ src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
467
+
459
468
 
460
469
  ALL LICENSE TEXTS:
461
470
  ==================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.tnt",
3
- "version": "1.95.0",
3
+ "version": "1.96.3",
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.95.0",
18
- "@openui5/sap.ui.core": "1.95.0"
17
+ "@openui5/sap.m": "1.96.3",
18
+ "@openui5/sap.ui.core": "1.96.3"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.95.0</version>
9
+ <version>1.96.3</version>
10
10
 
11
11
  <documentation>SAPUI5 library with responsive controls.</documentation>
12
12
 
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.95.0
50
+ * @version 1.96.3
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.95.0
44
+ * @version 1.96.3
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -5,11 +5,11 @@
5
5
  */
6
6
 
7
7
  // Provides control sap.tnt.NavigationListItem.
8
- sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core/Icon',
8
+ sap.ui.define(["sap/ui/thirdparty/jquery", "./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core/Icon',
9
9
  './NavigationList', 'sap/ui/core/InvisibleText', 'sap/ui/core/Renderer', 'sap/ui/core/IconPool', "sap/ui/events/KeyCodes", "sap/ui/core/library",
10
10
  // jQuery Plugin "addAriaLabelledBy"
11
11
  "sap/ui/util/openWindow", "sap/ui/util/defaultLinkTypes", "sap/ui/dom/jquery/Aria"],
12
- function(library, Core, Item, Icon,
12
+ function(jQuery, library, Core, Item, Icon,
13
13
  NavigationList, InvisibleText, Renderer, IconPool, KeyCodes, coreLibrary, openWindow, defaultLinkTypes) {
14
14
  "use strict";
15
15
 
@@ -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.95.0
35
+ * @version 1.96.3
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -436,7 +436,7 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
436
436
  NavigationListItem.prototype.ontap = function (event) {
437
437
 
438
438
  var navList = this.getNavigationList(),
439
- source = Core.byId(event.target.id),
439
+ $icon = jQuery(event.target).closest(".sapUiIcon"),
440
440
  level = this.getLevel(),
441
441
  parent,
442
442
  list;
@@ -466,7 +466,7 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
466
466
  // first navigation level
467
467
  if (navList.getExpanded() || !this.getItems().length) {
468
468
 
469
- if (!source || source.getMetadata().getName() !== 'sap.ui.core.Icon' || !source.$().hasClass('sapTntNavLIExpandIcon')) {
469
+ if (!$icon.length || !$icon.hasClass('sapTntNavLIExpandIcon')) {
470
470
  this._selectItem(event);
471
471
  return;
472
472
  }
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.95.0
43
+ * @version 1.96.3
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -62,7 +62,13 @@ sap.ui.define([
62
62
  *
63
63
  * @since 1.62.0
64
64
  */
65
- selectedKey: {type: "string", group: "Data"}
65
+ selectedKey: {type: "string", group: "Data"},
66
+ /**
67
+ * Specifies an optional aria-label that can be used by the screen readers.
68
+ *
69
+ * @since 1.96.2
70
+ */
71
+ ariaLabel: {type : "string", group : "Accessibility", defaultValue : null}
66
72
  },
67
73
  defaultAggregation: "item",
68
74
  aggregations: {
@@ -46,12 +46,19 @@ sap.ui.define([
46
46
  var itemAggregation = control.getAggregation('item');
47
47
  var fixedItemAggregation = control.getAggregation('fixedItem');
48
48
  var isExpanded = control.getExpanded();
49
+ var sAriaLabel = control.getAriaLabel();
49
50
 
50
51
  rm.openStart('div', control);
51
52
 
52
53
  rm.attr("role", 'navigation');
53
54
  rm.attr('aria-roledescription', oRB.getText("SIDENAVIGATION_ROLE_DESCRIPTION"));
54
55
 
56
+ if (sAriaLabel) {
57
+ rm.accessibilityState(control, {
58
+ label: sAriaLabel
59
+ });
60
+ }
61
+
55
62
  rm.class('sapTntSideNavigation');
56
63
  rm.class("sapContrast");
57
64
  rm.class("sapContrastPlus");
@@ -120,7 +120,7 @@ sap.ui.define([
120
120
  * @implements sap.tnt.IToolHeader
121
121
  *
122
122
  * @author SAP SE
123
- * @version 1.95.0
123
+ * @version 1.96.3
124
124
  *
125
125
  * @constructor
126
126
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.95.0
27
+ * @version 1.96.3
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.core.Control
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.95.0
39
+ * @version 1.96.3
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -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.95.0
20
+ * @version 1.96.3
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.95.0",
28
+ version: "1.96.3",
29
29
  dependencies : ["sap.ui.core", "sap.m"],
30
30
  designtime: "sap/tnt/designtime/library.designtime",
31
31
  types: [
@@ -6,7 +6,7 @@
6
6
  @_sap_tnt_NavigationList_ItemHeight: 3rem;
7
7
  @_sap_tnt_NavigationList_NoIconsGroupPadding: 1rem;
8
8
  @_sap_tnt_NavigationList_NoIconsNestedItemPadding: 1rem;
9
- @_sap_tnt_NavigationList_ItemFocusBorder: 1px dotted @sapUiContentFocusColor;
9
+ @_sap_tnt_NavigationList_ItemFocusBorder: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
10
10
  @_sap_tnt_NavigationList_SelectedItemBorderColor: @sapUiListSelectionBorderColor;
11
11
  @_sap_tnt_NavigationList_Collapsed_SelectedGroupBorderColor: @_sap_tnt_NavigationList_SelectedItemBorderColor;
12
12
  @_sap_tnt_NavigationList_Collapsed_GroupBorderColor: @sapUiListBorderColor;
@@ -170,11 +170,12 @@
170
170
 
171
171
  .sapTntNavLIItemSelected.sapTntNavLIItem,
172
172
  .sapTntNavLIItemSelected .sapTntNavLIGroup,
173
- .sapTntNavLIItemSelected.sapTntNavLIGroupItem.sapTntNavLIGroupItem {
173
+ .sapTntNavLIItemSelected.sapTntNavLIGroupItem {
174
174
  background-color: @sapUiListSelectionBackgroundColor;
175
175
  }
176
176
 
177
177
  .sapTntNavLIItemSelected .sapTntNavLIItem:hover,
178
+ .sapTntNavLIItemSelected.sapTntNavLIItem.sapTntNavLIGroup:hover,
178
179
  .sapTntNavLIItemSelected.sapTntNavLIGroupItem.sapTntNavLIGroupItem:hover {
179
180
  background-color: @sapUiListSelectionHoverBackground;
180
181
  }
package/ui5.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- specVersion: "1.1"
2
+ specVersion: "2.0"
3
3
  type: library
4
4
  metadata:
5
5
  name: sap.tnt
@@ -7,3 +7,6 @@ metadata:
7
7
  OpenUI5
8
8
  * (c) Copyright 2009-${currentYear} SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
10
+ resources:
11
+ configuration:
12
+ propertiesFileSourceEncoding: ISO-8859-1