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

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 (79) hide show
  1. package/browser/esm/{Dl0ye0MfTml4mjhA.mjs → 2-8Z3hKcjFc9IUm_.mjs} +3 -3
  2. package/browser/esm/{fHDciYUZvXpLzoID.mjs → B1qMCa-WDnmPYR_C.mjs} +2 -2
  3. package/browser/esm/{zTaXN_1rvsoWg94m.mjs → B1rKvYmr4ynvDkqM.mjs} +3 -3
  4. package/browser/esm/B7RYx03rC74aIduo.mjs +264 -0
  5. package/browser/esm/{C2HjD-DbaqXq93R7.mjs → BG96UT5-ooOuigD0.mjs} +1 -1
  6. package/browser/esm/{BQur1iFrng9Y4kh4.mjs → BHukFXtx1rpfvfIy.mjs} +1 -1
  7. package/browser/esm/{BjnWnPjhT1QFkbUC.mjs → BN7pckCvCRZMPCmK.mjs} +7 -7
  8. package/browser/esm/{BzCq_Z7J2qQlY4Dp.mjs → BklsD3lkZGRSwAFi.mjs} +1 -1
  9. package/browser/esm/{CdE8JeJkTtdh5qqp.mjs → C-eTPeTwXQoqn3Lb.mjs} +2 -2
  10. package/browser/esm/{CA6w64diOtRCgr4n.mjs → C9wgyCKVT4rwQMSD.mjs} +1 -1
  11. package/browser/esm/{DG1f60gvSkz8Y3qb.mjs → CD5gjg2DVLsy6h33.mjs} +6 -6
  12. package/browser/esm/{DL2WZkJdK1lZfpJo.mjs → CEtZlL4v4JU0TDVR.mjs} +122 -122
  13. package/browser/esm/{6lfBozPNyWlFBEDn.mjs → CGEyv-QdxMuQmLqk.mjs} +1 -1
  14. package/browser/esm/{CkYId3pjG9v3XZM2.mjs → CLD7Vob5oUran-l0.mjs} +1 -1
  15. package/browser/esm/{B7TCFLHs7nnOgLMi.mjs → CXJmpmqTkVe25Ita.mjs} +2 -2
  16. package/browser/esm/{mOYnwl3MMod-yX7a.mjs → CmYMKPG-TaW2dJPu.mjs} +1 -1
  17. package/browser/esm/{_T8e_9xhVAagwkPD.mjs → CruGvs0fdtWWO_Di.mjs} +1 -1
  18. package/browser/esm/{Co65nK3fyBcyVzrS.mjs → Cw3PQMs1RDxzIo35.mjs} +2 -2
  19. package/browser/esm/{C46qV9hBGqlz6_Kt.mjs → D5r5ejlRpFFXN6TK.mjs} +4 -4
  20. package/browser/esm/{C9dHNoiKtX9PLY1g.mjs → D952mmmww4cYPatc.mjs} +1 -1
  21. package/browser/esm/{BwMC6jAg2neI4LTH.mjs → DQ5DeFNj_0mj6QMd.mjs} +1 -1
  22. package/browser/esm/{CPwcEeQtvkrESNEy.mjs → DSvlk_YzOev20rgN.mjs} +173 -160
  23. package/browser/esm/{k1IvXgw5-153QQUo.mjs → DedLmnV_HajYHYSM.mjs} +2 -2
  24. package/browser/esm/{CCL3pFmdsuwahoCR.mjs → G6Ek0k1QC1pUHvPd.mjs} +1 -1
  25. package/browser/esm/{CHgyrBEiFmspcFXV.mjs → OPWkc7t367MwVsVU.mjs} +1 -1
  26. package/browser/esm/chart.mjs +11 -11
  27. package/browser/esm/control.mjs +16 -16
  28. package/browser/esm/group.mjs +29 -29
  29. package/browser/esm/index.mjs +6524 -6512
  30. package/browser/esm/note.mjs +10 -10
  31. package/browser/esm/picture.mjs +2 -2
  32. package/browser/esm/shape.mjs +2 -2
  33. package/browser/esm/slicer.mjs +55 -50
  34. package/node/esm/{fM9xnrz0LJWdndYE.mjs → B5ae_WW6vAz2jOsn.mjs} +1 -1
  35. package/node/esm/{JrDkDzP0l4TgHusH.mjs → BD04OJgRWKiE2W1H.mjs} +1 -1
  36. package/node/esm/{uzlKB6H0b-ol8pDK.mjs → BGLOvRRJr4nt8QdO.mjs} +2 -2
  37. package/node/esm/{B2a1mRx9B8XMRd8H.mjs → BKrvkWuGTMdkvdy6.mjs} +1 -1
  38. package/node/esm/{CdKkuM4Yy04LbhRL.mjs → BMWwIbesFn8e6-Ov.mjs} +1 -1
  39. package/node/esm/{BBBfGP0lLhBFoR9F.mjs → BhgjRcXOyNKBdqUW.mjs} +5 -5
  40. package/node/esm/{DtrPF3bSD4CZC5VG.mjs → Bv0fGxNecKUr_qYS.mjs} +1 -1
  41. package/node/esm/{Mq8a4csdTfwY5CnZ.mjs → CF5ztfx05vyEMEub.mjs} +1 -1
  42. package/node/esm/{CGEbcsNJ40cYQEWX.mjs → CeSZX96RPPjn29Hw.mjs} +2 -2
  43. package/node/esm/{Bzuh8HcJcFD2dYTY.mjs → CeuVkQpY8O4nZG-k.mjs} +2 -2
  44. package/node/esm/{BQpm93aEyzN5TiU6.mjs → Csl959_HnUC4Y06N.mjs} +1 -1
  45. package/node/esm/{B4qJFO-8Vml8JbaC.mjs → Cx16BErZDzlQEXH_.mjs} +2 -2
  46. package/node/esm/{Df-nWyFJwXaVd79x.mjs → D8mwVRSclIFn5SVM.mjs} +80 -78
  47. package/node/esm/{COg8aOu0d67g_Pg5.mjs → DJyNfqgeIlJ6lOHS.mjs} +1 -1
  48. package/node/esm/{cgqViNUwnlIX8-UW.mjs → DL2RKBB2PXzdJyx_.mjs} +4 -4
  49. package/node/esm/{CNYzecnb2TInTI8p.mjs → DmHHRlyfyFWj6wvW.mjs} +1 -1
  50. package/node/esm/{8PerdW56-NyRf0pg.mjs → VFXZqkIvB9MDE2Ea.mjs} +1 -1
  51. package/node/esm/{tRhXTPxocmY7ZY3z.mjs → YC2O0ix33xKY0ShQ.mjs} +12 -12
  52. package/node/esm/chart.mjs +19 -19
  53. package/node/esm/control.mjs +16 -16
  54. package/node/esm/group.mjs +27 -27
  55. package/node/esm/{EXPN4LM0alUK5Zw7.mjs → iMUcM8KW4HIW2Ksm.mjs} +1 -1
  56. package/node/esm/index.mjs +5598 -5585
  57. package/node/esm/{BadjRr_jKKGvmEW-.mjs → k3c-0DQ1fifSFOnO.mjs} +1 -1
  58. package/node/esm/note.mjs +10 -10
  59. package/node/esm/picture.mjs +175 -162
  60. package/node/esm/shape.mjs +164 -164
  61. package/node/esm/slicer.mjs +100 -95
  62. package/node/esm/{CD1OBtF4vEthYy6e.mjs → vYeFE_eUMRqsgnkd.mjs} +1 -1
  63. package/package.json +7 -7
  64. package/types/src/cell/CornerTriangle.d.ts +2 -1
  65. package/types/src/editor/SheetCellEditorLayer.d.ts +0 -5
  66. package/types/src/editor/formulaPresentation.d.ts +4 -3
  67. package/types/src/movable/IMovableArea.d.ts +11 -0
  68. package/types/src/movable/MovableLayer.d.ts +1 -1
  69. package/types/src/sheet/IWorksheetElement.d.ts +13 -4
  70. package/types/src/theme/ExplicitTokens.d.ts +18 -0
  71. package/types/src/theme/GridColorSchemeContext.d.ts +8 -0
  72. package/types/src/theme/ThemeRootStyles.d.ts +31 -0
  73. package/types/src/theme/buildTokensCSS.d.ts +15 -0
  74. package/types/src/theme/index.d.ts +2 -4
  75. package/types/src/theme/useAppColorScheme.d.ts +4 -1
  76. package/types/src/theme/useGridColorScheme.d.ts +7 -2
  77. package/types/src/theme/useSystemColors.d.ts +0 -14
  78. package/types/src/workbook/IWorkbookElement.d.ts +36 -8
  79. package/browser/esm/BzFKdDmdCdg3cXdh.mjs +0 -262
