@stonecrop/node-editor 0.2.67 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stonecrop/node-editor",
3
- "version": "0.2.67",
3
+ "version": "0.3.0",
4
4
  "description": "Node editor UI for Stonecrop",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,9 +42,9 @@
42
42
  import { type VueFlowStore, Position, VueFlow, useVueFlow, Connection, Node } from '@vue-flow/core'
43
43
  import { type HTMLAttributes, ref, computed, defineEmits, onBeforeUnmount, onMounted } from 'vue'
44
44
 
45
- import EditableEdge from '@/components/EditableEdge.vue'
46
- import EditableNode from '@/components/EditableNode.vue'
47
- import type { FlowElements } from '@/types'
45
+ import EditableEdge from './EditableEdge.vue'
46
+ import EditableNode from './EditableNode.vue'
47
+ import type { FlowElements } from '../types'
48
48
 
49
49
  const { modelValue, nodeContainerClass } = defineProps<{
50
50
  modelValue: FlowElements
@@ -8,8 +8,8 @@
8
8
  import { type Node, Position } from '@vue-flow/core'
9
9
  import { type HTMLAttributes, computed } from 'vue'
10
10
 
11
- import NodeEditor from '@/components/NodeEditor.vue'
12
- import type { EditorStates, FlowElement, FlowElements, Layout } from '@/types'
11
+ import NodeEditor from './NodeEditor.vue'
12
+ import type { EditorStates, FlowElement, FlowElements, Layout } from '../types'
13
13
 
14
14
  const emit = defineEmits(['update:modelValue'])
15
15
  const states = defineModel<EditorStates>()