@openui5/sap.tnt 1.134.0 → 1.136.0

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.
Files changed (39) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  3. package/package.json +3 -3
  4. package/src/sap/tnt/.library +2 -2
  5. package/src/sap/tnt/IllustratedMessageType.js +1 -1
  6. package/src/sap/tnt/InfoLabel.js +2 -2
  7. package/src/sap/tnt/InfoLabelRenderer.js +1 -1
  8. package/src/sap/tnt/NavigationList.js +20 -5
  9. package/src/sap/tnt/NavigationListGroup.js +7 -2
  10. package/src/sap/tnt/NavigationListItem.js +16 -2
  11. package/src/sap/tnt/NavigationListItemBase.js +19 -10
  12. package/src/sap/tnt/NavigationListMenuItem.js +3 -3
  13. package/src/sap/tnt/NavigationListRenderer.js +1 -1
  14. package/src/sap/tnt/SideNavigation.js +26 -3
  15. package/src/sap/tnt/SideNavigationRenderer.js +1 -1
  16. package/src/sap/tnt/ToolHeader.js +2 -4
  17. package/src/sap/tnt/ToolHeaderRenderer.js +1 -1
  18. package/src/sap/tnt/ToolHeaderUtilitySeparator.js +2 -2
  19. package/src/sap/tnt/ToolPage.js +4 -4
  20. package/src/sap/tnt/ToolPageRenderer.js +1 -1
  21. package/src/sap/tnt/designtime/NavigationList.designtime.js +1 -1
  22. package/src/sap/tnt/designtime/NavigationListGroup.designtime.js +1 -1
  23. package/src/sap/tnt/designtime/NavigationListItem.designtime.js +1 -1
  24. package/src/sap/tnt/designtime/library.designtime.js +1 -1
  25. package/src/sap/tnt/flexibility/NavigationList.flexibility.js +1 -1
  26. package/src/sap/tnt/flexibility/NavigationListGroup.flexibility.js +1 -1
  27. package/src/sap/tnt/flexibility/NavigationListItem.flexibility.js +1 -1
  28. package/src/sap/tnt/library.js +4 -3
  29. package/src/sap/tnt/messagebundle_sl.properties +6 -6
  30. package/src/sap/tnt/themes/base/NavigationList.less +74 -91
  31. package/src/sap/tnt/themes/base/illustrations/metadata.json +190 -8
  32. package/src/sap/tnt/themes/base/library.source.less +1 -1
  33. package/src/sap/tnt/themes/sap_hcb/base_NavigationList.less +3 -3
  34. package/src/sap/tnt/themes/sap_hcb/library.source.less +1 -1
  35. package/ui5.yaml +1 -1
  36. package/.reuse/dep5 +0 -471
  37. package/src/sap/tnt/themes/base/illustrations/tnt-Dot-UnableToLoad.svg +0 -8
  38. package/src/sap/tnt/themes/base/illustrations/tnt-Dot-UnsuccessfulAuth.svg +0 -10
  39. package/src/sap/tnt/themes/base/illustrations/tnt-Dot-User2.svg +0 -10
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.m:
8
8
 
9
- Component: purify.js, version: 3.1.7
9
+ Component: purify.js, version: 3.2.4
10
10
  Copyright: Mario Heiderich
11
11
  License: Apache-2.0
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -26,7 +26,7 @@ Component: Ace (Ajax.org Cloud9 Editor), version: 1.36.5
26
26
  Copyright: 2010, Ajax.org B.V.
27
27
  License: BSD-3-Clause
