@scania/tegel-lite 0.1.0 → 1.0.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 (68) hide show
  1. package/README.dev.md +1 -5
  2. package/README.md +12 -12
  3. package/dist/assets/fonts/traton/TratonTypeDisplay-Bold.woff +0 -0
  4. package/dist/assets/fonts/traton/TratonTypeDisplay-Bold.woff2 +0 -0
  5. package/dist/assets/fonts/traton/TratonTypeDisplay-Medium.woff +0 -0
  6. package/dist/assets/fonts/traton/TratonTypeDisplay-Medium.woff2 +0 -0
  7. package/dist/assets/fonts/traton/TratonTypeText-Bold.woff +0 -0
  8. package/dist/assets/fonts/traton/TratonTypeText-Bold.woff2 +0 -0
  9. package/dist/assets/fonts/traton/TratonTypeText-BoldItalic.woff +0 -0
  10. package/dist/assets/fonts/traton/TratonTypeText-BoldItalic.woff2 +0 -0
  11. package/dist/assets/fonts/traton/TratonTypeText-Italic.woff +0 -0
  12. package/dist/assets/fonts/traton/TratonTypeText-Italic.woff2 +0 -0
  13. package/dist/assets/fonts/traton/TratonTypeText-Medium.woff +0 -0
  14. package/dist/assets/fonts/traton/TratonTypeText-Medium.woff2 +0 -0
  15. package/dist/assets/fonts/traton/TratonTypeText-MediumItalic.woff +0 -0
  16. package/dist/assets/fonts/traton/TratonTypeText-MediumItalic.woff2 +0 -0
  17. package/dist/assets/fonts/traton/TratonTypeText-Regular.woff +0 -0
  18. package/dist/assets/fonts/traton/TratonTypeText-Regular.woff2 +0 -0
  19. package/dist/assets/fonts/traton/TratonTypeText-SemiBold.woff +0 -0
  20. package/dist/assets/fonts/traton/TratonTypeText-SemiBold.woff2 +0 -0
  21. package/dist/assets/fonts/traton/TratonTypeText-SemiBoldItalic.woff2 +0 -0
  22. package/dist/assets/icons/scania/configurator.svg +1 -0
  23. package/dist/assets/icons/traton/edit_inactive.svg +1 -0
  24. package/dist/assets/icons/traton/placeholder.svg +3 -0
  25. package/dist/assets/icons/traton/skip_backwards.svg +1 -0
  26. package/dist/assets/icons/traton/skip_forward.svg +1 -0
  27. package/dist/components.css +3993 -6847
  28. package/dist/global.css +627 -5641
  29. package/dist/scania-variables.css +661 -565
  30. package/dist/tl-accordion.css +88 -35
  31. package/dist/tl-banner.css +87 -12
  32. package/dist/tl-block.css +62 -7
  33. package/dist/tl-breadcrumbs.css +55 -6
  34. package/dist/tl-button.css +498 -87
  35. package/dist/tl-card.css +80 -54
  36. package/dist/tl-checkbox.css +195 -115
  37. package/dist/tl-datetime.css +7 -4
  38. package/dist/tl-divider.css +61 -3
  39. package/dist/tl-footer.css +116 -18
  40. package/dist/tl-icon.css +6 -2
  41. package/dist/tl-link.css +114 -16
  42. package/dist/tl-message.css +128 -14
  43. package/dist/tl-modal.css +165 -16
  44. package/dist/tl-radio-button.css +158 -96
  45. package/dist/tl-text-field.css +272 -140
  46. package/dist/tl-textarea.css +274 -76
  47. package/dist/tl-toast.css +119 -10
  48. package/dist/tl-toggle.css +150 -45
  49. package/dist/tl-tooltip.css +17 -15
  50. package/dist/traton-variables.css +682 -447
  51. package/package.json +6 -27
  52. package/dist/tl-badge.css +0 -44
  53. package/dist/tl-checkbox-vars.css +0 -38
  54. package/dist/tl-chip.css +0 -149
  55. package/dist/tl-dropdown.css +0 -857
  56. package/dist/tl-folder-tabs.css +0 -139
  57. package/dist/tl-header.css +0 -859
  58. package/dist/tl-inline-tabs.css +0 -173
  59. package/dist/tl-navigation-tabs.css +0 -171
  60. package/dist/tl-popover-canvas.css +0 -70
  61. package/dist/tl-popover-menu.css +0 -123
  62. package/dist/tl-side-menu.css +0 -540
  63. package/dist/tl-slider.css +0 -1854
  64. package/dist/tl-spinner.css +0 -78
  65. package/dist/tl-step.css +0 -213
  66. package/dist/tl-stepper.css +0 -57
  67. package/dist/tl-table.css +0 -827
  68. /package/dist/assets/icons/scania/{gift inactive.svg → gift_inactive.svg} +0 -0
