@openui5/sap.ui.documentation 1.120.10 → 1.121.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 (103) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +7 -7
  4. package/src/sap/ui/documentation/.library +3 -9
  5. package/src/sap/ui/documentation/DemoAppsCardHeader.js +62 -0
  6. package/src/sap/ui/documentation/DemokitTreeItem.js +1 -0
  7. package/src/sap/ui/documentation/DemokitTreeItemRenderer.js +20 -13
  8. package/src/sap/ui/documentation/ParamText.js +2 -1
  9. package/src/sap/ui/documentation/library.js +23 -10
  10. package/src/sap/ui/documentation/messagebundle.properties +20 -20
  11. package/src/sap/ui/documentation/messagebundle_ar.properties +10 -10
  12. package/src/sap/ui/documentation/messagebundle_bg.properties +10 -10
  13. package/src/sap/ui/documentation/messagebundle_ca.properties +10 -10
  14. package/src/sap/ui/documentation/messagebundle_cnr.properties +10 -10
  15. package/src/sap/ui/documentation/messagebundle_cs.properties +10 -10
  16. package/src/sap/ui/documentation/messagebundle_cy.properties +10 -10
  17. package/src/sap/ui/documentation/messagebundle_da.properties +12 -12
  18. package/src/sap/ui/documentation/messagebundle_de.properties +16 -16
  19. package/src/sap/ui/documentation/messagebundle_el.properties +10 -10
  20. package/src/sap/ui/documentation/messagebundle_en.properties +398 -10
  21. package/src/sap/ui/documentation/messagebundle_en_GB.properties +10 -10
  22. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +2 -2
  23. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +10 -10
  24. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +2 -2
  25. package/src/sap/ui/documentation/messagebundle_es.properties +11 -11
  26. package/src/sap/ui/documentation/messagebundle_es_MX.properties +10 -10
  27. package/src/sap/ui/documentation/messagebundle_et.properties +10 -10
  28. package/src/sap/ui/documentation/messagebundle_fi.properties +10 -10
  29. package/src/sap/ui/documentation/messagebundle_fr.properties +10 -10
  30. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +10 -10
  31. package/src/sap/ui/documentation/messagebundle_hi.properties +10 -10
  32. package/src/sap/ui/documentation/messagebundle_hr.properties +11 -11
  33. package/src/sap/ui/documentation/messagebundle_hu.properties +10 -10
  34. package/src/sap/ui/documentation/messagebundle_id.properties +10 -10
  35. package/src/sap/ui/documentation/messagebundle_it.properties +11 -11
  36. package/src/sap/ui/documentation/messagebundle_iw.properties +10 -10
  37. package/src/sap/ui/documentation/messagebundle_ja.properties +10 -10
  38. package/src/sap/ui/documentation/messagebundle_kk.properties +10 -10
  39. package/src/sap/ui/documentation/messagebundle_ko.properties +11 -11
  40. package/src/sap/ui/documentation/messagebundle_lt.properties +10 -10
  41. package/src/sap/ui/documentation/messagebundle_lv.properties +10 -10
  42. package/src/sap/ui/documentation/messagebundle_mk.properties +15 -15
  43. package/src/sap/ui/documentation/messagebundle_ms.properties +10 -10
  44. package/src/sap/ui/documentation/messagebundle_nl.properties +10 -10
  45. package/src/sap/ui/documentation/messagebundle_no.properties +10 -10
  46. package/src/sap/ui/documentation/messagebundle_pl.properties +10 -10
  47. package/src/sap/ui/documentation/messagebundle_pt.properties +10 -10
  48. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +10 -10
  49. package/src/sap/ui/documentation/messagebundle_ro.properties +10 -10
  50. package/src/sap/ui/documentation/messagebundle_ru.properties +12 -12
  51. package/src/sap/ui/documentation/messagebundle_sh.properties +10 -10
  52. package/src/sap/ui/documentation/messagebundle_sk.properties +10 -10
  53. package/src/sap/ui/documentation/messagebundle_sl.properties +10 -10
  54. package/src/sap/ui/documentation/messagebundle_sr.properties +10 -10
  55. package/src/sap/ui/documentation/messagebundle_sv.properties +10 -10
  56. package/src/sap/ui/documentation/messagebundle_th.properties +10 -10
  57. package/src/sap/ui/documentation/messagebundle_tr.properties +10 -10
  58. package/src/sap/ui/documentation/messagebundle_uk.properties +10 -10
  59. package/src/sap/ui/documentation/messagebundle_vi.properties +10 -10
  60. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +10 -10
  61. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +10 -10
  62. package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +40 -30
  63. package/src/sap/ui/documentation/sdk/controller/App.controller.js +20 -12
  64. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +3 -3
  65. package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +208 -459
  66. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +9 -8
  67. package/src/sap/ui/documentation/sdk/controller/News.controller.js +3 -3
  68. package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +13 -12
  69. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +24 -18
  70. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +18 -1
  71. package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +3 -1
  72. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +2 -1
  73. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +3 -3
  74. package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +5 -3
  75. package/src/sap/ui/documentation/sdk/controller/util/URLUtil.js +16 -16
  76. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +8 -8
  77. package/src/sap/ui/documentation/sdk/images/DemoApps_intro_card.svg +8 -0
  78. package/src/sap/ui/documentation/sdk/index.js +1 -1
  79. package/src/sap/ui/documentation/sdk/model/formatter.js +323 -291
  80. package/src/sap/ui/documentation/sdk/model/libraryData.js +9 -26
  81. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +14905 -8737
  82. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +6 -3
  83. package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +1 -1
  84. package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +31 -28
  85. package/src/sap/ui/documentation/sdk/view/App.view.xml +5 -4
  86. package/src/sap/ui/documentation/sdk/view/DemoApps.view.xml +189 -141
  87. package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +34 -30
  88. package/src/sap/ui/documentation/sdk/view/Tools.view.xml +2 -2
  89. package/src/sap/ui/documentation/themes/base/DemoApps.less +180 -0
  90. package/src/sap/ui/documentation/themes/base/DemokitTreeItem.less +20 -0
  91. package/src/sap/ui/documentation/themes/base/Documentation.less +6 -8
  92. package/src/sap/ui/documentation/themes/base/Search.less +1 -1
  93. package/src/sap/ui/documentation/themes/base/library.source.less +3 -2
  94. package/src/sap/ui/documentation/themes/sap_horizon_hcb/DemoApps.less +11 -0
  95. package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +3 -1
  96. package/src/sap/ui/documentation/themes/sap_horizon_hcw/DemoApps.less +30 -0
  97. package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +3 -1
  98. package/LICENSES/BSD-2-Clause.txt +0 -22
  99. package/src/sap/ui/documentation/sdk/images/DemoApps_M_and_L_cropped.jpg +0 -0
  100. package/src/sap/ui/documentation/sdk/images/DemoApps_S_cropped.jpg +0 -0
  101. package/src/sap/ui/documentation/sdk/thirdparty/esprima.js +0 -3756
  102. package/src/sap/ui/documentation/sdk/view/BlockLayoutCell.fragment.xml +0 -56
  103. package/src/sap/ui/documentation/sdk/view/BlockLayoutTeaserCell.fragment.xml +0 -60
