From a8b3d2992fe91a86af83111b4274323932dba861 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Tue, 17 Dec 2024 17:14:03 -0500 Subject: [PATCH] rename Input to TextInput and use daisy --- src/lib/components/Input.stories.svelte | 43 --------------------- src/lib/components/Input.svelte | 36 ----------------- src/lib/components/TextInput.stories.svelte | 13 +++++++ src/lib/components/TextInput.svelte | 27 +++++++++++++ src/routes/login/+page.svelte | 8 ++-- 5 files changed, 44 insertions(+), 83 deletions(-) delete mode 100644 src/lib/components/Input.stories.svelte delete mode 100644 src/lib/components/Input.svelte create mode 100644 src/lib/components/TextInput.stories.svelte create mode 100644 src/lib/components/TextInput.svelte diff --git a/src/lib/components/Input.stories.svelte b/src/lib/components/Input.stories.svelte deleted file mode 100644 index f3810b9..0000000 --- a/src/lib/components/Input.stories.svelte +++ /dev/null @@ -1,43 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/lib/components/Input.svelte b/src/lib/components/Input.svelte deleted file mode 100644 index 4b58ee1..0000000 --- a/src/lib/components/Input.svelte +++ /dev/null @@ -1,36 +0,0 @@ - - -
- {#if label} - -
- {/if} - -
- - \ No newline at end of file diff --git a/src/lib/components/TextInput.stories.svelte b/src/lib/components/TextInput.stories.svelte new file mode 100644 index 0000000..19a5afa --- /dev/null +++ b/src/lib/components/TextInput.stories.svelte @@ -0,0 +1,13 @@ + + + \ No newline at end of file diff --git a/src/lib/components/TextInput.svelte b/src/lib/components/TextInput.svelte new file mode 100644 index 0000000..e4041e7 --- /dev/null +++ b/src/lib/components/TextInput.svelte @@ -0,0 +1,27 @@ + + + + + \ No newline at end of file diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte index 1eb8b77..98c37c2 100644 --- a/src/routes/login/+page.svelte +++ b/src/routes/login/+page.svelte @@ -1,6 +1,6 @@