From 03625534e12985c153be27abf69b32213c99b002 Mon Sep 17 00:00:00 2001 From: babakfp Date: Tue, 5 Nov 2024 20:32:20 +0330 Subject: [PATCH] fix(docs): convert invalid self-closing tags to proper closing tags for Svelte 5 --- .../data/snippets/svelte/checkbox/usage.mdx | 2 +- .../snippets/svelte/color-picker/usage.mdx | 18 +++++++++--------- .../svelte/color-picker/with-preview.mdx | 4 ++-- .../svelte/color-picker/with-swatches.mdx | 4 ++-- website/data/snippets/svelte/dialog/usage.mdx | 2 +- .../svelte/editable/custom-controls.mdx | 2 +- .../data/snippets/svelte/editable/usage.mdx | 2 +- .../data/snippets/svelte/hover-card/usage.mdx | 2 +- .../snippets/svelte/number-input/scrubber.mdx | 2 +- .../data/snippets/svelte/progress/usage.mdx | 2 +- website/data/snippets/svelte/qr-code/usage.mdx | 2 +- .../data/snippets/svelte/radio-group/usage.mdx | 2 +- .../snippets/svelte/range-slider/usage.mdx | 2 +- .../snippets/svelte/signature-pad/usage.mdx | 2 +- .../data/snippets/svelte/slider/tick-marks.mdx | 2 +- website/data/snippets/svelte/slider/usage.mdx | 2 +- .../data/snippets/svelte/splitter/usage.mdx | 2 +- website/data/snippets/svelte/switch/usage.mdx | 2 +- .../snippets/svelte/tabs/with-indicator.mdx | 2 +- website/data/snippets/svelte/tour/usage.mdx | 6 +++--- 20 files changed, 32 insertions(+), 32 deletions(-) diff --git a/website/data/snippets/svelte/checkbox/usage.mdx b/website/data/snippets/svelte/checkbox/usage.mdx index 788f106445..5444df86c7 100644 --- a/website/data/snippets/svelte/checkbox/usage.mdx +++ b/website/data/snippets/svelte/checkbox/usage.mdx @@ -11,7 +11,7 @@ Input is {api.checked ? "checked" : "unchecked"} -
+
``` diff --git a/website/data/snippets/svelte/color-picker/usage.mdx b/website/data/snippets/svelte/color-picker/usage.mdx index 463b4d9838..9ea15fe5c6 100644 --- a/website/data/snippets/svelte/color-picker/usage.mdx +++ b/website/data/snippets/svelte/color-picker/usage.mdx @@ -15,8 +15,8 @@
@@ -25,19 +25,19 @@
-
-
+
+
-
-
+
+
-
-
-
+
+
+
diff --git a/website/data/snippets/svelte/color-picker/with-preview.mdx b/website/data/snippets/svelte/color-picker/with-preview.mdx index 45a7a6fa9a..0caaaf1688 100644 --- a/website/data/snippets/svelte/color-picker/with-preview.mdx +++ b/website/data/snippets/svelte/color-picker/with-preview.mdx @@ -10,8 +10,8 @@
-
-
+
+
diff --git a/website/data/snippets/svelte/color-picker/with-swatches.mdx b/website/data/snippets/svelte/color-picker/with-swatches.mdx index c4e752f8e8..e03a93c456 100644 --- a/website/data/snippets/svelte/color-picker/with-swatches.mdx +++ b/website/data/snippets/svelte/color-picker/with-swatches.mdx @@ -18,8 +18,8 @@ {#each presets as preset} {/each} diff --git a/website/data/snippets/svelte/dialog/usage.mdx b/website/data/snippets/svelte/dialog/usage.mdx index b3f6cbc6d1..388c80fd11 100644 --- a/website/data/snippets/svelte/dialog/usage.mdx +++ b/website/data/snippets/svelte/dialog/usage.mdx @@ -9,7 +9,7 @@ {#if api.open} -
+

Edit profile

diff --git a/website/data/snippets/svelte/editable/custom-controls.mdx b/website/data/snippets/svelte/editable/custom-controls.mdx index 76ed81d0d7..15d7161eba 100644 --- a/website/data/snippets/svelte/editable/custom-controls.mdx +++ b/website/data/snippets/svelte/editable/custom-controls.mdx @@ -10,7 +10,7 @@
- +
{#if !api.editing} diff --git a/website/data/snippets/svelte/editable/usage.mdx b/website/data/snippets/svelte/editable/usage.mdx index 55f1053bca..2b21b06b36 100644 --- a/website/data/snippets/svelte/editable/usage.mdx +++ b/website/data/snippets/svelte/editable/usage.mdx @@ -10,7 +10,7 @@
- +
``` diff --git a/website/data/snippets/svelte/hover-card/usage.mdx b/website/data/snippets/svelte/hover-card/usage.mdx index e50dc15a1c..140d4c572c 100644 --- a/website/data/snippets/svelte/hover-card/usage.mdx +++ b/website/data/snippets/svelte/hover-card/usage.mdx @@ -15,7 +15,7 @@
-
+
Twitter Preview
diff --git a/website/data/snippets/svelte/number-input/scrubber.mdx b/website/data/snippets/svelte/number-input/scrubber.mdx index 1e91c7594c..9df22f5f63 100644 --- a/website/data/snippets/svelte/number-input/scrubber.mdx +++ b/website/data/snippets/svelte/number-input/scrubber.mdx @@ -12,7 +12,7 @@
-
+
diff --git a/website/data/snippets/svelte/progress/usage.mdx b/website/data/snippets/svelte/progress/usage.mdx index 9ea8a994e1..e7d41f4b0f 100644 --- a/website/data/snippets/svelte/progress/usage.mdx +++ b/website/data/snippets/svelte/progress/usage.mdx @@ -11,7 +11,7 @@
Upload progress
-
+
``` diff --git a/website/data/snippets/svelte/qr-code/usage.mdx b/website/data/snippets/svelte/qr-code/usage.mdx index fbbac8ed34..5990951045 100644 --- a/website/data/snippets/svelte/qr-code/usage.mdx +++ b/website/data/snippets/svelte/qr-code/usage.mdx @@ -9,7 +9,7 @@
- +
{opt.label} -
+
{/each}
diff --git a/website/data/snippets/svelte/range-slider/usage.mdx b/website/data/snippets/svelte/range-slider/usage.mdx index 365f5016c5..d0985833b6 100644 --- a/website/data/snippets/svelte/range-slider/usage.mdx +++ b/website/data/snippets/svelte/range-slider/usage.mdx @@ -17,7 +17,7 @@
-
+
{#each api.value as _, index}
diff --git a/website/data/snippets/svelte/signature-pad/usage.mdx b/website/data/snippets/svelte/signature-pad/usage.mdx index 729eb71a32..bb6ab799bc 100644 --- a/website/data/snippets/svelte/signature-pad/usage.mdx +++ b/website/data/snippets/svelte/signature-pad/usage.mdx @@ -27,7 +27,7 @@ -
+
``` diff --git a/website/data/snippets/svelte/slider/tick-marks.mdx b/website/data/snippets/svelte/slider/tick-marks.mdx index 7a600f1dd8..f8c7b3ab65 100644 --- a/website/data/snippets/svelte/slider/tick-marks.mdx +++ b/website/data/snippets/svelte/slider/tick-marks.mdx @@ -4,7 +4,7 @@
-
+
{#each api.value as _, index}
diff --git a/website/data/snippets/svelte/slider/usage.mdx b/website/data/snippets/svelte/slider/usage.mdx index 825f2439b2..16a8605ea4 100644 --- a/website/data/snippets/svelte/slider/usage.mdx +++ b/website/data/snippets/svelte/slider/usage.mdx @@ -20,7 +20,7 @@
-
+
{#each api.value as _, index}
diff --git a/website/data/snippets/svelte/splitter/usage.mdx b/website/data/snippets/svelte/splitter/usage.mdx index 95062f3704..a786f8c733 100644 --- a/website/data/snippets/svelte/splitter/usage.mdx +++ b/website/data/snippets/svelte/splitter/usage.mdx @@ -20,7 +20,7 @@

A

-
+

B

diff --git a/website/data/snippets/svelte/switch/usage.mdx b/website/data/snippets/svelte/switch/usage.mdx index 289472d92c..e7dc400069 100644 --- a/website/data/snippets/svelte/switch/usage.mdx +++ b/website/data/snippets/svelte/switch/usage.mdx @@ -11,7 +11,7 @@ diff --git a/website/data/snippets/svelte/tabs/with-indicator.mdx b/website/data/snippets/svelte/tabs/with-indicator.mdx index 2977ede50e..e3b63072a2 100644 --- a/website/data/snippets/svelte/tabs/with-indicator.mdx +++ b/website/data/snippets/svelte/tabs/with-indicator.mdx @@ -8,7 +8,7 @@ {item.label} {/each} -
+
{#each data as item}
diff --git a/website/data/snippets/svelte/tour/usage.mdx b/website/data/snippets/svelte/tour/usage.mdx index a4c93bf131..7fc8c20a87 100644 --- a/website/data/snippets/svelte/tour/usage.mdx +++ b/website/data/snippets/svelte/tour/usage.mdx @@ -15,14 +15,14 @@ {#if api.step && api.open}
{#if api.step.backdrop} -
+
{/if} -
+
{#if api.step.arrow}
-
+
{/if}