@@ -7,7 +7,8 @@
7
7
  xmlns:layout="sap.ui.layout"
8
8
  xmlns:custom="sap.ui.documentation"
9
9
  xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
10
- xmlns:html="http://www.w3.org/1999/xhtml">
10
+ xmlns:html="http://www.w3.org/1999/xhtml"
11
+ template:require="{formatter: 'sap/ui/documentation/sdk/model/formatter'}">
11
12
 
12
13
  <m:Page
13
14
  id="apiDetailPage"
@@ -126,8 +127,8 @@
126
127
  columnTitles="Returns,Description"
127
128
  class="sapUiDocumentation2ColumnsEqualTable">
128
129
  <custom:Row>
129
- <m:Text text="{path: 'data>/returnValue/type', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}" wrapping="false"/>
130
- <custom:JSDocText sanitizeContent="false" text="{path: 'data>/returnValue/description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
130
+ <m:Text text="{path: 'data>/returnValue/type', formatter: 'formatter.escapeSettingsValue'}" wrapping="false"/>
131
+ <custom:JSDocText sanitizeContent="false" text="{path: 'data>/returnValue/description', formatter: 'formatter.escapeSettingsValue'}"/>
131
132
  </custom:Row>
132
133
  </custom:LightTable>
133
134
  </template:if>
@@ -144,9 +145,9 @@
144
145
  </custom:Row>
145
146
  </custom:LightTable>
146
147
  </template:if>
147
- <template:if test="{data>/isFunction}">
148
+ <template:if test="{data>/examples}">
148
149
  <template:repeat list="{data>/examples}" var="example">
149
- <custom:JSDocText sanitizeContent="false" text="{path: 'example>data', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
150
+ <custom:JSDocText sanitizeContent="false" text="{path: 'example>data', formatter: '.formatter.escapeSettingsValue'}"/>
150
151
  </template:repeat>
151
152
  </template:if>
152
153
  </layout:VerticalLayout>
@@ -169,12 +170,15 @@
169
170
  <custom:Row>
170
171
  <custom:ParamText class="sapUiDocumentationParamBold sapUiDocumentationParamWrap" text="{name}" depth="{depth}" optional="{optional}" deprecated="{= ${deprecated} !== undefined }"/>
171
172
  <layout:VerticalLayout content="{path: 'types', templateShareable: false}" width="100%">
172
- <m:Link text="{path: 'value', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"
173
+ <m:Link text="{path: 'value', formatter: '.formatter.escapeSettingsValue'}"
173
174
  href="{href}"
174
175
  enabled="{= !!${linkEnabled} }"/>
175
176
  </layout:VerticalLayout>
176
177
  <layout:VerticalLayout>
177
178
  <custom:JSDocText sanitizeContent="false" text="{description}"/>
179
+ <layout:VerticalLayout content="{path: 'examples', templateShareable: false}" width="100%">
180
+ <custom:JSDocText sanitizeContent="false" text="{path: 'data', formatter: '.formatter.escapeSettingsValue'}"/>
181
+ </layout:VerticalLayout>
178
182
  <m:MessageStrip
179
183
  visible="{=${deprecated} !== undefined}"
180
184
  text="Deprecated as of version {deprecated/since}"
@@ -193,7 +197,7 @@
193
197
  enableFormattedText="true"
194
198
  class="sapUiTinyMarginBottom sapUiTinyMarginTop">
195
199
  </m:MessageStrip>
196
- <m:ObjectStatus text="Visibility: {parts : [{path : 'visibility'}, {path : 'allowedFor'}], formatter : 'sap.ui.documentation.sdk.model.formatter.formatVisibility'}"
200
+ <m:ObjectStatus text="Visibility: {parts : [{path : 'visibility'}, {path : 'allowedFor'}], formatter : '.formatter.formatVisibility'}"
197
201
  state="{= ${visibility} === 'public' ? 'Success' : 'Warning'}"/>
198
202
  <m:ObjectStatus visible="{=${since} !== undefined}" text="Since: {since}" />
199
203
  <m:FormattedText visible="{=${borrowedFrom} !== undefined}"
@@ -284,7 +288,7 @@
284
288
  <layout:VerticalLayout width="100%">
285
289
  <custom:JSDocText sanitizeContent="false" text="{description}"/>
286
290
  <layout:HorizontalLayout width="100%">
287
- <m:ObjectStatus text="Visibility: {parts : [{path : 'visibility'}, {path : 'allowedFor'}], formatter : 'sap.ui.documentation.sdk.model.formatter.formatVisibility'}"
291
+ <m:ObjectStatus text="Visibility: {parts : [{path : 'visibility'}, {path : 'allowedFor'}], formatter : '.formatter.formatVisibility'}"
288
292
  state="{= ${visibility} === 'public' ? 'Success' : 'Warning'}"/>
289
293
  <core:Icon
290
294
  src="sap-icon://sys-help-2"
@@ -295,7 +299,7 @@
295
299
  </layout:HorizontalLayout>
296
300
  <m:MessageStrip
297
301
  visible="{=${deprecatedText} !== undefined}"
298
- text="{path : 'deprecatedText', formatter: 'sap.ui.documentation.sdk.model.formatter.formatMessageStripLinks'}"
302
+ text="{path : 'deprecatedText', formatter: '.formatter.formatMessageStripLinks'}"
299
303
  type="Error"
300
304
  showIcon="true"
301
305
  showCloseButton="false"
@@ -348,7 +352,7 @@
348
352
  <custom:JSDocText sanitizeContent="false" text="{description}"/>
349
353
  <m:MessageStrip
350
354
  visible="{=${deprecatedText} !== undefined}"
351
- text="{path : 'deprecatedText', formatter: 'sap.ui.documentation.sdk.model.formatter.formatMessageStripLinks'}"
355
+ text="{path : 'deprecatedText', formatter: '.formatter.formatMessageStripLinks'}"
352
356
  type="Error"
353
357
  showIcon="true"
354
358
  showCloseButton="false"
@@ -457,7 +461,7 @@
457
461
  <custom:ParamText text="{event>name}"
458
462
  href="api/{data>/name}#events/{event>name}"
459
463
  deprecated="{= ${event>deprecated} !== undefined }"/>
460
- <custom:JSDocText sanitizeContent="false" text="{path: 'event>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
464
+ <custom:JSDocText sanitizeContent="false" text="{path: 'event>description', formatter: '.formatter.escapeSettingsValue'}"/>
461
465
  </custom:Row>
462
466
  </template:repeat>
463
467
  </custom:LightTable>
@@ -483,10 +487,10 @@
483
487
  <custom:blocks>
484
488
  <layout:VerticalLayout width="100%">
485
489
 
486
- <custom:JSDocText sanitizeContent="false" text="{path: 'event>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
490
+ <custom:JSDocText sanitizeContent="false" text="{path: 'event>description', formatter: '.formatter.escapeSettingsValue'}"/>
487
491
 
488
492
  <layout:HorizontalLayout width="100%">
