@appcorp/kismaa-web-ui 0.2.71 → 0.2.73

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.
@@ -115,7 +115,7 @@ var LoggedInUserAvatar = function (_a) {
115
115
  react_2.default.createElement("span", { className: "bg-primary relative inline-flex size-3 rounded-full" }))),
116
116
  react_2.default.createElement(BellIcon_1.default, { className: "stroke-primary size-7 h-full" })))))),
117
117
  react_2.default.createElement(react_1.PopoverPanel, __assign({ transition: true, className: "absolute left-1/2 z-10 mt-2 flex w-screen max-w-min -translate-x-1/2 bg-transparent px-4 transition data-closed:translate-y-1 data-closed:opacity-0 data-enter:duration-200 data-enter:ease-out data-leave:duration-150 data-leave:ease-in", ref: setNotificationDropdown, style: notificationStyles.popper }, notificationAttributes.popper),
118
- react_2.default.createElement("div", { className: "w-86 shrink rounded-xl bg-white p-4 text-sm/6 font-semibold text-gray-900 shadow-lg outline-1 outline-gray-900/5 dark:bg-gray-800 dark:text-white dark:shadow-none dark:outline dark:-outline-offset-1 dark:outline-white/10" },
118
+ react_2.default.createElement("div", { className: "max-h-80 w-86 shrink overflow-y-scroll rounded-xl bg-white p-4 text-sm/6 font-semibold text-gray-900 shadow-lg outline-1 outline-gray-900/5 dark:bg-gray-800 dark:text-white dark:shadow-none dark:outline dark:-outline-offset-1 dark:outline-white/10" },
119
119
  notificationItems.length === 0 && (react_2.default.createElement("p", { className: "" }, "No new notifications")),
120
120
  react_2.default.createElement("div", { className: "divider-y-gray-300 flex flex-col items-center justify-center" }, unReadNotifications &&
121
121
  unReadNotifications.length > 0 &&
@@ -17,7 +17,7 @@ var NotificationItem = function (_a) {
17
17
  react_1.default.createElement(image_1.default, { alt: "avatar", className: avatarClassName, height: 40, src: misc_1.referenceAvatar, width: 40 })),
18
18
  react_1.default.createElement("div", { className: "basis-4/6" },
19
19
  react_1.default.createElement("p", { className: "text-xs font-normal text-gray-500 dark:text-gray-400" }, message)),
20
- react_1.default.createElement("div", { className: "basis-1/6" },
20
+ react_1.default.createElement("div", { className: "basis-1/6 text-right" },
21
21
  react_1.default.createElement(react_timeago_1.default, { date: time, formatter: formatter })))));
22
22
  };
23
23
  exports.NotificationItem = NotificationItem;
@@ -68,6 +68,114 @@ exports.navbarData = {
68
68
  isRead: true,
69
69
  time: new Date('2024-10-01T10:00:00Z').toLocaleDateString(),
70
70
  },
71
+ {
72
+ id: '1',
73
+ message: 'Missed chat opportunity with John Doe',
74
+ isRead: false,
75
+ time: new Date('2025-10-01T10:00:00Z').toLocaleDateString(),
76
+ },
77
+ {
78
+ id: '2',
79
+ message: 'Missed chat opportunity with John Doe',
80
+ isRead: true,
81
+ time: new Date('2025-05-01T10:00:00Z').toLocaleDateString(),
82
+ },
83
+ {
84
+ id: '3',
85
+ message: 'Missed chat opportunity with John Doe',
86
+ isRead: true,
87
+ time: new Date('2024-10-01T10:00:00Z').toLocaleDateString(),
88
+ },
89
+ {
90
+ id: '1',
91
+ message: 'Missed chat opportunity with John Doe',
92
+ isRead: false,
93
+ time: new Date('2025-10-01T10:00:00Z').toLocaleDateString(),
94
+ },
95
+ {
96
+ id: '2',
97
+ message: 'Missed chat opportunity with John Doe',
98
+ isRead: true,
99
+ time: new Date('2025-05-01T10:00:00Z').toLocaleDateString(),
100
+ },
101
+ {
102
+ id: '3',
103
+ message: 'Missed chat opportunity with John Doe',
104
+ isRead: true,
105
+ time: new Date('2024-10-01T10:00:00Z').toLocaleDateString(),
106
+ },
107
+ {
108
+ id: '1',
109
+ message: 'Missed chat opportunity with John Doe',
110
+ isRead: false,
111
+ time: new Date('2025-10-01T10:00:00Z').toLocaleDateString(),
112
+ },
113
+ {
114
+ id: '2',
115
+ message: 'Missed chat opportunity with John Doe',
116
+ isRead: true,
117
+ time: new Date('2025-05-01T10:00:00Z').toLocaleDateString(),
118
+ },
119
+ {
120
+ id: '3',
121
+ message: 'Missed chat opportunity with John Doe',
122
+ isRead: true,
123
+ time: new Date('2024-10-01T10:00:00Z').toLocaleDateString(),
124
+ },
125
+ {
126
+ id: '1',
127
+ message: 'Missed chat opportunity with John Doe',
128
+ isRead: false,
129
+ time: new Date('2025-10-01T10:00:00Z').toLocaleDateString(),
130
+ },
131
+ {
132
+ id: '2',
133
+ message: 'Missed chat opportunity with John Doe',
134
+ isRead: true,
135
+ time: new Date('2025-05-01T10:00:00Z').toLocaleDateString(),
136
+ },
137
+ {
138
+ id: '3',
139
+ message: 'Missed chat opportunity with John Doe',
140
+ isRead: true,
141
+ time: new Date('2024-10-01T10:00:00Z').toLocaleDateString(),
142
+ },
143
+ {
144
+ id: '1',
145
+ message: 'Missed chat opportunity with John Doe',
146
+ isRead: false,
147
+ time: new Date('2025-10-01T10:00:00Z').toLocaleDateString(),
148
+ },
149
+ {
150
+ id: '2',
151
+ message: 'Missed chat opportunity with John Doe',
152
+ isRead: true,
153
+ time: new Date('2025-05-01T10:00:00Z').toLocaleDateString(),
154
+ },
155
+ {
156
+ id: '3',
157
+ message: 'Missed chat opportunity with John Doe',
158
+ isRead: true,
159
+ time: new Date('2024-10-01T10:00:00Z').toLocaleDateString(),
160
+ },
161
+ {
162
+ id: '1',
163
+ message: 'Missed chat opportunity with John Doe',
164
+ isRead: false,
165
+ time: new Date('2025-10-01T10:00:00Z').toLocaleDateString(),
166
+ },
167
+ {
168
+ id: '2',
169
+ message: 'Missed chat opportunity with John Doe',
170
+ isRead: true,
171
+ time: new Date('2025-05-01T10:00:00Z').toLocaleDateString(),
172
+ },
173
+ {
174
+ id: '3',
175
+ message: 'Missed chat opportunity with John Doe',
176
+ isRead: true,
177
+ time: new Date('2024-10-01T10:00:00Z').toLocaleDateString(),
178
+ },
71
179
  ],
72
180
  handleMegaMenuToggle: function () { return void 0; },
73
181
  handleSearch: function () { return void 0; },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/kismaa-web-ui",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "source": "src/index.ts",
5
5
  "main": "lib/main.js",
6
6
  "module": "lib/module.js",