@redseed/redseed-ui-tailwindcss 7.30.1 → 7.30.2

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/td.css CHANGED
@@ -18,3 +18,29 @@
18
18
  .rsui-td--fixed {
19
19
  @apply whitespace-normal overflow-auto overscroll-auto;
20
20
  }
21
+
22
+ /* Pinned body cell — sticks to the left during horizontal scroll.
23
+ Background must be opaque so scrolled content doesn't show through;
24
+ matches the row hover bg when the row is clickable. */
25
+ .rsui-td--pinned {
26
+ position: sticky;
27
+ left: 0;
28
+ z-index: 1;
29
+ background-color: var(--color-background-primary);
30
+ }
31
+
32
+ .rsui-td--pinned::after {
33
+ content: '';
34
+ position: absolute;
35
+ top: 0;
36
+ right: 0;
37
+ bottom: 0;
38
+ width: 1px;
39
+ background-color: var(--color-border-primary);
40
+ pointer-events: none;
41
+ }
42
+
43
+ .rsui-tr--clickable:hover .rsui-td--pinned,
44
+ .rsui-tr--clickable:focus-visible .rsui-td--pinned {
45
+ background-color: var(--color-background-disabled);
46
+ }
package/components/th.css CHANGED
@@ -67,3 +67,24 @@
67
67
  .rsui-th__sort-icon--desc {
68
68
  @apply rotate-180;
69
69
  }
70
+
71
+ /* Pinned header cell — stays put during horizontal scroll.
72
+ Opaque header bg so scrolled-under cells don't show through.
73
+ Subtle right-edge separator marks the scroll boundary. */
74
+ .rsui-th--pinned {
75
+ position: sticky;
76
+ left: 0;
77
+ z-index: 1;
78
+ background-color: var(--color-background-disabled);
79
+ }
80
+
81
+ .rsui-th--pinned::after {
82
+ content: '';
83
+ position: absolute;
84
+ top: 0;
85
+ right: 0;
86
+ bottom: 0;
87
+ width: 1px;
88
+ background-color: var(--color-border-primary);
89
+ pointer-events: none;
90
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "7.30.1",
3
+ "version": "7.30.2",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",