@maas/vue-equipment 0.36.4 → 0.37.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/nuxt/module.json
CHANGED
|
@@ -41,10 +41,6 @@ if (!viewId) {
|
|
|
41
41
|
throw new Error('MagicMenuChannel must be nested inside MagicMenuView')
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
if (!contentId) {
|
|
45
|
-
throw new Error('MagicMenuChannel must be nested inside MagicMenuContent')
|
|
46
|
-
}
|
|
47
|
-
|
|
48
44
|
if (!props.id) {
|
|
49
45
|
throw new Error('MagicMenuChannel requires an id')
|
|
50
46
|
}
|
|
@@ -52,6 +48,12 @@ if (!props.id) {
|
|
|
52
48
|
const { initializeState } = useMenuState(instanceId)
|
|
53
49
|
const state = initializeState()
|
|
54
50
|
|
|
51
|
+
if (!contentId) {
|
|
52
|
+
if (state.options.debug) {
|
|
53
|
+
console.warn('MagicMenuChannel is not nested inside MagicMenuContent')
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
55
57
|
const mappedId = computed(() => `magic-menu-channel-${props.id}`)
|
|
56
58
|
const mappedTransition = computed(() => state.options.transition.channel)
|
|
57
59
|
|
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.
|
|
4
|
+
"version": "0.37.1",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"devDependencies": {
|