@maas/vue-equipment 0.39.2 → 0.40.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "0.39.1",
4
+ "version": "0.39.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -12,7 +12,7 @@
12
12
  <script setup lang="ts">
13
13
  import { inject, watch, onBeforeUnmount } from 'vue'
14
14
  import { useMagicEmitter } from '@maas/vue-equipment/plugins'
15
- import { useMagicDrawer } from '../../../MagicDrawer'
15
+ import { useMagicDrawer } from '../../../MagicDrawer/src/composables/useMagicDrawer'
16
16
  import { useMagicCommand } from '../composables/useMagicCommand'
17
17
  import { MagicCommandInstanceId } from './../symbols'
18
18
 
@@ -370,7 +370,6 @@ export function useDrawerDrag(args) {
370
370
  }
371
371
  e.stopImmediatePropagation();
372
372
  e.stopPropagation();
373
- e.preventDefault();
374
373
  shouldClose.value = false;
375
374
  checkDirection({ x: e.screenX, y: e.screenY });
376
375
  if (!scrollLock) {
@@ -36,7 +36,7 @@ const defaultOptions = {
36
36
  close: ["Escape"]
37
37
  },
38
38
  enableMousewheel: false,
39
- preventZoom: false,
39
+ preventZoom: true,
40
40
  preventDragClose: false,
41
41
  disabled: false
42
42
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "description": "A magic collection of Vue composables, plugins, components and directives",
4
- "version": "0.39.2",
4
+ "version": "0.40.0",
5
5
  "author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
6
6
  "type": "module",
7
7
  "devDependencies": {
@@ -10,6 +10,7 @@
10
10
  "@types/node": "^22.4.1",
11
11
  "@vue/tsconfig": "^0.7.0",
12
12
  "release-it": "^17.0.1",
13
+ "tailwindcss": "^3.4.16",
13
14
  "turbo": "^2.0.6"
14
15
  },
15
16
  "exports": {