@openui5/sap.ui.documentation 1.151.0 → 1.152.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 (66) hide show
  1. package/THIRDPARTY.txt +5 -5
  2. package/package.json +7 -7
  3. package/src/sap/ui/documentation/.library +1 -1
  4. package/src/sap/ui/documentation/library.js +2 -2
  5. package/src/sap/ui/documentation/messagebundle.properties +6 -0
  6. package/src/sap/ui/documentation/messagebundle_ar.properties +3 -0
  7. package/src/sap/ui/documentation/messagebundle_bg.properties +3 -0
  8. package/src/sap/ui/documentation/messagebundle_ca.properties +3 -0
  9. package/src/sap/ui/documentation/messagebundle_cnr.properties +3 -0
  10. package/src/sap/ui/documentation/messagebundle_cs.properties +3 -0
  11. package/src/sap/ui/documentation/messagebundle_cy.properties +3 -0
  12. package/src/sap/ui/documentation/messagebundle_da.properties +3 -0
  13. package/src/sap/ui/documentation/messagebundle_de.properties +3 -0
  14. package/src/sap/ui/documentation/messagebundle_el.properties +3 -0
  15. package/src/sap/ui/documentation/messagebundle_en.properties +3 -0
  16. package/src/sap/ui/documentation/messagebundle_en_GB.properties +3 -0
  17. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +3 -0
  18. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +3 -0
  19. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +3 -0
  20. package/src/sap/ui/documentation/messagebundle_es.properties +3 -0
  21. package/src/sap/ui/documentation/messagebundle_es_MX.properties +3 -0
  22. package/src/sap/ui/documentation/messagebundle_et.properties +3 -0
  23. package/src/sap/ui/documentation/messagebundle_fi.properties +3 -0
  24. package/src/sap/ui/documentation/messagebundle_fr.properties +3 -0
  25. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +3 -0
  26. package/src/sap/ui/documentation/messagebundle_hi.properties +3 -0
  27. package/src/sap/ui/documentation/messagebundle_hr.properties +3 -0
  28. package/src/sap/ui/documentation/messagebundle_hu.properties +3 -0
  29. package/src/sap/ui/documentation/messagebundle_id.properties +3 -0
  30. package/src/sap/ui/documentation/messagebundle_it.properties +3 -0
  31. package/src/sap/ui/documentation/messagebundle_iw.properties +3 -0
  32. package/src/sap/ui/documentation/messagebundle_ja.properties +3 -0
  33. package/src/sap/ui/documentation/messagebundle_kk.properties +3 -0
  34. package/src/sap/ui/documentation/messagebundle_ko.properties +3 -0
  35. package/src/sap/ui/documentation/messagebundle_lt.properties +3 -0
  36. package/src/sap/ui/documentation/messagebundle_lv.properties +3 -0
  37. package/src/sap/ui/documentation/messagebundle_mk.properties +3 -0
  38. package/src/sap/ui/documentation/messagebundle_ms.properties +3 -0
  39. package/src/sap/ui/documentation/messagebundle_nl.properties +3 -0
  40. package/src/sap/ui/documentation/messagebundle_no.properties +3 -0
  41. package/src/sap/ui/documentation/messagebundle_pl.properties +3 -0
  42. package/src/sap/ui/documentation/messagebundle_pt.properties +3 -0
  43. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +3 -0
  44. package/src/sap/ui/documentation/messagebundle_ro.properties +3 -0
  45. package/src/sap/ui/documentation/messagebundle_ru.properties +3 -0
  46. package/src/sap/ui/documentation/messagebundle_sh.properties +3 -0
  47. package/src/sap/ui/documentation/messagebundle_sk.properties +3 -0
  48. package/src/sap/ui/documentation/messagebundle_sl.properties +3 -0
  49. package/src/sap/ui/documentation/messagebundle_sr.properties +3 -0
  50. package/src/sap/ui/documentation/messagebundle_sv.properties +3 -0
  51. package/src/sap/ui/documentation/messagebundle_th.properties +3 -0
  52. package/src/sap/ui/documentation/messagebundle_tr.properties +3 -0
  53. package/src/sap/ui/documentation/messagebundle_uk.properties +3 -0
  54. package/src/sap/ui/documentation/messagebundle_vi.properties +3 -0
  55. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +3 -0
  56. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +3 -0
  57. package/src/sap/ui/documentation/sdk/controller/App.controller.js +332 -342
  58. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +5 -1
  59. package/src/sap/ui/documentation/sdk/controller/Welcome.controller.js +1 -1
  60. package/src/sap/ui/documentation/sdk/controller/util/SearchRenderer.js +167 -0
  61. package/src/sap/ui/documentation/sdk/controller/util/UsageTracker.js +27 -14
  62. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
  63. package/src/sap/ui/documentation/sdk/view/App.view.xml +202 -192
  64. package/src/sap/ui/documentation/themes/base/Documentation.less +26 -141
  65. package/src/sap/ui/documentation/themes/sap_belize_base/Documentation.less +0 -140
  66. package/src/sap/ui/documentation/sdk/view/GlobalSearchPicker.fragment.xml +0 -73
