@gem-sdk/core 1.23.0-staging.37 → 1.23.0-staging.42

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.
@@ -92,21 +92,15 @@ function Spacing(props) {
92
92
  document.removeEventListener('mouseup', onMouseUpDocument);
93
93
  };
94
94
  const onMouseDown = (event)=>{
95
- event.preventDefault();
96
- event.stopPropagation();
97
95
  if ($bottomDrag.current) {
98
96
  const style = getComputedStyle($bottomDrag.current);
99
97
  startY.current = event.clientY;
100
98
  marginBottom.current = parseFloat(style.top);
101
99
  startDrag();
102
100
  }
103
- return false;
104
101
  };
105
- const onMouseUp = (event)=>{
106
- event.preventDefault();
107
- event.stopPropagation();
102
+ const onMouseUp = ()=>{
108
103
  endDrag();
109
- return false;
110
104
  };
111
105
  return /*#__PURE__*/ jsxRuntime.jsx(jsxRuntime.Fragment, {
112
106
  children: props.tag !== 'Section' && /*#__PURE__*/ jsxRuntime.jsx("div", {
@@ -88,21 +88,15 @@ function Spacing(props) {
88
88
  document.removeEventListener('mouseup', onMouseUpDocument);
89
89
  };
90
90
  const onMouseDown = (event)=>{
91
- event.preventDefault();
92
- event.stopPropagation();
93
91
  if ($bottomDrag.current) {
94
92
  const style = getComputedStyle($bottomDrag.current);
95
93
  startY.current = event.clientY;
96
94
  marginBottom.current = parseFloat(style.top);
97
95
  startDrag();
98
96
  }
99
- return false;
100
97
  };
101
- const onMouseUp = (event)=>{
102
- event.preventDefault();
103
- event.stopPropagation();
98
+ const onMouseUp = ()=>{
104
99
  endDrag();
105
- return false;
106
100
  };
107
101
  return /*#__PURE__*/ jsx(Fragment, {
108
102
  children: props.tag !== 'Section' && /*#__PURE__*/ jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.23.0-staging.37",
3
+ "version": "1.23.0-staging.42",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",