@openui5/sap.ui.table 1.134.0 → 1.136.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 (82) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  3. package/package.json +3 -3
  4. package/src/sap/ui/table/.library +2 -2
  5. package/src/sap/ui/table/AnalyticalColumn.js +2 -2
  6. package/src/sap/ui/table/AnalyticalColumnMenu.js +2 -2
  7. package/src/sap/ui/table/AnalyticalTable.js +4 -4
  8. package/src/sap/ui/table/Column.js +11 -3
  9. package/src/sap/ui/table/ColumnMenu.js +2 -2
  10. package/src/sap/ui/table/CreationRow.js +2 -2
  11. package/src/sap/ui/table/CreationRowRenderer.js +1 -1
  12. package/src/sap/ui/table/Row.js +24 -33
  13. package/src/sap/ui/table/RowAction.js +2 -2
  14. package/src/sap/ui/table/RowActionItem.js +2 -2
  15. package/src/sap/ui/table/RowActionRenderer.js +1 -1
  16. package/src/sap/ui/table/RowSettings.js +2 -2
  17. package/src/sap/ui/table/Table.js +71 -113
  18. package/src/sap/ui/table/TablePersoController.js +2 -2
  19. package/src/sap/ui/table/TableRenderer.js +15 -16
  20. package/src/sap/ui/table/TreeTable.js +2 -2
  21. package/src/sap/ui/table/designtime/AnalyticalTable.designtime.js +1 -1
  22. package/src/sap/ui/table/designtime/Table.designtime.js +1 -1
  23. package/src/sap/ui/table/designtime/library.designtime.js +1 -1
  24. package/src/sap/ui/table/extensions/Accessibility.js +8 -7
  25. package/src/sap/ui/table/extensions/AccessibilityRender.js +3 -4
  26. package/src/sap/ui/table/extensions/DragAndDrop.js +2 -2
  27. package/src/sap/ui/table/extensions/ExtensionBase.js +2 -2
  28. package/src/sap/ui/table/extensions/Keyboard.js +2 -2
  29. package/src/sap/ui/table/extensions/KeyboardDelegate.js +157 -402
  30. package/src/sap/ui/table/extensions/Pointer.js +4 -6
  31. package/src/sap/ui/table/extensions/Scrolling.js +47 -22
  32. package/src/sap/ui/table/extensions/ScrollingIOS.js +2 -2
  33. package/src/sap/ui/table/extensions/Synchronization.js +2 -2
  34. package/src/sap/ui/table/i18n/interaction.xml +254 -0
  35. package/src/sap/ui/table/library.js +15 -36
  36. package/src/sap/ui/table/library.support.js +1 -1
  37. package/src/sap/ui/table/menus/AnalyticalTableContextMenu.js +2 -2
  38. package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +2 -2
  39. package/src/sap/ui/table/menus/ContextMenu.js +2 -2
  40. package/src/sap/ui/table/menus/LegacyColumnMenuAdapter.js +1 -1
  41. package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +2 -2
  42. package/src/sap/ui/table/messagebundle_bg.properties +1 -1
  43. package/src/sap/ui/table/plugins/BindingSelection.js +34 -34
  44. package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +38 -32
  45. package/src/sap/ui/table/plugins/ODataV4Selection.js +217 -101
  46. package/src/sap/ui/table/plugins/PluginBase.js +53 -140
  47. package/src/sap/ui/table/plugins/SelectionMode.js +35 -0
  48. package/src/sap/ui/table/plugins/SelectionModelSelection.js +29 -36
  49. package/src/sap/ui/table/plugins/SelectionPlugin.js +36 -36
  50. package/src/sap/ui/table/plugins/V4Aggregation.js +31 -38
  51. package/src/sap/ui/table/rowmodes/Auto.js +2 -2
  52. package/src/sap/ui/table/rowmodes/Fixed.js +2 -2
  53. package/src/sap/ui/table/rowmodes/Interactive.js +2 -2
  54. package/src/sap/ui/table/rowmodes/RowMode.js +2 -4
  55. package/src/sap/ui/table/rowmodes/Type.js +1 -1
  56. package/src/sap/ui/table/rowmodes/Variable.js +2 -2
  57. package/src/sap/ui/table/rules/Accessibility.support.js +1 -1
  58. package/src/sap/ui/table/rules/Binding.support.js +1 -1
  59. package/src/sap/ui/table/rules/ColumnTemplate.support.js +1 -1
  60. package/src/sap/ui/table/rules/Plugins.support.js +1 -1
  61. package/src/sap/ui/table/rules/Rows.support.js +1 -1
  62. package/src/sap/ui/table/rules/TableHelper.support.js +1 -1
  63. package/src/sap/ui/table/themes/base/Cell.less +66 -48
  64. package/src/sap/ui/table/themes/base/CreationRow.less +10 -8
  65. package/src/sap/ui/table/themes/base/DragDrop.less +34 -31
  66. package/src/sap/ui/table/themes/base/Grouping.less +23 -14
  67. package/src/sap/ui/table/themes/base/Row.less +6 -6
  68. package/src/sap/ui/table/themes/base/RowAction.less +2 -2
  69. package/src/sap/ui/table/themes/base/RowHighlight.less +15 -15
  70. package/src/sap/ui/table/themes/base/RowSelection.less +13 -8
  71. package/src/sap/ui/table/themes/base/Scrolling.less +76 -25
  72. package/src/sap/ui/table/themes/base/Table.less +63 -46
  73. package/src/sap/ui/table/themes/base/library.source.less +4 -4
  74. package/src/sap/ui/table/themes/sap_hcb/library.source.less +1 -1
  75. package/src/sap/ui/table/utils/TableUtils.js +6 -7
  76. package/src/sap/ui/table/utils/_BindingUtils.js +2 -2
  77. package/src/sap/ui/table/utils/_ColumnUtils.js +2 -2
  78. package/src/sap/ui/table/utils/_GroupingUtils.js +2 -2
  79. package/src/sap/ui/table/utils/_HookUtils.js +2 -2
  80. package/src/sap/ui/table/utils/_MenuUtils.js +2 -2
  81. package/ui5.yaml +1 -1
  82. package/.reuse/dep5 +0 -471
