@openui5/sap.ui.rta 1.143.0 → 1.144.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 (166) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +6 -6
  3. package/src/sap/ui/rta/.library +2 -2
  4. package/src/sap/ui/rta/Client.js +2 -2
  5. package/src/sap/ui/rta/RuntimeAuthoring.js +19 -8
  6. package/src/sap/ui/rta/Utils.js +24 -2
  7. package/src/sap/ui/rta/api/startAdaptation.js +1 -1
  8. package/src/sap/ui/rta/api/startKeyUserAdaptation.js +1 -1
  9. package/src/sap/ui/rta/appVariant/AppVariantDialog.js +1 -1
  10. package/src/sap/ui/rta/appVariant/AppVariantManager.js +2 -2
  11. package/src/sap/ui/rta/appVariant/AppVariantOverviewDialog.js +1 -1
  12. package/src/sap/ui/rta/appVariant/AppVariantUtils.js +1 -1
  13. package/src/sap/ui/rta/appVariant/Feature.js +1 -1
  14. package/src/sap/ui/rta/appVariant/S4HanaCloudBackend.js +1 -1
  15. package/src/sap/ui/rta/appVariant/Utils.js +1 -1
  16. package/src/sap/ui/rta/appVariant/manageApps/webapp/Component.js +1 -1
  17. package/src/sap/ui/rta/appVariant/manageApps/webapp/controller/ManageApps.controller.js +1 -1
  18. package/src/sap/ui/rta/appVariant/manageApps/webapp/index.js +1 -1
  19. package/src/sap/ui/rta/appVariant/manageApps/webapp/model/models.js +1 -1
  20. package/src/sap/ui/rta/command/AddIFrame.js +2 -2
  21. package/src/sap/ui/rta/command/AddProperty.js +2 -2
  22. package/src/sap/ui/rta/command/AddXML.js +2 -2
  23. package/src/sap/ui/rta/command/AddXMLAtExtensionPoint.js +2 -2
  24. package/src/sap/ui/rta/command/AnnotationCommand.js +2 -2
  25. package/src/sap/ui/rta/command/BaseCommand.js +2 -2
  26. package/src/sap/ui/rta/command/BindProperty.js +2 -2
  27. package/src/sap/ui/rta/command/Combine.js +2 -2
  28. package/src/sap/ui/rta/command/CommandFactory.js +2 -2
  29. package/src/sap/ui/rta/command/CompositeCommand.js +2 -2
  30. package/src/sap/ui/rta/command/ControlVariantConfigure.js +2 -2
  31. package/src/sap/ui/rta/command/ControlVariantSave.js +2 -2
  32. package/src/sap/ui/rta/command/ControlVariantSaveAs.js +2 -2
  33. package/src/sap/ui/rta/command/ControlVariantSetTitle.js +2 -2
  34. package/src/sap/ui/rta/command/ControlVariantSwitch.js +2 -2
  35. package/src/sap/ui/rta/command/CreateContainer.js +2 -2
  36. package/src/sap/ui/rta/command/CustomAdd.js +2 -2
  37. package/src/sap/ui/rta/command/ExtendControllerCommand.js +2 -2
  38. package/src/sap/ui/rta/command/FlexCommand.js +2 -2
  39. package/src/sap/ui/rta/command/LREPSerializer.js +2 -2
  40. package/src/sap/ui/rta/command/LocalReset.js +2 -2
  41. package/src/sap/ui/rta/command/ManifestCommand.js +2 -2
  42. package/src/sap/ui/rta/command/Move.js +2 -2
  43. package/src/sap/ui/rta/command/Property.js +2 -2
  44. package/src/sap/ui/rta/command/Remove.js +2 -2
  45. package/src/sap/ui/rta/command/Rename.js +2 -2
  46. package/src/sap/ui/rta/command/Resize.js +2 -2
  47. package/src/sap/ui/rta/command/Reveal.js +2 -2
  48. package/src/sap/ui/rta/command/Settings.js +2 -2
  49. package/src/sap/ui/rta/command/Split.js +2 -2
  50. package/src/sap/ui/rta/command/Stack.js +23 -18
  51. package/src/sap/ui/rta/command/compVariant/CompVariantContent.js +2 -2
  52. package/src/sap/ui/rta/command/compVariant/CompVariantSaveAs.js +2 -2
  53. package/src/sap/ui/rta/command/compVariant/CompVariantSwitch.js +2 -2
  54. package/src/sap/ui/rta/command/compVariant/CompVariantUpdate.js +2 -2
  55. package/src/sap/ui/rta/command/manifest/AddLibrary.js +2 -2
  56. package/src/sap/ui/rta/enablement/TestDelegate.js +1 -1
  57. package/src/sap/ui/rta/enablement/elementActionTest.js +3 -3
  58. package/src/sap/ui/rta/library.js +3 -3
  59. package/src/sap/ui/rta/plugin/AddXMLAtExtensionPoint.js +2 -2
  60. package/src/sap/ui/rta/plugin/AddXMLPlugin.js +8 -6
  61. package/src/sap/ui/rta/plugin/BaseCreate.js +2 -2
  62. package/src/sap/ui/rta/plugin/Combine.js +2 -2
  63. package/src/sap/ui/rta/plugin/CompVariant.js +1 -1
  64. package/src/sap/ui/rta/plugin/ControlVariant.js +2 -3
  65. package/src/sap/ui/rta/plugin/CreateContainer.js +2 -2
  66. package/src/sap/ui/rta/plugin/CutPaste.js +2 -2
  67. package/src/sap/ui/rta/plugin/DragDrop.js +2 -2
  68. package/src/sap/ui/rta/plugin/ExtendControllerPlugin.js +13 -4
  69. package/src/sap/ui/rta/plugin/LocalReset.js +2 -2
  70. package/src/sap/ui/rta/plugin/Plugin.js +3 -3
  71. package/src/sap/ui/rta/plugin/RTAElementMover.js +2 -2
  72. package/src/sap/ui/rta/plugin/Remove.js +2 -2
  73. package/src/sap/ui/rta/plugin/Resize.js +2 -2
  74. package/src/sap/ui/rta/plugin/Selection.js +2 -2
  75. package/src/sap/ui/rta/plugin/Settings.js +2 -2
  76. package/src/sap/ui/rta/plugin/Split.js +2 -2
  77. package/src/sap/ui/rta/plugin/Stretch.js +2 -2
  78. package/src/sap/ui/rta/plugin/additionalElements/ActionExtractor.js +2 -2
  79. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.fragment.xml +1 -0
  80. package/src/sap/ui/rta/plugin/additionalElements/AddElementsDialog.js +4 -6
  81. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer.js +1 -1
  82. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin.js +2 -2
  83. package/src/sap/ui/rta/plugin/additionalElements/AdditionalElementsUtils.js +2 -2
  84. package/src/sap/ui/rta/plugin/additionalElements/CommandBuilder.js +2 -2
  85. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.fragment.xml +1 -1
  86. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialog.js +2 -2
  87. package/src/sap/ui/rta/plugin/annotations/AnnotationChangeDialogController.js +16 -4
  88. package/src/sap/ui/rta/plugin/annotations/AnnotationPlugin.js +2 -2
  89. package/src/sap/ui/rta/plugin/annotations/AnnotationTypes.js +1 -1
  90. package/src/sap/ui/rta/plugin/iframe/AddIFrame.js +2 -2
  91. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.fragment.xml +10 -6
  92. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialog.js +11 -2
  93. package/src/sap/ui/rta/plugin/iframe/AddIFrameDialogController.js +17 -5
  94. package/src/sap/ui/rta/plugin/iframe/urlCleaner.js +1 -1
  95. package/src/sap/ui/rta/plugin/rename/Rename.js +2 -2
  96. package/src/sap/ui/rta/plugin/rename/RenameDialog.js +2 -2
  97. package/src/sap/ui/rta/service/Action.js +2 -2
  98. package/src/sap/ui/rta/service/ControllerExtension.js +2 -2
  99. package/src/sap/ui/rta/service/Outline.js +2 -2
  100. package/src/sap/ui/rta/service/Property.js +2 -2
  101. package/src/sap/ui/rta/service/Receiver.js +1 -1
  102. package/src/sap/ui/rta/service/Selection.js +2 -2
  103. package/src/sap/ui/rta/service/SupportTools.js +2 -2
  104. package/src/sap/ui/rta/service/index.js +1 -1
  105. package/src/sap/ui/rta/themes/base/AddIFrame.less +40 -70
  106. package/src/sap/ui/rta/themes/base/ChangeVisualization.less +23 -20
  107. package/src/sap/ui/rta/themes/base/ContextMenu.less +10 -13
  108. package/src/sap/ui/rta/themes/base/Dialogs.less +26 -40
  109. package/src/sap/ui/rta/themes/base/FieldRepository.less +10 -17
  110. package/src/sap/ui/rta/themes/base/FlexSupportExtension.less +15 -13
  111. package/src/sap/ui/rta/themes/base/MessageBox.less +5 -3
  112. package/src/sap/ui/rta/themes/base/Overlay.less +32 -25
  113. package/src/sap/ui/rta/themes/base/OverlayWithScrollbar.less +25 -11
  114. package/src/sap/ui/rta/themes/base/Toolbar.adaptation.less +53 -40
  115. package/src/sap/ui/rta/themes/base/Toolbar.base.less +14 -18
  116. package/src/sap/ui/rta/themes/base/Toolbar.fiori.less +6 -1
  117. package/src/sap/ui/rta/themes/base/Toolbar.standalone.less +7 -5
  118. package/src/sap/ui/rta/themes/base/WhatsNew.less +6 -5
  119. package/src/sap/ui/rta/themes/base/library.source.less +1 -1
  120. package/src/sap/ui/rta/themes/sap_hcb/library.source.less +1 -1
  121. package/src/sap/ui/rta/toolbar/Adaptation.fragment.xml +2 -2
  122. package/src/sap/ui/rta/toolbar/Adaptation.js +3 -3
  123. package/src/sap/ui/rta/toolbar/AdaptationRenderer.js +1 -1
  124. package/src/sap/ui/rta/toolbar/Base.js +2 -2
  125. package/src/sap/ui/rta/toolbar/BaseRenderer.js +1 -1
  126. package/src/sap/ui/rta/toolbar/Fiori.js +2 -2
  127. package/src/sap/ui/rta/toolbar/FioriLike.js +2 -2
  128. package/src/sap/ui/rta/toolbar/OverflowToolbarButton.js +2 -2
  129. package/src/sap/ui/rta/toolbar/Standalone.js +2 -2
  130. package/src/sap/ui/rta/toolbar/contextBased/ManageAdaptations.js +1 -1
  131. package/src/sap/ui/rta/toolbar/contextBased/SaveAsAdaptation.js +2 -2
  132. package/src/sap/ui/rta/toolbar/translation/Translation.js +2 -2
  133. package/src/sap/ui/rta/toolbar/versioning/Versioning.js +2 -2
  134. package/src/sap/ui/rta/util/Animation.js +1 -1
  135. package/src/sap/ui/rta/util/BindingsExtractor.js +1 -1
  136. package/src/sap/ui/rta/util/PluginManager.js +2 -2
  137. package/src/sap/ui/rta/util/PopupManager.js +2 -2
  138. package/src/sap/ui/rta/util/ReloadManager.js +2 -2
  139. package/src/sap/ui/rta/util/ServiceEventBus.js +2 -2
  140. package/src/sap/ui/rta/util/ServiceManager.js +2 -2
  141. package/src/sap/ui/rta/util/adaptationStarter.js +1 -1
  142. package/src/sap/ui/rta/util/changeVisualization/ChangeCategories.js +1 -1
  143. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicator.js +2 -2
  144. package/src/sap/ui/rta/util/changeVisualization/ChangeIndicatorRegistry.js +2 -2
  145. package/src/sap/ui/rta/util/changeVisualization/ChangeStates.js +1 -1
  146. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualization.js +2 -2
  147. package/src/sap/ui/rta/util/changeVisualization/ChangeVisualizationUtils.js +1 -1
  148. package/src/sap/ui/rta/util/changeVisualization/commands/CombineVisualization.js +2 -2
  149. package/src/sap/ui/rta/util/changeVisualization/commands/CreateContainerVisualization.js +1 -1
  150. package/src/sap/ui/rta/util/changeVisualization/commands/MoveVisualization.js +1 -1
  151. package/src/sap/ui/rta/util/changeVisualization/commands/RenameVisualization.js +1 -1
  152. package/src/sap/ui/rta/util/changeVisualization/commands/SplitVisualization.js +1 -1
  153. package/src/sap/ui/rta/util/changeVisualization/commands/getCommandVisualization.js +1 -1
  154. package/src/sap/ui/rta/util/changeVisualization/resolveBinding.js +2 -2
  155. package/src/sap/ui/rta/util/guidedTour/GuidedTour.js +2 -2
  156. package/src/sap/ui/rta/util/guidedTour/content/GeneralTour.js +1 -1
  157. package/src/sap/ui/rta/util/hasStableId.js +1 -1
  158. package/src/sap/ui/rta/util/isReuseComponent.js +1 -1
  159. package/src/sap/ui/rta/util/showMessageBox.js +1 -1
  160. package/src/sap/ui/rta/util/validateFlexEnabled.js +1 -1
  161. package/src/sap/ui/rta/util/validateStableIds.js +1 -1
  162. package/src/sap/ui/rta/util/validateText.js +1 -1
  163. package/src/sap/ui/rta/util/whatsNew/WhatsNew.js +31 -6
  164. package/src/sap/ui/rta/util/whatsNew/WhatsNewOverview.js +1 -1
  165. package/src/sap/ui/rta/util/whatsNew/WhatsNewUtils.js +3 -11
  166. package/src/sap/ui/rta/util/whatsNew/whatsNewContent/WhatsNewFeatures.js +1 -1
