diff --git a/src/shared/ui/DotIndicator/DotIndicator.stories.svelte b/src/shared/ui/DotIndicator/DotIndicator.stories.svelte new file mode 100644 index 0000000..5d60fcb --- /dev/null +++ b/src/shared/ui/DotIndicator/DotIndicator.stories.svelte @@ -0,0 +1,189 @@ + + + + + + {#snippet template(args)} + + {/snippet} + + + + {#snippet template(args)} +
+
+ + Online +
+
+ + Offline +
+
+ + Busy +
+
+ + Away +
+
+ + Success +
+
+ + Warning +
+
+ + Error +
+
+ {/snippet} +
+ + + {#snippet template(args)} +
+
+ + Small +
+
+ + Medium +
+
+ + Large +
+
+ {/snippet} +
+ + + {#snippet template(args)} +
+
+ + Online +
+
+ + Busy +
+
+ + Away +
+
+ {/snippet} +
+ + + {#snippet template(args)} +
+

Sizes

+
+
+ + Small +
+
+ + Medium +
+
+ + Large +
+
+ +

Status Variants

+
+
+ + Online +
+
+ + Offline +
+
+ + Busy +
+
+ + Away +
+
+ +

Feedback Variants

+
+
+ + Success +
+
+ + Warning +
+
+ + Error +
+
+ +

With Pulse Animation

+
+
+ + Online +
+
+ + Busy +
+
+
+ {/snippet} +
diff --git a/src/shared/ui/DotIndicator/DotIndicator.svelte b/src/shared/ui/DotIndicator/DotIndicator.svelte new file mode 100644 index 0000000..b62c4d2 --- /dev/null +++ b/src/shared/ui/DotIndicator/DotIndicator.svelte @@ -0,0 +1,60 @@ + + + +