@xleddyl/443-components-vue 0.16.36 → 0.16.37

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.
@@ -23,7 +23,7 @@
23
23
  @close="emit('close')"
24
24
  @after-leave="emit('afterLeave')"
25
25
  >
26
- <template v-for="name in slotNames" #[name]="scope">
26
+ <template v-for="name in slotNames()" #[name]="scope">
27
27
  <slot :name="name" v-bind="scope" />
28
28
  </template>
29
29
  </DialogFrame>
@@ -50,7 +50,7 @@ defineProps({
50
50
  backLabel: { type: String, required: false }
51
51
  });
52
52
  const slots = defineSlots();
53
- const slotNames = computed(() => Object.keys(slots));
53
+ const slotNames = () => Object.keys(slots);
54
54
  const emit = defineEmits(["open", "close", "afterLeave", "navigate"]);
55
55
  const open = defineModel("open", { type: Boolean, ...{ default: false } });
56
56
  const tab = defineModel("tab", { type: [String, Number] });
@@ -24,7 +24,7 @@
24
24
  @close="emit('close')"
25
25
  @after-leave="emit('afterLeave')"
26
26
  >
27
- <template v-for="name in slotNames" #[name]="scope">
27
+ <template v-for="name in slotNames()" #[name]="scope">
28
28
  <slot :name="name" v-bind="scope" />
29
29
  </template>
30
30
  </DialogFrame>
@@ -57,7 +57,7 @@ const sizeStyle = computed(() => ({
57
57
  "--k-modal-min-height": props.minHeight
58
58
  }));
59
59
  const slots = defineSlots();
60
- const slotNames = computed(() => Object.keys(slots));
60
+ const slotNames = () => Object.keys(slots);
61
61
  const emit = defineEmits(["open", "close", "afterLeave", "navigate"]);
62
62
  const open = defineModel("open", { type: Boolean, ...{ default: false } });
63
63
  const tab = defineModel("tab", { type: [String, Number] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xleddyl/443-components-vue",
3
- "version": "0.16.36",
3
+ "version": "0.16.37",
4
4
  "description": "Compact, scoped dashboard components for Vue and Nuxt",
5
5
  "license": "MIT",
6
6
  "author": "Edoardo Alberti (https://github.com/xleddyl)",