@openui5/sap.tnt 1.124.2 → 1.126.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.
- package/.reuse/dep5 +9 -4
- package/THIRDPARTY.txt +13 -6
- package/package.json +3 -3
- package/src/sap/tnt/.library +1 -1
- package/src/sap/tnt/IllustratedMessageType.js +3 -1
- package/src/sap/tnt/InfoLabel.js +1 -1
- package/src/sap/tnt/NavigationList.js +1 -1
- package/src/sap/tnt/NavigationListGroup.js +1 -1
- package/src/sap/tnt/NavigationListItem.js +1 -1
- package/src/sap/tnt/NavigationListItemBase.js +1 -1
- package/src/sap/tnt/NavigationListMenuItem.js +1 -1
- 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 +6 -3
- package/src/sap/tnt/themes/base/NavigationList.less +1 -1
- package/src/sap/tnt/themes/base/fonts/SAP-icons-TNT.json +4 -1
- package/src/sap/tnt/themes/base/fonts/SAP-icons-TNT.woff2 +0 -0
- package/src/sap/tnt/themes/base/fonts/horizon/SAP-icons-TNT.woff2 +0 -0
- package/src/sap/tnt/themes/sap_hcb/base_InfoLabel.less +152 -0
- package/src/sap/tnt/themes/sap_hcb/base_NavigationList.less +732 -0
- package/src/sap/tnt/themes/sap_hcb/base_SideNavigation.less +123 -0
- package/src/sap/tnt/themes/sap_hcb/base_ToolHeader.less +93 -0
- package/src/sap/tnt/themes/sap_hcb/base_ToolPage.less +194 -0
- package/src/sap/tnt/themes/sap_hcb/library.source.less +17 -1
package/.reuse/dep5
CHANGED
|
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
|
|
|
50
50
|
License: Apache-2.0
|
|
51
51
|
Comment: these files belong to: purify.js
|
|
52
52
|
|
|
53
|
+
Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
54
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
55
|
+
License: MIT
|
|
56
|
+
Comment: these files belong to: QUnit Composite 2.0.0
|
|
57
|
+
|
|
53
58
|
|
|
54
59
|
# Library: sap.ui.codeeditor:
|
|
55
60
|
|
|
@@ -379,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
|
|
|
379
384
|
License: MIT
|
|
380
385
|
Comment: these files belong to: Elasticlunr
|
|
381
386
|
|
|
382
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
383
|
-
Copyright:
|
|
387
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
388
|
+
Copyright: SpryMedia Ltd
|
|
384
389
|
License: MIT
|
|
385
390
|
Comment: these files belong to: DataTables
|
|
386
391
|
|
|
387
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
388
|
-
Copyright:
|
|
392
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
393
|
+
Copyright: SpryMedia Ltd
|
|
389
394
|
License: MIT
|
|
390
395
|
Comment: these files belong to: Buttons extension for DataTables
|
|
391
396
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -12,6 +12,13 @@ License: Apache-2.0
|
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
13
|
Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
14
14
|
|
|
15
|
+
Component: QUnit Composite 2.0.0, version: 2.0.0
|
|
16
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
17
|
+
License: MIT
|
|
18
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
19
|
+
Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
|
|
20
|
+
src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
21
|
+
|
|
15
22
|
|
|
16
23
|
Library: sap.ui.codeeditor:
|
|
17
24
|
|
|
@@ -356,17 +363,17 @@ License: MIT
|
|
|
356
363
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
357
364
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
|
|
358
365
|
|
|
359
|
-
Component: DataTables, version:
|
|
360
|
-
Copyright:
|
|
366
|
+
Component: DataTables, version: 2.0.1
|
|
367
|
+
Copyright: SpryMedia Ltd
|
|
361
368
|
License: MIT
|
|
362
369
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
363
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
370
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
364
371
|
|
|
365
|
-
Component: Buttons extension for DataTables, version:
|
|
366
|
-
Copyright:
|
|
372
|
+
Component: Buttons extension for DataTables, version: 3.0.0
|
|
373
|
+
Copyright: SpryMedia Ltd
|
|
367
374
|
License: MIT
|
|
368
375
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
369
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
376
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
370
377
|
|
|
371
378
|
|
|
372
379
|
Library: sap.ui.integration:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.tnt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.126.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.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.m": "1.126.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.126.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/src/sap/tnt/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.126.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with responsive controls.</documentation>
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([], function () {
|
|
7
|
+
sap.ui.define(["sap/ui/base/DataType"], function (DataType) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -288,6 +288,8 @@ sap.ui.define([], function () {
|
|
|
288
288
|
User2: "tnt-User2"
|
|
289
289
|
};
|
|
290
290
|
|
|
291
|
+
DataType.registerEnum("sap.tnt.IllustratedMessageType", IllustratedMessageType);
|
|
292
|
+
|
|
291
293
|
return IllustratedMessageType;
|
|
292
294
|
});
|
|
293
295
|
|
package/src/sap/tnt/InfoLabel.js
CHANGED
package/src/sap/tnt/ToolPage.js
CHANGED
package/src/sap/tnt/library.js
CHANGED
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
* Initialization Code and shared classes of library sap.tnt.
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
|
+
"./IllustratedMessageType",
|
|
11
12
|
"sap/ui/base/DataType",
|
|
12
13
|
"sap/ui/core/Lib",
|
|
13
14
|
"sap/ui/core/library",
|
|
14
15
|
"sap/m/library"],
|
|
15
|
-
function(DataType, Library) {
|
|
16
|
+
function(IllustratedMessageType, DataType, Library) {
|
|
16
17
|
"use strict";
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -21,14 +22,14 @@ sap.ui.define([
|
|
|
21
22
|
* @namespace
|
|
22
23
|
* @alias sap.tnt
|
|
23
24
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
25
|
+
* @version 1.126.0
|
|
25
26
|
* @since 1.36
|
|
26
27
|
* @public
|
|
27
28
|
*/
|
|
28
29
|
var thisLib = Library.init({
|
|
29
30
|
apiVersion: 2,
|
|
30
31
|
name : "sap.tnt",
|
|
31
|
-
version: "1.
|
|
32
|
+
version: "1.126.0",
|
|
32
33
|
dependencies : ["sap.ui.core", "sap.m"],
|
|
33
34
|
designtime: "sap/tnt/designtime/library.designtime",
|
|
34
35
|
types: [
|
|
@@ -59,6 +60,8 @@ sap.ui.define([
|
|
|
59
60
|
}
|
|
60
61
|
});
|
|
61
62
|
|
|
63
|
+
thisLib.IllustratedMessageType = IllustratedMessageType;
|
|
64
|
+
|
|
62
65
|
/**
|
|
63
66
|
* Predefined types of <code>InfoLabel</code>
|
|
64
67
|
*
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
@_sap_tnt_NavigationList_SelectedAndFocusedBorderStyleColor: @_sap_tnt_NavigationList_SelectedBorderStyleColor;
|
|
32
32
|
@_sap_tnt_NavigationList_Collapsed_SelectedItemBorderStyleColor: solid @_sap_tnt_NavigationList_SelectedItemBorderColor;
|
|
33
33
|
@_sap_tnt_NavigationList_Collapsed_SelectedGroupBorderColor: @_sap_tnt_NavigationList_SelectedItemBorderColor;
|
|
34
|
-
@_sap_tnt_NavigationList_Collapsed_GroupBorderWidth:
|
|
34
|
+
@_sap_tnt_NavigationList_Collapsed_GroupBorderWidth: 0;
|
|
35
35
|
@_sap_tnt_NavigationList_GroupExpandedBorderWidth: @_sap_tnt_NavigationList_GroupBorderWidth;
|
|
36
36
|
@_sap_tnt_NavigationList_GroupIconWidth: @_sap_tnt_NavigationList_CollapsedWidth;
|
|
37
37
|
@_sap_tnt_NavigationList_GroupTextWeight: unset;
|
|
@@ -264,6 +264,9 @@
|
|
|
264
264
|
"ai-2": "0xe10C",
|
|
265
265
|
"bound-validation-rule": "0xe10D",
|
|
266
266
|
"fiori-application": "0xe10E",
|
|
267
|
-
"build-code": "0xe10F"
|
|
267
|
+
"build-code": "0xe10F",
|
|
268
|
+
"business-application-studio": "0xe110",
|
|
269
|
+
"clone-from-git": "0xe111",
|
|
270
|
+
"business-accelerator": "0xe112"
|
|
268
271
|
}
|
|
269
272
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/* ================================= */
|
|
2
|
+
/* CSS for control sap.tnt/InfoLabel */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ================================= */
|
|
5
|
+
|
|
6
|
+
@_sap_tnt_InfoLabel_NarrowPadding: 0 0.1875rem;
|
|
7
|
+
@_sap_tnt_InfoLabel_LineHeight: normal;
|
|
8
|
+
@_sap_tnt_InfoLabel_LineHeightDisplayOnly: 1rem;
|
|
9
|
+
@_sap_tnt_InfoLabel_Height: 1rem;
|
|
10
|
+
@_sap_tnt_InfoLabel_HeightWithoutBorders: 0.875rem;
|
|
11
|
+
@_sap_tnt_InfoLabel_FontFamily: @sapUiFontFamily;
|
|
12
|
+
@_sap_tnt_InfoLabel_FontSize: @sapMFontSmallSize;
|
|
13
|
+
@_sap_tnt_InfoLabel_DisplayFontSize: @_sap_tnt_InfoLabel_FontSize;
|
|
14
|
+
@_sap_tnt_InfoLabel_DisplayFontSizeIcon: @_sap_tnt_InfoLabel_FontSize;
|
|
15
|
+
@_sap_tnt_InfoLabel_Padding: 0 0.3125rem;
|
|
16
|
+
@_sap_tnt_InfoLabel_DisplayPadding: @_sap_tnt_InfoLabel_Padding;
|
|
17
|
+
@_sap_tnt_InfoLabel_IconMargin: 0.125rem;
|
|
18
|
+
@_sap_tnt_InfoLabel_DisplayIconMargin: 0.1875rem;
|
|
19
|
+
@_sap_tnt_InfoLabel_PaddingWhenEmpty: 0 @_sap_tnt_InfoLabel_HeightWithoutBorders/2;
|
|
20
|
+
@_sap_tnt_InfoLabel_DisplayModeBorder: none;
|
|
21
|
+
@_sap_tnt_InfoLabel_DisplayModeBackground: @sapUiBaseText;
|
|
22
|
+
@_sap_tnt_InfoLabel_DisplayModeColor: @sapUiContentContrastTextColor;
|
|
23
|
+
@_sap_tnt_InfoLabel_BorderRadius: 0.5rem;
|
|
24
|
+
@_sap_tnt_InfoLabel_DisplayBorderRadius: @_sap_tnt_InfoLabel_BorderRadius;
|
|
25
|
+
@_sap_tnt_InfoLabel_Text: uppercase;
|
|
26
|
+
@_sap_tnt_InfoLabel_LetterSpacing: 0.0125rem;
|
|
27
|
+
|
|
28
|
+
/* ==========================================================================
|
|
29
|
+
Root element
|
|
30
|
+
========================================================================== */
|
|
31
|
+
.sapTntInfoLabel {
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
padding: @_sap_tnt_InfoLabel_Padding;
|
|
34
|
+
text-align: center;
|
|
35
|
+
border-radius: @_sap_tnt_InfoLabel_BorderRadius;
|
|
36
|
+
height: @_sap_tnt_InfoLabel_Height;
|
|
37
|
+
display: inline-block;
|
|
38
|
+
max-width: 100%;
|
|
39
|
+
line-height: @_sap_tnt_InfoLabel_LineHeight;
|
|
40
|
+
|
|
41
|
+
.sapTntInfoLabelInner {
|
|
42
|
+
font-size: @_sap_tnt_InfoLabel_FontSize;
|
|
43
|
+
font-weight: bold;
|
|
44
|
+
font-family: @_sap_tnt_InfoLabel_FontFamily;
|
|
45
|
+
vertical-align: top;
|
|
46
|
+
letter-spacing: @_sap_tnt_InfoLabel_LetterSpacing;
|
|
47
|
+
text-transform: @_sap_tnt_InfoLabel_Text;
|
|
48
|
+
display: inline-block;
|
|
49
|
+
text-overflow: ellipsis;
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
max-width: 100%;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.sapTntInfoLabelRenderModeNarrow { // Recommended for numeric labels (Numeric Mode)
|
|
57
|
+
padding: @_sap_tnt_InfoLabel_NarrowPadding
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* ==========================================================================
|
|
61
|
+
InfoLabel Display Only
|
|
62
|
+
========================================================================== */
|
|
63
|
+
.sapTntInfoLabel.sapTntInfoLabelDisplayOnly {
|
|
64
|
+
border: @_sap_tnt_InfoLabel_DisplayModeBorder;
|
|
65
|
+
background: @_sap_tnt_InfoLabel_DisplayModeBackground;
|
|
66
|
+
height: 1rem;
|
|
67
|
+
border-radius: @_sap_tnt_InfoLabel_DisplayBorderRadius;
|
|
68
|
+
padding: @_sap_tnt_InfoLabel_DisplayPadding;
|
|
69
|
+
|
|
70
|
+
.sapTntInfoLabelInner {
|
|
71
|
+
color: @_sap_tnt_InfoLabel_DisplayModeColor;
|
|
72
|
+
line-height: @_sap_tnt_InfoLabel_LineHeightDisplayOnly;
|
|
73
|
+
font-size: @_sap_tnt_InfoLabel_DisplayFontSize;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* ==========================================================================
|
|
78
|
+
InfoLabel No Text
|
|
79
|
+
========================================================================== */
|
|
80
|
+
.sapTntInfoLabel.sapTntInfoLabelNoText {
|
|
81
|
+
padding: 0 0.1875rem;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* ==========================================================================
|
|
85
|
+
InfoLabel With Icon
|
|
86
|
+
========================================================================== */
|
|
87
|
+
|
|
88
|
+
.sapTntInfoLabel.sapTntInfoLabelWithIcon {
|
|
89
|
+
|
|
90
|
+
.sapTntInfoLabelInner .sapTntInfoLabelText {
|
|
91
|
+
vertical-align: top;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.sapUiIcon {
|
|
95
|
+
padding-right: @_sap_tnt_InfoLabel_IconMargin;
|
|
96
|
+
line-height: @_sap_tnt_InfoLabel_HeightWithoutBorders;
|
|
97
|
+
vertical-align: top;
|
|
98
|
+
font-size: @_sap_tnt_InfoLabel_FontSize;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.sapTntInfoLabelNoText {
|
|
102
|
+
padding: @_sap_tnt_InfoLabel_NarrowPadding;
|
|
103
|
+
|
|
104
|
+
.sapTntInfoLabelInner .sapUiIcon {
|
|
105
|
+
padding-right: 0 !important;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.sapTntInfoLabelDisplayOnly .sapTntInfoLabelInner {
|
|
110
|
+
.sapUiIcon:not(.sapMBtnIcon) { // needs this to override Form styles
|
|
111
|
+
line-height: @_sap_tnt_InfoLabel_LineHeightDisplayOnly;
|
|
112
|
+
padding-right: @_sap_tnt_InfoLabel_DisplayIconMargin;
|
|
113
|
+
font-size: @_sap_tnt_InfoLabel_DisplayFontSizeIcon;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* ==========================================================================
|
|
119
|
+
Empty InfoLabel
|
|
120
|
+
========================================================================== */
|
|
121
|
+
|
|
122
|
+
// It is recommended for the empty InfoLabel to be circle
|
|
123
|
+
.sapTntInfoLabel.sapTntInfoLabelNoText:not(.sapTntInfoLabelWithIcon) {
|
|
124
|
+
&:not(.sapTntInfoLabelDisplayOnly) {
|
|
125
|
+
padding: @_sap_tnt_InfoLabel_PaddingWhenEmpty;
|
|
126
|
+
}
|
|
127
|
+
&.sapTntInfoLabelDisplayOnly {
|
|
128
|
+
padding: 0 @_sap_tnt_InfoLabel_LineHeightDisplayOnly/2;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/* ==========================================================================
|
|
133
|
+
InfoLabel in Form
|
|
134
|
+
========================================================================== */
|
|
135
|
+
|
|
136
|
+
.sapUiFormEdit .sapTntInfoLabel:not(.sapTntInfoLabelDisplayOnly) {
|
|
137
|
+
margin-top: 0.875rem;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* Compact size */
|
|
141
|
+
.sapUiSizeCompact .sapUiFormEdit .sapTntInfoLabel:not(.sapTntInfoLabelDisplayOnly) {
|
|
142
|
+
margin-top: 0.5rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
/* ==========================================================================
|
|
147
|
+
InfoLabel in Table
|
|
148
|
+
========================================================================== */
|
|
149
|
+
|
|
150
|
+
.sapMListTbl .sapTntInfoLabel.sapTntInfoLabelWithIcon .sapUiIcon:not(.sapMLIBImgNav):not(.sapMBtnIcon) {
|
|
151
|
+
font-size: @sapMFontSmallSize;
|
|
152
|
+
}
|