@redseed/redseed-ui-tailwindcss 7.33.1 → 7.34.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/table.css +19 -0
- package/package.json +1 -1
package/components/table.css
CHANGED
|
@@ -38,6 +38,25 @@
|
|
|
38
38
|
@apply w-full overflow-x-auto;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
/* Drag-to-scroll affordance (opt-in via the Table `dragScroll` prop).
|
|
42
|
+
Only applied when the container actually overflows. Grab beats the
|
|
43
|
+
clickable-row pointer so the drag affordance is visible; the pinned column
|
|
44
|
+
is the anchor, so it shows the default cursor instead. */
|
|
45
|
+
.rsui-table__container--draggable,
|
|
46
|
+
.rsui-table__container--draggable .rsui-tr--clickable {
|
|
47
|
+
@apply cursor-grab;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.rsui-table__container--dragging,
|
|
51
|
+
.rsui-table__container--dragging .rsui-tr--clickable {
|
|
52
|
+
@apply cursor-grabbing select-none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.rsui-table__container--draggable .rsui-td--pinned,
|
|
56
|
+
.rsui-table__container--draggable .rsui-th--pinned {
|
|
57
|
+
@apply cursor-default;
|
|
58
|
+
}
|
|
59
|
+
|
|
41
60
|
.rsui-table__footer {
|
|
42
61
|
@apply w-full border-t border-border-primary overflow-hidden py-3 px-6;
|
|
43
62
|
}
|