bolt-table 0.1.15 → 0.1.16
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/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1735,7 +1735,7 @@ function BoltTable({
|
|
|
1735
1735
|
}
|
|
1736
1736
|
const scrollEl = tableAreaRef.current;
|
|
1737
1737
|
if (!scrollEl) return;
|
|
1738
|
-
const headers = scrollEl.querySelectorAll("[data-column-key]");
|
|
1738
|
+
const headers = scrollEl.querySelectorAll("[data-bt-header][data-column-key]");
|
|
1739
1739
|
let newOverId = null;
|
|
1740
1740
|
headers.forEach((h) => {
|
|
1741
1741
|
const key = h.dataset.columnKey;
|
|
@@ -2278,10 +2278,10 @@ function BoltTable({
|
|
|
2278
2278
|
[data-bt-ctx-item]:not(:disabled):hover {
|
|
2279
2279
|
background-color: rgba(128, 128, 128, 0.15);
|
|
2280
2280
|
}
|
|
2281
|
-
[data-
|
|
2281
|
+
[data-bt-header][data-dragging] {
|
|
2282
2282
|
opacity: 0.3 !important;
|
|
2283
2283
|
}
|
|
2284
|
-
[data-
|
|
2284
|
+
[data-bt-header][data-drag-over] {
|
|
2285
2285
|
border: 1px dashed ${accentColor} !important;
|
|
2286
2286
|
}
|
|
2287
2287
|
` }),
|
package/dist/index.mjs
CHANGED
|
@@ -1701,7 +1701,7 @@ function BoltTable({
|
|
|
1701
1701
|
}
|
|
1702
1702
|
const scrollEl = tableAreaRef.current;
|
|
1703
1703
|
if (!scrollEl) return;
|
|
1704
|
-
const headers = scrollEl.querySelectorAll("[data-column-key]");
|
|
1704
|
+
const headers = scrollEl.querySelectorAll("[data-bt-header][data-column-key]");
|
|
1705
1705
|
let newOverId = null;
|
|
1706
1706
|
headers.forEach((h) => {
|
|
1707
1707
|
const key = h.dataset.columnKey;
|
|
@@ -2244,10 +2244,10 @@ function BoltTable({
|
|
|
2244
2244
|
[data-bt-ctx-item]:not(:disabled):hover {
|
|
2245
2245
|
background-color: rgba(128, 128, 128, 0.15);
|
|
2246
2246
|
}
|
|
2247
|
-
[data-
|
|
2247
|
+
[data-bt-header][data-dragging] {
|
|
2248
2248
|
opacity: 0.3 !important;
|
|
2249
2249
|
}
|
|
2250
|
-
[data-
|
|
2250
|
+
[data-bt-header][data-drag-over] {
|
|
2251
2251
|
border: 1px dashed ${accentColor} !important;
|
|
2252
2252
|
}
|
|
2253
2253
|
` }),
|
package/package.json
CHANGED