@eaera-com/eaera-widgets-v2 0.1.70 → 0.1.71
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../themes/aurora/typography/typography-utils' as typo;
|
|
2
|
+
@use 'checkbox' as chk;
|
|
3
3
|
|
|
4
4
|
// ============================================================================
|
|
5
5
|
// TABLE DENSITY TOKENS
|
|
@@ -18,18 +18,10 @@
|
|
|
18
18
|
// <eaera-table-v2 style="--er-table-row-min-height: 48px" />
|
|
19
19
|
// ============================================================================
|
|
20
20
|
:root {
|
|
21
|
-
--er-table-cell-padding-x: var(
|
|
22
|
-
|
|
23
|
-
); // 8px —
|
|
24
|
-
--er-table-
|
|
25
|
-
--er-shape-spacing-150
|
|
26
|
-
); // 12px — header top/bottom
|
|
27
|
-
--er-table-body-cell-padding-y: var(
|
|
28
|
-
--er-shape-spacing-100
|
|
29
|
-
); // 8px — body top/bottom
|
|
30
|
-
--er-table-row-min-height: var(
|
|
31
|
-
--er-shape-spacing-500
|
|
32
|
-
); // 40px — data row height
|
|
21
|
+
--er-table-cell-padding-x: var(--er-shape-spacing-100); // 8px — cell left/right
|
|
22
|
+
--er-table-header-cell-padding-y: var(--er-shape-spacing-150); // 12px — header top/bottom
|
|
23
|
+
--er-table-body-cell-padding-y: var(--er-shape-spacing-100); // 8px — body top/bottom
|
|
24
|
+
--er-table-row-min-height: var(--er-shape-spacing-500); // 40px — data row height
|
|
33
25
|
--er-table-row-divider: var(--er-border-subtle); // 1px — row bottom divider
|
|
34
26
|
}
|
|
35
27
|
|
|
@@ -54,10 +46,8 @@
|
|
|
54
46
|
|
|
55
47
|
.el-table__body
|
|
56
48
|
tr.hover-row
|
|
57
|
-
> td.el-table__cell:not(.el-table-fixed-column--left):not(
|
|
58
|
-
|
|
59
|
-
) {
|
|
60
|
-
background-color: var(--er-action-primary-subtle-hover) !important;
|
|
49
|
+
> td.el-table__cell:not(.el-table-fixed-column--left):not(.el-table-fixed-column--right) {
|
|
50
|
+
background-color: var(--er-surface-brand-subtle) !important;
|
|
61
51
|
}
|
|
62
52
|
|
|
63
53
|
// ─────────────────────────────────────────────────────────────────────
|
|
@@ -78,8 +68,7 @@
|
|
|
78
68
|
th {
|
|
79
69
|
@include typo.label-md;
|
|
80
70
|
min-height: var(--er-table-row-min-height);
|
|
81
|
-
padding: var(--er-table-header-cell-padding-y)
|
|
82
|
-
var(--er-table-cell-padding-x);
|
|
71
|
+
padding: var(--er-table-header-cell-padding-y) var(--er-table-cell-padding-x);
|
|
83
72
|
background-color: var(--er-surface-muted);
|
|
84
73
|
color: var(--er-text-secondary);
|
|
85
74
|
border-bottom: none;
|
|
@@ -321,8 +310,7 @@
|
|
|
321
310
|
.cell {
|
|
322
311
|
@include typo.body-md;
|
|
323
312
|
color: var(--er-text-primary);
|
|
324
|
-
padding: var(--er-table-body-cell-padding-y)
|
|
325
|
-
var(--er-table-cell-padding-x);
|
|
313
|
+
padding: var(--er-table-body-cell-padding-y) var(--er-table-cell-padding-x);
|
|
326
314
|
}
|
|
327
315
|
|
|
328
316
|
&:first-child {
|
|
@@ -423,7 +411,7 @@
|
|
|
423
411
|
position: relative;
|
|
424
412
|
|
|
425
413
|
&::before {
|
|
426
|
-
content:
|
|
414
|
+
content: '';
|
|
427
415
|
transition: background-color 0.25s 1ms;
|
|
428
416
|
inset: 0;
|
|
429
417
|
@extend %table-fixed-overlay;
|
|
@@ -480,11 +468,7 @@
|
|
|
480
468
|
// LOADING STATE
|
|
481
469
|
// ─────────────────────────────────────────────────────────────────────
|
|
482
470
|
|
|
483
|
-
.el-table__body-wrapper
|
|
484
|
-
.el-table--enable-row-hover
|
|
485
|
-
.el-table__body
|
|
486
|
-
tr:hover
|
|
487
|
-
> td {
|
|
471
|
+
.el-table__body-wrapper .el-table--enable-row-hover .el-table__body tr:hover > td {
|
|
488
472
|
background-color: var(--er-action-primary-subtle-hover);
|
|
489
473
|
}
|
|
490
474
|
|