@maas/vue-equipment 0.9.6 → 0.9.7

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,5 +1,5 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "configKey": "vueEquipment",
4
- "version": "0.9.5"
4
+ "version": "0.9.6"
5
5
  }
@@ -14,14 +14,16 @@
14
14
  aria-modal="true"
15
15
  >
16
16
  <transition
17
- v-if="mappedOptions.backdrop"
17
+ v-if="mappedOptions.backdrop || !!$slots.backdrop"
18
18
  :name="mappedOptions.transitions?.backdrop"
19
19
  >
20
20
  <div
21
21
  v-show="innerActive"
22
22
  class="magic-modal__backdrop"
23
23
  @click.self="close"
24
- />
24
+ >
25
+ <slot name="backdrop" />
26
+ </div>
25
27
  </transition>
26
28
  <transition
27
29
  :name="mappedOptions.transitions?.content"
@@ -39,6 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
39
39
  }>>, {
40
40
  options: Options;
41
41
  }, {}>, {
42
+ backdrop?(_: {}): any;
42
43
  default?(_: {}): any;
43
44
  }>;
44
45
  export default _default;
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.9.6",
4
+ "version": "0.9.7",
5
5
  "author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
6
6
  "devDependencies": {
7
7
  "@antfu/ni": "^0.21.5",