From 199c466e6226b900cb84dd2ed9b43af4f3ce850a Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 22 Nov 2021 17:29:54 +0100 Subject: [PATCH] chore: update components --- src/components/elements/Dropdown.vue | 13 +- .../navigation/VerticalNavigation.vue | 4 +- src/components/overlays/Modal.vue | 42 +-- src/components/overlays/Popover.vue | 255 +++++------------- 4 files changed, 82 insertions(+), 232 deletions(-) diff --git a/src/components/elements/Dropdown.vue b/src/components/elements/Dropdown.vue index e8e4d623..dceb725e 100644 --- a/src/components/elements/Dropdown.vue +++ b/src/components/elements/Dropdown.vue @@ -6,8 +6,9 @@ -
+
- +
@@ -97,14 +98,6 @@ export default { type: String, default: 'mr-3 h-5 w-5 text-tw-gray-400 group-hover:text-tw-gray-500' } - // openDelay: { - // type: Number, - // default: 100 - // }, - // closeDelay: { - // type: Number, - // default: 0 - // }, }, setup (props) { const [trigger, container] = usePopper({ diff --git a/src/components/navigation/VerticalNavigation.vue b/src/components/navigation/VerticalNavigation.vue index 447b3c66..4aa97802 100644 --- a/src/components/navigation/VerticalNavigation.vue +++ b/src/components/navigation/VerticalNavigation.vue @@ -19,8 +19,8 @@ class="flex items-center px-2 py-2 text-sm font-medium rounded-md group focus:outline-none" :active-class="activeVariantClass" :inactive-class="variantClass" - @click.native="link.click && link.click()" - @keyup.enter.native="$event.target.blur()" + @click="link.click && link.click()" + @keyup.enter="$event.target.blur()" > - + + + + - - - -