@sheetxl/react 0.8.0-beta.20 → 0.8.0-beta.21

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.
Files changed (63) hide show
  1. package/browser/esm/{C1Qp40Kq88D9nzcX.mjs → 6lfBozPNyWlFBEDn.mjs} +1 -1
  2. package/browser/esm/{BzZ2vOT8CNsqcL8P.mjs → B7TCFLHs7nnOgLMi.mjs} +2 -2
  3. package/browser/esm/{DeOhqQroIiAic6-j.mjs → BQur1iFrng9Y4kh4.mjs} +1 -1
  4. package/browser/esm/{BFjx8_H3wUxrWDq9.mjs → BjnWnPjhT1QFkbUC.mjs} +4 -4
  5. package/browser/esm/{CtbJ8PCap2NGxlu0.mjs → BwMC6jAg2neI4LTH.mjs} +1 -1
  6. package/browser/esm/{QJPDAP6UIHTbY1fM.mjs → BzCq_Z7J2qQlY4Dp.mjs} +3 -3
  7. package/browser/esm/{Ch5X-uGft55TOqxa.mjs → BzFKdDmdCdg3cXdh.mjs} +6 -6
  8. package/browser/esm/{B06WJCAWTIB7QYlK.mjs → C2HjD-DbaqXq93R7.mjs} +1 -1
  9. package/browser/esm/{SESUB_fypyWmhCWm.mjs → C46qV9hBGqlz6_Kt.mjs} +12 -12
  10. package/browser/esm/{B8_6V0LUnuA1dLW6.mjs → C9dHNoiKtX9PLY1g.mjs} +1 -1
  11. package/browser/esm/{BkBxhk45Iln3h-sG.mjs → CA6w64diOtRCgr4n.mjs} +1 -1
  12. package/browser/esm/{BcC6S9k7zkHfCNRX.mjs → CCL3pFmdsuwahoCR.mjs} +1 -1
  13. package/browser/esm/{COn0z_IT5hyEPNfV.mjs → CHgyrBEiFmspcFXV.mjs} +1 -1
  14. package/browser/esm/{Dkw3FFdQKXZQrkFv.mjs → CPwcEeQtvkrESNEy.mjs} +10 -10
  15. package/browser/esm/{CUPlUCBX7owYqDq5.mjs → CdE8JeJkTtdh5qqp.mjs} +2 -2
  16. package/browser/esm/{BGcs5WWx5PpaiJo4.mjs → CkYId3pjG9v3XZM2.mjs} +1 -1
  17. package/browser/esm/{CM9e6dbkYbw56iFf.mjs → Co65nK3fyBcyVzrS.mjs} +2 -2
  18. package/browser/esm/{Ca_Ki0Si5ozlm1sl.mjs → DG1f60gvSkz8Y3qb.mjs} +10 -10
  19. package/browser/esm/{Cwye4MAU1-EF7Xlv.mjs → DL2WZkJdK1lZfpJo.mjs} +13 -13
  20. package/browser/esm/{CPjk4grd05Rp-e3V.mjs → Dl0ye0MfTml4mjhA.mjs} +3 -3
  21. package/browser/esm/{CU67T36gmVTq9ZwH.mjs → _T8e_9xhVAagwkPD.mjs} +1 -1
  22. package/browser/esm/chart.mjs +3 -3
  23. package/browser/esm/control.mjs +3 -3
  24. package/browser/esm/{qeb-_mAjUAWD7bo4.mjs → fHDciYUZvXpLzoID.mjs} +2 -2
  25. package/browser/esm/group.mjs +7 -7
  26. package/browser/esm/index.mjs +173 -173
  27. package/browser/esm/{C5RaHvks1HTBfWcr.mjs → k1IvXgw5-153QQUo.mjs} +2 -2
  28. package/browser/esm/{CckrsFaUWle82oNL.mjs → mOYnwl3MMod-yX7a.mjs} +1 -1
  29. package/browser/esm/note.mjs +5 -5
  30. package/browser/esm/picture.mjs +2 -2
  31. package/browser/esm/shape.mjs +2 -2
  32. package/browser/esm/slicer.mjs +10 -10
  33. package/browser/esm/{DcEGutcM_5gl0fZm.mjs → zTaXN_1rvsoWg94m.mjs} +3 -3
  34. package/node/esm/{C9Yq98-vMDznppO2.mjs → 8PerdW56-NyRf0pg.mjs} +3 -3
  35. package/node/esm/{DytW9LaLlJGM-6m6.mjs → B2a1mRx9B8XMRd8H.mjs} +1 -1
  36. package/node/esm/{Ef8HHL90yLZgk3Gf.mjs → B4qJFO-8Vml8JbaC.mjs} +2 -2
  37. package/node/esm/{DmPmSA-2Aha-_6qu.mjs → BBBfGP0lLhBFoR9F.mjs} +9 -9
  38. package/node/esm/{77PQMLXXAN7fjBHS.mjs → BQpm93aEyzN5TiU6.mjs} +1 -1
  39. package/node/esm/{c1FOnFN_eCD6KR4l.mjs → BadjRr_jKKGvmEW-.mjs} +1 -1
  40. package/node/esm/{gfwmGAXGhq9IIu1U.mjs → Bzuh8HcJcFD2dYTY.mjs} +2 -2
  41. package/node/esm/{C7wmHIY8RLeNSX3T.mjs → CD1OBtF4vEthYy6e.mjs} +1 -1
  42. package/node/esm/{DrFBSp6XMEAjkdoG.mjs → CGEbcsNJ40cYQEWX.mjs} +2 -2
  43. package/node/esm/{BOAB33GIG2M2CWMr.mjs → CNYzecnb2TInTI8p.mjs} +1 -1
  44. package/node/esm/{Jy5x43_CAF31L14-.mjs → COg8aOu0d67g_Pg5.mjs} +1 -1
  45. package/node/esm/{UBas29HOMjk4p5jo.mjs → CdKkuM4Yy04LbhRL.mjs} +1 -1
  46. package/node/esm/{CWOKAmLpdinc-0TK.mjs → Df-nWyFJwXaVd79x.mjs} +22 -22
  47. package/node/esm/{D63HF8XToGXrf7ds.mjs → DtrPF3bSD4CZC5VG.mjs} +1 -1
  48. package/node/esm/{CER7_OJffhze14wR.mjs → EXPN4LM0alUK5Zw7.mjs} +1 -1
  49. package/node/esm/{7_AWLfp_6MpYBpiV.mjs → JrDkDzP0l4TgHusH.mjs} +1 -1
  50. package/node/esm/{Nn0yfoegNHIym4QM.mjs → Mq8a4csdTfwY5CnZ.mjs} +1 -1
  51. package/node/esm/{CqnJ_hGK1txHO0j9.mjs → cgqViNUwnlIX8-UW.mjs} +18 -18
  52. package/node/esm/chart.mjs +2 -2
  53. package/node/esm/control.mjs +3 -3
  54. package/node/esm/{G9tXP39ldfioRVhL.mjs → fM9xnrz0LJWdndYE.mjs} +1 -1
  55. package/node/esm/group.mjs +9 -9
  56. package/node/esm/index.mjs +171 -171
  57. package/node/esm/note.mjs +5 -5
  58. package/node/esm/picture.mjs +31 -31
  59. package/node/esm/shape.mjs +13 -13
  60. package/node/esm/slicer.mjs +17 -17
  61. package/node/esm/{CBHY_xaB7ke3yH-f.mjs → tRhXTPxocmY7ZY3z.mjs} +2 -2
  62. package/node/esm/{BbnUYxeK64Fq92Lo.mjs → uzlKB6H0b-ol8pDK.mjs} +2 -2
  63. package/package.json +7 -7
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./BcC6S9k7zkHfCNRX.mjs";
7
+ import { n as e } from "./CCL3pFmdsuwahoCR.mjs";
8
8
  var t = function(e, n) {
9
9
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
10
10
  e.__proto__ = t;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./B06WJCAWTIB7QYlK.mjs";
8
- import { t } from "./CckrsFaUWle82oNL.mjs";
9
- import { t as n } from "./BzZ2vOT8CNsqcL8P.mjs";
7
+ import { t as e } from "./C2HjD-DbaqXq93R7.mjs";
8
+ import { t } from "./mOYnwl3MMod-yX7a.mjs";
9
+ import { t as n } from "./B7TCFLHs7nnOgLMi.mjs";
10
10
  import { Color as r, IColor as i, IFont as a, IFontStyle as o, IStroke as s } from "@sheetxl/sdk";
11
11
  import { forwardRef as c, memo as l, useReducer as u } from "react";
12
12
  import { jsx as d } from "react/jsx-runtime";
@@ -63,7 +63,7 @@ var p = new r(i.Named.InfoBk).toCSS("adaptive"), m = new r(i.Named.InfoText).toC
63
63
  });
