fix(lint): fix lint after upgrades

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-08-02 15:09:08 +02:00
parent 7916261c5c
commit 60aceb442a
44 changed files with 322 additions and 218 deletions

View File

@@ -27,9 +27,12 @@ const props = defineProps<{
const selectedIndex = ref(0);
watch(props.items, () => {
selectedIndex.value = 0;
});
watch(
() => props.items,
() => {
selectedIndex.value = 0;
}
);
// const onKeyDown = ({ event }: { event: KeyboardEvent }): boolean => {
// if (event.key === "ArrowUp") {
@@ -80,7 +83,9 @@ const selectItem = (index: number): void => {
color: rgba(black, 0.8);
overflow: hidden;
font-size: 0.9rem;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.1);
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.1),
0px 10px 20px rgba(0, 0, 0, 0.1);
}
.item {