@sheetxl/react 0.6.19 → 0.6.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
  "use strict";/**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.19
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.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,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.6.19
3
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.19
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.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.6.19
4
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.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.
@@ -9,7 +9,7 @@ import ot, { memo as ft, useMemo as Se, useState as me, forwardRef as yt, useRef
9
9
  import { STANDARD_KEY_CHARS as bl, useSelection as si, useHeaderSelection as ql, HeaderRenderer as Cl, Grid as di, HeaderDivider as Sl, SELECTION_CLIP_INSETS as _o, defaultSelectionRenderer as xl, useKeyboardEditorOverlay as kl, Selection as ci, SVGLine as ao } from "@sheetxl/grid-react";
10
10
  import { unstable_batchedUpdates as Hn, createPortal as ui } from "react-dom";
11
11
  /**
12
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.19
12
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.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.
@@ -2358,7 +2358,7 @@ The content is not applied.` }), new Y("pasteFormulas", w, { label: "Paste Formu
2358
2358
  Be.current = !0;
2359
2359
  const ne = ot.lazy(async () => {
2360
2360
  try {
2361
- const Ee = await import("./DRANb7mus_7OUudL.mjs");
2361
+ const Ee = await import("./Bxhh5X3s2fFAnEV4.mjs");
2362
2362
  return Be.current = !1, st.current = !0, w([...v]), Ee;
2363
2363
  } catch (Ee) {
2364
2364
  return console.warn(Ee), Je.current?.(!1), null;
@@ -4588,7 +4588,7 @@ const Ad = (e) => {
4588
4588
  }, Id = () => {
4589
4589
  const e = Jt(dr), [t] = me(() => new ll());
4590
4590
  return Se(() => e || t, [e]);
4591
- }, Ps = "_script-editor_iy654_5", Ws = { 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" }, $s = ot.lazy(() => import("./CLyGkzbKPN5SnksR.mjs"));
4591
+ }, Ps = "_script-editor_iy654_5", Ws = { 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" }, $s = ot.lazy(() => import("./BOHKrMtUTuwwUvqU.mjs"));
4592
4592
  let Bn, Vn, tn = ["define", "require"], Qr = !1;
4593
4593
  const ei = async (e, t, n) => {
4594
4594
  const r = e.getModel();
@@ -4779,7 +4779,7 @@ const zd = ft(yt((e, t) => {
4779
4779
  }, [w]), ue = Te(null), Ie = le((ge, $) => {
4780
4780
  m.current = { monaco: $, editor: ge }, P(!0), se("Loading Types");
4781
4781
  const Le = v.getScripts().getModules().getItems()[0]?.getSource() ?? "";
4782
- ge.setValue(Le), import("./K8x4JdifuZb36Uw8.mjs").then((Z) => Z.c).then(async (Z) => {
4782
+ ge.setValue(Le), import("./Bi3KhGw_0O5g9Clj.mjs").then((Z) => Z.c).then(async (Z) => {
4783
4783
  se(""), Z.AutoTypings.create(ge, { shareCache: !0, dontAdaptEditorOptions: !0, monaco: $, onUpdate: (K, oe) => {
4784
4784
  if (K.type === "LookedUpPackage" && K.success !== void 0) {
4785
4785
  const re = $.languages.typescript.typescriptDefaults.getDiagnosticsOptions();
@@ -4879,7 +4879,7 @@ const zd = ft(yt((e, t) => {
4879
4879
  $.languages.typescript.typescriptDefaults.setDiagnosticsOptions({ noSemanticValidation: !1, noSyntaxValidation: !1, diagnosticCodesToIgnore: [2307] }), $.languages.json.jsonDefaults.setDiagnosticsOptions({ validate: !0 }), $.editor.defineTheme("extended", { base: "vs", inherit: !0, rules: [], colors: {} }), $.editor.defineTheme("extended-dark", { base: "vs-dark", inherit: !0, rules: [], colors: {} }), (async () => {
4880
4880
  let Le = !1, ye = !1;
4881
4881
  try {
4882
- const Z = await (async () => await (await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.6.19/types/scripting.d.ts")).text())(), K = $.Uri.parse('inmemory://model/"sheetxl-models".d.ts');
4882
+ const Z = await (async () => await (await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.6.20/types/scripting.d.ts")).text())(), K = $.Uri.parse('inmemory://model/"sheetxl-models".d.ts');
4883
4883
  let oe = $.editor.getModel(K);
4884
4884
  oe ? ye = !0 : oe = $.editor.createModel(Z, "typescript", K), $.editor.setModelMarkers(oe, "default", []), Le = !0;
4885
4885
  } catch (Z) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.19
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.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.6.19
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.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.
@@ -2185,7 +2185,7 @@ const Rt = (e2, t2, o2 = null) => {
2185
2185
  Ce2.current = true;
2186
2186
  const e3 = Q.lazy(async () => {
2187
2187
  try {
2188
- const e4 = await import("./BiHcCoh_FGlIztuz.mjs");
2188
+ const e4 = await import("./BnHx9Zuwgc6znz2n.mjs");
2189
2189
  return Ce2.current = false, be2.current = true, R2([...k2]), e4;
2190
2190
  } catch (e4) {
2191
2191
  return console.warn(e4), _2.current?.(false), null;
@@ -3398,7 +3398,7 @@ const bn = ee(ne((e2, t2) => {
3398
3398
  let t3 = false, o3 = false;
3399
3399
  try {
3400
3400
  const n3 = await (async () => {
3401
- const e5 = await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.6.19/types/scripting.d.ts");
3401
+ const e5 = await fetch("https://cdn.jsdelivr.net/npm/@sheetxl/sdk@0.6.20/types/scripting.d.ts");
3402
3402
  return await e5.text();
3403
3403
  })(), l3 = e4.Uri.parse('inmemory://model/"sheetxl-models".d.ts');
3404
3404
  let r3 = e4.editor.getModel(l3);
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.6.19",
4
+ "version": "0.6.20",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -37,10 +37,10 @@
37
37
  "@dnd-kit/sortable": "^10.0.0",
38
38
  "@dnd-kit/utilities": "^3.2.2",
39
39
  "@monaco-editor/react": "^4.6.0",
40
- "@sheetxl/grid-react": "^0.6.19",
41
- "@sheetxl/sdk": "^0.6.19",
42
- "@sheetxl/utils": "^0.6.19",
43
- "@sheetxl/utils-react": "^0.6.19",
40
+ "@sheetxl/grid-react": "^0.6.20",
41
+ "@sheetxl/sdk": "^0.6.20",
42
+ "@sheetxl/utils": "^0.6.20",
43
+ "@sheetxl/utils-react": "^0.6.20",
44
44
  "clsx": "^2.1.1",
45
45
  "monaco-editor-auto-typings": "^0.4.6",
46
46
  "react-merge-refs": "^3.0.2",