@sheetxl/react 0.8.0-beta.20 → 0.8.0-beta.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.
- package/browser/esm/{BzZ2vOT8CNsqcL8P.mjs → B9rbGikcuRq1OnhM.mjs} +2 -2
- package/browser/esm/{CM9e6dbkYbw56iFf.mjs → B9wkino8VMasq6E3.mjs} +2 -2
- package/browser/esm/{B06WJCAWTIB7QYlK.mjs → BPS1PDZKyF6ivJwa.mjs} +1 -1
- package/browser/esm/{BkBxhk45Iln3h-sG.mjs → Biz8qA4-1wRN8de2.mjs} +1 -1
- package/browser/esm/{C5RaHvks1HTBfWcr.mjs → Bjzo7g25tw9kTCYC.mjs} +2 -2
- package/browser/esm/{qeb-_mAjUAWD7bo4.mjs → BqIbT28MM3SBdvh_.mjs} +2 -2
- package/browser/esm/C7rc3CMd_XOITW1V.mjs +264 -0
- package/browser/esm/{CUPlUCBX7owYqDq5.mjs → CJVcfqrty5b-eowN.mjs} +2 -2
- package/browser/esm/{BGcs5WWx5PpaiJo4.mjs → CgOhJ3utK7aSQm26.mjs} +1 -1
- package/browser/esm/{CU67T36gmVTq9ZwH.mjs → CrTfqdSwWScJN566.mjs} +1 -1
- package/browser/esm/{Cwye4MAU1-EF7Xlv.mjs → D01C312OntVURMN9.mjs} +14 -14
- package/browser/esm/{CPjk4grd05Rp-e3V.mjs → D0g7sllamMog1m-Z.mjs} +3 -3
- package/browser/esm/{DcEGutcM_5gl0fZm.mjs → D7P7zWW2gdWclI2p.mjs} +3 -3
- package/browser/esm/{BFjx8_H3wUxrWDq9.mjs → D8NUgUzdI7YFxyyA.mjs} +4 -4
- package/browser/esm/{Ca_Ki0Si5ozlm1sl.mjs → DH8xeknZXWn7AV5q.mjs} +10 -10
- package/browser/esm/{DeOhqQroIiAic6-j.mjs → DgmkBz2cYtVZ8tXv.mjs} +1 -1
- package/browser/esm/{SESUB_fypyWmhCWm.mjs → DhGJU1camaOf7KOq.mjs} +12 -12
- package/browser/esm/{BcC6S9k7zkHfCNRX.mjs → DxsGY5rYjITV3SLK.mjs} +1 -1
- package/browser/esm/{Dkw3FFdQKXZQrkFv.mjs → DyFeCww9e_4G9c-1.mjs} +10 -10
- package/browser/esm/{COn0z_IT5hyEPNfV.mjs → HQkKZC6SPUdQwgxi.mjs} +1 -1
- package/browser/esm/{CtbJ8PCap2NGxlu0.mjs → QKnTzTdIYAMcBU8r.mjs} +1 -1
- package/browser/esm/chart.mjs +3 -3
- package/browser/esm/control.mjs +3 -3
- package/browser/esm/group.mjs +7 -7
- package/browser/esm/{CckrsFaUWle82oNL.mjs → hTeTTb8oYTssk6EY.mjs} +1 -1
- package/browser/esm/index.mjs +6538 -6531
- package/browser/esm/{QJPDAP6UIHTbY1fM.mjs → mJyEnJIX0iGfGtvE.mjs} +3 -3
- package/browser/esm/{B8_6V0LUnuA1dLW6.mjs → mUKvsPCmRWzQke-M.mjs} +1 -1
- package/browser/esm/note.mjs +5 -5
- package/browser/esm/{C1Qp40Kq88D9nzcX.mjs → np1ChcItFltS6AC5.mjs} +1 -1
- package/browser/esm/picture.mjs +2 -2
- package/browser/esm/shape.mjs +2 -2
- package/browser/esm/slicer.mjs +10 -10
- package/node/esm/{gfwmGAXGhq9IIu1U.mjs → -6T2zqPkDm0WgUKI.mjs} +2 -2
- package/node/esm/{Jy5x43_CAF31L14-.mjs → BPMjPMRyVTEZq_6j.mjs} +1 -1
- package/node/esm/{C9Yq98-vMDznppO2.mjs → BcASbEBHzMKiXn5i.mjs} +3 -3
- package/node/esm/{c1FOnFN_eCD6KR4l.mjs → BpcTu_chuDjr_XFv.mjs} +1 -1
- package/node/esm/{Nn0yfoegNHIym4QM.mjs → C3XXdc_UXH2g2W5E.mjs} +1 -1
- package/node/esm/{DrFBSp6XMEAjkdoG.mjs → C91YeRrspETjFcRc.mjs} +2 -2
- package/node/esm/{DytW9LaLlJGM-6m6.mjs → CE5fMGMmykts2yJP.mjs} +1 -1
- package/node/esm/{CqnJ_hGK1txHO0j9.mjs → COlzVELrEvgm2STX.mjs} +18 -18
- package/node/esm/{G9tXP39ldfioRVhL.mjs → CZc2QH8i-TgW9nGI.mjs} +1 -1
- package/node/esm/{7_AWLfp_6MpYBpiV.mjs → CcLUKcJROXrbSXjb.mjs} +1 -1
- package/node/esm/{DmPmSA-2Aha-_6qu.mjs → CfpNgRvWmu36cTfV.mjs} +9 -9
- package/node/esm/{CER7_OJffhze14wR.mjs → CzQMRmArhJ6blZJp.mjs} +1 -1
- package/node/esm/{BOAB33GIG2M2CWMr.mjs → DHTbAHbCiEWhilV_.mjs} +1 -1
- package/node/esm/{D63HF8XToGXrf7ds.mjs → DX7ysYSfnigj0ak8.mjs} +1 -1
- package/node/esm/{C7wmHIY8RLeNSX3T.mjs → DxKxx-yEkSydHyWQ.mjs} +1 -1
- package/node/esm/{77PQMLXXAN7fjBHS.mjs → FUQMKIiQQ5m3xzeO.mjs} +1 -1
- package/node/esm/{CBHY_xaB7ke3yH-f.mjs → GG78Gq3CY8SDS-48.mjs} +2 -2
- package/node/esm/{UBas29HOMjk4p5jo.mjs → aLt3NYdUcYQu4Ur4.mjs} +1 -1
- package/node/esm/chart.mjs +2 -2
- package/node/esm/{Ef8HHL90yLZgk3Gf.mjs → cju5Gx-t_74o116W.mjs} +2 -2
- package/node/esm/control.mjs +3 -3
- package/node/esm/group.mjs +9 -9
- package/node/esm/{CWOKAmLpdinc-0TK.mjs → i4aPmKocZebCBeSd.mjs} +83 -81
- package/node/esm/index.mjs +5627 -5620
- package/node/esm/{BbnUYxeK64Fq92Lo.mjs → l0GtU6LYlBywzc9T.mjs} +2 -2
- package/node/esm/note.mjs +5 -5
- package/node/esm/picture.mjs +31 -31
- package/node/esm/shape.mjs +25 -25
- package/node/esm/slicer.mjs +17 -17
- package/package.json +7 -7
- package/types/src/movable/MovableLayer.d.ts +1 -1
- package/types/src/theme/GridColorSchemeContext.d.ts +8 -0
- package/types/src/theme/useGridColorScheme.d.ts +5 -1
- package/browser/esm/Ch5X-uGft55TOqxa.mjs +0 -262
|
@@ -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.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.22
|
|
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 "./
|
|
8
|
-
import { n as t } from "./
|
|
9
|
-
import { t as n } from "./
|
|
10
|
-
import { i as r, r as i, t as a } from "./
|
|
7
|
+
import { t as e } from "./BPS1PDZKyF6ivJwa.mjs";
|
|
8
|
+
import { n as t } from "./mUKvsPCmRWzQke-M.mjs";
|
|
9
|
+
import { t as n } from "./np1ChcItFltS6AC5.mjs";
|
|
10
|
+
import { i as r, r as i, t as a } from "./B9wkino8VMasq6E3.mjs";
|
|
11
11
|
import { forwardRef as o, memo as s, useEffect as c, useId as l, useMemo as u, useReducer as ee, useRef as te, useState as d } from "react";
|
|
12
12
|
import { jsx as f, jsxs as ne } from "react/jsx-runtime";
|
|
13
13
|
import { useSurfaceStateSetter as re } from "@sheetxl/grid-react";
|
|
@@ -180,7 +180,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
180
180
|
if (g.isDeleted()) return;
|
|
181
181
|
let Ae = T && (T.horizontal || T.vertical) ? `scale(${T.horizontal ? -1 : 1}, ${T.vertical ? -1 : 1})` : void 0, je = h?.pointerEvents === "none" ? "none" : "visiblePainted", { left: Me = 0, top: Ne = 0, right: Pe = 0, bottom: Fe = 0 } = P.image?.stretch ?? {};
|
|
182
182
|
return ne("div", {
|
|
183
|
-
className: "picture-editor",
|
|
183
|
+
className: "sxl-picture-editor",
|
|
184
184
|
style: {
|
|
185
185
|
position: "relative",
|
|
186
186
|
display: "flex",
|
|
@@ -223,7 +223,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
223
223
|
ref: Ee,
|
|
224
224
|
children: [
|
|
225
225
|
U && G ? f("svg", {
|
|
226
|
-
className: "picture-fill",
|
|
226
|
+
className: "sxl-picture-fill",
|
|
227
227
|
viewBox: `0 0 ${F} ${I}`,
|
|
228
228
|
preserveAspectRatio: "none",
|
|
229
229
|
overflow: "visible",
|
|
@@ -256,7 +256,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
256
256
|
}) })
|
|
257
257
|
}) : null,
|
|
258
258
|
f("div", {
|
|
259
|
-
className: "picture-clip",
|
|
259
|
+
className: "sxl-picture-clip",
|
|
260
260
|
style: {
|
|
261
261
|
position: "absolute",
|
|
262
262
|
...y,
|
|
@@ -265,7 +265,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
265
265
|
cursor: Z && !_?.isSelected() ? "pointer" : void 0
|
|
266
266
|
},
|
|
267
267
|
children: ne("div", {
|
|
268
|
-
className: "picture-image",
|
|
268
|
+
className: "sxl-picture-image",
|
|
269
269
|
style: {
|
|
270
270
|
position: "absolute",
|
|
271
271
|
left: `${Me}%`,
|
|
@@ -278,7 +278,7 @@ var p = (e) => Math.round(1e3 * e) / 1e3, m = (e, t, n) => {
|
|
|
278
278
|
})
|
|
279
279
|
}),
|
|
280
280
|
U && G && G.strokeWidth > 0 ? f("svg", {
|
|
281
|
-
className: "picture-border",
|
|
281
|
+
className: "sxl-picture-border",
|
|
282
282
|
viewBox: `0 0 ${F} ${I}`,
|
|
283
283
|
preserveAspectRatio: "none",
|
|
284
284
|
overflow: "visible",
|
|
@@ -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.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.22
|
|
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.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
package/browser/esm/chart.mjs
CHANGED
|
@@ -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.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.22
|
|
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 n } from "./
|
|
8
|
-
import { t as r } from "./
|
|
7
|
+
import { i as e, n as t, t as n } from "./C7rc3CMd_XOITW1V.mjs";
|
|
8
|
+
import { t as r } from "./CrTfqdSwWScJN566.mjs";
|
|
9
9
|
import { forwardRef as i, memo as a, useCallback as o, useLayoutEffect as s, useRef as c } from "react";
|
|
10
10
|
import { jsx as l } from "react/jsx-runtime";
|
|
11
11
|
import { useImperativeElement as u } from "@sheetxl/utils-react";
|
package/browser/esm/control.mjs
CHANGED
|
@@ -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.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.22
|
|
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 "./
|
|
7
|
+
import { t as e } from "./BPS1PDZKyF6ivJwa.mjs";
|
|
8
8
|
import { IFont as t } from "@sheetxl/sdk";
|
|
9
9
|
import { memo as n, useEffect as r, useReducer as i, useRef as a } from "react";
|
|
10
10
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
@@ -43,7 +43,7 @@ var c = (e) => {
|
|
|
43
43
|
}, [y, w]), y.isDeleted()) return null;
|
|
44
44
|
let T = u.getBounds();
|
|
45
45
|
return o("div", {
|
|
46
|
-
className: "form-control-renderer",
|
|
46
|
+
className: "sxl-form-control-renderer",
|
|
47
47
|
...v,
|
|
48
48
|
style: {
|
|
49
49
|
width: "100%",
|
package/browser/esm/group.mjs
CHANGED
|
@@ -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.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.22
|
|
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 "./
|
|
8
|
-
import { h as t, i as n, p as r } from "./
|
|
7
|
+
import { t as e } from "./BPS1PDZKyF6ivJwa.mjs";
|
|
8
|
+
import { h as t, i as n, p as r } from "./DhGJU1camaOf7KOq.mjs";
|
|
9
9
|
import { forwardRef as i, memo as a, useContext as o, useEffect as s, useReducer as c } from "react";
|
|
10
10
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
11
11
|
import { useSurfaceState as d } from "@sheetxl/grid-react";
|
|
@@ -38,7 +38,7 @@ var f = a(i((i, a) => {
|
|
|
38
38
|
`translate(${-(j.x + j.width / 2) * _}px, ${-(j.y + j.height / 2) * _}px)`
|
|
39
39
|
].filter(Boolean).join(" ");
|
|
40
40
|
return u("div", {
|
|
41
|
-
className: "group-editor",
|
|
41
|
+
className: "sxl-group-editor",
|
|
42
42
|
...T,
|
|
43
43
|
ref: a,
|
|
44
44
|
style: {
|
|
@@ -50,7 +50,7 @@ var f = a(i((i, a) => {
|
|
|
50
50
|
pointerEvents: "none"
|
|
51
51
|
},
|
|
52
52
|
children: [l("div", {
|
|
53
|
-
className: "group-canvas",
|
|
53
|
+
className: "sxl-group-canvas",
|
|
54
54
|
style: {
|
|
55
55
|
position: "absolute",
|
|
56
56
|
left: 0,
|
|
@@ -64,7 +64,7 @@ var f = a(i((i, a) => {
|
|
|
64
64
|
if (!a || !r) return null;
|
|
65
65
|
let o = i?.rotation ?? (e.getRotation() || 0);
|
|
66
66
|
return l("div", {
|
|
67
|
-
className: "group-member",
|
|
67
|
+
className: "sxl-group-member",
|
|
68
68
|
[t]: e.getId(),
|
|
69
69
|
style: {
|
|
70
70
|
position: "absolute",
|
|
@@ -96,7 +96,7 @@ var f = a(i((i, a) => {
|
|
|
96
96
|
}, e.getId());
|
|
97
97
|
})
|
|
98
98
|
}), N ? l("svg", {
|
|
99
|
-
className: "group-edge",
|
|
99
|
+
className: "sxl-group-edge",
|
|
100
100
|
width: "100%",
|
|
101
101
|
height: "100%",
|
|
102
102
|
style: {
|
|
@@ -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.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.8.0-beta.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|