@@ -18,9 +18,9 @@
18
18
  @_sap_ui_table_Scrolling_VScrollbarWidth: calc(@_sap_ui_table_Scrolling_ScrollbarSize ~"+" @_sap_ui_table_BaseBorderWidth);
19
19
  @_sap_ui_table_Scrolling_VScrollbarWidthMobile: calc(@_sap_ui_table_Scrolling_ScrollbarSizeMobile ~"+" @_sap_ui_table_BaseBorderWidth);
20
20
 
21
- @_sap_ui_table_Scrolling_ScrollbarBackground: @sapUiListHeaderBackground;
21
+ @_sap_ui_table_Scrolling_ScrollbarBackground: var(--sapList_HeaderBackground);
22
22
 
23
- // Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters.
23
+ /* Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters. */
24
24
  ._sap_ui_table_Scrolling_NativeScrollbarCommon() {}
25
25
  ._sap_ui_table_Scrolling_NativeScrollbarDesktop() {}
26
26
  ._sap_ui_table_Scrolling_NativeScrollbarMobile() {}
@@ -44,10 +44,13 @@
44
44
  .sapUiTableVSb {
45
45
  width: 100%;
46
46
  position: absolute;
47
+ bottom: 0;
47
48
  overflow-x: hidden;
48
49
  overflow-y: scroll;
49
50
  -webkit-overflow-scrolling: auto;
50
- background-color: @sapUiListBackground;
51
+ background-color: var(--sapList_Background);
52
+ border-top: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
53
+ border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
51
54
  }
52
55
 
53
56
  .sapUiTableVSbHeader {
@@ -57,7 +60,7 @@
57
60
  position: absolute;
58
61
  right: 0;
59
62
  top: 0;
60
- background-color: @sapUiListHeaderBackground;
63
+ background-color: var(--sapList_HeaderBackground);
61
64
  border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
62
65
  display: none;
63
66
 
@@ -71,7 +74,12 @@
71
74
  }
72
75
 
