@sebgroup/green-core 2.22.1 → 2.22.2-rc.20260116120346907
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/table/table.styles.js +13 -34
- package/custom-elements.json +8381 -8381
- package/gds-element.js +1 -1
- package/generated/react/index.d.ts +2 -2
- package/generated/react/index.js +2 -2
- package/package.json +1 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
|
@@ -153,7 +153,6 @@ const TableStyles = css`
|
|
|
153
153
|
|
|
154
154
|
thead tr th {
|
|
155
155
|
padding-block: var(--gds-sys-space-3xs);
|
|
156
|
-
/* background: var(--gds-sys-color-l2-neutral-01); */
|
|
157
156
|
background: var(--_table-header-bg);
|
|
158
157
|
}
|
|
159
158
|
|
|
@@ -254,12 +253,10 @@ const TableStyles = css`
|
|
|
254
253
|
|
|
255
254
|
@media (hover: hover) and (min-width: 768px) {
|
|
256
255
|
tbody tr.selected:hover {
|
|
257
|
-
/* background-color: var(--gds-sys-color-l3-neutral-03); */
|
|
258
256
|
background-color: var(--_table-row-selected-hover);
|
|
259
257
|
}
|
|
260
258
|
|
|
261
259
|
tbody tr:hover:not(.selected) {
|
|
262
|
-
/* background-color: var(--gds-sys-color-l2-neutral-01); */
|
|
263
260
|
background-color: var(--_table-row-hover);
|
|
264
261
|
}
|
|
265
262
|
}
|
|
@@ -625,24 +622,6 @@ const TableStyles = css`
|
|
|
625
622
|
}
|
|
626
623
|
}
|
|
627
624
|
|
|
628
|
-
/* tbody td .cell-content,
|
|
629
|
-
thead th .column-header {
|
|
630
|
-
animation-name: CELL_ANIMATION_HORIZONTAL, CELL_ANIMATION_HORIZONTAL;
|
|
631
|
-
animation-fill-mode: both;
|
|
632
|
-
animation-timing-function: ease-in-out;
|
|
633
|
-
animation-direction: normal, reverse;
|
|
634
|
-
animation-timeline: view(inline);
|
|
635
|
-
animation-range: entry, exit;
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
@keyframes CELL_ANIMATION_HORIZONTAL {
|
|
639
|
-
0% {
|
|
640
|
-
opacity: 0.8;
|
|
641
|
-
filter: blur(12px);
|
|
642
|
-
translate: 4px 0px;
|
|
643
|
-
}
|
|
644
|
-
} */
|
|
645
|
-
|
|
646
625
|
thead {
|
|
647
626
|
position: sticky;
|
|
648
627
|
top: 4px;
|
|
@@ -676,46 +655,46 @@ const TableStyles = css`
|
|
|
676
655
|
}
|
|
677
656
|
|
|
678
657
|
/* Horizontal scroll */
|
|
679
|
-
@property --
|
|
658
|
+
@property --_start-fade {
|
|
680
659
|
syntax: '<length>';
|
|
681
660
|
inherits: false;
|
|
682
661
|
initial-value: 0;
|
|
683
662
|
}
|
|
684
663
|
|
|
685
|
-
@property --
|
|
664
|
+
@property --_end-fade {
|
|
686
665
|
syntax: '<length>';
|
|
687
666
|
inherits: false;
|
|
688
667
|
initial-value: 0;
|
|
689
668
|
}
|
|
690
669
|
|
|
691
|
-
@keyframes
|
|
670
|
+
@keyframes scroll-fade {
|
|
692
671
|
0% {
|
|
693
|
-
--
|
|
672
|
+
--_start-fade: 0;
|
|
694
673
|
}
|
|
695
674
|
10%,
|
|
696
675
|
100% {
|
|
697
|
-
--
|
|
676
|
+
--_start-fade: var(--gds-sys-space-4xl);
|
|
698
677
|
}
|
|
699
678
|
0%,
|
|
700
679
|
90% {
|
|
701
|
-
--
|
|
680
|
+
--_end-fade: var(--gds-sys-space-4xl);
|
|
702
681
|
}
|
|
703
682
|
100% {
|
|
704
|
-
--
|
|
683
|
+
--_end-fade: 0;
|
|
705
684
|
}
|
|
706
685
|
}
|
|
707
686
|
|
|
708
687
|
.data {
|
|
709
|
-
overflow-x:
|
|
688
|
+
overflow-x: auto;
|
|
710
689
|
mask: linear-gradient(
|
|
711
690
|
to right,
|
|
712
691
|
#0000,
|
|
713
|
-
#ffff var(--
|
|
692
|
+
#ffff var(--_start-fade) calc(100% - var(--_end-fade)),
|
|
714
693
|
#0000
|
|
715
694
|
);
|
|
716
|
-
animation:
|
|
717
|
-
animation-timeline: --
|
|
718
|
-
scroll-timeline: --
|
|
695
|
+
animation: scroll-fade;
|
|
696
|
+
animation-timeline: --scroll-fade;
|
|
697
|
+
scroll-timeline: --scroll-fade x;
|
|
719
698
|
}
|
|
720
699
|
}
|
|
721
700
|
}
|
|
@@ -742,7 +721,7 @@ const TableStyles = css`
|
|
|
742
721
|
|
|
743
722
|
/* Scrollbar */
|
|
744
723
|
.data {
|
|
745
|
-
--_scrollbar-color-thumb: var(--gds-sys-color-
|
|
724
|
+
--_scrollbar-color-thumb: var(--gds-sys-color-content-neutral-02);
|
|
746
725
|
--_scrollbar-color-track: var(--gds-sys-color-l3-neutral-02);
|
|
747
726
|
--_scrollbar-width: var(--gds-sys-space-2xs);
|
|
748
727
|
}
|