@finema/finework-layer 0.1.13 → 0.1.15
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.
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
<LayoutAdmin
|
|
3
|
+
label="Test Layout"
|
|
4
|
+
:sidebar-items="sidebarItems"
|
|
5
|
+
is-sidebar-group
|
|
6
|
+
>
|
|
7
|
+
<p>dasdasd</p>
|
|
8
|
+
</LayoutAdmin>
|
|
7
9
|
</template>
|
|
8
10
|
|
|
9
11
|
<script lang="ts" setup>
|
|
@@ -35,7 +37,8 @@ auth.me.set({
|
|
|
35
37
|
position: 'Technical Specialist',
|
|
36
38
|
team_code: 'DEV',
|
|
37
39
|
company: 'finema',
|
|
38
|
-
avatar_url:
|
|
40
|
+
avatar_url:
|
|
41
|
+
'https://avatars.slack-edge.com/2023-09-25/5968557597936_c750902e3ffc4f690d80_512.jpg',
|
|
39
42
|
slack_id: 'U0147KLKKH8',
|
|
40
43
|
azure_id: 'fd7fbb55-a249-4b79-b439-2270981bd3ae',
|
|
41
44
|
is_active: true,
|
|
@@ -67,7 +70,21 @@ auth.me.set({
|
|
|
67
70
|
|
|
68
71
|
const sidebarItems: NavigationMenuItem[] = [
|
|
69
72
|
{
|
|
70
|
-
|
|
73
|
+
children: [
|
|
74
|
+
{
|
|
75
|
+
label: 'Submenu 1',
|
|
76
|
+
to: '/submenu1',
|
|
77
|
+
icon: 'i-heroicons-outline:home',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: 'Submenu 2',
|
|
81
|
+
to: '/submenu2',
|
|
82
|
+
icon: 'i-heroicons-outline:home',
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: 'DASHBOARD',
|
|
71
88
|
children: [
|
|
72
89
|
{
|
|
73
90
|
label: 'Submenu 1',
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.14...0.1.15) (2025-10-16)
|
|
4
|
+
|
|
5
|
+
## [0.1.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.13...0.1.14) (2025-10-16)
|
|
6
|
+
|
|
3
7
|
## [0.1.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.12...0.1.13) (2025-10-16)
|
|
4
8
|
|
|
5
9
|
## [0.1.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.11...0.1.12) (2025-10-16)
|
|
@@ -47,11 +47,12 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
|
|
49
49
|
<div class="flex-1 overflow-y-auto border-r border-gray-200 p-4">
|
|
50
|
-
<div v-if="isGroup" class="space-y-
|
|
51
|
-
<div v-for="group in navigationItems" :key="group.label"
|
|
52
|
-
<div class="
|
|
50
|
+
<div v-if="isGroup" class="space-y-5">
|
|
51
|
+
<div v-for="group in navigationItems" :key="group.label">
|
|
52
|
+
<div class="px-2.5 text-xs font-bold text-gray-500">
|
|
53
53
|
{{ group.label }}
|
|
54
54
|
</div>
|
|
55
|
+
<Separator v-if="group.label" class="mt-3 mb-1" />
|
|
55
56
|
<NavigationMenu
|
|
56
57
|
orientation="vertical"
|
|
57
58
|
:items="group.children"
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
'hover:text-primary',
|
|
70
71
|
'data-active:before:bg-[#F9FAFB] data-active:before:rounded-lg data-active:text-primary font-semibold',
|
|
71
72
|
],
|
|
72
|
-
linkLabel: '!text-[#344054]',
|
|
73
|
+
linkLabel: '!text-[#344054] font-bold',
|
|
73
74
|
linkLeadingIcon:
|
|
74
75
|
'group-data-[state=open]:text-current text-current size-[24px] group-hover:text-primary',
|
|
75
76
|
childList: 'border-none ms-0 bg-white mt-2 rounded-lg',
|
|
@@ -98,7 +99,7 @@
|
|
|
98
99
|
'hover:text-primary',
|
|
99
100
|
'data-active:before:bg-[#F9FAFB] data-active:before:rounded-lg data-active:text-primary font-semibold',
|
|
100
101
|
],
|
|
101
|
-
linkLabel: '!text-[#344054]',
|
|
102
|
+
linkLabel: '!text-[#344054] font-bold',
|
|
102
103
|
linkLeadingIcon:
|
|
103
104
|
'group-data-[state=open]:text-current text-current size-[24px] group-hover:text-primary ',
|
|
104
105
|
childList: 'border-none ms-0 bg-white mt-2 rounded-lg',
|