From c621fdc80605aa386a561b3d90cfa19be9091d5e Mon Sep 17 00:00:00 2001 From: Jeppe Reinhold Date: Sat, 15 Jun 2024 00:26:13 +0200 Subject: [PATCH 01/39] Svelte: Fix events not being logged in Actions when a story has decorators --- .../src/components/PreviewRender.svelte | 20 ++++++---- .../src/components/SlotDecorator.svelte | 40 ++++++++++++++----- code/renderers/svelte/src/decorators.ts | 3 +- code/renderers/svelte/src/render.ts | 2 - 4 files changed, 44 insertions(+), 21 deletions(-) diff --git a/code/renderers/svelte/src/components/PreviewRender.svelte b/code/renderers/svelte/src/components/PreviewRender.svelte index af881443b651..446a8c0eed6d 100644 --- a/code/renderers/svelte/src/components/PreviewRender.svelte +++ b/code/renderers/svelte/src/components/PreviewRender.svelte @@ -1,8 +1,12 @@ + + - + diff --git a/code/renderers/svelte/src/components/SlotDecorator.svelte b/code/renderers/svelte/src/components/SlotDecorator.svelte index cf5849113a25..c69a75036d57 100644 --- a/code/renderers/svelte/src/components/SlotDecorator.svelte +++ b/code/renderers/svelte/src/components/SlotDecorator.svelte @@ -1,23 +1,43 @@ - - + diff --git a/code/renderers/svelte/src/components/SlotDecorator.svelte b/code/renderers/svelte/src/components/SlotDecorator.svelte index c69a75036d57..4b4329537f5d 100644 --- a/code/renderers/svelte/src/components/SlotDecorator.svelte +++ b/code/renderers/svelte/src/components/SlotDecorator.svelte @@ -1,13 +1,12 @@