@ricsam/react-spreadsheets 0.0.5 → 0.0.6

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/react-spreadsheets",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "commonjs"
5
5
  }
package/dist/mjs/lib.mjs CHANGED
@@ -2639,7 +2639,7 @@ var Spreadsheet = forwardRef(({
2639
2639
  height: 0,
2640
2640
  visibility: "hidden",
2641
2641
  pointerEvents: "none",
2642
- color: "var(--rsp-gridline)"
2642
+ color: "var(--_rsp-gridline)"
2643
2643
  }
2644
2644
  }),
2645
2645
  /* @__PURE__ */ jsx3("canvas", {
@@ -3568,32 +3568,32 @@ function FormulaSheet({
3568
3568
  const isLastColumn = cell.colIndex === tableInfo.start.colIndex + tableInfo.headers.size - 1;
3569
3569
  const isLastRow = tableInfo.endRow.type === "number" ? cell.rowIndex === tableInfo.endRow.value : false;
3570
3570
  const style = {
3571
- border: "1px solid var(--rsp-table-border-light)"
3571
+ border: "1px solid var(--_rsp-table-border-light)"
3572
3572
  };
3573
3573
  if (isHeaderRow) {
3574
- style.backgroundColor = "var(--rsp-table-header-bg)";
3575
- style.color = "var(--rsp-table-header-color)";
3574
+ style.backgroundColor = "var(--_rsp-table-header-bg)";
3575
+ style.color = "var(--_rsp-table-header-color)";
3576
3576
  style.fontWeight = "bold";
3577
- style.borderBottom = "2px solid var(--rsp-table-header-border)";
3577
+ style.borderBottom = "2px solid var(--_rsp-table-header-border)";
3578
3578
  } else {
3579
3579
  const dataRowIndex = cell.rowIndex - tableInfo.start.rowIndex - 1;
3580
3580
  if (dataRowIndex % 2 === 0) {
3581
- style.backgroundColor = "var(--rsp-table-even-row-bg)";
3581
+ style.backgroundColor = "var(--_rsp-table-even-row-bg)";
3582
3582
  } else {
3583
- style.backgroundColor = "var(--rsp-table-odd-row-bg)";
3583
+ style.backgroundColor = "var(--_rsp-table-odd-row-bg)";
3584
3584
  }
3585
3585
  }
3586
3586
  if (isFirstColumn) {
3587
- style.borderLeft = "2px solid var(--rsp-table-border-color)";
3587
+ style.borderLeft = "2px solid var(--_rsp-table-border-color)";
3588
3588
  }
3589
3589
  if (isLastColumn) {
3590
- style.borderRight = "2px solid var(--rsp-table-border-color)";
3590
+ style.borderRight = "2px solid var(--_rsp-table-border-color)";
3591
3591
  }
3592
3592
  if (isHeaderRow) {
3593
- style.borderTop = "2px solid var(--rsp-table-border-color)";
3593
+ style.borderTop = "2px solid var(--_rsp-table-border-color)";
3594
3594
  }
3595
3595
  if (isLastRow) {
3596
- style.borderBottom = "2px solid var(--rsp-table-border-color)";
3596
+ style.borderBottom = "2px solid var(--_rsp-table-border-color)";
3597
3597
  }
3598
3598
  if (conditionalStyle?.backgroundColor) {
3599
3599
  style.backgroundColor = conditionalStyle.backgroundColor;
@@ -4109,4 +4109,4 @@ export {
4109
4109
  useResizeObserver
4110
4110
  };
4111
4111
 
4112
- //# debugId=93A3B97B45C8788264756E2164756E21
4112
+ //# debugId=2CF31D1B5984B38964756E2164756E21