73
76
  .sapUiTableVScr {
74
- .sapUiTableHSb, .sapUiTableCtrlScr, .sapUiTableColHdrScr, .sapUiTableRowActionScr, .sapUiTableRowWithAction {
77
+
78
+ .sapUiTableHSb,
79
+ .sapUiTableCtrlScr,
80
+ .sapUiTableColHdrScr,
81
+ .sapUiTableRowActionScr,
82
+ .sapUiTableRowWithAction {
75
83
  margin-right: @_sap_ui_table_Scrolling_VScrollbarWidth;
76
84
  }
77
85
  }
@@ -88,7 +96,10 @@
88
96
 
89
97
  html.sap-tablet:not(.sap-desktop) &,
90
98
  html.sap-phone & {
91
- .sapUiTableHSb, .sapUiTableCtrlScr, .sapUiTableColHdrScr {
99
+
100
+ .sapUiTableHSb,
101
+ .sapUiTableCtrlScr,
102
+ .sapUiTableColHdrScr {
92
103
  margin-right: calc(@_sap_ui_table_Scrolling_VScrollbarWidthMobile ~"+" @@RowActionWidth);
93
104
  }
94
105
 
@@ -100,7 +111,10 @@
100
111
 
101
112
  ._sapUiTableNoVScrWithActionsInnerMixin(@variant:"Width") {
102
113
  @RowActionWidth: "_sap_ui_table_RowActionColumn@{variant}";
103
- .sapUiTableHSb, .sapUiTableCtrlScr, .sapUiTableColHdrScr {
114
+
115
+ .sapUiTableHSb,
116
+ .sapUiTableCtrlScr,
117
+ .sapUiTableColHdrScr {
104
118
  margin-right: calc(@@RowActionWidth);
105
119
  }
106
120
 
@@ -110,7 +124,12 @@
110
124
  }
111
125
 
112
126
  .sapUiTableVScr {
113
- .sapUiTableHSb, .sapUiTableCtrlScr, .sapUiTableColHdrScr, .sapUiTableRowActionScr, .sapUiTableRowWithAction {
127
+
128
+ .sapUiTableHSb,
129
+ .sapUiTableCtrlScr,
130
+ .sapUiTableColHdrScr,
131
+ .sapUiTableRowActionScr,
132
+ .sapUiTableRowWithAction {
114
133
  margin-right: @_sap_ui_table_Scrolling_VScrollbarWidth;
115
134
 
116
135
  html.sap-tablet:not(.sap-desktop) &,
@@ -121,63 +140,76 @@
121
140
  }
122
141
 
123
142
  .sapUiTableVScr.sapUiTableRAct {
143
+
124
144
  ._sapUiTableVScrWithActionsInnerMixin();
125
145
  }
126
146
 
127
147
  .sapUiSizeCozy.sapUiTableVScr.sapUiTableRAct,
128
148
  .sapUiSizeCozy .sapUiTableVScr.sapUiTableRAct {
149
+
129
150
  ._sapUiTableVScrWithActionsInnerMixin("WidthCozy");
130
151
  }
131
152
 
132
153
  .sapUiSizeCondensed.sapUiTableVScr.sapUiTableRAct,
133
154
  .sapUiSizeCondensed .sapUiTableVScr.sapUiTableRAct {
155
+
134
156
  ._sapUiTableVScrWithActionsInnerMixin("WidthCondensed");
135
157
  }
136
158
 
137
159
  .sapUiTableVScr.sapUiTableRActS {
160
+
138
161
  ._sapUiTableVScrWithActionsInnerMixin("SmallWidth");
139
162
  }
140
163
 
141
164
  .sapUiSizeCozy.sapUiTableVScr.sapUiTableRActS,
142
165
  .sapUiSizeCozy .sapUiTableVScr.sapUiTableRActS {
166
+
143
167
  ._sapUiTableVScrWithActionsInnerMixin("SmallWidthCozy");
144
168
  }
145
169
 
146
170
  .sapUiSizeCondensed.sapUiTableVScr.sapUiTableRActS,
147
171
  .sapUiSizeCondensed .sapUiTableVScr.sapUiTableRActS {
172
+
148
173
  ._sapUiTableVScrWithActionsInnerMixin("SmallWidthCondensed");
149
174
  }
150
175
 
151
176
  .sapUiTableRAct:not(.sapUiTableVScr) {
177
+
152
178
  ._sapUiTableNoVScrWithActionsInnerMixin();
153
179
  }
154
180
 
155
181
  .sapUiSizeCozy.sapUiTableRAct:not(.sapUiTableVScr),
156
182
  .sapUiSizeCozy .sapUiTableRAct:not(.sapUiTableVScr) {
183
+
157
184
  ._sapUiTableNoVScrWithActionsInnerMixin("WidthCozy");
158
185
  }
159
186
 
160
187
  .sapUiSizeCondensed.sapUiTableRAct:not(.sapUiTableVScr),
161
188
  .sapUiSizeCondensed .sapUiTableRAct:not(.sapUiTableVScr) {
189
+
162
190
  ._sapUiTableNoVScrWithActionsInnerMixin("WidthCondensed");
163
191
  }
164
192
 
165
193
  .sapUiTableRActS:not(.sapUiTableVScr) {
194
+
166
195
  ._sapUiTableNoVScrWithActionsInnerMixin("SmallWidth");
167
196
  }
168
197
 
169
198
  .sapUiSizeCozy.sapUiTableRActS:not(.sapUiTableVScr),
170
199
  .sapUiSizeCozy .sapUiTableRActS:not(.sapUiTableVScr) {
200
+
171
201
  ._sapUiTableNoVScrWithActionsInnerMixin("SmallWidthCozy");
172
202
  }
173
203
 
174
204
  .sapUiSizeCondensed.sapUiTableRActS:not(.sapUiTableVScr),
175
205
  .sapUiSizeCondensed .sapUiTableRActS:not(.sapUiTableVScr) {
206
+
176
207
  ._sapUiTableNoVScrWithActionsInnerMixin("SmallWidthCondensed");
177
208
  }
178
209
 
179
210
  /* Hide last border right of column header and cell when no vertical scroll is available */
180
211
  .sapUiTable:not(.sapUiTableVScr) {
212
+
181
213
  .sapUiTableColHdrScr .sapUiTableHeaderCell:last-child,
182
214
  .sapUiTableCtrlScroll .sapUiTableTr > td:last-child {
183
215
  border-right: none;
@@ -198,7 +230,7 @@
198
230
  overflow-y: hidden;
199
231
  -webkit-overflow-scrolling: auto;
200
232
  border-right: @_sap_ui_table_BaseBorderWidth solid transparent; /* Simulates the right border of the table cells in the content area */
201
- background-color: @sapUiListBackground;
233
+ background-color: var(--sapList_Background);
202
234
  }
203
235
 
204
236
  .sapUiTableHSbBg {
@@ -214,7 +246,7 @@
214
246
  overflow-x: scroll;
215
247
  overflow-y: hidden;
216
248
  -webkit-overflow-scrolling: auto;
217
- background-color: @sapUiListBackground;
249
+ background-color: var(--sapList_Background);
218
250
  }
219
251
 
220
252
  .sapUiTableHSbContent {
@@ -223,15 +255,17 @@
223
255
 
224
256
  .sapUiTableHScr {
225
257
 
226
- .sapUiTableHSb, .sapUiTableHSbBg {
258
+ .sapUiTableHSb,
259
+ .sapUiTableHSbBg {
227
260
  display: block;
228
261
  }
229
262
 
230
263
  .sapUiTableFtr {
231
- border-top: @_sap_ui_table_BaseBorderWidth solid @sapUiListHeaderBorderColor;
264
+ border-top: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
232
265
  }
233
266
 
234
- .sapUiTableColReorderIndicator, .sapUiTableColRsz {
267
+ .sapUiTableColReorderIndicator,
268
+ .sapUiTableColRsz {
235
269
  bottom: @_sap_ui_table_Scrolling_HScrollbarHeight;
236
270
  }
237
271
 
@@ -240,50 +274,56 @@
240
274
  .sapUiTableVSb,
241
275
  .sapUiTableHSb,
242
276
  .sapUiTableHSbExternal {
277
+
243
278
  &::-webkit-scrollbar-thumb {
244
- background-color: @sapUiScrollBarFaceColor;
279
+ background-color: var(--sapScrollBar_FaceColor);
245
280
  }
246
281
 
247
282
  &::-webkit-scrollbar {
248
- background-color: @sapUiScrollBarTrackColor;
283
+ background-color: var(--sapScrollBar_TrackColor);
249
284
  }
250
285
 
251
286
  ._sap_ui_table_Scrolling_NativeScrollbarCommon();
252
287
  }
253
288
 
254
289
  html.sap-desktop {
290
+
255
291
  .sapUiTableVSb,
256
292
  .sapUiTableHSb,
257
293
  .sapUiTableHSbExternal {
294
+
258
295
  ._sap_ui_table_Scrolling_NativeScrollbarDesktop();
259
296
  }
260
297
 
261
298
  .sapUiTableVSb {
299
+
262
300
  &::-webkit-scrollbar:vertical {
263
301
  width: @_sap_ui_table_Scrolling_ScrollbarSize;
264
302
  }
265
303
 
266
304
  &::-webkit-scrollbar-thumb:vertical {
267
- border-left: 0.125rem solid @sapUiScrollBarTrackColor;
268
- border-right: 0.125rem solid @sapUiScrollBarTrackColor;
305
+ border-left: 0.125rem solid var(--sapScrollBar_TrackColor);
306
+ border-right: 0.125rem solid var(--sapScrollBar_TrackColor);
269
307
  }
270
308
  }
271
309
 
272
310
  .sapUiTableHSb,
273
311
  .sapUiTableHSbExternal {
312
+
274
313
  &::-webkit-scrollbar:horizontal {
275
314
  height: @_sap_ui_table_Scrolling_ScrollbarSize;
276
315
  }
277
316
 
278
317
  &::-webkit-scrollbar-thumb:horizontal {
279
- border-top: 0.125rem solid @sapUiScrollBarTrackColor;
280
- border-bottom: 0.125rem solid @sapUiScrollBarTrackColor;
318
+ border-top: 0.125rem solid var(--sapScrollBar_TrackColor);
319
+ border-bottom: 0.125rem solid var(--sapScrollBar_TrackColor);
281
320
  }
282
321
  }
283
322
  }
284
323
 
285
324
  html.sap-tablet:not(.sap-desktop),
286
325
  html.sap-phone {
326
+
287
327
  .sapUiTableVSb,
288
328
  .sapUiTableHSb,
289
329
  .sapUiTableHSbExternal {
@@ -292,6 +332,7 @@ html.sap-phone {
292
332
  }
293
333
 
294
334
  .sapUiTableVSb {
335
+
295
336
  &::-webkit-scrollbar:vertical {
296
337
  width: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
297
338
  }
@@ -299,13 +340,14 @@ html.sap-phone {
299
340
  &::-webkit-scrollbar-thumb:vertical {
300
341
  width: 0.25rem;
301
342
  min-height: 0.25rem;
302
- border-left: 0.125rem solid @sapUiScrollBarBorderColor;
303
- border-right: 0.125rem solid @sapUiScrollBarBorderColor;
343
+ border-left: 0.125rem solid var(--sapScrollBar_BorderColor);
344
+ border-right: 0.125rem solid var(--sapScrollBar_BorderColor);
304
345
  }
305
346
  }
306
347
 
307
348
  .sapUiTableHSb,
308
349
  .sapUiTableHSbExternal {
350
+
309
351
  &::-webkit-scrollbar:horizontal {
310
352
  height: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
311
353
  }
@@ -313,8 +355,8 @@ html.sap-phone {
313
355
  &::-webkit-scrollbar-thumb:horizontal {
314
356
  height: 0.25rem;
315
357
  min-width: 0.25rem;
316
- border-top: 0.125rem solid @sapUiScrollBarBorderColor;
317
- border-bottom: 0.125rem solid @sapUiScrollBarBorderColor;
358
+ border-top: 0.125rem solid var(--sapScrollBar_BorderColor);
359
+ border-bottom: 0.125rem solid var(--sapScrollBar_BorderColor);
318
360
  }
319
361
  }
320
362
 
@@ -330,13 +372,22 @@ html.sap-phone {
330
372
  }
331
373
 
332
374
  .sapUiTableVScr {
333
- .sapUiTableCtrlScr, .sapUiTableColHdrScr, .sapUiTableHSb, .sapUiTableRowActionScr, .sapUiTableRowWithAction {
375
+
376
+ .sapUiTableCtrlScr,
377
+ .sapUiTableColHdrScr,
378
+ .sapUiTableHSb,
379
+ .sapUiTableRowActionScr,
380
+ .sapUiTableRowWithAction {
334
381
  margin-right: @_sap_ui_table_Scrolling_VScrollbarWidthMobile;
335
382
  }
336
383
  }
337
384
 
338
385
  .sapUiTableHScr {
339
- .sapUiTableColReorderIndicator, .sapUiTableColRsz, .sapUiTableRowActionScr, .sapUiTableRowWithAction {
386
+
387
+ .sapUiTableColReorderIndicator,
388
+ .sapUiTableColRsz,
389
+ .sapUiTableRowActionScr,
390
+ .sapUiTableRowWithAction {
340
391
  bottom: @_sap_ui_table_Scrolling_HScrollbarHeightMobile;
341
392
  }
342
393
  }
@@ -11,21 +11,21 @@
11
11
  @_sap_ui_table_Table_FooterPaddingRight: 1rem;
12
12
  @_sap_ui_table_Table_TableHeaderBorderWidth: @_sap_ui_table_BaseBorderWidth;
13
13
 
14
- // Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters.
14
+ /* Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters. */
15
15
  ._sap_ui_table_Table_TitleContainer() {}
16
16
  ._sap_ui_table_Table_ExtensionContainer() {}
17
17
  ._sap_ui_table_Table_GridContainer() {}
18
18
 
19
- /*******************************************************************************
19
+ /**********************************************
20
20
  * MAIN TABLE SECTIONS (First Level Elements)
21
- ******************************************************************************/
21
+ **********************************************/
22
22
 
23
23
  .sapUiTable {
24
- font-family: @sapUiDesktopFontFamily;
25
- color: @sapUiListTextColor;
24
+ font-family: var(--sapFontFamily);
25
+ color: var(--sapList_TextColor);
26
26
  position: relative;
27
27
  box-sizing: border-box;
28
- z-index: 0; // Define stacking context to avoid conflicts with other controls
28
+ z-index: 0; /* Define stacking context to avoid conflicts with other controls */
29
29
  }
30
30
 
31
31
  .sapUiTableBefore {
@@ -37,7 +37,7 @@
37
37
  align-items: center;
38
38
  padding-left: @_sap_ui_table_Table_HeaderPaddingLeft;
39
39
  padding-right: @_sap_ui_table_Table_HeaderPaddingRight;
40
- background-color: @sapUiGroupTitleBackground;
40
+ background-color: var(--sapGroup_TitleBackground);
41
41
  min-height: @_sap_ui_table_Table_HeaderHeight;
42
42
 
43
43
  > * {
@@ -48,14 +48,15 @@
48
48
  }
49
49
 
50
50
  .sapUiTableHdrTitle {
51
- font-family: @sapUiFontHeaderFamily;
52
- font-size: @sapMFontHeader4Size;
51
+ font-family: var(--sapFontHeaderFamily);
52
+ font-size: var(--sapFontHeader4Size);
53
53
  font-weight: @sapUiFontHeaderWeight;
54
- color: @sapUiGroupTitleTextColor;
54
+ color: var(--sapGroup_TitleTextColor);
55
55
  }
56
56
 
57
57
  .sapUiTableTbr,
58
58
  .sapUiTableExt {
59
+
59
60
  ._sap_ui_table_Table_ExtensionContainer();
60
61
  }
61
62
 
@@ -65,20 +66,21 @@
65
66
  overflow: hidden; /* avoid scrollbar for column resize handlers */
66
67
  border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
67
68
  border-right: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
68
- border-top: @_sap_ui_table_BaseBorderWidth solid @sapUiListBorderColor;
69
- background-color: @sapBackgroundColor;
69
+ border-top: @_sap_ui_table_BaseBorderWidth solid var(--sapList_BorderColor);
70
+ background-color: var(--sapBackgroundColor);
71
+
70
72
  ._sap_ui_table_Table_GridContainer();
71
73
  }
72
74
 
73
75
  .sapUiTableFtr {
74
76
  display: flex;
75
77
  align-items: center;
76
- border-bottom: @_sap_ui_table_BaseBorderWidth solid @sapUiListHeaderBorderColor;
77
- border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListHeaderBorderColor;
78
- border-right: @_sap_ui_table_BaseBorderWidth solid @sapUiListHeaderBorderColor;
78
+ border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
79
+ border-left: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
80
+ border-right: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
79
81
  box-sizing: border-box;
80
82
  min-height: @_sap_ui_table_Table_FooterHeight;
81
- background-color: @sapUiListBackground;
83
+ background-color: var(--sapList_Background);
82
84
  padding-left: @_sap_ui_table_Table_FooterPaddingLeft;
83
85
  padding-right: @_sap_ui_table_Table_FooterPaddingLeft;
84
86
  font-weight: bold;
@@ -89,9 +91,9 @@
89
91
  }
90
92
 
91
93
  .sapUiTablePlaceholder {
92
- background-color: @sapUiListBackground;
94
+ background-color: var(--sapList_Background);
93
95
  box-sizing: border-box;
94
- border-bottom: @_sap_ui_table_BaseBorderWidth solid @sapUiListHeaderBorderColor;
96
+ border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
95
97
  }
96
98
 
97
99
  .sapUiTableOuterAfter,
@@ -99,9 +101,9 @@
99
101
  display: none;
100
102
  }
101
103
 
102
- /*******************************************************************************
104
+ /**********************************************
103
105
  * OTHERS
104
- ******************************************************************************/
106
+ **********************************************/
105
107
 
106
108
  .sapUiTableNoOpacity {
107
109
  opacity: 0;
@@ -115,22 +117,22 @@
115
117
  display: inline-block;
116
118
  }
117
119
 
118
- // Hide table during transition, because shrinked width causes growing rows
120
+ /* Hide table during transition, because shrinked width causes growing rows */
119
121
  .sapMNavItemFlipping .sapUiTable {
120
122
  opacity: 0;
121
123
  }
122
124
 
123
125
  .sapUiTable .sapUiLocalBusyIndicator {
124
- z-index: 11; // The BusyIndicator deserves to be on top!
126
+ z-index: 11; /* The BusyIndicator deserves to be on top! */
125
127
  }
126
128
 
127
129
  .sapUiTableHidden {
128
130
  display: none;
129
131
  }
130
132
 
131
- /*******************************************************************************
133
+ /**********************************************
132
134
  * OVERLAY / NODATA AREA
133
- ******************************************************************************/
135
+ **********************************************/
134
136
 
135
137
  .sapUiTableCtrlEmptyMsg {
136
138
  position: absolute;
@@ -158,12 +160,12 @@
158
160
  }
159
161
 
160
162
  .sapUiTableCtrlEmpty {
161
- background-color: @sapUiListBackground;
163
+ background-color: var(--sapList_Background);
162
164
  font-size: @sapMFontMediumSize;
163
- z-index: 10; // Makes sure that the NoData overlays the rows. For example, sapUiTableRowActionScr also has a z-index.
165
+ z-index: 10; /* Makes sure that the NoData overlays the rows. For example, sapUiTableRowActionScr also has a z-index. */
164
166
 
165
167
  .sapUiSizeCozy & {
166
- font-size: @sapMFontLargeSize;
168
+ font-size: var(--sapFontLargeSize);
167
169
  }
168
170
  }
169
171
 
@@ -179,6 +181,7 @@
179
181
  }
180
182
 
181
183
  .sapUiTableEmpty {
184
+
182
185
  .sapUiTableCtrlEmpty {
183
186
  display: block;
184
187
  }
@@ -191,10 +194,10 @@
191
194
  .sapUiTableOverlayArea:focus,
192
195
  .sapUiTableCtrlEmpty:focus,
193
196
  .sapUiTableCnt > .sapUiLocalBusyIndicator:focus {
194
- outline-width: @sapUiContentFocusWidth;
195
- outline-style: @sapUiContentFocusStyle;
197
+ outline-width: var(--sapContent_FocusWidth);
198
+ outline-style: var(--sapContent_FocusStyle);
196
199
  outline-offset: -3px;
197
- outline-color: @sapUiContentFocusColor;
200
+ outline-color: var(--sapContent_FocusColor);
198
201
  }
199
202
 
200
203
  .sapUiTable.sapUiTableOverlay {
@@ -242,20 +245,20 @@
242
245
 
243
246
  }
244
247
 
245
- /*******************************************************************************
248
+ /**********************************************
246
249
  * COLUMN HEADERS
247
- ******************************************************************************/
250
+ **********************************************/
248
251
 
249
252
  .sapUiTableColHdrCnt {
250
253
  display: none;
251
254
  position: relative;
252
- background-color: @sapUiListHeaderBackground;
255
+ background-color: var(--sapList_HeaderBackground);
253
256
  max-width: 100%;
254
257
  overflow: hidden;
255
258
  white-space: nowrap;
256
259
  min-height: @_sap_ui_table_ColumnHeaderHeight;
257
- border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid @sapList_HeaderBorderColor;
258
- color: @sapUiListTextColor;
260
+ border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid var(--sapList_HeaderBorderColor);
261
+ color: var(--sapList_TextColor);
259
262
  }
260
263
 
261
264
  .sapUiTableCHdr .sapUiTableColHdrCnt {
@@ -264,7 +267,7 @@
264
267
 
265
268
  .sapUiSizeCozy .sapUiTableColHdrCnt {
266
269
  min-height: @_sap_ui_table_ColumnHeaderHeightCozy;
267
- border-bottom-color: @sapUiListHeaderBorderColor;
270
+ border-bottom-color: var(--sapList_HeaderBorderColor);
268
271
  }
269
272
 
270
273
  .sapUiTableColHdrScr {
@@ -288,9 +291,9 @@
288
291
  min-height: @_sap_ui_table_ColumnHeaderHeightCozy;
289
292
  }
290
293
 
291
- /*******************************************************************************
294
+ /**********************************************
292
295
  * ROW HEADERS
293
- ******************************************************************************/
296
+ **********************************************/
294
297
 
295
298
  .sapUiTableRowHdrScr {
296
299
  display: none;
@@ -320,6 +323,7 @@
320
323
  }
321
324
 
322
325
  .sapUiSizeCondensed {
326
+
323
327
  .sapUiTableRowHdrScr {
324
328
  min-height: @_sap_ui_table_RowHeightCondensed;
325
329
  }
@@ -334,6 +338,7 @@
334
338
  }
335
339
 
336
340
  .sapUiSizeCozy {
341
+
337
342
  .sapUiTableRowHdrScr {
338
343
  min-height: @_sap_ui_table_RowHeightCozy;
339
344
  }
@@ -351,11 +356,12 @@
351
356
  font-size: 0;
352
357
  }
353
358
 
354
- /*******************************************************************************
359
+ /**********************************************
355
360
  * Row Actions
356
- ******************************************************************************/
361
+ **********************************************/
357
362
 
358
- .sapUiTableRowActionScr, .sapUiTableRowWithAction {
363
+ .sapUiTableRowActionScr,
364
+ .sapUiTableRowWithAction {
359
365
  display: none;
360
366
  position: absolute;
361
367
  top: 0;
@@ -363,6 +369,7 @@
363
369
  box-sizing: border-box;
364
370
  z-index: 4; /* Ensure Action Area before Resize/Reorder bars*/
365
371
  touch-action: pan-x; /* for touch scrolling, vertical only */
372
+
366
373
  .sapUiTableRActFlexible & {
367
374
  right: auto;
368
375
  }
@@ -371,19 +378,21 @@
371
378
  .sapUiTableRAct,
372
379
  .sapUiTableRActS,
373
380
  .sapUiTableRowNavIndicator {
374
- & .sapUiTableRowActionScr, & .sapUiTableRowWithAction {
381
+
382
+ & .sapUiTableRowActionScr,
383
+ & .sapUiTableRowWithAction {
375
384
  display: block;
376
385
  }
377
386
  }
378
387
 
379
- /*******************************************************************************
388
+ /**********************************************
380
389
  * INNER TABLE
381
- ******************************************************************************/
390
+ **********************************************/
382
391
 
383
392
  .sapUiTableCCnt {
384
393
  position: relative;
385
394
  overflow: hidden;
386
- border-bottom: @_sap_ui_table_BaseBorderWidth solid @sapUiListHeaderBorderColor;
395
+ border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
387
396
  }
388
397
 
389
398
  .sapUiTableCtrlCnt {
@@ -425,7 +434,8 @@
425
434
 
426
435
  /* disable horizontal touch move behavior on fixed table rows
427
436
  horizontal scrolling is done by the scroll extension */
428
- .sapUiTableCtrlRowFixed, .sapUiTableCtrlRowFixedBottom {
437
+ .sapUiTableCtrlRowFixed,
438
+ .sapUiTableCtrlRowFixedBottom {
429
439
  touch-action: pan-y;
430
440
  }
431
441
 
@@ -439,6 +449,7 @@
439
449
  }
440
450
 
441
451
  .sapUiTableRowSelectors:not(.sapUiTableRowHighlights) {
452
+
442
453
  .sapUiTableCtrlScr,
443
454
  .sapUiTableCtrlScrFixed {
444
455
  margin-left: @_sap_ui_table_RowSelectorWidth;
@@ -446,6 +457,7 @@
446
457
  }
447
458
 
448
459
  .sapUiTableRowHighlights:not(.sapUiTableRowSelectors) {
460
+
449
461
  .sapUiTableCtrlScr,
450
462
  .sapUiTableCtrlScrFixed {
451
463
  margin-left: @_sap_ui_table_RowHighlightWidth;
@@ -453,6 +465,7 @@
453
465
  }
454
466
 
455
467
  .sapUiTableRowSelectors.sapUiTableRowHighlights {
468
+
456
469
  .sapUiTableCtrlScr,
457
470
  .sapUiTableCtrlScrFixed {
458
471
  margin-left: calc(@_sap_ui_table_RowSelectorWidth ~"+" @_sap_ui_table_RowHighlightWidth);
@@ -465,6 +478,7 @@
465
478
  .sapUiTableRowSelectors {
466
479
 
467
480
  &:not(.sapUiTableRowHighlights) {
481
+
468
482
  .sapUiTableCtrlScr,
469
483
  .sapUiTableCtrlScrFixed {
470
484
  margin-left: @_sap_ui_table_RowSelectorWidthCozy;
@@ -476,6 +490,7 @@
476
490
  .sapUiTableRowSelectors {
477
491
 
478
492
  &.sapUiTableRowHighlights {
493
+
479
494
  .sapUiTableCtrlScr,
480
495
  .sapUiTableCtrlScrFixed {
481
496
  margin-left: calc(@_sap_ui_table_RowSelectorWidthCozy ~"+" @_sap_ui_table_RowHighlightWidth);
@@ -490,6 +505,7 @@
490
505
  .sapUiTableRowSelectors {
491
506
 
492
507
  &:not(.sapUiTableRowHighlights) {
508
+
493
509
  .sapUiTableCtrlScr,
494
510
  .sapUiTableCtrlScrFixed {
495
511
  margin-left: @_sap_ui_table_RowSelectorWidthCondensed;
@@ -501,6 +517,7 @@
501
517
  .sapUiTableRowSelectors {
502
518
 
503
519
  &.sapUiTableRowHighlights {
520
+
504
521
  .sapUiTableCtrlScr,
505
522
  .sapUiTableCtrlScrFixed {
506
523
  margin-left: calc(@_sap_ui_table_RowSelectorWidthCondensed ~"+" @_sap_ui_table_RowHighlightWidth);
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 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";
7
7
  @import "../../../../../sap/ui/core/themes/base/global.less";
8
8
 
9
- // Note: The units might not be stable. Therefore, do not rely on Less internal math, but use CSS calc() to make calculations.
9
+ /* Note: The units might not be stable. Therefore, do not rely on Less internal math, but use CSS calc() to make calculations. */
10
10
 
11
- @_sap_ui_table_BaseSize: @_sap_ui_table_BaseSizeCompact; // Default, if no density is defined.
12
- @_sap_ui_table_BaseSizeCozy: 3rem; //@sapUiElementLineHeight;
11
+ @_sap_ui_table_BaseSize: @_sap_ui_table_BaseSizeCompact; /* Default, if no density is defined. */
12
+ @_sap_ui_table_BaseSizeCozy: 3rem; /* @sapUiElementLineHeight; */
13
13
  @_sap_ui_table_BaseSizeCompact: 2rem;
14
14
  @_sap_ui_table_BaseSizeCondensed: 1.5rem;
15
15
  @_sap_ui_table_BaseBorderWidth: @sapUiElementBorderWidth;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * OpenUI5
3
- * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6