From 529168554359b7806822599d9ef363c07542b3ca Mon Sep 17 00:00:00 2001 From: Rachel Marconi Date: Fri, 26 Jul 2024 18:27:06 -0400 Subject: [PATCH] add IconLibrary docs and components --- src/lib/IconLibrary/IconClose.svelte | 28 ++++++ src/lib/IconLibrary/IconLibrary.docs.mdx | 85 +++++++++++++++++++ .../IconLibrary/IconLibrary.stories.svelte | 59 +++++++++++++ src/lib/IconLibrary/IconMinus.svelte | 25 ++++++ src/lib/IconLibrary/IconPlus.svelte | 25 ++++++ src/lib/IconLibrary/IconPlusMinus.svelte | 63 ++++++++++++++ src/lib/IconLibrary/IconSearch.svelte | 28 ++++++ 7 files changed, 313 insertions(+) create mode 100644 src/lib/IconLibrary/IconClose.svelte create mode 100644 src/lib/IconLibrary/IconLibrary.docs.mdx create mode 100644 src/lib/IconLibrary/IconLibrary.stories.svelte create mode 100644 src/lib/IconLibrary/IconMinus.svelte create mode 100644 src/lib/IconLibrary/IconPlus.svelte create mode 100644 src/lib/IconLibrary/IconPlusMinus.svelte create mode 100644 src/lib/IconLibrary/IconSearch.svelte diff --git a/src/lib/IconLibrary/IconClose.svelte b/src/lib/IconLibrary/IconClose.svelte new file mode 100644 index 00000000..35c81cdb --- /dev/null +++ b/src/lib/IconLibrary/IconClose.svelte @@ -0,0 +1,28 @@ + + + + + diff --git a/src/lib/IconLibrary/IconLibrary.docs.mdx b/src/lib/IconLibrary/IconLibrary.docs.mdx new file mode 100644 index 00000000..b58fca2e --- /dev/null +++ b/src/lib/IconLibrary/IconLibrary.docs.mdx @@ -0,0 +1,85 @@ +import * as IconStories from "./IconLibrary.stories.svelte"; +import { Meta, Title, Canvas, Controls, IconGallery, IconItem } from "@storybook/blocks"; + + + +# Icons + +Any of these icons can be pulled in as standalone components. They are intended as decorations, and do not include `onClick` parameters. + +## Options + + + + + + + + + + + + + + + + + + + + + + + + +## Default + + + + + +## With color change + + + +## With size change + + diff --git a/src/lib/IconLibrary/IconLibrary.stories.svelte b/src/lib/IconLibrary/IconLibrary.stories.svelte new file mode 100644 index 00000000..648af31a --- /dev/null +++ b/src/lib/IconLibrary/IconLibrary.stories.svelte @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + diff --git a/src/lib/IconLibrary/IconMinus.svelte b/src/lib/IconLibrary/IconMinus.svelte new file mode 100644 index 00000000..e4e8e367 --- /dev/null +++ b/src/lib/IconLibrary/IconMinus.svelte @@ -0,0 +1,25 @@ + + + + + diff --git a/src/lib/IconLibrary/IconPlus.svelte b/src/lib/IconLibrary/IconPlus.svelte new file mode 100644 index 00000000..fec82abe --- /dev/null +++ b/src/lib/IconLibrary/IconPlus.svelte @@ -0,0 +1,25 @@ + + + + + diff --git a/src/lib/IconLibrary/IconPlusMinus.svelte b/src/lib/IconLibrary/IconPlusMinus.svelte new file mode 100644 index 00000000..1ab71e55 --- /dev/null +++ b/src/lib/IconLibrary/IconPlusMinus.svelte @@ -0,0 +1,63 @@ + + + + + diff --git a/src/lib/IconLibrary/IconSearch.svelte b/src/lib/IconLibrary/IconSearch.svelte new file mode 100644 index 00000000..c6f3872d --- /dev/null +++ b/src/lib/IconLibrary/IconSearch.svelte @@ -0,0 +1,28 @@ + + + + +