feat: add ActionsMenu component for enhanced action management with search functionality and keyboard navigation

This commit is contained in:
pandadev 2025-03-16 20:34:01 +01:00
parent 7ba418f4cc
commit 2865f8749e
No known key found for this signature in database
GPG key ID: C39629DACB8E762F
4 changed files with 747 additions and 29 deletions

33
components/Icons/Key.vue Normal file
View file

@ -0,0 +1,33 @@
<template>
<svg
width="24px"
height="20px"
viewBox="0 0 24 20"
version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg">
<g id="Key" fill-opacity="1">
<path
d="M12 0L17.6 0C19.8402 0 20.9603 0 21.816 0.435974Q22.3804 0.723593 22.8284 1.17157Q23.2764 1.61955 23.564 2.18404C24 3.03969 24 4.15979 24 6.4L24 13.6C24 15.8402 24 16.9603 23.564 17.816Q23.2764 18.3804 22.8284 18.8284Q22.3804 19.2764 21.816 19.564C20.9603 20 19.8402 20 17.6 20L6.4 20C4.15979 20 3.03969 20 2.18404 19.564Q1.61955 19.2764 1.17157 18.8284Q0.723594 18.3804 0.435974 17.816C0 16.9603 0 15.8402 0 13.6L0 6.4C0 4.15979 0 3.03969 0.435974 2.18404Q0.723594 1.61955 1.17157 1.17157Q1.61955 0.723594 2.18404 0.435974C3.03969 0 4.15979 0 6.4 0L12 0Z"
id="Rectangle"
fill="#FFFFFF"
fill-opacity="0.050980393"
stroke="none" />
<text
x="50%"
y="55%"
dominant-baseline="middle"
text-anchor="middle"
fill="#E5E0D5"
font-size="12">
{{ input }}
</text>
</g>
</svg>
</template>
<script setup lang="ts">
defineProps<{
input: string;
}>();
</script>