@visns-studio/visns-components 1.6.12 → 1.7.1

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.
@@ -150,31 +150,33 @@ function Notification(props) {
150
150
  <div ref={wrapperRef}>
151
151
  {items.length > 0 ? (
152
152
  <div className={containerClass}>
153
- {items.map((item, index) => (
154
- <div className={divClass} key={item.id}>
155
- <Bell
156
- size={19}
157
- strokeWidth={2}
158
- className={iconBellClass}
159
- />{" "}
160
- {parse(item.data.label)}{" "}
161
- <span>
162
- [
163
- {moment(item.created_at).format(
164
- "DD/MM - H:mma"
165
- )}
166
- ]
167
- </span>{" "}
168
- <button onClick={markAsRead}>
169
- <CircleX
170
- size={24}
171
- data-id={item.id}
172
- data-index={index}
173
- className={iconXClass}
174
- />
175
- </button>
176
- </div>
177
- ))}
153
+ <div className="notiscrollwrap">
154
+ {items.map((item, index) => (
155
+ <div className={divClass} key={item.id}>
156
+ <Bell
157
+ size={19}
158
+ strokeWidth={2}
159
+ className={iconBellClass}
160
+ />{" "}
161
+ {parse(item.data.label)}{" "}
162
+ <span>
163
+ [
164
+ {moment(item.created_at).format(
165
+ "DD/MM - H:mma"
166
+ )}
167
+ ]
168
+ </span>{" "}
169
+ <button onClick={markAsRead}>
170
+ <CircleX
171
+ size={24}
172
+ data-id={item.id}
173
+ data-index={index}
174
+ className={iconXClass}
175
+ />
176
+ </button>
177
+ </div>
178
+ ))}
179
+ </div>
178
180
  <div className={actionClass}>
179
181
  <button onClick={showAllNotifications}>
180
182
  View All
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "react-dom": "^17.0.1"
35
35
  },
36
36
  "name": "@visns-studio/visns-components",
37
- "version": "1.6.12",
37
+ "version": "1.7.1",
38
38
  "description": "Various packages to assist in the development of our Custom Applications.",
39
39
  "main": "index.js",
40
40
  "devDependencies": {},