@@ -1,56 +1,60 @@
1
- /******************************************************************
2
- Style of the RTA Overlays - base Theme
3
- *******************************************************************/
4
- @_sap_ui_rta_Overlay_ResizeHandleColor: @sapUiSelected; //#8fb5ff
5
- @_sap_ui_rta_Overlay_ErrorBorderColor: @sapUiErrorBorder; //#ff0000
6
- @_sap_ui_rta_Overlay_BoxShadow: @sapUiUx3ToolPopupShadow; //0px 6px 12px 0px fade(black, 30);
1
+ /* =================================== */
2
+ /* CSS for control sap.ui.rta/Overlay */
3
+ /* Base theme */
4
+ /* =================================== */
5
+
6
+ @_sap_ui_rta_Overlay_ResizeHandleColor: var(--sapSelectedColor); /* #8fb5ff */
7
+ @_sap_ui_rta_Overlay_ErrorBorderColor: var(--sapErrorBorderColor); /* #ff0000 */
7
8
 
8
9
  .sapUiRtaRoot {
10
+
9
11
  .sapUiRtaMarginBottom {
10
- margin-bottom: 2.5rem; //40px
12
+ margin-bottom: var(--sapContent_Space_Medium); //32px // To be complient with standard paddings
11
13
  }
12
14
 
13
15
  .sapUiRtaPaddingTop {
14
- padding-top: 2.5rem; //40px
16
+ padding-top: var(--sapContent_Space_Medium); //32px // To be complient with standard paddings
15
17
  }
16
18
 
17
19
  &.sapUiRtaStretchPaddingTop, .sapUiRtaStretchPaddingTop {
18
- padding-top: 1.5rem; //24px
20
+ padding-top: var(--sapContent_Space_Medium); //32px // To be complient with standard paddings
19
21
  }
20
22
  }