64
64
  let O = f(i, () => ({ isNoteEditor: () => !0 }), []);
65
65
  if (!c.isDeleted() && c.isNote()) return d(t, {
66
- className: "note-editor",
66
+ className: "sxl-note-editor",
67
67
  ...E,
68
68
  ref: O,
69
69
  movable: l,
@@ -1,7 +1,7 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- export { t as PictureEditor } from "./Dkw3FFdQKXZQrkFv.mjs";
7
+ export { t as PictureEditor } from "./CPwcEeQtvkrESNEy.mjs";
@@ -1,7 +1,7 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- export { t as ShapeEditor } from "./Cwye4MAU1-EF7Xlv.mjs";
7
+ export { t as ShapeEditor } from "./DL2WZkJdK1lZfpJo.mjs";
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./B06WJCAWTIB7QYlK.mjs";
8
- import { n as t } from "./B8_6V0LUnuA1dLW6.mjs";
9
- import { i as n, r, t as i } from "./BkBxhk45Iln3h-sG.mjs";
7
+ import { t as e } from "./C2HjD-DbaqXq93R7.mjs";
8
+ import { n as t } from "./C9dHNoiKtX9PLY1g.mjs";
9
+ import { i as n, r, t as i } from "./CA6w64diOtRCgr4n.mjs";
10
10
  import { IFont as a } from "@sheetxl/sdk";
11
11
  import { forwardRef as o, memo as s, useCallback as c, useEffect as l, useLayoutEffect as u, useMemo as d, useReducer as f, useRef as p, useState as m } from "react";
12
12
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -135,7 +135,7 @@ var ee = () => g("svg", {
135
135
  cursor: "pointer"
136
136
  };
137
137
  return g("div", {
138
- className: "slicer-editor",
138
+ className: "sxl-slicer-editor",
139
139
  ...O,
140
140
  ref: se,
141
141
  style: {
@@ -157,7 +157,7 @@ var ee = () => g("svg", {
157
157
  },
158
158
  children: [Q ? g("div", {
159
159
  ref: V,
160
- className: "slicer-caption",
160
+ className: "sxl-slicer-caption",
161
161
  style: {
162
162
  display: "flex",
163
163
  alignItems: "center",
@@ -179,7 +179,7 @@ var ee = () => g("svg", {
179
179
  }),
180
180
  h("button", {
181
181
  type: "button",
182
- className: "slicer-multi-select",
182
+ className: "sxl-slicer-multi-select",
183
183
  tabIndex: -1,
184
184
  title: k("slicer.multiSelect"),
185
185
  "aria-label": k("slicer.multiSelect"),
@@ -194,7 +194,7 @@ var ee = () => g("svg", {
194
194
  }),
195
195
  h("button", {
196
196
  type: "button",
197
- className: "slicer-clear",
197
+ className: "sxl-slicer-clear",
198
198
  tabIndex: -1,
199
199
  title: k("slicer.clearFilter"),
200
200
  "aria-label": k("slicer.clearFilter"),
@@ -212,7 +212,7 @@ var ee = () => g("svg", {
212
212
  ]
213
213
  }) : null, h("div", {
214
214
  ref: H,
215
- className: "slicer-items",
215
+ className: "sxl-slicer-items",
216
216
  role: "listbox",
217
217
  "aria-multiselectable": !0,
218
218
  "aria-label": w.getCaption(),
@@ -236,7 +236,7 @@ var ee = () => g("svg", {
236
236
  children: P.map((e) => {
237
237
  let t = n(e.isSelected, e.hasData, R === e.key);
238
238
  return h("div", {
239
- className: "slicer-item",
239
+ className: "sxl-slicer-item",
240
240
  role: "option",
241
241
  "aria-selected": e.isSelected,
242
242
  "data-key": e.key,
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./C1Qp40Kq88D9nzcX.mjs";
8
- import { i as t, n, r, t as i } from "./Dkw3FFdQKXZQrkFv.mjs";
7
+ import { n as e } from "./6lfBozPNyWlFBEDn.mjs";
8
+ import { i as t, n, r, t as i } from "./CPwcEeQtvkrESNEy.mjs";
9
9
  import { jsx as a } from "react/jsx-runtime";
10
10
  import { DOMUtils as o, messageKey as s, t as c } from "@sheetxl/utils";
11
11
  import { NotifierType as l } from "@sheetxl/utils-react";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -88,7 +88,7 @@ var p = (i, r) => {
88
88
  i
89
89
  ]);
90
90
  return a("div", {
91
- className: "shape-text",
91
+ className: "sxl-shape-text",
92
92
  style: v,
93
93
  children: e.paragraphs.map((r, n) => {
94
94
  const l = r.level ? e.listStyle?.levels?.[r.level] : u, o = {
@@ -110,7 +110,7 @@ var p = (i, r) => {
110
110
  ...r.endRun
111
111
  }] : [];
112
112
  return s("div", {
113
- className: "shape-paragraph",
113
+ className: "sxl-shape-paragraph",
114
114
  style: c,
115
115
  children: ["char" === p?.type && p.char ? a("span", {
116
116
  style: { marginRight: "0.4em" },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./UBas29HOMjk4p5jo.mjs";
7
+ import { n as e } from "./CdKkuM4Yy04LbhRL.mjs";
8
8
  import { PictureEditor as t, n as a, r as o, t as n } from "./picture.mjs";
9
9
  import { jsx as s } from "react/jsx-runtime";
10
10
  import { DOMUtils as r, messageKey as c, t as i } from "@sheetxl/utils";
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t } from "./D63HF8XToGXrf7ds.mjs";
8
- import { d as n } from "./CqnJ_hGK1txHO0j9.mjs";
9
- import { t as e } from "./77PQMLXXAN7fjBHS.mjs";
10
- import { n as o } from "./Jy5x43_CAF31L14-.mjs";
7
+ import { t } from "./DtrPF3bSD4CZC5VG.mjs";
8
+ import { d as n } from "./cgqViNUwnlIX8-UW.mjs";
9
+ import { t as e } from "./BQpm93aEyzN5TiU6.mjs";
10
+ import { n as o } from "./COg8aOu0d67g_Pg5.mjs";
11
11
  import { ShapeEditor as r } from "./shape.mjs";
12
12
  import { memo as a, useCallback as s, useReducer as i, useRef as c } from "react";
13
13
  import { jsx as l } from "react/jsx-runtime";
@@ -151,14 +151,14 @@ var p = (t, n) => {
151
151
  }, [f, C]);
152
152
  return l("div", {
153
153
  className: [
154
- "movable-control",
155
- "connector",
156
- a ? "dragging" : null
154
+ "sxl-movable-control",
155
+ "sxl-connector",
156
+ a ? "sxl-dragging" : null
157
157
  ].filter(Boolean).join(" "),
158
158
  children: ["start", "end"].map((t) => {
159
159
  const n = p(t, r), e = "start" === t ? !!v?.isStartConnected() : !!v?.isEndConnected();
160
160
  return l("div", {
161
- className: e ? "movable-control-handle connector-end glued" : "movable-control-handle connector-end",
161
+ className: e ? "sxl-movable-control-handle sxl-connector-end sxl-glued" : "sxl-movable-control-handle sxl-connector-end",
162
162
  "data-end": t,
163
163
  style: {
164
164
  left: 50 * (n[0] + 1) + "%",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./Jy5x43_CAF31L14-.mjs";
7
+ import { n as e } from "./COg8aOu0d67g_Pg5.mjs";
8
8
  import { ChartEditor as t } from "./chart.mjs";
9
9
  import { jsx as a } from "react/jsx-runtime";
10
10
  import { messageKey as s, t as o } from "@sheetxl/utils";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./C7wmHIY8RLeNSX3T.mjs";
7
+ import { t as e } from "./CD1OBtF4vEthYy6e.mjs";
8
8
  import { Color as t, IFill as i, IStroke as r, PaintUtils as s } from "@sheetxl/sdk";
9
9
  import * as n from "echarts/core";
10
10
  import { BarChart as o, LineChart as l, PieChart as a } from "echarts/charts";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -9,21 +9,21 @@ import { jsx as i, jsxs as a } from "react/jsx-runtime";
9
9
  import { CommonUtils as c, defineLazyModule as d } from "@sheetxl/utils";
10
10
  import { useImperativeElement as u, useMeasure as h, usePendingRender as g, usePersistentState as m, useResolvedThemeMode as p } from "@sheetxl/utils-react";
11
11
  import { useMergeRefs as f } from "react-merge-refs";
12
- var y = {
12
+ var x = {
13
13
  Mode: "themeMode",
14
14
  DarkGrid: "enableDarkGrid",
15
15
  DarkImages: "enableDarkImages"
16
- }, b = {
17
- [y.Mode]: null,
18
- [y.DarkGrid]: !1,
19
- [y.DarkImages]: !1
20
- }, x = (e) => {
21
- const [t] = m(y.Mode, b[y.Mode]), [r] = m(y.DarkGrid, b[y.DarkGrid]), { themeMode: n } = p({ mode: e ?? t ?? void 0 });
16
+ }, y = {
17
+ [x.Mode]: null,
18
+ [x.DarkGrid]: !1,
19
+ [x.DarkImages]: !1
20
+ }, b = (e) => {
21
+ const [t] = m(x.Mode, y[x.Mode]), [r] = m(x.DarkGrid, y[x.DarkGrid]), { themeMode: n } = p({ mode: e ?? t ?? void 0 });
22
22
  return e || ("dark" === n && r ? "dark" : "light");
23
23
  }, v = () => {
24
- const [e] = m(y.Mode, b[y.Mode]), { themeMode: t } = p({ mode: e ?? void 0 });
24
+ const [e] = m(x.Mode, y[x.Mode]), { themeMode: t } = p({ mode: e ?? void 0 });
25
25
  return t;
26
- }, k = d("chart:paint", () => import("./DrFBSp6XMEAjkdoG.mjs")), w = (e, t) => {
26
+ }, k = d("chart:paint", () => import("./CGEbcsNJ40cYQEWX.mjs")), w = (e, t) => {
27
27
  const r = e.getElementType();
28
28
  if ("point" === r) {
29
29
  const r = e.getParent();
@@ -42,8 +42,8 @@ var y = {
42
42
  boxes: [],
43
43
  handles: []
44
44
  }, M = t(e((e, t) => {
45
- const { children: d, style: m, chart: p, onChartChange: y, zoom: b = 1, width: x, height: M, selection: P = null, colorScheme: C, onElementPress: D, onPointerDown: L, ...A } = e, [G, S] = s(() => c.isPromiseLike(p) ? null : p), [T, z] = s(null), F = l(y);
46
- F.current = y;
45
+ const { children: d, style: m, chart: p, onChartChange: x, zoom: y = 1, width: b, height: M, selection: P = null, colorScheme: C, onElementPress: D, onPointerDown: L, ...A } = e, [G, S] = s(() => c.isPromiseLike(p) ? null : p), [T, z] = s(null), F = l(x);
46
+ F.current = x;
47
47
  const I = l(null);
48
48
  n(() => {
49
49
  let e = !0;
@@ -59,7 +59,7 @@ var y = {
59
59
  };
60
60
  t(p, null);
61
61
  }, [p]);
62
- const [N, $] = h(), B = "number" == typeof x ? x : $.width, R = "number" == typeof M ? M : $.height, j = B ? Math.round(B / b) : 0, V = R ? Math.round(R / b) : 0, X = l({
62
+ const [N, $] = h(), B = "number" == typeof b ? b : $.width, R = "number" == typeof M ? M : $.height, j = B ? Math.round(B / y) : 0, V = R ? Math.round(R / y) : 0, X = l({
63
63
  width: j,
64
64
  height: V
65
65
  });
@@ -72,8 +72,8 @@ var y = {
72
72
  if (!G || !t.width || !t.height) return null;
73
73
  const r = G.getLayout(t);
74
74
  return r ? (await k.load()).renderChartToSVG(r, { darkMode: e?.darkMode ?? !1 }) : null;
75
- }, [G]), J = l(null), K = l(null), O = l(b);
76
- O.current = b;
75
+ }, [G]), J = l(null), K = l(null), O = l(y);
76
+ O.current = y;
77
77
  const Q = r((e, t) => {
78
78
  const r = J.current;
79
79
  if (!r) return null;
@@ -200,7 +200,7 @@ var y = {
200
200
  ...A,
201
201
  onPointerDown: de,
202
202
  style: {
203
- ...void 0 !== x ? { width: x } : {},
203
+ ...void 0 !== b ? { width: b } : {},
204
204
  ...void 0 !== M ? { height: M } : {},
205
205
  ...m,
206
206
  overflow: "hidden"
@@ -208,7 +208,7 @@ var y = {
208
208
  ref: Z,
209
209
  children: [
210
210
  ue ? i("div", {
211
- className: "chart-element-error",
211
+ className: "sxl-chart-element-error",
212
212
  style: {
213
213
  padding: "8px",
214
214
  fontSize: "12px",
@@ -217,24 +217,24 @@ var y = {
217
217
  children: ue.message
218
218
  }) : null,
219
219
  i("div", {
220
- className: "chart-element",
220
+ className: "sxl-chart-element",
221
221
  ref: _,
222
222
  style: {
223
223
  width: j || "100%",
224
224
  height: V || "100%",
225
- zoom: b,
225
+ zoom: y,
226
226
  position: "relative"
227
227
  }
228
228
  }),
229
229
  ie.boxes.length > 0 ? a("div", {
230
- className: "chart-element-selection",
230
+ className: "sxl-chart-element-selection",
231
231
  style: {
232
232
  position: "absolute",
233
233
  left: 0,
234
234
  top: 0,
235
235
  width: j,
236
236
  height: V,
237
- zoom: b,
237
+ zoom: y,
238
238
  pointerEvents: "none"
239
239
  },
240
240
  children: [ie.boxes.map((e, t) => i("div", { style: {
@@ -260,4 +260,4 @@ var y = {
260
260
  });
261
261
  }));
262
262
  M.displayName = "ChartElement";
263
- export { b as a, x as i, w as n, y as o, v as r, M as t };
263
+ export { y as a, b as i, w as n, x as o, v as r, M as t };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./D63HF8XToGXrf7ds.mjs";
7
+ import { t as e } from "./DtrPF3bSD4CZC5VG.mjs";
8
8
  import { createContext as t, memo as n, useCallback as o, useEffect as r, useReducer as l, useRef as a, useState as i } from "react";
9
9
  import { Fragment as s, jsx as c, jsxs as d } from "react/jsx-runtime";
10
10
  import { LazyModules as u, defineLazyModule as p } from "@sheetxl/utils";
@@ -29,7 +29,7 @@ var g = Object.freeze({
29
29
  let t = e;
30
30
  for (let e = t.getParent(); e; e = t.getParent()) t = e;
31
31
  return t;
32
- }, M = (e, t, n) => {
32
+ }, x = (e, t, n) => {
33
33
  const o = [];
34
34
  let r = t;
35
35
  for (; r && r !== n;) {
@@ -46,8 +46,8 @@ var g = Object.freeze({
46
46
  const a = l.length - 1;
47
47
  for (let e = a; e >= 0; e--) if (l[e].isSelected()) return l[Math.min(e + 1, a)];
48
48
  const i = e.getRange().getWorksheet().getView().getMovableSelection().getContainer();
49
- return i && w(i) === e ? l[Math.min(x(i) + 1, a)] : e;
50
- }, x = (e) => {
49
+ return i && w(i) === e ? l[Math.min(M(i) + 1, a)] : e;
50
+ }, M = (e) => {
51
51
  let t = 0;
52
52
  for (let n = e.getParent(); n; n = n.getParent()) t++;
53
53
  return t;
@@ -61,7 +61,7 @@ var g = Object.freeze({
61
61
  r(t, e);
62
62
  }, [t, r]), u = v(t, i, n);
63
63
  return c("div", {
64
- className: "movable-adornment",
64
+ className: "sxl-movable-adornment",
65
65
  ref: d,
66
66
  style: {
67
67
  position: "absolute",
@@ -117,22 +117,22 @@ var R = {
117
117
  }, [s]), w = o((e) => {
118
118
  const t = f.current;
119
119
  t && t.pointerId === e.pointerId && (f.current = null, u());
120
- }, [u]), M = o((e) => {
120
+ }, [u]), x = o((e) => {
121
121
  0 === e.button && (e.stopPropagation(), e.preventDefault(), h?.(e.nativeEvent));
122
122
  }, [h]);
123
123
  return d("div", {
124
124
  className: [
125
- "movable-control",
126
- r ? "dragging" : null,
127
- p ? "context" : null
125
+ "sxl-movable-control",
126
+ r ? "sxl-dragging" : null,
127
+ p ? "sxl-context" : null
128
128
  ].filter(Boolean).join(" "),
129
129
  children: [
130
130
  m,
131
- c("div", { className: "movable-control-outline" }),
131
+ c("div", { className: "sxl-movable-control-outline" }),
132
132
  t.map((e) => {
133
133
  const t = R[e];
134
134
  return t ? c("div", {
135
- className: "movable-control-handle",
135
+ className: "sxl-movable-control-handle",
136
136
  "data-direction": e,
137
137
  style: {
138
138
  left: 50 * (t[0] + 1) + "%",
@@ -146,8 +146,8 @@ var R = {
146
146
  }, e) : null;
147
147
  }),
148
148
  h ? c("div", {
149
- className: "movable-move-handle",
150
- onPointerDown: M,
149
+ className: "sxl-movable-move-handle",
150
+ onPointerDown: x,
151
151
  children: c("svg", {
152
152
  viewBox: "0 0 24 24",
153
153
  "aria-hidden": "true",
@@ -162,7 +162,7 @@ var k = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), S = /* @__PURE
162
162
  for (const e of [...I]) e();
163
163
  }, E = !1, N = () => {
164
164
  E || (E = !0, function(e) {
165
- e("picture", () => import("./Ef8HHL90yLZgk3Gf.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./gfwmGAXGhq9IIu1U.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./7_AWLfp_6MpYBpiV.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./DmPmSA-2Aha-_6qu.mjs"), {
165
+ e("picture", () => import("./B4qJFO-8Vml8JbaC.mjs"), { select: (e) => e.PictureKind }), e("chart", () => import("./Bzuh8HcJcFD2dYTY.mjs"), { select: (e) => e.ChartKind }), e("slicer", () => import("./JrDkDzP0l4TgHusH.mjs"), { select: (e) => e.SlicerKind }), e("shape", () => import("./BBBfGP0lLhBFoR9F.mjs"), {
166
166
  select: (e) => e.ShapeKind,
167
167
  selectionShadow: !1
168
168
  }), e("group", () => import("./group.mjs"), { select: ({ GroupEditor: e }) => (t) => c(e, {
@@ -174,7 +174,7 @@ var k = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), S = /* @__PURE
174
174
  ...o,
175
175
  note: t.movable.getContent()
176
176
  });
177
- } }), e("error", () => import("./CBHY_xaB7ke3yH-f.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => c(e, { ...t }) });
177
+ } }), e("error", () => import("./tRhXTPxocmY7ZY3z.mjs").then((e) => e.t), { select: ({ ErrorContentFrame: e }) => (t) => c(e, { ...t }) });
178
178
  const t = (t, n) => {
179
179
  e(t, () => import("./control.mjs"), { select: n });
180
180
  };
@@ -236,7 +236,7 @@ var k = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), S = /* @__PURE
236
236
  })
237
237
  }), s = {
238
238
  Renderer: "content" === n?.hitArea ? i : (e) => c("div", {
239
- className: "movable-content",
239
+ className: "sxl-movable-content",
240
240
  style: e.style,
241
241
  children: i(e)
242
242
  }),
@@ -325,4 +325,4 @@ function _(e, t, n) {
325
325
  ...n
326
326
  }, () => !j.has(e)));
327
327
  }
328
- export { w as _, W as a, H as c, B as d, P as f, M as g, b as h, Y as i, F as l, C as m, X as n, G as o, y as p, O as r, _ as s, V as t, T as u, v };
328
+ export { w as _, W as a, H as c, B as d, P as f, x as g, b as h, Y as i, F as l, C as m, X as n, G as o, y as p, O as r, _ as s, V as t, T as u, v };
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { i as e, n as t, t as r } from "./CWOKAmLpdinc-0TK.mjs";
7
+ import { i as e, n as t, t as r } from "./Df-nWyFJwXaVd79x.mjs";
8
8
  import { forwardRef as o, memo as n, useCallback as l, useLayoutEffect as i, useRef as s } from "react";
9
9
  import { jsx as a } from "react/jsx-runtime";
10
10
  import { useImperativeElement as m } from "@sheetxl/utils-react";
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./D63HF8XToGXrf7ds.mjs";
7
+ import { t as e } from "./DtrPF3bSD4CZC5VG.mjs";
8
8
  import { IFont as t } from "@sheetxl/sdk";
9
9
  import { memo as n, useEffect as r, useReducer as o, useRef as i } from "react";
10
10
  import { jsx as l, jsxs as d } from "react/jsx-runtime";
@@ -43,7 +43,7 @@ var a = (e) => {
43
43
  }, [b, S]), b.isDeleted()) return null;
44
44
  const R = c.getBounds();
45
45
  return l("div", {
46
- className: "form-control-renderer",
46
+ className: "sxl-form-control-renderer",
47
47
  ...f,
48
48
  style: {
49
49
  width: "100%",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.20
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula