From 6dfb6d6c7bc4edb04d45de18779368f3d2f914be Mon Sep 17 00:00:00 2001 From: Mikha Davids Date: Sun, 2 Apr 2023 23:06:59 +0200 Subject: [PATCH] feat: :heavy_plus_sign: added dotSpin animation --- src/loading-animations/DotSlide.svelte | 2 - src/loading-animations/DotSpin.svelte | 63 +++++++++++++++++++ src/loading-animations/RotateOne.svelte | 2 +- src/loading-animations/index.ts | 2 + .../LoadingAnimation.story.svelte | 22 ++++++- 5 files changed, 87 insertions(+), 4 deletions(-) create mode 100644 src/loading-animations/DotSpin.svelte diff --git a/src/loading-animations/DotSlide.svelte b/src/loading-animations/DotSlide.svelte index 0fd6cb1..99dc0f7 100644 --- a/src/loading-animations/DotSlide.svelte +++ b/src/loading-animations/DotSlide.svelte @@ -1,6 +1,4 @@ + + + + {#key count} + {#each new Array(count) as _, i} + + {/each} + {/key} + + + diff --git a/src/loading-animations/RotateOne.svelte b/src/loading-animations/RotateOne.svelte index 81748f7..a8347b9 100644 --- a/src/loading-animations/RotateOne.svelte +++ b/src/loading-animations/RotateOne.svelte @@ -1,6 +1,6 @@ + + + + + + + + + + - +