489
- <m:ObjectStatus text="Visibility: {parts : [{path : 'event>visibility'}, {path : 'event>allowedFor'}], formatter : 'sap.ui.documentation.sdk.model.formatter.formatVisibility'}"
493
+ <m:ObjectStatus text="Visibility: {parts : [{path : 'event>visibility'}, {path : 'event>allowedFor'}], formatter : '.formatter.formatVisibility'}"
490
494
  state="{= ${event>visibility} === 'public' ? 'Success' : 'Warning'}" class="sapUiSmallMarginBottom"/>
491
495
  <core:Icon
492
496
  src="sap-icon://sys-help-2"
@@ -497,7 +501,7 @@
497
501
  </layout:HorizontalLayout>
498
502
  <template:if test="{=${event>deprecated} !== undefined}">
499
503
  <m:MessageStrip
500
- text="{path : 'event>deprecatedText', formatter: 'sap.ui.documentation.sdk.model.formatter.formatMessageStripLinks'}"
504
+ text="{path : 'event>deprecatedText', formatter: '.formatter.formatMessageStripLinks'}"
501
505
  type="Error"
502
506
  showIcon="true"
503
507
  showCloseButton="false"
@@ -523,10 +527,10 @@
523
527
  href="api/{parameter>type}"
524
528
  enabled="{= !!${parameter>linkEnabled} }"/>
525
529
  <layout:VerticalLayout>
526
- <custom:JSDocText sanitizeContent="false" text="{path: 'parameter>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
530
+ <custom:JSDocText sanitizeContent="false" text="{path: 'parameter>description', formatter: '.formatter.escapeSettingsValue'}"/>
527
531
  <m:MessageStrip
528
532
  visible="{=${parameter>deprecated} !== undefined}"
529
- text="{path : 'parameter>deprecatedText', formatter: 'sap.ui.documentation.sdk.model.formatter.formatMessageStripLinks'}"
533
+ text="{path : 'parameter>deprecatedText', formatter: '.formatter.formatMessageStripLinks'}"
530
534
  type="Error"
531
535
  showIcon="true"
532
536
  showCloseButton="false"
@@ -564,7 +568,7 @@
564
568
  href="{method>href}"
565
569
  deprecated="{= ${method>deprecated} !== undefined }"
566
570
  experimental="{= ${method>experimental} !== undefined }"/>
567
- <custom:JSDocText sanitizeContent="false" text="{path: 'method>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
571
+ <custom:JSDocText sanitizeContent="false" text="{path: 'method>description', formatter: '.formatter.escapeSettingsValue'}"/>
568
572
  </custom:Row>
569
573
  </template:repeat>
570
574
  </custom:LightTable>
@@ -593,17 +597,17 @@
593
597
 
594
598
  <layout:VerticalLayout width="100%">
595
599
 
596
- <custom:JSDocText sanitizeContent="false" text="{path: 'method>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
600
+ <custom:JSDocText sanitizeContent="false" text="{path: 'method>description', formatter: '.formatter.escapeSettingsValue'}"/>
597
601
 
598
602
  <layout:VerticalLayout visible="{= ${method>examples} !== undefined}" width="100%">
599
603
  <template:repeat list="{method>examples}" var="example">
600
- <custom:JSDocText sanitizeContent="false" text="{path: 'example>data', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
604
+ <custom:JSDocText sanitizeContent="false" text="{path: 'example>data', formatter: '.formatter.escapeSettingsValue'}"/>
601
605
  </template:repeat>
602
606
  </layout:VerticalLayout>
603
607
 
604
608
  <m:FlexBox class="sapUiTinyMarginBottom">
605
609
  <layout:HorizontalLayout width="100%">
606
- <m:ObjectStatus text="Visibility: {parts : [{path : 'method>visibility'}, {path : 'method>allowedFor'}], formatter : 'sap.ui.documentation.sdk.model.formatter.formatVisibility'}"
610
+ <m:ObjectStatus text="Visibility: {parts : [{path : 'method>visibility'}, {path : 'method>allowedFor'}], formatter : '.formatter.formatVisibility'}"
607
611
  state="{= ${method>visibility} === 'public' ? 'Success' : 'Warning'}"/>
608
612
  <core:Icon
609
613
  src="sap-icon://sys-help-2"
@@ -616,7 +620,7 @@
616
620
  </m:FlexBox>
617
621
  <template:if test="{=${method>deprecatedText} !== undefined}">
618
622
  <m:MessageStrip
619
- text="{ path: 'method>deprecatedText', formatter: 'sap.ui.documentation.sdk.model.formatter.formatMessageStripLinks' }"
623
+ text="{ path: 'method>deprecatedText', formatter: '.formatter.formatMessageStripLinks' }"
620
624
  type="Error"
621
625
  showIcon="true"
622
626
  showCloseButton="false"
