@sheetxl/grid-react 0.8.0-beta.21 → 0.8.0-beta.22

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,6 +1,6 @@
1
1
  (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.sxl-grid-surface,.sxl-touch-input{--sxl-handle-size:11px;--sxl-handle-ring:2px;--sxl-handle-hit:11px;--sxl-handle-color:var(--sxl-color-primary,#217346);--sxl-handle-halo:0px}.sxl-touch-input{--sxl-handle-size:14px;--sxl-handle-hit:36px;--sxl-handle-halo:1.5px}._grid-stage_rzp9d_1{width:100%;height:100%;position:absolute;top:0;left:0}._grid-stage_rzp9d_1>*{pointer-events:none;position:absolute;inset:0}._grid-stage_rzp9d_1>*>*{pointer-events:auto}._sheetxl-grid_9syr3_7{box-sizing:border-box;user-select:none;contain:strict;width:100%;height:100%;position:relative}._sheetxl-grid_9syr3_7 *{box-sizing:border-box!important}._sheetxl-grid_9syr3_7 :focus{outline:none}._sheetxl-grid_9syr3_7>*{contain:size layout style}._virtual-div_16eab_1{position:absolute}._tiles_1hj43_7{will-change:transform}._tiles_1hj43_7 .sxl-tile{white-space:pre;position:absolute}._tiles_1hj43_7 .sxl-tile>*{contain:strict;position:absolute}._tiles_1hj43_7 [data-cell-interactive]{pointer-events:auto}._gridlines_1hj43_32,._gridlines_1hj43_32 *{pointer-events:none;position:absolute;overflow:visible}.sxl-cell{letter-spacing:-.25px;padding:2px 4px;font-family:Calibri;line-height:1.2}._field_q34pi_8{box-sizing:border-box;background:light-dark(#fff,#2b2b2b);border:1px solid light-dark(#c4c4c4,#5a5a5a);border-radius:4px;flex:none;align-items:center;width:100%;min-width:0;display:flex;position:relative}._field_q34pi_8:focus-within{border-color:var(--sxl-color-primary,#0078d7)}._search_q34pi_28{box-sizing:border-box;width:auto;min-width:0;font:inherit;color:inherit;background:0 0;border:none;outline:none;flex:auto;margin:0;padding:3px 4px}._search_q34pi_28::placeholder{opacity:.6}._icon_q34pi_47{opacity:.6;pointer-events:none;flex:none;width:14px;height:14px;margin-left:6px}._clear_q34pi_56{width:20px;height:20px;color:inherit;opacity:.6;cursor:pointer;background:0 0;border:none;border-radius:2px;flex:none;justify-content:center;align-items:center;margin-right:2px;padding:0;display:inline-flex}._clear_q34pi_56 svg{width:12px;height:12px}._clear_q34pi_56:hover{opacity:1;background:light-dark(#0000000f,#ffffff1a)}._row_q34pi_84{align-items:center;gap:6px;min-width:0;display:flex}._row_q34pi_84 ._field_q34pi_8{flex:auto;width:auto}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
2
  /**
3
- * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.8.0-beta.21
3
+ * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.8.0-beta.22
4
4
  *
5
5
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
6
6
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -5758,7 +5758,7 @@ function $i(e) {
5758
5758
  overflow: "hidden",
5759
5759
  background: A,
5760
5760
  borderColor: a,
5761
- boxShadow: O ? "rgba(60,64,67,.35) 2px 2px 6px 3px" : "none",
5761
+ boxShadow: O ? "2px 2px 6px 2px var(--sxl-color-shadow, rgba(0, 0, 0, 0.12))" : "none",
5762
5762
  opacity: +!!O,
5763
5763
  pointerEvents: O ? "auto" : "none"
5764
5764
  },
@@ -6143,7 +6143,7 @@ var pa = (e, t) => {
6143
6143
  onActiveChange: c
6144
6144
  });
6145
6145
  if (!p) return null;
6146
- let x = f ? u ? l.getPaneBounds().width : l.getPaneBounds().height : 0, S = f ? x - 3 : 0, C = f ? x : +!!m, w = f || m ? 0 : 1, T = f || m ? 2 : 3, E = (u ? l.getPaneBounds().height : l.getPaneBounds().width) - w, D = m || r && !n ? "var(--sxl-color-primary, rgb(33, 115, 70))" : "var(--sxl-color-neutral, grey)";
6146
+ let x = f ? u ? l.getPaneBounds().width : l.getPaneBounds().height : 0, S = f ? x - 3 : 0, C = f ? x : +!!m, w = f || m ? 0 : 1, T = f || m ? 2 : 3, E = (u ? l.getPaneBounds().height : l.getPaneBounds().width) - w, D = m || r && !n ? "var(--sxl-color-primary, rgb(33, 115, 70))" : "var(--sxl-color-base-border, grey)";
6147
6147
  return b(v, { children: [
6148
6148
  _,
6149
6149
  y("div", {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.8.0-beta.21
2
+ * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.8.0-beta.22
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -5823,7 +5823,7 @@ function el(e) {
5823
5823
  overflow: "hidden",
5824
5824
  background: k,
5825
5825
  borderColor: l,
5826
- boxShadow: M ? "rgba(60,64,67,.35) 2px 2px 6px 3px" : "none",
5826
+ boxShadow: M ? "2px 2px 6px 2px var(--sxl-color-shadow, rgba(0, 0, 0, 0.12))" : "none",
5827
5827
  opacity: M ? 1 : 0,
5828
5828
  pointerEvents: M ? "auto" : "none"
5829
5829
  },
@@ -6212,7 +6212,7 @@ var fl = (e, t) => {
6212
6212
  onActiveChange: a
6213
6213
  });
6214
6214
  if (!h) return null;
6215
- const b = g ? d ? c.getPaneBounds().width : c.getPaneBounds().height : 0, S = g ? b - 3 : 0, E = g ? b : f ? 1 : 0, C = g || f ? 0 : 1, I = g || f ? 2 : 3, R = (d ? c.getPaneBounds().height : c.getPaneBounds().width) - C, P = f || r && !n ? "var(--sxl-color-primary, rgb(33, 115, 70))" : "var(--sxl-color-neutral, grey)";
6215
+ const b = g ? d ? c.getPaneBounds().width : c.getPaneBounds().height : 0, S = g ? b - 3 : 0, E = g ? b : f ? 1 : 0, C = g || f ? 0 : 1, I = g || f ? 2 : 3, R = (d ? c.getPaneBounds().height : c.getPaneBounds().width) - C, P = f || r && !n ? "var(--sxl-color-primary, rgb(33, 115, 70))" : "var(--sxl-color-base-border, grey)";
6216
6216
  return v(w, { children: [
6217
6217
  y,
6218
6218
  x("div", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/grid-react",
3
3
  "description": "Grid React - Advanced grid component for React",
4
- "version": "0.8.0-beta.21",
4
+ "version": "0.8.0-beta.22",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "exports": {
@@ -40,8 +40,8 @@
40
40
  "table"
41
41
  ],
42
42
  "dependencies": {
43
- "@sheetxl/utils": "^0.8.0-beta.21",
44
- "@sheetxl/utils-react": "^0.8.0-beta.21",
43
+ "@sheetxl/utils": "^0.8.0-beta.22",
44
+ "@sheetxl/utils-react": "^0.8.0-beta.22",
45
45
  "clsx": "^2.1.1",
46
46
  "react-merge-refs": "^3.0.2"
47
47
  },