@sepveneto/free-dom 0.11.0 → 0.11.1

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-mXWxDcIkY2Ta/core/src/style/index.css */
1
+ /* ../../../../../../../tmp/tmp-1985-FkdDer0n5Q4M/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
@@ -1720,7 +1720,7 @@ var freeDom = (0, import_vue_demi17.defineComponent)({
1720
1720
  } = useDraggableData(props);
1721
1721
  const { width, height, syncSize: _syncSize } = useResizableData(props, domRef);
1722
1722
  const selected = (0, import_vue_demi17.ref)(false);
1723
- const context = {
1723
+ const context = (0, import_vue_demi17.reactive)({
1724
1724
  selected,
1725
1725
  _rect: (0, import_vue_demi17.reactive)({
1726
1726
  x,
@@ -1733,8 +1733,8 @@ var freeDom = (0, import_vue_demi17.defineComponent)({
1733
1733
  trigger: (pos) => {
1734
1734
  emit("update:modelValue", pos);
1735
1735
  }
1736
- };
1737
- const sceneContext = useSceneContext(context, (0, import_vue_demi17.reactive)(props));
1736
+ });
1737
+ const sceneContext = useSceneContext(context, props);
1738
1738
  onClickOutside(domRef, () => {
1739
1739
  if (!selected.value || isBatchSelecting.value)
1740
1740
  return;
package/dist/index.mjs CHANGED
@@ -1700,7 +1700,7 @@ var freeDom = defineComponent5({
1700
1700
  } = useDraggableData(props);
1701
1701
  const { width, height, syncSize: _syncSize } = useResizableData(props, domRef);
1702
1702
  const selected = ref12(false);
1703
- const context = {
1703
+ const context = reactive4({
1704
1704
  selected,
1705
1705
  _rect: reactive4({
1706
1706
  x,
@@ -1713,8 +1713,8 @@ var freeDom = defineComponent5({
1713
1713
  trigger: (pos) => {
1714
1714
  emit("update:modelValue", pos);
1715
1715
  }
1716
- };
1717
- const sceneContext = useSceneContext(context, reactive4(props));
1716
+ });
1717
+ const sceneContext = useSceneContext(context, props);
1718
1718
  onClickOutside(domRef, () => {
1719
1719
  if (!selected.value || isBatchSelecting.value)
1720
1720
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sepveneto/free-dom",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",