Rework file access and link archiving

This commit is contained in:
2024-12-01 23:25:33 +01:00
parent f7094f7ce1
commit 602b0af212
14 changed files with 186 additions and 151 deletions

View File

@@ -1,5 +1,5 @@
<template>
<HoverCardRoot :open-delay="delay">
<HoverCardRoot :open-delay="delay" @update:open="(...args) => emits('open', ...args)">
<HoverCardTrigger class="inline-block cursor-help outline-none">
<slot></slot>
</HoverCardTrigger>
@@ -18,4 +18,6 @@ const { delay = 500, disabled = false, side = 'bottom' } = defineProps<{
disabled?: boolean
side?: 'top' | 'right' | 'bottom' | 'left'
}>();
const emits = defineEmits(['open'])
</script>