@sheetxl/react 0.4.8 → 0.4.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.8
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.10
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.8
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.10
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -637,15 +637,16 @@ const Ze = (e2 = 6e4) => new Date(Math.floor(Date.now() / e2) * e2), je = Object
637
637
  })();
638
638
  }, []);
639
639
  const [g2, u2] = J.useState(false), h2 = { opacity: 0.65 }, m2 = J.useMemo(() => {
640
- if (!(s2?.exceptions().length > 0)) return null;
641
- const e3 = [];
642
- for (let t3 = 0; t3 < s2.exceptions().length; t3++) {
643
- const n3 = s2.exceptions()[t3];
644
- e3.push(G("div", { style: { opacity: 0.8, fontSize: "16px", textAlign: "left", color: o2 }, children: n3 }, t3));
640
+ const e3 = s2?.exceptions(), t3 = e3?.length ?? 0;
641
+ if (0 === t3) return null;
642
+ const n3 = [];
643
+ for (let l3 = 0; l3 < t3; l3++) {
644
+ const t4 = e3[l3];
645
+ n3.push(G("div", { style: { opacity: 0.8, fontSize: "16px", textAlign: "left", color: o2 }, children: t4 }, l3));
645
646
  }
646
- return e3;
647
+ return n3;
647
648
  }, [s2, o2]);
648
- if (null == s2) return null;
649
+ if (null === s2) return null;
649
650
  if (s2.isValidFor(r2)) return null;
650
651
  const p2 = s2.type(), f2 = !m2 && p2.endsWith("ity"), w2 = s2.licensee(), q2 = f2 ? 1.6 : 1, v2 = 135 / q2, y2 = 37 / q2;
651
652
  let C2 = null;
@@ -2175,7 +2176,7 @@ const Rt = (e2, t2, o2 = null) => {
2175
2176
  ye2.current = true;
2176
2177
  const e3 = J.lazy(async () => {
2177
2178
  try {
2178
- const e4 = await import("./C8tQNfgmpDLQkca4.mjs");
2179
+ const e4 = await import("./dxyFXUyZ0WCn3N9j.mjs");
2179
2180
  return ye2.current = false, Ce2.current = true, R2([...k2]), e4;
2180
2181
  } catch (e4) {
2181
2182
  return console.warn(e4), _2.current?.(false), null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/react",
3
3
  "description": "React - React components needed to build advanced grid and spreadsheet UIs.",
4
- "version": "0.4.8",
4
+ "version": "0.4.10",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -45,10 +45,10 @@
45
45
  "rooks": "^8.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@sheetxl/grid-react": "^0.4.8",
49
- "@sheetxl/sdk": "^0.4.8",
50
- "@sheetxl/utils": "^0.4.8",
51
- "@sheetxl/utils-react": "^0.4.8",
48
+ "@sheetxl/grid-react": "^0.4.10",
49
+ "@sheetxl/sdk": "^0.4.10",
50
+ "@sheetxl/utils": "^0.4.10",
51
+ "@sheetxl/utils-react": "^0.4.10",
52
52
  "react": "^19.1.0",
53
53
  "react-dom": "^19.1.0"
54
54
  }