@@ -856,146 +856,6 @@ html.sapUiMedia-Std-Tablet {
856
856
  .sapTntToolPageAside {
857
857
  margin: 0;
858
858
  }
859
-
860
- .sapUiDemokitMainHeader {
861
- &.sapTntToolHeader.sapMTB {
862
- padding: 0 0.75rem;
863
- }
864
-
865
- .sapUiDemokitMainHeaderGrid {
866
- align-items: center;
867
- }
868
-
869
- .sapUiDemoKitHeaderOTB {
870
- justify-content: end;
871
- }
872
-
873
- &.sapTntToolHeader .sapMBarChild.sapMMenuBtn .sapMBtn:focus .sapMBtnDefault.sapMFocusable::before {
874
- outline: @sapContent_FocusStyle @sapContent_FocusWidth @sapContent_FocusColor;
875
- border: none !important;
876
- }
877
-
878
- // Apply more polished box-shadow effect
879
- .sapUiDocumentationSearch {
880
- .sapMSF .sapMSFF:hover,
881
- .sapMSFVal.sapMFocus .sapMSFF {
882
- box-shadow:
883
- 0 0 0.1875rem 0 rgba(85, 107, 130, 0.1),
884
- 0 0.1875rem 0.3125rem 0 rgba(85, 107, 130, 0.3);
885
- }
886
- }
887
-
888
- // Apply some spacing between the logo and the search field
889
- .sapUiDemokitMainHeaderLogo {
890
- display: block;
891
- margin-left: 1rem;
892
-
893
- @media screen and (max-width: 37.4375em) { // 599px
894
- margin-right: 1rem;
895
- }
896
- }
897
-
898
- // Align the styles of the MenuButton with the styles of other buttons
899
- .sapMIBar .sapMMenuBtn {
900
- .sapMBtn:not(.sapMSBArrow) .sapMBtnInner {
901
- align-items: center;
902
- top: -0.1875rem;
903
- height: 2rem;
904
- padding-right: 0.125rem;
905
-
906
- &:after {
907
- content: none;
908
- }
909
- }
910
-
911
- .sapMBtn:not(.sapMBtnDisabled):hover .sapMBtnInner:not(.sapMBtnActive) {
912
- box-shadow: none;
913
- }
914
-
915
- .sapMBtn .sapMBtnInner.sapMBtnDefault .sapUiIcon {
916
- color: @sapContent_IconColor;
917
- }
918
-
919
- &.sapMMenuBtnRegular .sapMBtnInner::after {
920
- color: @sapContent_IconColor;
921
- height: 2rem;
922
- line-height: 2rem;
923
- }
924
-
925
- // Button states
926
- &:focus .sapMBtnDefault.sapMFocusable {
927
- &::before {
928
- outline: @sapContent_FocusStyle @sapContent_FocusWidth @sapContent_FocusColor;
929
- border: none !important;
930
- }
931
- }
932
-
933
- &:hover:not(.sapMBtnDisabled) .sapMBtnDefault {
934
- background: @sapButton_Lite_Hover_Background;
935
- }
936
-
937
- &:active:not(.sapMBtnDisabled) .sapMBtnDefault {
938
- background: @sapActiveColor;
939
- }
940
- }
941
-
942
- // Adjust the style of the version switch button to match the design specifiaction
943
- .sapUiDemoKitHeaderActionsVersionSwitch .sapMBtnInner {
944
- &:after {
945
- content: "\e287";
946
- font-family: "SAP-icons";
947
- position: relative;
948
- top: 0.5rem;
949
- margin-left: 0.5rem;
950
- }
951
- }
952
- }
953
- }
954
-
955
- // Align the icons of the menu buttons in overflow popover
956
- .sapMOTAPopover.sapMPopover .sapMPopoverCont .sapMPopoverScroll {
957
- .sapUiDemoKitHeaderActionsVersionSwitch {
958
- .sapMBtnInner.sapMBtnTransparent.sapMBtnHoverable {
959
- background-color: @sapUiButtonBackground;
960
- border: 0.0625rem solid @sapUiButtonBorderColor;
961
- color: @sapUiButtonTextColor;
962
-
963
- bdi,
964
- .sapMBtnIcon {
965
- color: @sapUiButtonTextColor;
966
- }
967
-
968
- &:hover:not(.sapMBtnActive) {
969
- background-color: @sapUiButtonHoverBackground;
970
- color: sapUiButtonHoverTextColor;
971
- box-shadow: @sapContent_Interaction_Shadow;
972
-
973
- .sapMBtnIcon {
974
- color: sapUiButtonHoverTextColor;
975
- }
976
- }
977
-
978
- &.sapMBtnActive {
979
- bdi,
980
- .sapMBtnIcon {
981
- color: @sapUiButtonActiveTextColor;
982
- }
983
- }
984
- }
985
- }
986
-
987
- .sapUiDemoKitHeaderActionsMenuButton.sapMMenuBtn {
988
- .sapMBtnIcon {
989
- margin-left: -0.0625rem;
990
- }
991
- }
992
-
993
- .sapMBtn.sapMBarChild[class*="sapUiDemoKitHeaderActions"] {
994
- .sapMBadgeTopRight.sapMBadge .sapMBadgeIndicator {
995
- position: absolute;
996
- top: -0.3125rem;
997
- }
998
- }
999
859
  }
