From cbce979aa9a6fb27663caa04a19654320fea6d4c Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Wed, 30 Oct 2024 17:47:14 +0100 Subject: [PATCH] Add Button and Dialog (and AlertDialog which is embedded in the Dialog through the priority attribute) --- components/Button.vue | 6 ++++++ components/Dialog.vue | 38 ++++++++++++++++++++++++++++++++++++++ components/HoverCard.vue | 2 +- components/Switch.vue | 22 ++++++++++------------ components/todo/Dialog.vue | 0 nuxt.config.ts | 5 +++++ pages/index.vue | 7 +++++++ 7 files changed, 67 insertions(+), 13 deletions(-) create mode 100644 components/Button.vue create mode 100644 components/Dialog.vue delete mode 100644 components/todo/Dialog.vue diff --git a/components/Button.vue b/components/Button.vue new file mode 100644 index 0000000..e723941 --- /dev/null +++ b/components/Button.vue @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/components/Dialog.vue b/components/Dialog.vue new file mode 100644 index 0000000..9efa49e --- /dev/null +++ b/components/Dialog.vue @@ -0,0 +1,38 @@ + + + \ No newline at end of file diff --git a/components/HoverCard.vue b/components/HoverCard.vue index 3bb7010..0ad3819 100644 --- a/components/HoverCard.vue +++ b/components/HoverCard.vue @@ -3,7 +3,7 @@ - + diff --git a/components/Switch.vue b/components/Switch.vue index 246cd02..bfc6e4b 100644 --- a/components/Switch.vue +++ b/components/Switch.vue @@ -1,16 +1,14 @@