ketekny-ui-kit 1.0.93 → 1.0.94
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.
package/package.json
CHANGED
|
@@ -118,6 +118,9 @@ export default {
|
|
|
118
118
|
collect(this.filteredMenu)
|
|
119
119
|
return all
|
|
120
120
|
},
|
|
121
|
+
expandedFooterLinks() {
|
|
122
|
+
return this.footerLinks.filter(link => link.id !== 'my-profile')
|
|
123
|
+
},
|
|
121
124
|
},
|
|
122
125
|
watch: {
|
|
123
126
|
mainMenu: {
|
|
@@ -352,29 +355,27 @@ export default {
|
|
|
352
355
|
</nav>
|
|
353
356
|
|
|
354
357
|
<div class="p-3 mt-auto border-t border-sidebar-border">
|
|
355
|
-
<div
|
|
356
|
-
class="flex items-center
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
358
|
+
<div :class="collapsed ? 'flex flex-col items-center gap-1' : 'space-y-1'">
|
|
359
|
+
<div v-if="!collapsed" class="flex items-center gap-2">
|
|
360
|
+
<button
|
|
361
|
+
type="button"
|
|
362
|
+
class="sidebar-footer-item flex min-h-[38px] flex-1 items-center gap-2.5 rounded-md bg-transparent px-2 py-2 text-left text-sm font-medium text-sidebar-foreground/80 outline-none transition-colors duration-150 hover:bg-sidebar-accent hover:text-sidebar-foreground"
|
|
363
|
+
@click="handleFooterSelect('my-profile')"
|
|
364
|
+
>
|
|
365
|
+
<CircleUser class="sidebar-footer-item-icon size-4 shrink-0" :stroke-width="1.9" />
|
|
366
|
+
<span class="min-w-0 flex-1">
|
|
367
|
+
<span class="block truncate">Το προφίλ μου</span>
|
|
368
|
+
<span class="block truncate text-xs font-normal text-sidebar-muted">{{ accountEmail }}</span>
|
|
369
|
+
</span>
|
|
370
|
+
</button>
|
|
371
|
+
<button
|
|
372
|
+
type="button"
|
|
373
|
+
class="rounded-md p-1.5 text-sidebar-muted hover:bg-sidebar-accent hover:text-sidebar-foreground"
|
|
374
|
+
aria-label="Notifications"
|
|
375
|
+
>
|
|
376
|
+
<Bell class="size-4" :stroke-width="2" />
|
|
377
|
+
</button>
|
|
363
378
|
</div>
|
|
364
|
-
<button
|
|
365
|
-
v-if="!collapsed"
|
|
366
|
-
type="button"
|
|
367
|
-
class="rounded-md p-1.5 text-sidebar-muted hover:bg-sidebar-accent hover:text-sidebar-foreground"
|
|
368
|
-
aria-label="Notifications"
|
|
369
|
-
>
|
|
370
|
-
<Bell class="size-4" :stroke-width="2" />
|
|
371
|
-
</button>
|
|
372
|
-
</div>
|
|
373
|
-
|
|
374
|
-
<div
|
|
375
|
-
class="pt-2 mt-2 border-t border-sidebar-border/70"
|
|
376
|
-
:class="collapsed ? 'flex flex-col items-center gap-1' : 'space-y-1'"
|
|
377
|
-
>
|
|
378
379
|
<button
|
|
379
380
|
v-for="link in footerLinks"
|
|
380
381
|
:key="link.id"
|
|
@@ -407,7 +408,7 @@ export default {
|
|
|
407
408
|
/>
|
|
408
409
|
</button>
|
|
409
410
|
<button
|
|
410
|
-
v-for="link in
|
|
411
|
+
v-for="link in expandedFooterLinks"
|
|
411
412
|
:key="`${link.id}-expanded`"
|
|
412
413
|
v-else
|
|
413
414
|
type="button"
|