orcasvn-react-diagrams 0.1.43 → 0.1.45

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/cjs/index.js CHANGED
@@ -1248,7 +1248,6 @@ var SelectionFrame = function (props) {
1248
1248
  var newX = mousePosition.x + xFromMouse;
1249
1249
  var newY = mousePosition.y + yFromMouse;
1250
1250
  if (propOnMove) {
1251
- console.log('newX', newX, 'newY', newY);
1252
1251
  setX(newX);
1253
1252
  setY(newY);
1254
1253
  propOnMove(newX, newY);
@@ -1606,7 +1605,6 @@ var paperEventEmitterContext = React.createContext({
1606
1605
 
1607
1606
  var Text = React.forwardRef(function (_a, ref) {
1608
1607
  var id = _a.id, content = _a.content, x = _a.x, y = _a.y, width = _a.width, height = _a.height, editable = _a.editable, _b = _a.align, align = _b === void 0 ? exports.TextAlign.left : _b, fontSizeProp = _a.fontSize, border = _a.border, container = _a.container, parentAbsolutePosition = _a.parentAbsolutePosition, onSelected = _a.onSelected, onMoved = _a.onMoved, onResized = _a.onResized, onContentChanged = _a.onContentChanged;
1609
- console.log(content, x, y, parentAbsolutePosition);
1610
1608
  var _c = React.useState(false), isSelected = _c[0], setIsSelected = _c[1];
1611
1609
  var _d = React.useState(false), isEditing = _d[0], setIsEditing = _d[1];
1612
1610
  var absolutePosition = React.useMemo(function () {
package/dist/esm/index.js CHANGED
@@ -1244,7 +1244,6 @@ var SelectionFrame = function (props) {
1244
1244
  var newX = mousePosition.x + xFromMouse;
1245
1245
  var newY = mousePosition.y + yFromMouse;
1246
1246
  if (propOnMove) {
1247
- console.log('newX', newX, 'newY', newY);
1248
1247
  setX(newX);
1249
1248
  setY(newY);
1250
1249
  propOnMove(newX, newY);
@@ -1602,7 +1601,6 @@ var paperEventEmitterContext = createContext({
1602
1601
 
1603
1602
  var Text = forwardRef(function (_a, ref) {
1604
1603
  var id = _a.id, content = _a.content, x = _a.x, y = _a.y, width = _a.width, height = _a.height, editable = _a.editable, _b = _a.align, align = _b === void 0 ? TextAlign.left : _b, fontSizeProp = _a.fontSize, border = _a.border, container = _a.container, parentAbsolutePosition = _a.parentAbsolutePosition, onSelected = _a.onSelected, onMoved = _a.onMoved, onResized = _a.onResized, onContentChanged = _a.onContentChanged;
1605
- console.log(content, x, y, parentAbsolutePosition);
1606
1604
  var _c = useState(false), isSelected = _c[0], setIsSelected = _c[1];
1607
1605
  var _d = useState(false), isEditing = _d[0], setIsEditing = _d[1];
1608
1606
  var absolutePosition = useMemo(function () {