@sheetxl/react 0.3.0 → 0.3.1

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.3.0
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.1
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.3.0
3
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.1
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.3.0
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.1
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.0
4
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.3.1
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.
@@ -162,28 +162,12 @@ function jr(n, t) {
162
162
  if ((_ = io(D, d, b, h, p)) !== -1 && u) return m() && o ? (x = b, "break") : (g.push(d.slice(b, _ + 1).join("")), b = _, o ? (x = b, "break") : (x = b, "continue"));
163
163
  } else {
164
164
  if (P && !wr(P, d, b)) {
165
- var M = (
166
- /*! *****************************************************************************
167
- Copyright (c) Microsoft Corporation.
168
-
169
- Permission to use, copy, modify, and/or distribute this software for any
170
- purpose with or without fee is hereby granted.
171
-
172
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
173
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
174
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
175
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
176
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
177
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
178
- PERFORMANCE OF THIS SOFTWARE.
179
- ***************************************************************************** */
180
- function() {
181
- for (var T = 0, R = 0, F = arguments.length; R < F; R++) T += arguments[R].length;
182
- var z = Array(T), B = 0;
183
- for (R = 0; R < F; R++) for (var G = arguments[R], k = 0, I = G.length; k < I; k++, B++) z[B] = G[k];
184
- return z;
185
- }(p)
186
- );
165
+ var M = function() {
166
+ for (var T = 0, R = 0, F = arguments.length; R < F; R++) T += arguments[R].length;
167
+ var z = Array(T), B = 0;
168
+ for (R = 0; R < F; R++) for (var G = arguments[R], k = 0, I = G.length; k < I; k++, B++) z[B] = G[k];
169
+ return z;
170
+ }(p);
187
171
  return M.splice(p.indexOf(P), 1), { value: jr(n, { separator: i, isSeparateFirst: o, isSeparateOnlyOpenClose: a, isSeparateOpenClose: u, openCloseCharacters: M }) };
188
172
  }
189
173
  if (function(T, R) {
@@ -613,22 +597,7 @@ var Ta = function() {
613
597
  } || function(e, r) {
614
598
  for (var i in r) r.hasOwnProperty(i) && (e[i] = r[i]);
615
599
  }, Cr(n, t);
616
- };
617
- /*! *****************************************************************************
618
- Copyright (c) Microsoft Corporation. All rights reserved.
619
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
620
- this file except in compliance with the License. You may obtain a copy of the
621
- License at http://www.apache.org/licenses/LICENSE-2.0
622
-
623
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
624
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
625
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
626
- MERCHANTABLITY OR NON-INFRINGEMENT.
627
-
628
- See the Apache Version 2.0 License for specific language governing permissions
629
- and limitations under the License.
630
- ***************************************************************************** */
631
- var wi, Oa = typeof Map == "function" ? void 0 : (wi = 0, function(n) {
600
+ }, wi, Oa = typeof Map == "function" ? void 0 : (wi = 0, function(n) {
632
601
  return n.__DIFF_KEY__ || (n.__DIFF_KEY__ = ++wi);
633
602
  }), ho = function(n) {
634
603
  function t(e) {
@@ -695,20 +664,6 @@ var wi, Oa = typeof Map == "function" ? void 0 : (wi = 0, function(n) {
695
664
  o[e] = o[e] || [], o[e].push(_r({ listener: r }, i));
696
665
  }, n;
697
666
  }();
698
- /*! *****************************************************************************
699
- Copyright (c) Microsoft Corporation.
700
-
701
- Permission to use, copy, modify, and/or distribute this software for any
702
- purpose with or without fee is hereby granted.
703
-
704
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
705
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
706
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
707
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
708
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
709
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
710
- PERFORMANCE OF THIS SOFTWARE.
711
- ***************************************************************************** */
712
667
  function Kt(n) {
713
668
  return ft(n, Tt);
714
669
  }
@@ -884,20 +839,6 @@ function Pa(n, t) {
884
839
  return r.pos;
885
840
  });
886
841
  }
887
- /*! *****************************************************************************
888
- Copyright (c) Microsoft Corporation.
889
-
890
- Permission to use, copy, modify, and/or distribute this software for any
891
- purpose with or without fee is hereby granted.
892
-
893
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
894
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
895
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
896
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
897
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
898
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
899
- PERFORMANCE OF THIS SOFTWARE.
900
- ***************************************************************************** */
901
842
  var Pr = function(n, t) {
902
843
  return Pr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
903
844
  e.__proto__ = r;