@finema/finework-layer 0.2.141 → 0.2.142

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.142](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.141...0.2.142) (2026-02-19)
4
+
3
5
  ## [0.2.141](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.140...0.2.141) (2026-02-19)
4
6
 
5
7
  ### Bug Fixes
@@ -31,47 +31,54 @@
31
31
  v-else
32
32
  :loading="notification.fetch.status.isLoading"
33
33
  >
34
- <div class="space-y-2 divide-y-1 divide-gray-200">
35
- <div
36
- v-for="item in notification.fetch.items"
37
- :key="item.id"
34
+ <div
35
+ v-for="item in notification.fetch.items"
36
+ :key="item.id"
37
+ >
38
+ <Separator />
39
+ <NuxtLink
40
+ :to="getLink(item)"
41
+ :target="getLink(item) === '#' ? '_self' : '_blank'"
42
+ :class="['flex cursor-pointer items-start gap-2 rounded-lg p-4 hover:bg-gray-100']"
38
43
  >
39
- <NuxtLink
40
- :to="getLink(item)"
41
- :target="getLink(item) === '#' ? '_self' : '_blank'"
42
- :class="['flex cursor-pointer items-start gap-2 rounded-lg p-4 hover:bg-gray-100']"
43
- >
44
- <!-- <Chip
44
+ <!-- <Chip
45
45
  position="bottom-right"
46
46
  size="3xl"
47
47
  inset
48
48
  :color="getNotificationColor(item)"
49
49
  > -->
50
- <div class="relative">
51
- <Avatar
52
- class="min-h-12 min-w-12"
53
- :src="item.actor.avatar_url"
54
- :alt="item.actor.display_name"
55
- />
56
- <img
57
- :src="getImage(item)!"
58
- class="absolute -right-1 -bottom-1 w-5 rounded-full bg-white p-0.25"
59
- />
60
- </div>
61
- <!-- </Chip> -->
62
-
63
- <div class="flex flex-1 flex-col gap-0">
64
- <p
65
- class="text-gray line-clamp-2 text-sm"
66
- v-html="getMessage(item)"
67
- />
68
- <FormatTimeFromNow
69
- class="text-xs font-medium whitespace-nowrap text-gray-600"
70
- :value="item.sent_at"
71
- />
72
- </div>
73
- </NuxtLink>
74
- </div>
50
+ <div
51
+ v-if="item.actor?.avatar_url"
52
+ class="relative"
53
+ >
54
+ <Avatar
55
+ class="min-h-12 min-w-12"
56
+ :src="item.actor?.avatar_url"
57
+ :alt="item.actor?.display_name"
58
+ />
59
+ <img
60
+ :src="getImage(item)!"
61
+ class="absolute -right-1 -bottom-1 w-5 rounded-full bg-white p-0.25"
62
+ />
63
+ </div>
64
+ <img
65
+ v-else
66
+ :src="getImage(item)!"
67
+ class="h-12 min-h-12 w-12 min-w-12"
68
+ />
69
+ <!-- </Chip> -->
70
+
71
+ <div class="flex flex-1 flex-col gap-0">
72
+ <p
73
+ class="text-gray line-clamp-2 text-sm"
74
+ v-html="getMessage(item)"
75
+ />
76
+ <FormatTimeFromNow
77
+ class="text-xs font-medium whitespace-nowrap text-gray-600"
78
+ :value="item.sent_at"
79
+ />
80
+ </div>
81
+ </NuxtLink>
75
82
  </div>
76
83
  </Loader>
77
84
  </template>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.141",
4
+ "version": "0.2.142",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file