@sepveneto/free-dom 0.11.6 → 0.11.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/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* ../../../../../../../tmp/tmp-1918-SHZS2aFjA1XL/core/src/style/index.css */
1
+ /* ../../../../../../../tmp/tmp-1879-LbkxzyAvsZ9t/core/src/style/index.css */
2
2
  :root {
3
3
  --vv-free-dom--theme: rgb(64, 137, 239);
4
4
  --vv-free-dom--line: var(--vv-free-dom--theme);
package/dist/index.js CHANGED
@@ -1623,7 +1623,9 @@ var resizeDomCore = (0, import_vue_demi16.defineComponent)({
1623
1623
  deltaY = -deltaY;
1624
1624
  let width = props.width + (canDragX ? deltaX : 0);
1625
1625
  let height = props.height + (canDragY ? deltaY : 0);
1626
- [width, height] = runConstraints(width, height);
1626
+ if (!evt.shiftKey) {
1627
+ [width, height] = runConstraints(width, height);
1628
+ }
1627
1629
  const sizeChanged = width !== props.width || height !== props.height;
1628
1630
  const fnName = `${handleName}Fn`;
1629
1631
  const cb = typeof props[fnName] === "function" ? props[fnName] : null;
package/dist/index.mjs CHANGED
@@ -1602,7 +1602,9 @@ var resizeDomCore = defineComponent4({
1602
1602
  deltaY = -deltaY;
1603
1603
  let width = props.width + (canDragX ? deltaX : 0);
1604
1604
  let height = props.height + (canDragY ? deltaY : 0);
1605
- [width, height] = runConstraints(width, height);
1605
+ if (!evt.shiftKey) {
1606
+ [width, height] = runConstraints(width, height);
1607
+ }
1606
1608
  const sizeChanged = width !== props.width || height !== props.height;
1607
1609
  const fnName = `${handleName}Fn`;
1608
1610
  const cb = typeof props[fnName] === "function" ? props[fnName] : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sepveneto/free-dom",
3
- "version": "0.11.6",
3
+ "version": "0.11.7",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",