diff --git a/src/lib/components/atoms/buttons/Button.svelte b/src/lib/components/atoms/buttons/Button.svelte new file mode 100644 index 0000000..a1b079c --- /dev/null +++ b/src/lib/components/atoms/buttons/Button.svelte @@ -0,0 +1,35 @@ + + + diff --git a/src/lib/components/atoms/buttons/EntryButton.svelte b/src/lib/components/atoms/buttons/EntryButton.svelte new file mode 100644 index 0000000..22e8a16 --- /dev/null +++ b/src/lib/components/atoms/buttons/EntryButton.svelte @@ -0,0 +1,28 @@ + + + diff --git a/src/lib/components/buttons/FloatingButton.svelte b/src/lib/components/atoms/buttons/FloatingButton.svelte similarity index 76% rename from src/lib/components/buttons/FloatingButton.svelte rename to src/lib/components/atoms/buttons/FloatingButton.svelte index 51870c7..499a043 100644 --- a/src/lib/components/buttons/FloatingButton.svelte +++ b/src/lib/components/atoms/buttons/FloatingButton.svelte @@ -1,30 +1,24 @@
-
+
diff --git a/src/lib/components/buttons/index.ts b/src/lib/components/atoms/buttons/index.ts similarity index 100% rename from src/lib/components/buttons/index.ts rename to src/lib/components/atoms/buttons/index.ts diff --git a/src/lib/components/atoms/index.ts b/src/lib/components/atoms/index.ts new file mode 100644 index 0000000..5c96a2a --- /dev/null +++ b/src/lib/components/atoms/index.ts @@ -0,0 +1,2 @@ +export * from "./buttons"; +export * from "./inputs"; diff --git a/src/lib/components/inputs/CheckBox.svelte b/src/lib/components/atoms/inputs/CheckBox.svelte similarity index 79% rename from src/lib/components/inputs/CheckBox.svelte rename to src/lib/components/atoms/inputs/CheckBox.svelte index 6875040..753892f 100644 --- a/src/lib/components/inputs/CheckBox.svelte +++ b/src/lib/components/atoms/inputs/CheckBox.svelte @@ -5,16 +5,18 @@ import IconCheckCircleOutline from "~icons/material-symbols/check-circle-outline"; interface Props { - children: Snippet; checked?: boolean; + children?: Snippet; } - let { children, checked = $bindable(false) }: Props = $props(); + let { checked = $bindable(false), children }: Props = $props();