add notifications

This commit is contained in:
2025-06-03 00:13:45 +02:00
parent 091a2123bb
commit 0f09bf8436
27 changed files with 2105 additions and 1799 deletions

View File

@ -1,5 +1,8 @@
<template>
<div class="dropdown relative inline-flex">
<div
class="dropdown relative inline-flex"
:class="offset"
>
<button
:id
class="dropdown-toggle"
@ -42,13 +45,12 @@
</template>
<script setup lang="ts" generic="T">
import type { HSDropdown } from 'flyonui/flyonui'
const { itemIs = 'li' } = defineProps<{
const { itemIs = 'li', offset = '[--offset:0]' } = defineProps<{
label?: string
items?: T[]
itemIs?: string
activatorClass?: string
offset?: string
}>()
defineOptions({
@ -58,4 +60,6 @@ defineOptions({
defineEmits<{ select: [T] }>()
const id = useId()
//const offset = '[--offset:30]'
</script>