From c70067542060cb024c1beaaeecec62aba440c87a Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot Date: Thu, 22 May 2025 23:04:45 +0000 Subject: [PATCH] sync docs --- .../svelte/03-template-syntax/09-@attach.md | 4 ++ .../.generated/client-warnings.md | 13 +++++ .../98-reference/.generated/compile-errors.md | 6 --- .../.generated/compile-warnings.md | 19 ++++++++ .../98-reference/21-svelte-attachments.md | 48 ++++++++++++++++++- .../svelte/98-reference/30-compiler-errors.md | 6 --- .../98-reference/30-compiler-warnings.md | 19 ++++++++ .../98-reference/30-runtime-warnings.md | 13 +++++ 8 files changed, 115 insertions(+), 13 deletions(-) diff --git a/apps/svelte.dev/content/docs/svelte/03-template-syntax/09-@attach.md b/apps/svelte.dev/content/docs/svelte/03-template-syntax/09-@attach.md index f342945a8a..47939d6375 100644 --- a/apps/svelte.dev/content/docs/svelte/03-template-syntax/09-@attach.md +++ b/apps/svelte.dev/content/docs/svelte/03-template-syntax/09-@attach.md @@ -161,3 +161,7 @@ function foo(+++getBar+++) { ## Creating attachments programmatically To add attachments to an object that will be spread onto a component or element, use [`createAttachmentKey`](svelte-attachments#createAttachmentKey). + +## Converting actions to attachments + +If you're using a library that only provides actions, you can convert them to attachments with [`fromAction`](svelte-attachments#fromAction), allowing you to (for example) use them with components. diff --git a/apps/svelte.dev/content/docs/svelte/98-reference/.generated/client-warnings.md b/apps/svelte.dev/content/docs/svelte/98-reference/.generated/client-warnings.md index 77d1df4cdd..fe90b0db38 100644 --- a/apps/svelte.dev/content/docs/svelte/98-reference/.generated/client-warnings.md +++ b/apps/svelte.dev/content/docs/svelte/98-reference/.generated/client-warnings.md @@ -200,6 +200,19 @@ Consider the following code: To fix it, either create callback props to communicate changes, or mark `person` as [`$bindable`]($bindable). +### select_multiple_invalid_value + +``` +The `value` property of a ``, Svelte will mark all selected `