@openui5/sap.tnt 1.93.3 → 1.96.1

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
@@ -309,7 +309,7 @@ License: MIT
309
309
  Comment: these files belong to: lodash
310
310
 
311
311
  Files: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
312
- Copyright: 2018 Mathias Nater
312
+ Copyright: 2021 Mathias Nater
313
313
  License: MIT
314
314
  Comment: these files belong to: Hyphenopoly
315
315
 
@@ -347,11 +347,6 @@ Copyright: 2013 Ariya Hidayat and other contributors
347
347
  License: BSD-2-Clause
348
348
  Comment: these files belong to: Esprima
349
349
 
350
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
351
- Copyright: 2006 Google Inc.
352
- License: Apache-2.0
353
- Comment: these files belong to: google-code-prettify
354
-
355
350
  Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
356
351
  Copyright: 2006-2020, Ivan Sagalaev
357
352
  License: BSD-3-Clause
@@ -405,6 +400,11 @@ Copyright: 2014 Vitaly Puzrin, Alex Kocharin
405
400
  License: MIT
406
401
  Comment: these files belong to: Markdown-it
407
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
+
408
408
 
409
409
  # Library: sap.ui.mdc:
410
410
 
@@ -452,11 +452,6 @@ Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
452
452
  License: Apache-2.0
453
453
  Comment: these files belong to: LESS
454
454
 
455
- Files: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
456
- Copyright: 2015-2017 Evgeny Poberezkin
457
- License: MIT
458
- Comment: these files belong to: ajv
459
-
460
455
  Files: lib/jsdoc/ui5/plugin.js
461
456
  Copyright:
462
457
  2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
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.4
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
@@ -279,8 +279,8 @@ License: MIT
279
279
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
280
280
  Contained in: src/sap.ui.core/src/sap/ui/base/util/restricted/_/lodash.custom.js
281
281
 
282
- Component: Hyphenopoly, version: 2.4.0
283
- Copyright: 2018 Mathias Nater
282
+ Component: Hyphenopoly, version: 3.4.0
283
+ Copyright: 2021 Mathias Nater
284
284
  License: MIT
285
285
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
286
286
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
@@ -324,12 +324,6 @@ License: BSD-2-Clause
324
324
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
325
325
  Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
326
326
 
327
- Component: google-code-prettify, version: 20130304
328
- Copyright: 2006 Google Inc.
329
- License: Apache-2.0
330
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
331
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
332
-
333
327
  Component: highlight.js, version: 10.4.1
334
328
  Copyright: 2006-2020, Ivan Sagalaev
335
329
  License: BSD-3-Clause
@@ -376,7 +370,7 @@ License: Unicode-DFS-2015
376
370
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
377
371
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt
378
372
 
379
- Component: Adaptive Cards, version: 1.2.3
373
+ Component: Adaptive Cards, version: 2.9.0
380
374
  Copyright: 2017 Microsoft
381
375
  License: MIT
382
376
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -395,6 +389,12 @@ License: MIT
395
389
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
396
390
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
397
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
+
398
398
 
399
399
  Library: sap.ui.mdc:
400
400
 
@@ -450,12 +450,6 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
452
452
 
453
- Component: ajv, version: 6.12.3
454
- Copyright: 2015-2017 Evgeny Poberezkin
455
- License: MIT
456
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
457
- Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
458
-
459
453
  Component: JSDoc 3, version: 3.6.7
460
454
  Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
461
455
  License: Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.tnt",
3
- "version": "1.93.3",
3
+ "version": "1.96.1",
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.93.3",
18
- "@openui5/sap.ui.core": "1.93.3"
17
+ "@openui5/sap.m": "1.96.1",
18
+ "@openui5/sap.ui.core": "1.96.1"
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.93.3</version>
9
+ <version>1.96.1</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.93.3
50
+ * @version 1.96.1
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.93.3
44
+ * @version 1.96.1
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.93.3
35
+ * @version 1.96.1
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
  }
@@ -949,7 +949,7 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
949
949
  itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
950
950
  selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
951
951
  itemText = navList.getExpanded() ? this.getText() : "",
952
- text = accType + " " + itemPosition + " " + selected + " " + itemText;
952
+ text = accType + " " + selected + " " + itemText + " " + itemPosition;
953
953
 
954
954
  invisibleText.setText(text);
