@openui5/sap.tnt 1.143.1 → 1.144.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 (35) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +3 -3
  3. package/src/sap/tnt/.library +2 -2
  4. package/src/sap/tnt/IllustratedMessageType.js +1 -1
  5. package/src/sap/tnt/InfoLabel.js +2 -2
  6. package/src/sap/tnt/InfoLabelRenderer.js +1 -1
  7. package/src/sap/tnt/NavigationList.js +2 -2
  8. package/src/sap/tnt/NavigationListGroup.js +2 -2
  9. package/src/sap/tnt/NavigationListItem.js +2 -2
  10. package/src/sap/tnt/NavigationListItemBase.js +2 -2
  11. package/src/sap/tnt/NavigationListMenuItem.js +3 -3
  12. package/src/sap/tnt/NavigationListMenuItemRenderer.js +1 -1
  13. package/src/sap/tnt/NavigationListRenderer.js +1 -1
  14. package/src/sap/tnt/SideNavigation.js +2 -2
  15. package/src/sap/tnt/SideNavigationRenderer.js +1 -1
  16. package/src/sap/tnt/ToolHeader.js +2 -2
  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 +33 -64
  20. package/src/sap/tnt/ToolPageRenderer.js +6 -6
  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 +3 -3
  29. package/src/sap/tnt/themes/base/InfoLabel.less +42 -37
  30. package/src/sap/tnt/themes/base/NavigationList.less +1 -1
  31. package/src/sap/tnt/themes/base/SideNavigation.less +10 -20
  32. package/src/sap/tnt/themes/base/ToolHeader.less +18 -15
  33. package/src/sap/tnt/themes/base/ToolPage.less +12 -15
  34. package/src/sap/tnt/themes/base/library.source.less +1 -1
  35. package/src/sap/tnt/themes/sap_hcb/library.source.less +1 -1
package/THIRDPARTY.txt CHANGED
@@ -202,7 +202,7 @@ License: Apache-2.0
202
202
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
203
203
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
204
204
 
205
- Component: Unicode Common Locale Data Repository, version: 46.1.0
205
+ Component: Unicode Common Locale Data Repository, version: 48.0.0
206
206
  Copyright: 1991-2024 Unicode, Inc.
207
207
  License: LicenseRef-Unicode-3.0