28
28
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
29
- Contained in: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/*
29
+ Contained in: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/**
30
30
 
31
31
 
32
32
  Library: sap.ui.commons:
@@ -71,7 +71,7 @@ Component: jQuery UI 1.10, version: 1.10.4
71
71
  Copyright: 2014 jQuery Foundation and other contributors
72
72
  License: MIT
73
73
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
74
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/jqueryui/*
74
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/jqueryui/**
75
75
  src/sap.ui.core/src/jquery.sap.dom.js
76
76
 
77
77
  Component: jQuery UI 1.11, version: 1.11.1
@@ -191,13 +191,13 @@ Component: Unicode Common Locale Data Repository, version: 46.1.0
191
191
  Copyright: 1991-2024 Unicode, Inc.
192
192
  License: LicenseRef-Unicode-3.0
193
193
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
194
- Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
194
+ Contained in: src/sap.ui.core/src/sap/ui/core/cldr/**
195
195
 
196
196
  Component: MobiScroll, version: 2.9.0
197
197
  Copyright: 2010-2013, Acid Media
198
198
  License: MIT
199
199
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
200
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/*
200
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/**
201
201
 
202
202
  Component: SinonJS, version: 1.14.1
203
203
  Copyright: 2010-2014, Christian Johansen, christian@cjohansen.no
@@ -310,7 +310,7 @@ Component: Hyphenopoly, version: 3.4.0
310
310
  Copyright: 2021 Mathias Nater
311
311
  License: MIT
312
312
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
313
- Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
313
+ Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/**
314
314
 
315
315
  Component: p-cancelable, version: 2.0.0
316
316
  Copyright: Sindre Sorhus <sindresorhus@gmail.com>
@@ -349,7 +349,7 @@ Component: highlight.js, version: 11.9.0
349
349
  Copyright: 2006-2020, Ivan Sagalaev
350
350
  License: BSD-3-Clause
351
351
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
352
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
352
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/**
353
353
 
354
354
  Component: Elasticlunr, version: 0.9.5
355
355
  Copyright: 2017 Wei Song and Oliver Nightingale
@@ -361,13 +361,13 @@ Component: DataTables, version: 2.0.1
361
361
  Copyright: SpryMedia Ltd
362
362
  License: MIT
363
363
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
364
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
364
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/**
365
365
 
366
366
  Component: Buttons extension for DataTables, version: 3.0.0
367
367
  Copyright: SpryMedia Ltd
368
368
  License: MIT
369
369
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
370
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
370
+ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/**
371
371
 
372
372
 
373
373
  Library: sap.ui.integration:
@@ -376,7 +376,7 @@ Component: UI5 Web Components, version: 1.7.0
376
376
  Copyright: SAP
377
377
  License: Apache-2.0
378
378
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
379
- Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/*
379
+ Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/**
380
380
 
381
381
  Component: Adaptive Cards, version: 2.9.0
382
382
  Copyright: 2017 Microsoft
@@ -416,18 +416,18 @@ Component: UI5 Web Components, version: 1.18.0
416
416
  Copyright: SAP
417
417
  License: Apache-2.0
418
418
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
419
- Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
420
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
421
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
422
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
423
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
424
- src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
419
+ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/**
420
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/**
421
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/**
422
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/**
423
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/**
424
+ src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/**
425
425
 
426
426
  Component: lit-html, version: 2.2.2
427
427
  Copyright: Google LLC
428
428
  License: BSD-3-Clause
429
429
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
430
- Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/*.*
430
+ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/**
431
431
 
432
432
 
433
433
  Library: sap.ui.webc.fiori:
@@ -436,7 +436,7 @@ Component: UI5 Web Components, version: 1.18.0
436
436
  Copyright: SAP
437
437
  License: Apache-2.0
438
438
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
439
- Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
439
+ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/**
440
440
 
441
441
  Component: ZXing, version: 0.17.1
442
442
  Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
@@ -451,7 +451,7 @@ Component: UI5 Web Components, version: 1.18.0
451
451
  Copyright: SAP
452
452
  License: Apache-2.0
453
453
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
454
- Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
454
+ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/**
455
455
 
456
456
 
457
457
  Outside of Libraries:
@@ -462,14 +462,14 @@ License: Apache-2.0
462
462
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
463
463
  Contained in: lib/jsdoc/ui5/plugin.js
464
464
 
465
- Component: SAP Theming Base Content, version: 11.24.0
465
+ Component: SAP Theming Base Content, version: 11.29.1
466
466
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
467
467
  License: Apache-2.0
468
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
469
469
  Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
470
- src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
471
- src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
472
- src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
470
+ src/themelib_sap_belize/src/sap/ui/core/themes/**/base.less
471
+ src/themelib_sap_fiori_3/src/sap/ui/core/themes/**/base.less
472
+ src/themelib_sap_horizon/src/sap/ui/core/themes/**/base.less
473
473
 
