@sheetxl/react 0.4.21 → 0.4.22

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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.22
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.4.21
4
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.22
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 tt, { memo as ft, useMemo as be, 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.21
12
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.22
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.
@@ -2349,7 +2349,7 @@ The content is not applied.` }), new Y("pasteFormulas", w, { label: "Paste Formu
2349
2349
  m.current = !0;
2350
2350
  const K = tt.lazy(async () => {
2351
2351
  try {
2352
- const Le = await import("./CmlZyAPFVFma1a0S.mjs");
2352
+ const Le = await import("./CuzzPLl_3S3aWqL3.mjs");
2353
2353
  return m.current = !1, Ke.current = !0, w([...q]), Le;
2354
2354
  } catch (Le) {
2355
2355
  return console.warn(Le), ke.current?.(!1), null;
@@ -4569,7 +4569,7 @@ const ed = (e) => Je("svg", { ...e, viewBox: "0 0 48 48", children: [p("path", {
4569
4569
  }, Rd = () => {
4570
4570
  const e = Yt(Pl), [t] = ue(() => new ei());
4571
4571
  return be(() => e || t, [e]);
4572
- }, Ns = "_script-editor_iy654_5", Ls = tt.lazy(() => import("./wz-bwVrp2H1fhsi_.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
+ }, Ns = "_script-editor_iy654_5", Ls = tt.lazy(() => import("./prhAaWyq16Wec0Y_.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) => {
4573
4573
  const r = e.getModel();
4574
4574
  if (!r) return;
4575
4575
  const l = await t.languages.typescript.getTypeScriptWorker(), o = await l(r.uri), i = await o.getNavigationTree(r.uri.toString()), c = e.getPosition();
@@ -4732,7 +4732,7 @@ const Td = ft(wt((e, t) => {
4732
4732
  }, []), O = Me(null), W = ie((P, $) => {
4733
4733
  u.current = { monaco: $, editor: P }, S(!0), j("Loading Types");
4734
4734
  const Ce = v.getScripts().getModules().search()[0]?.getSource() ?? "";
4735
- P.setValue(Ce), import("./CiXmyVAjR6BoiS2g.mjs").then((X) => X.c).then((X) => {
4735
+ P.setValue(Ce), import("./CjPNZrqKeNOOCT5-.mjs").then((X) => X.c).then((X) => {
4736
4736
  j(""), X.AutoTypings.create(P, { shareCache: !0, dontAdaptEditorOptions: !0, monaco: $, onUpdate: (J, ke) => {
4737
4737
  if (J.type === "LookedUpPackage" && J.success !== void 0) {
4738
4738
  const Ae = $.languages.typescript.typescriptDefaults.getDiagnosticsOptions();
@@ -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.21
3
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.22
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.4.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.22
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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.22
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.
@@ -2176,7 +2176,7 @@ const Rt = (e2, t2, o2 = null) => {
2176
2176
  ye2.current = true;
2177
2177
  const e3 = Q.lazy(async () => {
2178
2178
  try {
2179
- const e4 = await import("./Cu3h0KP2FsrN74Bm.mjs");
2179
+ const e4 = await import("./1cRuY1pcJyerYXPm.mjs");
2180
2180
  return ye2.current = false, Ce2.current = true, R2([...k2]), e4;
2181
2181
  } catch (e4) {
2182
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.21",
4
+ "version": "0.4.22",
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/utils": "^0.4.21",
41
- "@sheetxl/utils-react": "^0.4.21",
42
- "@sheetxl/grid-react": "^0.4.21",
43
- "@sheetxl/sdk": "^0.4.21",
40
+ "@sheetxl/utils": "^0.4.22",
41
+ "@sheetxl/utils-react": "^0.4.22",
42
+ "@sheetxl/grid-react": "^0.4.22",
43
+ "@sheetxl/sdk": "^0.4.22",
44
44
  "clsx": "^2.1.1",
45
45
  "monaco-editor-auto-typings": "^0.4.6",
46
46
  "react-merge-refs": "^3.0.2",