@@ -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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./C2HjD-DbaqXq93R7.mjs";
8
- import { t } from "./mOYnwl3MMod-yX7a.mjs";
9
- import { t as n } from "./B7TCFLHs7nnOgLMi.mjs";
7
+ import { t as e } from "./BG96UT5-ooOuigD0.mjs";
8
+ import { t } from "./CmYMKPG-TaW2dJPu.mjs";
9
+ import { t as n } from "./CXJmpmqTkVe25Ita.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";
@@ -52,20 +52,20 @@ var p = new r(i.Named.InfoBk).toCSS("adaptive"), m = new r(i.Named.InfoText).toC
52
52
  } catch {}
53
53
  return t;
54
54
  }, y = l(c((r, i) => {
55
- let { children: a, disabled: o, style: s, note: c, movable: l, zoom: p = 1, isDragging: y, onHide: b, onShow: x, onDragZone: S, adornmentHost: C, flip: w, gesture: T, ...E } = r, [, D] = u((e) => e + 1, 0);
55
+ let { children: a, disabled: o, style: s, note: c, movable: l, zoom: p = 1, isDragging: y, onHide: b, onShow: x, onDragZone: S, onTap: C, adornmentHost: w, flip: T, gesture: E, ...D } = r, [, O] = u((e) => e + 1, 0);
56
56
  e(c, {
57
57
  onContentChange: () => {
58
- D();
58
+ O();
59
59
  },
60
60
  onAnyChange: () => {
61
- D();
61
+ O();
62
62
  }
63
63
  });
64
- let O = f(i, () => ({ isNoteEditor: () => !0 }), []);
64
+ let k = f(i, () => ({ isNoteEditor: () => !0 }), []);
65
65
  if (!c.isDeleted() && c.isNote()) return d(t, {
66
66
  className: "sxl-note-editor",
67
- ...E,
68
- ref: O,
67
+ ...D,
68
+ ref: k,
69
69
  movable: l,
70
70
  onContextMenu: (e) => {
71
71
  e.stopPropagation();
@@ -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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./CPwcEeQtvkrESNEy.mjs";
7
+ export { t as PictureEditor } from "./DSvlk_YzOev20rgN.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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./DL2WZkJdK1lZfpJo.mjs";
7
+ export { t as ShapeEditor } from "./CEtZlL4v4JU0TDVR.mjs";
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./C2HjD-DbaqXq93R7.mjs";
8
- import { n as t } from "./C9dHNoiKtX9PLY1g.mjs";
9
- import { i as n, r, t as i } from "./CA6w64diOtRCgr4n.mjs";
7
+ import { t as e } from "./BG96UT5-ooOuigD0.mjs";
8
+ import { n as t } from "./D952mmmww4cYPatc.mjs";
9
+ import { i as n, r, t as i } from "./C9wgyCKVT4rwQMSD.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";
13
- import { useImperativeElement as _, useNotifier as v, useTranslator as y } from "@sheetxl/utils-react";
14
- var ee = () => g("svg", {
13
+ import { useImperativeElement as _, useNotifier as v, useTranslator as ee } from "@sheetxl/utils-react";
14
+ var te = () => g("svg", {
15
15
  viewBox: "0 0 16 16",
16
16
  width: 14,
17
17
  height: 14,
@@ -27,7 +27,7 @@ var ee = () => g("svg", {
27
27
  stroke: "currentColor",
28
28
  strokeWidth: 1.2
29
29
  })]
30
- }), b = () => g("svg", {
30
+ }), ne = () => g("svg", {
31
31
  viewBox: "0 0 16 16",
32
32
  width: 14,
33
33
  height: 14,
@@ -42,29 +42,34 @@ var ee = () => g("svg", {
42
42
  stroke: "currentColor",
43
43
  strokeWidth: 1.2
44
44
  })]
45
- }), x = (e) => {
45
+ }), y = (e) => ({
46
+ borderLeft: e,
47
+ borderRight: e,
48
+ borderTop: e,
49
+ borderBottom: e
50
+ }), b = (e) => {
46
51
  let t = e?.getTheme().getFontScheme().getMinorFont();
47
52
  return {
48
53
  fontFamily: a.toCSSFontFamily(t ?? "", ["sans-serif"]),
49
54
  fontSize: "11pt"
50
55
  };
51
- }, S = s(o((a, o) => {
52
- let { children: s, disabled: S, style: C, slicer: w, movable: T, zoom: E = 1, isDragging: te, onHide: ne, onShow: re, onDragZone: D, adornmentHost: ie, flip: ae, gesture: oe, ...O } = a, k = y(), A = v(), j = (t() ?? w.getTable()?.getWorksheet() ?? null)?.getStyles() ?? null, [M, N] = f((e) => e + 1, 0);
53
- e(w, {
56
+ }, x = s(o((a, o) => {
57
+ let { children: s, disabled: x, style: S, slicer: C, movable: w, zoom: T = 1, isDragging: E, onHide: re, onShow: ie, onDragZone: D, onTap: ae, adornmentHost: oe, flip: se, gesture: ce, ...O } = a, k = ee(), A = v(), j = (t() ?? C.getTable()?.getWorksheet() ?? null)?.getStyles() ?? null, [M, N] = f((e) => e + 1, 0);
58
+ e(C, {
54
59
  onAnyChange: N,
55
60
  onReferencesChange: N
56
61
  }), l(() => j?.addListeners({ onAnyChange: N }), [j]);
57
62
  let [P, F] = m([]);
58
63
  l(() => {
59
64
  let e = !0;
60
- if (!w.isDeleted()) return w.getItems().then((t) => {
65
+ if (!C.isDeleted()) return C.getItems().then((t) => {
61
66
  e && F(t);
62
67
  }).catch(() => {
63
68
  e && F([]);
64
69
  }), () => {
65
70
  e = !1;
66
71
  };
67
- }, [w, M]);
72
+ }, [C, M]);
68
73
  let [I, L] = m(!1), [R, z] = m(null), B = p(null), V = p(null), H = p(null), [U, W] = m(!1);
69
74
  u(() => {
70
75
  let e = H.current;
@@ -75,20 +80,20 @@ var ee = () => g("svg", {
75
80
  return n.observe(e), () => n.disconnect();
76
81
  }, [
77
82
  P,
78
- w.getRowHeight(),
79
- w.getColumnCount(),
80
- w.isShowCaption()
83
+ C.getRowHeight(),
84
+ C.getColumnCount(),
85
+ C.isShowCaption()
81
86
  ]), u(() => {
82
87
  D?.((e) => {
83
88
  let t = e.target;
84
89
  return !t || !H.current?.contains(t) && !t.closest?.("button");
85
90
  });
86
91
  }, [D]);
87
- let G = p(!1), K = w.getColumnCount(), q = w.getRowHeight();
92
+ let G = p(!1), K = C.getColumnCount(), q = C.getRowHeight();
88
93
  u(() => {
89
94
  if (G.current || P.length === 0 || !H.current) return;
90
95
  G.current = !0;
91
- let e = w.toJSON()?.startItem ?? 0;
96
+ let e = C.toJSON()?.startItem ?? 0;
92
97
  e > 0 && (H.current.scrollTop = Math.floor(e / K) * (q + 4));
93
98
  }, [
94
99
  P,
@@ -96,31 +101,31 @@ var ee = () => g("svg", {
96
101
  q
97
102
  ]);
98
103
  let J = c((e) => {
99
- w.selectItems(e).catch((e) => A.showError(e));
100
- }, [w, A]), Y = c((e, t) => {
101
- if (S) return;
102
- let n = P.map((e) => e.key), r = w.isFilterCleared() ? [] : P.filter((e) => e.isSelected).map((e) => e.key), i = B.current;
104
+ C.selectItems(e).catch((e) => A.showError(e));
105
+ }, [C, A]), Y = c((e, t) => {
106
+ if (x) return;
107
+ let n = P.map((e) => e.key), r = C.isFilterCleared() ? [] : P.filter((e) => e.isSelected).map((e) => e.key), i = B.current;
103
108
  if (t.shiftKey && i !== null && n.includes(i)) {
104
109
  let a = n.indexOf(i), o = n.indexOf(e.key), s = n.slice(Math.min(a, o), Math.max(a, o) + 1);
105
110
  J(t.ctrlKey || t.metaKey ? [.../* @__PURE__ */ new Set([...r, ...s])] : s);
106
111
  } else B.current = e.key, t.ctrlKey || t.metaKey || I ? r.length === 0 ? J([e.key]) : r.includes(e.key) ? J(r.filter((t) => t !== e.key)) : J([...r, e.key]) : J([e.key]);
107
112
  }, [
108
- w,
113
+ C,
109
114
  P,
110
115
  I,
111
- S,
116
+ x,
112
117
  J
113
- ]), se = _(o, () => ({ isSlicerEditor: () => !0 }), []), X = i(w.getStyle(), j), ce = d(() => r(X?.wholeTable, j), [
118
+ ]), le = _(o, () => ({ isSlicerEditor: () => !0 }), []), X = i(C.getStyle(), j), ue = d(() => r(X?.wholeTable, j), [
114
119
  X,
115
120
  j,
116
121
  M
117
- ]), le = d(() => r(X?.headerRow, j), [
122
+ ]), de = d(() => r(X?.headerRow, j), [
118
123
  X,
119
124
  j,
120
125
  M
121
126
  ]);
122
- if (w.isDeleted()) return null;
123
- let Z = w.isFilterCleared(), Q = w.isShowCaption(), $ = {
127
+ if (C.isDeleted()) return null;
128
+ let Z = C.isFilterCleared(), Q = C.isShowCaption(), $ = {
124
129
  display: "flex",
125
130
  alignItems: "center",
126
131
  justifyContent: "center",
@@ -137,23 +142,23 @@ var ee = () => g("svg", {
137
142
  return g("div", {
138
143
  className: "sxl-slicer-editor",
139
144
  ...O,
140
- ref: se,
145
+ ref: le,
141
146
  style: {
142
147
  width: "100%",
143
148
  height: "100%",
144
- zoom: E,
149
+ zoom: T,
145
150
  boxSizing: "border-box",
146
151
  display: "flex",
147
152
  flexDirection: "column",
148
153
  overflow: "hidden",
149
154
  position: "relative",
150
- backgroundColor: "var(--sxl-color-base-100, white)",
151
- border: "var(--sxl-color-neutral, grey) solid 1px",
152
- ...x(j),
153
- ...ce,
154
- filter: S ? "blur(1px)" : void 0,
155
- boxShadow: te ? "1px 1px 2px var(--sxl-color-shadow, rgba(0,0,0,.15))" : void 0,
156
- ...C
155
+ background: "var(--sxl-color-base-100, white)",
156
+ ...y("var(--sxl-color-neutral, grey) solid 1px"),
157
+ ...b(j),
158
+ ...ue,
159
+ filter: x ? "blur(1px)" : void 0,
160
+ boxShadow: E ? "1px 1px 2px var(--sxl-color-shadow, rgba(0,0,0,.15))" : void 0,
161
+ ...S
157
162
  },
158
163
  children: [Q ? g("div", {
159
164
  ref: V,
@@ -165,7 +170,7 @@ var ee = () => g("svg", {
165
170
  margin: "0 9px",
166
171
  padding: "6px 0 4px 0",
167
172
  flex: "none",
168
- ...le
173
+ ...de
169
174
  },
170
175
  children: [
171
176
  h("span", {
@@ -175,7 +180,7 @@ var ee = () => g("svg", {
175
180
  textOverflow: "ellipsis",
176
181
  whiteSpace: "nowrap"
177
182
  },
178
- children: w.getCaption()
183
+ children: C.getCaption()
179
184
  }),
180
185
  h("button", {
181
186
  type: "button",
@@ -187,10 +192,10 @@ var ee = () => g("svg", {
187
192
  style: {
188
193
  ...$,
189
194
  borderColor: I ? "var(--sxl-color-neutral, grey)" : "transparent",
190
- backgroundColor: I ? "var(--sxl-color-base-200, #eee)" : void 0
195
+ backgroundColor: I ? "var(--sxl-color-base-200, #eee)" : "transparent"
191
196
  },
192
197
  onClick: () => L((e) => !e),
193
- children: h(b, {})
198
+ children: h(ne, {})
194
199
  }),
195
200
  h("button", {
196
201
  type: "button",
@@ -198,16 +203,16 @@ var ee = () => g("svg", {
198
203
  tabIndex: -1,
199
204
  title: k("slicer.clearFilter"),
200
205
  "aria-label": k("slicer.clearFilter"),
201
- disabled: Z || S,
206
+ disabled: Z || x,
202
207
  style: {
203
208
  ...$,
204
209
  opacity: Z ? .4 : 1,
205
210
  cursor: Z ? "default" : "pointer"
206
211
  },
207
212
  onClick: () => {
208
- w.clearFilters().catch((e) => A.showError(e));
213
+ C.clearFilters().catch((e) => A.showError(e));
209
214
  },
210
- children: h(ee, {})
215
+ children: h(te, {})
211
216
  })
212
217
  ]
213
218
  }) : null, h("div", {
@@ -215,7 +220,7 @@ var ee = () => g("svg", {
215
220
  className: "sxl-slicer-items",
216
221
  role: "listbox",
217
222
  "aria-multiselectable": !0,
218
- "aria-label": w.getCaption(),
223
+ "aria-label": C.getCaption(),
219
224
  style: {
220
225
  flex: "1 1 auto",
221
226
  minHeight: 0,
@@ -252,13 +257,13 @@ var ee = () => g("svg", {
252
257
  whiteSpace: "nowrap",
253
258
  textOverflow: "ellipsis",
254
259
  userSelect: "none",
255
- cursor: S ? void 0 : "pointer",
256
- border: "1px solid transparent",
260
+ cursor: x ? void 0 : "pointer",
261
+ ...y("1px solid transparent"),
257
262
  ...r(X?.[t], j)
258
263
  },
259
264
  onPointerEnter: () => z(e.key),
260
265
  onPointerDown: (e) => {
261
- e.button === 0 && (e.stopPropagation(), e.preventDefault(), T && !T.isSelected() && T.select());
266
+ e.button === 0 && (e.stopPropagation(), e.preventDefault(), w && !w.isSelected() && w.select());
262
267
  },
263
268
  onClick: (t) => Y(e, t),
264
269
  children: h("span", {
@@ -273,5 +278,5 @@ var ee = () => g("svg", {
273
278
  })]
274
279
  });
275
280
  }));
276
- S.displayName = "SlicerEditor";
277
- export { S as SlicerEditor };
281
+ x.displayName = "SlicerEditor";
282
+ export { x as SlicerEditor };
@@ -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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -203,7 +203,7 @@ var g = (t) => {
203
203
  for (const e of t.pts) n.push(e);
204
204
  }
205
205
  return i(), P(r.cmds);
206
- }, j = /* @__PURE__ */ new WeakMap(), E = { filter: "var(--sxl-image-filter)" }, I = (t) => {
206
+ }, j = /* @__PURE__ */ new WeakMap(), E = { filter: "var(--_sxl-image-filter)" }, I = (t) => {
207
207
  const [e, r] = c(null);
208
208
  return l(() => {
209
209
  if (!t) return;
@@ -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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
@@ -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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./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";
7
+ import { t } from "./Bv0fGxNecKUr_qYS.mjs";
8
+ import { d as n } from "./DL2RKBB2PXzdJyx_.mjs";
9
+ import { t as e } from "./Csl959_HnUC4Y06N.mjs";
10
+ import { n as o } from "./DJyNfqgeIlJ6lOHS.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";
@@ -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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./CD1OBtF4vEthYy6e.mjs";
7
+ import { t as e } from "./vYeFE_eUMRqsgnkd.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,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./COg8aOu0d67g_Pg5.mjs";
7
+ import { n as e } from "./DJyNfqgeIlJ6lOHS.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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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.21
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.23
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 "./CdKkuM4Yy04LbhRL.mjs";
7
+ import { n as e } from "./BMWwIbesFn8e6-Ov.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";