@openui5/sap.ui.documentation 1.123.1 → 1.124.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.
Files changed (70) hide show
  1. package/package.json +7 -7
  2. package/src/sap/ui/documentation/.library +1 -1
  3. package/src/sap/ui/documentation/library.js +3 -4
  4. package/src/sap/ui/documentation/messagebundle.properties +3 -1
  5. package/src/sap/ui/documentation/messagebundle_ar.properties +2 -1
  6. package/src/sap/ui/documentation/messagebundle_bg.properties +2 -1
  7. package/src/sap/ui/documentation/messagebundle_ca.properties +2 -1
  8. package/src/sap/ui/documentation/messagebundle_cnr.properties +2 -1
  9. package/src/sap/ui/documentation/messagebundle_cs.properties +3 -2
  10. package/src/sap/ui/documentation/messagebundle_cy.properties +2 -1
  11. package/src/sap/ui/documentation/messagebundle_da.properties +2 -1
  12. package/src/sap/ui/documentation/messagebundle_de.properties +13 -12
  13. package/src/sap/ui/documentation/messagebundle_el.properties +2 -1
  14. package/src/sap/ui/documentation/messagebundle_en.properties +2 -1
  15. package/src/sap/ui/documentation/messagebundle_en_GB.properties +2 -1
  16. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +62 -41
  17. package/src/sap/ui/documentation/messagebundle_es.properties +2 -1
  18. package/src/sap/ui/documentation/messagebundle_es_MX.properties +2 -1
  19. package/src/sap/ui/documentation/messagebundle_et.properties +2 -1
  20. package/src/sap/ui/documentation/messagebundle_fi.properties +2 -1
  21. package/src/sap/ui/documentation/messagebundle_fr.properties +2 -1
  22. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +2 -1
  23. package/src/sap/ui/documentation/messagebundle_hi.properties +2 -1
  24. package/src/sap/ui/documentation/messagebundle_hr.properties +2 -1
  25. package/src/sap/ui/documentation/messagebundle_hu.properties +2 -1
  26. package/src/sap/ui/documentation/messagebundle_id.properties +2 -1
  27. package/src/sap/ui/documentation/messagebundle_it.properties +2 -1
  28. package/src/sap/ui/documentation/messagebundle_iw.properties +2 -1
  29. package/src/sap/ui/documentation/messagebundle_ja.properties +2 -1
  30. package/src/sap/ui/documentation/messagebundle_kk.properties +2 -1
  31. package/src/sap/ui/documentation/messagebundle_ko.properties +15 -14
  32. package/src/sap/ui/documentation/messagebundle_lt.properties +2 -1
  33. package/src/sap/ui/documentation/messagebundle_lv.properties +2 -1
  34. package/src/sap/ui/documentation/messagebundle_mk.properties +15 -14
  35. package/src/sap/ui/documentation/messagebundle_ms.properties +2 -1
  36. package/src/sap/ui/documentation/messagebundle_nl.properties +2 -1
  37. package/src/sap/ui/documentation/messagebundle_no.properties +2 -1
  38. package/src/sap/ui/documentation/messagebundle_pl.properties +2 -1
  39. package/src/sap/ui/documentation/messagebundle_pt.properties +2 -1
  40. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +2 -1
  41. package/src/sap/ui/documentation/messagebundle_ro.properties +2 -1
  42. package/src/sap/ui/documentation/messagebundle_ru.properties +2 -1
  43. package/src/sap/ui/documentation/messagebundle_sh.properties +70 -69
  44. package/src/sap/ui/documentation/messagebundle_sk.properties +2 -1
  45. package/src/sap/ui/documentation/messagebundle_sl.properties +2 -1
  46. package/src/sap/ui/documentation/messagebundle_sr.properties +2 -1
  47. package/src/sap/ui/documentation/messagebundle_sv.properties +2 -1
  48. package/src/sap/ui/documentation/messagebundle_th.properties +2 -1
  49. package/src/sap/ui/documentation/messagebundle_tr.properties +2 -1
  50. package/src/sap/ui/documentation/messagebundle_uk.properties +2 -1
  51. package/src/sap/ui/documentation/messagebundle_vi.properties +2 -1
  52. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +2 -1
  53. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +2 -1
  54. package/src/sap/ui/documentation/sdk/controller/App.controller.js +2 -2
  55. package/src/sap/ui/documentation/sdk/controller/MasterTreeBaseController.js +21 -16
  56. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +1 -4
  57. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +1 -1
  58. package/src/sap/ui/documentation/sdk/controller/util/ResourcesInfo.js +1 -1
  59. package/src/sap/ui/documentation/sdk/index.js +1 -1
  60. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
  61. package/src/sap/ui/documentation/sdk/util/Resources.js +1 -1
  62. package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +1 -1
  63. package/src/sap/ui/documentation/sdk/view/DemoApps.view.xml +7 -13
  64. package/src/sap/ui/documentation/sdk/view/Resources.view.xml +72 -144
  65. package/src/sap/ui/documentation/sdk/view/TopicMaster.view.xml +1 -1
  66. package/src/sap/ui/documentation/themes/base/DemoApps.less +29 -53
  67. package/src/sap/ui/documentation/themes/base/Resources.less +10 -1
  68. package/src/sap/ui/documentation/themes/sap_horizon_hcb/DemoApps.less +6 -7
  69. package/src/sap/ui/documentation/themes/sap_horizon_hcw/DemoApps.less +5 -5
  70. package/src/sap/ui/documentation/DemoKitCardHeader.js +0 -70