1000
860
 
1001
861
  .sapUiSizeCompact .sapUiDemokit .sapUiDemokitMainHeader {
@@ -1,73 +0,0 @@
1
- <core:FragmentDefinition
2
- xmlns="sap.m"
3
- xmlns:core="sap.ui.core"
4
- xmlns:html="http://www.w3.org/1999/xhtml">
5
- <VBox>
6
- <List id="shortList"
7
- items="{
8
- path: 'searchData>/matches/filteredData',
9
- sorter: [{
10
- path: '',
11
- descending: true,
12
- group: '.getSearchPickerTitle'
13
- }]
14
- }">
15
- <StandardListItem
16
- title="{
17
- parts: [
18
- 'searchData>title',
19
- 'searchData>summary'
20
-
21
- ],
22
- formatter: '.formatSuggestionTitle'
23
- }"
24
- press=".onSearchPickerItemPress"
25
- type="Active">
26
- </StandardListItem>
27
- </List>
28
- <Link width="100%"
29
- class="sapMSelectListItem sapMSelectListItemBase sapMSelectListItemBaseHoverable"
30
- press=".onSearchResultsSummaryPress"
31
- text="{i18n>SEARCH_SUGGESTIONS_ALL_SECTION_TITLE} ({searchData>/matches/AllLength})"
32
- visible="{= ${searchData>/matches/AllLength}>0 }"/>
33
- <List id="categoryList">
34
- <GroupHeaderListItem title="Results by Category"/>
35
- <StandardListItem
36
- title="{i18n>SEARCH_SUGGESTIONS_API_SECTION_TITLE}"
37
- counter="{searchData>/matches/APILength}"
38
- press=".onSearchResultsSummaryPress"
39
- type="Active">
40
- <customData>
41
- <core:CustomData key="category" value="apiref" />
42
- </customData>
43
- </StandardListItem>
44
- <StandardListItem
45
- title="{i18n>SEARCH_SUGGESTIONS_DOCUMENTATION_SECTION_TITLE}"
46
- counter="{searchData>/matches/DocLength}"
47
- press=".onSearchResultsSummaryPress"
48
- type="Active">
49
- <customData>
50
- <core:CustomData key="category" value="topics" />
51
- </customData>
52
- </StandardListItem>
53
- <StandardListItem
54
- title="{i18n>SEARCH_SUGGESTIONS_SAMPLES_SECTION_TITLE}"
55
- counter="{searchData>/matches/ExploredLength}"
56
- press=".onSearchResultsSummaryPress"
57
- type="Active">
58
- <customData>
59
- <core:CustomData key="category" value="entity" />
60
- </customData>
61
- </StandardListItem>
62
- <StandardListItem
63
- title="{i18n>SEARCH_SUGGESTIONS_EXTERNAL_SECTION_TITLE}"
64
- counter="{searchData>/matches/ExternalLength}"
65
- press=".onSearchResultsSummaryPress"
66
- type="Active">
67
- <customData>
68
- <core:CustomData key="category" value="external" />
69
- </customData>
70
- </StandardListItem>
71
- </List>
72
- </VBox>
73
- </core:FragmentDefinition>