bolt-table 0.1.8 → 0.1.10

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/README.md CHANGED
@@ -1756,4 +1756,4 @@ import type {
1756
1756
 
1757
1757
  ## License
1758
1758
 
1759
- MIT © [Venkatesh Sirigineedi](https://github.com/venkateshsirigineedi)
1759
+ MIT © [Venkatesh Sirigineedi](https://github.com/venkateshwebdev)
package/dist/index.js CHANGED
@@ -206,12 +206,12 @@ var DraggableHeader = import_react.default.memo(
206
206
  ...column.pinned === "left" && stickyOffset !== void 0 ? { left: `${stickyOffset}px` } : {},
207
207
  ...column.pinned === "right" && stickyOffset !== void 0 ? { right: `${stickyOffset}px` } : {},
208
208
  ...isPinned ? {
209
- backgroundColor: styles?.pinnedBg ?? "color-mix(in srgb, currentColor 4%, Canvas)",
209
+ backgroundColor: styles?.pinnedBg,
210
210
  ...styles?.pinnedHeader
211
211
  } : {},
212
212
  ...column.style,
213
213
  ...styles?.header,
214
- backgroundColor: styles?.pinnedBg && isPinned ? styles.pinnedBg : isPinned ? "color-mix(in srgb, currentColor 4%, Canvas)" : "rgba(128,128,128,0.06)",
214
+ backgroundColor: styles?.pinnedBg && isPinned ? styles.pinnedBg : isPinned ? "" : "rgba(128,128,128,0.06)",
215
215
  display: "flex",
216
216
  height: 36,
217
217
  alignItems: "center",
@@ -1057,7 +1057,7 @@ var TableBody = ({
1057
1057
  else if (col.pinned === "right" && stickyOffset !== void 0)
1058
1058
  style.right = `${stickyOffset}px`;
1059
1059
  if (isPinned) {
1060
- style.backgroundColor = styles?.pinnedBg ?? "color-mix(in srgb, currentColor 4%, Canvas)";
1060
+ style.backgroundColor = styles?.pinnedBg;
1061
1061
  if (styles?.pinnedCell) Object.assign(style, styles.pinnedCell);
1062
1062
  }
1063
1063
  return { key: col.key, style, isPinned };
@@ -2192,7 +2192,7 @@ function BoltTable({
2192
2192
  textOverflow: "ellipsis",
2193
2193
  whiteSpace: "nowrap",
2194
2194
  borderBottom: "1px solid rgba(128,128,128,0.2)",
2195
- backgroundColor: styles?.pinnedBg ?? "color-mix(in srgb, currentColor 4%, Canvas)",
2195
+ backgroundColor: styles?.pinnedBg,
2196
2196
  position: "sticky",
2197
2197
  left: columnOffsets.get("__expand__") ?? 0,
2198
2198
  top: 0,