@sheetxl/react 0.4.8 → 0.4.9

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,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.4.8
4
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.9
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.4.8
3
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.9
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 ft, useMemo as ye, useState as ue, forwardRef as wt, 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.4.8
12
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.9
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 Fe = await import("./LItROSSHxPJCz9E5.mjs");
2351
+ const Fe = await import("./BNans21Vs1G4_8lc.mjs");
2352
2352
  return m.current = !1, Ke.current = !0, v([...C]), Fe;
2353
2353
  } catch (Fe) {
2354
2354
  return console.warn(Fe), ze.current?.(!1), null;
@@ -4568,7 +4568,7 @@ const ed = (e) => Je("svg", { ...e, viewBox: "0 0 48 48", children: [p("path", {
4568
4568
  }, Rd = () => {
4569
4569
  const e = Yt(Pl), [t] = ue(() => new ei());
4570
4570
  return ye(() => e || t, [e]);
4571
- }, Ns = "_script-editor_iy654_5", Ls = tt.lazy(() => import("./Bcq_kfgxJrhU6yN7.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) => {
4571
+ }, Ns = "_script-editor_iy654_5", Ls = tt.lazy(() => import("./CZBZdo6JvJJ12ngU.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) => {
4572
4572
  const r = e.getModel();
4573
4573
  if (!r) return;
4574
4574
  const l = await t.languages.typescript.getTypeScriptWorker(), o = await l(r.uri), i = await o.getNavigationTree(r.uri.toString()), c = e.getPosition();
@@ -4725,7 +4725,7 @@ const Td = ft(wt((e, t) => {
4725
4725
  }, []), B = Te(null), O = ie((y, V) => {
4726
4726
  u.current = { monaco: V, editor: y }, x(!0), G("Loading Types");
4727
4727
  const ne = w.getScripts().getModules().search()[0]?.getSource() ?? "";
4728
- y.setValue(ne), import("./Bl-eU8zCnI2rr2d3.mjs").then((oe) => oe.c).then((oe) => {
4728
+ y.setValue(ne), import("./kV_N8ySzY88DxIVA.mjs").then((oe) => oe.c).then((oe) => {
4729
4729
  G(""), oe.AutoTypings.create(y, { shareCache: !0, monaco: V, onError: (_) => {
4730
4730
  _ === "Not implemented yet" && (_ = "Compile Errors"), console.warn("Error compiling types", _);
4731
4731
  } }).then(async (_) => {
@@ -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.9
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.9
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("./C8tQNfgmpDLQkca4.mjs");
2178
+ const e4 = await import("./qVMCnBvRVvSaMxkR.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;
@@ -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.9
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.
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.9",
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.9",
49
+ "@sheetxl/sdk": "^0.4.9",
50
+ "@sheetxl/utils": "^0.4.9",
51
+ "@sheetxl/utils-react": "^0.4.9",
52
52
  "react": "^19.1.0",
53
53
  "react-dom": "^19.1.0"
54
54
  }