@@ -635,7 +639,7 @@
635
639
  </m:MessageStrip>
636
640
  </template:if>
637
641
 
638
- <custom:JSDocText text="{path: 'method>code', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}" />
642
+ <custom:JSDocText text="{path: 'method>code', formatter: '.formatter.escapeSettingsValue'}" />
639
643
 
640
644
  <template:if test="{= !!${method>parameters} &amp;&amp; ${method>parameters}.length > 0}">
641
645
  <custom:LightTable
@@ -649,18 +653,18 @@
649
653
  <template:repeat list="{parameter>types}" var="type">
650
654
  <template:if test="{= !!${type>linkEnabled} }">
651
655
  <template:then>
652
- <m:Link text="{path: 'type>value', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"
656
+ <m:Link text="{path: 'type>value', formatter: '.formatter.escapeSettingsValue'}"
653
657
  href="{type>href}"
654
658
  enabled="true"/>
655
659
  </template:then>
656
660
  <template:else>
657
- <m:Link text="{path: 'type>value', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}" enabled="false"/>
661
+ <m:Link text="{path: 'type>value', formatter: '.formatter.escapeSettingsValue'}" enabled="false"/>
658
662
  </template:else>
659
663
  </template:if>
660
664
  </template:repeat>
661
665
  </layout:VerticalLayout>
662
666
  <m:Text text="{parameter>defaultValue}" wrapping="false"/>
663
- <custom:JSDocText sanitizeContent="false" text="{path: 'parameter>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
667
+ <custom:JSDocText sanitizeContent="false" text="{path: 'parameter>description', formatter: '.formatter.escapeSettingsValue'}"/>
664
668
  </custom:Row>
665
669
  </template:repeat>
666
670
  </custom:LightTable>
@@ -673,12 +677,12 @@
673
677
  <custom:Row>
674
678
  <layout:VerticalLayout class="sapUiDocumentationOrList" width="100%">
675
679
  <template:repeat list="{method>returnValue/types}" var="rtype">
676
- <m:Link text="{path: 'rtype>value', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"
680
+ <m:Link text="{path: 'rtype>value', formatter: '.formatter.escapeSettingsValue'}"
677
681
  href="{rtype>href}"
678
682
  enabled="{= !!${rtype>linkEnabled} }"/>
679
683
  </template:repeat>
680
684
  </layout:VerticalLayout>
681
- <custom:JSDocText sanitizeContent="false" text="{path: 'method>returnValue/description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
685
+ <custom:JSDocText sanitizeContent="false" text="{path: 'method>returnValue/description', formatter: '.formatter.escapeSettingsValue'}"/>
682
686
  </custom:Row>
683
687
  </custom:LightTable>
684
688
  </template:if>
@@ -693,7 +697,7 @@
693
697
  <m:Link text="{throws>type}"
694
698
  href="api/{throws>type}"
695
699
  enabled="{= !!${throws>linkEnabled} }"/>
696
- <custom:JSDocText sanitizeContent="false" text="{path: 'throws>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
700
+ <custom:JSDocText sanitizeContent="false" text="{path: 'throws>description', formatter: '.formatter.escapeSettingsValue'}"/>
697
701
  </custom:Row>
698
702
  </template:repeat>
699
703
  </custom:LightTable>
@@ -747,7 +751,7 @@
747
751
  <custom:Row>
748
752
  <m:Link text="{= ${annotation>annotation} !== 'undefined' ? ${annotation>annotation} : '(' + ${annotation>namespaceText} + ')' }"
749
753
  wrapping="false"/>
750
- <custom:JSDocText sanitizeContent="false" text="{path: 'annotation>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
754
+ <custom:JSDocText sanitizeContent="false" text="{path: 'annotation>description', formatter: '.formatter.escapeSettingsValue'}"/>
751
755
  </custom:Row>
752
756
  </template:repeat>
753
757
  </custom:LightTable>
@@ -759,7 +763,7 @@
759
763
  <custom:blocks>
760
764
  <layout:VerticalLayout width="100%">
761
765
 
762
- <custom:JSDocText sanitizeContent="false" text="{path: 'annotation>description', formatter: 'sap.ui.base.ManagedObject.escapeSettingsValue'}"/>
766
+ <custom:JSDocText sanitizeContent="false" text="{path: 'annotation>description', formatter: '.formatter.escapeSettingsValue'}"/>
763
767
 
764
768
  <custom:LightTable columnTitles="Namespace,Target Type,Applies To" columnCount="3">
765
769
  <custom:Row>
@@ -300,10 +300,10 @@
300
300
  target="_blank"
301
301
  href="{newWindowLinks>/iconExplorerHomeLink}"
302
302
  class="sapUiMediumMarginEnd"/>
