chore: Remove older UI (#11720)
This commit is contained in:
@@ -23,10 +23,11 @@ const showBadge = useMapGetter(props.getterKeys.badge);
|
||||
:is="to ? 'router-link' : 'div'"
|
||||
class="flex items-center gap-2 px-2 py-1.5 rounded-lg h-8"
|
||||
role="button"
|
||||
draggable="false"
|
||||
:to="to"
|
||||
:title="label"
|
||||
:class="{
|
||||
'n-blue-text bg-n-alpha-2 font-medium': isActive && !hasActiveChild,
|
||||
'text-n-blue-text bg-n-alpha-2 font-medium': isActive && !hasActiveChild,
|
||||
'text-n-slate-12 font-medium': hasActiveChild,
|
||||
'text-n-slate-11 hover:bg-n-alpha-2': !isActive && !hasActiveChild,
|
||||
}"
|
||||
|
||||
@@ -33,7 +33,7 @@ const shouldRenderComponent = computed(() => {
|
||||
:title="label"
|
||||
class="flex h-8 items-center gap-2 px-2 py-1 rounded-lg max-w-[9.438rem] hover:bg-gradient-to-r from-transparent via-n-slate-3/70 to-n-slate-3/70 group"
|
||||
:class="{
|
||||
'n-blue-text bg-n-alpha-2 active': active,
|
||||
'text-n-blue-text bg-n-alpha-2 active': active,
|
||||
}"
|
||||
>
|
||||
<component
|
||||
|
||||
@@ -111,11 +111,7 @@ const allowedMenuItems = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DropdownContainer
|
||||
class="relative w-full min-w-0"
|
||||
:class="{ 'z-20': isOpen }"
|
||||
@close="emit('close')"
|
||||
>
|
||||
<DropdownContainer class="relative w-full min-w-0" @close="emit('close')">
|
||||
<template #trigger="{ toggle, isOpen }">
|
||||
<button
|
||||
class="flex gap-2 items-center rounded-lg cursor-pointer text-left w-full hover:bg-n-alpha-1 p-1"
|
||||
|
||||
Reference in New Issue
Block a user