@vunk/graph 0.0.5 → 0.0.6

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.
@@ -68,7 +68,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
68
68
  options: _ctx.contextmenuState.options
69
69
  }, {
70
70
  default: withCtx(() => [
71
- renderSlot(_ctx.$slots, "default")
71
+ renderSlot(_ctx.$slots, "default", {
72
+ visible: _ctx.show,
73
+ coordinates: [
74
+ _ctx.contextmenuState.options.x,
75
+ _ctx.contextmenuState.options.y
76
+ ]
77
+ })
72
78
  ]),
73
79
  _: 3
74
80
  /* FORWARDED */
@@ -158,7 +158,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
158
158
  }, {
159
159
  default: withCtx(() => [
160
160
  renderSlot(_ctx.$slots, "default", {
161
- edge: contextmenuState.edge
161
+ edge: contextmenuState.edge,
162
+ coordinates: [
163
+ contextmenuState.options.x,
164
+ contextmenuState.options.y
165
+ ]
162
166
  })
163
167
  ]),
164
168
  _: 3
@@ -152,7 +152,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
152
152
  }, {
153
153
  default: withCtx(() => [
154
154
  renderSlot(_ctx.$slots, "default", {
155
- node: _ctx.contextmenuState.node
155
+ node: _ctx.contextmenuState.node,
156
+ coordinates: [
157
+ _ctx.contextmenuState.options.x,
158
+ _ctx.contextmenuState.options.y
159
+ ]
156
160
  })
157
161
  ]),
158
162
  _: 3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/graph",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC",