@gridsheet/react-core 2.0.0-rc.5 → 2.0.0-rc.8

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 +1 @@
1
- {"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../src/components/Resizer.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,OAAO,mBAkHnB,CAAC"}
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
- "div",
4680
- {
4681
- className: `gs-line ${x === -1 ? "gs-hidden" : ""}`,
4682
- style: {
4683
- width: 1,
4684
- height: "100%",
4685
- left: endX - offsetX
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
  );