@jsenv/dom 0.11.1 → 0.11.2

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/jsenv_dom.js CHANGED
@@ -8430,6 +8430,9 @@ const initDragConstraints = (
8430
8430
  );
8431
8431
 
8432
8432
  const logConstraintEnforcement = (axis, constraint) => {
8433
+ if (constraint.type === "bounds") {
8434
+ return;
8435
+ }
8433
8436
  if (constraint.type === "obstacle") {
8434
8437
  return;
8435
8438
  }
@@ -8492,11 +8495,6 @@ const initDragConstraints = (
8492
8495
  const leftModified = elementLeft !== elementLeftRequested;
8493
8496
  const topModified = elementTop !== elementTopRequested;
8494
8497
  if (!leftModified && !topModified) {
8495
- {
8496
- console.debug(
8497
- `Drag by ${dragEvent.type}: no constraint enforcement needed (${elementLeftRequested.toFixed(2)}, ${elementTopRequested.toFixed(2)})`,
8498
- );
8499
- }
8500
8498
  return;
8501
8499
  }
8502
8500
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/dom",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "type": "module",
5
5
  "description": "DOM utilities for writing frontend code",
6
6
  "repository": {