@finema/finework-layer 0.2.84 → 0.2.86

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.
@@ -61,6 +61,7 @@
61
61
  },
62
62
  ]"
63
63
  />
64
+ <PortalApp />
64
65
  </LayoutAdmin>
65
66
  </template>
66
67
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.86](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.85...0.2.86) (2025-12-16)
4
+
5
+ ### Features
6
+
7
+ * integrate PortalApp component into layout-admin template ([54bad89](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/54bad89122d66bb329a7dcb7a5bae6522d27fc91))
8
+
9
+ ## [0.2.85](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.84...0.2.85) (2025-12-16)
10
+
11
+ ### Bug Fixes
12
+
13
+ * update PortalApp component to accept is-navbar prop and adjust layout ([c0e1fe9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/c0e1fe9a93e9f49a5d4220108210854615292f8d))
14
+
3
15
  ## [0.2.84](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.83...0.2.84) (2025-12-16)
4
16
 
5
17
  ### Features
@@ -14,7 +14,7 @@
14
14
  class="text-gray-500"
15
15
  />
16
16
  <template #content>
17
- <PortalApp />
17
+ <PortalApp is-navbar />
18
18
  </template>
19
19
  </Slideover>
20
20
  </div>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <div class="max-h-[calc(100vh-80px)] overflow-auto bg-white p-5">
2
+ <div
3
+ class="overflow-auto bg-white p-5"
4
+ :class="[isNavbar ? 'max-h-[calc(100vh-130px)]' : 'h-full']"
5
+ >
3
6
  <div class="mb-5 flex items-center gap-2">
4
7
  <img
5
8
  src="/icon-finema.png"
@@ -9,14 +12,11 @@
9
12
  <div class="text-2xl font-bold">
10
13
  Finework Apps
11
14
  </div>
12
-
13
- <Button
14
- icon="i-heroicons-x-mark-20-solid"
15
- variant="ghost"
16
- class="ml-auto"
17
- />
18
15
  </div>
19
- <div class="grid gap-5 md:grid-cols-2 lg:grid-cols-3">
16
+ <div
17
+ class="grid gap-5"
18
+ :class="[isNavbar ?`md:grid-cols-2 xl:grid-cols-4` : `md:grid-cols-2 xl:grid-cols-3`]"
19
+ >
20
20
  <div
21
21
  v-if="managementApps.length > 0"
22
22
  class="space-y-6"
@@ -125,6 +125,10 @@
125
125
  </template>
126
126
 
127
127
  <script lang="ts" setup>
128
+ defineProps<{
129
+ isNavbar?: boolean
130
+ }>()
131
+
128
132
  const auth = useAuth()
129
133
  const managementApps = computed(() => [
130
134
  ...(auth.hasPermission(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.84",
4
+ "version": "0.2.86",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",