21
23
 
22
- .sapUiSizeCozy .sapUiRtaRoot .sapUiRtaStretchPaddingTop, .sapUiSizeCozy .sapUiRtaRoot.sapUiRtaStretchPaddingTop {
23
- padding-top: 2rem; //32px
24
+ .sapUiSizeCozy .sapUiRtaRoot .sapUiRtaStretchPaddingTop,
25
+ .sapUiSizeCozy .sapUiRtaRoot.sapUiRtaStretchPaddingTop {
26
+ padding-top: var(--sapContent_Space_Medium); //32px
24
27
  }
25
28
 
26
29
  .sapUiRta:not(.sapUiRtaVisualizationMode) {
30
+
27
31
  .sapUiRtaResizeHandle {
28
32
  cursor: col-resize;
29
33
  position: absolute;
30
34
  top: 0;
31
35
  bottom: 0;
32
- width: 0.625rem; // 10px
36
+ width: 0.625rem; /* 10px */
33
37
  background-clip: content-box;
34
38
  background-color: @_sap_ui_rta_Overlay_ResizeHandleColor;
35
39
  -webkit-user-select: none;
36
40
  user-select: none;
37
41
 
38
- &:before {
39
- content: "";
42
+ &::before {
43
+ content: '';
40
44
  position: absolute;
41
45
  top: 10%;
42
46
  bottom: 10%;
43
47
  left: 37.5%;
44
- border-left: 0.0625rem solid @sapUiHighlightTextColor; //1px
48
+ border-left: 0.0625rem solid var(--sapHighlightTextColor); /* 1px */
45
49
  }
46
50
 
47
- &:after {
48
- content: "";
51
+ &::after {
52
+ content: '';
49
53
  position: absolute;
50
54
  top: 25%;
51
55
  bottom: 25%;
52
56
  left: 62.5%;
53
- border-left: 0.0625rem solid @sapUiHighlightTextColor; //1px
57
+ border-left: 0.0625rem solid var(--sapHighlightTextColor); /* 1px */
54
58
  }
55
59
  }
56
60
 
@@ -58,8 +62,8 @@
58
62
  position: relative;
59
63
  top: 0;
60
64
  bottom: 0;
61
- width: 0.5rem; // 8px
62
- border-right: 0.125rem dotted @_sap_ui_rta_Overlay_ResizeHandleColor; // 2px
65
+ width: 0.5rem; /* 8px */
66
+ border-right: 0.125rem dotted @_sap_ui_rta_Overlay_ResizeHandleColor; /* 2px */
63
67
  background-clip: content-box;
64
68
  -webkit-user-select: none;
65
69
  user-select: none;
@@ -76,14 +80,15 @@
76
80
 
77
81
  .sapUiDtOverlaySelected {
78
82
  transition: box-shadow .25s;
79
- box-shadow: @_sap_ui_rta_Overlay_BoxShadow;
83
+ box-shadow: var(--sapContent_Shadow2);
80
84
 
81
- &.sapUiRtaErrorBg:after {
82
- outline: 0.125rem solid @_sap_ui_rta_Overlay_ErrorBorderColor; //2px
83
- outline-offset: -0.125rem; //2px
85
+ &.sapUiRtaErrorBg::after {
86
+ outline: 0.125rem solid @_sap_ui_rta_Overlay_ErrorBorderColor; /* 2px */
87
+ outline-offset: -0.125rem; /* 2px */
84
88
  border: none
85
89
  }
86
90
  }
91
+
87
92
  .sapUiRtaEditableField {
88
93
  position: absolute;
89
94
  top: 0;
@@ -98,11 +103,13 @@
98
103
  }
99
104
 
100
105
  .sapUiRta {
106
+
101
107
  &.sapUiRtaVisualizationMode {
108
+
102
109
  .sapUiDtOverlayHover {
103
110
  background: inherit;
104
111
 
105
- &:after {
112
+ &::after {
106
113
  content: none;
107
114
  }
108
115
  }
@@ -1,30 +1,38 @@
1
- /******************************************************************
2
- Style of the RTA OverlayWithScrollBar - base Theme
3
- *******************************************************************/
1
+ /* ================================================ */
2
+ /* CSS for control sap.ui.rta/OverlayWithScrollbar */
3
+ /* Base theme */
4
+ /* ================================================ */
4
5
 
5
6
  .sapUiRta .sapUiDtOverlayWithScrollBar {
7
+
6
8
  &.sapUiDtOverlaySelected {
9
+
7
10
  &.sapUiDtOverlayWithScrollBarVertical {
8
- &:after {
11
+
12
+ &::after {
9
13
  inset-inline-end: var(--sap-ui-rta-scrollbar-scrollWidth) !important;
10
14
  }
11
15
  }
12
16
 
13
17
  &.sapUiDtOverlayWithScrollBarHorizontal {
14
- &:after {
18
+
19
+ &::after {
15
20
  inset-block-end: var(--sap-ui-rta-scrollbar-scrollWidth) !important;
16
21
  }
17
22
  }
18
23
 
19
24
  &.sapUiDtOverlayFocusable {
25
+
20
26
  &.sapUiDtOverlayWithScrollBarVertical {
21
- &:focus:before {
27
+
28
+ &:focus::before {
22
29
  inset-inline-end: var(--sap-ui-rta-scrollbar-scrollWidthPlusTwo) !important;
23
30
  }
24
31
  }
25
32
 
26
33
  &.sapUiDtOverlayWithScrollBarHorizontal {
27
- &:focus:before {
34
+
35
+ &:focus::before {
28
36
  inset-block-end: var(--sap-ui-rta-scrollbar-scrollWidthPlusTwo) !important;
29
37
  }
30
38
  }
@@ -32,28 +40,34 @@
32
40
  }
33
41
 
34
42
  &.sapUiDtOverlayFocusable {
43
+
35
44
  &.sapUiDtOverlayWithScrollBarHorizontal {
36
- &:focus:before {
45
+
46
+ &:focus::before {
37
47
  inset-block-end: var(--sap-ui-rta-scrollbar-scrollWidth) !important;
38
48
  }
39
49
  }
40
50
 
41
51
  &.sapUiDtOverlayWithScrollBarVertical {
42
- &:focus:before {
52
+
53
+ &:focus::before {
43
54
  inset-inline-end: var(--sap-ui-rta-scrollbar-scrollWidth) !important;
44
55
  }
45
56
  }
46
57
  }
47
58
 
48
59
  &.sapUiDtOverlayHover {
60
+
49
61
  &.sapUiDtOverlayWithScrollBarHorizontal {
50
- &:after {
62
+
63
+ &::after {
51
64
  inset-block-end: var(--sap-ui-rta-scrollbar-scrollWidth) !important;
52
65
  }
53
66
  }
54
67
 
55
68
  &.sapUiDtOverlayWithScrollBarVertical {
56
- &:after {
69
+
70
+ &::after {
57
71
  inset-inline-end: var(--sap-ui-rta-scrollbar-scrollWidth) !important;
58
72
  }
59
73
  }
@@ -1,13 +1,13 @@
1
- /******************************************************************
2
- Style of the RTA Toolbar (type: adaptation) - base Theme
3
- *******************************************************************/
4
- @_sap_ui_rta_Toolbar_Adaptation_TextColor: @sapUiShellTextColor; //#000
5
- @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorderColor: @sapUiContentFocusColor; //#000
6
- @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor: @sapUiChartPaletteSemanticBad; //#ab0000
7
- @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor: @sapUiChartPaletteSemanticGood; //#006362
8
- @_sap_ui_rta_Toolbar_Adaptation_BoxShadowDarkColor: @sapUiDarkShadowTint; // #000
9
- @_sap_ui_rta_Toolbar_Adaptation_BoxShadowLightColor: @sapUiLightShadowTint; // #fff
10
- @_sap_ui_rta_Toolbar_Adaptation_FocusOutlineColor: @sapUiContentFocusColor; //#000
1
+ /* ============================================== */
2
+ /* CSS for control sap.ui.rta/Toolbar.adaptation */
3
+ /* Base theme */
4
+ /* ============================================== */
5
+
6
+ @_sap_ui_rta_Toolbar_Adaptation_TextColor: var(--sapShell_TextColor); /* #000 */
7
+ @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorderColor: var(--sapContent_FocusColor); /* #000 */
8
+ @_sap_ui_rta_Toolbar_Adaptation_DraftVersionColor: var(--sapChart_Bad); /* #ab0000 */
9
+ @_sap_ui_rta_Toolbar_Adaptation_ActiveVersionColor: var(--sapChart_Good); /* #006362 */
10
+ @_sap_ui_rta_Toolbar_Adaptation_FocusOutlineColor: var(--sapContent_FocusColor); /* #000 */
11
11
 
12
12
  .sapUiRtaMode {
13
13
 
@@ -18,7 +18,9 @@
18
18
  }
19
19
 
20
20
  .sapMHBox.sapMFlexBox:last-child {
21
+
21
22
  .sapMFlexItem:first-child {
23
+
22
24
  .sapMSegB {
23
25
  margin-left: 0;
24
26
  }
@@ -32,12 +34,14 @@
32
34
 
33
35
  .sapMFlexBox {
34
36
  margin-left: 0;
35
- height: 2.5rem; //40px
37
+ height: 2.5rem; /* 40px */
36
38
  }
37
39
 
38
- // Disable the right margin for Exit button
40
+ /* Disable the right margin for Exit button */
39
41
  > .sapMFlexItem:last-child {
42
+
40
43
  > .sapMFlexItem:last-child {
44
+
41
45
  .sapMBtn:last-child {
42
46
  margin-right: 0;
43
47
  }
@@ -46,8 +50,7 @@
46
50
 
47
51
  .sapMBtn {
48
52
  padding: 0;
49
- height: 2.5rem; //40px
50
- margin: 0 0.25rem; //4px
53
+ height: 2.5rem; /* 40px */
51
54
 
52
55
  &.sapMBtnDisabled .sapMBtnInner {
53
56
  opacity: 0.5;
@@ -55,17 +58,18 @@
55
58
 
56
59
  &:focus .sapMFocusable {
57
60
  outline: none;
58
- border: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorderColor; //1px
61
+ border: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_BtnFocusBorderColor; /* 1px */
59
62
  }
60
63
  }
61
64
 
62
65
  .sapMTBStandard {
63
- height: 2.5rem; //40px
66
+ height: 2.5rem; /* 40px */
64
67
  border-bottom: none;
65
68
  background: transparent;
66
69
  }
67
70
 
68
71
  .sapMSegB {
72
+
69
73
  .sapMSegBBtn {
70
74
 
71
75
  .sapMSegBBtnInner {
@@ -80,19 +84,20 @@
80
84
  &.sapMSegBBtnFocusable {
81
85
 
82
86
  &:focus .sapMSegBBtnInner {
83
- outline: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_FocusOutlineColor; //1px
84
- outline-offset: -0.0625rem; //1px
87
+ outline: 0.0625rem dotted @_sap_ui_rta_Toolbar_Adaptation_FocusOutlineColor; /* 1px */
88
+ outline-offset: -0.0625rem; /* 1px */
85
89
  }
86
90
 
87
91
  &.sapMSegBBtnSel {
92
+
88
93
  & .sapMSegBBtnInner::after {
89
94
  position: absolute;
90
95
  display: block;
91
96
  content: '';
92
- border-bottom: 0.125rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor; //2px
93
- left: 0.375rem; //6px
94
- right: 0.375rem; //6px
95
- bottom: 0.125rem; //2px
97
+ border-bottom: 0.125rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor; /* 2px */
98
+ left: 0.375rem; /* 6px */
99
+ right: 0.375rem; /* 6px */
100
+ bottom: 0.125rem; /* 2px */
96
101
  }
97
102
  }
98
103
  }
@@ -115,6 +120,7 @@
115
120
  }
116
121
 
117
122
  .sapUiRtaVersionButton.sapUiRtaVersionColor:hover {
123
+
118
124
  > span.sapMBtnHoverable.sapMBtnTransparent > span.sapMBtnIcon,
119
125
  > span > span > bdi {
120
126
  color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
@@ -135,10 +141,7 @@
135
141
  }
136
142
 
137
143
  .sapUiRtaVersionHistory {
138
- box-shadow: 0.375rem 0.625rem 2rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadowDarkColor, 30),
139
- 0.125rem 0.375rem 1rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadowDarkColor, 60),
140
- 0 0 0 0.0625rem fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadowLightColor, 20),
141
- 0 0.0625rem 0 0 fade(@_sap_ui_rta_Toolbar_Adaptation_BoxShadowLightColor, 20); //10px 20px 6px 6px 1px 1px
144
+ box-shadow: var(--sapContent_Shadow2);
142
145
 
143
146
  .sapMGHLITitle {
144
147
  color: @_sap_ui_rta_Toolbar_Adaptation_TextColor;
@@ -158,19 +161,24 @@
158
161
 
159
162
  .sapUiRtaVersionsList {
160
163
  border-bottom: 0.125rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
164
+
161
165
  .sapMLIBTypeInactive {
166
+
162
167
  &.sapMLIBFocusable:focus {
163
168
  outline: none;
164
169
  }
170
+
165
171
  .sapMLIBContent {
166
172
  margin-top: -1rem;
167
173
  }
174
+
168
175
  .sapMGHLITitle {
169
176
  cursor: default;
170
177
  text-align: center;
171
178
  width: 100%;
172
179
  }
173
180
  }
181
+
174
182
  .sapMListUl .sapMLIB.sapMGHLI {
175
183
  border-bottom: 0.0625rem solid @_sap_ui_rta_Toolbar_Adaptation_TextColor;
176
184
  box-shadow: none;
@@ -203,7 +211,8 @@
203
211
  .sapMListTblNavCol {
204
212
  border: 0;
205
213
  }
206
- .sapMPopoverArr:after {
214
+
215
+ .sapMPopoverArr::after {
207
216
  border: 0;
208
217
  }
209
218
 
@@ -215,13 +224,17 @@
215
224
  }
216
225
 
217
226
  .sapUiSizeCozy.sapUiRtaMode {
227
+
218
228
  .sapUiRtaToolbar {
229
+
219
230
  .sapMSegB {
231
+
220
232
  .sapMSegBBtn.sapMSegBBtnFocusable.sapMSegBBtnSel {
221
- & .sapMSegBBtnInner:after {
222
- bottom: 0.375rem; //6px
223
- left: 0.5625rem; //9px
224
- right: 0.5625rem; //9px
233
+
234
+ & .sapMSegBBtnInner::after {
235
+ bottom: 0.375rem; /* 6px */
236
+ left: 0.5625rem; /* 9px */
237
+ right: 0.5625rem; /* 9px */
225
238
  }
226
239
  }
227
240
  }
@@ -229,33 +242,33 @@
229
242
  }
230
243
 
231
244
  .sapUiRtaIconAndDraftToolbar {
232
- // fit-content is required for the intersection observer
245
+ /* fit-content is required for the intersection observer */
233
246
  width: fit-content;
234
247
  justify-content: flex-start;
235
248
  }
236
249
 
237
250
  .sapUiRtaActionsToolbar {
238
- // fit-content is required for the intersection observer
251
+ /* fit-content is required for the intersection observer */
239
252
  width: fit-content;
240
253
  justify-content: flex-end;
241
254
  }
242
255
 
243
- // the default hbox width which is set via the element properties must be overruled
256
+ /* the default hbox width which is set via the element properties must be overruled */
244
257
  .sapUiRtaToolbarIconAndDraftSection,
245
258
  .sapUiRtaToolbarActionsSection {
246
- // display grid is required so the toolbar is positioned on the end into the section hbox
259
+ /* display grid is required so the toolbar is positioned on the end into the section hbox */
247
260
  display: grid;
248
- width: ~"calc(50% - 12.5rem) !important"; //200px
261
+ width: ~"calc(50% - 12.5rem) !important"; /* 200px */
249
262
  }
250
263
 
251
264
  .sapUiRtaVersionButton {
252
- max-width: 12.5rem; //200px
253
- min-width: 3rem; //48px
265
+ max-width: 12.5rem; /* 200px */
266
+ min-width: 3rem; /* 48px */
254
267
  }
255
268
 
256
269
  .sapUiRtaCBAButton {
257
- max-width: 12.5rem; //200px
258
- min-width: 3rem; //48px
270
+ max-width: 12.5rem; /* 200px */
271
+ min-width: 3rem; /* 48px */
259
272
  }
260
273
 
261
274
  .sapUiRtaToolbarSwitcherSection {
@@ -1,42 +1,38 @@
1
- /******************************************************************
2
- Style of the RTA Toolbar (all types) - base Theme
3
- *******************************************************************/
4
- @_sap_ui_rta_Toolbar_Base_BorderLiteColor: @sapUiButtonLiteBorderColor; //#fff
5
- @_sap_ui_rta_Toolbar_Base_BorderDarkColor: @sapUiButtonAcceptBorderColor; //#006362
6
- @_sap_ui_rta_Toolbar_Base_BackgroundColor: @sapUiToolbarBackground; //#fff
7
- @_sap_ui_rta_Toolbar_Base_BoxShadowDarkColor: @sapUiDarkShadowTint; // #000
8
- @_sap_ui_rta_Toolbar_Base_BoxShadowLightColor: @sapUiLightShadowTint; // #fff
1
+ /* ======================================== */
2
+ /* CSS for control sap.ui.rta/Toolbar.base */
3
+ /* Base theme */
4
+ /* ======================================== */
5
+
6
+ @_sap_ui_rta_Toolbar_Base_BorderLiteColor: var(--sapButton_Lite_BorderColor);
7
+ @_sap_ui_rta_Toolbar_Base_BorderDarkColor: var(--sapButton_Accept_BorderColor);
8
+ @_sap_ui_rta_Toolbar_Base_BackgroundColor: var(--sapToolbar_Background);
9
9
  @_sap_ui_rta_Toolbar_Base_BorderImage: repeating-linear-gradient(-45deg,
10
10
  @_sap_ui_rta_Toolbar_Base_BorderDarkColor,
11
11
  @_sap_ui_rta_Toolbar_Base_BorderDarkColor 0.25rem,
12
12
  @_sap_ui_rta_Toolbar_Base_BorderLiteColor 0.25rem,
13
13
  @_sap_ui_rta_Toolbar_Base_BorderLiteColor 0.375rem) 4;
14
-
15
- @_sap_ui_rta_Toolbar_Base_BoxShadow: 0.375rem 0.625rem 2rem fade(@_sap_ui_rta_Toolbar_Base_BoxShadowDarkColor, 30),
16
- 0.125rem 0.375rem 1rem fade(@_sap_ui_rta_Toolbar_Base_BoxShadowDarkColor, 60),
17
- 0 0 0 0.0625rem fade(@_sap_ui_rta_Toolbar_Base_BoxShadowLightColor, 20),
18
- 0 0.0625rem 0 0 fade(@_sap_ui_rta_Toolbar_Base_BoxShadowLightColor, 20);
14
+ @_sap_ui_rta_Toolbar_Base_BoxShadow: var(--sapContent_Shadow2);
19
15
 
20
16
  .sapUiRtaMode {
21
17
 
22
18
  .sapUiRtaMarginTopForToolbar {
23
- margin-top: 3rem; //48px
19
+ margin-top: var(--sapContent_Space_Large); /* 48px */
24
20
  }
25
21
 
26
22
  .sapUiRtaToolbar {
27
- border: 0.125rem solid @_sap_ui_rta_Toolbar_Base_BorderLiteColor; //2px
23
+ border: 0.125rem solid @_sap_ui_rta_Toolbar_Base_BorderLiteColor; /* 2px */
28
24
  border-image: @_sap_ui_rta_Toolbar_Base_BorderImage;
29
25
  box-shadow: @_sap_ui_rta_Toolbar_Base_BoxShadow;
30
26
  position: absolute;
31
27
  top: 0;
32
28
  left: 0;
33
29
  right: 0;
34
- padding-left: 1.25rem; //20px
35
- height: 2.75rem; /* Overrider `.sapUiSizeCompact .sapMTB` */ //44px
30
+ padding-left: 1.25rem; /* 20px */
31
+ height: 2.75rem; /* Overrider `.sapUiSizeCompact .sapMTB` 44px */
36
32
  background-color: @_sap_ui_rta_Toolbar_Base_BackgroundColor;
37
33
 
38
34
  &.sapUiRtaToolbar_scrolling {
39
- position: fixed!important;
35
+ position: fixed !important;
40
36
  }
41
37
  }
42
38
  }
@@ -1,3 +1,8 @@
1
+ /* ========================================= */
2
+ /* CSS for control sap.ui.rta/Toolbar.fiori */
3
+ /* Base theme */
4
+ /* ========================================= */
5
+
1
6
  /**
2
7
  This class is being assigned to the original Fiori Header Toolbar when RTA Toolbar shows
3
8
  */
@@ -12,7 +17,7 @@
12
17
  opacity: 0;
13
18
 
14
19
  .sapMImg {
15
- height: 2.5rem !important; // 40px
20
+ height: 2.5rem !important; /* 40px */
16
21
  }
17
22
 
18
23
  &.is_visible {
@@ -1,10 +1,12 @@
1
- /******************************************************************
2
- Style of the RTA Standalone Toolbar - base Theme
3
- *******************************************************************/
1
+ /* ============================================== */
2
+ /* CSS for control sap.ui.rta/Toolbar.standalone */
3
+ /* Base theme */
4
+ /* ============================================== */
5
+
4
6
  .sapUiRtaToolbar.type_standalone.color_default {
5
- top: -3.125rem; //50px;
7
+ top: -3.125rem; /* 50px */
6
8
  transition: top 0.25s ease-out;
7
- height: 3rem; //48p
9
+ height: 3rem; /* 48p */
8
10
 
9
11
  &.is_visible {
10
12
  top: 0;
@@ -1,12 +1,13 @@
1
- /******************************************************************
2
- Style of the RTA WhatsNew Dialog/Overview - base Theme
3
- *******************************************************************/
1
+ /* ==================================== */
2
+ /* CSS for control sap.ui.rta/WhatsNew */
3
+ /* Base theme */
4
+ /* ==================================== */
4
5
 
5
6
  .whatsNewImage {
6
7
  border-radius: 1rem;
7
8
  }
8
9
 
9
- // center the card & title horizontally inside the VBox
10
+ /* center the card & title horizontally inside the VBox */
10
11
  .sapUiRtaWhatsNewDialog .sapMVBox > div {
11
- margin: 0 1rem;
12
+ margin: 0 var(--sapContent_Space_Small);
12
13
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  @import "../../../../../sap/ui/core/themes/base/base.less";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  /* ============================================================================== */
@@ -177,7 +177,7 @@
177
177
  icon="sap-icon://copy"/>
178
178
  <MenuItem
179
179
  id="sapUiRta_editAdaptation"
180
- visible="{= (${contextBasedAdaptations>/count} > 0 &amp;&amp; ${contextBasedAdaptations>/displayedAdaptation/title} !== '')}"
180
+ visible="{= (${contextBasedAdaptations>/count} > 0 &amp;&amp; !!${contextBasedAdaptations>/displayedAdaptation/title})}"
181
181
  text="{i18n>EAC_DIALOG_HEADER}"
182
182
  press=".editAdaptation"
183
183
  icon="sap-icon://edit"/>
@@ -185,7 +185,7 @@
185
185
  id="sapUiRta_deleteAdaptation"
186
186
  text="{i18n>DAC_DIALOG_HEADER}"
187
187
  press=".deleteAdaptation"
188
- visible="{= (${contextBasedAdaptations>/count} > 0 &amp;&amp; ${contextBasedAdaptations>/displayedAdaptation/title} !== '')}"
188
+ visible="{= (${contextBasedAdaptations>/count} > 0 &amp;&amp; !!${contextBasedAdaptations>/displayedAdaptation/title})}"
189
189
  icon="sap-icon://delete"/>
190
190
  <MenuItem
191
191
  id="sapUiRta_manageAdaptations"
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * @extends sap.ui.rta.toolbar.Base
68
68
  *
69
69
  * @author SAP SE
70
- * @version 1.143.0
70
+ * @version 1.144.0
71
71
  *
72
72
  * @constructor
73
73
  * @private
@@ -497,7 +497,7 @@ sap.ui.define([
497
497
 
498
498
  function formatAdaptationsMenuText(iCount, sTitle) {
499
499
  if (iCount > 0) {
500
- if (sTitle === "") {
500
+ if (!sTitle) {
501
501
  return this.getTextResources().getText("TXT_DEFAULT_APP");
502
502
  }
503
503
  return this.getTextResources().getText("BTN_ADAPTING_FOR", [sTitle]);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.HBox
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.143.0
36
+ * @version 1.144.0
37
37
  *
38
38
  * @constructor
39
39
  * @private
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2026 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
@@ -34,7 +34,7 @@ function(
34
34
  * @extends sap.ui.rta.toolbar.Adaptation
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.143.0
37
+ * @version 1.144.0
38
38
  *
39
39
  * @constructor
40
40
  * @private