From 08db47adee5036ab54e96aa2bd2f6f109eab482a Mon Sep 17 00:00:00 2001 From: Rachel Marconi Date: Fri, 2 Aug 2024 14:57:13 -0400 Subject: [PATCH] rename IconLibrary -> Icons --- src/lib/{IconLibrary => Icons}/IconClose.stories.svelte | 4 ++-- src/lib/{IconLibrary => Icons}/IconClose.svelte | 0 src/lib/{IconLibrary => Icons}/IconLibrary.docs.mdx | 2 +- src/lib/{IconLibrary => Icons}/IconMinus.stories.svelte | 4 ++-- src/lib/{IconLibrary => Icons}/IconMinus.svelte | 0 src/lib/{IconLibrary => Icons}/IconPlus.stories.svelte | 7 +++++-- src/lib/{IconLibrary => Icons}/IconPlus.svelte | 0 src/lib/{IconLibrary => Icons}/IconSearch.stories.svelte | 4 ++-- src/lib/{IconLibrary => Icons}/IconSearch.svelte | 0 src/lib/index.js | 8 ++++---- 10 files changed, 16 insertions(+), 13 deletions(-) rename src/lib/{IconLibrary => Icons}/IconClose.stories.svelte (92%) rename src/lib/{IconLibrary => Icons}/IconClose.svelte (100%) rename src/lib/{IconLibrary => Icons}/IconLibrary.docs.mdx (94%) rename src/lib/{IconLibrary => Icons}/IconMinus.stories.svelte (92%) rename src/lib/{IconLibrary => Icons}/IconMinus.svelte (100%) rename src/lib/{IconLibrary => Icons}/IconPlus.stories.svelte (88%) rename src/lib/{IconLibrary => Icons}/IconPlus.svelte (100%) rename src/lib/{IconLibrary => Icons}/IconSearch.stories.svelte (92%) rename src/lib/{IconLibrary => Icons}/IconSearch.svelte (100%) diff --git a/src/lib/IconLibrary/IconClose.stories.svelte b/src/lib/Icons/IconClose.stories.svelte similarity index 92% rename from src/lib/IconLibrary/IconClose.stories.svelte rename to src/lib/Icons/IconClose.stories.svelte index 66d40ffa..4f01a2b6 100644 --- a/src/lib/IconLibrary/IconClose.stories.svelte +++ b/src/lib/Icons/IconClose.stories.svelte @@ -2,7 +2,7 @@ import IconClose from "./IconClose.svelte"; export const meta = { - title: "Components/IconLibrary", + //title: "Components/Icons", component: IconClose, //tags: ["autodocs"], argTypes: { @@ -31,7 +31,7 @@ } }, githubLink: { - url: "/IconLibrary/IconClose.svelte" + url: "/Icons/IconClose.svelte" } } }; diff --git a/src/lib/IconLibrary/IconClose.svelte b/src/lib/Icons/IconClose.svelte similarity index 100% rename from src/lib/IconLibrary/IconClose.svelte rename to src/lib/Icons/IconClose.svelte diff --git a/src/lib/IconLibrary/IconLibrary.docs.mdx b/src/lib/Icons/IconLibrary.docs.mdx similarity index 94% rename from src/lib/IconLibrary/IconLibrary.docs.mdx rename to src/lib/Icons/IconLibrary.docs.mdx index 433d97fc..efa93db4 100644 --- a/src/lib/IconLibrary/IconLibrary.docs.mdx +++ b/src/lib/Icons/IconLibrary.docs.mdx @@ -4,7 +4,7 @@ import * as CloseStory from "./IconClose.stories.svelte"; import * as SearchStory from "./IconSearch.stories.svelte"; import { Meta, Title, Canvas, Story, Controls, IconGallery, IconItem } from "@storybook/blocks"; - + # Icons diff --git a/src/lib/IconLibrary/IconMinus.stories.svelte b/src/lib/Icons/IconMinus.stories.svelte similarity index 92% rename from src/lib/IconLibrary/IconMinus.stories.svelte rename to src/lib/Icons/IconMinus.stories.svelte index dd2330e7..63ad9062 100644 --- a/src/lib/IconLibrary/IconMinus.stories.svelte +++ b/src/lib/Icons/IconMinus.stories.svelte @@ -2,7 +2,7 @@ import IconMinus from "./IconMinus.svelte"; export const meta = { - title: "Components/IconLibrary", + //title: "Components/Icons", component: IconMinus, //tags: ["autodocs"], argTypes: { @@ -31,7 +31,7 @@ } }, githubLink: { - url: "/IconLibrary/IconMinus.svelte" + url: "/Icons/IconMinus.svelte" } } }; diff --git a/src/lib/IconLibrary/IconMinus.svelte b/src/lib/Icons/IconMinus.svelte similarity index 100% rename from src/lib/IconLibrary/IconMinus.svelte rename to src/lib/Icons/IconMinus.svelte diff --git a/src/lib/IconLibrary/IconPlus.stories.svelte b/src/lib/Icons/IconPlus.stories.svelte similarity index 88% rename from src/lib/IconLibrary/IconPlus.stories.svelte rename to src/lib/Icons/IconPlus.stories.svelte index 0a7c8134..53a9835d 100644 --- a/src/lib/IconLibrary/IconPlus.stories.svelte +++ b/src/lib/Icons/IconPlus.stories.svelte @@ -2,7 +2,9 @@ import IconPlus from "./IconPlus.svelte"; export const meta = { - title: "Components/IconLibrary", + title: "Components/Icons", + // includeStories: ["Default", "WithColor","ChangingSize"], + // excludeStories: ["PlusPreview"], component: IconPlus, //tags: ["autodocs"], argTypes: { @@ -31,10 +33,11 @@ } }, githubLink: { - url: "/IconLibrary/IconPlus.svelte" + url: "/Icons/IconPlus.svelte" } } }; +