@sheetxl/react 0.7.23 → 0.7.25

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.7.23
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.25
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,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.7.23
3
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.25
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.
@@ -8,7 +8,7 @@ import Je, { memo as gt, useMemo as fe, useState as Ce, forwardRef as pt, useRef
8
8
  import { STANDARD_KEY_CHARS as yl, useSelection as ii, useHeaderSelection as bl, HeaderRenderer as Cl, Grid as li, HeaderDivider as ql, SELECTION_CLIP_INSETS as Ko, defaultSelectionRenderer as Sl, useKeyboardEditorOverlay as xl, Selection as ai, SVGLine as no } from "@sheetxl/grid-react";
9
9
  import { unstable_batchedUpdates as oo, createPortal as si } from "react-dom";
10
10
  /**
11
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.23
11
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.25
12
12
  *
13
13
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
14
14
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -2366,7 +2366,7 @@ The content is not applied.`, icon: "PasteFormats" }), new Q("pasteFormulas", h,
2366
2366
  Fe.current = !0;
2367
2367
  const d = Je.lazy(async () => {
2368
2368
  try {
2369
- const M = await import("./DQ-SZI5rmXrPbUze.mjs");
2369
+ const M = await import("./yQlUSiMKgCRHLXMR.mjs");
2370
2370
  return Fe.current = !1, a.current = !0, R([...h]), M;
2371
2371
  } catch (M) {
2372
2372
  return console.warn(M), Oe.current?.(!1), null;
@@ -4595,8 +4595,8 @@ const Nc = (e) => {
4595
4595
  }, Lc = () => {
4596
4596
  const e = Kt(ur), [t] = Ce(() => new il());
4597
4597
  return fe(() => e || t, [e]);
4598
- }, _s = "_script-editor_iy654_5", Gs = { 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" }, Zs = Je.lazy(() => import("./eT5cWvBfYZj_Iyje.mjs"));
4599
- let In, Fn, tn = ["define", "require"], Yr = !1, uo = "@0.7.23";
4598
+ }, _s = "_script-editor_iy654_5", Gs = { 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" }, Zs = Je.lazy(() => import("./Qh6oFvYGT3BsYrwP.mjs"));
4599
+ let In, Fn, tn = ["define", "require"], Yr = !1, uo = "@0.7.25";
4600
4600
  uo !== "@local" && uo !== "@0.0.0" || (uo = "");
4601
4601
  const js = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${uo}/types/scripting.d.ts`, Xr = async (e, t, n) => {
4602
4602
  const r = e.getModel();
@@ -4793,7 +4793,7 @@ const Pc = gt(pt((e, t) => {
4793
4793
  }, [R]), We = xe(null), $e = te((ge, P) => {
4794
4794
  g.current = { monaco: P, editor: ge }, D(!0), oe("Loading Types");
4795
4795
  const Le = h?.getScripts().getModules().getItems()[0]?.getSource() ?? "";
4796
- ge.setValue(Le), import("./Ghtgmxu52GqkgYCO.mjs").then((O) => O.c).then(async (O) => {
4796
+ ge.setValue(Le), import("./BpnM0ZfOTJChgXJl.mjs").then((O) => O.c).then(async (O) => {
4797
4797
  oe(""), O.AutoTypings.create(ge, { shareCache: !0, dontAdaptEditorOptions: !0, monaco: P, onUpdate: ($, he) => {
4798
4798
  if ($.type === "LookedUpPackage" && $.success !== void 0) {
4799
4799
  const de = P.languages.typescript.typescriptDefaults.getDiagnosticsOptions();
@@ -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.7.23
4
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.25
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,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.23
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.25
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.7.23
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.25
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.
@@ -2358,7 +2358,7 @@ const Vt = (e2, t2, o2 = null) => {
2358
2358
  Ce2.current = true;
2359
2359
  const e3 = le.lazy(async () => {
2360
2360
  try {
2361
- const e4 = await import("./DJJvpdSDeu0yf-Vy.mjs");
2361
+ const e4 = await import("./CNOJ8jvNTSRVp4vY.mjs");
2362
2362
  return Ce2.current = false, be2.current = true, k2([...b2]), e4;
2363
2363
  } catch (e4) {
2364
2364
  return console.warn(e4), j2.current?.(false), null;
@@ -3281,7 +3281,7 @@ const qn = (e2) => {
3281
3281
  return ae(() => e2 || t2, [e2]);
3282
3282
  }, Cn = "_script-editor_iy654_5", bn = { lightbulb: { enabled: false }, tabSize: 2, acceptSuggestionOnCommitCharacter: true, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: true, autoIndent: false, codeLens: true, colorDecorators: true, contextmenu: true, cursorBlinking: "blink", cursorSmoothCaretAnimation: false, cursorStyle: "line", disableLayerHinting: false, disableMonospaceOptimizations: false, dragAndDrop: true, glyphMargin: true, fixedOverflowWidgets: false, folding: true, foldingStrategy: "auto", fontLigatures: false, formatOnPaste: true, formatOnType: false, hideCursorInOverviewRuler: false, highlightActiveIndentGuide: true, links: true, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: false, multiCursorMergeOverlapping: true, multiCursorModifier: "alt", overviewRulerBorder: true, overviewRulerLanes: 2, quickSuggestions: true, quickSuggestionsDelay: 100, readOnly: false, renderControlCharacters: false, renderFinalNewline: true, renderIndentGuides: true, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: true, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: true, selectOnLineNumbers: true, selectionClipboard: true, selectionHighlight: true, showLightbulbIconMode: false, showFoldingControls: "mouseover", smoothScrolling: true, suggestOnTriggerCharacters: true, wordBasedSuggestions: true, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: true, wrappingIndent: "none" }, Sn = le.lazy(() => import("@monaco-editor/react"));
3283
3283
  let xn, kn, Tn = ["define", "require"], Rn = false;
3284
- let Mn = "@0.7.23";
3284
+ let Mn = "@0.7.25";
3285
3285
  "@local" !== Mn && "@0.0.0" !== Mn || (Mn = "");
3286
3286
  const An = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${Mn}/types/scripting.d.ts`, Fn = async (e2, t2, o2) => {
3287
3287
  const n2 = e2.getModel();
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.7.23",
4
+ "version": "0.7.25",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -49,10 +49,10 @@
49
49
  "@dnd-kit/sortable": "^10.0.0",
50
50
  "@dnd-kit/utilities": "^3.2.2",
51
51
  "@monaco-editor/react": "^4.6.0",
52
- "@sheetxl/grid-react": "^0.7.23",
53
- "@sheetxl/sdk": "^0.7.23",
54
- "@sheetxl/utils": "^0.7.23",
55
- "@sheetxl/utils-react": "^0.7.23",
52
+ "@sheetxl/grid-react": "^0.7.25",
53
+ "@sheetxl/sdk": "^0.7.25",
54
+ "@sheetxl/utils": "^0.7.25",
55
+ "@sheetxl/utils-react": "^0.7.25",
56
56
  "clsx": "^2.1.1",
57
57
  "monaco-editor-auto-typings": "^0.4.6",
58
58
  "react-merge-refs": "^3.0.2",