474
474
 
475
475
  ALL LICENSE TEXTS:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.tnt",
3
- "version": "1.134.0",
3
+ "version": "1.136.0",
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.134.0",
18
- "@openui5/sap.ui.core": "1.134.0"
17
+ "@openui5/sap.m": "1.136.0",
18
+ "@openui5/sap.ui.core": "1.136.0"
19
19
  }
20
20
  }
@@ -4,9 +4,9 @@
4
4
  <name>sap.tnt</name>
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>OpenUI5
7
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.134.0</version>
9
+ <version>1.136.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with responsive controls.</documentation>
12
12
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.134.0
51
+ * @version 1.136.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  * @extends sap.ui.core.Control
55
55
  *
56
56
  * @author SAP SE
57
- * @version 1.134.0
57
+ * @version 1.136.0
58
58
  *
59
59
  * @constructor
60
60
  * @public
@@ -122,6 +122,17 @@ sap.ui.define([
122
122
  */
123
123
  item: { type: "sap.ui.core.Item" }
124
124
  }
125
+ },
126
+ /**
127
+ * Fired when an item is pressed.
128
+ */
129
+ itemPress: {
130
+ parameters: {
131
+ /**
132
+ * The pressed item.
133
+ */
134
+ item: { type: "sap.ui.core.Item" }
135
+ }
125
136
  }
126
137
  }
127
138
  },