@@ -20,16 +20,26 @@
20
20
  .sapUiDemoKitDemoAppsPage {
21
21
 
22
22
  // Utilities
23
- .sapUiDemoKitDemoAppsContentPadding {
24
- padding: 1rem;
23
+ .sapUiDemoKitDemoAppsLayoutSpacing {
24
+ padding: 0 2rem 3rem 2rem;
25
25
  }
26
26
 
27
- .sapUiDemoKitDemoAppsPaddingBeginEnd {
28
- padding: 0 2rem;
27
+ .sapUiDemoKitDemoAppsIntroCardSpacing {
28
+ margin: 2rem 2rem 3rem 2rem;
29
29
  }
30
30
 
31
- .sapUiDemoKitDemoAppsPaddingBottom {
32
- padding-bottom: 3rem;
31
+ .sapUiDemoKitDemoAppsCardContentSpacing {
32
+ padding: 1rem 1rem .5rem 1rem;
33
+ row-gap: .5rem;
34
+ }
35
+
36
+ .sapUiDemoKitDemoAppsCardLink {
37
+ &:before {
38
+ content: "\e05a";
39
+ font-family: "SAP-icons";
40
+ vertical-align: bottom;
41
+ margin-right: .25rem;
42
+ }
33
43
  }
34
44
 
35
45
  // Intro Card
@@ -87,37 +97,11 @@
87
97
  }
88
98
 
89
99
  .sapUiDemoKitDemoAppsRegularCard.sapFCard {
90
- .sapUiDemoKitCardHeader.sapFCardHeader {
91
- transition: background-color 0.2s ease;
92
- text-decoration: none;
93
-
94
- &:hover {
95
- .sapFCardHeaderText {
96
- .sapFCardTitle {
97
- ::after {
98
- visibility: visible;
99
- opacity: 1;
100
- }
101
- }
102
- }
103
- }
104
-
100
+ .sapFCardHeader {
105
101
  .sapFCardHeaderText {
106
102
  .sapFCardTitle {
107
103
  font-size: @sapMFontLargeSize;
108
104
  color: @demoAppsCardHeaderTextColor;
109
- cursor: pointer;
110
-
111
- ::after {
112
- font-family: SAP-icons;
113
- font-size: .8rem;
114
- content: "\e05a";
115
- vertical-align: middle;
116
- visibility: hidden;
117
- opacity: 0;
118
- transition: all 200ms ease;
119
- margin-left: .5rem;
120
- }
121
105
  }
122
106
  }
123
107
 
@@ -129,48 +113,32 @@
129
113
 
130
114
  .sapUiDemoKitDemoAppsCategoryShowcase {
131
115
  .sapUiDemoKitDemoAppsRegularCard.sapFCard {
132
- .sapUiDemoKitCardHeader.sapFCardHeader {
116
+ .sapFCardHeader {
133
117
  background-color: @demoAppsShowcaseCardHeaderBgColor;
134
-
135
- &:hover {
136
- background-color: lighten(@demoAppsShowcaseCardHeaderBgColor, 5%);
137
- }
138
118
  }
139
119
  }
140
120
  }
141
121
 
142
122
  .sapUiDemoKitDemoAppsCategoryTutorial {
143
123
  .sapUiDemoKitDemoAppsRegularCard.sapFCard {
144
- .sapUiDemoKitCardHeader.sapFCardHeader {
124
+ .sapFCardHeader {
145
125
  background-color: @demoAppsTutorialCardHeaderBgColor;
146
-
147
- &:hover {
148
- background-color: lighten(@demoAppsTutorialCardHeaderBgColor, 5%);
149
- }
150
126
  }
151
127
  }
152
128
  }
153
129
 
154
130
  .sapUiDemoKitDemoAppsCategoryRTA {
155
131
  .sapUiDemoKitDemoAppsRegularCard.sapFCard {
156
- .sapUiDemoKitCardHeader.sapFCardHeader {
132
+ .sapFCardHeader {
157
133
  background-color: @demoAppsRTACardHeaderBgColor;
158
-
159
- &:hover {
160
- background-color: lighten(@demoAppsRTACardHeaderBgColor, 5%);
161
- }
162
134
  }
163
135
  }
164
136
  }
165
137
 
166
138
  .sapUiDemoKitDemoAppsCategoryMisc {
167
139
  .sapUiDemoKitDemoAppsRegularCard.sapFCard {
168
- .sapUiDemoKitCardHeader.sapFCardHeader {
140
+ .sapFCardHeader {
169
141
  background-color: @demoAppsMiscCardHeaderBgColor;
170
-
171
- &:hover {
172
- background-color: lighten(@demoAppsMiscCardHeaderBgColor, 5%);
173
- }
174
142
  }
175
143
  }
176
144
  }
@@ -220,6 +188,14 @@
220
188
  }
221
189
 
222
190
  @media screen and (max-width: 63.9375em) {
191
+ .sapUiDemoKitDemoAppsLayoutSpacing {
192
+ padding: 0 1rem 2rem 1rem;
193
+ }
194
+
195
+ .sapUiDemoKitDemoAppsIntroCardSpacing {
196
+ margin: 1rem 1rem 2rem 1rem;
197
+ }
198
+
223
199
  .sapUiDemoKitDemoAppsAside {
224
200
  order: -1;
225
201
  margin-top: 0;
@@ -31,6 +31,15 @@
31
31
  row-gap: .5rem;
32
32
  }
33
33
 
34
+ .sapUiDemoKitResourcesCardLink {
35
+ &:before {
36
+ content: "\e05a";
37
+ font-family: "SAP-icons";
38
+ vertical-align: bottom;
39
+ margin-right: .25rem;
40
+ }
41
+ }
42
+
34
43
  // Intro Card
35
44
  .sapUiDemoKitResourcesIntroCard.sapFCard {
36
45
  background: url("../../sdk/images/intro_card_stripe.svg") no-repeat center center,
@@ -156,7 +165,7 @@
156
165
 
157
166
  @media screen and (max-width: 63.9375em) {
158
167
  .sapUiDemoKitResourcesLayoutSpacing {
159
- padding: 0 1rem 1rem 1rem;
168
+ padding: 0 1rem 2rem 1rem;
160
169
  }
161
170
 
162
171
  .sapUiDemoKitResourcesIntroCardSpacing {
@@ -4,14 +4,13 @@
4
4
  }
5
5
 
6
6
  .sapUiDemoKitDemoAppsMain {
7
- [class*="sapUiDemoKitDemoAppsCategory"]
8
- .sapUiDemoKitDemoAppsRegularCard.sapFCard {
9
- .sapUiDemoKitCardHeader.sapFCardHeader {
10
- background-color: @sapUiTileBackground;
7
+ .sapUiDemoKitDemoAppsCardContentSpacing {
8
+ padding: 1rem;
9
+ }
11
10
 
12
- &:hover {
13
- background-color: @sapActiveColor;
14
- }
11
+ [class*="sapUiDemoKitDemoAppsCategory"] .sapUiDemoKitDemoAppsRegularCard.sapFCard {
12
+ .sapFCardHeader {
13
+ background-color: @sapUiTileBackground;
15
14
 
16
15
  .sapFAvatar:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover {
17
16
  background-color: unset;
@@ -12,14 +12,14 @@
12
12
  }
13
13
 
14
14
  .sapUiDemoKitDemoAppsMain {
15
+ .sapUiDemoKitDemoAppsCardContentSpacing {
16
+ padding: 1rem;
17
+ }
18
+
15
19
  [class*="sapUiDemoKitDemoAppsCategory"] .sapUiDemoKitDemoAppsRegularCard.sapFCard {
16
- .sapUiDemoKitCardHeader.sapFCardHeader {
20
+ .sapFCardHeader {
17
21
  background-color: @sapUiTileBackground;
18
22
 
19
- &:hover {
20
- background-color: @sapActiveColor;
21
- }
22
-
23
23
  .sapFCardHeaderText {
24
24
 
25
25
  .sapFCardTitle,
@@ -1,70 +0,0 @@
1
- /*!
2
- * OpenUI5
3
- * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
4
- * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
- */
6
-
7
- sap.ui.define([
8
- "sap/base/Log",
9
- "sap/f/cards/Header"
10
- ], function (Log, Header) {
11
- "use strict";
12
-
13
- var DemoKitCardHeader = Header.extend("sap.ui.documentation.DemoKitCardHeader", {
14
- metadata: {
15
- properties: {
16
- href: { type: "sap.ui.core.URI", defaultValue: null }
17
- }
18
- },
19
- renderer: {
20
- apiVersion: 2
21
- }
22
- });
23
-
24
- DemoKitCardHeader.prototype.onAfterRendering = function () {
25
- if (Header.prototype.onAfterRendering) {
26
- Header.prototype.onAfterRendering.call(this);
27
- }
28
-
29
- var sHref = this.getHref(),
30
- oParent = this.getParent(),
31
- cardHeader;
32
-
33
- if (!oParent || !oParent.getDomRef) {
34
- Log.warning("Demo Kit: parent or parent's dom reference not found");
35
- return;
36
- }
37
-
38
- cardHeader = oParent.getDomRef().querySelector(".sapFCardHeader");
39
-
40
- if (!sHref || !cardHeader) {
41
- Log.warning("Demo Kit: href or card header not found. Href: " + sHref + ", card header: " + cardHeader);
42
- return;
43
- }
44
-
45
- var anchor = document.createElement("a");
46
- anchor.href = sHref;
47
- anchor.target = "_blank";
48
- anchor.rel = "noopener noreferrer";
49
- anchor.addEventListener("click", function (oEvent) {
50
- oEvent.stopPropagation();
51
- });
52
-
53
- try {
54
- for (var attr of cardHeader.attributes) {
55
- anchor.setAttribute(attr.name, attr.value);
56
- }
57
-
58
- anchor.classList.add("sapUiDemoKitCardHeader");
59
- while (cardHeader.hasChildNodes()) {
60
- anchor.appendChild(cardHeader.firstChild);
61
- }
62
-
63
- cardHeader.parentNode.replaceChild(anchor, cardHeader);
64
- } catch (error) {
65
- Log.error("Demo Kit: Error while setting the href to the card header", error);
66
- }
67
- };
68
-
69
- return DemoKitCardHeader;
70
- });