@instadapp/avocado-base 0.0.63 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,19 +16,34 @@ defineProps<{
|
|
|
16
16
|
<div v-if="!compact || metadata.addresses.length < 3" class="flex gap-[14px] flex-wrap">
|
|
17
17
|
<div v-for="address of metadata.addresses" :key="address" class="flex gap-2 rounded-full bg-slate-100 dark:bg-slate-800 justify-start items-center px-2 py-1.5">
|
|
18
18
|
<AuthorityAvatar :address="address" class="w-[18px] h-[18px]" />
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
<Tippy max-width="none" interactive>
|
|
20
|
+
<template #default>
|
|
21
|
+
<p class="text-xs leading-5 text-slate-500 dark:text-slate-400">
|
|
22
|
+
{{ shortenHash(address, compact ? 2 : 4) }}
|
|
23
|
+
</p>
|
|
24
|
+
</template>
|
|
25
|
+
<template #content>
|
|
26
|
+
{{ address }}
|
|
27
|
+
</template>
|
|
28
|
+
</Tippy>
|
|
22
29
|
</div>
|
|
23
30
|
</div>
|
|
24
31
|
<div v-else class="flex gap-2 flex-wrap items-center">
|
|
25
|
-
<div v-for="address of [metadata.addresses[0], metadata.addresses[1]]" :key="address" class="flex gap-2 rounded-full bg-slate-100 dark:bg-slate-800 justify-start items-center px-2 py-1.5">
|
|
32
|
+
<div v-for="address of [metadata.addresses[0], metadata.addresses[1]].filter(Boolean)" :key="address" class="flex gap-2 rounded-full bg-slate-100 dark:bg-slate-800 justify-start items-center px-2 py-1.5">
|
|
26
33
|
<AuthorityAvatar :address="address" class="w-[18px] h-[18px]" />
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
34
|
+
|
|
35
|
+
<Tippy max-width="none" interactive>
|
|
36
|
+
<template #default>
|
|
37
|
+
<p class="text-xs leading-5 text-slate-400">
|
|
38
|
+
{{ shortenHash(address, 2) }}
|
|
39
|
+
</p>
|
|
40
|
+
</template>
|
|
41
|
+
<template #content>
|
|
42
|
+
{{ address }}
|
|
43
|
+
</template>
|
|
44
|
+
</Tippy>
|
|
30
45
|
</div>
|
|
31
|
-
|
|
46
|
+
|
|
32
47
|
<Tippy max-width="none" interactive tag="button" content-tag="div" content-class="content-wrapper">
|
|
33
48
|
<template #default>
|
|
34
49
|
<Info2 class="w-[16px] h-[16px] text-slate-500 rounded-full" />
|