@scania/tegel-lite 0.1.0-beta.updated-globals → 0.1.0-dev-test-beta.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.
package/dist/tl-table.css CHANGED
@@ -14,18 +14,51 @@ body {
14
14
  /**
15
15
  * Do not edit directly, this file was auto-generated.
16
16
  */
17
- .tl-table,
18
- tds-table {
17
+ :root,
18
+ .tds-mode-light,
19
+ .scania .tds-mode-light,
20
+ .scania.tds-mode-light,
21
+ .scania .tl-mode-light,
22
+ .scania.tl-mode-light {
23
+ --component-table-cell: var(--color-background-layer-01);
24
+ --component-table-cell-hover: #edeff3;
25
+ --component-table-pagination-base: #e0e5eb;
26
+ --component-table-pagination-dropdown: var(--color-background-base);
19
27
  --component-table-secondary-cell: var(--color-background-layer-02);
20
- --component-table-pagination-dropdown: var(--color-background-layer-01);
21
- --component-table-pagination-base: var(--color-background-surface-200);
22
- --component-table-cell-hover: var(--color-background-surface-100);
28
+ }
29
+
30
+ .traton .tds-mode-light,
31
+ .traton.tds-mode-light,
32
+ .traton .tl-mode-light,
33
+ .traton.tl-mode-light {
23
34
  --component-table-cell: var(--color-background-layer-01);
35
+ --component-table-cell-hover: #d6d4c9;
36
+ --component-table-pagination-base: #d6d4c9;
37
+ --component-table-pagination-dropdown: var(--color-background-base);
38
+ --component-table-secondary-cell: var(--color-background-layer-02);
24
39
  }
25
40
 
26
- .traton .tl-table,
27
- .traton tds-table {
28
- --component-table-pagination-base: var(--color-background-surface-300);
41
+ .tds-mode-dark,
42
+ .scania .tds-mode-dark,
43
+ .scania.tds-mode-dark,
44
+ .scania .tl-mode-dark,
45
+ .scania.tl-mode-dark {
46
+ --component-table-cell: var(--color-background-layer-01);
47
+ --component-table-cell-hover: #1c222b;
48
+ --component-table-pagination-base: #242c37;
49
+ --component-table-pagination-dropdown: var(--color-background-layer-01);
50
+ --component-table-secondary-cell: var(--color-background-layer-02);
51
+ }
52
+
53
+ .traton .tds-mode-dark,
54
+ .traton.tds-mode-dark,
55
+ .traton .tl-mode-dark,
56
+ .traton.tl-mode-dark {
57
+ --component-table-cell: var(--color-background-layer-01);
58
+ --component-table-cell-hover: #003137;
59
+ --component-table-pagination-base: #004852;
60
+ --component-table-pagination-dropdown: var(--color-background-layer-01);
61
+ --component-table-secondary-cell: var(--color-background-layer-02);
29
62
  }
30
63
 
31
64
  .tl-table {
@@ -84,7 +117,7 @@ tds-table {
84
117
  --table-zebra-mode: var(--component-table-cell);
85
118
  }
86
119
 
87
- .tds-mode-dark .tl-table.tl-table--secondary {
120
+ .tl-mode-dark .tl-table.tl-table--secondary {
88
121
  --table-body-cell-hover: var(--color-background-surface-300);
89
122
  --table-body-row-hover: var(--color-background-surface-300);
90
123
  }
@@ -524,8 +524,8 @@
524
524
  mask-image: var(--icon-gift-svg);
525
525
  background-color: currentcolor;
526
526
  }
527
- .tl-icon--gift inactive {
528
- mask-image: var(--icon-gift inactive-svg);
527
+ .tl-icon--gift_inactive {
528
+ mask-image: var(--icon-gift_inactive-svg);
529
529
  background-color: currentcolor;
530
530
  }
531
531
  .tl-icon--global {
@@ -1268,7 +1268,20 @@
1268
1268
  .tl-text-field--no-min-width {
1269
1269
  min-width: auto;
1270
1270
  }
1271
- .tl-text-field--readonly:not(.tl-text-field--disabled):not(.tl-text-field--hide-readonly-icon)::before {
1271
+ .tl-text-field:has(.tl-text-field__input:disabled) {
1272
+ cursor: not-allowed;
1273
+ }
1274
+ .tl-text-field .tl-icon {
1275
+ background-color: var(--text-field-affix);
1276
+ }
1277
+ :has(.tl-text-field__input:disabled) .tl-text-field .tl-icon {
1278
+ background-color: var(--text-field-affix-disabled);
1279
+ }
1280
+
1281
+ .tl-text-field__input-wrapper {
1282
+ position: relative;
1283
+ }
1284
+ .tl-text-field:has(.tl-text-field__input[readonly]):not(:has(.tl-text-field__input:disabled)):not(.tl-text-field--hide-readonly-icon) .tl-text-field__input-wrapper::before {
1272
1285
  content: "";
1273
1286
  position: absolute;
1274
1287
  top: 50%;
@@ -1283,18 +1296,6 @@
1283
1296
  transform: translateY(-50%);
1284
1297
  z-index: 1;
1285
1298
  }
1286
- .tl-text-field:not(.tl-text-field--label-inside):has(.tl-text-field__label):has(.tl-text-field__input[readonly]):not(:has(.tl-text-field__input:disabled)):not(.tl-text-field--hide-readonly-icon)::before {
1287
- top: calc(50% + 24px);
1288
- }
1289
- .tl-text-field:has(.tl-text-field__input:disabled) {
1290
- cursor: not-allowed;
1291
- }
1292
- .tl-text-field .tl-icon {
1293
- background-color: var(--text-field-affix);
1294
- }
1295
- :has(.tl-text-field__input:disabled) .tl-text-field .tl-icon {
1296
- background-color: var(--text-field-affix-disabled);
1297
- }
1298
1299
 
1299
1300
  .tl-text-field__input {
1300
1301
  all: unset;
@@ -1438,6 +1439,7 @@
1438
1439
  letter-spacing: var(--detail-02-letter-spacing);
1439
1440
  text-transform: var(--detail-02-text-transform);
1440
1441
  position: absolute;
1442
+ top: 50%;
1441
1443
  left: var(--text-field-label-inside-left, 16px);
1442
1444
  color: var(--text-field-label-inside);
1443
1445
  pointer-events: none;
@@ -1446,18 +1448,6 @@
1446
1448
  transition: transform 0.15s, font-size 0.15s, color 0.15s, top 0.15s;
1447
1449
  z-index: 1;
1448
1450
  }
1449
- .tl-text-field__label {
1450
- /* Center label in input row before focus/fill */
1451
- }
1452
- .tl-text-field--label-inside.tl-text-field--lg .tl-text-field__label {
1453
- top: 28px; /* half of 56px input height */
1454
- }
1455
- .tl-text-field--label-inside.tl-text-field--md .tl-text-field__label {
1456
- top: 24px; /* half of 48px input height */
1457
- }
1458
- .tl-text-field--label-inside.tl-text-field--sm .tl-text-field__label {
1459
- top: 20px; /* half of 40px input height */
1460
- }
1461
1451
  .tl-text-field--label-inside:has(.tl-text-field__prefix--icon) .tl-text-field__label {
1462
1452
  left: 44px;
1463
1453
  }
@@ -1582,12 +1572,9 @@
1582
1572
  position: absolute;
1583
1573
  left: 16px;
1584
1574
  top: 50%;
1585
- transform: translateY(calc(-50% - 1px));
1575
+ transform: translateY(-50%);
1586
1576
  z-index: 1;
1587
1577
  }
1588
- .tl-text-field:has(.tl-text-field__label):not(.tl-text-field--label-inside) .tl-text-field__prefix--text, .tl-text-field:has(.tl-text-field__label):not(.tl-text-field--label-inside) .tl-text-field__prefix--icon {
1589
- transform: translateY(calc(-50% + 24px));
1590
- }
1591
1578
  :has(.tl-text-field__input:disabled) .tl-text-field__prefix--text, :has(.tl-text-field__input:disabled) .tl-text-field__prefix--icon {
1592
1579
  color: var(--text-field-affix-disabled);
1593
1580
  }
@@ -1619,12 +1606,9 @@
1619
1606
  position: absolute;
1620
1607
  right: 16px;
1621
1608
  top: 50%;
1622
- transform: translateY(calc(-50% - 1px));
1609
+ transform: translateY(-50%);
1623
1610
  z-index: 1;
1624
1611
  }
1625
- .tl-text-field:has(.tl-text-field__label):not(.tl-text-field--label-inside) .tl-text-field__suffix--text, .tl-text-field:has(.tl-text-field__label):not(.tl-text-field--label-inside) .tl-text-field__suffix--icon {
1626
- transform: translateY(calc(-50% + 24px));
1627
- }
1628
1612
  :has(.tl-text-field__input:disabled) .tl-text-field__suffix--text, :has(.tl-text-field__input:disabled) .tl-text-field__suffix--icon {
1629
1613
  color: var(--text-field-affix-disabled);
1630
1614
  }
@@ -1636,38 +1620,6 @@
1636
1620
  :has(.tl-text-field__input:disabled) .tl-text-field__suffix--icon > .tl-icon {
1637
1621
  background-color: var(--text-field-affix-disabled) !important;
1638
1622
  }
1639
-
1640
- .tl-text-field__suffix {
1641
- font-family: var(--detail-02-font-family);
1642
- font-size: var(--detail-02-font-size);
1643
- line-height: var(--detail-02-line-height);
1644
- font-weight: var(--detail-02-font-weight);
1645
- letter-spacing: var(--detail-02-letter-spacing);
1646
- text-transform: var(--detail-02-text-transform);
1647
- color: var(--text-field-affix);
1648
- align-self: center;
1649
- display: flex;
1650
- align-items: center;
1651
- z-index: 1;
1652
- position: relative;
1653
- right: 16px;
1654
- padding-right: 0;
1655
- z-index: 1;
1656
- }
1657
- .tl-text-field:has(.tl-text-field__label):not(.tl-text-field--label-inside) .tl-text-field__suffix--text, .tl-text-field:has(.tl-text-field__label):not(.tl-text-field--label-inside) .tl-text-field__suffix--icon {
1658
- transform: translateY(calc(-50% + 24px));
1659
- }
1660
- :has(.tl-text-field__input:disabled) .tl-text-field__suffix--text, :has(.tl-text-field__input:disabled) .tl-text-field__suffix--icon {
1661
- color: var(--text-field-affix-disabled);
1662
- }
1663
- :has(.tl-text-field__input:disabled) .tl-text-field__suffix--text > *, :has(.tl-text-field__input:disabled) .tl-text-field__suffix--icon > * {
1664
- color: var(--text-field-affix-disabled);
1665
- }
1666
- :has(.tl-text-field__input:disabled) .tl-text-field__suffix--text .tl-icon,
1667
- :has(.tl-text-field__input:disabled) .tl-text-field__suffix--text > .tl-icon, :has(.tl-text-field__input:disabled) .tl-text-field__suffix--icon .tl-icon,
1668
- :has(.tl-text-field__input:disabled) .tl-text-field__suffix--icon > .tl-icon {
1669
- background-color: var(--text-field-affix-disabled);
1670
- }
1671
1623
  :has(.tl-text-field__input:disabled) .tl-text-field__suffix--icon.tl-icon {
1672
1624
  background-color: var(--text-field-affix-disabled);
1673
1625
  }
@@ -118,7 +118,7 @@
118
118
  color: var(--toggle-text);
119
119
  margin-bottom: 12px;
120
120
  }
121
- :has(input[type=checkbox]:disabled) .tl-toggle__headline {
121
+ .tl-toggle:has(input[type=checkbox]:disabled) .tl-toggle__headline {
122
122
  color: var(--toggle-disabled);
123
123
  user-select: none;
124
124
  cursor: not-allowed;