@sebgroup/green-core 3.18.1 → 3.20.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/components/alert/alert.component.d.ts +25 -5
- package/components/alert/alert.component.js +82 -39
- package/components/dialog/dialog.component.js +1 -0
- package/components/dialog/scroll-lock.d.ts +3 -10
- package/components/dialog/scroll-lock.js +5 -58
- package/components/icon/icon.deprecated.js +1 -1
- package/components/icon/icons/filter.component.d.ts +1 -0
- package/components/spinner/spinner.component.d.ts +1 -8
- package/components/spinner/spinner.component.js +39 -33
- package/components/table/table.styles.js +16 -31
- package/custom-elements.json +2747 -2577
- package/gds-element.js +1 -1
- package/generated/mcp/alert/angular.md +1 -0
- package/generated/mcp/alert/api.md +9 -1
- package/generated/mcp/alert/react.md +1 -0
- package/generated/mcp/components.json +1 -1
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/alert/index.d.ts +9 -2
- package/generated/react/index.d.ts +5 -5
- package/generated/react/index.js +5 -5
- package/package.json +1 -1
- package/utils/decorators/aria-forwarding.js +44 -1
- package/utils/decorators/aria-forwarding.types.d.ts +10 -1
- package/utils/decorators/aria-forwarding.types.js +3 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
- package/utils/scroll-lock.d.ts +13 -0
- package/utils/scroll-lock.js +64 -0
|
@@ -534,24 +534,20 @@ const TableStyles = css`
|
|
|
534
534
|
background-color: var(--_table-row-hover);
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
-
.striped
|
|
537
|
+
.striped
|
|
538
|
+
tbody
|
|
539
|
+
tr:nth-child(even):hover:not(.selected):not(.expanded-parent):not(
|
|
540
|
+
.expanded-row
|
|
541
|
+
) {
|
|
538
542
|
--_table-current-row-bg: var(--_table-row-striped-hover);
|
|
539
543
|
background-color: var(--_table-row-striped-hover);
|
|
540
544
|
}
|
|
541
545
|
|
|
542
|
-
.striped tbody tr.expanded-parent:nth-child(even):hover:not(.selected),
|
|
543
|
-
.striped tbody tr.expanded-row:nth-child(even):hover:not(.selected) {
|
|
544
|
-
--_table-current-row-bg: var(--_table-row-striped-hover);
|
|
545
|
-
background: var(--_table-row-striped-hover);
|
|
546
|
-
}
|
|
547
|
-
|
|
548
546
|
.striped
|
|
549
547
|
tbody
|
|
550
|
-
tr
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
tbody
|
|
554
|
-
tr.expanded-row:nth-child(even):hover:not(.selected)
|
|
548
|
+
tr:nth-child(even):hover:not(.selected):not(.expanded-parent):not(
|
|
549
|
+
.expanded-row
|
|
550
|
+
)
|
|
555
551
|
td:not(.sticky-left):not(.sticky-right) {
|
|
556
552
|
background-color: var(--_table-row-striped-hover);
|
|
557
553
|
}
|
|
@@ -562,31 +558,20 @@ const TableStyles = css`
|
|
|
562
558
|
border-color: transparent;
|
|
563
559
|
}
|
|
564
560
|
|
|
565
|
-
/* Striped */
|
|
566
|
-
.striped tbody tr:nth-child(even):not(.selected):not(:hover) {
|
|
567
|
-
--_table-current-row-bg: var(--_table-row-striped);
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
.striped tbody tr.expanded-parent:nth-child(even):not(.selected):not(:hover),
|
|
571
|
-
.striped tbody tr.expanded-row:nth-child(even):not(.selected):not(:hover) {
|
|
572
|
-
--_table-current-row-bg: var(--_table-row-striped);
|
|
573
|
-
background: var(--_table-row-striped);
|
|
574
|
-
}
|
|
575
|
-
|
|
561
|
+
/* Striped - expanded rows are always excluded to ensure consistent appearance */
|
|
576
562
|
.striped
|
|
577
563
|
tbody
|
|
578
|
-
tr:nth-child(even):not(.selected):not(:hover)
|
|
579
|
-
|
|
580
|
-
|
|
564
|
+
tr:nth-child(even):not(.selected):not(:hover):not(.expanded-parent):not(
|
|
565
|
+
.expanded-row
|
|
566
|
+
) {
|
|
567
|
+
--_table-current-row-bg: var(--_table-row-striped);
|
|
581
568
|
}
|
|
582
569
|
|
|
583
570
|
.striped
|
|
584
571
|
tbody
|
|
585
|
-
tr
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
tbody
|
|
589
|
-
tr.expanded-row:nth-child(even):not(.selected):not(:hover)
|
|
572
|
+
tr:nth-child(even):not(.selected):not(:hover):not(.expanded-parent):not(
|
|
573
|
+
.expanded-row
|
|
574
|
+
)
|
|
590
575
|
td:not(.sticky-left):not(.sticky-right) {
|
|
591
576
|
background-color: var(--_table-row-striped);
|
|
592
577
|
}
|