208
208
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.tnt",
3
- "version": "1.143.1",
3
+ "version": "1.144.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/UI5/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.143.1",
18
- "@openui5/sap.ui.core": "1.143.1"
17
+ "@openui5/sap.m": "1.144.0",
18
+ "@openui5/sap.ui.core": "1.144.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 2025 SAP SE or an SAP affiliate company.
7
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.143.1</version>
9
+ <version>1.144.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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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.143.1
51
+ * @version 1.144.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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.ui.core.Control
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.143.1
60
+ * @version 1.144.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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.tnt.NavigationListItemBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.143.1
27
+ * @version 1.144.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.tnt.NavigationListItemBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.143.1
62
+ * @version 1.144.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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.143.1
32
+ * @version 1.144.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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,13 +38,13 @@ sap.ui.define([
38
38
  * @extends sap.ui.unified.MenuItem
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.143.1
41
+ * @version 1.144.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
45
45
  * @alias sap.tnt.NavigationListMenuItem
46
46
  */
47
- var NavigationListMenuItem = MenuItem.extend("sap.tnt.NavigationListMenuItem", /** @lends sap.ui.unified.MenuItem.prototype */ { metadata : {
47
+ var NavigationListMenuItem = MenuItem.extend("sap.tnt.NavigationListMenuItem", /** @lends sap.tnt.NavigationListMenuItem.prototype */ { metadata : {
48
48
 
49
49
  library : "sap.tnt",
50
50
  properties : {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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.143.1
40
+ * @version 1.144.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -122,7 +122,7 @@ sap.ui.define([
122
122
  * @extends sap.m.OverflowToolbar
123
123
  *
124
124
  * @author SAP SE
125
- * @version 1.143.1
125
+ * @version 1.144.0
126
126
  *
127
127
  * @constructor
128
128
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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.143.1
27
+ * @version 1.144.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -22,6 +22,9 @@ sap.ui.define([
22
22
  ToolPageRenderer) {
23
23
  "use strict";
24
24
 
25
+ var TP_RANGE_SET = "TPRangeSet";
26
+ Device.media.initRangeSet(TP_RANGE_SET, [600], "px", ["S", "M"], true);
27
+
25
28
  // shortcut for sap.m.PageBackgroundDesign
26
29
  var PageBackgroundDesign = mLibrary.PageBackgroundDesign;
27
30
 
@@ -41,7 +44,7 @@ sap.ui.define([
41
44
  * @extends sap.ui.core.Control
42
45
  *
43
46
  * @author SAP SE
44
- * @version 1.143.1
47
+ * @version 1.144.0
45
48
  *
46
49
  * @constructor
47
50
  * @public
@@ -55,6 +58,8 @@ sap.ui.define([
55
58
  /**
56
59
  * Indicates if the side menu is expanded.
57
60
  * Overrides the <code>expanded</code> property of the <code>sideContent</code> aggregation.
61
+ * **Note:** By default, on small screens, the side content is collapsed to provide more space for the main content.
62
+ * On larger screens, it is expanded. This behavior can be overridden by setting this property.
58
63
  */
59
64
  sideExpanded: {type: "boolean", group: "Misc", defaultValue: true},
60
65
 
@@ -123,9 +128,9 @@ sap.ui.define([
123
128
  };
124
129
 
125
130
  ToolPage.prototype.onAfterRendering = function () {
126
- this._ResizeHandler = ResizeHandler.register(this.getDomRef(), this._mediaQueryHandler.bind(this));
131
+ this._resizeHandler = ResizeHandler.register(this.getDomRef(), this._resize.bind(this));
127
132
 
128
- this._updateLastMediaQuery();
133
+ this._updateLayoutSettings();
129
134
  };
130
135
 
131
136
  /**
@@ -147,13 +152,12 @@ sap.ui.define([
147
152
  this.setProperty("sideExpanded", bSideExpanded, true);
148
153
 
149
154
  var oSideContent = this.getSideContent();
150
- if (oSideContent) {
151
- var bNewState = Device.system.phone ? true : bSideExpanded;
152
- oSideContent.setExpanded(bNewState);
153
- } else {
155
+ if (!oSideContent) {
154
156
  return this;
155
157
  }
156
158
 
159
+ oSideContent.setExpanded(bSideExpanded);
160
+
157
161
  var oDomRef = this.getDomRef();
158
162
  if (!oDomRef) {
159
163
  return this;
@@ -172,9 +176,9 @@ sap.ui.define([
172
176
  * @private
173
177
  */
174
178
  ToolPage.prototype._deregisterControl = function () {
175
- if (this._ResizeHandler) {
176
- ResizeHandler.deregister(this._ResizeHandler);
177
- this._ResizeHandler = null;
179
+ if (this._resizeHandler) {
180
+ ResizeHandler.deregister(this._resizeHandler);
181
+ this._resizeHandler = null;
178
182
  }
179
183
  };
180
184
 
@@ -182,71 +186,36 @@ sap.ui.define([
182
186
  * Handles the change of the screen size.
183
187
  * @private
184
188
  */
185
- ToolPage.prototype._mediaQueryHandler = function () {
186
- var oSideContent = this.getSideContent();
187
-
188
- if (oSideContent === null) {
189
- return;
190
- }
189
+ ToolPage.prototype._resize = function () {
190
+ this._updateLayoutSettings();
191
+ };
191
192
 
192
- this._currentMediaQuery = this._getDeviceAsString();
193
+ ToolPage.prototype._updateLayoutSettings = function () {
194
+ const oMediaRange = this._getMediaRange();
195
+ const sClassName = "sapTntToolPage-Layout" + oMediaRange.name;
193
196
 
194
- if (this._getLastMediaQuery() === this._currentMediaQuery) {
197
+ if (this._sCurrentLayoutClassName === sClassName) {
195
198
  return;
196
199
  }
197
200
 
198
- switch (this._currentMediaQuery) {
199
- case "Combi":
200
- this.setSideExpanded(true);
201
- break;
202
- case "Tablet":
203
- this.setSideExpanded(false);
204
- break;
205
- case "Phone":
206
- this.setSideExpanded(false);
207
- oSideContent.setExpanded(true);
208
- break;
209
- default:
210
- this.setSideExpanded(true);
201
+ if (this._sCurrentLayoutClassName) {
202
+ this.removeStyleClass(this._sCurrentLayoutClassName);
211
203
  }
212
204
 
213
- this._updateLastMediaQuery();
214
- };
205
+ this.setSideExpanded(this.isPropertyInitial("sideExpanded") ? !this._isLayoutS() : this.getSideExpanded());
215
206
 
216
- /**
217
- * Returns the last media query.
218
- * @returns {undefined|string}
219
- * @private
220
- */
221
- ToolPage.prototype._getLastMediaQuery = function () {
222
- return this._lastMediaQuery;
223
- };
224
207
 
225
- /**
226
- * Sets the last media query.
227
- * @returns {ToolPage}
228
- * @private
229
- */
230
- ToolPage.prototype._updateLastMediaQuery = function () {
231
- this._lastMediaQuery = this._getDeviceAsString();
208
+ this.addStyleClass(sClassName);
232
209
 
233
- return this;
210
+ this._sCurrentLayoutClassName = sClassName;
234
211
  };
235
212
 
236
- ToolPage.prototype._getDeviceAsString = function () {
237
- if (Device.system.combi) {
238
- return "Combi";
239
- }
240
-
241
- if (Device.system.phone) {
242
- return "Phone";
243
- }
244
-
245
- if (Device.system.tablet) {
246
- return "Tablet";
247
- }
213
+ ToolPage.prototype._getMediaRange = function () {
214
+ return Device.media.getCurrentRange(TP_RANGE_SET, window.innerWidth);
215
+ };
248
216
 
249
- return "Desktop";
217
+ ToolPage.prototype._isLayoutS = function () {
218
+ return this._getMediaRange().name === "S";
250
219
  };
251
220
 
252
221
  ToolPage.prototype._onContentChange = function(oChanges) {
@@ -265,4 +234,4 @@ sap.ui.define([
265
234
  };
266
235
 
267
236
  return ToolPage;
268
- });
237
+ });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -31,6 +31,10 @@ sap.ui.define([
31
31
  oRM.class("sapTntToolPageWithSideContent");
32
32
  }
33
33
 
34
+ if (window.innerWidth < 600) {
35
+ oRM.class("sapTntToolPage-LayoutS");
36
+ }
37
+
34
38
  oRM.openEnd();
35
39
 
36
40
  this.renderHeader(oRM, oControl);
@@ -86,7 +90,7 @@ sap.ui.define([
86
90
  ToolPageRenderer.renderContent = function (oRM, oControl) {
87
91
  oRM.openStart("div").class("sapTntToolPageContentWrapper");
88
92
 
89
- if (!Device.system.desktop || !oControl.getSideExpanded()) {
93
+ if (window.innerWidth < 600 || !oControl.getSideExpanded()) {
90
94
  oRM.class("sapTntToolPageAsideCollapsed");
91
95
  }
92
96
 
@@ -113,10 +117,6 @@ sap.ui.define([
113
117
  oSideContent.setExpanded(bSideExpanded);
114
118
  }
115
119
 
116
- if (!Device.system.desktop) {
117
- oControl.setSideExpanded(false);
118
- }
119
-
120
120
  // The render of the aggregation should be after the above statement,
121
121
  // due to class manipulations inside the aggregation.
122
122
  oRM.renderControl(oSideContent);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -22,14 +22,14 @@ sap.ui.define([
22
22
  * @namespace
23
23
  * @alias sap.tnt
24
24
  * @author SAP SE
25
- * @version 1.143.1
25
+ * @version 1.144.0
26
26
  * @since 1.36
27
27
  * @public
28
28
  */
29
29
  var thisLib = Library.init({
30
30
  apiVersion: 2,
31
31
  name : "sap.tnt",
32
- version: "1.143.1",
32
+ version: "1.144.0",
33
33
  dependencies : ["sap.ui.core", "sap.m"],
34
34
  designtime: "sap/tnt/designtime/library.designtime",
35
35
  types: [
@@ -1,15 +1,15 @@
1
- /* ================================= */
2
- /* CSS for control sap.tnt/InfoLabel */
3
- /* Base theme */
4
- /* ================================= */
1
+ /* ================================== */
2
+ /* CSS for control sap.tnt/InfoLabel */
3
+ /* Base theme */
4
+ /* ================================== */
5
5
 
6
6
  @_sap_tnt_InfoLabel_NarrowPadding: 0 0.1875rem;
7
7
  @_sap_tnt_InfoLabel_LineHeight: normal;
8
8
  @_sap_tnt_InfoLabel_LineHeightDisplayOnly: 1rem;
9
9
  @_sap_tnt_InfoLabel_Height: 1rem;
10
10
  @_sap_tnt_InfoLabel_HeightWithoutBorders: 0.875rem;
11
- @_sap_tnt_InfoLabel_FontFamily: @sapUiFontFamily;
12
- @_sap_tnt_InfoLabel_FontSize: @sapMFontSmallSize;
11
+ @_sap_tnt_InfoLabel_FontFamily: var(--sapFontFamily);
12
+ @_sap_tnt_InfoLabel_FontSize: var(--sapFontSmallSize);
13
13
  @_sap_tnt_InfoLabel_DisplayFontSize: @_sap_tnt_InfoLabel_FontSize;
14
14
  @_sap_tnt_InfoLabel_DisplayFontSizeIcon: @_sap_tnt_InfoLabel_FontSize;
15
15
  @_sap_tnt_InfoLabel_Padding: 0 0.3125rem;
@@ -18,16 +18,17 @@
18
18
  @_sap_tnt_InfoLabel_DisplayIconMargin: 0.1875rem;
19
19
  @_sap_tnt_InfoLabel_PaddingWhenEmpty: 0 @_sap_tnt_InfoLabel_HeightWithoutBorders/2;
20
20
  @_sap_tnt_InfoLabel_DisplayModeBorder: none;
21
- @_sap_tnt_InfoLabel_DisplayModeBackground: @sapUiBaseText;
22
- @_sap_tnt_InfoLabel_DisplayModeColor: @sapUiContentContrastTextColor;
21
+ @_sap_tnt_InfoLabel_DisplayModeBackground: var(--sapTextColor);
22
+ @_sap_tnt_InfoLabel_DisplayModeColor: var(--sapContent_ContrastTextColor);
23
23
  @_sap_tnt_InfoLabel_BorderRadius: 0.5rem;
24
24
  @_sap_tnt_InfoLabel_DisplayBorderRadius: @_sap_tnt_InfoLabel_BorderRadius;
25
25
  @_sap_tnt_InfoLabel_Text: uppercase;
26
26
  @_sap_tnt_InfoLabel_LetterSpacing: 0.0125rem;
27
27
 
28
- /* ==========================================================================
29
- Root element
30
- ========================================================================== */
28
+ /* ========================================================================== */
29
+ /* Root element */
30
+ /* ========================================================================== */
31
+
31
32
  .sapTntInfoLabel {
32
33
  box-sizing: border-box;
33
34
  padding: @_sap_tnt_InfoLabel_Padding;
@@ -53,13 +54,14 @@
53
54
  }
54
55
  }
55
56
 
56
- .sapTntInfoLabelRenderModeNarrow { // Recommended for numeric labels (Numeric Mode)
57
- padding: @_sap_tnt_InfoLabel_NarrowPadding
57
+ .sapTntInfoLabelRenderModeNarrow { /* Recommended for numeric labels (Numeric Mode) */
58
+ padding: @_sap_tnt_InfoLabel_NarrowPadding;
58
59
  }
59
60
 
60
- /* ==========================================================================
61
- InfoLabel Display Only
62
- ========================================================================== */
61
+ /* ========================================================================== */
62
+ /* InfoLabel Display Only */
63
+ /* ========================================================================== */
64
+
63
65
  .sapTntInfoLabel.sapTntInfoLabelDisplayOnly {
64
66
  border: @_sap_tnt_InfoLabel_DisplayModeBorder;
65
67
  background: @_sap_tnt_InfoLabel_DisplayModeBackground;
@@ -74,16 +76,17 @@
74
76
  }
75
77
  }
76
78
 
77
- /* ==========================================================================
78
- InfoLabel No Text
79
- ========================================================================== */
80
- .sapTntInfoLabel.sapTntInfoLabelNoText {
79
+ /* ========================================================================== */
80
+ /* InfoLabel No Text */
81
+ /* ========================================================================== */
82
+
83
+ .sapTntInfoLabel.sapTntInfoLabelNoText {
81
84
  padding: 0 0.1875rem;
82
- }
85
+ }
83
86
 
84
- /* ==========================================================================
85
- InfoLabel With Icon
86
- ========================================================================== */
87
+ /* ========================================================================== */
88
+ /* InfoLabel With Icon */
89
+ /* ========================================================================== */
87
90
 
88
91
  .sapTntInfoLabel.sapTntInfoLabelWithIcon {
89
92
 
@@ -107,7 +110,8 @@
107
110
  }
108
111
 
109
112
  &.sapTntInfoLabelDisplayOnly .sapTntInfoLabelInner {
110
- .sapUiIcon:not(.sapMBtnIcon) { // needs this to override Form styles
113
+
114
+ .sapUiIcon:not(.sapMBtnIcon) { /* needs this to override Form styles */
111
115
  line-height: @_sap_tnt_InfoLabel_LineHeightDisplayOnly;
112
116
  padding-right: @_sap_tnt_InfoLabel_DisplayIconMargin;
113
117
  font-size: @_sap_tnt_InfoLabel_DisplayFontSizeIcon;
@@ -115,23 +119,25 @@
115
119
  }
116
120
  }
117
121
 
118
- /* ==========================================================================
119
- Empty InfoLabel
120
- ========================================================================== */
122
+ /* ========================================================================== */
123
+ /* Empty InfoLabel */
124
+ /* ========================================================================== */
121
125
 
122
- // It is recommended for the empty InfoLabel to be circle
126
+ /* It is recommended for the empty InfoLabel to be circle */
123
127
  .sapTntInfoLabel.sapTntInfoLabelNoText:not(.sapTntInfoLabelWithIcon) {
128
+
124
129
  &:not(.sapTntInfoLabelDisplayOnly) {
125
130
  padding: @_sap_tnt_InfoLabel_PaddingWhenEmpty;
126
131
  }
132
+
127
133
  &.sapTntInfoLabelDisplayOnly {
128
134
  padding: 0 @_sap_tnt_InfoLabel_LineHeightDisplayOnly/2;
129
135
  }
130
136
  };
131
137
 
132
- /* ==========================================================================
133
- InfoLabel in Form
134
- ========================================================================== */
138
+ /* ========================================================================== */
139
+ /* InfoLabel in Form */
140
+ /* ========================================================================== */
135
141
 
136
142
  .sapUiFormEdit .sapTntInfoLabel:not(.sapTntInfoLabelDisplayOnly) {
137
143
  margin-top: 0.875rem;
@@ -142,11 +148,10 @@
142
148
  margin-top: 0.5rem;
143
149
  }
144
150
 
145
-
146
- /* ==========================================================================
147
- InfoLabel in Table
148
- ========================================================================== */
151
+ /* ========================================================================== */
152
+ /* InfoLabel in Table */
153
+ /* ========================================================================== */
149
154
 
150
155
  .sapMListTbl .sapTntInfoLabel.sapTntInfoLabelWithIcon .sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon) {
151
- font-size: @sapMFontSmallSize;
156
+ font-size: var(--sapFontSmallSize);
152
157
  }
@@ -123,7 +123,7 @@
123
123
  height: @_sap_tnt_NavigationList_ItemHeight;
124
124
  box-sizing: border-box;
125
125
  cursor: pointer;
126
- background-color: var(--sapUiListBackground);
126
+ background-color: var(--sapList_Background);
127
127
  border-radius: @_sap_tnt_NavigationList_ItemBorderRadius;
128
128
 
129
129
  /* borders are drawn using a pseudo element. */
@@ -7,22 +7,20 @@
7
7
  @_sap_tnt_SideNavigation_CollapsedWidth: 3rem;
8
8
  @_sap_tnt_SideNavigation_NavigationSeparatorMargin: 0.25rem 0.875rem 0.25rem 0.875rem;
9
9
  @_sap_tnt_SideNavigation_NavigationSeparatorMarginCollapsed: 0.25rem 0.5rem 0.25rem 0.5rem;
10
- @_sap_tnt_SideNavigation_NavigationSeparatorBackgroundColor: @sapUiGroupContentBorderColor;
10
+ @_sap_tnt_SideNavigation_NavigationSeparatorBackgroundColor: var(--sapGroup_ContentBorderColor);
11
11
  @_sap_tnt_SideNavigation_NavigationSeparatorRadius: unset;
12
12
  @_sap_tnt_SideNavigation_NavigationSeparatorHeight: 1px;
13
- @_sap_tnt_SideNavigation_TriangleColor: @sapUiContentIconColor;
14
- @_sap_tnt_SideNavigation_BorderRight: 1px solid @sapUiGroupContentBorderColor;
15
- @_sap_tnt_SideNavigation_PhoneBorderRadius: 0;
13
+ @_sap_tnt_SideNavigation_TriangleColor: var(--sapContent_IconColor);
14
+ @_sap_tnt_SideNavigation_BorderRight: 1px solid var(--sapGroup_ContentBorderColor);
16
15
  @_sap_tnt_SideNavigation_BoxShadow: none;
17
16
  @_sap_tnt_SideNavigation_TriangleDisplay: block;
18
- @_sap_tnt_SideNavigation_PhoneWidth: @_sap_tnt_SideNavigation_Width;
19
17
 
20
18
  .sapTntSideNavigation {
21
19
  display: flex;
22
20
  flex-direction: column;
23
21
  flex: 1;
24
22
  min-height: 0;
25
- background: @sapUiListBackground;
23
+ background: var(--sapList_Background);
26
24
  border-right: @_sap_tnt_SideNavigation_BorderRight;
27
25
  min-width: @_sap_tnt_SideNavigation_Width;
28
26
  box-shadow: @_sap_tnt_SideNavigation_BoxShadow;
@@ -41,18 +39,10 @@ html[data-sap-ui-animation='off'] .sapTntSideNavigation {
41
39
  transition: none;
42
40
  }
43
41
 
44
- html.sap-phone,
45
- html.sap-tablet:not(html.sap-combi) {
46
- .sapTntSideNavigation {
47
- border-radius: @_sap_tnt_SideNavigation_PhoneBorderRadius;
48
- }
42
+ .sapTntToolPage-LayoutS .sapTntSideNavigation {
43
+ width: ~"100% !important";
49
44
  }
50
45
 
51
- html.sap-phone {
52
- .sapTntSideNavigation {
53
- width: @_sap_tnt_SideNavigation_PhoneWidth;
54
- }
55
- }
56
46
 
57
47
  .sapTntSideNavigation.sapTntSideNavigationNotExpandedWidth {
58
48
  min-width: @_sap_tnt_SideNavigation_CollapsedWidth;
@@ -67,7 +57,7 @@ html.sap-phone {
67
57
 
68
58
  .sapTntNLINotExpandedTriangle:not(.sapTntNLIDisabled):after {
69
59
  display: @_sap_tnt_SideNavigation_TriangleDisplay;
70
- content: "";
60
+ content: '';
71
61
  width: 0;
72
62
  height: 0;
73
63
  border-left: 0.375rem solid transparent;
@@ -107,11 +97,11 @@ html.sap-phone {
107
97
  position: relative;
108
98
  }
109
99
 
110
- /* Compact size
111
- ========================================================================== */
112
-
100
+ /* Compact size */
113
101
  .sapUiSizeCompact {
102
+
114
103
  .sapTntSideNavigationNotExpanded {
104
+
115
105
  .sapTntSideNavigationSeparator {
116
106
  margin: @_sap_tnt_SideNavigation_NavigationSeparatorMarginCollapsed;
117
107
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  @_sap_tnt_ToolHeader_Height: 3rem;
7
7
  @_sap_tnt_ToolHeader_AvatarBackground: lighten(saturate(spin(@sapUiAccent6, 348), 36), 28);
8
- @_sap_tnt_ToolHeader_AvatarColor: @sapUiBaseText;
8
+ @_sap_tnt_ToolHeader_AvatarColor: var(--sapTextColor);
9
9
  @_sap_tnt_ToolHeader_BorderColor: contrast(@sapUiShellColor, @sapUiContentFocusColor, @sapUiContentContrastFocusColor, @sapUiContentContrastTextThreshold);
10
10
  @_sap_tnt_ToolHeader_ArrowHeight: 0.1875rem;
11
11
  @_sap_tnt_ToolHeader_ArrowMargin: 0;
@@ -17,13 +17,13 @@
17
17
  height: @_sap_tnt_ToolHeader_Height;
18
18
  }
19
19
 
20
- // ==========================================================================
21
- // sap.m.IconTabHeader overriding
22
- // ==========================================================================
20
+ /* ========================================================================== */
21
+ /* sap.m.IconTabHeader overriding */
22
+ /* ========================================================================== */
23
23
 
24
24
  .sapMIBar.sapTntToolHeader .sapMBarChild.sapMITH {
25
25
  flex: 1;
26
- min-width: 0; // fixes Chrome flex issue
26
+ min-width: 0; /* fixes Chrome flex issue */
27
27
  }
28
28
 
29
29
  .sapMIBar.sapTntToolHeader:not(.sapUshellShellToolHeader) .sapMBarChild.sapMITH {
@@ -37,7 +37,8 @@
37
37
  padding-bottom: 0;
38
38
 
39
39
  .sapMITBFilter .sapMITBText + .sapMITBContentArrow {
40
- &:after {
40
+
41
+ &::after {
41
42
  border-radius: 0.125rem;
42
43
  box-shadow: none;
43
44
  margin-bottom: @_sap_tnt_ToolHeader_ArrowMarginBottom;
@@ -48,8 +49,9 @@
48
49
  }
49
50
 
50
51
  .sapMITBFilterPopover.sapMITBFilterPopoverInToolHeader {
52
+
51
53
  .sapUiIcon {
52
- color: @sapUiContentNonInteractiveIconColor;
54
+ color: var(--sapContent_NonInteractiveIconColor);
53
55
  }
54
56
  }
55
57
 
@@ -57,24 +59,25 @@
57
59
  margin: @_sap_tnt_ToolHeader_ArrowMargin;
58
60
  }
59
61
 
60
- // ==========================================================================
61
- // sap.m.MenuButton overriding
62
- // ==========================================================================
62
+ /* ========================================================================== */
63
+ /* sap.m.MenuButton overriding */
64
+ /* ========================================================================== */
63
65
 
64
66
  .sapTntToolHeader {
67
+
65
68
  .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnEmphasized.sapMBtnInner::after {
66
69
  content: '\e287';
67
70
  }
68
71
  }
69
72
 
70
- /* ------------------------------------------------ */
71
- /* Shell overrides */
72
- /* ------------------------------------------------ */
73
+ /* ================================================ */
74
+ /* Shell overrides */
75
+ /* ================================================ */
73
76
 
74
77
  .sapTntToolHeader.sapMTB.sapUshellShellToolHeader {
75
- background-color: @sapUiShellNavigationBackground;
78
+ background-color: var(--sapShell_Navigation_Background);
76
79
  height: 2.75rem;
77
- box-shadow: @sapUiShellShadow;
80
+ box-shadow: var(--sapShell_Shadow);
78
81
  border: none;
79
82
  z-index: 1;
80
83
  position: relative;
@@ -8,15 +8,13 @@
8
8
  /* ========================================================================== */
9
9
 
10
10
  @_sap_tnt_ToolPage_AnimationDuration : 0.3s;
11
- @_sap_tnt_ToolPage_Background: darken(@sapUiBaseBG, 4);
11
+ @_sap_tnt_ToolPage_Background: var(--sapBackgroundColor);
12
12
  @_sap_tnt_ToolPage_ContentBackgroundStandard: none;
13
13
  @_sap_tnt_ToolPage_ContentBackgroundSolid: none;
14
14
  @_sap_tnt_ToolPage_ContentBackgroundTransparent: none;
15
15
  @_sap_tnt_ToolPage_ContentBackgroundList: none;
16
- @_sap_tnt_ToolPage_AsideCollapsedPhoneTransform: -100%;
17
- @_sap_tnt_ToolPage_AsideCollapsedPhoneTransformRtl: 100%;
18
- @_sap_tnt_ToolPage_AsidePhoneTop: 0;
19
- @_sap_tnt_ToolPage_AsidePhoneWidth: auto;
16
+ @_sap_tnt_ToolPage_AsideCollapsedLayoutSTransform: -100%;
17
+ @_sap_tnt_ToolPage_AsideCollapsedLayoutSTransformRtl: 100%;
20
18
  @_sap_tnt_ToolHeader_Shadow: none;
21
19
 
22
20
  /* ========================================================================== */
@@ -78,24 +76,25 @@ html:not([data-sap-ui-animation='off']) .sapTntToolPageAside {
78
76
  transition: transform @_sap_tnt_ToolPage_AnimationDuration;
79
77
  }
80
78
 
81
- html.sap-phone {
82
-
79
+ .sapTntToolPage-LayoutS {
83
80
  .sapTntToolPageAside {
84
81
  z-index: 2;
85
82
  position: absolute;
86
83
  left: 0;
87
84
  bottom: 0;
88
- top: @_sap_tnt_ToolPage_AsidePhoneTop;
89
- width: @_sap_tnt_ToolPage_AsidePhoneWidth;
85
+ top: 0;
86
+ width: 100%;
90
87
  }
91
88
 
92
89
  .sapTntToolPageAsideCollapsed {
93
90
  .sapTntToolPageAside {
94
- transform: translateX(@_sap_tnt_ToolPage_AsideCollapsedPhoneTransform);
91
+ transform: translateX(@_sap_tnt_ToolPage_AsideCollapsedLayoutSTransform);
95
92
  }
96
93
  }
97
94
  }
98
95
 
96
+
97
+
99
98
  /* ========================================================================== */
100
99
  /* Main container */
101
100
  /* ========================================================================== */
@@ -147,11 +146,9 @@ html.sap-phone {
147
146
  /* ========================================================================== */
148
147
 
149
148
  html[dir=rtl] {
150
- &.sap-phone {
151
- .sapTntToolPageAsideCollapsed {
152
- .sapTntToolPageAside {
153
- transform: translateX(@_sap_tnt_ToolPage_AsideCollapsedPhoneTransformRtl);
154
- }
149
+ .sapTntToolPage-LayoutS .sapTntToolPageAsideCollapsed {
150
+ .sapTntToolPageAside {
151
+ transform: translateX(@_sap_tnt_ToolPage_AsideCollapsedLayoutSTransformRtl);
155
152
  }
156
153
  }
157
154
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 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 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6