@@ -298,13 +309,15 @@ sap.ui.define([
298
309
  const oMenuItem = oEvent.getParameter("item");
299
310
  const oNavigationItem = oMenuItem._navItem;
300
311
 
312
+ oNavigationItem._firePress({
313
+ item: oNavigationItem
314
+ });
315
+
301
316
  if (oNavigationItem.getSelectable()) {
302
317
  this._selectItem({
303
318
  item: oNavigationItem
304
319
  });
305
- oNavigationItem._firePress({
306
- item: oNavigationItem
307
- });
320
+
308
321
  const oSelectedItemDomRef = this.getDomRef().querySelector(".sapTntNLISelected [tabindex]");
309
322
  oSelectedItemDomRef?.focus();
310
323
  }
@@ -392,6 +405,7 @@ sap.ui.define([
392
405
  var menuItem = new MenuItem({
393
406
  icon: item.getIcon(),
394
407
  text: item.getText(),
408
+ tooltip: item.getTooltip_AsString() || item.getText(),
395
409
  enabled: item.getEnabled()
396
410
  });
397
411
  menuItem._navItem = item;
@@ -400,6 +414,7 @@ sap.ui.define([
400
414
  var subMenuItem = new MenuItem({
401
415
  icon: subItem.getIcon(),
402
416
  text: subItem.getText(),
417
+ tooltip: subItem.getTooltip_AsString() || subItem.getText(),
403
418
  enabled: subItem.getEnabled()
404
419
  });
405
420
  subMenuItem._navItem = subItem;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @extends sap.tnt.NavigationListItemBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.134.0
24
+ * @version 1.136.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -98,6 +98,11 @@ sap.ui.define([
98
98
  });
99
99
  }
100
100
 
101
+ const sTooltip = this.getTooltip_AsString() || this.getText();
102
+ if (sTooltip) {
103
+ oRM.attr("title", sTooltip);
104
+ }
105
+
101
106
  oRM.openEnd();
102
107
 
103
108
  oRM.openStart("span")
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @extends sap.tnt.NavigationListItemBase
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.134.0
60
+ * @version 1.136.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -212,6 +212,7 @@ sap.ui.define([
212
212
  const NavigationListClass = oList.getMetadata().getClass().prototype.constructor;
213
213
  const oListForPopup = new NavigationListClass({
214
214
  itemSelect: this.onPopupItemSelect.bind(this),
215
+ itemPress: this.onPopupItemPress.bind(this),
215
216
  items: oItemForList
216
217
  }).addStyleClass("sapTntNLPopup");
217
218
 
@@ -238,6 +239,19 @@ sap.ui.define([
238
239
  oRealItem._selectItem();
239
240
  };
240
241
 
242
+ /**
243
+ * Handles popup item press.
244
+ *
245
+ * @param {sap.ui.base.Event} oEvent itemPress event
246
+ * @private
247
+ */
248
+ NavigationListItem.prototype.onPopupItemPress = function (oEvent) {
249
+ const oItemInPopup = oEvent.getParameter("item"),
250
+ oRealItem = Element.getElementById(oItemInPopup.getKey());
251
+
252
+ oRealItem._firePress({ item: oRealItem });
253
+ };
254
+
241
255
  /**
242
256
  * Selects this item.
243
257
  *
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Item
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.134.0
32
+ * @version 1.136.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -338,6 +338,7 @@ sap.ui.define([
338
338
 
339
339
  if (this.getEnabled() && !(oEvent.srcControl.isA("sap.ui.core.Icon")) && !this._isOverflow && !(!this.getNavigationList().getExpanded() && this.getItems().length)) {
340
340
  this._firePress(oParams);
341
+
341
342
  oEvent.stopPropagation();
342
343
  }
343
344
 
@@ -364,6 +365,9 @@ sap.ui.define([
364
365
  * @private
365
366
  */
366
367
  NavigationListItemBase.prototype._firePress = function(oParams) {
368
+ const oNavList = this.getNavigationList();
369
+
370
+ oNavList?.fireItemPress({ item: this });
367
371
  this.firePress(oParams);
368
372
  };
369
373
 
@@ -421,16 +425,24 @@ sap.ui.define([
421
425
 
422
426
  const $container = this.$().find(".sapTntNLIItemsContainer").first();
423
427
  $container.stop(true, true).slideDown("fast", () => {
424
- const oContainerRef = this.getDomRef()?.querySelector(".sapTntNLIItemsContainer");
425
- if (oContainerRef) {
426
- oContainerRef.classList.toggle("sapTntNLIItemsContainerHidden");
427
- }
428
+ this._updateContainerVisibility();
428
429
  this.getNavigationList()?._updateNavItems();
429
430
  });
430
431
 
431
432
  return true;
432
433
  };
433
434
 
435
+ NavigationListItemBase.prototype._updateContainerVisibility = function () {
436
+ const oContainerRef = this.getDomRef()?.querySelector(".sapTntNLIItemsContainer");
437
+ if (oContainerRef) {
438
+ if (this.getExpanded()) {
439
+ oContainerRef.classList.remove("sapTntNLIItemsContainerHidden");
440
+ } else {
441
+ oContainerRef.classList.add("sapTntNLIItemsContainerHidden");
442
+ }
443
+ }
444
+ };
445
+
434
446
  /**
435
447
  * Collapses the child items (works only on first-level items).
436
448
  *
@@ -450,10 +462,7 @@ sap.ui.define([
450
462
 
451
463
  const $container = this.$().find(".sapTntNLIItemsContainer").first();
452
464
  $container.stop(true, true).slideUp("fast", () => {
453
- const oContainerRef = this.getDomRef()?.querySelector(".sapTntNLIItemsContainer");
454
- if (oContainerRef) {
455
- oContainerRef.classList.toggle("sapTntNLIItemsContainerHidden");
456
- }
465
+ this._updateContainerVisibility();
457
466
  this.getNavigationList()?._updateNavItems();
458
467
  });
459
468
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.unified.MenuItem
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.134.0
41
+ * @version 1.136.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  */
47
47
  var NavigationListMenuItem = MenuItem.extend("sap.tnt.NavigationListMenuItem", /** @lends sap.ui.unified.MenuItem.prototype */ { metadata : {
48
48
 
49
- library : "sap.ui.unified",
49
+ library : "sap.tnt",
50
50
  properties : {
51
51
  /**
52
52
  * Defines the text which should be displayed on the item.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  sap.ui.define([
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.134.0
40
+ * @version 1.136.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * Specifies whether the control should have own container styling, such as a box-shadow and border, or not.
76
76
  * <b>Note:</b> This property has to be set to <code>Plain</code> when the control is used inside a <code>sap.m.ResponsivePopover</code> to achieve a Side Navigation Overlay Mode.
77
77
  * @since 1.134
78
- * @experimental
78
+ * @experimental Since 1.134
79
79
  */
80
80
  design: { type: "sap.tnt.SideNavigationDesign", group: "Appearance", defaultValue: SideNavigationDesign.Decorated }
81
81
  },
@@ -114,6 +114,17 @@ sap.ui.define([
114
114
  */
115
115
  item: { type: "sap.ui.core.Item" }
116
116
  }
117
+ },
118
+ /**
119
+ * Fired when an item is pressed.
120
+ */
121
+ itemPress: {
122
+ parameters: {
123
+ /**
124
+ * The pressed item.
125
+ */
126
+ item: { type: "sap.ui.core.Item" }
127
+ }
117
128
  }
118
129
  }
119
130
  },
@@ -126,6 +137,10 @@ sap.ui.define([
126
137
  oObject.attachItemSelect(this._itemSelectionHandler.bind(this));
127
138
  }
128
139
 
140
+ if (oObject && oObject.attachItemPress) {
141
+ oObject.attachItemPress(this._itemPressHandler.bind(this));
142
+ }
143
+
129
144
  return Control.prototype.setAggregation.apply(this, arguments);
130
145
  };
131
146
 
@@ -267,5 +282,13 @@ sap.ui.define([
267
282
  });
268
283
  };
269
284
 
285
+ SideNavigation.prototype._itemPressHandler = function (oEvent) {
286
+ const oItem = oEvent.getParameter("item");
287
+
288
+ this.fireItemPress({
289
+ item: oItem
290
+ });
291
+ };
292
+
270
293
  return SideNavigation;
271
294
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -120,10 +120,9 @@ sap.ui.define([
120
120
  </div>
121
121
  *
122
122
  * @extends sap.m.OverflowToolbar
123
- * @implements sap.tnt.IToolHeader
124
123
  *
125
124
  * @author SAP SE
126
- * @version 1.134.0
125
+ * @version 1.136.0
127
126
  *
128
127
  * @constructor
129
128
  * @public
@@ -132,7 +131,6 @@ sap.ui.define([
132
131
  */
133
132
  var ToolHeader = OverflowToolbar.extend("sap.tnt.ToolHeader", /** @lends sap.tnt.ToolHeader.prototype */ {
134
133
  metadata: {
135
- interfaces: ["sap.tnt.IToolHeader"],
136
134
  library: "sap.tnt",
137
135
  properties: {
138
136
  },
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.134.0
27
+ * @version 1.136.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.134.0
44
+ * @version 1.136.0
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -73,13 +73,13 @@ sap.ui.define([
73
73
  /**
74
74
  * The control to appear in the header area.
75
75
  */
76
- header: {type: "sap.tnt.IToolHeader", multiple: false},
76
+ header: {type: "sap.ui.core.Control", multiple: false},
77
77
 
78
78
  /**
79
79
  * The control to appear in the subheader area.
80
80
  * @since 1.93
81
81
  */
82
- subHeader: {type: "sap.tnt.IToolHeader", multiple: false },
82
+ subHeader: {type: "sap.ui.core.Control", multiple: false },
83
83
  /**
84
84
  * The side menu of the layout.
85
85
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6