From 015509abf820d6a224b2828e7a9b91dc0f1412dc Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Tue, 2 Apr 2024 20:38:59 +0200 Subject: [PATCH] Added basic event details --- src/components/calendar/CalendarEvent.vue | 24 ++++++++-- .../calendar/CalendarEventDetails.vue | 25 ++++++++++ src/components/calendar/CalendarMenu.vue | 2 +- src/components/calendar/CalendarTile.vue | 2 +- src/components/ui/button/Button.vue | 2 +- src/components/ui/button/index.ts | 23 ++++----- src/components/ui/popover/Popover.vue | 15 ++++++ src/components/ui/popover/PopoverContent.vue | 48 +++++++++++++++++++ src/components/ui/popover/PopoverTrigger.vue | 11 +++++ src/components/ui/popover/index.ts | 3 ++ src/components/ui/select/SelectContent.vue | 32 ++++++++----- src/components/ui/select/SelectItem.vue | 4 +- .../ui/select/SelectScrollDownButton.vue | 11 ++++- .../ui/select/SelectScrollUpButton.vue | 5 +- src/components/ui/select/SelectTrigger.vue | 10 ++-- src/stores/calendar.ts | 41 +++++++++++----- 16 files changed, 204 insertions(+), 54 deletions(-) create mode 100644 src/components/calendar/CalendarEventDetails.vue create mode 100644 src/components/ui/popover/Popover.vue create mode 100644 src/components/ui/popover/PopoverContent.vue create mode 100644 src/components/ui/popover/PopoverTrigger.vue create mode 100644 src/components/ui/popover/index.ts diff --git a/src/components/calendar/CalendarEvent.vue b/src/components/calendar/CalendarEvent.vue index be4b5ad..f4b9f29 100644 --- a/src/components/calendar/CalendarEvent.vue +++ b/src/components/calendar/CalendarEvent.vue @@ -1,15 +1,29 @@ diff --git a/src/components/calendar/CalendarEventDetails.vue b/src/components/calendar/CalendarEventDetails.vue new file mode 100644 index 0000000..7bf59fb --- /dev/null +++ b/src/components/calendar/CalendarEventDetails.vue @@ -0,0 +1,25 @@ + + + diff --git a/src/components/calendar/CalendarMenu.vue b/src/components/calendar/CalendarMenu.vue index 2a5cc44..3ec3693 100644 --- a/src/components/calendar/CalendarMenu.vue +++ b/src/components/calendar/CalendarMenu.vue @@ -28,7 +28,7 @@ const {
  • - +
  • diff --git a/src/components/calendar/CalendarTile.vue b/src/components/calendar/CalendarTile.vue index b495b7a..8be0e3e 100644 --- a/src/components/calendar/CalendarTile.vue +++ b/src/components/calendar/CalendarTile.vue @@ -40,7 +40,7 @@ const isDefaultDate = computed(() => { >{{ date.day }}
  • -