955
955
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.93.3
43
+ * @version 1.96.1
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -48,11 +48,10 @@ sap.ui.define([
48
48
  * Only the following controls are supported:
49
49
  <div>
50
50
  <table>
51
-
52
51
  <tr>
53
- <th style="text-align: left;">Control name</th>
54
- <th style="text-align: left;">Supported</th>
55
- <th style="text-align: left;">Not supported</th>
52
+ <th>Control name</th>
53
+ <th>Supported</th>
54
+ <th>Not supported</th>
56
55
  </tr>
57
56
  <tr>
58
57
  <td>sap.m.Text</td>
@@ -121,7 +120,7 @@ sap.ui.define([
121
120
  * @implements sap.tnt.IToolHeader
122
121
  *
123
122
  * @author SAP SE
124
- * @version 1.93.3
123
+ * @version 1.96.1
125
124
  *
126
125
  * @constructor
127
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.93.3
27
+ * @version 1.96.1
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.93.3
39
+ * @version 1.96.1
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.93.3
20
+ * @version 1.96.1
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.93.3",
28
+ version: "1.96.1",
29
29
  dependencies : ["sap.ui.core", "sap.m"],
30
30
  designtime: "sap/tnt/designtime/library.designtime",
31
31
  types: [
@@ -3,29 +3,29 @@
3
3
  /* Base theme */
4
4
  /* ================================= */
5
5
 
6
- @_sap_tnt_InfoLabel_Margin: 0.9375rem;
7
- @_sap_tnt_InfoLabel_NoTextPadding: 0.5625rem;
8
- @_sap_tnt_InfoLabel_NoTextDisplayOnlyPadding: 0.5rem;
9
- @_sap_tnt_InfoLabel_LineHeight: 1rem;
6
+ @_sap_tnt_InfoLabel_NarrowPadding: 0 0.1875rem;
7
+ @_sap_tnt_InfoLabel_LineHeight: normal;
10
8
  @_sap_tnt_InfoLabel_LineHeightDisplayOnly: 1rem;
11
- @_sap_tnt_InfoLabel_NarrowPadding: 0 0.3125rem;
9
+ @_sap_tnt_InfoLabel_HeightWithoutBorders: 0.875rem;
10
+ @_sap_tnt_InfoLabel_PaddingWhenEmpty: 0 @_sap_tnt_InfoLabel_HeightWithoutBorders/2;
12
11
 
13
12
  /* ==========================================================================
14
13
  Root element
15
14
  ========================================================================== */
16
15
  .sapTntInfoLabel {
17
16
  box-sizing: border-box;
18
- padding: 0 0.625rem;
17
+ padding: 0 0.3125rem;
19
18
  text-align: center;
20
- border-radius: 1.125rem;
21
- height: 1.125rem;
19
+ border-radius: 0.5rem;
20
+ height: 1rem;
22
21
  display: inline-block;
23
22
  max-width: 100%;
23
+ line-height: @_sap_tnt_InfoLabel_LineHeight;
24
24
 
25
25
  .sapTntInfoLabelInner {
26
- font-size: @sapMFontSmallSize;
26
+ font-size: @sapFontSmallSize;
27
+ font-weight: bold;
27
28
  vertical-align: top;
28
- line-height: @_sap_tnt_InfoLabel_LineHeight;
29
29
  letter-spacing: 0.0125rem;
30
30
  text-transform: uppercase;
31
31
  display: inline-block;
@@ -36,7 +36,7 @@
36
36
  }
37
37
  }
38
38
 
39
- .sapTntInfoLabelRenderModeNarrow{
39
+ .sapTntInfoLabelRenderModeNarrow { // Recommended for numeric labels (Numeric Mode)
40
40
  padding: @_sap_tnt_InfoLabel_NarrowPadding
41
41
  }
42
42
 
@@ -44,9 +44,11 @@
44
44
  InfoLabel Display Only
45
45
  ========================================================================== */
46
46
  .sapTntInfoLabel.sapTntInfoLabelDisplayOnly {
47
- height: 1rem;
47
+ border: none;
48
+ background: @sapTextColor;
48
49
 
49
50
  .sapTntInfoLabelInner {
51
+ color: @sapContent_ContrastTextColor;
50
52
  line-height: @_sap_tnt_InfoLabel_LineHeightDisplayOnly;
51
53
  }
52
54
  }
@@ -55,11 +57,7 @@
55
57
  InfoLabel No Text
56
58
  ========================================================================== */
57
59
  .sapTntInfoLabel.sapTntInfoLabelNoText {
58
- padding: 0 @_sap_tnt_InfoLabel_NoTextPadding;
59
-
60
- &.sapTntInfoLabelDisplayOnly{
61
- padding: 0 @_sap_tnt_InfoLabel_NoTextDisplayOnlyPadding;
62
- }
60
+ padding: 0 0.1875rem;
63
61
  }
64
62
 
65
63
  /* ==========================================================================
@@ -67,50 +65,59 @@
67
65
  ========================================================================== */
68
66
 
69
67
  .sapTntInfoLabel.sapTntInfoLabelWithIcon {
70
- padding: @_sap_tnt_InfoLabel_NarrowPadding;
71
68
 
72
69
  .sapTntInfoLabelInner .sapTntInfoLabelText {
73
70
  vertical-align: top;
74
71
  }
75
72
 
76
73
  .sapUiIcon {
77
- padding-right: 0.1875rem;
78
- line-height: @_sap_tnt_InfoLabel_LineHeight;
74
+ padding-right: 0.125rem;
75
+ line-height: @_sap_tnt_InfoLabel_HeightWithoutBorders;
76
+ vertical-align: top;
79
77
  }
80
78
 
81
79
  &.sapTntInfoLabelNoText {
82
80
  padding: @_sap_tnt_InfoLabel_NarrowPadding;
83
81
 
84
82
  .sapUiIcon {
85
- padding-right: 0;
83
+ padding-right: 0;
84
+ }
85
+ }
86
+
87
+ &.sapTntInfoLabelDisplayOnly {
88
+ .sapUiIcon {
89
+ line-height: @_sap_tnt_InfoLabel_LineHeightDisplayOnly;
86
90
  }
87
91
  }
88
92
  }
89
93
 
90
94
  /* ==========================================================================
91
- InfoLabel in Form
95
+ Empty InfoLabel
92
96
  ========================================================================== */
93
97
 
94
- .sapUiFormM:not(.sapUiFormEdit) .sapUiFormResGridCont > div .sapTntInfoLabel {
95
- font-size: 1rem;
96
- }
98
+ // It is recommended for the empty InfoLabel to be circle
99
+ .sapTntInfoLabel.sapTntInfoLabelNoText:not(.sapTntInfoLabelWithIcon) {
100
+ &:not(.sapTntInfoLabelDisplayOnly) {
101
+ padding: @_sap_tnt_InfoLabel_PaddingWhenEmpty;
102
+ }
103
+ &.sapTntInfoLabelDisplayOnly {
104
+ padding: 0 @_sap_tnt_InfoLabel_LineHeightDisplayOnly/2;
105
+ }
106
+ };
97
107
 
98
- .sapUiFormM:not(.sapUiFormEdit) .sapUiFormResGridCont > div .sapTntInfoLabel.sapTntInfoLabelWithIcon .sapUiIcon {
99
- font-size: @sapMFontSmallSize;
100
- }
108
+ /* ==========================================================================
109
+ InfoLabel in Form
110
+ ========================================================================== */
101
111
 
102
112
  .sapUiFormEdit .sapTntInfoLabel:not(.sapTntInfoLabelDisplayOnly) {
103
- margin: @_sap_tnt_InfoLabel_Margin 0;
113
+ margin-top: 0.875rem;
104
114
  }
105
115
 
106
116
  /* Compact size */
107
117
  .sapUiSizeCompact .sapUiFormEdit .sapTntInfoLabel:not(.sapTntInfoLabelDisplayOnly) {
108
- margin: 0.4375rem 0;
118
+ margin-top: 0.5rem;
109
119
  }
110
120
 
111
- .sapUiFormResGridCont .sapTntInfoLabel.sapTntInfoLabelWithIcon.sapTntInfoLabelDisplayOnly .sapUiIcon {
112
- line-height: 0.875rem;
113
- }
114
121
 
115
122
  /* ==========================================================================
116
123
  InfoLabel in Table
@@ -54,7 +54,7 @@
54
54
  .sapTntToolHeader .sapFAvatar {
55
55
  background-color: @_sap_tnt_ToolHeader_AvatarBackground;
56
56
  .sapFAvatarInitialsHolder,
57
- .sapUiIcon {
57
+ .sapUiIcon.sapFAvatarTypeIcon {
58
58
  color: @_sap_tnt_ToolHeader_AvatarColor;
59
59
  }
60
60
  }
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