@gridsheet/react-core 2.0.0-rc.5 → 2.0.0-rc.7
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/dist/components/Resizer.d.ts.map +1 -1
- package/dist/index.js +8 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../src/components/Resizer.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../src/components/Resizer.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,OAAO,mBAwGnB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4675,36 +4675,14 @@ const Resizer = () => {
|
|
|
4675
4675
|
onMouseUp: handleResizeEnd,
|
|
4676
4676
|
onMouseMove: handleResizeMove,
|
|
4677
4677
|
children: [
|
|
4678
|
-
/* @__PURE__ */ jsx(
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
},
|
|
4687
|
-
children: /* @__PURE__ */ jsxs("span", { style: { left: "-50%" }, children: [
|
|
4688
|
-
width,
|
|
4689
|
-
"px"
|
|
4690
|
-
] })
|
|
4691
|
-
}
|
|
4692
|
-
),
|
|
4693
|
-
/* @__PURE__ */ jsx(
|
|
4694
|
-
"div",
|
|
4695
|
-
{
|
|
4696
|
-
className: `gs-line ${y === -1 ? "gs-hidden" : ""}`,
|
|
4697
|
-
style: {
|
|
4698
|
-
width: "100%",
|
|
4699
|
-
height: 1,
|
|
4700
|
-
top: endY - offsetY
|
|
4701
|
-
},
|
|
4702
|
-
children: /* @__PURE__ */ jsxs("span", { style: { top: "-50%" }, children: [
|
|
4703
|
-
height,
|
|
4704
|
-
"px"
|
|
4705
|
-
] })
|
|
4706
|
-
}
|
|
4707
|
-
)
|
|
4678
|
+
/* @__PURE__ */ jsx("div", { className: x === -1 ? "gs-hidden" : "", children: /* @__PURE__ */ jsx("div", { className: "gs-line", style: { width: 1, height: "100%", left: endX - offsetX }, children: /* @__PURE__ */ jsxs("span", { style: { left: "-50%" }, children: [
|
|
4679
|
+
width,
|
|
4680
|
+
"px"
|
|
4681
|
+
] }) }) }),
|
|
4682
|
+
/* @__PURE__ */ jsx("div", { className: y === -1 ? "gs-hidden" : "", children: /* @__PURE__ */ jsx("div", { className: "gs-line", style: { width: "100%", height: 1, top: endY - offsetY }, children: /* @__PURE__ */ jsxs("span", { style: { top: "-50%" }, children: [
|
|
4683
|
+
height,
|
|
4684
|
+
"px"
|
|
4685
|
+
] }) }) })
|
|
4708
4686
|
]
|
|
4709
4687
|
}
|
|
4710
4688
|
);
|