@sheetxl/react 0.3.19 → 0.3.20

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.3.19
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.20
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,7 +1,7 @@
1
1
  import * as On from "react";
2
2
  import { forwardRef as ua, useRef as ca, useImperativeHandle as la, useEffect as fa, createElement as yr } from "react";
3
3
  /**
4
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.19
4
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.20
5
5
  *
6
6
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
7
7
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
1
  import x, { memo as ce, useState as q, useRef as h, useCallback as ie, useEffect as M } from "react";
2
2
  /**
3
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.19
3
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.20
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -9,7 +9,7 @@ import tt, { memo as pt, useMemo as ye, useState as ue, forwardRef as vt, useRef
9
9
  import { STANDARD_KEY_CHARS as mi, useSelection as nl, useHeaderSelection as pi, HeaderRenderer as fi, Grid as ol, HeaderDivider as vi, SELECTION_CLIP_INSETS as $o, defaultSelectionRenderer as wi, useKeyboardEditorOverlay as yi, Selection as rl, SVGLine as ro } from "@sheetxl/grid-react";
10
10
  import { unstable_batchedUpdates as Nn, createPortal as ll } from "react-dom";
11
11
  /**
12
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.19
12
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.20
13
13
  *
14
14
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
15
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -2348,7 +2348,7 @@ The content is not applied.` }), new Y("pasteFormulas", v, { label: "Paste Formu
2348
2348
  m.current = !0;
2349
2349
  const K = tt.lazy(async () => {
2350
2350
  try {
2351
- const Ne = await import("./CBkQeL-gD41CuAwz.mjs");
2351
+ const Ne = await import("./PD_mDzFyJeLfLlGH.mjs");
2352
2352
  return m.current = !1, Ke.current = !0, v([...q]), Ne;
2353
2353
  } catch (Ne) {
2354
2354
  return console.warn(Ne), Ie.current?.(!1), null;
@@ -4566,7 +4566,7 @@ const ed = (e) => Je("svg", { ...e, viewBox: "0 0 48 48", children: [p("path", {
4566
4566
  }, Rd = () => {
4567
4567
  const e = Yt(Pl), [t] = ue(() => new ei());
4568
4568
  return ye(() => e || t, [e]);
4569
- }, Ns = "_script-editor_iy654_5", Ls = tt.lazy(() => import("./BSw113sgUhE3oucn.mjs")), Os = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, Zr = async (e, t, n) => {
4569
+ }, Ns = "_script-editor_iy654_5", Ls = tt.lazy(() => import("./iZ-x1pTFLmJ_hF6e.mjs")), Os = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, Zr = async (e, t, n) => {
4570
4570
  const r = e.getModel();
4571
4571
  if (!r) return;
4572
4572
  const l = await t.languages.typescript.getTypeScriptWorker(), o = await l(r.uri), i = await o.getNavigationTree(r.uri.toString()), c = e.getPosition();
@@ -4723,7 +4723,7 @@ const Td = pt(vt((e, t) => {
4723
4723
  }, []), B = Te(null), O = ie((y, H) => {
4724
4724
  g.current = { monaco: H, editor: y }, x(!0), G("Loading Types");
4725
4725
  const ne = w.getScripts().getModules().search()[0]?.getSource() ?? "";
4726
- y.setValue(ne), import("./DywxLGhYpfCNxDic.mjs").then((oe) => oe.c).then((oe) => {
4726
+ y.setValue(ne), import("./BNqkBDosZ_7flmmG.mjs").then((oe) => oe.c).then((oe) => {
4727
4727
  G(""), oe.AutoTypings.create(y, { shareCache: !0, monaco: H, onError: (_) => {
4728
4728
  _ === "Not implemented yet" && (_ = "Compile Errors"), console.warn("Error compiling types", _);
4729
4729
  } }).then(async (_) => {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.19
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.20
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.3.19
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.20
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.
@@ -2175,7 +2175,7 @@ const Rt = (e2, t2, o2 = null) => {
2175
2175
  ye2.current = true;
2176
2176
  const e3 = J.lazy(async () => {
2177
2177
  try {
2178
- const e4 = await import("./IxRlq8mN8zdYMe3M.mjs");
2178
+ const e4 = await import("./BK-m9Czb1UIIzv_7.mjs");
2179
2179
  return ye2.current = false, Ce2.current = true, R2([...k2]), e4;
2180
2180
  } catch (e4) {
2181
2181
  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.3.19",
4
+ "version": "0.3.20",
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.3.19",
49
- "@sheetxl/sdk": "^0.3.19",
50
- "@sheetxl/utils": "^0.3.19",
51
- "@sheetxl/utils-react": "^0.3.19",
48
+ "@sheetxl/grid-react": "^0.3.20",
49
+ "@sheetxl/sdk": "^0.3.20",
50
+ "@sheetxl/utils": "^0.3.20",
51
+ "@sheetxl/utils-react": "^0.3.20",
52
52
  "react": "^19.1.0",
53
53
  "react-dom": "^19.1.0"
54
54
  }