package/dist/tl-table.css DELETED
@@ -1,827 +0,0 @@
1
- :host,
2
- :root {
3
- --tl-scrollbar-width-standard: thin;
4
- --tl-scrollbar-width: 10px;
5
- --tl-scrollbar-height: 10px;
6
- --tl-scrollbar-thumb-border-width: 3px;
7
- --tl-scrollbar-thumb-border-hover-width: 2px;
8
- }
9
-
10
- body {
11
- scrollbar-width: thin;
12
- }
13
-
14
- .tl-table {
15
- /* Table-text */
16
- --table-text: var(--color-foreground-text-strong);
17
- /* Table-body-cell */
18
- --table-body-cell-hover: var(--component-table-cell-hover);
19
- /* Table-body-row */
20
- --table-body-row: var(--component-table-cell);
21
- --table-body-row-hover: var(--component-table-cell-hover);
22
- --table-zebra-mode: var(--component-table-secondary-cell);
23
- --table-body-row-selected: var(--color-background-surface-300);
24
- --table-body-row-selected-hover: var(--color-background-surface-400);
25
- /* Table input body */
26
- --table-input-focus: var(--color-background-layer-02);
27
- --table-input-hover: var(--color-background-layer-03);
28
- --table-input-disabled: var(--color-background-layer-01);
29
- --table-input-text-disabled: var(--color-foreground-text-subtle);
30
- /* Table input header */
31
- --table-input-header-icon: var(--color-foreground-icon-soft);
32
- --table-input-header-placeholder: var(--color-foreground-text-subtle);
33
- --table-input-header-focus: var(--color-background-layer-01);
34
- /* Table-footer */
35
- --table-footer: var(--component-table-pagination-base);
36
- --table-footer-page-selector-input: var(--component-table-pagination-dropdown);
37
- --table-footer-page-selector-input-hover: var(--color-background-layer-03);
38
- --table-footer-page-selector-input-disabled: var(--color-background-layer-01);
39
- --table-footer-button-hover: var(--color-background-surface-300);
40
- /* Table-header */
41
- --table-header: var(--color-background-surface-300);
42
- --table-header-hover: var(--color-background-surface-400);
43
- --table-header-button: var(--color-background-surface-200);
44
- --table-header-button-hover: var(--color-background-surface-300);
45
- --table-header-button-focus: var(--color-foreground-border-accent-focus);
46
- /* Table-toolbar */
47
- --table-toolbar: var(--color-background-surface-400);
48
- --table-toolbar-searchbar: var(--component-table-pagination-dropdown);
49
- --table-toolbar-searchbar-hover: var(--component-table-pagination-base);
50
- --table-toolbar-searchbar-border-bottom: var(--color-foreground-border-accent-focus);
51
- /* Divider */
52
- --table-divider: var(--color-foreground-border-discrete);
53
- /* Table-icons */
54
- --table-icon: var(--color-foreground-icon-strong);
55
- --table-icon-disabled: var(--color-foreground-icon-disabled);
56
- }
57
- .tl-table.tl-table--primary {
58
- --table-body-row: var(--component-table-cell);
59
- --table-body-row-hover: var(--component-table-cell-hover);
60
- --table-body-cell-hover: var(--component-table-cell-hover);
61
- --table-zebra-mode: var(--component-table-secondary-cell);
62
- }
63
- .tl-table.tl-table--secondary {
64
- --table-body-row: var(--component-table-secondary-cell);
65
- --table-body-row-hover: var(--component-table-cell-hover);
66
- --table-body-cell-hover: var(--component-table-cell-hover);
67
- --table-zebra-mode: var(--component-table-cell);
68
- }
69
-
70
- .tds-mode-dark .tl-table.tl-table--secondary {
71
- --table-body-cell-hover: var(--color-background-surface-300);
72
- --table-body-row-hover: var(--color-background-surface-300);
73
- }
74
-
75
- /* Typography Usage mixins */
76
- .tl-table__footer {
77
- display: table-footer-group;
78
- height: var(--tds-spacing-element-48);
79
- }
80
- .tl-table--compact .tl-table__footer {
81
- height: var(--tds-spacing-element-32);
82
- }
83
-
84
- .tl-table__footer .tl-dropdown__text {
85
- max-width: calc(100% - 20px);
86
- }
87
-
88
- .tl-table__footer .tl-dropdown--sm :is(.tl-dropdown__button, .tl-dropdown__select, .tl-dropdown__input),
89
- .tl-table__footer .tl-dropdown__option {
90
- height: 29px;
91
- }
92
-
93
- .tl-table__footer-row {
94
- display: table-row;
95
- border-bottom: 1px solid var(--table-divider);
96
- background-color: var(--table-footer);
97
- color: var(--table-text);
98
- transition: background-color 200ms ease;
99
- }
100
-
101
- .tl-table__footer-cell {
102
- padding: 0 var(--tds-spacing-element-16);
103
- }
104
-
105
- .tl-table__pagination {
106
- height: var(--tds-spacing-element-48);
107
- display: flex;
108
- align-items: center;
109
- justify-content: space-between;
110
- }
111
- .tl-table--compact .tl-table__pagination {
112
- height: var(--tds-spacing-element-32);
113
- }
114
-
115
- .tl-table__row-selector,
116
- .tl-table__page-selector {
117
- display: flex;
118
- align-items: center;
119
- }
120
-
121
- .tl-table__rows-per-page {
122
- margin-right: var(--tds-spacing-element-16);
123
- display: flex;
124
- align-items: center;
125
- }
126
-
127
- .tl-table__rows-per-page-label {
128
- margin-right: var(--tds-spacing-element-8);
129
- font-family: var(--detail-02-font-family);
130
- }
131
-
132
- .tl-table__rows-per-page-select {
133
- background-color: var(--table-footer-page-selector-input);
134
- color: var(--table-text);
135
- height: 30px;
136
- border: none;
137
- border-radius: var(--tds-spacing-element-4);
138
- padding: 0 var(--tds-spacing-element-8);
139
- transition: background-color 250ms ease;
140
- font-family: var(--detail-02-font-family);
141
- }
142
- .tl-table__rows-per-page-select:hover {
143
- background-color: var(--table-footer-page-selector-input-hover);
144
- }
145
- .tl-table__rows-per-page-select:disabled {
146
- color: var(--table-footer-page-selector-input-color-disabled);
147
- }
148
- .tl-table--compact .tl-table__rows-per-page-select {
149
- height: var(--tds-spacing-element-24);
150
- }
151
-
152
- .tl-table__page-selector-input {
153
- background-color: var(--table-footer-page-selector-input);
154
- border-radius: var(--tds-spacing-element-4);
155
- color: var(--table-text);
156
- margin-right: var(--tds-spacing-element-4);
157
- padding-right: var(--tds-spacing-element-8);
158
- width: 74px;
159
- height: 30px;
160
- border: none;
161
- transition: background-color 250ms ease;
162
- font-family: var(--detail-02-font-family);
163
- }
164
- .tl-table__page-selector-input:hover {
165
- background-color: var(--table-footer-page-selector-input-hover);
166
- }
167
- .tl-table__page-selector-input:disabled {
168
- color: var(--table-footer-page-selector-input-color-disabled);
169
- }
170
- .tl-table--compact .tl-table__page-selector-input {
171
- height: var(--tds-spacing-element-24);
172
- }
173
-
174
- .tl-table__footer-text {
175
- padding: 1px 22px 0 0;
176
- font-family: var(--detail-02-font-family);
177
- }
178
- .tl-table__footer-text span {
179
- font-family: var(--detail-02-font-family);
180
- }
181
-
182
- .tl-table__footer-button {
183
- border-radius: var(--tds-spacing-element-4);
184
- color: var(--table-icon);
185
- height: var(--tds-spacing-element-32);
186
- width: var(--tds-spacing-element-32);
187
- display: flex;
188
- justify-content: center;
189
- align-items: center;
190
- border: none;
191
- background-color: transparent;
192
- cursor: pointer;
193
- transition: background-color 250ms ease;
194
- }
195
- .tl-table__footer-button:hover {
196
- background-color: var(--table-footer-button-hover);
197
- }
198
- .tl-table__footer-button:disabled {
199
- color: var(--table-icon-disabled);
200
- cursor: default;
201
- }
202
- .tl-table__footer-button:disabled:hover {
203
- background-color: transparent;
204
- }
205
- .tl-table--compact .tl-table__footer-button {
206
- height: 28px;
207
- width: 28px;
208
- }
209
-
210
- .tl-table {
211
- box-sizing: border-box;
212
- }
213
- .tl-table * {
214
- box-sizing: border-box;
215
- }
216
- .tl-table {
217
- border-collapse: collapse;
218
- display: table;
219
- color: var(--table-text);
220
- }
221
- .tl-table--responsive {
222
- width: 100%;
223
- }
224
- .tl-table--horizontal-scroll {
225
- display: block;
226
- overflow-x: auto;
227
- white-space: nowrap;
228
- }
229
- .tl-table--horizontal-scroll::-webkit-scrollbar {
230
- height: var(--tl-scrollbar-height);
231
- }
232
- .tl-table--horizontal-scroll::-webkit-scrollbar-track {
233
- background: var(--tl-scrollbar-track-color);
234
- }
235
- .tl-table--horizontal-scroll::-webkit-scrollbar-thumb {
236
- border-radius: 40px;
237
- background: var(--tl-scrollbar-thumb-color);
238
- border-width: var(--tl-scrollbar-thumb-border-width);
239
- border-style: solid;
240
- border-color: transparent;
241
- background-clip: padding-box;
242
- }
243
- .tl-table--horizontal-scroll::-webkit-scrollbar-thumb:hover {
244
- border-width: var(--tl-scrollbar-thumb-border-hover-width);
245
- }
246
- .tl-table--horizontal-scroll::-webkit-scrollbar-button {
247
- height: 0;
248
- width: 0;
249
- }
250
- @supports not selector(::-webkit-scrollbar) {
251
- .tl-table--horizontal-scroll {
252
- scrollbar-color: var(--tl-scrollbar-thumb-color) var(--tl-scrollbar-track-color);
253
- scrollbar-width: var(--tl-scrollbar-width-standard);
254
- }
255
- }
256
- .tl-table--primary {
257
- --table-body-row: var(--component-table-cell);
258
- --table-body-row-hover: var(--component-table-cell-hover);
259
- --table-zebra-mode: var(--component-table-secondary-cell);
260
- }
261
- .tl-table--secondary {
262
- --table-body-row: var(--component-table-secondary-cell);
263
- --table-body-row-hover: var(--component-table-cell-hover);
264
- --table-zebra-mode: var(--component-table-cell);
265
- }
266
-
267
- .tl-table__header {
268
- display: table-header-group;
269
- }
270
-
271
- .tl-table__body {
272
- display: table-row-group;
273
- }
274
-
275
- .tl-table__row {
276
- display: table-row;
277
- border-bottom: 1px solid var(--table-divider);
278
- background-color: var(--table-body-row);
279
- transition: background-color 200ms ease;
280
- color: var(--table-text);
281
- }
282
- .tl-table__row:hover:not(.tl-table__row--expanded) {
283
- background-color: var(--table-body-row-hover);
284
- border-bottom-color: var(--table-divider);
285
- }
286
- .tl-table__row--selected {
287
- background-color: var(--table-body-row-selected);
288
- }
289
- .tl-table__row--selected:hover {
290
- background-color: var(--table-body-row-selected-hover);
291
- }
292
- .tl-table--clickable .tl-table__row, .tl-table__row--clickable {
293
- cursor: pointer;
294
- }
295
- .tl-table__row--clickable:focus-visible {
296
- outline: 2px solid var(--table-header-button-focus);
297
- outline-offset: -2px;
298
- }
299
- .tl-table--zebra-rows-odd .tl-table__body .tl-table__row:nth-child(odd) {
300
- background-color: var(--table-zebra-mode);
301
- }
302
- .tl-table--zebra-rows-even .tl-table__body .tl-table__row:nth-child(even) {
303
- background-color: var(--table-zebra-mode);
304
- }
305
-
306
- .tl-table__header-cell {
307
- display: table-cell;
308
- padding: 16px;
309
- background-color: var(--table-header);
310
- border-bottom: 1px solid var(--table-divider);
311
- font-family: var(--headline-07-font-family);
312
- font-size: var(--headline-07-font-size);
313
- line-height: var(--headline-07-line-height);
314
- font-weight: var(--headline-07-font-weight);
315
- letter-spacing: var(--headline-07-letter-spacing);
316
- text-transform: var(--headline-07-text-transform);
317
- color: var(--table-text);
318
- text-align: left;
319
- transition: background-color 200ms ease;
320
- min-width: 192px;
321
- }
322
- .tl-table__header-cell:hover:not(.tl-table__header-cell--checkbox):not(.tl-table__header-cell--expand) {
323
- background-color: var(--table-header-hover);
324
- }
325
- .tl-table__header-cell:first-of-type {
326
- border-top-left-radius: 4px;
327
- }
328
- .tl-table__header-cell:last-of-type {
329
- border-top-right-radius: 4px;
330
- }
331
- .tl-table:has(.tl-table__toolbar) .tl-table__header-cell:first-of-type, .tl-table__header-cell:has(.tl-table__header-input-wrapper):first-of-type {
332
- border-top-left-radius: 0;
333
- }
334
- .tl-table:has(.tl-table__toolbar) .tl-table__header-cell:last-of-type, .tl-table__header-cell:has(.tl-table__header-input-wrapper):last-of-type {
335
- border-top-right-radius: 0;
336
- }
337
- .tl-table__header-cell:has(.tl-table__header-input-wrapper), .tl-table--no-header-padding .tl-table__header-cell, .tl-table__header-cell--sortable {
338
- padding: 0;
339
- }
340
- .tl-table__header-cell--checkbox, .tl-table__header-cell--expand {
341
- min-width: 48px;
342
- width: 48px;
343
- padding: 0;
344
- text-align: center;
345
- background-color: var(--table-header);
346
- }
347
- .tl-table--compact .tl-table__header-cell {
348
- height: 32px;
349
- padding: 8px 16px;
350
- }
351
- .tl-table--compact .tl-table__header-cell--checkbox, .tl-table--compact .tl-table__header-cell--expand, .tl-table--compact .tl-table__header-cell:has(.tl-table__header-input-wrapper) {
352
- padding: 0;
353
- }
354
- .tl-table--no-min-width .tl-table__header-cell {
355
- min-width: unset;
356
- }
357
- .tl-table--header-text-align-left .tl-table__header-cell {
358
- text-align: left;
359
- }
360
- .tl-table--header-text-align-start .tl-table__header-cell {
361
- text-align: start;
362
- }
363
- .tl-table--header-text-align-center .tl-table__header-cell {
364
- text-align: center;
365
- }
366
- .tl-table--header-text-align-right .tl-table__header-cell {
367
- text-align: right;
368
- }
369
- .tl-table--header-text-align-end .tl-table__header-cell {
370
- text-align: end;
371
- }
372
-
373
- .tl-table__header-button {
374
- display: flex;
375
- align-items: center;
376
- gap: 8px;
377
- justify-content: start;
378
- flex-direction: row;
379
- width: 100%;
380
- height: 100%;
381
- padding: 16px;
382
- background-color: transparent;
383
- border: none;
384
- cursor: pointer;
385
- transition: background-color 200ms ease;
386
- font-family: var(--headline-07-font-family);
387
- font-size: var(--headline-07-font-size);
388
- line-height: var(--headline-07-line-height);
389
- font-weight: var(--headline-07-font-weight);
390
- letter-spacing: var(--headline-07-letter-spacing);
391
- text-transform: var(--headline-07-text-transform);
392
- color: var(--table-text);
393
- text-align: left;
394
- }
395
- .tl-table__header-button:focus-visible, .tl-table__header-button:focus, .tl-table__header-button:active {
396
- outline: 2px solid var(--table-header-button-focus);
397
- outline-offset: -2px;
398
- }
399
- .tl-table--compact .tl-table__header-button {
400
- padding: 0;
401
- }
402
-
403
- .tl-table__header-button-text {
404
- color: var(--table-text);
405
- text-align: left;
406
- }
407
-
408
- .tl-table__header-button-icon {
409
- flex: 0 0 16px;
410
- height: 16px;
411
- width: 16px;
412
- opacity: 0;
413
- transform-origin: center;
414
- transition: opacity 200ms ease-in, transform 200ms ease;
415
- color: var(--table-text);
416
- }
417
-
418
- .tl-table__header-button:focus-visible .tl-table__header-button-icon,
419
- .tl-table__header-button:focus .tl-table__header-button-icon,
420
- .tl-table__header-button:active .tl-table__header-button-icon,
421
- .tl-table__header-button:hover .tl-table__header-button-icon {
422
- opacity: 1;
423
- }
424
-
425
- .tl-table__header-cell--is-sorted {
426
- background-color: var(--table-header-button);
427
- }
428
-
429
- .tl-table__header-cell--is-sorted:hover {
430
- background-color: var(--table-header-button-hover);
431
- }
432
-
433
- .tl-table__header-cell--is-sorted .tl-table__header-button-icon {
434
- opacity: 1;
435
- }
436
-
437
- .tl-table__header-cell--is-sorted .tl-table__header-button-icon--rotate {
438
- transform: rotate(180deg);
439
- }
440
-
441
- .tl-table__body-cell {
442
- display: table-cell;
443
- padding: 16px;
444
- background-color: transparent;
445
- color: var(--table-text);
446
- font-family: var(--detail-02-font-family);
447
- font-size: var(--detail-02-font-size);
448
- line-height: var(--detail-02-line-height);
449
- font-weight: var(--detail-02-font-weight);
450
- letter-spacing: var(--detail-02-letter-spacing);
451
- text-transform: var(--detail-02-text-transform);
452
- transition: background-color 200ms ease;
453
- min-width: 192px;
454
- }
455
- .tl-table__body-cell:focus {
456
- background-color: var(--table-input-focus);
457
- }
458
- .tl-table__body-cell:hover:not(.tl-table__body-cell--checkbox) {
459
- background-color: var(--table-body-cell-hover);
460
- }
461
- .tl-table__row--expanded .tl-table__body-cell:hover:not(.tl-table__body-cell--checkbox) {
462
- background-color: var(--table-body-row-selected);
463
- }
464
- .tl-table__body-cell--column-highlight {
465
- background-color: var(--table-body-cell-hover);
466
- }
467
- .tl-table__body-cell--checkbox, .tl-table__body-cell--expand {
468
- min-width: 48px;
469
- width: 48px;
470
- padding: 0;
471
- text-align: center;
472
- background-color: inherit;
473
- }
474
- .tl-table--compact .tl-table__body-cell {
475
- height: 32px;
476
- padding: 8px 16px;
477
- }
478
- .tl-table--no-min-width .tl-table__body-cell {
479
- min-width: unset;
480
- }
481
- .tl-table--vertical-dividers .tl-table__body-cell:not(:last-child):not(.tl-table__body-cell--expand) {
482
- border-right: 1px solid var(--table-divider);
483
- }
484
- .tl-table--zebra-columns-odd .tl-table__body-cell:nth-child(odd) {
485
- background-color: var(--table-zebra-mode);
486
- }
487
- .tl-table--zebra-columns-even .tl-table__body-cell:nth-child(even) {
488
- background-color: var(--table-zebra-mode);
489
- }
490
- .tl-table--cell-text-align-left .tl-table__body-cell {
491
- text-align: left;
492
- }
493
- .tl-table--cell-text-align-start .tl-table__body-cell {
494
- text-align: start;
495
- }
496
- .tl-table--cell-text-align-center .tl-table__body-cell {
497
- text-align: center;
498
- }
499
- .tl-table--cell-text-align-right .tl-table__body-cell {
500
- text-align: right;
501
- }
502
- .tl-table--cell-text-align-end .tl-table__body-cell {
503
- text-align: end;
504
- }
505
- .tl-table--no-padding .tl-table__body-cell {
506
- padding: 0;
507
- }
508
- .tl-table__row:hover:not(.tl-table__row--expanded) .tl-table__body-cell {
509
- background-color: var(--table-body-row-hover);
510
- }
511
- .tl-table__row--selected:hover:not(.tl-table__row--expanded) .tl-table__body-cell {
512
- background-color: var(--table-body-row-selected-hover);
513
- }
514
- .tl-table__row--expanded .tl-table__body-cell {
515
- background-color: var(--table-body-row-selected);
516
- }
517
-
518
- .tl-table__toolbar {
519
- box-sizing: border-box;
520
- }
521
- .tl-table__toolbar * {
522
- box-sizing: border-box;
523
- }
524
- .tl-table__toolbar {
525
- display: table-caption;
526
- position: relative;
527
- background-color: var(--table-toolbar);
528
- color: var(--table-text);
529
- padding: 0 var(--tds-spacing-element-16);
530
- height: 64px;
531
- border-top-left-radius: 4px;
532
- border-top-right-radius: 4px;
533
- }
534
- .tl-table--compact .tl-table__toolbar {
535
- height: 56px;
536
- }
537
-
538
- .tl-table__upper-bar {
539
- width: 100%;
540
- height: 100%;
541
- display: flex;
542
- justify-content: space-between;
543
- }
544
-
545
- .tl-table__actionbar-left {
546
- display: flex;
547
- align-items: center;
548
- }
549
-
550
- .tl-table__title {
551
- font-family: var(--headline-07-font-family);
552
- font-size: var(--headline-07-font-size);
553
- line-height: var(--headline-07-line-height);
554
- font-weight: var(--headline-07-font-weight);
555
- letter-spacing: var(--headline-07-letter-spacing);
556
- text-transform: var(--headline-07-text-transform);
557
- display: flex;
558
- align-self: baseline;
559
- text-align: left;
560
- letter-spacing: var(--tds-headline-07-ls);
561
- padding-top: var(--tds-spacing-element-16);
562
- margin-right: var(--tds-spacing-element-8);
563
- }
564
-
565
- .tl-table__actionbar-right {
566
- display: flex;
567
- align-self: center;
568
- column-gap: 8px;
569
- position: relative;
570
- }
571
-
572
- .tl-table__actionbar-right .tl-text-field:not(.tl-text-field--input-visible) {
573
- position: absolute;
574
- right: 0;
575
- top: 50%;
576
- transform: translateY(-50%);
577
- cursor: pointer;
578
- width: 40px;
579
- min-width: 40px;
580
- max-width: 40px;
581
- height: 40px;
582
- }
583
-
584
- .tl-table__actionbar-right .tl-text-field:not(.tl-text-field--input-visible) .tl-text-field__input {
585
- display: none;
586
- }
587
-
588
- .tl-table__actionbar-right .tl-text-field:not(.tl-text-field--input-visible)::before {
589
- content: "";
590
- position: absolute;
591
- width: 40px;
592
- height: 40px;
593
- border-radius: 4px 4px 0 0;
594
- background-color: transparent;
595
- transition: background-color 250ms ease;
596
- right: 6px;
597
- top: 50%;
598
- transform: translateY(-50%);
599
- }
600
-
601
- .tl-table__actionbar-right .tl-text-field:not(.tl-text-field--input-visible) .tl-text-field__suffix--icon {
602
- position: absolute;
603
- right: 16px;
604
- top: 50%;
605
- transform: translateY(calc(-50% - 1px));
606
- z-index: 1;
607
- pointer-events: none;
608
- }
609
-
610
- .tl-table__actionbar-right .tl-text-field:not(.tl-text-field--input-visible):hover::before {
611
- background-color: var(--table-toolbar-searchbar-hover);
612
- }
613
-
614
- .tl-table__header-input-wrapper {
615
- position: relative;
616
- width: 100%;
617
- height: 100%;
618
- }
619
-
620
- .tl-table__header-input-wrapper .tl-icon {
621
- color: var(--table-input-header-icon);
622
- position: absolute;
623
- left: 15px;
624
- top: 50%;
625
- transform: translateY(-50%);
626
- z-index: 1;
627
- pointer-events: none;
628
- }
629
-
630
- .tl-table__header-input {
631
- box-sizing: border-box;
632
- font-family: var(--detail-02-font-family);
633
- font-size: var(--detail-02-font-size);
634
- line-height: var(--detail-02-line-height);
635
- font-weight: var(--detail-02-font-weight);
636
- letter-spacing: var(--detail-02-letter-spacing);
637
- text-transform: var(--detail-02-text-transform);
638
- color: var(--table-text);
639
- padding: 0 var(--tds-spacing-element-16);
640
- width: 100%;
641
- border-radius: 0;
642
- background-color: transparent;
643
- border: 0;
644
- border-bottom: 2px solid transparent;
645
- outline: none;
646
- }
647
- .tl-table--compact .tl-table__header-input {
648
- height: 32px;
649
- }
650
- .tl-table__header-input {
651
- padding-left: 35px;
652
- height: 48px;
653
- }
654
- .tl-table__header-input::placeholder {
655
- color: var(--table-input-header-placeholder);
656
- }
657
- .tl-table__header-input:focus {
658
- background-color: var(--table-input-header-focus);
659
- border-bottom: 2px solid var(--color-foreground-border-accent-focus);
660
- }
661
-
662
- .tl-table__body-cell .tl-text-field {
663
- height: 48px;
664
- min-width: auto;
665
- padding-bottom: 0;
666
- cursor: pointer;
667
- }
668
-
669
- .tl-table--compact .tl-table__body-cell .tl-text-field {
670
- height: 32px;
671
- }
672
-
673
- .tl-table__body-cell .tl-text-field .tl-text-field__input,
674
- .tl-table__body-cell .tl-text-field .tl-text-field__input:hover {
675
- box-shadow: 0 0 0 0 transparent;
676
- }
677
-
678
- .tl-table__body-cell .tl-text-field .tl-text-field__input:focus {
679
- box-shadow: inset var(--text-field-box-shadow-focus);
680
- background-color: var(--table-input-focus);
681
- }
682
-
683
- .tl-table--compact .tl-table__body-cell .tl-text-field .tl-text-field__input {
684
- height: 32px;
685
- }
686
-
687
- .tl-table__body-cell .tl-text-field .tl-text-field__suffix--icon {
688
- display: none;
689
- }
690
-
691
- .tl-table__body-cell .tl-text-field:hover .tl-text-field__suffix--icon,
692
- .tl-table__body-cell .tl-text-field:has(.tl-text-field__input:focus) .tl-text-field__suffix--icon {
693
- display: inline-block;
694
- }
695
-
696
- .tl-table__body-cell .tl-text-field.tl-text-field--disabled .tl-text-field__suffix--icon {
697
- display: inline-block;
698
- }
699
-
700
- .tl-table__body-cell--expand {
701
- position: relative;
702
- }
703
- .tl-table--compact .tl-table__body-cell--expand {
704
- padding: 0;
705
- }
706
- .tl-table__body-cell--expand:has(.tl-table__expand-input:focus), .tl-table__body-cell--expand:has(.tl-table__expand-input:focus-visible), .tl-table__body-cell--expand:has(.tl-table__expand-input:active) {
707
- outline: 2px solid var(--table-header-button-focus);
708
- box-shadow: 0 0 0 1px var(--color-brand-neutral-white);
709
- outline-offset: -1px;
710
- z-index: 1;
711
- }
712
-
713
- .tl-table__expand-control-container {
714
- display: flex;
715
- justify-content: center;
716
- align-items: center;
717
- height: 46px;
718
- cursor: pointer;
719
- padding: 0 16px;
720
- position: relative;
721
- }
722
- .tl-table--compact .tl-table__expand-control-container {
723
- height: 30px;
724
- }
725
-
726
- .tl-table__expand-input {
727
- all: unset;
728
- top: 0;
729
- left: 0;
730
- width: 100%;
731
- height: 100%;
732
- position: absolute;
733
- cursor: pointer;
734
- }
735
-
736
- .tl-table__expand-icon {
737
- height: 16px;
738
- width: 16px;
739
- transition: transform 200ms ease;
740
- transform: rotate(0);
741
- display: flex;
742
- align-items: center;
743
- justify-content: center;
744
- color: var(--table-text);
745
- }
746
-
747
- .tl-table__row--expanded {
748
- background-color: var(--table-body-row-selected);
749
- border-bottom: none;
750
- }
751
-
752
- .tl-table__row--expanded .tl-table__expand-icon {
753
- transform: rotate(180deg);
754
- }
755
-
756
- .tl-table__expand-row {
757
- display: none;
758
- transition: background-color 200ms ease;
759
- background-color: var(--table-body-row-selected);
760
- border-bottom: 1px solid var(--table-divider);
761
- }
762
- .tl-table__expand-row--expanded {
763
- display: table-row;
764
- }
765
-
766
- .tl-table__expand-row-cell {
767
- max-width: 1px;
768
- overflow: auto;
769
- padding: 16px 16px 16px 66px;
770
- color: var(--table-text);
771
- background-color: var(--table-body-row-selected);
772
- }
773
- .tl-table__expand-row-cell::-webkit-scrollbar {
774
- height: var(--tl-scrollbar-height);
775
- }
776
- .tl-table__expand-row-cell::-webkit-scrollbar-track {
777
- background: var(--tl-scrollbar-track-color);
778
- }
779
- .tl-table__expand-row-cell::-webkit-scrollbar-thumb {
780
- border-radius: 40px;
781
- background: var(--tl-scrollbar-thumb-color);
782
- border-width: var(--tl-scrollbar-thumb-border-width);
783
- border-style: solid;
784
- border-color: transparent;
785
- background-clip: padding-box;
786
- }
787
- .tl-table__expand-row-cell::-webkit-scrollbar-thumb:hover {
788
- border-width: var(--tl-scrollbar-thumb-border-hover-width);
789
- }
790
- .tl-table__expand-row-cell::-webkit-scrollbar-button {
791
- height: 0;
792
- width: 0;
793
- }
794
- @supports not selector(::-webkit-scrollbar) {
795
- .tl-table__expand-row-cell {
796
- scrollbar-color: var(--tl-scrollbar-thumb-color) var(--tl-scrollbar-track-color);
797
- scrollbar-width: var(--tl-scrollbar-width-standard);
798
- }
799
- }
800
- .tl-table--compact .tl-table__expand-row-cell {
801
- padding: 8px 16px 8px 66px;
802
- }
803
- .tl-table__expand-row-cell--overflow-visible {
804
- overflow: visible;
805
- }
806
- .tl-table__expand-row-cell--overflow-hidden {
807
- overflow: hidden;
808
- }
809
-
810
- .tl-table.tl-table--primary .tl-text-field__input {
811
- background-color: var(--component-table-cell);
812
- }
813
- .tl-table.tl-table--secondary .tl-text-field__input {
814
- background-color: var(--component-table-secondary-cell);
815
- }
816
-
817
- .tl-table--compact .tl-table__header-cell--checkbox {
818
- padding-left: 16px;
819
- }
820
-
821
- .tl-table__header-cell--checkbox {
822
- padding: 16px;
823
- }
824
-
825
- .tl-table__body-cell--checkbox {
826
- padding: 16px;
827
- }