303
- <Link text="{i18n>TOOLS_CARD_7_LINK_1}"
303
+ <!-- <Link text="{i18n>TOOLS_CARD_7_LINK_1}"
304
304
  target="_blank"
305
305
  href="test-resources/sap/m/demokit/iconExplorer/webapp/test/integration/opaTests1.qunit.html"
306
- class="sapUiMediumMarginEnd"/>
306
+ class="sapUiMediumMarginEnd"/> -->
307
307
  <Link text="{i18n>TOOLS_CARD_7_LINK_2}"
308
308
  target="_blank"
309
309
  href="test-resources/sap/m/demokit/iconExplorer/webapp/test/unit/unitTests.qunit.html"/>
@@ -0,0 +1,180 @@
1
+ @demoAppsCardTextColor: #fff;
2
+
3
+ @demoAppsMainHeaderCardBgColor: #07838F;
4
+ @demoAppsMainHeaderCardBgColorDark: #223548;
5
+
6
+ @demoAppsShowcaseCardHeaderBgColor: #14565b;
7
+ @demoAppsTutorialCardHeaderBgColor: #07838e;
8
+ @demoAppsRTACardHeaderBgColor: #5b738b;
9
+ @demoAppsMiscCardHeaderBgColor: #223548;
10
+
11
+ .sapUiDemokit {
12
+
13
+ .sapUiDemoKitDemoAppsPage {
14
+
15
+ // Utilities
16
+ .sapUiDemoKitDemoAppsLayoutPaddingBeginEnd {
17
+ padding: 0 2rem;
18
+ }
19
+
20
+ .sapUiDemoKitDemoAppsLayoutPaddingBottom {
21
+ padding-bottom: 3rem;
22
+ }
23
+
24
+ .sapUiDemoKitDemoAppsCardContentPadding {
25
+ padding: 1rem;
26
+ }
27
+
28
+ .sapFCard.sapUiDemoKitDemoAppsMainHeaderCard {
29
+ background: url("../../sdk/images/DemoApps_intro_card.svg") no-repeat center center,
30
+ linear-gradient(to right, @demoAppsMainHeaderCardBgColor, @demoAppsMainHeaderCardBgColorDark);
31
+ background-size: cover;
32
+ background-clip: content-box;
33
+
34
+ .sapFCardHeader {
35
+ background-color: unset;
36
+
37
+ .sapFCardHeaderText {
38
+
39
+ .sapFCardHeaderTextFirstLine,
40
+ .sapFCardHeaderTextSecondLine {
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ .sapFCardHeaderTextFirstLine {
45
+ padding: .5rem 1rem 0 1rem;
46
+ }
47
+
48
+ .sapFCardHeaderTextSecondLine {
49
+ // Force the text content to go to the second line
50
+ max-width: 37.5rem; // 600px
51
+ padding: .5rem 1rem;
52
+ }
53
+
54
+ .sapFCardTitle,
55
+ .sapFCardSubtitle {
56
+ color: @demoAppsCardTextColor;
57
+ }
58
+
59
+ .sapFCardTitle {
60
+ font-size: @sapMFontLargeSize * 2;
61
+ }
62
+
63
+ .sapFCardSubtitle {
64
+ font-size: @sapMFontLargeSize;
65
+ }
66
+ }
67
+ }
68
+
69
+ .sapFCardContent {
70
+ padding: 1rem 2rem;
71
+ }
72
+ }
73
+
74
+ .sapFCard.sapUiDemoKitDemoAppsAsideCard {
75
+ .sapFCardHeader {
76
+ padding: 1.5rem;
77
+
78
+ .sapFCardHeaderText .sapFCardTitle {
79
+ font-size: @sapMFontHeader4Size;
80
+ }
81
+ }
82
+
83
+ .sapFCardContent {
84
+ padding-bottom: 0.5rem;
85
+
86
+ .sapUiDemoKitDemoAppsDownloadListContentPadding {
87
+ .sapMListItems .sapMLIB {
88
+ padding: 1.5rem;
89
+ }
90
+ }
91
+ }
92
+ }
93
+
94
+ .sapFCard.sapUiDemoKitDemoAppsCommonCard {
95
+ .sapFCardHeader {
96
+ .sapFCardHeaderText .sapMLnk.sapUiDemoKitDemoAppsCardHeaderLink {
97
+ font-size: @sapMFontLargeSize;
98
+ font-weight: bold;
99
+ color: @demoAppsCardTextColor;
100
+ // Ensure the link is not stretched to the full width of its container
101
+ align-self: flex-start;
102
+
103
+ &:visited {
104
+ color: @demoAppsCardTextColor;
105
+ }
106
+ }
107
+
108
+ .sapFCardHeaderImage .sapFCardIcon.sapFAvatar .sapUiIcon {
109
+ color: @demoAppsCardTextColor;
110
+ }
111
+ }
112
+ }
113
+
114
+ .sapUiDemoKitDemoAppsCategoryShowcase .sapFCard {
115
+ .sapFCardHeader {
116
+ background-color: @demoAppsShowcaseCardHeaderBgColor;
117
+ }
118
+ }
119
+
120
+ .sapUiDemoKitDemoAppsCategoryTutorial .sapFCard {
121
+ .sapFCardHeader {
122
+ background-color: @demoAppsTutorialCardHeaderBgColor;
123
+ }
124
+ }
125
+
126
+ .sapUiDemoKitDemoAppsCategoryRTA .sapFCard {
127
+ .sapFCardHeader {
128
+ background-color: @demoAppsRTACardHeaderBgColor;
129
+ }
130
+ }
131
+
132
+ .sapUiDemoKitDemoAppsCategoryMisc .sapFCard {
133
+ .sapFCardHeader {
134
+ background-color: @demoAppsMiscCardHeaderBgColor;
135
+ }
136
+ }
137
+
138
+ .sapUiDemoKitDemoAppsCategoryTitle {
139
+ justify-self: start;
140
+ }
141
+
142
+ // Align the font size of the download list items with the overall font size of the page
143
+ // Also changing the white space to normal allows the text to wrap
144
+ .sapUiDemoKitDemoAppsAsideContent .sapMILILabel {
145
+ font-size: @sapMFontLargeSize;
146
+ white-space: normal;
147
+ }
148
+
149
+ // Layout specific styles
150
+ .sapUiDemoKitDemoAppsAsideContent {
151
+ margin-top: 2.7rem; // 43px
152
+ margin-bottom: 0;
153
+
154
+ .sapUiDemoKitDemoAppsAsideContentMobile {
155
+ display: none;
156
+ }
157
+ }
158
+
159
+ @media screen and (max-width: 63.9375em) {
160
+ .sapUiDemoKitDemoAppsAsideContent {
161
+ order: -1;
162
+ margin-top: 0;
163
+ margin-bottom: 2rem;
164
+
165
+ .sapUiDemoKitDemoAppsAsideContentDesktop {
166
+ display: none;
167
+ }
168
+
169
+ .sapUiDemoKitDemoAppsAsideContentMobile {
170
+ display: initial;
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+
177
+ // Content density specific styles
178
+ .sapUiSizeCompact .sapUiDemokit .sapUiDemoKitDemoAppsPage .sapUiDemoKitDemoAppsAsideContent .sapMILILabel {
179
+ font-size: @sapMFontMediumSize;
180
+ }
@@ -27,4 +27,24 @@
27
27
 
28
28
  .sapUiTheme-sap_belize_hcb .sapDemokitTreeItemLabel {
29
29
  color: #fff;
30
+ }
31
+
32
+ .sap-desktop:not(.sap-combi) .sapUiSizeCompact {
33
+ .sapUiDemoKitApiMasterPage.sapMPage.sapMPageWithHeader.sapMPageWithSubHeader > section {
34
+ top: 6.1rem;
35
+ }
36
+ }
37
+
38
+ .sap-tablet {
39
+ .sapUiDemoKitApiMasterPage.sapMPage.sapMPageWithHeader.sapMPageWithSubHeader > section {
40
+ top: 8.4rem;
41
+ }
42
+ }
43
+
44
+ @media screen and (max-width: 22.625em) { // 362px
45
+ .sap-phone {
46
+ .sapUiDemoKitApiMasterPage.sapMPage.sapMPageWithHeader.sapMPageWithSubHeader > section {
47
+ top: 8.4rem;
48
+ }
49
+ }
30
50
  }
@@ -941,14 +941,12 @@ html.sapUiMedia-Std-Tablet {
941
941
 
942
942
  // Adjust the style of the version switch button to match the design specifiaction
943
943
  .sapUiDemoKitHeaderActionsVersionSwitch .sapMBtnInner {
944
- display: flex;
945
- align-items: center;
946
-
947
944
  &:after {
948
945
  content: "\e287";
949
946
  font-family: "SAP-icons";
947
+ position: relative;
948
+ top: 0.5rem;
950
949
  margin-left: 0.5rem;
951
- margin-right: 0.25rem;
952
950
  }
953
951
  }
954
952
  }
@@ -992,7 +990,7 @@ html.sapUiMedia-Std-Tablet {
992
990
  }
993
991
  }
994
992
 
995
- .sapMBtn.sapMBarChild.sapUiDemoKitHeaderActionsNewsButton {
993
+ .sapMBtn.sapMBarChild[class*="sapUiDemoKitHeaderActions"] {
996
994
  .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
997
995
  position: absolute;
998
996
  top: -0.3125rem;
@@ -1000,8 +998,8 @@ html.sapUiMedia-Std-Tablet {
1000
998
  }
1001
999
  }
1002
1000
 
1003
- .sapUiSizeCompact .sapUiDemokit .sapUiDemokitMainHeader {
1004
- .sapMBtn.sapMBarChild.sapUiDemoKitHeaderActionsNewsButton {
1001
+ .sapUiSizeCompact .sapUiDemokit .sapUiDemokitMainHeader {
1002
+ .sapMBtn.sapMBarChild[class*="sapUiDemoKitHeaderActions"] {
1005
1003
  .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
1006
1004
  top: -0.1875rem;
1007
1005
  }
@@ -1009,7 +1007,7 @@ html.sapUiMedia-Std-Tablet {
1009
1007
  }
1010
1008
 
1011
1009
  .sapUiSizeCozy .sapUiDemokit .sapUiDemokitMainHeader {
1012
- .sapMBtn.sapMBarChild.sapUiDemoKitHeaderActionsNewsButton {
1010
+ .sapMBtn.sapMBarChild[class*="sapUiDemoKitHeaderActions"] {
1013
1011
  .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
1014
1012
  top: -0.125rem;
1015
1013
  }
@@ -14,6 +14,6 @@
14
14
  }
15
15
 
16
16
  .sapUiDemokitSearchOpeningButton {
17
- margin-right: -0.35rem;
17
+ margin-right: -0.1rem;
18
18
  }
19
19
  }
@@ -10,11 +10,12 @@
10
10
  @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.theme.css");
11
11
  @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.button.css");
12
12
 
13
-
14
13
  @import "DataTableFilterDropDown.less";
15
14
  @import "Documentation.less";
16
15
  @import "DemokitTreeItem.less";
17
16
  @import "LightTable.less";
18
17
  @import "ObjectPageSubSection.less";
19
18
  @import "Search.less";
20
- @import "TitleLink.less";
19
+ @import "TitleLink.less";
20
+
21
+ @import "./DemoApps.less";
@@ -0,0 +1,11 @@
1
+ .sapUiDemokit .sapUiDemoKitDemoAppsPage {
2
+ .sapFCard.sapUiDemoKitDemoAppsMainHeaderCard {
3
+ background: @sapUiTileBackground;
4
+ }
5
+
6
+ .sapFCard.sapUiDemoKitDemoAppsCommonCard {
7
+ .sapFCardHeader {
8
+ background-color: @sapUiTileBackground;
9
+ }
10
+ }
11
+ }
@@ -6,4 +6,6 @@
6
6
 
7
7
  @import "../base/library.source.less";
8
8
  @import "../../../../../sap/ui/core/themes/sap_horizon_hcb/base.less";
9
- @import "../../../../../sap/ui/core/themes/sap_horizon_hcb/global.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_horizon_hcb/global.less";
10
+
11
+ @import "./DemoApps.less";
@@ -0,0 +1,30 @@
1
+ .sapUiDemokit .sapUiDemoKitDemoAppsPage {
2
+ .sapFCard.sapUiDemoKitDemoAppsMainHeaderCard {
3
+ background: @sapUiTileBackground;
4
+
5
+ .sapFCardHeader .sapFCardHeaderText {
6
+ .sapFCardTitle,
7
+ .sapFCardSubtitle {
8
+ color: @sapUiTileTextColor;
9
+ }
10
+ }
11
+ }
12
+
13
+ .sapFCard.sapUiDemoKitDemoAppsCommonCard {
14
+ .sapFCardHeader {
15
+ background-color: @sapUiTileBackground;
16
+
17
+ .sapFCardHeaderText .sapMLnk.sapUiDemoKitDemoAppsCardHeaderLink {
18
+ color: @sapUiTileTextColor;
19
+
20
+ &:visited {
21
+ color: @sapUiTileTextColor;
22
+ }
23
+ }
24
+
25
+ .sapFCardHeaderImage .sapFCardIcon.sapFAvatar .sapUiIcon {
26
+ color: @sapUiTileTextColor;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -6,4 +6,6 @@
6
6
 
7
7
  @import "../base/library.source.less";
8
8
  @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/base.less";
9
- @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/global.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_horizon_hcw/global.less";
10
+
11
+ @import "./DemoApps.less";
@@ -1,22 +0,0 @@
1
- Copyright (c) <year> <owner>. All rights reserved.
2
-
3
- Redistribution and use in source and binary forms, with or without modification,
4
- are permitted provided that the following conditions are met:
5
-
6
- 1. Redistributions of source code must retain the above copyright notice,
7
- this list of conditions and the following disclaimer.
8
-
9
- 2. Redistributions in binary form must reproduce the above copyright notice,
10
- this list of conditions and the following disclaimer in the documentation
11
- and/or other materials provided with the distribution.
12
-
13
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
17
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
22
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.